//
// sub_1004390C0 from 0x1004390c0 to 0x1004390f8 (56 bytes)
//
// 0 xrefs:
//
// 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_1004390C0(float a1, float a2)
{
float result; // s0
float v4; // w8
result = (float)(a1 + a2) * 0.5;
if ( a1 > a2 )
{
if ( result >= 0.0 )
v4 = -180.0;
else
v4 = 180.0;
return result + v4;
}
return result;
}