// // cocos2d::CCLayer::onExit from 0x5d0384 to 0x5d0402 (126 bytes) // // 19 xrefs: // > cocos2d::CCScrollLayer::~CCScrollLayer @ 0x2e7bd8 // > TableView::onExit @ 0x2ea4fc // > PlayLayer::onExit @ 0x30f01e // > GJPromoPopup::onExit @ 0x4a9502 // > GauntletSelectLayer::onExit @ 0x4d9ec0 // > GJShopLayer::onExit @ 0x4e2fd0 // > SecretLayer3::onExit @ 0x4eb28a // > SecretLayer2::onExit @ 0x4ebfac // > SecretLayer4::onExit @ 0x4f21b0 // > WorldSelectLayer::onExit @ 0x4fcb60 // > MapSelectLayer::onExit @ 0x50fb42 // > LevelAreaLayer::onExit @ 0x56daa8 // > LevelAreaInnerLayer::onExit @ 0x56dadc // > SecretRewardsLayer::onExit @ 0x58a2de // > GJPathsLayer::onExit @ 0x58bbcc // > LevelListLayer::onExit @ 0x58ebd2 // > SecretLayer5::onExit @ 0x59c3fc // > cocos2d::extension::CCControl::onExit @ 0x5a10a2 // > cocos2d::CCMenu::onExit @ 0x5d4bd0 // // 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 cocos2d::CCLayer::onExit(cocos2d::CCLayer *a1) { cocos2d::CCDirector *v2; // r0 cocos2d::CCDirector *v3; // r5 cocos2d::CCTouchDispatcher *v4; // r0 cocos2d::CCAccelerometer *v5; // r0 cocos2d::CCKeypadDispatcher *v6; // r0 cocos2d::CCKeyboardDispatcher *v7; // r0 cocos2d::CCMouseDispatcher *v8; // r0 v2 = cocos2d::CCDirector::sharedDirector(); v3 = v2; if ( a1->m_bTouchEnabled ) { v4 = v2->getTouchDispatcher(v2); cocos2d::CCTouchDispatcher::removeDelegate(v4, &a1->cocos2d::CCTouchDelegate); } if ( a1->m_bAccelerometerEnabled ) { v5 = v3->getAccelerometer(v3); cocos2d::CCAccelerometer::setDelegate(v5, nullptr); } if ( a1->m_bKeypadEnabled ) { v6 = v3->getKeypadDispatcher(v3); cocos2d::CCKeypadDispatcher::removeDelegate(v6, &a1->cocos2d::CCKeypadDelegate); } if ( a1->m_bKeyboardEnabled ) { v7 = v3->getKeyboardDispatcher(v3); cocos2d::CCKeyboardDispatcher::removeDelegate(v7, &a1->cocos2d::CCKeyboardDelegate); } if ( a1->m_bMouseEnabled ) { v8 = v3->getMouseDispatcher(v3); cocos2d::CCMouseDispatcher::removeDelegate(v8, &a1->cocos2d::CCMouseDelegate); } cocos2d::CCNode::onExit(a1); }
GD Web Decomp Icon

GD Web Decomp

Raw Source