//
// bio_cleanup from 0x9e5ea0 to 0x9e5ed8 (56 bytes)
//
// 2 xrefs:
// > OPENSSL_cleanup @ 0xa1f950
// > ??> @ 0x7927c
//
// 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:07:23 +0000
//
int bio_cleanup()
{
int result; // r0
bio_sock_cleanup_int();
CRYPTO_THREAD_lock_free(bio_lookup_lock);
bio_lookup_lock = 0;
result = CRYPTO_THREAD_lock_free(bio_type_lock);
bio_type_lock = 0;
return result;
}