//
// sub_10A1208 from 0x10a1208 to 0x10a12e0 (216 bytes)
//
// 1 xrefs:
// > _CONF_free_data @ 0x10a1538
//
// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!
//
// 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 13:17:31 +0000
//
void __fastcall sub_10A1208(__int64 a1)
{
unsigned int *v1; // x23
int v3; // w19
int v4; // w1
void **v5; // x20
if ( !*(_QWORD *)(a1 + 8) )
{
v1 = *(unsigned int **)(a1 + 16);
v3 = OPENSSL_sk_num(v1) - 1;
if ( v3 >= 0 )
{
do
{
v4 = v3--;
v5 = (void **)OPENSSL_sk_value((__int64)v1, v4);
CRYPTO_free(v5[2], (__int64)"crypto/conf/conf_api.c", 178);
CRYPTO_free(v5[1], (__int64)"crypto/conf/conf_api.c", 179);
CRYPTO_free(v5, (__int64)"crypto/conf/conf_api.c", 180);
}
while ( v3 != -1 );
}
OPENSSL_sk_free((void **)v1);
CRYPTO_free(*(void **)a1, (__int64)"crypto/conf/conf_api.c", 183);
CRYPTO_free((void *)a1, (__int64)"crypto/conf/conf_api.c", 184);
}
}