//
// ENGINE_up_ref from 0x7f8198 to 0x7f81fc (100 bytes)
//
// 1 xrefs:
// > ??> @ 0x6253c
//
// 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
//
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;
}
}