//
// sub_C4FE4 from 0xc4fe4 to 0xc5002 (30 bytes)
//
// 1 xrefs:
// > sub_C7C28 @ 0xc8640
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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 11:41:51 +0000
//
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;
}