//
// sub_100627110 from 0x100627110 to 0x1006271a2 (146 bytes)
//
// 1 xrefs:
// > ??> @ 0x100983830
//
// 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_100627110(__int64 a1)
{
*(_QWORD *)a1 = off_100983828;
*(_QWORD *)(a1 + 320) = off_100983CA8;
*(_QWORD *)(a1 + 328) = &off_100983D18;
*(_QWORD *)(a1 + 336) = off_100983D30;
*(_QWORD *)(a1 + 344) = off_100983D50;
*(_QWORD *)(a1 + 352) = off_100983D70;
cocos2d::CCNode::removeAllChildrenWithCleanup((cocos2d::CCNode *)a1, 1);
if ( (*(_BYTE *)(a1 + 496) & 1) != 0 )
operator delete(*(void **)(a1 + 512));
cocos2d::CCObject::dCCObject((cocos2d::CCObject *)(a1 + 424));
return cocos2d::CCLayer::dCCLayer((_QWORD *)a1);
}