// // OptionsLayer::onMenuMusic from 0x10087be40 to 0x10087be7d (61 bytes) // // 1 xrefs: // > OptionsLayer::customSetup @ 0x10087b77d // // 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:36:55 +0000 // void __fastcall OptionsLayer::onMenuMusic(double a1) { __int64 v1; // rax _QWORD *v2; // rax __int64 v3; // rax v1 = GameManager::sharedState(); if ( (unsigned __int8)GameManager::toggleGameVariable(v1, "0122") ) { v2 = (_QWORD *)FMODAudioEngine::sharedEngine(); FMODAudioEngine::stopAllMusic(v2, 1); } else { v3 = GameManager::sharedState(); GameManager::fadeInMenuMusic(v3, a1); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source