//
// SSL_up_ref from 0x795ba4 to 0x795be8 (68 bytes)
//
// 1 xrefs:
// > ??> @ 0x5b7bc
//
// 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 SSL_up_ref(int a1)
{
int v2; // [sp+4h] [bp-8h] BYREF
return CRYPTO_atomic_add(a1 + 296, 1, &v2, *(_DWORD *)(a1 + 2864)) > 0 && v2 > 1;
}