//
// EVP_PKEY_get0_DH from 0x80573c to 0x805788 (76 bytes)
//
// 6 xrefs:
// > sub_64231C @ 0x642a00
// > tls_construct_client_key_exchange @ 0x7a25d0
// > tls_construct_server_key_exchange @ 0x7aa904
// > tls_process_client_key_exchange @ 0x7ab8c4
// > EVP_PKEY_get1_DH @ 0x805794
// > ??> @ 0x54e7c
//
// 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_get0_DH(_DWORD *a1)
{
bool v1; // zf
v1 = *a1 == 920;
if ( *a1 != 920 )
v1 = *a1 == 28;
if ( v1 )
return a1[5];
ERR_put_error(6, 119, 128, (int)"crypto/evp/p_lib.c", 347);
return 0;
}