// // OptionsLayer::onMenuMusic from 0x1001137e0 to 0x100113818 (56 bytes) // // 1 xrefs: // > OptionsLayer::customSetup @ 0x100113400 // // 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 10:59:09 +0000 // __int64 __fastcall OptionsLayer::onMenuMusic(__int64 a1) { __int64 v1; // x0 __int64 v2; // x0 __int64 v3; // x0 __int64 v5; // x0 v1 = GameManager::sharedState(a1); v2 = GameManager::toggleGameVariable(v1, "0122"); if ( (_DWORD)v2 ) { v3 = FMODAudioEngine::sharedEngine(v2); return FMODAudioEngine::stopAllMusic(v3, 1); } else { v5 = GameManager::sharedState(v2); return GameManager::fadeInMenuMusic(v5); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source