//
// SSL_CTX_up_ref from 0x7986c8 to 0x79870c (68 bytes)
//
// 4 xrefs:
// > SSL_set_SSL_CTX @ 0x799844
// > SSL_new @ 0x79aae4
// > SSL_new @ 0x79ab20
// > ??> @ 0x5bebc
//
// 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_CTX_up_ref(int a1)
{
int v2; // [sp+4h] [bp-8h] BYREF
return CRYPTO_atomic_add(a1 + 96, 1, &v2, *(_DWORD *)(a1 + 528)) > 0 && v2 > 1;
}