//
// sub_CA3A4 from 0xca3a4 to 0xca3b8 (20 bytes)
//
// 3 xrefs:
// > sub_C9C84 @ 0xc9cc2
// > sub_C9C84 @ 0xc9d50
// > sub_C9C84 @ 0xc9d5c
//
// 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:55 +0000
//
int __fastcall sub_CA3A4(unsigned int a1)
{
int v1; // r1
v1 = 0;
if ( a1 )
--a1;
while ( a1 )
{
a1 >>= 1;
++v1;
}
return v1;
}