// // WorldSelectLayer::onBack from 0xaa5a8c to 0xaa5afc (112 bytes) // // 4 xrefs: // > WorldSelectLayer::keyBackClicked @ 0xaa5b00 // > @ 0xf14b0 // > WorldSelectLayer::init @ 0xaa83f8 // > @ 0x15474b0 // // This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True! // // Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings // Generated at Fri, 27 Nov 2026 13:00:51 +0000 // __int64 *__fastcall WorldSelectLayer::onBack(__int64 *this, cocos2d::CCObject *a2) { __int64 v2; // x4 cocos2d::CCDirector *v3; // x0 cocos2d::CCDirector *v4; // x19 cocos2d::CCTransitionFade *v5; // x0 cocos2d::CCScene *v6; // x1 cocos2d::CCScene *v7; // x0 if ( !*((_BYTE *)this + 449) && !*((_BYTE *)this + 464) ) { v2 = *this; *((_BYTE *)this + 449) = 1; *((_BYTE *)this + 448) = 1; v3 = (cocos2d::CCDirector *)(*(__int64 (__fastcall **)(__int64 *, _QWORD))(v2 + 1072))(this, 0); v4 = (cocos2d::CCDirector *)cocos2d::CCDirector::sharedDirector(v3); v5 = (cocos2d::CCTransitionFade *)MenuLayer::scene(nullptr); v7 = (cocos2d::CCScene *)cocos2d::CCTransitionFade::create(v5, 0.5, v6); return (__int64 *)cocos2d::CCDirector::replaceScene(v4, v7); } return this; }
GD Web Decomp Icon

GD Web Decomp

Raw Source