//
// sub_70874 from 0x70874 to 0x70894 (32 bytes)
//
// 2 xrefs:
// > sub_705F8 @ 0x70634
// > sub_70764 @ 0x707b4
//
// 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
//
long double __fastcall sub_70874(float a1, float a2, float a3, float a4)
{
float *v4; // x19
float *v5; // x20
long double v6; // q12
float v7; // s0
float v8; // s1
v7 = a4 + (float)(a2 * a1);
*v5 = v7;
v8 = a3 + (float)((float)(v7 - a3) * a2);
*v4 = v8;
return v6;
}