// // sub_1004FBCF4 from 0x1004fbcf4 to 0x1004fbd30 (60 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 // __int64 __fastcall sub_1004FBCF4(unsigned int a1) { unsigned int v1; // w8 bool v2; // cc v1 = 0; if ( a1 ) { do { v1 += 5; v2 = a1 > 1; a1 >>= 1; } while ( v2 ); v1 >>= 2; } if ( (int)v1 <= 5 ) v1 = 5; if ( v1 >= 8 ) return 8; else return v1; }
GD Web Decomp Icon

GD Web Decomp

Raw Source