//
// sub_180042C40 from 0x180042c40 to 0x180042c69 (41 bytes)
//
// 1 xrefs:
// > sub_1800453A0 @ 0x180045942
//
// 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
//
unsigned __int8 __fastcall sub_180042C40(unsigned __int8 *a1, int a2)
{
unsigned __int8 result; // al
unsigned __int64 v3; // r8
for ( result = 0; a2; --a2 )
{
v3 = *a1++;
result = byte_180165720[result ^ v3];
}
return result;
}