//
// sub_100602FB0 from 0x100602fb0 to 0x100602fd4 (36 bytes)
//
// 2 xrefs:
// > sub_1005FEC08 @ 0x1005fec4c
// > sub_1005FEC08 @ 0x1005fec80
//
// 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_100602FB0(__int64 a1)
{
__int64 v1; // x8
__int64 (*v2)(void); // x5
v1 = *(_QWORD *)(a1 + 8);
if ( !v1 )
return 0xFFFFFFFFLL;
v2 = *(__int64 (**)(void))(v1 + 40);
if ( v2 )
return v2();
else
return 1;
}