//
// sub_8B4AC0 from 0x8b4ac0 to 0x8b4b20 (96 bytes)
//
// 1 xrefs:
// > ??> @ 0xa3a3e8
//
// 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 __fastcall sub_8B4AC0(int a1)
{
int data; // r0
_BYTE *v3; // r5
if ( !a1 )
return 0;
data = BIO_get_data(a1);
v3 = (_BYTE *)data;
if ( !data )
return 0;
EVP_CIPHER_CTX_free(*(int **)(data + 20));
CRYPTO_clear_free(v3, 0x1140u, (int)"crypto/evp/bio_enc.c", 99);
BIO_set_data(a1, 0);
BIO_set_init(a1, 0);
return 1;
}