// // sub_F66F4 from 0xf66f4 to 0xf671c (40 bytes) // // 2 xrefs: // > sub_F6160 @ 0xf6210 // > sub_F6160 @ 0xf622c // // 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 // __int64 __fastcall sub_F66F4(int a1) { unsigned int v1; // w9 bool v2; // zf __int64 result; // x0 unsigned int v4; // w8 v1 = a1 - 1; v2 = a1 == 0; result = 0; if ( v2 ) v4 = 0; else v4 = v1; for ( ; v4; v4 >>= 1 ) result = (unsigned int)(result + 1); return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source