//
// sub_C9A3C from 0xc9a3c to 0xc9a64 (40 bytes)
//
// 2 xrefs:
// > ??> @ 0x10d660
// > ??> @ 0x10ef60
//
// 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_C9A3C(__int64 a1, unsigned __int64 a2)
{
__int64 v2; // x8
__int64 (__fastcall *v3)(__int64, unsigned __int64); // x2
v2 = *(_QWORD *)(a1 + 232);
if ( !v2 )
return 0;
v3 = *(__int64 (__fastcall **)(__int64, unsigned __int64))(v2 + 88);
if ( !v3 )
return 0;
*(_QWORD *)(a1 + 176) = a1;
return v3(a1 + 176, HIDWORD(a2));
}