//
// sub_1004C5048 from 0x1004c5048 to 0x1004c5080 (56 bytes)
//
// 3 xrefs:
// > sub_1004C1DF8 @ 0x1004c1df8
// > ??> @ 0x100828950
// > ??> @ 0x100828ae0
//
// 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
//
__int64 __fastcall sub_1004C5048(float32x2_t *a1, float32x2_t a2, float32_t a3, float a4)
{
a2.f32[1] = a3;
a1[16] = vmin_f32(vmax_f32(a2, 0), (float32x2_t)vdup_n_s32(0x43B40000u));
a1[17].f32[0] = fminf(fmaxf(a4, 0.0), 1.0);
return 0;
}