// // MapSelectLayer::onBack from 0xac1638 to 0xac16a4 (108 bytes) // // 4 xrefs: // > MapSelectLayer::keyBackClicked @ 0xac16a8 // > @ 0xf7a80 // > MapSelectLayer::init @ 0xac4098 // > @ 0x1547830 // // 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:01:05 +0000 // __int64 *__fastcall MapSelectLayer::onBack(__int64 *this, cocos2d::CCObject *a2) { __int64 v2; // x4 cocos2d::CCDirector *v3; // x0 CreatorLayer *v4; // x19 AppDelegate *v5; // x0 cocos2d::CCScene *v6; // x1 cocos2d::CCScene *v7; // x0 if ( !*((_BYTE *)this + 433) && !*((_BYTE *)this + 434) ) { v2 = *this; *((_BYTE *)this + 433) = 1; *((_BYTE *)this + 432) = 1; v3 = (cocos2d::CCDirector *)(*(__int64 (__fastcall **)(__int64 *, _QWORD))(v2 + 1072))(this, 0); v4 = (CreatorLayer *)cocos2d::CCDirector::sharedDirector(v3); v5 = CreatorLayer::scene(v4); 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