; assembly | /* r2dec pseudo code output */ | /* balber_berdecoder.t/assume @ 0x45cbc0 */ | #include | ; (fcn) method.BloombergLP::s_baltst::MySequenceWithAnonymousChoiceChoice.operator_BloombergLP::s_baltst::MySequenceWithAnonymousChoiceChoice_ () | int64_t method_BloombergLP::s_baltst::MySequenceWithAnonymousChoiceChoice_operator_BloombergLP::s_baltst::MySequenceWithAnonymousChoiceChoice_ (int64_t arg2, uint32_t arg1) { | rsi = arg2; | rdi = arg1; | /* BloombergLP::s_baltst::MySequenceWithAnonymousChoiceChoice::operator=(BloombergLP::s_baltst::MySequenceWithAnonymousChoiceChoice&&) */ 0x0045cbc0 push rbp | 0x0045cbc1 push rbx | 0x0045cbc2 push rax | 0x0045cbc3 mov rbx, rdi | rbx = rdi; 0x0045cbc6 cmp rdi, rsi | | if (rdi != rsi) { 0x0045cbc9 je 0x45cc49 | 0x0045cbcb mov eax, dword [rsi + 0x30] | eax = *((rsi + 0x30)); 0x0045cbce cmp eax, 1 | | if (eax != 1) { 0x0045cbd1 je 0x45cbe9 | 0x0045cbd3 test eax, eax | | if (eax == 0) { 0x0045cbd5 jne 0x45cbf3 | 0x0045cbd7 mov ebp, dword [rsi] | ebp = *(rsi); 0x0045cbd9 mov eax, dword [rbx + 0x30] | eax = *((rbx + 0x30)); 0x0045cbdc cmp eax, 1 | | if (eax != 1) { 0x0045cbdf je 0x45cc24 | 0x0045cbe1 test eax, eax | | if (eax == 0) { 0x0045cbe3 jne 0x45cc40 | 0x0045cbe5 mov dword [rbx], ebp | *(rbx) = ebp; 0x0045cbe7 jmp 0x45cc49 | | } else { 0x0045cbe9 mov rdi, rbx | 0x0045cbec call 0x45cc70 | BloombergLP::s_baltst::MySequenceWithAnonymousChoiceChoice::makeMyChoice2(bsl::basic_string,bsl::allocator>&&) (rbx, rsi); 0x0045cbf1 jmp 0x45cc49 | | } else { 0x0045cbf3 mov eax, dword [rbx + 0x30] | eax = *((rbx + 0x30)); | } 0x0045cbf6 test eax, eax | | if (eax != 0) { 0x0045cbf8 je 0x45cc1b | 0x0045cbfa cmp eax, 1 | | if (eax != 1) { 0x0045cbfd jne 0x45cc1b | goto label_0; | } 0x0045cbff cmp qword [rbx + 0x20], 0x17 | | if (*((rbx + 0x20)) != 0x17) { 0x0045cc04 je 0x45cc13 | 0x0045cc06 mov rsi, qword [rbx] | rsi = *(rbx); 0x0045cc09 mov rdi, qword [rbx + 0x28] | rdi = *((rbx + 0x28)); 0x0045cc0d mov rax, qword [rdi] | rax = *(rdi); 0x0045cc10 call qword [rax + 0x18] | uint64_t (*rax + 0x18)() (); | } 0x0045cc13 mov qword [rbx + 0x18], 0xffffffffffffffff | *((rbx + 0x18)) = 0xffffffffffffffff; | } | label_0: 0x0045cc1b mov dword [rbx + 0x30], 0xffffffff | *((rbx + 0x30)) = 0xffffffff; 0x0045cc22 jmp 0x45cc49 | | } else { 0x0045cc24 cmp qword [rbx + 0x20], 0x17 | | } | } | if (*((rbx + 0x20)) != 0x17) { 0x0045cc29 je 0x45cc38 | 0x0045cc2b mov rsi, qword [rbx] | rsi = *(rbx); 0x0045cc2e mov rdi, qword [rbx + 0x28] | rdi = *((rbx + 0x28)); 0x0045cc32 mov rax, qword [rdi] | rax = *(rdi); 0x0045cc35 call qword [rax + 0x18] | uint64_t (*rax + 0x18)() (); | } 0x0045cc38 mov qword [rbx + 0x18], 0xffffffffffffffff | *((rbx + 0x18)) = 0xffffffffffffffff; 0x0045cc40 mov dword [rbx], ebp | *(rbx) = ebp; 0x0045cc42 mov dword [rbx + 0x30], 0 | *((rbx + 0x30)) = 0; | } | } 0x0045cc49 mov rax, rbx | rax = rbx; 0x0045cc4c add rsp, 8 | 0x0045cc50 pop rbx | 0x0045cc51 pop rbp | 0x0045cc52 ret | return rax; | }