//
// sub_1005F0A50 from 0x1005f0a50 to 0x1005f0ac4 (116 bytes)
//
// 1 xrefs:
// > sub_100606E88 @ 0x100606ea4
//
// 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_1005F0A50(__int64 a1, __int64 a2)
{
__int64 v3; // x0
__int64 v4; // x19
v3 = sub_1005AB1B0(*(unsigned __int8 **)(a1 + 8), *(_DWORD *)a1, a2);
v4 = v3;
if ( v3 )
{
if ( *(_DWORD *)(a1 + 4) == 266 )
sub_1005AB6E4(v3, 1);
}
else
{
sub_1005E0E48(13, 113, 105, (__int64)"a_enum.c", 177);
}
return v4;
}