//
// FMODAudioEngine::setBackgroundMusicVolume from 0x1001b9c10 to 0x1001b9c28 (24 bytes)
//
// 6 xrefs:
// > OptionsLayer::musicSliderChanged @ 0x100113774
// > GJKeybindManager::handleGlobalAudioAction @ 0x10018bccc
// > PauseLayer::musicSliderChanged @ 0x1001c006c
// > GameManager::updateMusic @ 0x1003b3eec
// > GameManager::firstLoad @ 0x1003ba0d8
// > EditorPauseLayer::musicSliderChanged @ 0x10044495c
//
// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!
//
// 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:00:11 +0000
//
__int64 __fastcall FMODAudioEngine::setBackgroundMusicVolume(__int64 a1, float a2)
{
__int64 result; // x0
*(_DWORD *)(a1 + 452) = 0;
*(float *)(a1 + 440) = a2;
result = *(_QWORD *)(a1 + 480);
if ( result )
return FMOD::ChannelControl::setVolume(result, a2);
return result;
}