// // sub_1005FF140 from 0x1005ff140 to 0x1005ff168 (40 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:09:56 +0000 // __int64 __fastcall sub_1005FF140(unsigned int a1) { unsigned int v1; // w8 char v2; // w9 v1 = 0; if ( (a1 & 1) == 0 ) { do { v2 = a1; ++v1; a1 >>= 1; } while ( (v2 & 2) == 0 ); } if ( v1 >= 0xF ) return 15; else return v1; }
GD Web Decomp Icon

GD Web Decomp

Raw Source