//
// DSA_up_ref from 0x7e20f8 to 0x7e213c (68 bytes)
//
// 3 xrefs:
// > EVP_PKEY_set1_DSA @ 0x805600
// > EVP_PKEY_get1_DSA @ 0x80566c
// > ??> @ 0x60ebc
//
// 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 DSA_up_ref(int a1)
{
int v2; // [sp+4h] [bp-8h] BYREF
return CRYPTO_atomic_add(a1 + 36, 1, &v2, *(_DWORD *)(a1 + 52)) > 0 && v2 > 1;
}