//
// sub_DF11FC from 0xdf11fc to 0xdf12dc (224 bytes)
//
// 1 xrefs:
// > ??> @ 0x1130ef8
//
// 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 sub_DF11FC(_QWORD *a1)
{
_DWORD *v2; // x19
_QWORD *v3; // x0
__int64 v4; // x0
v2 = CRYPTO_zalloc(&qword_28, (__int64)"crypto/x509/x_name.c", 92);
if ( v2 )
{
v3 = OPENSSL_sk_new_null();
*(_QWORD *)v2 = v3;
if ( v3 && (v4 = BUF_MEM_new(), (*((_QWORD *)v2 + 2) = v4) != 0) )
{
v2[2] = 1;
*a1 = v2;
return 1;
}
else
{
ERR_put_error(13, 171, 65, (__int64)"crypto/x509/x_name.c", 105);
OPENSSL_sk_free(*(void ***)v2);
CRYPTO_free(v2, (__int64)"crypto/x509/x_name.c", 108);
return 0;
}
}
else
{
ERR_put_error(13, 171, 65, (__int64)"crypto/x509/x_name.c", 105);
return 0;
}
}