; assembly | /* r2dec pseudo code output */ | /* balber_berdecoder.t/assume @ 0x45c970 */ | #include | ; (fcn) method.BloombergLP::s_baltst::MySequenceWithAnonymousChoiceChoice.operator_BloombergLP::s_baltst::MySequenceWithAnonymousChoiceChoice_const_ () | int64_t method_BloombergLP::s_baltst::MySequenceWithAnonymousChoiceChoice_operator_BloombergLP::s_baltst::MySequenceWithAnonymousChoiceChoice_const_ (int64_t arg2, uint32_t arg1) { | rsi = arg2; | rdi = arg1; | /* BloombergLP::s_baltst::MySequenceWithAnonymousChoiceChoice::operator=(BloombergLP::s_baltst::MySequenceWithAnonymousChoiceChoice const&) */ 0x0045c970 push rbp | 0x0045c971 push rbx | 0x0045c972 push rax | 0x0045c973 mov rbx, rdi | rbx = rdi; 0x0045c976 cmp rdi, rsi | | if (rdi != rsi) { 0x0045c979 je 0x45c9f9 | 0x0045c97b mov eax, dword [rsi + 0x30] | eax = *((rsi + 0x30)); 0x0045c97e cmp eax, 1 | | if (eax != 1) { 0x0045c981 je 0x45c999 | 0x0045c983 test eax, eax | | if (eax == 0) { 0x0045c985 jne 0x45c9a3 | 0x0045c987 mov ebp, dword [rsi] | ebp = *(rsi); 0x0045c989 mov eax, dword [rbx + 0x30] | eax = *((rbx + 0x30)); 0x0045c98c cmp eax, 1 | | if (eax != 1) { 0x0045c98f je 0x45c9d4 | 0x0045c991 test eax, eax | | if (eax == 0) { 0x0045c993 jne 0x45c9f0 | 0x0045c995 mov dword [rbx], ebp | *(rbx) = ebp; 0x0045c997 jmp 0x45c9f9 | | } else { 0x0045c999 mov rdi, rbx | 0x0045c99c call 0x45ca70 | BloombergLP::s_baltst::MySequenceWithAnonymousChoiceChoice::makeMyChoice2(bsl::basic_string,bsl::allocator>const&) (rbx, rsi); 0x0045c9a1 jmp 0x45c9f9 | | } else { 0x0045c9a3 mov eax, dword [rbx + 0x30] | eax = *((rbx + 0x30)); | } 0x0045c9a6 test eax, eax | | if (eax != 0) { 0x0045c9a8 je 0x45c9cb | 0x0045c9aa cmp eax, 1 | | if (eax != 1) { 0x0045c9ad jne 0x45c9cb | goto label_0; | } 0x0045c9af cmp qword [rbx + 0x20], 0x17 | | if (*((rbx + 0x20)) != 0x17) { 0x0045c9b4 je 0x45c9c3 | 0x0045c9b6 mov rsi, qword [rbx] | rsi = *(rbx); 0x0045c9b9 mov rdi, qword [rbx + 0x28] | rdi = *((rbx + 0x28)); 0x0045c9bd mov rax, qword [rdi] | rax = *(rdi); 0x0045c9c0 call qword [rax + 0x18] | uint64_t (*rax + 0x18)() (); | } 0x0045c9c3 mov qword [rbx + 0x18], 0xffffffffffffffff | *((rbx + 0x18)) = 0xffffffffffffffff; | } | label_0: 0x0045c9cb mov dword [rbx + 0x30], 0xffffffff | *((rbx + 0x30)) = 0xffffffff; 0x0045c9d2 jmp 0x45c9f9 | | } else { 0x0045c9d4 cmp qword [rbx + 0x20], 0x17 | | } | } | if (*((rbx + 0x20)) != 0x17) { 0x0045c9d9 je 0x45c9e8 | 0x0045c9db mov rsi, qword [rbx] | rsi = *(rbx); 0x0045c9de mov rdi, qword [rbx + 0x28] | rdi = *((rbx + 0x28)); 0x0045c9e2 mov rax, qword [rdi] | rax = *(rdi); 0x0045c9e5 call qword [rax + 0x18] | uint64_t (*rax + 0x18)() (); | } 0x0045c9e8 mov qword [rbx + 0x18], 0xffffffffffffffff | *((rbx + 0x18)) = 0xffffffffffffffff; 0x0045c9f0 mov dword [rbx], ebp | *(rbx) = ebp; 0x0045c9f2 mov dword [rbx + 0x30], 0 | *((rbx + 0x30)) = 0; | } | } 0x0045c9f9 mov rax, rbx | rax = rbx; 0x0045c9fc add rsp, 8 | 0x0045ca00 pop rbx | 0x0045ca01 pop rbp | 0x0045ca02 ret | return rax; | }