//
// sub_1005C0964 from 0x1005c0964 to 0x1005c09e4 (128 bytes)
//
// 1 xrefs:
// > ??> @ 0x100839e18
//
// 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_1005C0964(__int64 a1, __int64 a2)
{
if ( (unsigned int)sub_1005B872C(a1, (_QWORD *)a2) )
return 1;
if ( !*(_DWORD *)(a2 + 40) )
return 1;
if ( (unsigned int)sub_1005B8804(a1, (_QWORD *)a2) )
return sub_1005B4344(a2 + 32, (__int64 *)(a2 + 8), (__int64 *)(a2 + 32));
return 0;
}