//
// SetupAreaMoveTriggerPopup::triggerSliderValueFromValue from 0x1004d05e0 to 0x1004d060d (45 bytes)
//
// 7 xrefs:
// > ??> @ 0x100b5cdf8
// > ??> @ 0x100b5d620
// > ??> @ 0x100b5de48
// > ??> @ 0x100b5e670
// > ??> @ 0x100b5ee98
// > ??> @ 0x100b5f708
// > ??> @ 0x100b5ff30
//
// 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:31:12 +0000
//
__m128 __fastcall SetupAreaMoveTriggerPopup::triggerSliderValueFromValue(__int64 a1, int a2, float a3)
{
unsigned __int64 v3; // rax
__int64 v4; // rcx
v3 = (unsigned int)(a2 - 218);
if ( (unsigned int)v3 <= 0x23 )
{
v4 = 0xC0078003FLL;
if ( _bittest64(&v4, v3) )
a3 = a3 / 3.0;
}
return SetupTriggerPopup::triggerSliderValueFromValue(a1, a3);
}