; assembly | /* r2dec pseudo code output */ | /* balber_berdecoder.t/assume @ 0x454ff0 */ | #include | ; (fcn) method.BloombergLP::balber::BerUtil_Iso8601ImpUtil.putTimeTzValue_std::__1::basic_streambuf_char__std::__1::char_traits_char_____BloombergLP::bdlt::TimeTz_const__BloombergLP::balber::BerEncoderOptions_const_ () | uint64_t method_BloombergLP::balber::BerUtil_Iso8601ImpUtil_putTimeTzValue_std::_1::basic_streambuf_char_std::_1::char_traits_char_BloombergLP::bdlt::TimeTz_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_Iso8601ImpUtil::putTimeTzValue(std::__1::basic_streambuf >*, BloombergLP::bdlt::TimeTz const&, BloombergLP::balber::BerEncoderOptions const*) */ 0x00454ff0 push r14 | 0x00454ff2 push rbx | 0x00454ff3 sub rsp, 0x38 | 0x00454ff7 mov rbx, rsi | rbx = rsi; 0x00454ffa mov r14, rdi | r14 = rdi; 0x00454ffd mov dword [rsp + 8], 3 | *((rsp + 8)) = 3; 0x00455005 test rdx, rdx | | if (rdx != 0) { 0x00455008 je 0x45500e | 0x0045500a mov esi, dword [rdx] | esi = *(rdx); 0x0045500c jmp 0x455013 | | } else { 0x0045500e mov esi, 6 | | } 0x00455013 lea rdi, [rsp + 8] | 0x00455018 call 0x469860 | BloombergLP::bdlt::Iso8601UtilConfiguration::setFractionalSecondPrecision(int) (rsp + 8, 6); 0x0045501d lea rdi, [rsp + 0x10] | 0x00455022 lea rcx, [rsp + 8] | 0x00455027 mov esi, 0x26 | 0x0045502c mov rdx, rbx | 0x0045502f call 0x4677a0 | eax = BloombergLP::bdlt::Iso8601Util::generate(char*,int,BloombergLP::bdlt::TimeTzconst&,BloombergLP::bdlt::Iso8601UtilConfigurationconst&) (rsp + 0x10, 0x26, rbx, rsp + 8); 0x00455034 mov ebx, eax | ebx = eax; 0x00455036 mov rdi, r14 | 0x00455039 mov esi, eax | 0x0045503b call 0x453df0 | eax = BloombergLP::balber::BerUtil_LengthImpUtil::putLength(std::_1::basic_streambuf>*,int) (r14, eax); 0x00455040 mov ecx, 0xffffffff | ecx = 0xffffffff; 0x00455045 test eax, eax | | if (eax == 0) { 0x00455047 jne 0x455067 | 0x00455049 movsxd rbx, ebx | rbx = (int64_t) ebx; 0x0045504c mov rax, qword [r14] | rax = *(r14); 0x0045504f lea rsi, [rsp + 0x10] | rsi = rsp + 0x10; 0x00455054 mov rdi, r14 | rdi = r14; 0x00455057 mov rdx, rbx | rdx = rbx; 0x0045505a call qword [rax + 0x60] | rax = uint64_t (*rax + 0x60)() (); 0x0045505d xor ecx, ecx | ecx = 0; 0x0045505f cmp rax, rbx | 0x00455062 setne cl | cl = (rax != rbx) ? 1 : 0; 0x00455065 neg ecx | ecx = -ecx; | } 0x00455067 mov eax, ecx | eax = ecx; 0x00455069 add rsp, 0x38 | 0x0045506d pop rbx | 0x0045506e pop r14 | 0x00455070 ret | return rax; | }