//
// sub_1800504C0 from 0x1800504c0 to 0x1800504cd (13 bytes)
//
// 3 xrefs:
// > sub_18004A3A0 @ 0x18004a42a
// > sub_18004A3A0 @ 0x18004a433
// > sub_18004A3A0 @ 0x18004a4a4
//
// 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_1800504C0(unsigned int a1)
{
__int64 result; // rax
for ( result = 0; a1; a1 >>= 1 )
result = (unsigned int)(result + 1);
return result;
}