//
// sub_CBBF8 from 0xcbbf8 to 0xcbc0c (20 bytes)
//
// 2 xrefs:
// > sub_CB798 @ 0xcb828
// > sub_CB798 @ 0xcb83c
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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:41:56 +0000
//
int __fastcall sub_CBBF8(unsigned int a1)
{
int v1; // r1
v1 = 0;
if ( a1 )
--a1;
while ( a1 )
{
a1 >>= 1;
++v1;
}
return v1;
}