//
// FMODAudioEngine::setEffectsVolume from 0x1003d3f20 to 0x1003d3f6b (75 bytes)
//
// 6 xrefs:
// > EditorPauseLayer::sfxSliderChanged @ 0x10027ead4
// > GameManager::updateMusic @ 0x100369a9e
// > GameManager::firstLoad @ 0x100374d9f
// > PauseLayer::sfxSliderChanged @ 0x1003c1b64
// > GJKeybindManager::handleGlobalAudioAction @ 0x1006157a6
// > OptionsLayer::sfxSliderChanged @ 0x10087be34
//
// This function is hookable on this platform (idp: pc, 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:29:40 +0000
//
__int64 __fastcall FMODAudioEngine::setEffectsVolume(__int64 a1, float a2)
{
FMOD::ChannelControl *v3; // rdi
__int64 result; // rax
FMOD::ChannelControl *v5; // rdi
*(float *)(a1 + 444) = a2;
v3 = *(FMOD::ChannelControl **)(a1 + 512);
if ( v3 )
result = FMOD::ChannelControl::setVolume(v3, a2);
v5 = *(FMOD::ChannelControl **)(a1 + 528);
if ( v5 )
return FMOD::ChannelControl::setVolume(v5, a2);
return result;
}