//
// sub_1005FA5A0 from 0x1005fa5a0 to 0x1005fa629 (137 bytes)
//
// 1 xrefs:
// > ??> @ 0x10097d268
//
// 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
//
__int64 __fastcall sub_1005FA5A0(_QWORD *a1)
{
cocos2d::CCObject *v2; // rdi
*(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);
return cocos2d::CCLayer::dCCLayer(a1 - 40);
}