//
// SCT_CTX_free from 0xd84738 to 0xd847c0 (136 bytes)
//
// 2 xrefs:
// > SCT_validate @ 0xd8457c
// > ??> @ 0x66570
//
// 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
//
_QWORD *__fastcall SCT_CTX_free(_QWORD *result)
{
_QWORD *v1; // x19
if ( result )
{
v1 = result;
EVP_PKEY_free(*result);
CRYPTO_free(v1[1], "crypto/ct/ct_sct_ctx.c", 38);
CRYPTO_free(v1[3], "crypto/ct/ct_sct_ctx.c", 39);
CRYPTO_free(v1[5], "crypto/ct/ct_sct_ctx.c", 40);
CRYPTO_free(v1[7], "crypto/ct/ct_sct_ctx.c", 41);
return (_QWORD *)CRYPTO_free(v1, "crypto/ct/ct_sct_ctx.c", 42);
}
return result;
}