//
// FMODAudioEngine::setBackgroundMusicVolume from 0x1003e69b0 to 0x1003e69da (42 bytes)
//
// 4 xrefs:
// > GameManager::updateMusic @ 0x100380719
// > GameManager::firstLoad @ 0x10038aaf5
// > PauseLayer::musicSliderChanged @ 0x1003d7564
// > OptionsLayer::musicSliderChanged @ 0x10079b161
//
// 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 FMODAudioEngine::setBackgroundMusicVolume(FMODAudioEngine *a1, float a2)
{
FMOD::ChannelGroup *m_backgroundMusicChannel; // rdi
a1->m_musicFadeStart = 0.0;
a1->m_musicVolume = a2;
m_backgroundMusicChannel = a1->m_backgroundMusicChannel;
if ( m_backgroundMusicChannel )
FMOD::ChannelControl::setVolume(m_backgroundMusicChannel, a2);
}