//
// sub_C9A64 from 0xc9a64 to 0xc9a84 (32 bytes)
//
// 1 xrefs:
// > sub_539E8 @ 0x53a00
//
// 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_C9A64(__int64 a1, _QWORD *a2)
{
__int16 v2; // w8
v2 = atomic_load((unsigned int *)(a1 + 100));
if ( (v2 & 0x800) == 0 )
return (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a1 + 8LL))(a1);
*a2 = *(_QWORD *)(a1 + 440);
return 0;
}