//
// sub_180008600 from 0x180008600 to 0x18000865e (94 bytes)
//
// 1 xrefs:
// > ??> @ 0x1801a4220
//
// 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 10:52:42 +0000
//
void __fastcall sub_180008600(__int64 a1, __m128 *a2, int a3)
{
int v3; // r8d
__int64 v4; // rcx
__m128 v5; // xmm3
__m128 v6; // xmm2
__m128 v7; // xmm1
__m128 v8; // xmm2
__m128 v9; // xmm4
v3 = a3 >> 2;
if ( v3 )
{
v4 = a1 - (_QWORD)a2;
do
{
v5 = *(__m128 *)((char *)a2 + v4);
v6 = _mm_cmplt_ps((__m128)0LL, *a2);
v7 = _mm_and_ps(v6, *a2);
v8 = _mm_andnot_ps(v6, *a2);
v9 = _mm_cmplt_ps((__m128)0LL, v5);
*a2 = _mm_sub_ps(_mm_add_ps(_mm_andnot_ps(v9, v7), v5), _mm_and_ps(v7, v9));
*(__m128 *)((char *)a2++ + v4) = _mm_sub_ps(_mm_add_ps(_mm_and_ps(v8, v9), v5), _mm_andnot_ps(v9, v8));
--v3;
}
while ( v3 );
}
}