//
// SSL_use_PrivateKey_ASN1 from 0x9b0d68 to 0x9b0de0 (120 bytes)
//
// 1 xrefs:
// > ??> @ 0x7639c
//
// 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_PrivateKey_ASN1(int a1, int a2, int a3)
{
int v4; // r0
int v5; // r5
int v6; // r4
int v8; // [sp+Ch] [bp-8h] BYREF
v8 = a3;
v4 = d2i_PrivateKey(a1, 0, &v8);
v5 = v4;
if ( v4 )
{
v6 = SSL_use_PrivateKey(a2, v4);
EVP_PKEY_free(v5);
return v6;
}
else
{
ERR_put_error(20, 202, 13, "ssl/ssl_rsa.c", 287);
return 0;
}
}