// // LevelInfoLayer::onBack from 0x140300730 to 0x140300815 (229 bytes) // // 4 xrefs: // > LevelInfoLayer::FLAlert_Clicked @ 0x140300304 // > LevelInfoLayer::keyBackClicked @ 0x140300829 // > LevelInfoLayer::init @ 0x1402f8d19 // > @ 0x1406d4340 // // This function is hookable on this platform! // // Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings // // Hidden C++ exception states: #wind=2 void LevelInfoLayer::onBack(LevelInfoLayer *a1, cocos2d::CCObject *a2) { GameManager *v3; // rcx __int64 v4; // rcx struct cocos2d::CCScene *v5; // rax struct cocos2d::CCTransitionFade *v6; // rbx __int64 v7; // rcx cocos2d::CCDirector *v8; // rax void *v9; // [rsp+30h] [rbp+8h] void *v10; // [rsp+30h] [rbp+8h] if ( !a1->m_isBusy ) { a1->setKeypadEnabled(a1, 0); if ( a1->m_level->m_gauntletLevel ) { v4 = qword_1406C2ED8; if ( !qword_1406C2ED8 ) { v9 = operator new(0x668u); qword_1406C2ED8 = sub_14017AB00((__int64)v9); (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_1406C2ED8 + 72LL))(qword_1406C2ED8); v4 = qword_1406C2ED8; } v5 = GauntletLayer::scene((GauntletType)*(_DWORD *)(v4 + 1052)); v6 = cocos2d::CCTransitionFade::create(0.5, v5); v8 = (cocos2d::CCDirector *)cocos2d::CCDirector::sharedDirector(v7); cocos2d::CCDirector::replaceScene(v8, v6); } else { if ( !qword_1406C2ED8 ) { v10 = operator new(0x668u); qword_1406C2ED8 = sub_14017AB00((__int64)v10); (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_1406C2ED8 + 72LL))(qword_1406C2ED8); } GameManager::safePopScene(v3); } } }
GD Web Decomp Icon

GD Web Decomp

Raw Source