// // sub_1003C99C0 from 0x1003c99c0 to 0x1003c9a2a (106 bytes) // // 0 xrefs: // // 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 __fastcall sub_1003C99C0(__m128 a1, __m128 a2, __m128 a3, __m128 a4, __m128 a5) { __m128 inserted; // xmm0 __m128 v6; // xmm4 __m128 v7; // xmm0 __m128 v8; // xmm4 __m128 v9; // xmm0 inserted = _mm_insert_ps(a1, a3, 16); v6 = _mm_div_ps(_mm_sub_ps(_mm_moveldup_ps(a5), inserted), _mm_sub_ps(_mm_insert_ps(a2, a4, 16), inserted)); v7 = _mm_cmplt_ps((__m128)xmmword_1008154E0, v6); v8 = _mm_blendv_ps( v6, _mm_and_ps(_mm_and_ps(_mm_cmpnlt_ps(v6, (__m128)0LL), v7), (__m128)xmmword_1008154E0), _mm_or_ps(v7, _mm_cmplt_ps(v6, (__m128)0LL))); v9 = _mm_mul_ps(_mm_sub_ps((__m128)xmmword_1008169C0, _mm_add_ps(v8, v8)), _mm_mul_ps(v8, v8)); return v9.f32[0] - _mm_movehdup_ps(v9).f32[0]; }
GD Web Decomp Icon

GD Web Decomp

Raw Source