//
// EC_KEY_up_ref from 0x9fd924 to 0x9fd968 (68 bytes)
//
// 3 xrefs:
// > EVP_PKEY_set1_EC_KEY @ 0xa1a298
// > EVP_PKEY_get1_EC_KEY @ 0xa1a304
// > ??> @ 0x7b12c
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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 12:07:36 +0000
//
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;
}