// // LevelInfoLayer::onBack from 0x7e55b4 to 0x7e5634 (128 bytes) // // 5 xrefs: // > LevelInfoLayer::keyBackClicked @ 0x7e5638 // > LevelInfoLayer::onDelete @ 0x7e639c // > @ 0x96580 // > LevelInfoLayer::init @ 0x7eb6f4 // > @ 0x1544148 // // 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 12:54:28 +0000 // _BYTE *__fastcall LevelInfoLayer::onBack(_BYTE *this, cocos2d::CCObject *a2) { _BYTE *v2; // x19 cocos2d::CCDirector *v3; // x0 GameManager *v4; // x0 GameManager *v5; // x19 __int64 v6; // x0 cocos2d::CCTransitionFade *v7; // x0 cocos2d::CCScene *v8; // x1 cocos2d::CCScene *v9; // x0 if ( !*(this + 488) ) { v2 = this; (*(void (__fastcall **)(_BYTE *, _QWORD))(*(_QWORD *)this + 1072LL))(this, 0); v3 = (cocos2d::CCDirector *)*(unsigned __int8 *)(*((_QWORD *)v2 + 63) + 649LL); if ( *(_BYTE *)(*((_QWORD *)v2 + 63) + 649LL) ) { v5 = (GameManager *)cocos2d::CCDirector::sharedDirector(v3); v6 = GameManager::sharedState(v5); v7 = (cocos2d::CCTransitionFade *)GauntletLayer::scene(*(unsigned int *)(v6 + 1084)); v9 = (cocos2d::CCScene *)cocos2d::CCTransitionFade::create(v7, 0.5, v8); return (_BYTE *)cocos2d::CCDirector::replaceScene(v5, v9); } else { v4 = (GameManager *)GameManager::sharedState(v3); return (_BYTE *)GameManager::safePopScene(v4); } } return this; }
GD Web Decomp Icon

GD Web Decomp

Raw Source