//
// sub_10042B790 from 0x10042b790 to 0x10042b7dc (76 bytes)
//
// 1 xrefs:
// > sub_10042B6F0 @ 0x10042b72c
//
// This function is hookable on this platform (idp: pc, 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 12:30:19 +0000
//
__int64 __fastcall sub_10042B790(const char *a1)
{
const char *v1; // rbx
int v2; // eax
const char *v3; // r14
__int64 result; // rax
v1 = a1;
v2 = strlen(a1);
if ( !v2 )
return 0;
v3 = &a1[v2];
LODWORD(result) = 0;
do
result = (16777619 * (_DWORD)result) ^ (unsigned int)(unsigned __int8)__toupper(*v1++);
while ( v1 < v3 );
return result;
}