//
// sub_10061E050 from 0x10061e050 to 0x10061e0b0 (96 bytes)
//
// 0 xrefs:
//
// 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 11:10:18 +0000
//
float __fastcall sub_10061E050(float *a1, int a2, int a3, float *a4)
{
float *v4; // x8
float v5; // s0
float v6; // s0
float v7; // s1
v4 = &a1[a2];
if ( !a3 )
{
if ( !a2 )
{
v5 = 0.0;
goto LABEL_8;
}
v6 = v4[227] - v4[228];
v7 = a1[159];
goto LABEL_6;
}
v5 = 0.0;
if ( a2 != 16 )
{
v6 = v4[229] - v4[228];
v7 = a1[158];
LABEL_6:
v5 = v6 * v7;
}
LABEL_8:
*a4 = v5;
return a1[161] + (float)(a1[135] * v4[228]);
}