//
// DH_up_ref from 0xd87fc0 to 0xd88008 (72 bytes)
//
// 3 xrefs:
// > EVP_PKEY_set1_DH @ 0xdac6d8
// > EVP_PKEY_get1_DH @ 0xdac750
// > ??> @ 0x30c30
//
// 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(__int64 a1)
{
int v2; // [xsp+1Ch] [xbp+1Ch] BYREF
return (int)CRYPTO_atomic_add(a1 + 104, 1, &v2, *(_QWORD *)(a1 + 136)) > 0 && v2 > 1;
}