// // SetupTriggerPopup::getTruncatedValue from 0x542b5c to 0x542bb2 (86 bytes) // // 2 xrefs: // > SetupTriggerPopup::getTruncatedValueByTag @ 0x542bd6 // > SetupTriggerPopup::textChanged @ 0x548552 // // 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; // s16 if ( a3 <= 0 ) return (float)(int)a2; if ( a3 == 1 ) v4 = 10.0; else v4 = powf(10.0, (float)a3); return COERCE_FLOAT(roundf()) / v4; }
GD Web Decomp Icon

GD Web Decomp

Raw Source