; ; sub_18003C7A0 from 0x18003c7a0 to 0x18003c85c (188 bytes) ; ; 1 xrefs: ; > sub_18003B680 @ 0x18003b708 ; ; This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True! ; ; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA ; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings ; Generated at Fri, 27 Nov 2026 10:53:08 +0000 ; mov r9d, edx ; +0x0, 0x18003c7a0 mov rdx, [rsp+arg_28] ; +0x3, 0x18003c7a3 mov eax, [rdx+28h] ; +0x8, 0x18003c7a8 cmp eax, 5 ; +0xb, 0x18003c7ab jnz short loc_18003C801 ; +0xe, 0x18003c7ae mov dword ptr [rcx+238h], 0 ; +0x10, 0x18003c7b0 lea r8, [rcx+240h] ; +0x1a, 0x18003c7ba mov [rcx+268h], r8 ; +0x21, 0x18003c7c1 mov eax, 1 ; +0x28, 0x18003c7c8 mov [r8], ax ; +0x2d, 0x18003c7cd mov rax, [rdx+178h] ; +0x31, 0x18003c7d1 cmp dword ptr [rax+2Ch], 7 ; +0x38, 0x18003c7d8 jnz short loc_18003C853 ; +0x3c, 0x18003c7dc mov eax, 11h ; +0x3e, 0x18003c7de mov [r8], ax ; +0x43, 0x18003c7e3 lea eax, [r9+r9*8] ; +0x47, 0x18003c7e7 shl eax, 2 ; +0x4b, 0x18003c7eb mov [rcx+238h], eax ; +0x4e, 0x18003c7ee xor eax, eax ; +0x54, 0x18003c7f4 mov dword ptr [rcx+228h], 40h ; '@' ; +0x56, 0x18003c7f6 retn ; +0x60, 0x18003c800 cmp eax, 0Fh ; +0x61, 0x18003c801 jnz short loc_18003C856 ; +0x64, 0x18003c804 mov rdx, [rdx+268h] ; +0x66, 0x18003c806 mov [rcx+268h], rdx ; +0x6d, 0x18003c80d movzx eax, word ptr [rdx] ; +0x74, 0x18003c814 cmp ax, 11h ; +0x77, 0x18003c817 jz short loc_18003C823 ; +0x7b, 0x18003c81b cmp ax, 69h ; 'i' ; +0x7d, 0x18003c81d jnz short loc_18003C837 ; +0x81, 0x18003c821 movzx eax, word ptr [rdx+0Ch] ; +0x83, 0x18003c823 mov [rcx+238h], eax ; +0x87, 0x18003c827 movzx eax, word ptr [rdx+12h] ; +0x8d, 0x18003c82d mov [rcx+228h], eax ; +0x91, 0x18003c831 test dword ptr [rcx+160h], 200h ; +0x97, 0x18003c837 jz short loc_18003C853 ; +0xa1, 0x18003c841 movzx eax, word ptr [rdx] ; +0xa3, 0x18003c843 mov ecx, 0FFFDh ; +0xa6, 0x18003c846 dec ax ; +0xab, 0x18003c84b test cx, ax ; +0xae, 0x18003c84e jnz short loc_18003C856 ; +0xb1, 0x18003c851 xor eax, eax ; +0xb3, 0x18003c853 retn ; +0xb5, 0x18003c855 mov eax, 13h ; +0xb6, 0x18003c856 retn ; +0xbb, 0x18003c85b