; assembly | /* r2dec pseudo code output */ | /* baljsn_encoder.t/assume @ 0x4830c0 */ | #include | ; (fcn) method.int_BloombergLP::baljsn::Encoder_ValueDispatcher.operator___BloombergLP::bdlt::Date__BloombergLP::bdlt::Date_const__BloombergLP::bdlat_TypeCategory::Simple_ () | int64_t method_int_BloombergLP::baljsn::Encoder_ValueDispatcher_operator_BloombergLP::bdlt::Date_BloombergLP::bdlt::Date_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::Date const&, BloombergLP::bdlat_TypeCategory::Simple) */ 0x004830c0 push r15 | 0x004830c2 push r14 | 0x004830c4 push r12 | 0x004830c6 push rbx | 0x004830c7 sub rsp, 0x48 | 0x004830cb mov r14, rsi | r14 = rsi; 0x004830ce mov byte [rdi], 0 | *(rdi) = 0; 0x004830d1 mov rbx, qword [rdi + 8] | rbx = *((rdi + 8)); 0x004830d5 mov r12, qword [rdi + 0x20] | r12 = *((rdi + 0x20)); 0x004830d9 cmp byte [rbx + 8], 0 | | if (*((rbx + 8)) != 0) { 0x004830dd je 0x483109 | 0x004830df mov rax, qword [rbx + 0x18] | rax = *((rbx + 0x18)); 0x004830e3 mov rcx, qword [rbx + 0x38] | rcx = *((rbx + 0x38)); 0x004830e7 dec rcx | rcx--; 0x004830ea mov rdx, rcx | rdx = rcx; 0x004830ed shr rdx, 6 | rdx >>= 6; 0x004830f1 mov rax, qword [rax + rdx*8] | rax = *((rax + rdx*8)); 0x004830f5 bt rax, rcx | | if (((rax >> rcx) & 1) >= 0) { 0x004830f9 jae 0x483109 | goto label_0; | } 0x004830fb mov rdi, qword [rbx] | 0x004830fe mov esi, dword [rbx + 0xc] | 0x00483101 mov edx, dword [rbx + 0x10] | edx = *((rbx + 0x10)); 0x00483104 call 0x4d79e0 | BloombergLP::bdlb::Print::indent(std::_1::basic_ostream>&,int,int) (*(rbx), *((rbx + 0xc))); | } | label_0: 0x00483109 mov r15, qword [rbx] | r15 = *(rbx); 0x0048310c mov dword [rsp + 8], 3 | *((rsp + 8)) = 3; 0x00483114 test r12, r12 | | if (r12 != 0) { 0x00483117 je 0x48312a | 0x00483119 mov esi, dword [r12 + 8] | 0x0048311e lea rdi, [rsp + 8] | 0x00483123 call 0x4e9490 | BloombergLP::bdlt::Iso8601UtilConfiguration::setFractionalSecondPrecision(int) (rsp + 8, *((r12 + 8))); 0x00483128 jmp 0x483139 | | } else { 0x0048312a lea rdi, [rsp + 8] | 0x0048312f mov esi, 3 | 0x00483134 call 0x4e9490 | BloombergLP::bdlt::Iso8601UtilConfiguration::setFractionalSecondPrecision(int) (rsp + 8, 3); | } 0x00483139 lea rbx, [rsp + 0x20] | rbx = rsp + 0x20; 0x0048313e lea rcx, [rsp + 8] | rcx = rsp + 8; 0x00483143 mov rdi, rbx | 0x00483146 mov esi, 0x27 | 0x0048314b mov rdx, r14 | 0x0048314e call 0x4e5fa0 | BloombergLP::bdlt::Iso8601Util::generate(char*,int,BloombergLP::bdlt::Dateconst&,BloombergLP::bdlt::Iso8601UtilConfigurationconst&) (rbx, 0x27, r14); 0x00483153 mov qword [rsp + 0x10], rbx | *((rsp + 0x10)) = rbx; 0x00483158 mov rdi, rbx | 0x0048315b call 0x4055c0 | rax = strlen (rbx); 0x00483160 mov qword [rsp + 0x18], rax | *((rsp + 0x18)) = rax; 0x00483165 lea rsi, [rsp + 0x10] | 0x0048316a mov rdi, r15 | 0x0048316d call 0x48c7d0 | BloombergLP::baljsn::PrintUtil::printString(std::_1::basic_ostream>&,std::_1::basic_string_view>const&) (r15, rsp + 0x10); 0x00483172 add rsp, 0x48 | 0x00483176 pop rbx | 0x00483177 pop r12 | 0x00483179 pop r14 | 0x0048317b pop r15 | 0x0048317d ret | return rax; | }