// // OPENSSL_LH_strhash from 0xa20e3c to 0xa20e98 (92 bytes) // // 9 xrefs: // > sub_A302E0 @ 0xa30310 // > sub_A30C2C @ 0xa30c70 // > sub_A30C2C @ 0xa30c84 // > sub_A8D23C @ 0xa8d248 // > sub_A8D23C @ 0xa8d254 // > @ 0x7db6c // > OPENSSL_LH_new @ 0xa20f38 // > OBJ_NAME_new_index @ 0xa304d8 // > @ 0xd1d5f4 // // This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False! // // 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:07:55 +0000 // unsigned __int8 *__fastcall OPENSSL_LH_strhash(unsigned __int8 *result) { int v1; // r1 int v2; // r12 unsigned int v3; // lr unsigned int v4; // r3 int v5; // t1 if ( result ) { v1 = *result; if ( *result ) { v2 = 256; v3 = 0; do { v4 = v2 | v1; v5 = *++result; v1 = v5; v2 += 256; v3 = (v4 * v4) ^ __ROR4__(v3, 32 - ((v4 ^ (v4 >> 2)) & 0xF)); } while ( v5 ); return (unsigned __int8 *)(v3 ^ HIWORD(v3)); } else { return (unsigned __int8 *)*result; } } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source