//
// sub_100609120 from 0x100609120 to 0x10060916c (76 bytes)
//
// 8 xrefs:
// > sub_1003D3FC0 @ 0x1003d4021
// > sub_1003D3FC0 @ 0x1003d403b
// > sub_1004894A0 @ 0x1004894eb
// > sub_10050F730 @ 0x10050f82e
// > sub_10050F730 @ 0x10050f8fe
// > sub_10050F730 @ 0x10050f93e
// > sub_10050F990 @ 0x10050f9c8
// > sub_10050F990 @ 0x10050f9db
//
// 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
//
__int64 __fastcall sub_100609120(__int64 a1, unsigned int *a2, unsigned int *a3)
{
__m128 v4; // xmm0
__m128 v5; // xmm1
__m128 v6; // xmm2
__m128 v7; // xmm3
v4 = (__m128)*a3;
v5 = (__m128)*a2;
v6 = (__m128)*(unsigned __int64 *)(a2 + 1);
v7 = (__m128)*(unsigned __int64 *)(a3 + 1);
_mm_storel_ps(
(double *)a1,
_mm_sub_ps(
_mm_mul_ps(_mm_insert_ps(_mm_movehdup_ps(v7), v4, 16), v6),
_mm_mul_ps(_mm_insert_ps(_mm_movehdup_ps(v6), v5, 16), v7)));
*(float *)(a1 + 8) = (float)(v5.f32[0] * v7.f32[0]) - (float)(v4.f32[0] * v6.f32[0]);
return a1;
}