//
// FMODAudioEngine::setEffectsVolume from 0x2ff182 to 0x2ff192 (16 bytes)
//
// 4 xrefs:
// > GameManager::updateMusic @ 0x3221c2
// > GameManager::firstLoad @ 0x324330
// > PauseLayer::sfxSliderChanged @ 0x3a7af6
// > OptionsLayer::sfxSliderChanged @ 0x421886
//
// 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 FMODAudioEngine::setEffectsVolume(FMODAudioEngine *a1, float a2)
{
FMOD::ChannelGroup *m_globalChannel; // r0
a1->m_sfxVolume = a2;
m_globalChannel = a1->m_globalChannel;
if ( m_globalChannel )
FMOD::ChannelControl::setVolume(m_globalChannel, a2);
}