//
// sub_10042EE5C from 0x10042ee5c to 0x10042ee94 (56 bytes)
//
// 0 xrefs:
//
// 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_10042EE5C(unsigned __int8 *a1, int a2)
{
__int64 i; // x8
int v3; // t1
for ( i = 0; a2; --a2 )
{
v3 = *a1++;
i = LOWORD(dword_10084C640[v3 ^ ((unsigned int)i >> 8)]) ^ ((unsigned __int8)i << 8);
}
return i;
}