// // sub_18004CA10 from 0x18004ca10 to 0x18004cadf (207 bytes) // // 4 xrefs: // > sub_180052E90 @ 0x18005302a // > @ 0x180181738 // > @ 0x180181748 // > @ 0x1801f86dc // // 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 // _BOOL8 __fastcall sub_18004CA10(__int64 a1) { int *v2; // rbx int v3; // edi int v5[8]; // [rsp+20h] [rbp-38h] BYREF int v6; // [rsp+40h] [rbp-18h] BYREF __int16 v7; // [rsp+44h] [rbp-14h] if ( !a1 ) return 0; sub_180048340((__int64)v5, *(_QWORD *)a1, *(_DWORD *)(a1 + 8)); if ( !*(_DWORD *)(a1 + 12) ) return 0; if ( (unsigned int)sub_180048210(v5, 8u) != 1 ) return 0; v6 = 0; v2 = &v6; v7 = 0; v3 = 6; do { *(_BYTE *)v2 = sub_180048210(v5, 8u); v2 = (int *)((char *)v2 + 1); --v3; } while ( v3 ); return v6 == 1651666806 && v7 == 29545; }