//
// sub_E1D59C from 0xe1d59c to 0xe1d604 (104 bytes)
//
// 2 xrefs:
// > ??> @ 0x13fc490
// > ??> @ 0x13fc540
//
// 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:45 +0000
//
__int64 __fastcall sub_E1D59C(__int64 a1, bool *a2)
{
__int64 v3; // x19
__int64 result; // x0
v3 = a1 + 1560;
if ( (*(_DWORD *)(*(_QWORD *)(a1 + 1024) + 124LL) & 1) == 0
|| *(_BYTE *)(a1 + 1676)
|| (result = sub_E30164(a1, *(unsigned __int8 *)(a1 + 1676), a1 + 1676), !(_DWORD)result) && *(_BYTE *)(v3 + 116) )
{
result = sub_E202AC(v3, 0);
*a2 = *(_DWORD *)(v3 + 112) == 0;
}
return result;
}