//
// SSL_use_RSAPrivateKey_ASN1 from 0x9b0a10 to 0x9b0a88 (120 bytes)
//
// 1 xrefs:
// > ??> @ 0x7633c
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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 12:06:56 +0000
//
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;
}
}