//
// sub_10042A6EC from 0x10042a6ec to 0x10042a71c (48 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_10042A6EC(unsigned __int64 a1)
{
__int64 v2; // x8
bool v3; // cc
if ( a1 < 2 )
return 0;
LODWORD(v2) = 0;
do
{
v2 = (unsigned int)(v2 + 1);
v3 = a1 > 3;
a1 >>= 1;
}
while ( v3 );
return v2;
}