//
// sub_10048ED6C from 0x10048ed6c to 0x10048ee24 (184 bytes)
//
// 1 xrefs:
// > ??> @ 0x100851858
//
// 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_10048ED6C(_QWORD *a1)
{
__int64 v1; // x19
float *v2; // x20
void *v3; // x0
float v4; // s0
float v5; // s1
float v6; // s1
float v7; // s1
float v8; // s3
float v9; // s0
v1 = *a1;
v2 = (float *)(*a1 + 33380LL);
*(_QWORD *)(v1 + 584) = 0;
v3 = *(void **)(v1 + 568);
if ( v3 )
bzero(v3, *(unsigned int *)(v1 + 580));
v4 = *v2;
v5 = v2[1];
*(float *)(v1 + 536) = *v2;
*(float *)(v1 + 540) = v5;
v6 = v5 * 0.01;
*(float *)(v1 + 544) = v6;
*(float *)(v1 + 548) = 1.0 - v6;
v7 = v2[2];
*(float *)(v1 + 552) = v7;
v8 = (float)*(int *)(v1 + 604);
v9 = fmaxf((float)(v4 * 0.5) * (float)((float)((float)(v4 * 40.0) * v8) / 1000.0), 4.0);
*(float *)(v1 + 596) = v9;
*(float *)(v1 + 600) = v9;
*(float *)(v1 + 592) = v7 / v8;
return 0;
}