//
// sub_DE8C3C from 0xde8c3c to 0xde8cac (112 bytes)
//
// 2 xrefs:
// > X509_TRUST_cleanup @ 0xde9238
// > X509_TRUST_cleanup @ 0xde9248
//
// 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
//
void __fastcall sub_DE8C3C(__int64 a1)
{
int v1; // w2
if ( a1 )
{
v1 = *(_DWORD *)(a1 + 4);
if ( (v1 & 1) != 0 )
{
if ( (v1 & 2) != 0 )
{
CRYPTO_free(*(void **)(a1 + 16), (__int64)"crypto/x509/x509_trs.c", 190);
CRYPTO_free((void *)a1, (__int64)"crypto/x509/x509_trs.c", 191);
}
else
{
CRYPTO_free((void *)a1, (__int64)"crypto/x509/x509_trs.c", 191);
}
}
}
}