//
// COMP_CTX_free from 0x9ee588 to 0x9ee5c0 (56 bytes)
//
// 7 xrefs:
// > ssl_clear_cipher_ctx @ 0x9ae22c
// > ssl_clear_cipher_ctx @ 0x9ae238
// > ssl3_change_cipher_state @ 0x9ccd10
// > ssl3_change_cipher_state @ 0x9cce14
// > tls1_change_cipher_state @ 0x9cee58
// > tls1_change_cipher_state @ 0x9cf118
// > ??> @ 0x75b7c
//
// 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:28 +0000
//
int __fastcall COMP_CTX_free(int result)
{
int v1; // r4
void (*v2)(void); // r3
v1 = result;
if ( result )
{
v2 = *(void (**)(void))(*(_DWORD *)result + 12);
if ( v2 )
v2();
return CRYPTO_free(v1, "crypto/comp/comp_lib.c", 54);
}
return result;
}