//
// do_engine_lock_init_ossl_ from 0x101b688 to 0x101b6c8 (64 bytes)
//
// 8 xrefs:
// > ??> @ 0xc35e0
// > ENGINE_init @ 0x101b550
// > ENGINE_new @ 0x101b708
// > ENGINE_get_first @ 0x101bb40
// > ENGINE_get_last @ 0x101bbe4
// > ENGINE_by_id @ 0x101c0e4
// > ENGINE_pkey_asn1_find_str @ 0x101cc70
// > ??> @ 0x1545b58
//
// 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:07 +0000
//
__int64 do_engine_lock_init_ossl_()
{
__int64 inited; // x0
__int64 result; // x0
inited = OPENSSL_init_crypto(0);
result = CRYPTO_THREAD_lock_new(inited);
global_engine_lock = result;
do_engine_lock_init_ossl_ret_ = result != 0;
return result;
}