//
// sub_100625E7C from 0x100625e7c to 0x100625ee0 (100 bytes)
//
// 1 xrefs:
// > ??> @ 0x1009dcd68
//
// 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:22 +0000
//
float *__fastcall sub_100625E7C(float *result, float *a2, int a3)
{
__int64 i; // x8
float v4; // s1
float v5; // s0
float v6; // s1
if ( a3 >= 1 )
{
for ( i = (unsigned int)a3; i; --i )
{
v5 = *result;
v6 = *a2;
if ( *result <= 0.0 )
{
if ( v6 > 0.0 )
{
v5 = v5 + v6;
goto LABEL_5;
}
v4 = v5 - v6;
}
else
{
if ( v6 > 0.0 )
{
v5 = v5 - v6;
goto LABEL_5;
}
v4 = v5 + v6;
}
*result = v4;
LABEL_5:
*a2++ = v5;
++result;
}
}
return result;
}