; assembly | /* r2dec pseudo code output */ | /* baljsn_encoder.t/assume @ 0x4b98a0 */ | #include | ; (fcn) method.BloombergLP::s_baltst::Choice3.makeSelection4_BloombergLP::s_baltst::CustomInt_ () | int64_t method_BloombergLP::s_baltst::Choice3_makeSelection4_BloombergLP::s_baltst::CustomInt_ (int64_t arg2, int64_t arg1) { | rsi = arg2; | rdi = arg1; | /* BloombergLP::s_baltst::Choice3::makeSelection4(BloombergLP::s_baltst::CustomInt&&) */ 0x004b98a0 push r14 | 0x004b98a2 push rbx | 0x004b98a3 push rax | 0x004b98a4 mov r14, rsi | r14 = rsi; 0x004b98a7 mov rbx, rdi | rbx = rdi; 0x004b98aa mov eax, dword [rdi + 0x170] | eax = *((rdi + 0x170)); 0x004b98b0 cmp rax, 3 | | if (rax <= 3) { 0x004b98b4 ja 0x4b98e3 | | /* switch table (4 cases) at 0x648ce0 */ 0x004b98b6 jmp qword [rax*8 + 0x648ce0] | 0x004b98bd mov rdi, rbx | 0x004b98c0 call 0x4c4a50 | BloombergLP::s_baltst::Sequence6::~Sequence6() (rbx); 0x004b98c5 jmp 0x4b98e3 | goto label_0; 0x004b98c7 cmp qword [rbx + 0x20], 0x17 | | if (*((rbx + 0x20)) != 0x17) { 0x004b98cc je 0x4b98db | 0x004b98ce mov rsi, qword [rbx] | rsi = *(rbx); 0x004b98d1 mov rdi, qword [rbx + 0x28] | rdi = *((rbx + 0x28)); 0x004b98d5 mov rax, qword [rdi] | rax = *(rdi); 0x004b98d8 call qword [rax + 0x18] | uint64_t (*rax + 0x18)() (); | } 0x004b98db mov qword [rbx + 0x18], 0xffffffffffffffff | *((rbx + 0x18)) = 0xffffffffffffffff; | } | label_0: 0x004b98e3 mov dword [rbx + 0x170], 0xffffffff | *((rbx + 0x170)) = 0xffffffff; 0x004b98ed mov eax, dword [r14] | eax = *(r14); 0x004b98f0 mov dword [rbx], eax | *(rbx) = eax; 0x004b98f2 mov dword [rbx + 0x170], 3 | *((rbx + 0x170)) = 3; 0x004b98fc jmp 0x4b9903 | goto label_1; 0x004b98fe mov eax, dword [r14] | eax = *(r14); 0x004b9901 mov dword [rbx], eax | *(rbx) = eax; | label_1: 0x004b9903 mov rax, rbx | rax = rbx; 0x004b9906 add rsp, 8 | 0x004b990a pop rbx | 0x004b990b pop r14 | 0x004b990d ret | return rax; | }