//
// SSL_CTX_use_certificate_ASN1 from 0x9b1014 to 0x9b1090 (124 bytes)
//
// 1 xrefs:
// > ??> @ 0x763bc
//
// 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:57 +0000
//
int __fastcall SSL_CTX_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 = a3;
v4 = d2i_X509(0, &v8, a2);
v5 = v4;
if ( v4 )
{
v6 = SSL_CTX_use_certificate(a1, v4);
X509_free(v5);
return v6;
}
else
{
ERR_put_error(20, 172, 13, "ssl/ssl_rsa.c", 420);
return 0;
}
}