//
// ENGINE_up_ref from 0xd9e044 to 0xd9e0b0 (108 bytes)
//
// 1 xrefs:
// > ??> @ 0x543f0
//
// 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
//
__int64 __fastcall ENGINE_up_ref(__int64 a1)
{
char v2; // [xsp+2Ch] [xbp+2Ch] BYREF
if ( a1 )
{
CRYPTO_atomic_add(a1 + 156, 1, &v2, global_engine_lock);
return 1;
}
else
{
ERR_put_error(38, 190, 67, "crypto/engine/eng_list.c", 349);
return 0;
}
}