//
// SetupMGTrigger::sliderValueFromPos from 0x5626f4 to 0x562750 (92 bytes)
//
// 3 xrefs:
// > SetupMGTrigger::init @ 0x5634b2
// > SetupMGTrigger::textChanged @ 0x5638ca
// > SetupMGTrigger::textChanged @ 0x5638e6
//
// 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 SetupMGTrigger::sliderValueFromPos(SetupMGTrigger *a1, int a2)
{
float v2; // s15
v2 = (float)(floorf((float)a2 / 3.0) / 200.0) + 0.5;
if ( v2 >= 1.0 )
return 1.0;
if ( v2 <= 0.0 )
return 0.0;
return v2;
}