//
// sub_ACECD8 from 0xacecd8 to 0xacedcc (244 bytes)
//
// 1 xrefs:
// > ??> @ 0xc8176c
//
// 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:09:22 +0000
//
signed int *__fastcall sub_ACECD8(signed int **a1, const char **a2, int a3)
{
signed int *v6; // r4
signed int *v8; // r0
signed int *v9; // r0
if ( a1 )
{
v6 = *a1;
if ( *a1 )
{
if ( ASN1_OCTET_STRING_set(*a1, *a2, a3) )
{
*a2 += a3;
LABEL_5:
*a1 = v6;
return v6;
}
}
else
{
v8 = (signed int *)ASN1_OCTET_STRING_new();
v6 = v8;
if ( v8 && ASN1_OCTET_STRING_set(v8, *a2, a3) )
{
*a2 += a3;
goto LABEL_5;
}
}
if ( *a1 == v6 )
goto LABEL_11;
goto LABEL_10;
}
v9 = (signed int *)ASN1_OCTET_STRING_new();
v6 = v9;
if ( !v9 || !ASN1_OCTET_STRING_set(v9, *a2, a3) )
{
LABEL_10:
ASN1_OCTET_STRING_free((int)v6);
LABEL_11:
ERR_put_error(39, 102, 65, (int)"crypto/ocsp/v3_ocsp.c", 206);
return nullptr;
}
*a2 += a3;
return v6;
}