//
// SSL_use_certificate_ASN1 from 0x79bb50 to 0x79bbc8 (120 bytes)
//
// 1 xrefs:
// > ??> @ 0x5c83c
//
// 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_certificate_ASN1(int a1, int a2, int a3)
{
int v4; // r0
int v5; // r5
int v6; // r4
int v8; // [sp+Ch] [bp-8h] BYREF
v8 = a2;
v4 = d2i_X509(0, &v8, a3);
v5 = v4;
if ( v4 )
{
v6 = SSL_use_certificate(a1, v4);
X509_free(v5);
return v6;
}
else
{
ERR_put_error(20, 199, 13, "ssl/ssl_rsa.c", 84);
return 0;
}
}