// // LevelAreaInnerLayer::onBack from 0x1402c86a0 to 0x1402c86fc (92 bytes) // // 4 xrefs: // > LevelAreaInnerLayer::init @ 0x1402c65bc // > @ 0x14068d208 // > @ 0x14068d218 // > @ 0x1406d2bdc // // 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 LevelAreaInnerLayer::onBack(LevelAreaInnerLayer *a1, cocos2d::CCObject *a2) { struct cocos2d::CCScene *v2; // rax struct cocos2d::CCTransitionFade *v3; // rbx __int64 v4; // rcx cocos2d::CCDirector *v5; // rax if ( !a1->m_enteringLevel ) { a1->setKeypadEnabled(a1, 0); v2 = LevelAreaLayer::scene(); v3 = cocos2d::CCTransitionFade::create(0.5, v2); v5 = (cocos2d::CCDirector *)cocos2d::CCDirector::sharedDirector(v4); cocos2d::CCDirector::replaceScene(v5, v3); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source