; assembly | /* r2dec pseudo code output */ | /* balber_berdecoder.t/none @ 0x405460 */ | #include | ; (fcn) method.BloombergLP::s_baltst::MyChoiceWithDefaultValues.makeSelection0__ () | int64_t method_BloombergLP::s_baltst::MyChoiceWithDefaultValues_makeSelection0_ (int64_t arg1) { | rdi = arg1; | /* BloombergLP::s_baltst::MyChoiceWithDefaultValues::makeSelection0() */ 0x00405460 push rbx | 0x00405461 mov rbx, rdi | rbx = rdi; 0x00405464 mov eax, dword [rdi + 0x30] | eax = *((rdi + 0x30)); 0x00405467 cmp eax, 1 | | if (eax != 1) { 0x0040546a je 0x405478 | 0x0040546c test eax, eax | | if (eax == 0) { 0x0040546e jne 0x405494 | 0x00405470 mov dword [rbx], 0x64 | *(rbx) = 0x64; 0x00405476 jmp 0x4054a1 | | } else { 0x00405478 cmp qword [rbx + 0x20], 0x17 | | if (*((rbx + 0x20)) != 0x17) { 0x0040547d je 0x40548c | 0x0040547f mov rsi, qword [rbx] | rsi = *(rbx); 0x00405482 mov rdi, qword [rbx + 0x28] | rdi = *((rbx + 0x28)); 0x00405486 mov rax, qword [rdi] | rax = *(rdi); 0x00405489 call qword [rax + 0x18] | uint64_t (*rax + 0x18)() (); | } 0x0040548c mov qword [rbx + 0x18], 0xffffffffffffffff | *((rbx + 0x18)) = 0xffffffffffffffff; | } 0x00405494 mov dword [rbx], 0x64 | *(rbx) = 0x64; 0x0040549a mov dword [rbx + 0x30], 0 | *((rbx + 0x30)) = 0; | } 0x004054a1 mov rax, rbx | rax = rbx; 0x004054a4 pop rbx | 0x004054a5 ret | return rax; | }