// // cocos2d::CCNode::onEnter from 0x180004180 to 0x180004266 (230 bytes) // // 65 xrefs: // > cocos2d::CCLayer::onEnter @ 0x1800505a7 // > cocos2d::CCTransitionCrossFade::onEnter @ 0x180054b4d // > cocos2d::CCTransitionFade::onEnter @ 0x180054ecd // > cocos2d::CCTransitionFadeTR::onEnter @ 0x180055015 // > cocos2d::CCTransitionFlipAngular::onEnter @ 0x18005513c // > cocos2d::CCTransitionFlipX::onEnter @ 0x18005532c // > cocos2d::CCTransitionFlipY::onEnter @ 0x180055521 // > cocos2d::CCTransitionJumpZoom::onEnter @ 0x1800556ff // > cocos2d::CCTransitionMoveInL::onEnter @ 0x180055928 // > cocos2d::CCTransitionRotoZoom::onEnter @ 0x180055a07 // > cocos2d::CCTransitionScene::onEnter @ 0x180055ba9 // > cocos2d::CCTransitionShrinkGrow::onEnter @ 0x180055c07 // > cocos2d::CCTransitionSlideInL::onEnter @ 0x180055dad // > cocos2d::CCTransitionSplitCols::onEnter @ 0x180055ebd // > cocos2d::CCTransitionTurnOffTiles::onEnter @ 0x180055fd2 // > cocos2d::CCTransitionZoomFlipAngular::onEnter @ 0x1800560f2 // > cocos2d::CCTransitionZoomFlipX::onEnter @ 0x180056372 // > cocos2d::CCTransitionZoomFlipY::onEnter @ 0x1800565d7 // > cocos2d::CCClippingNode::onEnter @ 0x18005c379 // > @ 0x1800e5688 // > @ 0x1800e5ce8 // > @ 0x1800e6058 // > @ 0x1800e69b8 // > @ 0x1800e6ec0 // > @ 0x1800eb688 // > @ 0x1800ebb28 // > @ 0x1800ec000 // > @ 0x1800ec528 // > @ 0x1800ecb80 // > @ 0x1800eeb90 // > @ 0x1800f7508 // > @ 0x1800f7930 // > @ 0x1800f7d78 // > @ 0x1800f81c0 // > @ 0x1800f8608 // > @ 0x1800f8a68 // > @ 0x1800f8ec8 // > @ 0x1800f96e0 // > @ 0x1800f9af8 // > @ 0x1800f9f08 // > @ 0x1800fa338 // > @ 0x1800fa9a8 // > @ 0x1800fb018 // > @ 0x1800fb688 // > @ 0x1800fbcf8 // > @ 0x1800fc368 // > @ 0x1800fc9d8 // > @ 0x1800fd048 // > @ 0x1800fd6b8 // > @ 0x1800fdd28 // > @ 0x1800fe398 // > @ 0x1800fea08 // > @ 0x1800ff250 // > @ 0x1800ffcf0 // > @ 0x180103a38 // > @ 0x180103f28 // > @ 0x180105460 // > @ 0x180105838 // > @ 0x180105c90 // > @ 0x1801060f8 // > @ 0x180106a30 // > @ 0x180130e3c // > @ 0x180130e94 // > @ 0x1801438a8 // > @ 0x1801ad384 // // 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 *this) { bool v1; // zf struct cocos2d::CCScriptEngineManager *v3; // rax cocos2d::CCArray *m_pChildren; // rcx cocos2d::CCArray *v5; // rax cocos2d::ccArray *data; // rbx __int64 num; // rax cocos2d::CCObject **arr; // rbx cocos2d::CCObject **i; // rbp cocos2d::CCObject *v10; // rdi v1 = this->m_eScriptType == kScriptTypeNone; this->m_bRunning = 1; if ( !v1 ) { v3 = cocos2d::CCScriptEngineManager::sharedManager(); (*(void (__fastcall **)(_QWORD, cocos2d::CCNode *, _QWORD))(**(_QWORD **)v3 + 64LL))(*(_QWORD *)v3, this, 0); } m_pChildren = this->m_pChildren; if ( m_pChildren ) { if ( cocos2d::CCArray::count(m_pChildren) ) { v5 = this->m_pChildren; if ( v5 ) { data = v5->data; num = data->num; if ( (_DWORD)num ) { arr = data->arr; for ( i = &arr[num - 1]; arr <= i; ++arr ) { v10 = *arr; if ( !*arr ) break; if ( !((unsigned __int8 (__fastcall *)(cocos2d::CCObject *))v10->__vftable[9].~CCObject)(*arr) ) ((void (__fastcall *)(cocos2d::CCObject *))v10->__vftable[9].update)(v10); } } } } } if ( !this->m_bUnkBool2 ) { cocos2d::CCScheduler::resumeTarget(this->m_pScheduler, this); cocos2d::CCActionManager::resumeTarget(this->m_pActionManager, this); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source