//
// sub_1005ECCF4 from 0x1005eccf4 to 0x1005ecd38 (68 bytes)
//
// 0 xrefs:
//
// This function is hookable on this platform (idp: arm, 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 11:09:46 +0000
//
__int64 __fastcall sub_1005ECCF4(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;
}