//
// sub_DF26EC from 0xdf26ec to 0xdf27d4 (232 bytes)
//
// 1 xrefs:
// > ??> @ 0x11310d0
//
// 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
//
bool __fastcall sub_DF26EC(int a1, __int64 *a2)
{
__int64 v2; // x19
v2 = *a2;
if ( a1 == 1 )
{
*(_QWORD *)(v2 + 192) = -1;
*(_QWORD *)(v2 + 200) = -1;
*(_DWORD *)(v2 + 208) = 0;
*(_QWORD *)(v2 + 224) = 0;
*(_QWORD *)(v2 + 232) = 0;
*(_QWORD *)(v2 + 272) = 0;
*(_QWORD *)(v2 + 280) = 0;
*(_QWORD *)(v2 + 312) = 0;
*(_QWORD *)(v2 + 248) = 0;
return (unsigned int)CRYPTO_new_ex_data(3u, v2, (_QWORD *)(v2 + 184)) != 0;
}
else
{
if ( a1 == 3 )
{
CRYPTO_free_ex_data(3u, *a2, (_QWORD *)(v2 + 184));
X509_CERT_AUX_free(*(_QWORD *)(v2 + 312));
ASN1_OCTET_STRING_free(*(_QWORD *)(v2 + 224));
AUTHORITY_KEYID_free(*(_QWORD *)(v2 + 232));
CRL_DIST_POINTS_free(*(_QWORD *)(v2 + 248));
policy_cache_free(*(_QWORD *)(v2 + 240));
GENERAL_NAMES_free(*(_QWORD *)(v2 + 256));
NAME_CONSTRAINTS_free(*(_QWORD *)(v2 + 264));
OPENSSL_sk_pop_free(*(int **)(v2 + 272), (void (__fastcall *)(__int64))IPAddressFamily_free);
ASIdentifiers_free(*(_QWORD *)(v2 + 280));
}
return 1;
}
}