//
// sub_1004FA9DC from 0x1004fa9dc to 0x1004faa00 (36 bytes)
//
// 1 xrefs:
// > sub_1004FA84C @ 0x1004fa8cc
//
// 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_1004FA9DC(__int64 a1)
{
__int64 v1; // x8
__int64 result; // x0
v1 = *(_QWORD *)(a1 + 376);
result = 39;
if ( *(_DWORD *)(v1 + 44) == 2 )
{
if ( *(_BYTE *)(v1 + 40) )
return 39;
else
return 0;
}
return result;
}