// // sub_10060C9FC from 0x10060c9fc to 0x10060ca84 (136 bytes) // // 0 xrefs: // // 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 11:10:07 +0000 // __int64 __fastcall sub_10060C9FC(float a1) { int v1; // w19 long double v2; // d8 float v3; // s0 float v4; // s0 int v5; // w20 float v6; // s0 v1 = a1 < 0.0; if ( a1 < 0.0 ) a1 = -a1; v2 = a1; v3 = log(a1); v4 = floor(v3 / 0.693147181); v5 = (int)v4; v6 = ldexp(v2, 20 - (int)v4); return ((v5 << 21) + 1610612736) | (v1 << 31) | (unsigned int)(int)rintf(v6); }
GD Web Decomp Icon

GD Web Decomp

Raw Source