//
// PauseLayer::sfxSliderChanged from 0x6c69f8 to 0x6c6a2c (52 bytes)
//
// 3 xrefs:
// > ??> @ 0x74dc0
// > PauseLayer::customSetup @ 0x6c7f40
// > ??> @ 0x122be40
//
// 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 PauseLayer::sfxSliderChanged(PauseLayer *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);
}