//
// sub_1000E9F90 from 0x1000e9f90 to 0x1000ea013 (131 bytes)
//
// 0 xrefs:
//
// 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 12:21:06 +0000
//
void __fastcall sub_1000E9F90(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_100A035F0, v5), v5, 28), a3)),
v3));
}
}