//
// DH_up_ref from 0x7e0790 to 0x7e07d4 (68 bytes)
//
// 3 xrefs:
// > EVP_PKEY_set1_DH @ 0x805730
// > EVP_PKEY_get1_DH @ 0x8057a0
// > ??> @ 0x60b3c
//
// 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
//
bool __fastcall DH_up_ref(int a1)
{
int v2; // [sp+4h] [bp-8h] BYREF
return CRYPTO_atomic_add(a1 + 56, 1, &v2, *(_DWORD *)(a1 + 72)) > 0 && v2 > 1;
}