//
// PauseLayer::musicSliderChanged from 0x6c69c0 to 0x6c69f4 (52 bytes)
//
// 3 xrefs:
// > ??> @ 0xb4258
// > PauseLayer::customSetup @ 0x6c7ec4
// > ??> @ 0x122e3e8
//
// 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::musicSliderChanged(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::setBackgroundMusicVolume(v3, v4);
}