//
// sub_AEABF4 from 0xaeabf4 to 0xaeac98 (164 bytes)
//
// 1 xrefs:
// > ??> @ 0xc818cc
//
// 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:42 +0000
//
int __fastcall sub_AEABF4(int a1)
{
_DWORD *v2; // r4
void *v3; // r5
v2 = CRYPTO_zalloc(&dword_40, (int)"crypto/asn1/bio_asn1.c", 98);
if ( !v2 )
return 0;
v3 = CRYPTO_malloc(dword_14, (int)"crypto/asn1/bio_asn1.c", 114);
v2[1] = v3;
if ( v3 )
{
v2[2] = 20;
v2[6] = 0;
*v2 = 0;
v2[7] = 4;
BIO_set_data(a1, (int)v2);
BIO_set_init(a1, 1);
return 1;
}
else
{
CRYPTO_free(v2, (int)"crypto/asn1/bio_asn1.c", 103);
return 0;
}
}