//
// sub_A6EB28 from 0xa6eb28 to 0xa6eb90 (104 bytes)
//
// 3 xrefs:
// > X509_PURPOSE_cleanup @ 0xa6f5b4
// > X509_PURPOSE_cleanup @ 0xa6f5bc
// > ??> @ 0xa6f5d8
//
// 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:41 +0000
//
void __fastcall sub_A6EB28(int a1)
{
int v1; // r3
if ( a1 )
{
v1 = *(_DWORD *)(a1 + 8);
if ( (v1 & 1) != 0 )
{
if ( (v1 & 2) != 0 )
{
CRYPTO_free(*(void **)(a1 + 16), (int)"crypto/x509v3/v3_purp.c", 223);
CRYPTO_free(*(void **)(a1 + 20), (int)"crypto/x509v3/v3_purp.c", 224);
}
CRYPTO_free((void *)a1, (int)"crypto/x509v3/v3_purp.c", 226);
}
}
}