//
// sub_140468ED0 from 0x140468ed0 to 0x140468f61 (145 bytes)
//
// 3 xrefs:
// > sub_14046AB1C @ 0x14046ab23
// > ??> @ 0x1407b32b8
// > ??> @ 0x140927fec
//
// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 11:32:35 +0000
//
// Hidden C++ exception states: #wind=1
cocos2d::CCNode *__fastcall sub_140468ED0(cocos2d::CCNode *Block, char a2)
{
*(_QWORD *)Block = &LoadingLayer::`vftable';
*((_QWORD *)Block + 40) = &LoadingLayer::`vftable';
*((_QWORD *)Block + 41) = &LoadingLayer::`vftable';
*((_QWORD *)Block + 42) = &LoadingLayer::`vftable';
*((_QWORD *)Block + 43) = &LoadingLayer::`vftable';
*((_QWORD *)Block + 44) = &LoadingLayer::`vftable';
cocos2d::CCNode::removeAllChildrenWithCleanup(Block, 1);
cocos2d::CCLayer::~CCLayer(Block);
if ( (a2 & 1) != 0 )
j_j_free(Block);
return Block;
}