//
// sub_62E650 from 0x62e650 to 0x62e678 (40 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
//
int __fastcall sub_62E650(unsigned __int8 *a1, int a2, unsigned int a3)
{
unsigned __int8 *v3; // r1
unsigned __int8 *v4; // r3
bool v5; // cf
unsigned int v6; // r0
int v7; // t1
v3 = &a1[a2];
v4 = a1;
v5 = a1 >= v3;
v6 = 5381;
if ( !v5 )
{
do
{
v7 = *v4++;
v6 = (33 * v6) ^ v7;
}
while ( v4 != v3 );
}
return v6 % a3;
}