//
// FMODAudioEngine::setBackgroundMusicVolume from 0x10013cdac to 0x10013cdc4 (24 bytes)
//
// 4 xrefs:
// > OptionsLayer::musicSliderChanged @ 0x1000ed394
// > PauseLayer::musicSliderChanged @ 0x100143544
// > GameManager::updateMusic @ 0x1003171c8
// > GameManager::firstLoad @ 0x10031c834
//
// 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; // x0
a1->m_musicFadeStart = 0.0;
a1->m_musicVolume = a2;
m_backgroundMusicChannel = a1->m_backgroundMusicChannel;
if ( m_backgroundMusicChannel )
FMOD::ChannelControl::setVolume(m_backgroundMusicChannel, a2);
}