// // OptionsLayer::onMenuMusic from 0x4223f0 to 0x42241a (42 bytes) // // 0 xrefs: // // 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 OptionsLayer::onMenuMusic(OptionsLayer *a1, cocos2d::CCObject *a2) { GameManager *v2; // r0 FMODAudioEngine *v3; // r0 GameManager *v4; // r0 v2 = GameManager::sharedState(); if ( GameManager::toggleGameVariable(v2, "0122") ) { v3 = FMODAudioEngine::sharedEngine(); FMODAudioEngine::stopAllMusic(v3, (bool)&dword_0 + 1); } else { v4 = GameManager::sharedState(); GameManager::fadeInMenuMusic(v4); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source