; assembly | /* r2dec pseudo code output */ | /* baljsn_encoder.t/assume @ 0x483260 */ | #include | ; (fcn) method.int_BloombergLP::baljsn::Encoder_ValueDispatcher.operator___BloombergLP::bdlt::DateTz__BloombergLP::bdlt::DateTz_const__BloombergLP::bdlat_TypeCategory::Simple_ () | int64_t method_int_BloombergLP::baljsn::Encoder_ValueDispatcher_operator_BloombergLP::bdlt::DateTz_BloombergLP::bdlt::DateTz_const_BloombergLP::bdlat_TypeCategory::Simple_ (int64_t arg2, int64_t arg1) { | int64_t var_8h; | int64_t var_10h; | size_t var_18h; | int64_t var_20h; | rsi = arg2; | rdi = arg1; | /* int BloombergLP::baljsn::Encoder_ValueDispatcher::operator()(BloombergLP::bdlt::DateTz const&, BloombergLP::bdlat_TypeCategory::Simple) */ 0x00483260 push r15 | 0x00483262 push r14 | 0x00483264 push r12 | 0x00483266 push rbx | 0x00483267 sub rsp, 0x48 | 0x0048326b mov r14, rsi | r14 = rsi; 0x0048326e mov byte [rdi], 0 | *(rdi) = 0; 0x00483271 mov rbx, qword [rdi + 8] | rbx = *((rdi + 8)); 0x00483275 mov r12, qword [rdi + 0x20] | r12 = *((rdi + 0x20)); 0x00483279 cmp byte [rbx + 8], 0 | | if (*((rbx + 8)) != 0) { 0x0048327d je 0x4832a9 | 0x0048327f mov rax, qword [rbx + 0x18] | rax = *((rbx + 0x18)); 0x00483283 mov rcx, qword [rbx + 0x38] | rcx = *((rbx + 0x38)); 0x00483287 dec rcx | rcx--; 0x0048328a mov rdx, rcx | rdx = rcx; 0x0048328d shr rdx, 6 | rdx >>= 6; 0x00483291 mov rax, qword [rax + rdx*8] | rax = *((rax + rdx*8)); 0x00483295 bt rax, rcx | | if (((rax >> rcx) & 1) >= 0) { 0x00483299 jae 0x4832a9 | goto label_0; | } 0x0048329b mov rdi, qword [rbx] | 0x0048329e mov esi, dword [rbx + 0xc] | 0x004832a1 mov edx, dword [rbx + 0x10] | edx = *((rbx + 0x10)); 0x004832a4 call 0x4d79e0 | BloombergLP::bdlb::Print::indent(std::_1::basic_ostream>&,int,int) (*(rbx), *((rbx + 0xc))); | } | label_0: 0x004832a9 mov r15, qword [rbx] | r15 = *(rbx); 0x004832ac mov dword [rsp + 8], 3 | *((rsp + 8)) = 3; 0x004832b4 test r12, r12 | | if (r12 != 0) { 0x004832b7 je 0x4832ca | 0x004832b9 mov esi, dword [r12 + 8] | 0x004832be lea rdi, [rsp + 8] | 0x004832c3 call 0x4e9490 | BloombergLP::bdlt::Iso8601UtilConfiguration::setFractionalSecondPrecision(int) (rsp + 8, *((r12 + 8))); 0x004832c8 jmp 0x4832d9 | | } else { 0x004832ca lea rdi, [rsp + 8] | 0x004832cf mov esi, 3 | 0x004832d4 call 0x4e9490 | BloombergLP::bdlt::Iso8601UtilConfiguration::setFractionalSecondPrecision(int) (rsp + 8, 3); | } 0x004832d9 lea rbx, [rsp + 0x20] | rbx = rsp + 0x20; 0x004832de lea rcx, [rsp + 8] | 0x004832e3 mov rdi, rbx | 0x004832e6 mov esi, 0x27 | 0x004832eb mov rdx, r14 | 0x004832ee call 0x4e7160 | BloombergLP::bdlt::Iso8601Util::generate(char*,int,BloombergLP::bdlt::DateTzconst&,BloombergLP::bdlt::Iso8601UtilConfigurationconst&) (rbx, 0x27, r14, rsp + 8); 0x004832f3 mov qword [rsp + 0x10], rbx | *((rsp + 0x10)) = rbx; 0x004832f8 mov rdi, rbx | 0x004832fb call 0x4055c0 | rax = strlen (rbx); 0x00483300 mov qword [rsp + 0x18], rax | *((rsp + 0x18)) = rax; 0x00483305 lea rsi, [rsp + 0x10] | 0x0048330a mov rdi, r15 | 0x0048330d call 0x48c7d0 | BloombergLP::baljsn::PrintUtil::printString(std::_1::basic_ostream>&,std::_1::basic_string_view>const&) (r15, rsp + 0x10); 0x00483312 add rsp, 0x48 | 0x00483316 pop rbx | 0x00483317 pop r12 | 0x00483319 pop r14 | 0x0048331b pop r15 | 0x0048331d ret | return rax; | }