//
// cocos2d::CCNode::onEnter from 0x10023c0dc to 0x10023c198 (188 bytes)
//
// 158 xrefs:
// > cocos2d::CCLayer::onEnter @ 0x100148d20
// > cocos2d::CCTransitionScene::onEnter @ 0x1001cdd98
// > ??> @ 0x100761f90
// > ??> @ 0x100762358
// > ??> @ 0x1007631f0
// > ??> @ 0x100763570
// > ??> @ 0x100763b10
// > ??> @ 0x100767be0
// > ??> @ 0x100767f78
// > ??> @ 0x100768a30
// > ??> @ 0x10076cce0
// > ??> @ 0x10076e930
// > ??> @ 0x10076ecc8
// > ??> @ 0x1007700f0
// > ??> @ 0x100770d10
// > ??> @ 0x1007736a0
// > ??> @ 0x100773c40
// > ??> @ 0x100773fd8
// > ??> @ 0x100774578
// > ??> @ 0x100775140
// > ??> @ 0x100777cf0
// > ??> @ 0x10077b490
// > ??> @ 0x10077ba30
// > ??> @ 0x10077f4b0
// > ??> @ 0x10077f830
// > ??> @ 0x10077fbb0
// > ??> @ 0x10077ff30
// > ??> @ 0x1007802b0
// > ??> @ 0x100780630
// > ??> @ 0x1007809b0
// > ??> @ 0x100780d30
// > ??> @ 0x1007810b0
// > ??> @ 0x100781f30
// > ??> @ 0x100785ce0
// > ??> @ 0x100787140
// > ??> @ 0x100787600
// > ??> @ 0x1007902e8
// > ??> @ 0x100790668
// > ??> @ 0x100790a80
// > ??> @ 0x1007926d8
// > ??> @ 0x100793bf8
// > ??> @ 0x1007947a0
// > ??> @ 0x100799870
// > ??> @ 0x10079a7c8
// > ??> @ 0x10079ab48
// > ??> @ 0x10079aee8
// > ??> @ 0x10079d030
// > ??> @ 0x10079efc8
// > ??> @ 0x10079f508
// > ??> @ 0x1007a0220
// > ??> @ 0x1007a7858
// > ??> @ 0x1007a84e0
// > ??> @ 0x1007aba58
// > ??> @ 0x1007accc8
// > ??> @ 0x1007ad280
// > ??> @ 0x1007b3238
// > ??> @ 0x1007b4de8
// > ??> @ 0x1007b6e28
// > ??> @ 0x1007b8cf8
// > ??> @ 0x1007b9298
// > ??> @ 0x1007b9e48
// > ??> @ 0x1007bb898
// > ??> @ 0x1007bf6f8
// > ??> @ 0x1007c1da0
// > ??> @ 0x1007c2ba8
// > ??> @ 0x1007c3120
// > ??> @ 0x1007c3668
// > ??> @ 0x1007c3a80
// > ??> @ 0x1007c3e68
// > ??> @ 0x1007c46a0
// > ??> @ 0x1007c7210
// > ??> @ 0x1007c75a8
// > ??> @ 0x1007c7bc0
// > ??> @ 0x1007c8088
// > ??> @ 0x1007c8eb8
// > ??> @ 0x1007c9238
// > ??> @ 0x1007c98a8
// > ??> @ 0x1007c9e60
// > ??> @ 0x1007ca418
// > ??> @ 0x1007cd5f0
// > ??> @ 0x1007ce868
// > ??> @ 0x1007cf480
// > ??> @ 0x1007cfb38
// > ??> @ 0x1007d0320
// > ??> @ 0x1007d0b30
// > ??> @ 0x1007d2b80
// > ??> @ 0x1007d5b90
// > ??> @ 0x1007e24d8
// > ??> @ 0x1007e4768
// > ??> @ 0x1007e52f8
// > ??> @ 0x1007e7420
// > ??> @ 0x1007e7920
// > ??> @ 0x1007e8ef0
// > ??> @ 0x1007e9d98
// > ??> @ 0x1007ea320
// > ??> @ 0x1007ea8d8
// > ??> @ 0x1007eaf00
// > ??> @ 0x1007ec508
// > ??> @ 0x1007eca90
// > ??> @ 0x1007eeae0
// > ??> @ 0x1007eeed0
// > ??> @ 0x1007ef8b8
// > ??> @ 0x1007efee8
// > ??> @ 0x1007f0388
// > ??> @ 0x1007f0888
// > ??> @ 0x1007f2820
// > ??> @ 0x1007f2bb8
// > ??> @ 0x1007f4e50
// > ??> @ 0x1007f53a0
// > ??> @ 0x1007f5bd8
// > ??> @ 0x1007f63d0
// > ??> @ 0x1007f6bc8
// > ??> @ 0x1007f73c0
// > ??> @ 0x1007f7bb8
// > ??> @ 0x1007f83b0
// > ??> @ 0x1007f8ba8
// > ??> @ 0x1007f9390
// > ??> @ 0x1007f9ba0
// > ??> @ 0x1007fa408
// > ??> @ 0x1007fac18
// > ??> @ 0x1007fb428
// > ??> @ 0x1007fbc38
// > ??> @ 0x1007fc448
// > ??> @ 0x1007fcc58
// > ??> @ 0x1007fd468
// > ??> @ 0x1007fdc78
// > ??> @ 0x1007fe488
// > ??> @ 0x1007fec98
// > ??> @ 0x1007ff4c0
// > ??> @ 0x1007ffd18
// > ??> @ 0x100800540
// > ??> @ 0x100800d68
// > ??> @ 0x100801590
// > ??> @ 0x100801db8
// > ??> @ 0x1008025c8
// > ??> @ 0x100802dd8
// > ??> @ 0x1008035e8
// > ??> @ 0x100803df8
// > ??> @ 0x100804608
// > ??> @ 0x100804e18
// > ??> @ 0x100805628
// > ??> @ 0x100805e38
// > ??> @ 0x100806648
// > ??> @ 0x100806e58
// > ??> @ 0x100807668
// > ??> @ 0x100807e78
// > ??> @ 0x100808688
// > ??> @ 0x100808e98
// > ??> @ 0x1008096a8
// > ??> @ 0x100809eb8
// > ??> @ 0x10080ae40
// > ??> @ 0x10080c0b8
// > ??> @ 0x100810e50
// > ??> @ 0x100811c38
// > ??> @ 0x100815768
// > ??> @ 0x100815d30
// > ??> @ 0x1008161d8
// > ??> @ 0x1008247c8
//
// 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::onEnter(cocos2d::CCNode *a1)
{
cocos2d::CCScriptEngineManager *v2; // x0
cocos2d::CCArray *m_pChildren; // x0
cocos2d::CCArray *v4; // x8
cocos2d::ccArray *data; // x9
__int64 num; // x8
cocos2d::CCObject **arr; // x21
unsigned __int64 v8; // x22
cocos2d::CCObject *v9; // x20
a1->m_bRunning = 1;
if ( a1->m_eScriptType )
{
v2 = cocos2d::CCScriptEngineManager::sharedManager();
(*(void (__fastcall **)(_QWORD, cocos2d::CCNode *, _QWORD))(**(_QWORD **)v2 + 72LL))(*(_QWORD *)v2, a1, 0);
}
m_pChildren = a1->m_pChildren;
if ( m_pChildren )
{
if ( (unsigned int)sub_10024A36C(m_pChildren) )
{
v4 = a1->m_pChildren;
if ( v4 )
{
data = v4->data;
num = data->num;
if ( (_DWORD)num )
{
arr = data->arr;
v8 = (unsigned __int64)&arr[num - 1];
do
{
v9 = *arr;
if ( !*arr )
break;
if ( (((__int64 (__fastcall *)(cocos2d::CCObject *))v9->__vftable[8].isEqual)(*arr) & 1) == 0 )
((void (__fastcall *)(cocos2d::CCObject *))v9->__vftable[8].encodeWithCoder)(v9);
++arr;
}
while ( (unsigned __int64)arr <= v8 );
}
}
}
}
cocos2d::CCNode::resumeSchedulerAndActions(a1);
}