//
// sub_100692568 from 0x100692568 to 0x100692598 (48 bytes)
//
// 3 xrefs:
// > sub_10066F62C @ 0x10066f654
// > sub_10066FF30 @ 0x10066ff30
// > sub_1006A71F4 @ 0x1006a71f4
//
// This function is hookable on this platform (idp: arm, 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 11:11:32 +0000
//
unsigned __int64 __fastcall sub_100692568(char *a1, __int64 a2, unsigned __int64 a3)
{
unsigned __int64 v3; // x8
char *v4; // x9
__int64 v5; // t1
v3 = 5381;
if ( a2 >= 1 )
{
v4 = &a1[a2];
do
{
v5 = *a1++;
v3 = v5 ^ (33 * v3);
}
while ( a1 < v4 );
}
return v3 % a3;
}