; assembly | /* r2dec pseudo code output */ | /* baljsn_datumutil.t/none @ 0x43f0e0 */ | #include | ; (fcn) method.int_BloombergLP::baljsn::SimpleFormatter::addValue_BloombergLP::bdlt.Date__BloombergLP::bdlt::Date_const_ () | uint64_t method_int_BloombergLP::baljsn::SimpleFormatter::addValue_BloombergLP::bdlt_Date_BloombergLP::bdlt::Date_const_ (int64_t arg2, uint32_t arg1) { | int64_t var_8h; | int64_t var_10h; | int64_t var_40h; | size_t var_48h; | rsi = arg2; | rdi = arg1; | /* int BloombergLP::baljsn::SimpleFormatter::addValue(BloombergLP::bdlt::Date const&) */ 0x0043f0e0 push rbp | 0x0043f0e1 push r15 | 0x0043f0e3 push r14 | 0x0043f0e5 push r12 | 0x0043f0e7 push rbx | 0x0043f0e8 sub rsp, 0x50 | 0x0043f0ec mov r14, rsi | r14 = rsi; 0x0043f0ef mov rbx, rdi | rbx = rdi; 0x0043f0f2 cmp dword [rdi + 0x4c], 1 | | if (*((rdi + 0x4c)) == 1) { 0x0043f0f6 jne 0x43f157 | 0x0043f0f8 mov bpl, byte [rbx + 0xa] | bpl = *((rbx + 0xa)); 0x0043f0fc mov byte [rbx + 9], 1 | *((rbx + 9)) = 1; 0x0043f100 cmp byte [rbx + 8], 0 | | if (*((rbx + 8)) != 0) { 0x0043f104 je 0x43f13a | 0x0043f106 mov rdi, qword [rbx] | 0x0043f109 mov byte [rsp + 0x10], 0x2c | *((rsp + 0x10)) = 0x2c; 0x0043f10e lea rsi, [rsp + 0x10] | 0x0043f113 mov edx, 1 | 0x0043f118 call 0x43afb0 | std::_1::basic_ostream>&std::_1::_put_character_sequence>(std::_1::basic_ostream>&,char const*,unsigned long) (*(rbx), rsp + 0x10, 1); 0x0043f11d cmp dword [rbx + 0x4c], 1 | | if (*((rbx + 0x4c)) != 1) { 0x0043f121 jne 0x43f13a | goto label_0; | } 0x0043f123 mov rdi, qword [rbx] | 0x0043f126 mov byte [rsp + 0x10], 0xa | *((rsp + 0x10)) = 0xa; 0x0043f12b lea rsi, [rsp + 0x10] | 0x0043f130 mov edx, 1 | 0x0043f135 call 0x43afb0 | std::_1::basic_ostream>&std::_1::_put_character_sequence>(std::_1::basic_ostream>&,char const*,unsigned long) (*(rbx), rsp + 0x10, 1); | } | label_0: 0x0043f13a mov byte [rbx + 0xa], 0 | *((rbx + 0xa)) = 0; 0x0043f13e mov byte [rbx + 8], 1 | *((rbx + 8)) = 1; 0x0043f142 test bpl, bpl | | if (bpl != 0) { 0x0043f145 jne 0x43f19d | goto label_1; | } 0x0043f147 mov rdi, qword [rbx] | 0x0043f14a mov esi, dword [rbx + 0x54] | 0x0043f14d mov edx, dword [rbx + 0x3c] | edx = *((rbx + 0x3c)); 0x0043f150 call 0x4485d0 | BloombergLP::bdlb::Print::indent(std::_1::basic_ostream>&,int,int) (*(rbx), *((rbx + 0x54))); 0x0043f155 jmp 0x43f19d | | } else { 0x0043f157 mov byte [rbx + 9], 1 | *((rbx + 9)) = 1; 0x0043f15b cmp byte [rbx + 8], 0 | | if (*((rbx + 8)) != 0) { 0x0043f15f je 0x43f195 | 0x0043f161 mov rdi, qword [rbx] | 0x0043f164 mov byte [rsp + 0x10], 0x2c | *((rsp + 0x10)) = 0x2c; 0x0043f169 lea rsi, [rsp + 0x10] | 0x0043f16e mov edx, 1 | 0x0043f173 call 0x43afb0 | std::_1::basic_ostream>&std::_1::_put_character_sequence>(std::_1::basic_ostream>&,char const*,unsigned long) (*(rbx), rsp + 0x10, 1); 0x0043f178 cmp dword [rbx + 0x4c], 1 | | if (*((rbx + 0x4c)) != 1) { 0x0043f17c jne 0x43f195 | goto label_2; | } 0x0043f17e mov rdi, qword [rbx] | 0x0043f181 mov byte [rsp + 0x10], 0xa | *((rsp + 0x10)) = 0xa; 0x0043f186 lea rsi, [rsp + 0x10] | 0x0043f18b mov edx, 1 | 0x0043f190 call 0x43afb0 | std::_1::basic_ostream>&std::_1::_put_character_sequence>(std::_1::basic_ostream>&,char const*,unsigned long) (*(rbx), rsp + 0x10, 1); | } | label_2: 0x0043f195 mov byte [rbx + 0xa], 0 | *((rbx + 0xa)) = 0; 0x0043f199 mov byte [rbx + 8], 1 | *((rbx + 8)) = 1; | } | label_1: 0x0043f19d mov r15, qword [rbx] | r15 = *(rbx); 0x0043f1a0 mov dword [rsp + 8], 3 | *((rsp + 8)) = 3; 0x0043f1a8 mov esi, dword [rbx + 0x40] | 0x0043f1ab lea r12, [rsp + 8] | r12 = rsp + 8; 0x0043f1b0 mov rdi, r12 | 0x0043f1b3 call 0x463500 | BloombergLP::bdlt::Iso8601UtilConfiguration::setFractionalSecondPrecision(int) (r12, *((rbx + 0x40))); 0x0043f1b8 lea rbx, [rsp + 0x10] | rbx = rsp + 0x10; 0x0043f1bd mov rdi, rbx | 0x0043f1c0 mov esi, 0x27 | 0x0043f1c5 mov rdx, r14 | 0x0043f1c8 mov rcx, r12 | rcx = r12; 0x0043f1cb call 0x45fc30 | BloombergLP::bdlt::Iso8601Util::generate(char*,int,BloombergLP::bdlt::Dateconst&,BloombergLP::bdlt::Iso8601UtilConfigurationconst&) (rbx, 0x27, r14); 0x0043f1d0 mov qword [rsp + 0x40], rbx | *((rsp + 0x40)) = rbx; 0x0043f1d5 mov rdi, rbx | 0x0043f1d8 call 0x4047a0 | rax = strlen (rbx); 0x0043f1dd mov qword [rsp + 0x48], rax | *((rsp + 0x48)) = rax; 0x0043f1e2 lea rsi, [rsp + 0x40] | 0x0043f1e7 mov rdi, r15 | 0x0043f1ea call 0x440fd0 | BloombergLP::baljsn::PrintUtil::printString(std::_1::basic_ostream>&,std::_1::basic_string_view>const&) (r15, rsp + 0x40); 0x0043f1ef add rsp, 0x50 | 0x0043f1f3 pop rbx | 0x0043f1f4 pop r12 | 0x0043f1f6 pop r14 | 0x0043f1f8 pop r15 | 0x0043f1fa pop rbp | 0x0043f1fb ret | return rax; | }