// // sub_52C8C from 0x52c8c to 0x52d1c (144 bytes) // // 3 xrefs: // > sub_529D8 @ 0x52c4c // > sub_52D1C @ 0x52f30 // > sub_53348 @ 0x53448 // // 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 // __int64 __fastcall sub_52C8C(__int64 a1, __int64 a2, int a3) { _QWORD *v4; // x8 __int64 v5; // x20 __int64 result; // x0 __int64 v7; // [xsp+8h] [xbp-18h] BYREF if ( !a2 ) return 31; v4 = (_QWORD *)(*(_QWORD *)(a1 + 8) + 24LL * a3 + 73664); if ( !*v4 ) return 0; v5 = a3; v7 = *(_QWORD *)(*(_QWORD *)(a1 + 24) + 8LL * a3 + 336); if ( v7 ) return 0; result = sub_53DFC(*v4, a2, &v7, 2); if ( !(_DWORD)result ) { *(_QWORD *)(*(_QWORD *)(a1 + 24) + 8 * v5 + 336) = v7; return 0; } return result; }