//
// EditorPauseLayer::editorSFXSliderChanged from 0x10044499c to 0x1004449d8 (60 bytes)
//
// 1 xrefs:
// > EditorPauseLayer::customSetup @ 0x10044410c
//
// 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 11:05:13 +0000
//
__int64 __fastcall EditorPauseLayer::editorSFXSliderChanged(__int64 a1, float *a2)
{
__n128 v2; // q0
float v3; // s8
__int64 v4; // x0
v2.n128_f32[0] = SliderThumb::getValue(a2);
if ( v2.n128_f32[0] >= 0.03 )
v3 = v2.n128_f32[0];
else
v3 = 0.0;
v4 = EditorSFXManager::sharedState(v2);
return EditorSFXManager::setGlobalVolume(v4, v3);
}