//
// sub_A5E364 from 0xa5e364 to 0xa5e438 (212 bytes)
//
// 1 xrefs:
// > ??> @ 0xc803d0
//
// 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:08:31 +0000
//
int __fastcall sub_A5E364(void ****a1)
{
void ***v2; // r4
void **v3; // r0
int v4; // r0
v2 = (void ***)CRYPTO_zalloc(&dword_14, (int)"crypto/x509/x_name.c", 92);
if ( v2 )
{
v3 = (void **)OPENSSL_sk_new_null();
*v2 = v3;
if ( v3 && (v4 = BUF_MEM_new(), (v2[2] = (void **)v4) != nullptr) )
{
v2[1] = (void **)(&dword_0 + 1);
*a1 = v2;
return 1;
}
else
{
ERR_put_error(13, 171, 65, (int)"crypto/x509/x_name.c", 105);
OPENSSL_sk_free(*v2);
CRYPTO_free(v2, (int)"crypto/x509/x_name.c", 108);
return 0;
}
}
else
{
ERR_put_error(13, 171, 65, (int)"crypto/x509/x_name.c", 105);
return 0;
}
}