; ; sub_180016500 from 0x180016500 to 0x18001658c (140 bytes) ; ; 1 xrefs: ; > sub_1800164F0 @ 0x1800164f0 ; ; 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 ; movsxd r10, edx ; +0x0, 0x180016500 mov r11, r8 ; +0x3, 0x180016503 mov rdx, [rcx+180h] ; +0x6, 0x180016506 test rdx, rdx ; +0xd, 0x18001650d jz short loc_180016516 ; +0x10, 0x180016510 mov r10d, [rdx+r10*4] ; +0x12, 0x180016512 mov rdx, [rcx+178h] ; +0x16, 0x180016516 movsxd rcx, r10d ; +0x1d, 0x18001651d mov rax, [rdx+38h] ; +0x20, 0x180016520 movsxd r8, dword ptr [rax+rcx*4] ; +0x24, 0x180016524 add r8, [rdx+40h] ; +0x28, 0x180016528 movzx eax, byte ptr [r8] ; +0x2c, 0x18001652c add r8, 8 ; +0x30, 0x180016530 and al, 1 ; +0x34, 0x180016534 jz short loc_180016576 ; +0x36, 0x180016536 nop dword ptr [rax+rax+00000000h] ; +0x38, 0x180016538 mov edx, [r8] ; +0x40, 0x180016540 mov ecx, edx ; +0x43, 0x180016543 shr ecx, 1 ; +0x45, 0x180016545 mov eax, edx ; +0x47, 0x180016547 and ecx, 0FFFFFFh ; +0x49, 0x180016549 shr eax, 19h ; +0x4f, 0x18001654f and dl, 1 ; +0x52, 0x180016552 add r8, 4 ; +0x55, 0x180016555 cmp eax, 6 ; +0x59, 0x180016559 jz short loc_180016579 ; +0x5c, 0x18001655c cmp eax, 9 ; +0x5e, 0x18001655e jz short loc_180016579 ; +0x61, 0x180016561 cmp eax, 0Bh ; +0x63, 0x180016563 jz short loc_180016579 ; +0x66, 0x180016566 cmp eax, 0Fh ; +0x68, 0x180016568 jz short loc_180016579 ; +0x6b, 0x18001656b mov eax, ecx ; +0x6d, 0x18001656d add r8, rax ; +0x6f, 0x18001656f test dl, dl ; +0x72, 0x180016572 jnz short loc_180016540 ; +0x74, 0x180016574 xor eax, eax ; +0x76, 0x180016576 retn ; +0x78, 0x180016578 test r11, r11 ; +0x79, 0x180016579 jz short loc_180016581 ; +0x7c, 0x18001657c mov [r11], r8 ; +0x7e, 0x18001657e xor eax, eax ; +0x81, 0x180016581 test r9, r9 ; +0x83, 0x180016583 jz short locret_180016578 ; +0x86, 0x180016586 mov [r9], ecx ; +0x88, 0x180016588 retn ; +0x8b, 0x18001658b