//
// PauseLayer::sfxSliderChanged from 0x1001c0070 to 0x1001c00ac (60 bytes)
//
// 1 xrefs:
// > PauseLayer::customSetup @ 0x1001beb10
//
// 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:14 +0000
//
__int64 __fastcall PauseLayer::sfxSliderChanged(__int64 a1, __int64 a2)
{
float Value; // s0
float v3; // s8
__int64 v4; // x0
Value = SliderThumb::getValue(a2);
if ( Value >= 0.03 )
v3 = Value;
else
v3 = 0.0;
v4 = FMODAudioEngine::sharedEngine();
return FMODAudioEngine::setEffectsVolume(v4, v3);
}