; assembly | /* r2dec pseudo code output */ | /* balber_berdecoder.t/assume @ 0x447f00 */ | #include | ; (fcn) method.void_BloombergLP::bdlb::VariantImp_BloombergLP::bslmf::TypeList_BloombergLP::bdlt::Datetime__BloombergLP::bdlt::DatetimeTz___::doApply_BloombergLP::bdlb.Variant_PrintVisitor_const__BloombergLP::bdlb::Variant_PrintVisitor_const__int__const () | uint64_t method_void_BloombergLP::bdlb::VariantImp_BloombergLP::bslmf::TypeList_BloombergLP::bdlt::Datetime_BloombergLP::bdlt::DatetimeTz_::doApply_BloombergLP::bdlb_Variant_PrintVisitor_const_BloombergLP::bdlb::Variant_PrintVisitor_const_int_const (uint32_t arg3, int64_t arg2, int64_t arg1) { | int64_t var_eh; | int64_t var_fh; | rdx = arg3; | rsi = arg2; | rdi = arg1; | /* void BloombergLP::bdlb::VariantImp >::doApply(BloombergLP::bdlb::Variant_PrintVisitor const&, int) const */ 0x00447f00 push rbp | 0x00447f01 push r14 | 0x00447f03 push rbx | 0x00447f04 sub rsp, 0x10 | 0x00447f08 lea eax, [rdx - 3] | eax = rdx - 3; 0x00447f0b cmp eax, 0x12 | 0x00447f0e jae 0x447f19 | | while ((*((r14 + rax + 0x20)) & 1) != 0) { | label_0: 0x00447f10 add rsp, 0x10 | 0x00447f14 pop rbx | 0x00447f15 pop r14 | 0x00447f17 pop rbp | 0x00447f18 ret | return eax; 0x00447f19 mov rbx, rdi | rbx = rdi; 0x00447f1c cmp edx, 2 | | if (edx != 2) { 0x00447f1f jne 0x447f65 | goto label_1; | } 0x00447f21 mov r14, qword [rsi] | r14 = *(rsi); 0x00447f24 mov rax, qword [r14] | rax = *(r14); 0x00447f27 mov rax, qword [rax - 0x18] | rax = *((rax - 0x18)); 0x00447f2b test byte [r14 + rax + 0x20], 1 | 0x00447f31 jne 0x447f10 | | } 0x00447f33 mov ebp, dword [rsi + 0xc] | ebp = *((rsi + 0xc)); 0x00447f36 mov esi, dword [rsi + 8] | 0x00447f39 mov rdi, r14 | 0x00447f3c mov edx, ebp | edx = ebp; 0x00447f3e call 0x461030 | BloombergLP::bdlb::Print::indent(std::_1::basic_ostream>&,int,int) (r14, *((rsi + 8))); 0x00447f43 mov rdi, rbx | 0x00447f46 mov rsi, r14 | 0x00447f49 xor edx, edx | 0x00447f4b mov ecx, 0xffffffff | 0x00447f50 call 0x464b20 | BloombergLP::bdlt::DatetimeTz::print(std::_1::basic_ostream>&,int,int)const (rbx, r14, 0, 0xffffffff); 0x00447f55 test ebp, ebp | | if (ebp < 0) { 0x00447f57 js 0x447f10 | goto label_0; | } 0x00447f59 mov byte [rsp + 0xf], 0xa | *((rsp + 0xf)) = 0xa; 0x00447f5e lea rsi, [rsp + 0xf] | rsi = rsp + 0xf; 0x00447f63 jmp 0x447fa4 | goto label_2; | label_1: 0x00447f65 mov r14, qword [rsi] | r14 = *(rsi); 0x00447f68 mov rax, qword [r14] | rax = *(r14); 0x00447f6b mov rax, qword [rax - 0x18] | rax = *((rax - 0x18)); 0x00447f6f test byte [r14 + rax + 0x20], 1 | | if ((*((r14 + rax + 0x20)) & 1) != 0) { 0x00447f75 jne 0x447f10 | goto label_0; | } 0x00447f77 mov ebp, dword [rsi + 0xc] | ebp = *((rsi + 0xc)); 0x00447f7a mov esi, dword [rsi + 8] | 0x00447f7d mov rdi, r14 | 0x00447f80 mov edx, ebp | edx = ebp; 0x00447f82 call 0x461030 | BloombergLP::bdlb::Print::indent(std::_1::basic_ostream>&,int,int) (r14, *((rsi + 8))); 0x00447f87 mov rdi, r14 | 0x00447f8a mov rsi, rbx | 0x00447f8d call 0x464230 | BloombergLP::bdlt::operator << (std::_1::basic_ostream>&,BloombergLP::bdlt::Datetimeconst&) (r14, rbx); 0x00447f92 test ebp, ebp | | if (ebp < 0) { 0x00447f94 js 0x447f10 | goto label_0; | } 0x00447f9a mov byte [rsp + 0xe], 0xa | *((rsp + 0xe)) = 0xa; 0x00447f9f lea rsi, [rsp + 0xe] | | label_2: 0x00447fa4 mov edx, 1 | 0x00447fa9 mov rdi, r14 | 0x00447fac call 0x445120 | std::_1::basic_ostream>&std::_1::_put_character_sequence>(std::_1::basic_ostream>&,char const*,unsigned long) (r14, rsp + 0xe, 1); 0x00447fb1 jmp 0x447f10 | goto label_0; | }