//
// sub_1004D1670 from 0x1004d1670 to 0x1004d16c1 (81 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
//
double *__fastcall sub_1004D1670(__int64 a1, __m128 a2, __m128 a3)
{
unsigned __int64 v4; // [rsp+0h] [rbp-20h] BYREF
unsigned __int64 v5; // [rsp+8h] [rbp-18h] BYREF
double v6; // [rsp+10h] [rbp-10h] BYREF
_mm_storel_ps((double *)&v4, a2);
_mm_storel_ps((double *)&v5, a3);
sub_10032B510(&v6, &v5, &v4);
*(float *)a1 = -*((float *)&v6 + 1);
*(_DWORD *)(a1 + 4) = LODWORD(v6);
return sub_10032B470((double *)a1, (float *)a1);
}