//
// sub_1004E5A50 from 0x1004e5a50 to 0x1004e5b12 (194 bytes)
//
// 1 xrefs:
// > ??> @ 0x100956730
//
// 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_1004E5A50(cocos2d::CCNode *a1)
{
__int64 v2; // rbx
cocos2d::CCObject *v3; // rdi
cocos2d::CCObject *v4; // rdi
v2 = (__int64)&a1[-1];
a1[-1].__vftable = (cocos2d::CCNode_vtbl *)off_100956208;
a1->__vftable = (cocos2d::CCNode_vtbl *)off_100956730;
*(_QWORD *)&a1->m_uID = &off_1009567A0;
*(_QWORD *)&a1->m_nTag = off_1009567B8;
*(_QWORD *)&a1->m_uAutoReleaseCount = off_1009567D8;
*(_QWORD *)&a1->m_uIndexInArray = off_1009567F8;
*(_QWORD *)&a1->m_fSkewY = off_100956820;
*(_QWORD *)&a1->m_obContentSize.height = off_1009568A0;
*(_QWORD *)&a1->m_bUseChildIndex = off_1009568C0;
a1[1].__vftable = (cocos2d::CCNode_vtbl *)&off_100956908;
cocos2d::CCNode::removeAllChildrenWithCleanup(a1 - 1, 1);
v3 = *(cocos2d::CCObject **)&a1[1].m_uAutoReleaseCount;
if ( v3 )
cocos2d::CCObject::release(v3);
v4 = *(cocos2d::CCObject **)&a1[1].m_uIndexInArray;
if ( v4 )
cocos2d::CCObject::release(v4);
return FLAlertLayer::dFLAlertLayer(v2);
}