// // ssl_handshake_hash from 0xfc1254 to 0xfc1324 (208 bytes) // // 3 xrefs: // > tls1_final_finish_mac @ 0xfdf748 // > tls1_generate_master_secret @ 0xfdfac4 // > @ 0x4af50 // // 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:15:21 +0000 // __int64 __fastcall ssl_handshake_hash(__int64 a1, __int64 a2, int a3) { __int64 v4; // x21 __int64 v5; // x0 __int64 v6; // x0 unsigned int v7; // w19 __int64 v8; // x0 __int64 v9; // x20 v4 = *(_QWORD *)(*(_QWORD *)(a1 + 144) + 224LL); v5 = EVP_MD_CTX_md(v4); v6 = EVP_MD_size(v5); v7 = v6; if ( (int)v6 > a3 || (v6 & 0x80000000) != 0 || (v8 = EVP_MD_CTX_new(v6), (v9 = v8) == 0) ) { EVP_MD_CTX_free(0); return 0; } else if ( (unsigned int)EVP_MD_CTX_copy_ex(v8, v4) ) { if ( (int)EVP_DigestFinal_ex(v9, a2, 0) <= 0 ) v7 = 0; EVP_MD_CTX_free(v9); return v7; } else { EVP_MD_CTX_free(v9); return 0; } }
GD Web Decomp Icon

GD Web Decomp

Raw Source