//
// COMP_CTX_free from 0x7d9988 to 0x7d99c0 (56 bytes)
//
// 7 xrefs:
// > ssl_clear_cipher_ctx @ 0x799628
// > ssl_clear_cipher_ctx @ 0x799634
// > ssl3_change_cipher_state @ 0x7b810c
// > ssl3_change_cipher_state @ 0x7b8210
// > tls1_change_cipher_state @ 0x7ba254
// > tls1_change_cipher_state @ 0x7ba514
// > ??> @ 0x5c0fc
//
// 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 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;
}