//
// FMODAudioEngine::setBackgroundMusicVolume from 0x3e823e to 0x3e8254 (22 bytes)
//
// 6 xrefs:
// > GameManager::updateMusic @ 0x41423e
// > GameManager::firstLoad @ 0x41807a
// > PauseLayer::musicSliderChanged @ 0x48e8b2
// > EditorPauseLayer::musicSliderChanged @ 0x508cf6
// > OptionsLayer::musicSliderChanged @ 0x52c956
// > GJKeybindManager::handleGlobalAudioAction @ 0x7145ba
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 11:47:05 +0000
//
FMOD::ChannelControl *__fastcall FMODAudioEngine::setBackgroundMusicVolume(FMODAudioEngine *this, float a2)
{
FMOD::ChannelControl *result; // r0
*((float *)this + 81) = a2;
*((_DWORD *)this + 84) = 0;
result = *((FMOD::ChannelControl **)this + 90);
if ( result )
return (FMOD::ChannelControl *)FMOD::ChannelControl::setVolume(result, a2);
return result;
}