//
// EC_KEY_up_ref from 0xd8fd1c to 0xd8fd64 (72 bytes)
//
// 3 xrefs:
// > EVP_PKEY_set1_EC_KEY @ 0xdac628
// > EVP_PKEY_get1_EC_KEY @ 0xdac69c
// > ??> @ 0x938b8
//
// 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(__int64 a1)
{
int v2; // [xsp+1Ch] [xbp+1Ch] BYREF
return (int)CRYPTO_atomic_add(a1 + 56, 1, &v2, *(_QWORD *)(a1 + 72)) > 0 && v2 > 1;
}