; ; sub_180042B70 from 0x180042b70 to 0x180042c2d (189 bytes) ; ; 7 xrefs: ; > sub_180041D20 @ 0x180041df4 ; > sub_180041D20 @ 0x180041e3e ; > sub_180041F40 @ 0x180041fbf ; > sub_180041F40 @ 0x180042081 ; > sub_180041F40 @ 0x180042194 ; > sub_180042340 @ 0x18004239b ; > sub_180042340 @ 0x18004248e ; ; 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 ; mov eax, [rcx+20h] ; +0x0, 0x180042b70 lea r10, dword_1801ABCE0 ; +0x3, 0x180042b73 mov r8d, [rcx+1Ch] ; +0xa, 0x180042b7a mov r9, rcx ; +0xe, 0x180042b7e test eax, eax ; +0x11, 0x180042b81 jz short loc_180042BA8 ; +0x13, 0x180042b83 cmp eax, 8 ; +0x15, 0x180042b85 jz short loc_180042BA4 ; +0x18, 0x180042b88 cmp eax, 10h ; +0x1a, 0x180042b8a jz short loc_180042BA0 ; +0x1d, 0x180042b8d cmp eax, 18h ; +0x1f, 0x180042b8f jnz short loc_180042B98 ; +0x22, 0x180042b92 mov edx, edx ; +0x24, 0x180042b94 jmp short loc_180042C08 ; +0x26, 0x180042b96 mov dword ptr [rcx+20h], 0 ; +0x28, 0x180042b98 retn ; +0x2f, 0x180042b9f mov edx, edx ; +0x30, 0x180042ba0 jmp short loc_180042BE9 ; +0x32, 0x180042ba2 mov edx, edx ; +0x34, 0x180042ba4 jmp short loc_180042BC6 ; +0x36, 0x180042ba6 mov rcx, r8 ; +0x38, 0x180042ba8 mov edx, edx ; +0x3b, 0x180042bab shr rcx, 8 ; +0x3d, 0x180042bad mov eax, edx ; +0x41, 0x180042bb1 shr rax, 18h ; +0x43, 0x180042bb3 movzx r8d, r8b ; +0x47, 0x180042bb7 xor rcx, rax ; +0x4b, 0x180042bbb shl r8d, 8 ; +0x4e, 0x180042bbe xor r8d, [r10+rcx*4] ; +0x52, 0x180042bc2 mov eax, r8d ; +0x56, 0x180042bc6 mov rcx, rdx ; +0x59, 0x180042bc9 shr rcx, 8 ; +0x5c, 0x180042bcc and ecx, 0FF00h ; +0x60, 0x180042bd0 movzx r8d, r8b ; +0x66, 0x180042bd6 xor rcx, rax ; +0x6a, 0x180042bda shl r8d, 8 ; +0x6d, 0x180042bdd shr rcx, 8 ; +0x71, 0x180042be1 xor r8d, [r10+rcx*4] ; +0x75, 0x180042be5 mov eax, r8d ; +0x79, 0x180042be9 mov rcx, rdx ; +0x7c, 0x180042bec and ecx, 0FF00h ; +0x7f, 0x180042bef movzx r8d, r8b ; +0x85, 0x180042bf5 xor rcx, rax ; +0x89, 0x180042bf9 shl r8d, 8 ; +0x8c, 0x180042bfc shr rcx, 8 ; +0x90, 0x180042c00 xor r8d, [r10+rcx*4] ; +0x94, 0x180042c04 movzx eax, dl ; +0x98, 0x180042c08 mov ecx, r8d ; +0x9b, 0x180042c0b shr rcx, 8 ; +0x9e, 0x180042c0e xor rcx, rax ; +0xa2, 0x180042c12 movzx eax, r8b ; +0xa5, 0x180042c15 shl eax, 8 ; +0xa9, 0x180042c19 xor eax, [r10+rcx*4] ; +0xac, 0x180042c1c mov [r9+1Ch], eax ; +0xb0, 0x180042c20 mov dword ptr [r9+20h], 0 ; +0xb4, 0x180042c24 retn ; +0xbc, 0x180042c2c