//
// OptionsLayer::sfxSliderChanged from 0x7c6c58 to 0x7c6c8c (52 bytes)
//
// 3 xrefs:
// > ??> @ 0xbf310
// > OptionsLayer::customSetup @ 0x7c87d4
// > ??> @ 0x122ea30
//
// 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 OptionsLayer::sfxSliderChanged(OptionsLayer *a1, cocos2d::CCObject *a2)
{
float Value; // s0
FMODAudioEngine *v3; // x0
float v4; // [xsp+10h] [xbp+10h]
Value = SliderThumb::getValue((SliderThumb *)a2);
if ( Value < 0.03 )
Value = 0.0;
v4 = Value;
v3 = FMODAudioEngine::sharedEngine();
FMODAudioEngine::setEffectsVolume(v3, v4);
}