//
// sub_1004F9D00 from 0x1004f9d00 to 0x1004f9d48 (72 bytes)
//
// 0 xrefs:
//
// 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_1004F9D00(__int64 a1, _QWORD *a2)
{
__int64 result; // x0
unsigned int v4; // [xsp+Ch] [xbp-14h] BYREF
v4 = 0;
result = (*(__int64 (__fastcall **)(_QWORD, unsigned int *))(**(_QWORD **)(a1 + 368) + 24LL))(
*(_QWORD *)(a1 + 368),
&v4);
if ( !(_DWORD)result )
*a2 = v4;
return result;
}