//
// sub_100621E5C from 0x100621e5c to 0x100621e98 (60 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:20 +0000
//
__int64 __fastcall sub_100621E5C(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;
}