//
// sub_9201CC from 0x9201cc to 0x92025e (146 bytes)
//
// 0 xrefs:
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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:04:40 +0000
//
int __fastcall sub_9201CC(unsigned int a1)
{
unsigned int v1; // r2
int v2; // r1
int v3; // r3
double v4; // d16
float v5; // s15
float v7; // s15
if ( a1 >= 0x10000 )
{
v7 = log((double)a1) * 1.44269504;
return LODWORD(v7);
}
else
{
v1 = a1;
v2 = 1;
v3 = 0;
do
{
v1 >>= 1;
++v3;
v2 *= 2;
}
while ( v1 > 0xFF );
v4 = (float)((float)v3 + flt_C45330[v1]);
if ( a1 >= 0x1000 )
v4 = v4 + (double)((23 * ((v2 - 1) & a1)) >> 4) / (double)(int)a1;
v5 = v4;
return LODWORD(v5);
}
}