//
// X509_PKEY_new from 0xa7e644 to 0xa7e6c4 (128 bytes)
//
// 4 xrefs:
// > PEM_X509_INFO_read_bio @ 0xacf1c0
// > PEM_X509_INFO_read_bio @ 0xacf348
// > PEM_X509_INFO_read_bio @ 0xacf390
// > ??> @ 0x835ec
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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 12:08:47 +0000
//
_DWORD *X509_PKEY_new()
{
_DWORD *v0; // r4
int v1; // r0
int v2; // r3
bool v3; // zf
v0 = CRYPTO_zalloc(&word_30, (int)"crypto/asn1/x_pkey.c", 20);
if ( v0 )
{
v0[1] = X509_ALGOR_new();
v1 = ASN1_OCTET_STRING_new();
v2 = v0[1];
v3 = v2 == 0;
if ( v2 )
v3 = v1 == 0;
v0[2] = v1;
if ( !v3 )
return v0;
}
X509_PKEY_free((int)v0);
ERR_put_error(13, 173, 65, (int)"crypto/asn1/x_pkey.c", 32);
return nullptr;
}