//
// isLegalUTF8Sequence from 0xd8cf5c to 0xd8cf8c (48 bytes)
//
// 1 xrefs:
// > ??> @ 0x5ebb8
//
// 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 13:08:16 +0000
//
__int64 __fastcall isLegalUTF8Sequence(unsigned __int8 *a1, const unsigned __int8 *a2)
{
__int64 v2; // x3
int v3; // w1
v2 = a2 - a1;
v3 = byte_11AC5C0[*a1] + 1;
if ( v2 < v3 )
return 0;
else
return sub_D8C8A4(a1, v3);
}