//
// PauseLayer::musicSliderChanged from 0x7d4fb0 to 0x7d4fe4 (52 bytes)
//
// 3 xrefs:
// > ??> @ 0xeb6d8
// > PauseLayer::customSetup @ 0x7d87e0
// > ??> @ 0x15471a0
//
// 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:54:20 +0000
//
__int64 __fastcall PauseLayer::musicSliderChanged(PauseLayer *this, cocos2d::CCObject *a2)
{
FMODAudioEngine *v2; // x0
float Value; // s0
__int64 v4; // x0
float v6; // [xsp+10h] [xbp+10h]
Value = SliderThumb::getValue(a2);
if ( Value < 0.03 )
Value = 0.0;
v6 = Value;
v4 = FMODAudioEngine::sharedEngine(v2);
return FMODAudioEngine::setBackgroundMusicVolume(v4, v6);
}