//
// EC_KEY_up_ref from 0x100e07c to 0x100e0c4 (72 bytes)
//
// 3 xrefs:
// > EVP_PKEY_set1_EC_KEY @ 0x102a988
// > EVP_PKEY_get1_EC_KEY @ 0x102a9fc
// > ??> @ 0xc2f08
//
// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 13:16:01 +0000
//
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;
}