// // LevelInfoLayer::onBack from 0x499efa to 0x499f4c (82 bytes) // // 2 xrefs: // > LevelInfoLayer::keyBackClicked @ 0x499f4e // > LevelInfoLayer::onDelete @ 0x49a150 // // 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:49:44 +0000 // _BYTE *__fastcall LevelInfoLayer::onBack(_BYTE *this, cocos2d::CCObject *a2) { _BYTE *v2; // r4 cocos2d::CCDirector *v3; // r0 GameManager *v4; // r4 int v5; // r0 float v6; // r0 cocos2d::CCScene *v7; // r2 cocos2d::CCScene *v8; // r1 GameManager *v9; // r0 v2 = this; if ( !*(this + 356) ) { v3 = (cocos2d::CCDirector *)(*(int (__fastcall **)(_BYTE *))(*(_DWORD *)this + 536))(this); if ( *(_BYTE *)(*((_DWORD *)v2 + 91) + 477) ) { v4 = (GameManager *)cocos2d::CCDirector::sharedDirector(v3); v5 = GameManager::sharedState(v4); v6 = GauntletLayer::scene(*(_DWORD *)(v5 + 864)); v8 = (cocos2d::CCScene *)cocos2d::CCTransitionFade::create((cocos2d::CCTransitionFade *)0x3F000000, v6, v7); return (_BYTE *)cocos2d::CCDirector::replaceScene(v4, v8); } else { v9 = (GameManager *)GameManager::sharedState(v3); return (_BYTE *)GameManager::safePopScene(v9); } } return this; }
GD Web Decomp Icon

GD Web Decomp

Raw Source