//
// OCSP_accept_responses_new from 0xa33270 to 0xa33310 (160 bytes)
//
// 1 xrefs:
// > ??> @ 0x7e68c
//
// 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:08:06 +0000
//
int __fastcall OCSP_accept_responses_new(char **a1)
{
int v2; // r5
char *v3; // r0
char **v4; // r4
char *v5; // t1
char *v6; // r0
char **v7; // r1
int v8; // r4
v2 = OPENSSL_sk_new_null(a1);
if ( v2 )
{
if ( a1 )
{
v3 = *a1;
if ( *a1 )
{
v4 = a1 + 1;
do
{
v6 = OBJ_txt2nid(v3);
if ( v6 && (v7 = OBJ_nid2obj((unsigned int)v6)) != nullptr )
{
OPENSSL_sk_push(v2, v7);
if ( !v4 )
break;
}
else if ( !v4 )
{
break;
}
v5 = *v4++;
v3 = v5;
}
while ( v5 );
}
}
v8 = X509V3_EXT_i2d(368, 0, v2);
}
else
{
v8 = 0;
}
OPENSSL_sk_pop_free(v2, ASN1_OBJECT_free);
return v8;
}