//
// SSL_CONF_CTX_free from 0x9d1b34 to 0x9d1ba0 (108 bytes)
//
// 2 xrefs:
// > sub_9CE968 @ 0x9cead0
// > ??> @ 0x77a8c
//
// 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:07:12 +0000
//
int __fastcall SSL_CONF_CTX_free(int result)
{
int v1; // r6
int v2; // r4
int v3; // r7
int v4; // t1
if ( result )
{
v1 = result;
v2 = result + 20;
v3 = result + 48;
do
{
v4 = *(_DWORD *)(v2 + 4);
v2 += 4;
CRYPTO_free(v4, "ssl/ssl_conf.c", 808);
}
while ( v2 != v3 );
CRYPTO_free(*(_DWORD *)(v1 + 4), "ssl/ssl_conf.c", 809);
OPENSSL_sk_pop_free(*(_DWORD *)(v1 + 76), X509_NAME_free);
return CRYPTO_free(v1, "ssl/ssl_conf.c", 811);
}
return result;
}