// // LevelInfoLayer::onBack from 0x1002aeee0 to 0x1002aef60 (128 bytes) // // 5 xrefs: // > LevelInfoLayer::onDelete @ 0x1002b1572 // > LevelInfoLayer::FLAlert_Clicked @ 0x1002b1abc // > LevelInfoLayer::keyBackClicked @ 0x1002b1c15 // > sub_1002B1C20 @ 0x1002b1c2c // > LevelInfoLayer::init @ 0x1002ab63f // // This function is hookable on this platform (idp: pc, 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:28:00 +0000 // __int64 __fastcall LevelInfoLayer::onBack(__int64 a1) { __int64 v1; // rdx __int64 v2; // rbx __int64 v3; // rdx double v4; // xmm0_8 __int64 v5; // rax __int64 v6; // rax char *v7; // rax __int64 result; // rax double v9; // xmm0_8 __int64 v10; // rax if ( !*(_BYTE *)(a1 + 488) ) { (*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)a1 + 1072LL))(a1, 0); if ( *(_BYTE *)(*(_QWORD *)(a1 + 504) + 649LL) == 1 ) { v2 = cocos2d::CCDirector::sharedDirector(a1, 0); *(_QWORD *)&v4 = GameManager::sharedState(a1, 0, v3).u64[0]; v6 = sub_10037D7F0(*(unsigned int *)(v5 + 1084), v4); v7 = cocos2d::CCTransitionFade::create_1(v6, 0.5); return cocos2d::CCDirector::replaceScene(v2, v7); } else { *(_QWORD *)&v9 = GameManager::sharedState(a1, 0, v1).u64[0]; return GameManager::safePopScene(v10, v9); } } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source