//
// OCSP_crlID_new from 0x81e5a8 to 0x81e66c (196 bytes)
//
// 1 xrefs:
// > ??> @ 0x64bdc
//
// 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 OCSP_crlID_new(const char *a1, _DWORD *a2, char *a3)
{
_DWORD *v6; // r4
signed int *v7; // r0
int v8; // r0
int v9; // r0
int v10; // r5
v6 = OCSP_CRLID_new();
if ( v6
&& (!a1 || (v7 = (signed int *)ASN1_IA5STRING_new(), (*v6 = v7) != 0) && ASN1_STRING_set(v7, a1, -1))
&& (!a2 || (v8 = ASN1_INTEGER_new(), (v6[1] = v8) != 0) && ASN1_INTEGER_set(v8, *a2))
&& (!a3 || (v9 = ASN1_GENERALIZEDTIME_new(), (v6[2] = v9) != 0) && ASN1_GENERALIZEDTIME_set_string(v9, a3)) )
{
v10 = X509V3_EXT_i2d(367, 0, v6);
}
else
{
v10 = 0;
}
OCSP_CRLID_free(v6);
return v10;
}