//
// sub_102D58 from 0x102d58 to 0x102d8c (52 bytes)
//
// 2 xrefs:
// > sub_101EF4 @ 0x101fec
// > sub_101EF4 @ 0x1022b0
//
// This function is hookable on this platform (idp: arm, 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:15:13 +0000
//
__int8 *__fastcall sub_102D58(
float32x4_t *a1,
float32x4_t a2,
float a3,
float a4,
int16x4_t a5,
double a6,
int16x4_t a7,
float a8)
{
float v8; // s18
float v9; // s19
float32x4_t v10; // q1
a1[1].n128_f32[0] = v8 + (float)(a8 * a4);
a1[1].n128_f32[1] = v9 + (float)(a3 * a4);
v10 = vmulq_f32(vcvtq_f32_s32(vmovl_s16(a7)), a2);
*a1 = vmlaq_n_f32(v10, vmlaq_f32(vnegq_f32(v10), a2, vcvtq_f32_s32(vmovl_s16(a5))), a4);
return &a1[1].n128_i8[8];
}