// // OPENSSL_LH_strhash from 0xdb33a4 to 0xdb3410 (108 bytes) // // 9 xrefs: // > sub_DC0F24 @ 0xdc0f54 // > sub_DC1888 @ 0xdc18cc // > sub_DC1888 @ 0xdc18f0 // > sub_E22E48 @ 0xe22e5c // > sub_E22E48 @ 0xe22e68 // > @ 0x64050 // > OPENSSL_LH_new @ 0xdb34c4 // > OBJ_NAME_new_index @ 0xdc1170 // > @ 0x122b3a8 // // 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 // unsigned __int8 *__fastcall OPENSSL_LH_strhash(unsigned __int8 *result) { unsigned __int8 v1; // w4 __int64 v2; // x1 unsigned __int64 v3; // x3 __int64 v4; // x5 __int64 v5; // x2 int v6; // t1 unsigned __int64 v7; // x1 if ( result ) { v1 = *result; v2 = 0; if ( *result ) { v3 = 0; v4 = 256; do { v5 = v1; v6 = *++result; v1 = v6; v7 = v4 | v5; v4 += 256; v3 = ((unsigned int)(v3 >> (32 - (((v7 >> 2) ^ v7) & 0xF))) | (unsigned int)(v3 << (((v7 >> 2) ^ v7) & 0xF))) ^ (v7 * v7); } while ( v6 ); return (unsigned __int8 *)(v3 ^ (v3 >> 16)); } return (unsigned __int8 *)v2; } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source