// // SetupMoveCommandPopup::triggerSliderValueFromValue from 0x1006e04b0 to 0x1006e0534 (132 bytes) // // 1 xrefs: // > @ 0x100b92f88 // // 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:35:44 +0000 // __m128 __fastcall SetupMoveCommandPopup::triggerSliderValueFromValue(__int64 a1, int a2, __m128 a3, __m128 a4) { __m128 result; // xmm0 __m128 v5; // xmm1 __m128 v6; // xmm0 __m128 v7; // xmm3 if ( *(_BYTE *)(a1 + 1012) || (unsigned int)(a2 - 28) >= 2 && a2 != 396 ) return SetupTriggerPopup::triggerSliderValueFromValue(a1, a3.f32[0]); a3.f32[0] = a3.f32[0] / 3.0; v5 = _mm_round_ss(a4, a3, 9); v5.f32[0] = (float)(v5.f32[0] / 200.0) + 0.5; v6 = _mm_cmpge_ss(v5, (__m128)0x3F800000u); result = _mm_or_ps( _mm_and_ps(v6, (__m128)0x3F800000u), _mm_andnot_ps(v6, _mm_and_ps(_mm_cmplt_ss((__m128)0LL, v5), (__m128)0x3F800000u))); v7 = v5; if ( v5.f32[0] > 0.0 ) { if ( v5.f32[0] >= 1.0 ) return result; return v7; } v7 = result; if ( v5.f32[0] < 1.0 ) return v7; return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source