//
// EC_KEY_up_ref from 0x7e8d24 to 0x7e8d68 (68 bytes)
//
// 3 xrefs:
// > EVP_PKEY_set1_EC_KEY @ 0x805698
// > EVP_PKEY_get1_EC_KEY @ 0x805704
// > ??> @ 0x616ac
//
// 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 EC_KEY_up_ref(int a1)
{
int v2; // [sp+4h] [bp-8h] BYREF
return CRYPTO_atomic_add(a1 + 32, 1, &v2, *(_DWORD *)(a1 + 44)) > 0 && v2 > 1;
}