//
// EVP_PKEY_get1_RSA from 0x102a884 to 0x102a8b0 (44 bytes)
//
// 4 xrefs:
// > PEM_read_bio_RSAPrivateKey @ 0x1044484
// > PEM_read_RSAPrivateKey @ 0x10444fc
// > d2i_RSA_PUBKEY @ 0x10705a4
// > ??> @ 0xafc00
//
// 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:16:16 +0000
//
__int64 __fastcall EVP_PKEY_get1_RSA(__int64 a1)
{
__int64 v1; // x0
__int64 v2; // x19
v1 = EVP_PKEY_get0_RSA(a1);
v2 = v1;
if ( v1 )
RSA_up_ref(v1);
return v2;
}