//
// sub_EFD4D0 from 0xefd4d0 to 0xefd574 (164 bytes)
//
// 1 xrefs:
// > sub_EFFC48 @ 0xeffccc
//
// 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 13:12:17 +0000
//
float __fastcall sub_EFD4D0(unsigned int a1)
{
unsigned int v1; // w1
int v2; // w3
int v3; // w2
if ( a1 > 0xFFFF )
return (double)a1 * 1.44269504 * log((double)a1);
v1 = a1;
v2 = 1;
v3 = 0;
do
{
v1 >>= 1;
++v3;
v2 *= 2;
}
while ( v1 > 0xFF );
return (float)((23 * ((v2 - 1) & a1)) >> 4) + (float)((float)((float)v3 + flt_11E4D60[v1]) * (float)(int)a1);
}