//
// cocos2d::CCNode::onExit from 0x10023c2e8 to 0x10023c384 (156 bytes)
//
// 158 xrefs:
// > cocos2d::CCLayer::onExit @ 0x100148ea0
// > cocos2d::CCTransitionScene::onExit @ 0x1001cddec
// > ??> @ 0x100761fa0
// > ??> @ 0x100762368
// > ??> @ 0x100763200
// > ??> @ 0x100763580
// > ??> @ 0x100763b20
// > ??> @ 0x100767bf0
// > ??> @ 0x100767f88
// > ??> @ 0x100768a40
// > ??> @ 0x10076ccf0
// > ??> @ 0x10076e940
// > ??> @ 0x10076ecd8
// > ??> @ 0x100770100
// > ??> @ 0x100770d20
// > ??> @ 0x1007736b0
// > ??> @ 0x100773c50
// > ??> @ 0x100773fe8
// > ??> @ 0x100774588
// > ??> @ 0x100775150
// > ??> @ 0x100777d00
// > ??> @ 0x10077b4a0
// > ??> @ 0x10077ba40
// > ??> @ 0x10077f4c0
// > ??> @ 0x10077f840
// > ??> @ 0x10077fbc0
// > ??> @ 0x10077ff40
// > ??> @ 0x1007802c0
// > ??> @ 0x100780640
// > ??> @ 0x1007809c0
// > ??> @ 0x100780d40
// > ??> @ 0x1007810c0
// > ??> @ 0x100781f40
// > ??> @ 0x100785cf0
// > ??> @ 0x100787150
// > ??> @ 0x100787610
// > ??> @ 0x1007902f8
// > ??> @ 0x100790678
// > ??> @ 0x100790a90
// > ??> @ 0x1007926e8
// > ??> @ 0x100793c08
// > ??> @ 0x1007947b0
// > ??> @ 0x100799880
// > ??> @ 0x10079a7d8
// > ??> @ 0x10079ab58
// > ??> @ 0x10079aef8
// > ??> @ 0x10079d040
// > ??> @ 0x10079efd8
// > ??> @ 0x10079f518
// > ??> @ 0x1007a0230
// > ??> @ 0x1007a7868
// > ??> @ 0x1007a84f0
// > ??> @ 0x1007aba68
// > ??> @ 0x1007accd8
// > ??> @ 0x1007ad290
// > ??> @ 0x1007b3248
// > ??> @ 0x1007b4df8
// > ??> @ 0x1007b6e38
// > ??> @ 0x1007b8d08
// > ??> @ 0x1007b92a8
// > ??> @ 0x1007b9e58
// > ??> @ 0x1007bb8a8
// > ??> @ 0x1007bf708
// > ??> @ 0x1007c1db0
// > ??> @ 0x1007c2bb8
// > ??> @ 0x1007c3130
// > ??> @ 0x1007c3678
// > ??> @ 0x1007c3a90
// > ??> @ 0x1007c3e78
// > ??> @ 0x1007c46b0
// > ??> @ 0x1007c7220
// > ??> @ 0x1007c75b8
// > ??> @ 0x1007c7bd0
// > ??> @ 0x1007c8098
// > ??> @ 0x1007c8ec8
// > ??> @ 0x1007c9248
// > ??> @ 0x1007c98b8
// > ??> @ 0x1007c9e70
// > ??> @ 0x1007ca428
// > ??> @ 0x1007cd600
// > ??> @ 0x1007ce878
// > ??> @ 0x1007cf490
// > ??> @ 0x1007cfb48
// > ??> @ 0x1007d0330
// > ??> @ 0x1007d0b40
// > ??> @ 0x1007d2b90
// > ??> @ 0x1007d5ba0
// > ??> @ 0x1007e24e8
// > ??> @ 0x1007e4778
// > ??> @ 0x1007e5308
// > ??> @ 0x1007e7430
// > ??> @ 0x1007e7930
// > ??> @ 0x1007e8f00
// > ??> @ 0x1007e9da8
// > ??> @ 0x1007ea330
// > ??> @ 0x1007ea8e8
// > ??> @ 0x1007eaf10
// > ??> @ 0x1007ec518
// > ??> @ 0x1007ecaa0
// > ??> @ 0x1007eeaf0
// > ??> @ 0x1007eeee0
// > ??> @ 0x1007ef8c8
// > ??> @ 0x1007efef8
// > ??> @ 0x1007f0398
// > ??> @ 0x1007f0898
// > ??> @ 0x1007f2830
// > ??> @ 0x1007f2bc8
// > ??> @ 0x1007f4e60
// > ??> @ 0x1007f53b0
// > ??> @ 0x1007f5be8
// > ??> @ 0x1007f63e0
// > ??> @ 0x1007f6bd8
// > ??> @ 0x1007f73d0
// > ??> @ 0x1007f7bc8
// > ??> @ 0x1007f83c0
// > ??> @ 0x1007f8bb8
// > ??> @ 0x1007f93a0
// > ??> @ 0x1007f9bb0
// > ??> @ 0x1007fa418
// > ??> @ 0x1007fac28
// > ??> @ 0x1007fb438
// > ??> @ 0x1007fbc48
// > ??> @ 0x1007fc458
// > ??> @ 0x1007fcc68
// > ??> @ 0x1007fd478
// > ??> @ 0x1007fdc88
// > ??> @ 0x1007fe498
// > ??> @ 0x1007feca8
// > ??> @ 0x1007ff4d0
// > ??> @ 0x1007ffd28
// > ??> @ 0x100800550
// > ??> @ 0x100800d78
// > ??> @ 0x1008015a0
// > ??> @ 0x100801dc8
// > ??> @ 0x1008025d8
// > ??> @ 0x100802de8
// > ??> @ 0x1008035f8
// > ??> @ 0x100803e08
// > ??> @ 0x100804618
// > ??> @ 0x100804e28
// > ??> @ 0x100805638
// > ??> @ 0x100805e48
// > ??> @ 0x100806658
// > ??> @ 0x100806e68
// > ??> @ 0x100807678
// > ??> @ 0x100807e88
// > ??> @ 0x100808698
// > ??> @ 0x100808ea8
// > ??> @ 0x1008096b8
// > ??> @ 0x100809ec8
// > ??> @ 0x10080ae50
// > ??> @ 0x10080c0c8
// > ??> @ 0x100810e60
// > ??> @ 0x100811c48
// > ??> @ 0x100815778
// > ??> @ 0x100815d40
// > ??> @ 0x1008161e8
// > ??> @ 0x1008247d8
//
// 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 cocos2d::CCNode::onExit(cocos2d::CCNode *a1)
{
cocos2d::CCArray *m_pChildren; // x8
cocos2d::ccArray *data; // x9
__int64 num; // x8
cocos2d::CCObject **arr; // x20
unsigned __int64 v6; // x21
cocos2d::CCScriptEngineManager *v7; // x0
cocos2d::CCNode::pauseSchedulerAndActions(a1);
a1->m_bRunning = 0;
m_pChildren = a1->m_pChildren;
if ( m_pChildren )
{
data = m_pChildren->data;
num = data->num;
if ( (_DWORD)num )
{
arr = data->arr;
v6 = (unsigned __int64)&arr[num - 1];
do
{
if ( !*arr )
break;
((void (__fastcall *)(cocos2d::CCObject *))(*arr)->__vftable[8].getTag)(*arr);
++arr;
}
while ( (unsigned __int64)arr <= v6 );
}
}
if ( a1->m_eScriptType )
{
v7 = cocos2d::CCScriptEngineManager::sharedManager();
(*(void (__fastcall **)(_QWORD, cocos2d::CCNode *, __int64))(**(_QWORD **)v7 + 72LL))(*(_QWORD *)v7, a1, 1);
}
}