//
// engine_table_unregister from 0x10dc40c to 0x10dc464 (88 bytes)
//
// 10 xrefs:
// > ENGINE_unregister_pkey_asn1_meths @ 0x101c8b8
// > ENGINE_unregister_ciphers @ 0x101cd40
// > ENGINE_unregister_DH @ 0x101cf3c
// > ENGINE_unregister_digests @ 0x101d028
// > ENGINE_unregister_DSA @ 0x101d224
// > ENGINE_unregister_EC @ 0x101d310
// > ENGINE_unregister_pkey_meths @ 0x101d3fc
// > ENGINE_unregister_RAND @ 0x101d690
// > ENGINE_unregister_RSA @ 0x101d77c
// > ??> @ 0xc70d8
//
// 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:17:46 +0000
//
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_10DC148, a2);
return CRYPTO_THREAD_unlock((pthread_rwlock_t *)global_engine_lock);
}