//
// bio_cleanup from 0x7d12a0 to 0x7d12d8 (56 bytes)
//
// 2 xrefs:
// > OPENSSL_cleanup @ 0x80ad50
// > ??> @ 0x5f7fc
//
// 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
//
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;
}