//
// sub_CBBF8 from 0xcbbf8 to 0xcbc0c (20 bytes)
//
// 2 xrefs:
// > sub_CB798 @ 0xcb828
// > sub_CB798 @ 0xcb83c
//
// 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
//
int __fastcall sub_CBBF8(unsigned int a1)
{
int v1; // r1
v1 = 0;
if ( a1 )
--a1;
while ( a1 )
{
a1 >>= 1;
++v1;
}
return v1;
}