//
// sub_EA1E0 from 0xea1e0 to 0xea21c (60 bytes)
//
// 1 xrefs:
// > sub_EA158 @ 0xea1ac
//
// 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 12:15:01 +0000
//
__int64 __fastcall sub_EA1E0(_BYTE *a1, __int64 a2)
{
int i; // w8
int v3; // w10
for ( i = -2128831035; ; i = 16777619 * (i ^ v3) )
{
v3 = (unsigned __int8)*a1;
if ( !*a1 )
break;
++a1;
}
*(_DWORD *)(a2 + 12) = 0;
*(_QWORD *)(a2 + 4) = 0;
*(_DWORD *)a2 = i;
return 0;
}