//
// sub_1004C6B8C from 0x1004c6b8c to 0x1004c6bd0 (68 bytes)
//
// 0 xrefs:
//
// 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_1004C6B8C(int a1)
{
unsigned int v1; // w8
if ( (a1 & 0xF8) == 0xF0 )
v1 = 4;
else
v1 = 1;
if ( (a1 & 0xF0) == 0xE0 )
v1 = 3;
if ( (a1 & 0xE0) == 0xC0 )
v1 = 2;
if ( a1 < 0 )
return v1;
else
return 1;
}