; assembly | /* r2dec pseudo code output */ | /* balber_berdecoder.t/none @ 0x455480 */ | #include | ; (fcn) method.BloombergLP::balber::BerUtil_DateImpUtil.putIso8601DateTzValue_std::__1::basic_streambuf_char__std::__1::char_traits_char_____BloombergLP::bdlt::DateTz_const__BloombergLP::balber::BerEncoderOptions_const_ () | uint64_t method_BloombergLP::balber::BerUtil_DateImpUtil_putIso8601DateTzValue_std::_1::basic_streambuf_char_std::_1::char_traits_char_BloombergLP::bdlt::DateTz_const_BloombergLP::balber::BerEncoderOptions_const_ (int64_t arg3, int64_t arg2, int64_t arg1) { | int64_t var_8h; | int64_t var_10h; | rdx = arg3; | rsi = arg2; | rdi = arg1; | /* BloombergLP::balber::BerUtil_DateImpUtil::putIso8601DateTzValue(std::__1::basic_streambuf >*, BloombergLP::bdlt::DateTz const&, BloombergLP::balber::BerEncoderOptions const*) */ 0x00455480 push r15 | 0x00455482 push r14 | 0x00455484 push rbx | 0x00455485 sub rsp, 0x40 | 0x00455489 mov r15, rsi | r15 = rsi; 0x0045548c mov r14, rdi | r14 = rdi; 0x0045548f mov dword [rsp + 8], 3 | *((rsp + 8)) = 3; 0x00455497 test rdx, rdx | | if (rdx != 0) { 0x0045549a je 0x4554a0 | 0x0045549c mov esi, dword [rdx] | esi = *(rdx); 0x0045549e jmp 0x4554a5 | | } else { 0x004554a0 mov esi, 6 | | } 0x004554a5 lea rbx, [rsp + 8] | rbx = rsp + 8; 0x004554aa mov rdi, rbx | 0x004554ad call 0x469bc0 | BloombergLP::bdlt::Iso8601UtilConfiguration::setFractionalSecondPrecision(int) (rbx, 6); 0x004554b2 lea rdi, [rsp + 0x10] | 0x004554b7 mov esi, 0x26 | 0x004554bc mov rdx, r15 | 0x004554bf mov rcx, rbx | 0x004554c2 call 0x467720 | eax = BloombergLP::bdlt::Iso8601Util::generate(char*,int,BloombergLP::bdlt::DateTzconst&,BloombergLP::bdlt::Iso8601UtilConfigurationconst&) (rsp + 0x10, 0x26, r15, rbx); 0x004554c7 mov ebx, eax | ebx = eax; 0x004554c9 mov rdi, r14 | 0x004554cc mov esi, eax | 0x004554ce call 0x453da0 | eax = BloombergLP::balber::BerUtil_LengthImpUtil::putLength(std::_1::basic_streambuf>*,int) (r14, eax); 0x004554d3 mov ecx, eax | ecx = eax; 0x004554d5 mov eax, 0xffffffff | eax = 0xffffffff; 0x004554da test ecx, ecx | | if (ecx == 0) { 0x004554dc jne 0x4554ff | 0x004554de movsxd rbx, ebx | rbx = (int64_t) ebx; 0x004554e1 mov rax, qword [r14] | rax = *(r14); 0x004554e4 lea rsi, [rsp + 0x10] | rsi = rsp + 0x10; 0x004554e9 mov rdi, r14 | rdi = r14; 0x004554ec mov rdx, rbx | rdx = rbx; 0x004554ef call qword [rax + 0x60] | rax = uint64_t (*rax + 0x60)() (); 0x004554f2 mov rcx, rax | rcx = rax; 0x004554f5 xor eax, eax | eax = 0; 0x004554f7 cmp rcx, rbx | 0x004554fa setne al | al = (rcx != rbx) ? 1 : 0; 0x004554fd neg eax | eax = -eax; | } 0x004554ff add rsp, 0x40 | 0x00455503 pop rbx | 0x00455504 pop r14 | 0x00455506 pop r15 | 0x00455508 ret | return rax; | }