// // SetupTriggerPopup::getTruncatedValue from 0x10021ba70 to 0x10021bad6 (102 bytes) // // 0 xrefs: // // 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:27:02 +0000 // __m128 __fastcall SetupTriggerPopup::getTruncatedValue(__m128 a1, __int64 a2, int a3) { __m128 v3; // xmm2 float v4; // xmm0_4 __m128 v6; // xmm1 __m128 v7; // xmm1 v3 = a1; if ( a3 <= 0 ) return _mm_cvtepi32_ps(_mm_cvttps_epi32(a1)); if ( a3 == 1 ) v4 = 10.0; else v4 = __exp10f((float)a3); v3.f32[0] = v3.f32[0] * v4; v6 = _mm_or_ps(_mm_and_ps((__m128)xmmword_100A035F0, v3), (__m128)xmmword_100A03600); v6.f32[0] = v6.f32[0] + v3.f32[0]; v7 = _mm_round_ss(v6, v6, 11); v7.f32[0] = v7.f32[0] / v4; return v7; }
GD Web Decomp Icon

GD Web Decomp

Raw Source