//
// sub_93950 from 0x93950 to 0x939f0 (160 bytes)
//
// 2 xrefs:
// > sub_94514 @ 0x945ac
// > sub_94748 @ 0x9478c
//
// 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_93950(__int64 a1, long double a2, __int64 a3, char a4)
{
__int64 v5; // x21
__int64 v6; // x22
char v7; // w20
__int64 v8; // x20
__int64 v9; // x21
int v10; // w8
int v11; // w9
float result; // s0
v5 = 0;
v6 = 0;
v7 = a4 & 1;
while ( v6 < *(int *)(a1 + 15304) )
{
sub_9342C((_DWORD *)(*(_QWORD *)(a1 + 15328) + v5), 0, v7);
++v6;
v5 += 40;
}
v8 = a1 + 1064;
v9 = 16;
do
{
sub_931E4(v8, a2);
--v9;
v8 += 888;
}
while ( v9 );
v10 = *(_DWORD *)(a1 + 15284);
v11 = *(_DWORD *)(a1 + 15296);
result = *(float *)(a1 + 15340) + *(float *)(a1 + 15292);
*(float *)(a1 + 15340) = result;
*(_DWORD *)(a1 + 15296) = v11 + v10;
return result;
}