//
// sub_1008F1100 from 0x1008f1100 to 0x1008f1166 (102 bytes)
//
// 0 xrefs:
//
// This function is hookable on this platform (idp: pc, 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 12:37:56 +0000
//
char __fastcall sub_1008F1100(__int64 a1)
{
__int64 v2; // rdi
char result; // al
_DWORD *v4; // rdi
v2 = *(_QWORD *)(a1 + 1056);
if ( v2 )
{
(*(void (__fastcall **)(__int64))(*(_QWORD *)v2 + 536LL))(v2);
*(_QWORD *)(a1 + 1056) = 0;
}
result = (*(__int64 (__fastcall **)(_QWORD, __int64, __int64))(**(_QWORD **)(a1 + 584) + 568LL))(
*(_QWORD *)(a1 + 584),
9999,
1);
v4 = *(_DWORD **)(a1 + 1104);
if ( v4 )
{
result = cocos2d::CCObject::release(v4);
*(_QWORD *)(a1 + 1104) = 0;
}
return result;
}