//
// DH_up_ref from 0x1006320 to 0x1006368 (72 bytes)
//
// 3 xrefs:
// > EVP_PKEY_set1_DH @ 0x102aa38
// > EVP_PKEY_get1_DH @ 0x102aab0
// > ??> @ 0x48a18
//
// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 13:15:56 +0000
//
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;
}