//
// sub_C4FE4 from 0xc4fe4 to 0xc5002 (30 bytes)
//
// 1 xrefs:
// > sub_C7C28 @ 0xc8640
//
// 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
//
int __fastcall sub_C4FE4(unsigned __int8 *a1, int a2)
{
unsigned __int8 v2; // r3
int v3; // t1
v2 = 0;
while ( a2 )
{
v3 = *a1++;
--a2;
v2 = byte_415A4[v2 ^ v3];
}
return v2;
}