//
// OptionsLayer::sfxSliderChanged from 0x1001137a4 to 0x1001137e0 (60 bytes)
//
// 1 xrefs:
// > OptionsLayer::customSetup @ 0x1001132c0
//
// 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 10:59:09 +0000
//
__int64 __fastcall OptionsLayer::sfxSliderChanged(__int64 a1, __int64 a2)
{
__int64 v2; // x0
float Value; // s0
float v4; // s8
__int64 v5; // x0
Value = SliderThumb::getValue(a2);
if ( Value >= 0.03 )
v4 = Value;
else
v4 = 0.0;
v5 = FMODAudioEngine::sharedEngine(v2);
return FMODAudioEngine::setEffectsVolume(v5, v4);
}