//
// sub_1007C2F40 from 0x1007c2f40 to 0x1007c2fb0 (112 bytes)
//
// 1 xrefs:
// > ??> @ 0x100995ab8
//
// 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_1007C2F40(_QWORD *__p)
{
cocos2d::CCObject *v2; // rdi
__int64 v3; // rdi
cocos2d::CCObject *v4; // rdi
*__p = off_100995AA8;
v2 = (cocos2d::CCObject *)__p[41];
if ( v2 )
cocos2d::CCObject::release(v2);
v3 = __p[42];
if ( v3 )
{
(*(void (__fastcall **)(__int64))(*(_QWORD *)v3 + 720LL))(v3);
(*(void (__fastcall **)(_QWORD))(*(_QWORD *)__p[42] + 520LL))(__p[42]);
v4 = (cocos2d::CCObject *)__p[42];
if ( v4 )
cocos2d::CCObject::release(v4);
}
cocos2d::CCNode::dCCNode((__int64)__p);
operator delete(__p);
}