//
// RSA_up_ref from 0x105238c to 0x10523d4 (72 bytes)
//
// 5 xrefs:
// > SSL_use_RSAPrivateKey @ 0xfc290c
// > SSL_CTX_use_RSAPrivateKey @ 0xfc3200
// > EVP_PKEY_set1_RSA @ 0x102a828
// > EVP_PKEY_get1_RSA @ 0x102a89c
// > ??> @ 0xb6f98
//
// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!
//
// 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 13:16:39 +0000
//
bool __fastcall RSA_up_ref(__int64 a1)
{
int v2; // [xsp+1Ch] [xbp+1Ch] BYREF
return (int)CRYPTO_atomic_add(a1 + 104, 1, &v2, *(_QWORD *)(a1 + 160)) > 0 && v2 > 1;
}