//
// sub_180042C40 from 0x180042c40 to 0x180042c69 (41 bytes)
//
// 1 xrefs:
// > sub_1800453A0 @ 0x180045942
//
// This function is hookable on this platform (idp: pc, 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 10:53:12 +0000
//
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;
}