//
// sub_E22F08 from 0xe22f08 to 0xe22fe0 (216 bytes)
//
// 1 xrefs:
// > _CONF_free_data @ 0xe23238
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
void __fastcall sub_E22F08(__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);
}
}