//
// sub_1003C52D0 from 0x1003c52d0 to 0x1003c5395 (197 bytes)
//
// 2 xrefs:
// > sub_1003C53A0 @ 0x1003c53ac
// > ??> @ 0x100b39ee8
//
// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 12:29:34 +0000
//
void __fastcall sub_1003C52D0(_QWORD *__p)
{
__int64 v2; // rdi
__int64 v3; // rdi
*__p = off_100B39ED8;
__p[40] = off_100B3A438;
__p[41] = &off_100B3A4A8;
__p[42] = off_100B3A4C0;
__p[43] = off_100B3A4E0;
__p[44] = off_100B3A508;
__p[51] = off_100B3A538;
__p[54] = off_100B3A5B8;
__p[68] = off_100B3A5D8;
cocos2d::CCNode::removeAllChildrenWithCleanup((__int64)__p, 1);
v2 = __p[83];
if ( v2 )
cocos2d::CCObject::release(v2);
v3 = __p[84];
if ( v3 )
cocos2d::CCObject::release(v3);
sub_1004936F0(__p);
operator delete(__p);
}