//
// sub_EA1E0 from 0xea1e0 to 0xea21c (60 bytes)
//
// 1 xrefs:
// > sub_EA158 @ 0xea1ac
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
__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;
}