//
// sub_5B51AC from 0x5b51ac to 0x5b51d2 (38 bytes)
//
// 3 xrefs:
// > cocos2d::CCCallFuncND::getClassTypeInfo @ 0x5b5280
// > cocos2d::CCCallFuncO::getClassTypeInfo @ 0x5b52cc
// > cocos2d::CCCallFuncN::getClassTypeInfo @ 0x5b5318
//
// 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_5B51AC(const char *a1)
{
const char *v1; // r5
const char *v2; // r6
int result; // r0
int v4; // t1
v1 = a1;
v2 = &a1[strlen(a1)];
result = 0;
while ( v1 < v2 )
{
v4 = *(unsigned __int8 *)v1++;
result = (unsigned __int8)toupper(v4) ^ (16777619 * result);
}
return result;
}