// // sub_C873C0 from 0xc873c0 to 0xc87464 (164 bytes) // // 1 xrefs: // > sub_C89A88 @ 0xc89afc // // 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_C873C0(unsigned int a1) { unsigned int v1; // w2 int v2; // w3 int v3; // w1 double v4; // d0 if ( a1 > 0xFFFF ) return log((double)a1) * 1.44269504; v1 = a1; v2 = 1; v3 = 0; do { v1 >>= 1; ++v3; v2 *= 2; } while ( v1 > 0xFF ); v4 = (float)((float)v3 + flt_F54D80[v1]); if ( a1 > 0xFFF ) return v4 + (double)((23 * ((v2 - 1) & a1)) >> 4) / (double)(int)a1; return v4; }
GD Web Decomp Icon

GD Web Decomp

Raw Source