// // WorldSelectLayer::onBack from 0x62ca54 to 0x62ca9a (70 bytes) // // 1 xrefs: // > WorldSelectLayer::keyBackClicked @ 0x62ca9c // // This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False! // // 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 11:55:13 +0000 // int *__fastcall WorldSelectLayer::onBack(int *this, cocos2d::CCObject *a2) { MenuLayer *v2; // r4 int v3; // r3 int v4; // r1 cocos2d::CCDirector *v5; // r0 cocos2d::CCDirector *v6; // r5 bool v7; // r1 int v8; // r2 AppDelegate *v9; // r0 cocos2d::CCScene *v10; // r2 cocos2d::CCScene *v11; // r1 if ( !*((_BYTE *)this + 337) ) { v2 = (MenuLayer *)*((unsigned __int8 *)this + 344); if ( !*((_BYTE *)this + 344) ) { v3 = *this; v4 = *((unsigned __int8 *)this + 344); *((_BYTE *)this + 337) = 1; *((_BYTE *)this + 336) = 1; v5 = (cocos2d::CCDirector *)(*(int (__fastcall **)(int *, int))(v3 + 536))(this, v4); v6 = (cocos2d::CCDirector *)cocos2d::CCDirector::sharedDirector(v5); v9 = MenuLayer::scene(v2, v7, v8); v11 = (cocos2d::CCScene *)cocos2d::CCTransitionFade::create( (cocos2d::CCTransitionFade *)0x3F000000, *(float *)&v9, v10); return (int *)cocos2d::CCDirector::replaceScene(v6, v11); } } return this; }
GD Web Decomp Icon

GD Web Decomp

Raw Source