//
// ASN1_generate_v3 from 0x866100 to 0x866150 (80 bytes)
//
// 4 xrefs:
// > a2i_GENERAL_NAME @ 0x850ec8
// > sub_853810 @ 0x85391c
// > ASN1_generate_nconf @ 0x86617c
// > ??> @ 0x688ec
//
// 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 ASN1_generate_v3(const char *a1, int a2)
{
int v2; // r4
int v4; // [sp+Ch] [bp-4h] BYREF
v4 = 0;
v2 = sub_864F7C(a1, a2, 0, &v4);
if ( v4 )
ERR_put_error(13, 178, v4, (int)"crypto/asn1/asn1_gen.c", 94);
return v2;
}