//
// sub_100627300 from 0x100627300 to 0x100627398 (152 bytes)
//
// 1 xrefs:
// > ??> @ 0x100983cb0
//
// 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
//
void __fastcall sub_100627300(__int64 a1)
{
_QWORD *v1; // rbx
v1 = (_QWORD *)(a1 - 320);
*(_QWORD *)(a1 - 320) = off_100983828;
*(_QWORD *)a1 = off_100983CA8;
*(_QWORD *)(a1 + 8) = &off_100983D18;
*(_QWORD *)(a1 + 16) = off_100983D30;
*(_QWORD *)(a1 + 24) = off_100983D50;
*(_QWORD *)(a1 + 32) = off_100983D70;
cocos2d::CCNode::removeAllChildrenWithCleanup((cocos2d::CCNode *)(a1 - 320), 1);
if ( (*(_BYTE *)(a1 + 176) & 1) != 0 )
operator delete(*(void **)(a1 + 192));
cocos2d::CCObject::dCCObject((cocos2d::CCObject *)(a1 + 104));
cocos2d::CCLayer::dCCLayer(v1);
operator delete(v1);
}