//
// sub_1003682F0 from 0x1003682f0 to 0x10036837c (140 bytes)
//
// 1 xrefs:
// > ??> @ 0x10091b4f0
//
// 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_1003682F0(__int64 a1)
{
*(_QWORD *)(a1 - 320) = off_10091AF88;
*(_QWORD *)a1 = off_10091B4F0;
*(_QWORD *)(a1 + 8) = &off_10091B560;
*(_QWORD *)(a1 + 16) = off_10091B578;
*(_QWORD *)(a1 + 24) = off_10091B598;
*(_QWORD *)(a1 + 32) = off_10091B5B8;
*(_QWORD *)(a1 + 88) = off_10091B5E0;
cocos2d::CCNode::removeAllChildrenWithCleanup((cocos2d::CCNode *)(a1 - 320), 1);
*(_OWORD *)(a1 + 176) = 0;
*(_OWORD *)(a1 + 160) = 0;
return cocos2d::extension::CCControl::dCCControl(a1 - 320);
}