// // sub_C87310 from 0xc87310 to 0xc873b4 (164 bytes) // // 1 xrefs: // > sub_C89A88 @ 0xc89b0c // // 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_C87310(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_F54D80[v1]) * (float)(int)a1); }
GD Web Decomp Icon

GD Web Decomp

Raw Source