//
// sub_AC9B24 from 0xac9b24 to 0xac9bb8 (148 bytes)
//
// 1 xrefs:
// > ??> @ 0xc81664
//
// 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:09:19 +0000
//
int __fastcall sub_AC9B24(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;
}
}