//
// COMP_CTX_free from 0xd8149c to 0xd814e8 (76 bytes)
//
// 7 xrefs:
// > ssl_clear_cipher_ctx @ 0xd420d4
// > ssl_clear_cipher_ctx @ 0xd420e0
// > ssl3_change_cipher_state @ 0xd5ec64
// > ssl3_change_cipher_state @ 0xd5ed70
// > tls1_change_cipher_state @ 0xd60bf8
// > tls1_change_cipher_state @ 0xd60e74
// > ??> @ 0x3f8e8
//
// 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 COMP_CTX_free(__int64 result)
{
__int64 v1; // x19
void (*v2)(void); // x1
if ( result )
{
v1 = result;
v2 = *(void (**)(void))(*(_QWORD *)result + 24LL);
if ( v2 )
v2();
return CRYPTO_free(v1, "crypto/comp/comp_lib.c", 54);
}
return result;
}