//
// _sse2_floorf4 from 0x180123b10 to 0x180123b55 (69 bytes)
//
// 1 xrefs:
// > ??> @ 0x18012049d
//
// 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
//
// local variable allocation has failed, the output may be wrong!
__m128 __fastcall _sse2_floorf4(double a1)
{
__m128 v1; // xmm1
__m128 v2; // xmm2
__m128 v3; // xmm1
v1 = _mm_andnot_ps((__m128)xmmword_180204400, *(__m128 *)&a1);
v2 = _mm_cmplt_ps((__m128)xmmword_180204410, v1);
v3 = _mm_or_ps(
_mm_sub_ps(_mm_add_ps(v1, (__m128)xmmword_180204410), (__m128)xmmword_180204410),
_mm_and_ps((__m128)xmmword_180204400, *(__m128 *)&a1));
return _mm_or_ps(
_mm_and_ps(*(__m128 *)&a1, v2),
_mm_andnot_ps(v2, _mm_sub_ps(v3, _mm_and_ps(_mm_cmplt_ps(*(__m128 *)&a1, v3), (__m128)xmmword_180204420))));
}