//
// SSL_CTX_up_ref from 0xd41288 to 0xd412d0 (72 bytes)
//
// 4 xrefs:
// > SSL_set_SSL_CTX @ 0xd422fc
// > SSL_new @ 0xd435a0
// > SSL_new @ 0xd435d8
// > ??> @ 0x836b8
//
// 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(__int64 a1)
{
int v2; // [xsp+1Ch] [xbp+1Ch] BYREF
return (int)CRYPTO_atomic_add(a1 + 148, 1, &v2, *(_QWORD *)(a1 + 864)) > 0 && v2 > 1;
}