//
// SetupMoveCommandPopup::triggerSliderValueFromValue from 0x140281d60 to 0x140281dc7 (103 bytes)
//
// 2 xrefs:
// > ??> @ 0x14056d080
// > ??> @ 0x1406d1430
//
// 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
//
float SetupMoveCommandPopup::triggerSliderValueFromValue(SetupMoveCommandPopup *a1, int a2, float a3)
{
float v3; // xmm1_4
float result; // xmm0_4
if ( a1->m_smallStep || (unsigned int)(a2 - 28) > 1 && a2 != 396 )
return SetupTriggerPopup::triggerSliderValueFromValue(a1, a2, a3);
v3 = fminf(1.0, (float)(floorf(a3 / 3.0) / 200.0) + 0.5);
result = 0.0;
if ( v3 >= 0.0 )
return v3;
return result;
}