//
// engine_cleanup_int from 0x101b9a4 to 0x101b9ec (72 bytes)
//
// 2 xrefs:
// > OPENSSL_cleanup @ 0x103011c
// > ??> @ 0x985a8
//
// 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 engine_cleanup_int()
{
if ( qword_15663E8 )
{
OPENSSL_sk_pop_free(qword_15663E8, sub_101B6C8);
qword_15663E8 = 0;
}
RAND_set_rand_method(0);
return CRYPTO_THREAD_lock_free(global_engine_lock);
}