// // ssl_handshake_hash from 0x79a424 to 0x79a4b4 (144 bytes) // // 3 xrefs: // > tls1_final_finish_mac @ 0x7baaf8 // > tls1_generate_master_secret @ 0x7bae84 // > @ 0x5c4ac // // 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 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