//
// ssl_clear_cipher_ctx from 0xd420a0 to 0xd420f4 (84 bytes)
//
// 5 xrefs:
// > SSL_free @ 0xd42ad8
// > SSL_set_accept_state @ 0xd42c9c
// > SSL_set_connect_state @ 0xd42d20
// > SSL_clear @ 0xd42ddc
// > ??> @ 0x4fab8
//
// 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
//
__int64 __fastcall ssl_clear_cipher_ctx(_QWORD *a1)
{
__int64 result; // x0
if ( a1[35] )
{
EVP_CIPHER_CTX_free();
a1[35] = 0;
}
if ( a1[39] )
{
EVP_CIPHER_CTX_free();
a1[39] = 0;
}
COMP_CTX_free(a1[38]);
a1[38] = 0;
result = COMP_CTX_free(a1[37]);
a1[37] = 0;
return result;
}