//
// SetupTriggerPopup::getTruncatedValue from 0x140477c10 to 0x140477c7c (108 bytes)
//
// 3 xrefs:
// > SetupTriggerPopup::textChanged @ 0x140475978
// > SetupTriggerPopup::triggerSliderChanged @ 0x140475d95
// > ??> @ 0x1406db798
//
// 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
//
float SetupTriggerPopup::getTruncatedValue(SetupTriggerPopup *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;
}