//
// FMODAudioEngine::setBackgroundMusicVolume from 0x5abc0c to 0x5abc2c (32 bytes)
//
// 6 xrefs:
// > GameManager::updateMusic @ 0x5eb1ec
// > GameManager::firstLoad @ 0x5f0d18
// > PauseLayer::musicSliderChanged @ 0x6c69f0
// > OptionsLayer::musicSliderChanged @ 0x7c73d4
// > OptionsLayer::musicSliderChanged @ 0x7c7410
// > ??> @ 0x80bf8
//
// 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::setBackgroundMusicVolume(FMODAudioEngine *a1, float a2)
{
FMOD::ChannelGroup *m_backgroundMusicChannel; // x1
m_backgroundMusicChannel = a1->m_backgroundMusicChannel;
a1->m_musicVolume = a2;
a1->m_musicFadeStart = 0.0;
if ( m_backgroundMusicChannel )
FMOD::ChannelControl::setVolume(m_backgroundMusicChannel, a2);
}