//
// sub_1003A5F60 from 0x1003a5f60 to 0x1003a6005 (165 bytes)
//
// 1 xrefs:
// > ??> @ 0x1009271c8
//
// 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_1003A5F60(_QWORD *a1)
{
cocos2d::CCObject *v2; // rdi
cocos2d::CCObject *v3; // rdi
cocos2d::CCObject *v4; // rdi
*a1 = off_1009271C0;
a1[40] = off_100927640;
a1[41] = &off_1009276B0;
a1[42] = off_1009276C8;
a1[43] = off_1009276E8;
a1[44] = off_100927708;
v2 = (cocos2d::CCObject *)a1[55];
if ( v2 )
cocos2d::CCObject::release(v2);
v3 = (cocos2d::CCObject *)a1[59];
if ( v3 )
cocos2d::CCObject::release(v3);
v4 = (cocos2d::CCObject *)a1[51];
if ( v4 )
cocos2d::CCObject::release(v4);
a1[59] = 0;
return cocos2d::CCLayer::dCCLayer(a1);
}