//
// EVP_PKEY_get0_RSA from 0x102a83c to 0x102a884 (72 bytes)
//
// 10 xrefs:
// > sub_E2B824 @ 0xe2c4d4
// > sub_FC2264 @ 0xfc2344
// > sub_FC23F8 @ 0xfc24e8
// > SSL_use_PrivateKey @ 0xfc2ca0
// > SSL_CTX_use_PrivateKey @ 0xfc3590
// > tls_construct_client_key_exchange @ 0xfc8ba8
// > tls_process_client_key_exchange @ 0xfd0dd4
// > EVP_PKEY_get1_RSA @ 0x102a890
// > PEM_X509_INFO_write_bio @ 0x10e2b08
// > ??> @ 0xbd808
//
// 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_get0_RSA(__int64 a1)
{
if ( *(_DWORD *)a1 == 6 )
return *(_QWORD *)(a1 + 32);
ERR_put_error(6, 121, 127, (__int64)"crypto/evp/p_lib.c", 264);
return 0;
}