//
// SetupAreaMoveTriggerPopup::triggerValueFromSliderValue from 0x1004d4da0 to 0x1004d4ddd (61 bytes)
//
// 7 xrefs:
// > ??> @ 0x100951b68
// > ??> @ 0x100952360
// > ??> @ 0x100952b58
// > ??> @ 0x100953350
// > ??> @ 0x100953b48
// > ??> @ 0x100954388
// > ??> @ 0x100954b80
//
// 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
//
// local variable allocation has failed, the output may be wrong!
float __fastcall SetupAreaMoveTriggerPopup::triggerValueFromSliderValue(
SetupAreaMoveTriggerPopup *a1,
int a2,
float a3)
{
unsigned __int64 v3; // rbx
__int64 v4; // rax
a3 = SetupTriggerPopup::triggerValueFromSliderValue(a1, a2, a3);
v3 = (unsigned int)(a2 - 218);
if ( (unsigned int)v3 <= 0x23 )
{
v4 = 0xC0078003FLL;
if ( _bittest64(&v4, v3) )
return _mm_round_ss(*(__m128 *)&a3, *(__m128 *)&a3, 9).f32[0] * 3.0;
}
return a3;
}