//
// sub_E1DA34 from 0xe1da34 to 0xe1daa4 (112 bytes)
//
// 2 xrefs:
// > ??> @ 0x13fc498
// > ??> @ 0x13fc548
//
// 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_E1DA34(__int64 a1, bool *a2)
{
__int64 v3; // x19
__int64 result; // x0
v3 = a1 + 1560;
if ( (*(_DWORD *)(*(_QWORD *)(a1 + 1024) + 124LL) & 1) == 0 || *(_BYTE *)(a1 + 1676) )
goto LABEL_3;
result = sub_E30164(a1, *(unsigned __int8 *)(a1 + 1676), a1 + 1676);
if ( !(_DWORD)result )
{
if ( !*(_BYTE *)(v3 + 116) )
return 0;
LABEL_3:
result = sub_E202AC(v3, 0);
*a2 = *(_DWORD *)(v3 + 112) == 0;
if ( (_DWORD)result )
return result;
return 0;
}
return result;
}