//
// sub_100429484 from 0x100429484 to 0x1004294f8 (116 bytes)
//
// 4 xrefs:
// > sub_10049E1AC @ 0x10049e614
// > sub_10049ED04 @ 0x10049ede0
// > sub_10049F1E0 @ 0x10049f53c
// > sub_10049FEC8 @ 0x10049ff74
//
// 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_100429484(__int64 a1, float result, float a3, float a4, float a5, float a6)
{
__int64 v6; // x8
float v7; // s2
__int64 v8; // x9
int v9; // w10
int v10; // w11
int v11; // w12
double v12; // d6
v6 = 0;
v7 = a4 * a6;
do
{
v8 = a1 + v6;
*(float *)(v8 + 816) = result;
v9 = (int)((float)(result * a6) + 0.5);
*(_DWORD *)(v8 + 848) = v9;
result = result * a3;
v10 = *(_DWORD *)(a1 + v6 + 984) - 1;
v11 = *(_DWORD *)(a1 + v6 + 952);
*(_DWORD *)(v8 + 1016) = (v10 + v9) & v11;
v12 = v7 + 0.5;
*(_DWORD *)(v8 + 912) = (int)v12;
v7 = v7 * a5;
*(_DWORD *)(v8 + 1080) = (v10 + (int)v12) & v11;
v6 += 4;
}
while ( v6 != 32 );
return result;
}