//
// FMODAudioEngine::setBackgroundMusicVolume from 0x6caecc to 0x6caeec (32 bytes)
//
// 8 xrefs:
// > GameManager::updateMusic @ 0x715dc4
// > GameManager::firstLoad @ 0x71ff10
// > PauseLayer::musicSliderChanged @ 0x7d4fe0
// > EditorPauseLayer::musicSliderChanged @ 0x8b6254
// > OptionsLayer::musicSliderChanged @ 0x8ee0cc
// > OptionsLayer::musicSliderChanged @ 0x8ee108
// > GJKeybindManager::handleGlobalAudioAction @ 0xc09d10
// > ??> @ 0xab598
//
// 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 12:51:23 +0000
//
__int64 __fastcall FMODAudioEngine::setBackgroundMusicVolume(__int64 this, float a2)
{
FMOD::ChannelControl *v2; // x1
v2 = *(FMOD::ChannelControl **)(this + 480);
*(float *)(this + 440) = a2;
*(_DWORD *)(this + 452) = 0;
if ( v2 )
return FMOD::ChannelControl::setVolume(v2, a2);
return this;
}