//
// engine_table_unregister from 0xe5e40c to 0xe5e464 (88 bytes)
//
// 10 xrefs:
// > ENGINE_unregister_pkey_asn1_meths @ 0xd9e558
// > ENGINE_unregister_ciphers @ 0xd9e9e0
// > ENGINE_unregister_DH @ 0xd9ebdc
// > ENGINE_unregister_digests @ 0xd9ecc8
// > ENGINE_unregister_DSA @ 0xd9eec4
// > ENGINE_unregister_EC @ 0xd9efb0
// > ENGINE_unregister_pkey_meths @ 0xd9f09c
// > ENGINE_unregister_RAND @ 0xd9f330
// > ENGINE_unregister_RSA @ 0xd9f41c
// > ??> @ 0x96ba0
//
// 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
//
bool __fastcall engine_table_unregister(__int64 *a1, __int64 a2)
{
CRYPTO_THREAD_write_lock((pthread_rwlock_t *)global_engine_lock);
if ( *a1 )
OPENSSL_LH_doall_arg(*a1, sub_E5E148, a2);
return CRYPTO_THREAD_unlock((pthread_rwlock_t *)global_engine_lock);
}