//
// ASN1_STRING_type_new from 0x7c2c14 to 0x7c2c70 (92 bytes)
//
// 23 xrefs:
// > ASN1_STRING_new @ 0x7c2c80
// > sub_7C46C4 @ 0x7c5028
// > sub_7C9460 @ 0x7c955c
// > ASN1_OCTET_STRING_new @ 0x7c9f70
// > ASN1_INTEGER_new @ 0x7c9f9c
// > ASN1_ENUMERATED_new @ 0x7c9fc8
// > ASN1_BIT_STRING_new @ 0x7c9ff4
// > ASN1_UTF8STRING_new @ 0x7ca020
// > ASN1_PRINTABLESTRING_new @ 0x7ca04c
// > ASN1_T61STRING_new @ 0x7ca078
// > ASN1_IA5STRING_new @ 0x7ca0a4
// > ASN1_GENERALSTRING_new @ 0x7ca0d0
// > ASN1_UTCTIME_new @ 0x7ca0fc
// > ASN1_GENERALIZEDTIME_new @ 0x7ca128
// > ASN1_VISIBLESTRING_new @ 0x7ca154
// > ASN1_UNIVERSALSTRING_new @ 0x7ca180
// > ASN1_BMPSTRING_new @ 0x7ca1ac
// > X509_ATTRIBUTE_set1_data @ 0x83e0d8
// > BN_to_ASN1_INTEGER @ 0x8626b0
// > BN_to_ASN1_ENUMERATED @ 0x862d1c
// > ASN1_mbstring_ncopy @ 0x863650
// > sub_864F7C @ 0x86518c
// > ??> @ 0x5e78c
//
// 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_STRING_type_new(int a1)
{
int v2; // r0
int v3; // r4
v2 = CRYPTO_zalloc(16, "crypto/asn1/asn1_lib.c", 309);
v3 = v2;
if ( v2 )
*(_DWORD *)(v2 + 4) = a1;
else
ERR_put_error(13, 130, 65, "crypto/asn1/asn1_lib.c", 311);
return v3;
}