//
// COMP_CTX_free from 0xfff7fc to 0xfff848 (76 bytes)
//
// 7 xrefs:
// > ssl_clear_cipher_ctx @ 0xfc0428
// > ssl_clear_cipher_ctx @ 0xfc0434
// > ssl3_change_cipher_state @ 0xfdcfb8
// > ssl3_change_cipher_state @ 0xfdd0c4
// > tls1_change_cipher_state @ 0xfdef4c
// > tls1_change_cipher_state @ 0xfdf1c8
// > ??> @ 0x5b828
//
// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!
//
// 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 13:15:53 +0000
//
__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;
}