//
// sub_100356A20 from 0x100356a20 to 0x100356ac1 (161 bytes)
//
// 1 xrefs:
// > ??> @ 0x100916b28
//
// 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_100356A20(__int64 a1)
{
cocos2d::CCObject *v2; // rdi
cocos2d::CCObject *v3; // rdi
*(_QWORD *)a1 = off_100916B20;
*(_QWORD *)(a1 + 320) = off_100917088;
*(_QWORD *)(a1 + 328) = &off_1009170F8;
*(_QWORD *)(a1 + 336) = off_100917110;
*(_QWORD *)(a1 + 344) = off_100917130;
*(_QWORD *)(a1 + 352) = off_100917150;
*(_QWORD *)(a1 + 408) = off_100917178;
cocos2d::CCNode::removeAllChildrenWithCleanup((cocos2d::CCNode *)a1, 1);
v2 = *(cocos2d::CCObject **)(a1 + 480);
if ( v2 )
cocos2d::CCObject::release(v2);
v3 = *(cocos2d::CCObject **)(a1 + 488);
if ( v3 )
cocos2d::CCObject::release(v3);
return cocos2d::extension::CCControl::dCCControl(a1);
}