//
// X509_PKEY_new from 0xe11928 to 0xe119a4 (124 bytes)
//
// 4 xrefs:
// > PEM_X509_INFO_read_bio @ 0xe64634
// > PEM_X509_INFO_read_bio @ 0xe6479c
// > PEM_X509_INFO_read_bio @ 0xe647f0
// > ??> @ 0x33180
//
// 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 *X509_PKEY_new()
{
_QWORD *v0; // x19
__int64 v1; // x0
v0 = CRYPTO_zalloc(off_50, (__int64)"crypto/asn1/x_pkey.c", 20);
if ( v0 )
{
v0[1] = X509_ALGOR_new();
v1 = ASN1_OCTET_STRING_new();
v0[2] = v1;
if ( v1 )
{
if ( v0[1] )
return v0;
}
}
X509_PKEY_free((__int64)v0);
ERR_put_error(13, 173, 65, (__int64)"crypto/asn1/x_pkey.c", 32);
return nullptr;
}