//
// sub_10042E790 from 0x10042e790 to 0x10042e809 (121 bytes)
//
// 1 xrefs:
// > ??> @ 0x100935c40
//
// 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_10042E790(cocos2d::CCNode *__p)
{
__p->__vftable = (cocos2d::CCNode_vtbl *)off_100935C30;
__p[1].__vftable = (cocos2d::CCNode_vtbl *)off_1009360C0;
*(_QWORD *)&__p[1].m_uID = &off_100936130;
*(_QWORD *)&__p[1].m_nTag = off_100936148;
*(_QWORD *)&__p[1].m_uAutoReleaseCount = off_100936168;
*(_QWORD *)&__p[1].m_uIndexInArray = off_100936188;
cocos2d::CCNode::removeAllChildrenWithCleanup(__p, 1);
cocos2d::CCLayer::dCCLayer(__p);
operator delete(__p);
}