//
// RSA_up_ref from 0x82dac0 to 0x82db04 (68 bytes)
//
// 5 xrefs:
// > SSL_use_RSAPrivateKey @ 0x79bbf0
// > SSL_CTX_use_RSAPrivateKey @ 0x79c4b4
// > EVP_PKEY_set1_RSA @ 0x80556c
// > EVP_PKEY_get1_RSA @ 0x8055d4
// > ??> @ 0x5c85c
//
// 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 RSA_up_ref(int a1)
{
int v2; // [sp+4h] [bp-8h] BYREF
return CRYPTO_atomic_add(a1 + 52, 1, &v2, *(_DWORD *)(a1 + 84)) > 0 && v2 > 1;
}