// // ssl_handshake_hash from 0x9af028 to 0x9af0b8 (144 bytes) // // 3 xrefs: // > tls1_final_finish_mac @ 0x9cf6fc // > tls1_generate_master_secret @ 0x9cfa88 // > @ 0x75f2c // // 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:06:55 +0000 // int __fastcall ssl_handshake_hash(int a1, int a2, int a3) { int v3; // r6 int v6; // r0 int v7; // r0 int v8; // r5 int v9; // r4 int v10; // r7 int v12; // r0 v3 = *(_DWORD *)(*(_DWORD *)(a1 + 104) + 216); v6 = EVP_MD_CTX_md(v3); v7 = EVP_MD_size(v6); if ( v7 > a3 ) v8 = 1; else v8 = (unsigned int)v7 >> 31; v9 = v7; if ( v8 || (v12 = EVP_MD_CTX_new(v7), (v10 = v12) == 0) ) { v9 = 0; v10 = 0; } else if ( EVP_MD_CTX_copy_ex(v12, v3) ) { if ( EVP_DigestFinal_ex(v10, a2, 0) <= 0 ) v9 = 0; } else { v9 = 0; } EVP_MD_CTX_free(v10); return v9; }
GD Web Decomp Icon

GD Web Decomp

Raw Source