//
// ssl_clear_cipher_ctx from 0x9ae1ec to 0x9ae244 (88 bytes)
//
// 5 xrefs:
// > SSL_free @ 0x9aebc0
// > SSL_set_accept_state @ 0x9aedc4
// > SSL_set_connect_state @ 0x9aee34
// > SSL_clear @ 0x9aeeec
// > ??> @ 0x75b5c
//
// 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:06:55 +0000
//
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;
}