//
// sub_70874 from 0x70874 to 0x70894 (32 bytes)
//
// 2 xrefs:
// > sub_705F8 @ 0x70634
// > sub_70764 @ 0x707b4
//
// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 12:13:59 +0000
//
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;
}