//
// ssl_clear_cipher_ctx from 0x7995e8 to 0x799640 (88 bytes)
//
// 5 xrefs:
// > SSL_free @ 0x799fbc
// > SSL_set_accept_state @ 0x79a1c0
// > SSL_set_connect_state @ 0x79a230
// > SSL_clear @ 0x79a2e8
// > ??> @ 0x5c0dc
//
// 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
//
int __fastcall ssl_clear_cipher_ctx(_DWORD *a1)
{
int result; // r0
if ( a1[44] )
{
EVP_CIPHER_CTX_free();
a1[44] = 0;
}
if ( a1[48] )
{
EVP_CIPHER_CTX_free();
a1[48] = 0;
}
COMP_CTX_free(a1[47]);
a1[47] = 0;
result = COMP_CTX_free(a1[46]);
a1[46] = 0;
return result;
}