//
// sub_E3C48 from 0xe3c48 to 0xe3c94 (76 bytes)
//
// 2 xrefs:
// > sub_E3C94 @ 0xe3cc0
// > sub_E3C94 @ 0xe3cf4
//
// 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 12:14:58 +0000
//
__int64 __fastcall sub_E3C48(char a1)
{
if ( (a1 & 0x80) == 0 )
return 1;
if ( (a1 & 0xE0) == 0xC0 )
return 2;
if ( (a1 & 0xF0) == 0xE0 )
return 3;
if ( (a1 & 0xF8) == 0xF0 )
return 4;
return 1;
}