; ; sub_18004C040 from 0x18004c040 to 0x18004c08a (74 bytes) ; ; 7 xrefs: ; > sub_1800510D0 @ 0x180051325 ; > sub_180051410 @ 0x1800517d6 ; > sub_180051B90 @ 0x180051c07 ; > sub_180051B90 @ 0x180051e7c ; > sub_180051B90 @ 0x180051e88 ; > sub_180052A90 @ 0x180052ca6 ; > sub_180052E90 @ 0x180052ff9 ; ; 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:15 +0000 ; test rcx, rcx ; +0x0, 0x18004c040 jz short loc_18004C084 ; +0x3, 0x18004c043 cmp qword ptr [rcx], 0 ; +0x5, 0x18004c045 jz short loc_18004C084 ; +0x9, 0x18004c049 xor eax, eax ; +0xb, 0x18004c04b mov dword ptr [rcx+164h], 0FFFFFFFFh ; +0xd, 0x18004c04d mov [rcx+0Ch], rax ; +0x17, 0x18004c057 mov [rcx+2Ch], rax ; +0x1b, 0x18004c05b mov [rcx+34h], eax ; +0x1f, 0x18004c05f mov [rcx+154h], rax ; +0x22, 0x18004c062 mov [rcx+15Ch], eax ; +0x29, 0x18004c069 mov [rcx+168h], rax ; +0x2f, 0x18004c06f mov [rcx+170h], rax ; +0x36, 0x18004c076 mov [rcx+160h], edx ; +0x3d, 0x18004c07d retn ; +0x43, 0x18004c083 mov eax, 0FFFFFFFFh ; +0x44, 0x18004c084 retn ; +0x49, 0x18004c089