//
// sub_1003C5140 from 0x1003c5140 to 0x1003c51fd (189 bytes)
//
// 1 xrefs:
// > ??> @ 0x100b39ee0
//
// 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
//
__int64 __fastcall sub_1003C5140(_QWORD *a1)
{
__int64 v2; // rdi
__int64 v3; // rdi
*a1 = off_100B39ED8;
a1[40] = off_100B3A438;
a1[41] = &off_100B3A4A8;
a1[42] = off_100B3A4C0;
a1[43] = off_100B3A4E0;
a1[44] = off_100B3A508;
a1[51] = off_100B3A538;
a1[54] = off_100B3A5B8;
a1[68] = off_100B3A5D8;
cocos2d::CCNode::removeAllChildrenWithCleanup((__int64)a1, 1);
v2 = a1[83];
if ( v2 )
cocos2d::CCObject::release(v2);
v3 = a1[84];
if ( v3 )
cocos2d::CCObject::release(v3);
return sub_1004936F0(a1);
}