//
// OptionsLayer::sfxSliderChanged from 0x1000ed3c4 to 0x1000ed400 (60 bytes)
//
// 1 xrefs:
// > OptionsLayer::customSetup @ 0x1000ecf3c
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
void __fastcall OptionsLayer::sfxSliderChanged(OptionsLayer *a1, cocos2d::CCObject *a2)
{
float Value; // s0
float v3; // s8
FMODAudioEngine *v4; // x0
Value = SliderThumb::getValue((SliderThumb *)a2);
if ( Value >= 0.03 )
v3 = Value;
else
v3 = 0.0;
v4 = FMODAudioEngine::sharedEngine();
FMODAudioEngine::setEffectsVolume(v4, v3);
}