//
// OCSP_accept_responses_new from 0x10425a8 to 0x1042640 (152 bytes)
//
// 1 xrefs:
// > ??> @ 0xae418
//
// 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:16:31 +0000
//
__int64 __fastcall OCSP_accept_responses_new(char **a1)
{
char **v1; // x19
__int64 v2; // x1
int v3; // w2
char **v4; // x3
int v5; // w4
int v6; // w5
int v7; // w6
int v8; // w7
__int64 v9; // x20
unsigned int v10; // w0
__int64 v11; // x19
v1 = a1;
v9 = OPENSSL_sk_new_null(a1);
if ( v9 )
{
if ( v1 )
{
while ( *v1 )
{
v10 = OBJ_txt2nid(*v1, v2, v3, (int)v4, v5, v6, v7, v8);
if ( v10 && (v4 = OBJ_nid2obj(v10), (v2 = (__int64)v4) != 0) )
{
OPENSSL_sk_push(v9, v4);
if ( !++v1 )
break;
}
else if ( !++v1 )
{
break;
}
}
}
v11 = X509V3_EXT_i2d(368, 0, v9);
}
else
{
v11 = 0;
}
OPENSSL_sk_pop_free(v9, ASN1_OBJECT_free);
return v11;
}