//
// ENGINE_up_ref from 0xa0cd98 to 0xa0cdfc (100 bytes)
//
// 1 xrefs:
// > ??> @ 0x7bfbc
//
// 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:44 +0000
//
int __fastcall ENGINE_up_ref(int a1)
{
_BYTE v2[4]; // [sp+Ch] [bp-4h] BYREF
if ( a1 )
{
CRYPTO_atomic_add(a1 + 80, 1, v2, global_engine_lock);
return 1;
}
else
{
ERR_put_error(38, 190, 67, "crypto/engine/eng_list.c", 349);
return 0;
}
}