//
// SSL_use_RSAPrivateKey_ASN1 from 0xd447f8 to 0xd44878 (128 bytes)
//
// 1 xrefs:
// > ??> @ 0xbbd10
//
// 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 SSL_use_RSAPrivateKey_ASN1(__int64 a1, __int64 a2)
{
__int64 v3; // x0
__int64 v4; // x19
unsigned int v5; // w20
__int64 v7; // [xsp+28h] [xbp+28h] 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;
}
}