//
// sub_AE6CCC from 0xae6ccc to 0xae6d54 (136 bytes)
//
// 1 xrefs:
// > ??> @ 0xc818a4
//
// 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:38 +0000
//
int __fastcall sub_AE6CCC(int a1)
{
_DWORD *v2; // r0
_DWORD *v3; // r5
void *v4; // r6
v2 = CRYPTO_zalloc(&stru_9FC.st_value, (int)"crypto/evp/bio_b64.c", 71);
v3 = v2;
if ( !v2 )
return 0;
v2[6] = 1;
v2[5] = 1;
v4 = EVP_ENCODE_CTX_new();
v3[7] = v4;
if ( v4 )
{
BIO_set_data(a1, (int)v3);
BIO_set_init(a1, 1);
return 1;
}
else
{
CRYPTO_free(v3, (int)"crypto/evp/bio_b64.c", 79);
return 0;
}
}