//
// DSA_up_ref from 0xd89978 to 0xd899c0 (72 bytes)
//
// 3 xrefs:
// > EVP_PKEY_set1_DSA @ 0xdac578
// > EVP_PKEY_get1_DSA @ 0xdac5ec
// > ??> @ 0xaa8f8
//
// 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(__int64 a1)
{
int v2; // [xsp+1Ch] [xbp+1Ch] BYREF
return (int)CRYPTO_atomic_add(a1 + 72, 1, &v2, *(_QWORD *)(a1 + 104)) > 0 && v2 > 1;
}