//
// SetupTriggerPopup::getTruncatedValue from 0x14060f2d0 to 0x14060f33c (108 bytes)
//
// 3 xrefs:
// > SetupTriggerPopup::textChanged @ 0x14060cdf1
// > SetupTriggerPopup::triggerSliderChanged @ 0x14060d3bf
// > ??> @ 0x14092ff60
//
// 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 11:35:15 +0000
//
float __fastcall SetupTriggerPopup::getTruncatedValue(__int64 a1, float a2, int a3)
{
float v4; // xmm6_4
if ( a3 <= 0 )
return (float)(int)a2;
v4 = 10.0;
if ( a3 > 1 )
v4 = powf(10.0, (float)a3);
return roundf(v4 * a2) / v4;
}