//
// sub_10042E820 from 0x10042e820 to 0x10042e894 (116 bytes)
//
// 1 xrefs:
// > ??> @ 0x1009360c8
//
// 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_10042E820(cocos2d::CCNode *a1)
{
a1[-1].__vftable = (cocos2d::CCNode_vtbl *)off_100935C30;
a1->__vftable = (cocos2d::CCNode_vtbl *)off_1009360C0;
*(_QWORD *)&a1->m_uID = &off_100936130;
*(_QWORD *)&a1->m_nTag = off_100936148;
*(_QWORD *)&a1->m_uAutoReleaseCount = off_100936168;
*(_QWORD *)&a1->m_uIndexInArray = off_100936188;
cocos2d::CCNode::removeAllChildrenWithCleanup(a1 - 1, 1);
cocos2d::CCLayer::dCCLayer(&a1[-1]);
operator delete(&a1[-1]);
}