//
// sub_FE25C from 0xfe25c to 0xfe284 (40 bytes)
//
// 3 xrefs:
// > sub_FE05C @ 0xfe0fc
// > sub_FE05C @ 0xfe11c
// > sub_FE284 @ 0xfe2f0
//
// 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_FE25C(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;
}