//
// sub_DBDE60 from 0xdbde60 to 0xdbdea0 (64 bytes)
//
// 2 xrefs:
// > pugi::xpath_variable_set::find @ 0xdd6f78
// > pugi::xpath_variable_set::add @ 0xdd6fec
//
// 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:08:46 +0000
//
__int64 __fastcall sub_DBDE60(_BYTE *a1)
{
int v1; // w2
unsigned int v2; // w1
int v3; // w1
int v4; // t1
v1 = (unsigned __int8)*a1;
if ( !*a1 )
return 0;
v2 = 0;
do
{
v3 = v2 + v1;
v4 = (unsigned __int8)*++a1;
v1 = v4;
v2 = (1025 * v3) ^ ((unsigned int)(1025 * v3) >> 6);
}
while ( v4 );
return 32769 * ((9 * v2) ^ ((9 * v2) >> 11));
}