//
// sub_E219E8 from 0xe219e8 to 0xe21a4c (100 bytes)
//
// 2 xrefs:
// > sub_6320DC @ 0x63237c
// > sub_DFD690 @ 0xdfd6d0
//
// 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:09:46 +0000
//
__int64 __fastcall sub_E219E8(__int64 a1)
{
int v2; // w2
__int64 result; // x0
v2 = sub_E16180(*(_DWORD *)(a1 + 608), -1, 0xFFFFFFFF, 0);
result = 0;
if ( v2 )
{
result = 1;
if ( (v2 & 4) == 0 && (v2 & 1) != 0 )
return (unsigned __int8)sub_E0F2A4(a1) ^ 1u;
}
return result;
}