//
// SSL_CONF_CTX_free from 0xfe16cc to 0xfe1758 (140 bytes)
//
// 2 xrefs:
// > sub_FDEA78 @ 0xfdeacc
// > ??> @ 0x105928
//
// 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:15:38 +0000
//
__int64 __fastcall SSL_CONF_CTX_free(__int64 result)
{
__int64 v1; // x21
__int64 *v2; // x19
__int64 *v3; // x22
__int64 v4; // t1
if ( result )
{
v1 = result;
v2 = (__int64 *)(result + 48);
v3 = (__int64 *)(result + 104);
do
{
v4 = *v2++;
CRYPTO_free(v4, "ssl/ssl_conf.c", 808);
}
while ( v2 != v3 );
CRYPTO_free(*(_QWORD *)(v1 + 8), "ssl/ssl_conf.c", 809);
OPENSSL_sk_pop_free(*(_QWORD *)(v1 + 152), X509_NAME_free);
return CRYPTO_free(v1, "ssl/ssl_conf.c", 811);
}
return result;
}