//
// sub_1005F4564 from 0x1005f4564 to 0x1005f45a8 (68 bytes)
//
// 1 xrefs:
// > sub_100581904 @ 0x100581940
//
// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 11:09:50 +0000
//
__int64 __fastcall sub_1005F4564(unsigned int a1, _QWORD *a2)
{
__int64 result; // x0
__int64 v4; // x8
if ( !a2 )
return 31;
*a2 = 0;
result = 31;
if ( a1 <= 7 )
{
v4 = *((_QWORD *)off_1009DA5E8 + a1 + 46);
*a2 = v4;
if ( v4 )
return 0;
else
return 31;
}
return result;
}