//
// OptionsLayer::sfxSliderChanged from 0x8ed6a4 to 0x8ed6d8 (52 bytes)
//
// 3 xrefs:
// > ??> @ 0xf92f8
// > OptionsLayer::customSetup @ 0x8f4634
// > ??> @ 0x1547928
//
// 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:56:56 +0000
//
FMOD::ChannelControl *__fastcall OptionsLayer::sfxSliderChanged(OptionsLayer *this, cocos2d::CCObject *a2)
{
FMODAudioEngine *v2; // x0
float Value; // s0
FMODAudioEngine *v4; // x0
float v6; // [xsp+10h] [xbp+10h]
Value = SliderThumb::getValue(a2);
if ( Value < 0.03 )
Value = 0.0;
v6 = Value;
v4 = (FMODAudioEngine *)FMODAudioEngine::sharedEngine(v2);
return FMODAudioEngine::setEffectsVolume(v4, v6);
}