//
// sub_1005FA6F0 from 0x1005fa6f0 to 0x1005fa781 (145 bytes)
//
// 1 xrefs:
// > ??> @ 0x10097d270
//
// 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_1005FA6F0(_QWORD *a1)
{
cocos2d::CCObject *v2; // rdi
_QWORD *v3; // rbx
*(a1 - 40) = off_10097CDC8;
*a1 = off_10097D268;
a1[1] = &off_10097D2D8;
a1[2] = off_10097D2F0;
a1[3] = off_10097D310;
a1[4] = off_10097D330;
a1[11] = off_10097D358;
a1[12] = &off_10097D3A0;
v2 = (cocos2d::CCObject *)a1[19];
if ( v2 )
cocos2d::CCObject::release(v2);
v3 = a1 - 40;
cocos2d::CCLayer::dCCLayer(v3);
operator delete(v3);
}