//
// DH_up_ref from 0x9f5390 to 0x9f53d4 (68 bytes)
//
// 3 xrefs:
// > EVP_PKEY_set1_DH @ 0xa1a330
// > EVP_PKEY_get1_DH @ 0xa1a3a0
// > ??> @ 0x7a5bc
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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 12:07:31 +0000
//
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;
}