//
// SSL_use_RSAPrivateKey_ASN1 from 0x79be0c to 0x79be84 (120 bytes)
//
// 1 xrefs:
// > ??> @ 0x5c8bc
//
// 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
//
int __fastcall SSL_use_RSAPrivateKey_ASN1(int a1, int a2)
{
int v3; // r0
int v4; // r5
int v5; // r4
int v7; // [sp+Ch] [bp-8h] BYREF
v7 = a2;
v3 = d2i_RSAPrivateKey(0, &v7);
v4 = v3;
if ( v3 )
{
v5 = SSL_use_RSAPrivateKey(a1, v3);
RSA_free(v4);
return v5;
}
else
{
ERR_put_error(20, 205, 13, "ssl/ssl_rsa.c", 216);
return 0;
}
}