//
// sub_1007C2E60 from 0x1007c2e60 to 0x1007c2ec8 (104 bytes)
//
// 0 xrefs:
//
// 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_1007C2E60(_QWORD *a1)
{
cocos2d::CCObject *v2; // rdi
__int64 v3; // rdi
cocos2d::CCObject *v4; // rdi
*a1 = off_100995AA8;
v2 = (cocos2d::CCObject *)a1[41];
if ( v2 )
cocos2d::CCObject::release(v2);
v3 = a1[42];
if ( v3 )
{
(*(void (__fastcall **)(__int64))(*(_QWORD *)v3 + 720LL))(v3);
(*(void (__fastcall **)(_QWORD))(*(_QWORD *)a1[42] + 520LL))(a1[42]);
v4 = (cocos2d::CCObject *)a1[42];
if ( v4 )
cocos2d::CCObject::release(v4);
}
return cocos2d::CCNode::dCCNode((__int64)a1);
}