//
// SetupMoveCommandPopup::triggerSliderValueFromValue from 0xa3d9f8 to 0xa3da5c (100 bytes)
//
// 2 xrefs:
// > ??> @ 0x97138
// > ??> @ 0x1487aa8
//
// 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 12:59:55 +0000
//
float __fastcall SetupMoveCommandPopup::triggerSliderValueFromValue(SetupMoveCommandPopup *this, int a2, float a3)
{
float result; // s0
if ( !*((_BYTE *)this + 1012) && ((unsigned int)(a2 - 28) <= 1 || a2 == 396) )
{
result = (float)(floorf(a3 / 3.0) / 200.0) + 0.5;
if ( result < 1.0 )
{
if ( result <= 0.0 )
return 0.0;
}
else
{
return 1.0;
}
}
else
{
SetupTriggerPopup::triggerSliderValueFromValue(this, a2, a3);
}
return result;
}