//
// FMODAudioEngine::setEffectsVolume from 0x1001b9c30 to 0x1001b9c88 (88 bytes)
//
// 6 xrefs:
// > OptionsLayer::sfxSliderChanged @ 0x1001137dc
// > GJKeybindManager::handleGlobalAudioAction @ 0x10018bcd4
// > PauseLayer::sfxSliderChanged @ 0x1001c00a8
// > GameManager::updateMusic @ 0x1003b3ef8
// > GameManager::firstLoad @ 0x1003ba0e4
// > EditorPauseLayer::sfxSliderChanged @ 0x100444998
//
// 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::setEffectsVolume(__int64 a1, float a2)
{
__int64 v4; // x0
__int64 result; // x0
*(float *)(a1 + 444) = a2;
v4 = *(_QWORD *)(a1 + 512);
if ( v4 )
FMOD::ChannelControl::setVolume(v4, a2);
result = *(_QWORD *)(a1 + 528);
if ( result )
return FMOD::ChannelControl::setVolume(result, a2);
return result;
}