; assembly | /* r2dec pseudo code output */ | /* baljsn_datumutil.t/assume @ 0x43ef10 */ | #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_38h; | size_t var_40h; | rsi = arg2; | rdi = arg1; | /* int BloombergLP::baljsn::SimpleFormatter::addValue(BloombergLP::bdlt::Date const&) */ 0x0043ef10 push rbp | 0x0043ef11 push r15 | 0x0043ef13 push r14 | 0x0043ef15 push rbx | 0x0043ef16 sub rsp, 0x48 | 0x0043ef1a mov r14, rsi | r14 = rsi; 0x0043ef1d mov rbx, rdi | rbx = rdi; 0x0043ef20 cmp dword [rdi + 0x4c], 1 | | if (*((rdi + 0x4c)) == 1) { 0x0043ef24 jne 0x43ef85 | 0x0043ef26 mov bpl, byte [rbx + 0xa] | bpl = *((rbx + 0xa)); 0x0043ef2a mov byte [rbx + 9], 1 | *((rbx + 9)) = 1; 0x0043ef2e cmp byte [rbx + 8], 0 | | if (*((rbx + 8)) != 0) { 0x0043ef32 je 0x43ef68 | 0x0043ef34 mov rdi, qword [rbx] | 0x0043ef37 mov byte [rsp + 0x10], 0x2c | *((rsp + 0x10)) = 0x2c; 0x0043ef3c lea rsi, [rsp + 0x10] | 0x0043ef41 mov edx, 1 | 0x0043ef46 call 0x43ae00 | std::_1::basic_ostream>&std::_1::_put_character_sequence>(std::_1::basic_ostream>&,char const*,unsigned long) (*(rbx), rsp + 0x10, 1); 0x0043ef4b cmp dword [rbx + 0x4c], 1 | | if (*((rbx + 0x4c)) != 1) { 0x0043ef4f jne 0x43ef68 | goto label_0; | } 0x0043ef51 mov rdi, qword [rbx] | 0x0043ef54 mov byte [rsp + 0x10], 0xa | *((rsp + 0x10)) = 0xa; 0x0043ef59 lea rsi, [rsp + 0x10] | 0x0043ef5e mov edx, 1 | 0x0043ef63 call 0x43ae00 | std::_1::basic_ostream>&std::_1::_put_character_sequence>(std::_1::basic_ostream>&,char const*,unsigned long) (*(rbx), rsp + 0x10, 1); | } | label_0: 0x0043ef68 mov byte [rbx + 0xa], 0 | *((rbx + 0xa)) = 0; 0x0043ef6c mov byte [rbx + 8], 1 | *((rbx + 8)) = 1; 0x0043ef70 test bpl, bpl | | if (bpl != 0) { 0x0043ef73 jne 0x43efcb | goto label_1; | } 0x0043ef75 mov rdi, qword [rbx] | 0x0043ef78 mov esi, dword [rbx + 0x54] | 0x0043ef7b mov edx, dword [rbx + 0x3c] | edx = *((rbx + 0x3c)); 0x0043ef7e call 0x448060 | BloombergLP::bdlb::Print::indent(std::_1::basic_ostream>&,int,int) (*(rbx), *((rbx + 0x54))); 0x0043ef83 jmp 0x43efcb | | } else { 0x0043ef85 mov byte [rbx + 9], 1 | *((rbx + 9)) = 1; 0x0043ef89 cmp byte [rbx + 8], 0 | | if (*((rbx + 8)) != 0) { 0x0043ef8d je 0x43efc3 | 0x0043ef8f mov rdi, qword [rbx] | 0x0043ef92 mov byte [rsp + 0x10], 0x2c | *((rsp + 0x10)) = 0x2c; 0x0043ef97 lea rsi, [rsp + 0x10] | 0x0043ef9c mov edx, 1 | 0x0043efa1 call 0x43ae00 | std::_1::basic_ostream>&std::_1::_put_character_sequence>(std::_1::basic_ostream>&,char const*,unsigned long) (*(rbx), rsp + 0x10, 1); 0x0043efa6 cmp dword [rbx + 0x4c], 1 | | if (*((rbx + 0x4c)) != 1) { 0x0043efaa jne 0x43efc3 | goto label_2; | } 0x0043efac mov rdi, qword [rbx] | 0x0043efaf mov byte [rsp + 0x10], 0xa | *((rsp + 0x10)) = 0xa; 0x0043efb4 lea rsi, [rsp + 0x10] | 0x0043efb9 mov edx, 1 | 0x0043efbe call 0x43ae00 | std::_1::basic_ostream>&std::_1::_put_character_sequence>(std::_1::basic_ostream>&,char const*,unsigned long) (*(rbx), rsp + 0x10, 1); | } | label_2: 0x0043efc3 mov byte [rbx + 0xa], 0 | *((rbx + 0xa)) = 0; 0x0043efc7 mov byte [rbx + 8], 1 | *((rbx + 8)) = 1; | } | label_1: 0x0043efcb mov r15, qword [rbx] | r15 = *(rbx); 0x0043efce mov dword [rsp + 8], 3 | *((rsp + 8)) = 3; 0x0043efd6 mov esi, dword [rbx + 0x40] | 0x0043efd9 lea rdi, [rsp + 8] | 0x0043efde call 0x4629a0 | BloombergLP::bdlt::Iso8601UtilConfiguration::setFractionalSecondPrecision(int) (rsp + 8, *((rbx + 0x40))); 0x0043efe3 lea rbx, [rsp + 0x10] | rbx = rsp + 0x10; 0x0043efe8 lea rcx, [rsp + 8] | rcx = rsp + 8; 0x0043efed mov rdi, rbx | 0x0043eff0 mov esi, 0x27 | 0x0043eff5 mov rdx, r14 | 0x0043eff8 call 0x45f4b0 | BloombergLP::bdlt::Iso8601Util::generate(char*,int,BloombergLP::bdlt::Dateconst&,BloombergLP::bdlt::Iso8601UtilConfigurationconst&) (rbx, 0x27, r14); 0x0043effd mov qword [rsp + 0x38], rbx | *((rsp + 0x38)) = rbx; 0x0043f002 mov rdi, rbx | 0x0043f005 call 0x4047a0 | rax = strlen (rbx); 0x0043f00a mov qword [rsp + 0x40], rax | *((rsp + 0x40)) = rax; 0x0043f00f lea rsi, [rsp + 0x38] | 0x0043f014 mov rdi, r15 | 0x0043f017 call 0x440e00 | BloombergLP::baljsn::PrintUtil::printString(std::_1::basic_ostream>&,std::_1::basic_string_view>const&) (r15, rsp + 0x38); 0x0043f01c add rsp, 0x48 | 0x0043f020 pop rbx | 0x0043f021 pop r14 | 0x0043f023 pop r15 | 0x0043f025 pop rbp | 0x0043f026 ret | return rax; | }