//
// sub_710574 from 0x710574 to 0x710600 (140 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_710574(int a1)
{
unsigned int v1; // r3
int v2; // r1
int v3; // r2
if ( (unsigned int)a1 >= 0x10000 )
{
return (double)(unsigned int)a1 * 1.44269504 * log((double)(unsigned int)a1);
}
else
{
v1 = a1;
v2 = 1;
v3 = 0;
do
{
v1 >>= 1;
++v3;
v2 *= 2;
}
while ( v1 > 0xFF );
return (float)((23 * (a1 & (unsigned int)(v2 - 1))) >> 4) + (float)((float)((float)v3 + flt_A02D98[v1]) * (float)a1);
}
}