; ; sub_1800447A0 from 0x1800447a0 to 0x18004491c (380 bytes) ; ; 7 xrefs: ; > sub_180015F50 @ 0x180015f95 ; > @ 0x180180e88 ; > @ 0x180180ea0 ; > @ 0x180180eb8 ; > @ 0x180180ec8 ; > @ 0x1801f816c ; > @ 0x1801f8178 ; ; This function is hookable on this platform! ; ; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA ; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings ; push rbx ; +0x0, 0x1800447a0 push rsi ; +0x2, 0x1800447a2 push rdi ; +0x3, 0x1800447a3 sub rsp, 20h ; +0x4, 0x1800447a4 mov rax, [rdx] ; +0x8, 0x1800447a8 mov rdi, r8 ; +0xb, 0x1800447ab mov rbx, rdx ; +0xe, 0x1800447ae mov rsi, rcx ; +0x11, 0x1800447b1 cmp dword ptr [rax], 4 ; +0x14, 0x1800447b4 ja loc_1800448F2 ; +0x17, 0x1800447b7 mov rax, [rdx+8] ; +0x1d, 0x1800447bd cmp qword ptr [rax+8], 0 ; +0x21, 0x1800447c1 jz loc_1800448F2 ; +0x26, 0x1800447c6 cmp dword ptr [rax+1D8h], 0 ; +0x2c, 0x1800447cc jz short loc_1800447EA ; +0x33, 0x1800447d3 mov rdx, [rax+210h] ; +0x35, 0x1800447d5 test rdx, rdx ; +0x3c, 0x1800447dc jz short loc_1800447EA ; +0x3f, 0x1800447df cmp r8, rdx ; +0x41, 0x1800447e1 jnb loc_1800448F2 ; +0x44, 0x1800447e4 mov dword ptr [rax+1010h], 1 ; +0x4a, 0x1800447ea lea rdx, [rsp+38h+arg_8] ; +0x54, 0x1800447f4 mov rax, [rbx+8] ; +0x59, 0x1800447f9 mov rcx, rbx ; +0x5d, 0x1800447fd mov [rsp+38h+arg_10], r14 ; +0x60, 0x180044800 xor r14d, r14d ; +0x65, 0x180044805 mov [rax+1008h], r14d ; +0x68, 0x180044808 mov rax, [rbx+8] ; +0x6f, 0x18004480f mov r8, [rax+68h] ; +0x73, 0x180044813 call qword ptr [rax+18h] ; +0x77, 0x180044817 test eax, eax ; +0x7a, 0x18004481a jz short loc_180044838 ; +0x7c, 0x18004481c mov rax, [rbx+8] ; +0x7e, 0x18004481e mov [rax+1010h], r14d ; +0x82, 0x180044822 xor eax, eax ; +0x89, 0x180044829 mov r14, [rsp+38h+arg_10] ; +0x8b, 0x18004482b add rsp, 20h ; +0x90, 0x180044830 pop rdi ; +0x94, 0x180044834 pop rsi ; +0x95, 0x180044835 pop rbx ; +0x96, 0x180044836 retn ; +0x97, 0x180044837 mov rax, [rbx] ; +0x98, 0x180044838 mov [rsp+38h+arg_0], rbp ; +0x9b, 0x18004483b mov ecx, [rax] ; +0xa0, 0x180044840 cmp ecx, 1 ; +0xa2, 0x180044842 ja loc_1800448D2 ; +0xa5, 0x180044845 cmp ecx, 7; switch 8 cases ; +0xab, 0x18004484b ja short def_18004486D; jumptable 000000018004486D default case, cases 5,6 ; +0xae, 0x18004484e lea rbp, cs:180000000h ; +0xb0, 0x180044850 nop word ptr [rax+rax+00000000h] ; +0xb7, 0x180044857 movsxd rax, ecx ; +0xc0, 0x180044860 mov ecx, ss:(jpt_18004486D - 180000000h)[rbp+rax*4] ; +0xc3, 0x180044863 add rcx, rbp ; +0xca, 0x18004486a jmp rcx; switch jump ; +0xcd, 0x18004486d mov rdx, rbx; jumptable 000000018004486D case 0 ; +0xcf, 0x18004486f mov rcx, rsi ; +0xd2, 0x180044872 call sub_180044980 ; +0xd5, 0x180044875 jmp short loc_180044887 ; +0xda, 0x18004487a mov rdx, rbx; jumptable 000000018004486D case 1 ; +0xdc, 0x18004487c mov rcx, rsi ; +0xdf, 0x18004487f call sub_180045B60 ; +0xe2, 0x180044882 test eax, eax ; +0xe7, 0x180044887 jz short def_18004486D; jumptable 000000018004486D default case, cases 5,6 ; +0xe9, 0x180044889 mov rax, [rbx] ; +0xeb, 0x18004488b mov ecx, [rax] ; +0xee, 0x18004488e cmp ecx, 7 ; +0xf0, 0x180044890 jbe short loc_180044860 ; +0xf3, 0x180044893 mov rax, [rbx+8]; jumptable 000000018004486D default case, cases 5,6 ; +0xf5, 0x180044895 mov [rax+1010h], r14d ; +0xf9, 0x180044899 xor eax, eax ; +0x100, 0x1800448a0 mov rbp, [rsp+38h+arg_0] ; +0x102, 0x1800448a2 mov r14, [rsp+38h+arg_10] ; +0x107, 0x1800448a7 add rsp, 20h ; +0x10c, 0x1800448ac pop rdi ; +0x110, 0x1800448b0 pop rsi ; +0x111, 0x1800448b1 pop rbx ; +0x112, 0x1800448b2 retn ; +0x113, 0x1800448b3 mov rax, [rbx+8]; jumptable 000000018004486D cases 2-4,7 ; +0x114, 0x1800448b4 cmp [rax+1D8h], r14d ; +0x118, 0x1800448b8 jz short loc_1800448D2 ; +0x11f, 0x1800448bf mov rcx, [rax+210h] ; +0x121, 0x1800448c1 test rcx, rcx ; +0x128, 0x1800448c8 jz short loc_1800448D2 ; +0x12b, 0x1800448cb cmp rdi, rcx ; +0x12d, 0x1800448cd jnb short loc_180044899 ; +0x130, 0x1800448d0 mov r8, [rsp+38h+arg_8] ; +0x132, 0x1800448d2 mov r9, rdi ; +0x137, 0x1800448d7 mov rdx, rbx ; +0x13a, 0x1800448da mov rcx, rsi ; +0x13d, 0x1800448dd call sub_180047910 ; +0x140, 0x1800448e0 mov rcx, [rbx+8] ; +0x145, 0x1800448e5 mov [rcx+1010h], r14d ; +0x149, 0x1800448e9 jmp short loc_1800448A2 ; +0x150, 0x1800448f0 xor eax, eax ; +0x152, 0x1800448f2 add rsp, 20h ; +0x154, 0x1800448f4 pop rdi ; +0x158, 0x1800448f8 pop rsi ; +0x159, 0x1800448f9 pop rbx ; +0x15a, 0x1800448fa retn ; +0x15b, 0x1800448fb dd offset loc_18004486F - 180000000h; jump table for switch statement ; +0x15c, 0x1800448fc