//
// sub_180041990 from 0x180041990 to 0x18004199d (13 bytes)
//
// 1 xrefs:
// > sub_1800474C0 @ 0x1800477eb
//
// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!
//
// 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 10:53:11 +0000
//
__int64 __fastcall sub_180041990(unsigned int a1)
{
__int64 result; // rax
unsigned int i; // ecx
result = 0;
for ( i = a1 >> 1; i; i >>= 1 )
result = (unsigned int)(result + 1);
return result;
}