// // DH_set0_key from 0xd881d0 to 0xd8823c (108 bytes) // // 4 xrefs: // > tls_process_key_exchange @ 0xd4bff0 // > tls_process_client_key_exchange @ 0xd532fc // > DSA_dup_DH @ 0xd89b4c // > @ 0x95490 // // 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 // __int64 __fastcall DH_set0_key(__int64 a1, __int64 a2, __int64 a3) { __int64 v4; // x0 v4 = *(_QWORD *)(a1 + 32); if ( v4 ) { if ( !a2 ) goto LABEL_4; } else if ( !a2 ) { return 0; } BN_free(v4); *(_QWORD *)(a1 + 32) = a2; LABEL_4: if ( !a3 ) return 1; BN_free(*(_QWORD *)(a1 + 40)); *(_QWORD *)(a1 + 40) = a3; return 1; }
GD Web Decomp Icon

GD Web Decomp

Raw Source