//
// sub_A8D2DC from 0xa8d2dc to 0xa8d38c (176 bytes)
//
// 3 xrefs:
// > _CONF_free_data @ 0xa8d5d8
// > _CONF_free_data @ 0xa8d5e0
// > ??> @ 0xa8d5f8
//
// 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:55 +0000
//
void __fastcall sub_A8D2DC(int a1)
{
void **v1; // r8
signed int v3; // r4
int v4; // r0
void **v5; // r5
if ( !*(_DWORD *)(a1 + 4) )
{
v1 = *(void ***)(a1 + 8);
v3 = OPENSSL_sk_num((int)v1) - 1;
if ( v3 >= 0 )
{
do
{
v4 = OPENSSL_sk_value(v1, v3--);
v5 = (void **)v4;
CRYPTO_free(*(void **)(v4 + 8), (int)"crypto/conf/conf_api.c", 178);
CRYPTO_free(v5[1], (int)"crypto/conf/conf_api.c", 179);
CRYPTO_free(v5, (int)"crypto/conf/conf_api.c", 180);
}
while ( v3 != -1 );
}
OPENSSL_sk_free(v1);
CRYPTO_free(*(void **)a1, (int)"crypto/conf/conf_api.c", 183);
CRYPTO_free((void *)a1, (int)"crypto/conf/conf_api.c", 184);
}
}