//
// sub_1005F2FE8 from 0x1005f2fe8 to 0x1005f3024 (60 bytes)
//
// 1 xrefs:
// > ??> @ 0x1008621d8
//
// 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
//
void __fastcall sub_1005F2FE8(_BYTE **a1, __int64 a2)
{
_BYTE *v3; // x0
v3 = *a1;
if ( v3 )
{
if ( (*(_BYTE *)(a2 + 40) & 1) != 0 )
sub_1005AAC5C((__int64)v3);
else
sub_1005AACD0(v3);
*a1 = nullptr;
}
}