//
// ENGINE_get_last from 0x101bbd0 to 0x101bc74 (164 bytes)
//
// 1 xrefs:
// > ??> @ 0x44008
//
// 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 ENGINE_get_last()
{
__int64 v0; // x19
if ( (unsigned int)CRYPTO_THREAD_run_once(&engine_lock_init, do_engine_lock_init_ossl_)
&& do_engine_lock_init_ossl_ret_ )
{
CRYPTO_THREAD_write_lock(global_engine_lock);
v0 = qword_1566408;
if ( qword_1566408 )
++*(_DWORD *)(qword_1566408 + 156);
CRYPTO_THREAD_unlock(global_engine_lock);
return v0;
}
else
{
ERR_put_error(38, 196, 65, "crypto/engine/eng_list.c", 159);
return 0;
}
}