; assembly | /* r2dec pseudo code output */ | /* baljsn_encoder.t/none @ 0x4c57f0 */ | #include | ; (fcn) method.bsl::vector_BloombergLP::s_baltst::Choice3__bsl::allocator_BloombergLP::s_baltst::Choice3___.vector__ () | int64_t method_bsl::vector_BloombergLP::s_baltst::Choice3_bsl::allocator_BloombergLP::s_baltst::Choice3_vector_ (int64_t arg1) { | rdi = arg1; | /* bsl::vector >::~vector() */ 0x004c57f0 push r15 | 0x004c57f2 push r14 | 0x004c57f4 push rbx | 0x004c57f5 mov rbx, qword [rdi] | rbx = *(rdi); 0x004c57f8 test rbx, rbx | | if (rbx == 0) { 0x004c57fb je 0x4c5876 | goto label_2; | } 0x004c57fd mov r14, rdi | r14 = rdi; 0x004c5800 mov r15, qword [rdi + 8] | r15 = *((rdi + 8)); 0x004c5804 cmp rbx, r15 | | if (rbx != r15) { 0x004c5807 jne 0x4c582e | goto label_3; | } 0x004c5809 jmp 0x4c5869 | goto label_4; | label_1: 0x004c5810 mov qword [rbx + 0x18], 0xffffffffffffffff | *((rbx + 0x18)) = 0xffffffffffffffff; | do { | label_0: 0x004c5818 mov dword [rbx + 0x170], 0xffffffff | *((rbx + 0x170)) = 0xffffffff; 0x004c5822 add rbx, 0x180 | rbx += 0x180; 0x004c5829 cmp r15, rbx | | if (r15 == rbx) { 0x004c582c je 0x4c5866 | goto label_5; | } | label_3: 0x004c582e mov eax, dword [rbx + 0x170] | eax = *((rbx + 0x170)); 0x004c5834 cmp eax, 2 | | if (eax == 2) { 0x004c5837 je 0x4c5850 | goto label_6; | } 0x004c5839 test eax, eax | 0x004c583b jne 0x4c5818 | | } while (eax != 0); 0x004c583d mov rdi, rbx | 0x004c5840 call 0x4c4be0 | BloombergLP::s_baltst::Sequence6::~Sequence6() (rbx); 0x004c5845 jmp 0x4c5818 | goto label_0; | label_6: 0x004c5850 cmp qword [rbx + 0x20], 0x17 | | if (*((rbx + 0x20)) == 0x17) { 0x004c5855 je 0x4c5810 | goto label_1; | } 0x004c5857 mov rsi, qword [rbx] | rsi = *(rbx); 0x004c585a mov rdi, qword [rbx + 0x28] | rdi = *((rbx + 0x28)); 0x004c585e mov rax, qword [rdi] | rax = *(rdi); 0x004c5861 call qword [rax + 0x18] | uint64_t (*rax + 0x18)() (); 0x004c5864 jmp 0x4c5810 | goto label_1; | label_5: 0x004c5866 mov rbx, qword [r14] | rbx = *(r14); | label_4: 0x004c5869 mov rdi, qword [r14 + 0x18] | rdi = *((r14 + 0x18)); 0x004c586d mov rax, qword [rdi] | rax = *(rdi); 0x004c5870 mov rsi, rbx | rsi = rbx; 0x004c5873 call qword [rax + 0x18] | uint64_t (*rax + 0x18)() (); | label_2: 0x004c5876 pop rbx | 0x004c5877 pop r14 | 0x004c5879 pop r15 | 0x004c587b ret | return rax; | }