//
// EVP_PKEY_up_ref from 0xdac078 to 0xdac0c0 (72 bytes)
//
// 17 xrefs:
// > ssl3_ctrl @ 0xd38b84
// > ssl_cert_dup @ 0xd3a0e4
// > ssl_cert_dup @ 0xd3a12c
// > sub_D440A4 @ 0xd44148
// > SSL_use_PrivateKey @ 0xd44924
// > SSL_CTX_use_PrivateKey @ 0xd45214
// > EVP_PKEY_derive_set_peer @ 0xdad698
// > EVP_PKEY_CTX_new @ 0xdae018
// > EVP_PKEY_CTX_dup @ 0xdae158
// > EVP_PKEY_CTX_dup @ 0xdae170
// > PKCS7_SIGNER_INFO_set @ 0xdcec6c
// > X509_PUBKEY_set @ 0xdf2034
// > X509_PUBKEY_get @ 0xdf212c
// > CMS_add1_recipient_cert @ 0xe1eaa0
// > cms_RecipientInfo_kari_init @ 0xe1f414
// > CMS_add1_signer @ 0xe228fc
// > ??> @ 0x2eae8
//
// 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 EVP_PKEY_up_ref(__int64 a1)
{
int v2; // [xsp+1Ch] [xbp+1Ch] BYREF
return (int)CRYPTO_atomic_add(a1 + 8, 1, &v2, *(_QWORD *)(a1 + 56)) > 0 && v2 > 1;
}