//
// SetupMoveCommandPopup::triggerSliderValueFromValue from 0x8e4210 to 0x8e4274 (100 bytes)
//
// 2 xrefs:
// > ??> @ 0x70260
// > ??> @ 0x11a1ca8
//
// 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 result; // s0
if ( a1->m_smallStep || (unsigned int)(a2 - 28) > 1 && a2 != 396 )
return SetupTriggerPopup::triggerSliderValueFromValue(a1, a2, a3);
result = (float)(floorf(a3 / 3.0) / 200.0) + 0.5;
if ( result >= 1.0 )
return 1.0;
if ( result <= 0.0 )
return 0.0;
return result;
}