// // RetryLevelLayer::onMenu from 0x1403cbe90 to 0x1403cbfa5 (277 bytes) // // 4 xrefs: // > RetryLevelLayer::keyDown @ 0x1403cbe82 // > RetryLevelLayer::keyBackClicked @ 0x1403cbfc9 // > RetryLevelLayer::customSetup @ 0x1403cb558 // > @ 0x1406d7b68 // // 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=3 void RetryLevelLayer::onMenu(RetryLevelLayer *a1, cocos2d::CCObject *a2) { __int64 v3; // rcx __int64 v4; // r8 __int64 v5; // r9 int v6; // ecx __int128 v7; // [rsp+30h] [rbp-28h] BYREF __int64 v8; // [rsp+40h] [rbp-18h] __int64 v9; // [rsp+48h] [rbp-10h] void *v10; // [rsp+60h] [rbp+8h] FMODAudioEngine *v11; // [rsp+70h] [rbp+18h] v3 = qword_1406C2ED8; if ( !qword_1406C2ED8 ) { v10 = operator new(0x668u); qword_1406C2ED8 = sub_14017AB00((__int64)v10); (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_1406C2ED8 + 72LL))(qword_1406C2ED8); v3 = qword_1406C2ED8; } PlayLayer::onQuit(*(PlayLayer **)(v3 + 520)); a1->exitLayer(a1, nullptr); v7 = 0; *(_QWORD *)&v7 = sub_14003AA10(0x20u); v8 = 16; v9 = 31; strcpy((char *)v7, "quitSound_01.ogg"); v6 = qword_1406C2E88; if ( !qword_1406C2E88 ) { v11 = (FMODAudioEngine *)operator new(0x888u); qword_1406C2E88 = (__int64)FMODAudioEngine::FMODAudioEngine(v11); (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_1406C2E88 + 72LL))(qword_1406C2E88); v6 = qword_1406C2E88; } FMODAudioEngine::playEffect(v6, (__int64)&v7, v4, v5, 1060320051); }
GD Web Decomp Icon

GD Web Decomp

Raw Source