//
// engine_table_unregister from 0xac95d8 to 0xac961c (68 bytes)
//
// 10 xrefs:
// > ENGINE_unregister_pkey_asn1_meths @ 0xa0d278
// > ENGINE_unregister_ciphers @ 0xa0d6b0
// > ENGINE_unregister_DH @ 0xa0d894
// > ENGINE_unregister_digests @ 0xa0d9c4
// > ENGINE_unregister_DSA @ 0xa0dba8
// > ENGINE_unregister_EC @ 0xa0dcd8
// > ENGINE_unregister_pkey_meths @ 0xa0de08
// > ENGINE_unregister_RAND @ 0xa0e070
// > ENGINE_unregister_RSA @ 0xa0e1a0
// > ??> @ 0x7c04c
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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 12:09:19 +0000
//
bool __fastcall engine_table_unregister(int *a1, int a2)
{
CRYPTO_THREAD_write_lock((pthread_rwlock_t *)global_engine_lock);
if ( *a1 )
OPENSSL_LH_doall_arg(*a1, (int (__fastcall *)(_DWORD, int))sub_AC9330, a2);
return CRYPTO_THREAD_unlock((pthread_rwlock_t *)global_engine_lock);
}