//
// SetupEnterEffectPopup::triggerValueFromSliderValue from 0x1003e0c20 to 0x1003e0c5d (61 bytes)
//
// 1 xrefs:
// > ??> @ 0x100b3c4b0
//
// 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:29:45 +0000
//
float __fastcall SetupEnterEffectPopup::triggerValueFromSliderValue(__int64 a1, int a2, __m128 a3)
{
unsigned __int64 v3; // rbx
__int64 v4; // rax
a3.f32[0] = SetupTriggerPopup::triggerValueFromSliderValue(a1, a3.f32[0]);
v3 = (unsigned int)(a2 - 218);
if ( (unsigned int)v3 <= 0x23 )
{
v4 = 0xC0078003FLL;
if ( _bittest64(&v4, v3) )
a3.f32[0] = _mm_round_ss(a3, a3, 9).f32[0] * 3.0;
}
return a3.f32[0];
}