//
// sub_E1AFFC from 0xe1affc to 0xe1b004 (8 bytes)
//
// 4 xrefs:
// > ??> @ 0x13fc370
// > ??> @ 0x13fc378
// > ??> @ 0x13fc420
// > ??> @ 0x13fc428
//
// 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:43 +0000
//
__int64 __fastcall sub_E1AFFC(__int64 a1, _DWORD *a2, int a3)
{
__int64 v3; // x3
__int64 result; // x0
__int64 v5; // x2
v3 = a1 + 1560;
result = 0;
if ( a3 )
{
v5 = *(_QWORD *)(v3 + 48);
*a2 = *(_DWORD *)(*(_QWORD *)(v3 + 88) + 608LL);
if ( v5 )
return 0x10000;
else
return 1;
}
return result;
}