//
// sub_1003CC070 from 0x1003cc070 to 0x1003cc0fd (141 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
//
float __fastcall sub_1003CC070(double *a1, float a2, float a3, __m128 a4)
{
float v5[2]; // [rsp+8h] [rbp-18h] BYREF
__int64 v6; // [rsp+10h] [rbp-10h] BYREF
float v7; // [rsp+18h] [rbp-8h]
float v8; // [rsp+1Ch] [rbp-4h]
v7 = a3;
v8 = a2;
sub_10028CC60(&v6, a1);
sub_10028CBE0(v5, 12.9898, 4.1413999);
a4.f32[0] = sinf((float)(*(float *)&v6 * v5[0]) + (float)(*((float *)&v6 + 1) * v5[1])) * 43758.5453;
return (float)((float)(v7 - v8) * (float)(a4.f32[0] - _mm_round_ss((__m128)0LL, a4, 9).f32[0])) + v8;
}