//
// EditorPauseLayer::editorSFXSliderChanged from 0x140182440 to 0x1401824b0 (112 bytes)
//
// 2 xrefs:
// > EditorPauseLayer::customSetup @ 0x14018201b
// > ??> @ 0x140918bfc
//
// This function is hookable on this platform (idp: pc, 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:27:37 +0000
//
__int64 __fastcall EditorPauseLayer::editorSFXSliderChanged(__int64 a1, float *a2)
{
float Value; // xmm6_4
__int64 result; // rax
Value = SliderThumb::getValue(a2);
if ( Value < 0.029999999 )
Value = 0.0;
result = EditorSFXManager::sharedState();
if ( Value >= 0.0 )
*(float *)(result + 264) = fminf(1.0, Value);
else
*(_DWORD *)(result + 264) = 0;
return result;
}