//
// EVP_PKEY_get0_RSA from 0xdac4dc to 0xdac524 (72 bytes)
//
// 10 xrefs:
// > sub_BB5664 @ 0xbb6314
// > sub_D43F10 @ 0xd43ff0
// > sub_D440A4 @ 0xd44194
// > SSL_use_PrivateKey @ 0xd4494c
// > SSL_CTX_use_PrivateKey @ 0xd4523c
// > tls_construct_client_key_exchange @ 0xd4a854
// > tls_process_client_key_exchange @ 0xd52a80
// > EVP_PKEY_get1_RSA @ 0xdac530
// > PEM_X509_INFO_write_bio @ 0xe64b08
// > ??> @ 0x8f2f8
//
// 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
//
__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;
}