//
// EVP_PKEY_set1_DH from 0x805710 to 0x80573c (44 bytes)
//
// 2 xrefs:
// > ssl_dh_to_pkey @ 0x78f2d8
// > ??> @ 0x5aefc
//
// 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 EVP_PKEY_set1_DH(_DWORD *a1, int a2)
{
int v3; // r5
v3 = EVP_PKEY_assign(a1, 28, a2);
if ( v3 )
DH_up_ref(a2);
return v3;
}