//
// ENGINE_up_ref from 0x101c3a4 to 0x101c410 (108 bytes)
//
// 1 xrefs:
// > ??> @ 0x74c50
//
// 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:08 +0000
//
__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;
}
}