//
// X509_PKEY_new from 0x108fc28 to 0x108fca4 (124 bytes)
//
// 5 xrefs:
// > ??> @ 0x10c2bb4
// > PEM_X509_INFO_read_bio @ 0x10e2634
// > PEM_X509_INFO_read_bio @ 0x10e279c
// > PEM_X509_INFO_read_bio @ 0x10e27f0
// > ??> @ 0x4b928
//
// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 13:17:17 +0000
//
_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;
}