//
// sub_1005FA640 from 0x1005fa640 to 0x1005fa6dc (156 bytes)
//
// 1 xrefs:
// > ??> @ 0x10097cdd8
//
// 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_1005FA640(_QWORD *__p)
{
cocos2d::CCObject *v2; // rdi
*__p = off_10097CDC8;
__p[40] = off_10097D268;
__p[41] = &off_10097D2D8;
__p[42] = off_10097D2F0;
__p[43] = off_10097D310;
__p[44] = off_10097D330;
__p[51] = off_10097D358;
__p[52] = &off_10097D3A0;
v2 = (cocos2d::CCObject *)__p[59];
if ( v2 )
cocos2d::CCObject::release(v2);
cocos2d::CCLayer::dCCLayer(__p);
operator delete(__p);
}