//
// sub_E0FF48 from 0xe0ff48 to 0xe0ff78 (48 bytes)
//
// 4 xrefs:
// > sub_DE72F0 @ 0xde7338
// > sub_DE7CD8 @ 0xde7cec
// > sub_E25884 @ 0xe25894
// > ??> @ 0x1546078
//
// 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 13:09:38 +0000
//
unsigned __int64 __fastcall sub_E0FF48(unsigned __int8 *a1, __int64 a2, unsigned __int64 a3)
{
unsigned __int8 *v3; // x1
unsigned __int64 v4; // x3
unsigned int v5; // t1
v3 = &a1[a2];
v4 = 5381;
if ( a1 < v3 )
{
do
{
v5 = *a1++;
v4 = (33 * v4) ^ v5;
}
while ( a1 != v3 );
}
return v4 % a3;
}