//
// SSL_use_RSAPrivateKey_ASN1 from 0xfc2b4c to 0xfc2bcc (128 bytes)
//
// 1 xrefs:
// > ??> @ 0xf4e70
//
// 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:15:22 +0000
//
__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;
}
}