//
// sub_8B4B24 from 0x8b4b24 to 0x8b4bb8 (148 bytes)
//
// 1 xrefs:
// > ??> @ 0xa3a3e4
//
// 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_8B4B24(int a1)
{
_DWORD *v2; // r6
int v3; // r5
v2 = CRYPTO_zalloc(&stru_113C.st_value, (int)"crypto/evp/bio_enc.c", 69);
if ( !v2 )
return 0;
v3 = EVP_CIPHER_CTX_new();
v2[5] = v3;
if ( v3 )
{
v2[6] = v2 + 80;
v2[7] = v2 + 80;
v2[2] = 1;
v2[4] = 1;
BIO_set_data(a1, (int)v2);
BIO_set_init(a1, 1);
return 1;
}
else
{
CRYPTO_free(v2, (int)"crypto/evp/bio_enc.c", 75);
return 0;
}
}