// // OptionsLayer::onMenuMusic from 0x10079b1d0 to 0x10079b20d (61 bytes) // // 1 xrefs: // > OptionsLayer::customSetup @ 0x10079ab49 // // 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 // void __fastcall OptionsLayer::onMenuMusic(OptionsLayer *a1, cocos2d::CCObject *a2) { GameManager *v2; // rax FMODAudioEngine *v3; // rax GameManager *v4; // rax v2 = GameManager::sharedState(); if ( GameManager::toggleGameVariable(v2, "0122") ) { v3 = FMODAudioEngine::sharedEngine(); FMODAudioEngine::stopAllMusic(v3, 1); } else { v4 = GameManager::sharedState(); GameManager::fadeInMenuMusic(v4); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source