//
// sub_10010DF10 from 0x10010df10 to 0x10010df93 (131 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
//
void __fastcall sub_10010DF10(double *a1, unsigned __int64 *a2, __m128 a3)
{
__m128 v3; // xmm1
__m128 v4; // xmm3
__m128 v5; // xmm4
__m128 v6; // [rsp-38h] [rbp-38h]
__m128 v7; // [rsp-28h] [rbp-28h]
if ( a3.f32[0] != 0.0 )
{
v7 = (__m128)*(unsigned int *)a1;
v6 = (__m128)*((unsigned int *)a1 + 1);
*(__float2 *)a3.f32 = __sincosf_stret(a3.f32[0] * 0.017453292);
v3 = (__m128)*a2;
v4 = v7;
v4.f32[0] = v7.f32[0] - v3.f32[0];
v5 = v6;
v5.f32[0] = v6.f32[0] - _mm_movehdup_ps(v3).f32[0];
_mm_storel_ps(
a1,
_mm_add_ps(
_mm_add_ps(
_mm_mul_ps(_mm_shuffle_ps(a3, a3, 225), _mm_moveldup_ps(v4)),
_mm_mul_ps(_mm_insert_ps(_mm_xor_ps((__m128)xmmword_1008150B0, v5), v5, 28), a3)),
v3));
}
}