; assembly | /* r2dec pseudo code output */ | /* balxml_formatter.t/assume @ 0x424440 */ | #include | ; (fcn) method.std::__1::basic_ostream_char__std::__1::char_traits_char____BloombergLP::balxml::TypesPrintUtil::print_BloombergLP::bdlt.Time__std::__1::basic_ostream_char__std::__1::char_traits_char_____BloombergLP::bdlt::Time_const__int__BloombergLP::balxml: () | int64_t method_std::_1::basic_ostream_char_std::_1::char_traits_char_BloombergLP::balxml::TypesPrintUtil::print_BloombergLP::bdlt_Time_std::_1::basic_ostream_char_std::_1::char_traits_char_BloombergLP::bdlt::Time_const_int_BloombergLP::balxml_ (int64_t arg4, uint32_t arg3, int64_t arg2, int64_t arg1) { | int64_t var_8h; | int64_t var_10h; | rcx = arg4; | rdx = arg3; | rsi = arg2; | rdi = arg1; | /* std::__1::basic_ostream >& BloombergLP::balxml::TypesPrintUtil::print(std::__1::basic_ostream >&, BloombergLP::bdlt::Time const&, int, BloombergLP::balxml::EncoderOptions const*) */ 0x00424440 push r15 | 0x00424442 push r14 | 0x00424444 push rbx | 0x00424445 sub rsp, 0x20 | 0x00424449 mov rbx, rdi | rbx = rdi; 0x0042444c test edx, 0x100000 | | if ((edx & 0x100000) == 0) { 0x00424452 jne 0x424463 | 0x00424454 and edx, 7 | edx &= 7; 0x00424457 cmp edx, 4 | | if (edx > 4) { 0x0042445a ja 0x424463 | goto label_0; | } | /* switch table (5 cases) at 0x493890 */ 0x0042445c jmp qword [rdx*8 + 0x493890] | | } | label_0: 0x00424463 mov rax, qword [rbx] | rax = *(rbx); 0x00424466 mov rax, qword [rax - 0x18] | rax = *((rax - 0x18)); 0x0042446a lea rdi, [rbx + rax] | rdi = rbx + rax; 0x0042446e mov esi, dword [rbx + rax + 0x20] | esi = *((rbx + rax + 0x20)); 0x00424472 or esi, 4 | esi |= 4; 0x00424475 call 0x403c40 | std::_1::ios_base::clear(unsignedint) (); | do { 0x0042447a mov rax, rbx | rax = rbx; 0x0042447d add rsp, 0x20 | 0x00424481 pop rbx | 0x00424482 pop r14 | 0x00424484 pop r15 | 0x00424486 ret | return rax; 0x00424487 mov r15, rcx | r15 = rcx; 0x0042448a mov r14, rsi | r14 = rsi; 0x0042448d mov dword [rsp + 8], 3 | *((rsp + 8)) = 3; 0x00424495 test rcx, rcx | | if (rcx != 0) { 0x00424498 je 0x4244bf | 0x0042449a mov esi, dword [r15 + 0xa0] | 0x004244a1 lea rdi, [rsp + 8] | 0x004244a6 call 0x432a20 | BloombergLP::bdlt::Iso8601UtilConfiguration::setFractionalSecondPrecision(int) (rsp + 8, *((r15 + 0xa0))); 0x004244ab movzx esi, byte [r15 + 0xc3] | esi = *((r15 + 0xc3)); 0x004244b3 lea rdi, [rsp + 8] | 0x004244b8 call 0x432a40 | BloombergLP::bdlt::Iso8601UtilConfiguration::setUseZAbbreviationForUtc(bool) (rsp + 8, rsi); 0x004244bd jmp 0x4244da | | } else { 0x004244bf lea rdi, [rsp + 8] | 0x004244c4 mov esi, 6 | 0x004244c9 call 0x432a20 | BloombergLP::bdlt::Iso8601UtilConfiguration::setFractionalSecondPrecision(int) (rsp + 8, 6); 0x004244ce lea rdi, [rsp + 8] | 0x004244d3 xor esi, esi | 0x004244d5 call 0x432a40 | BloombergLP::bdlt::Iso8601UtilConfiguration::setUseZAbbreviationForUtc(bool) (rsp + 8, 0); | } 0x004244da lea rdi, [rsp + 0x10] | 0x004244df lea rcx, [rsp + 8] | 0x004244e4 mov esi, 0xf | 0x004244e9 mov rdx, r14 | 0x004244ec call 0x42f890 | eax = BloombergLP::bdlt::Iso8601Util::generate(char*,int,BloombergLP::bdlt::Timeconst&,BloombergLP::bdlt::Iso8601UtilConfigurationconst&) (rsp + 0x10, 0xf, r14, rsp + 8); 0x004244f1 movsxd rdx, eax | rdx = (int64_t) eax; 0x004244f4 lea rsi, [rsp + 0x10] | rsi = rsp + 0x10; 0x004244f9 mov rdi, rbx | rdi = rbx; 0x004244fc call 0x403cb0 | rax = std::_1::basic_ostream>::write(char const*,long) (); 0x00424501 mov rbx, rax | rbx = rax; 0x00424504 jmp 0x42447a | | } while (1); | }