// // sub_71060C from 0x71060c to 0x71069e (146 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 // int __fastcall sub_71060C(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_A02D98[v1]); if ( a1 >= 0x1000 ) v4 = v4 + (double)((23 * ((v2 - 1) & a1)) >> 4) / (double)(int)a1; v5 = v4; return LODWORD(v5); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source