//
// SetupMoveCommandPopup::triggerValueFromSliderValue from 0x1006e0460 to 0x1006e04a3 (67 bytes)
//
// 1 xrefs:
// > ??> @ 0x100b92f80
//
// 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 12:35:44 +0000
//
float __fastcall SetupMoveCommandPopup::triggerValueFromSliderValue(__int64 a1, int a2, __m128 a3)
{
if ( *(_BYTE *)(a1 + 1012) || (unsigned int)(a2 - 28) >= 2 && a2 != 396 )
{
a3.f32[0] = SetupTriggerPopup::triggerValueFromSliderValue(a1, a3.f32[0]);
}
else
{
a3.f32[0] = (float)(a3.f32[0] + -0.5) * 200.0;
a3.f32[0] = _mm_round_ss(a3, a3, 9).f32[0] * 3.0;
}
return a3.f32[0];
}