//
// ASN1_STRING_type_new from 0xd694ec to 0xd69554 (104 bytes)
//
// 23 xrefs:
// > ASN1_STRING_new @ 0xd69558
// > sub_D6AECC @ 0xd6b7a0
// > sub_D6F5E8 @ 0xd6f648
// > ASN1_OCTET_STRING_new @ 0xd6ffe4
// > ASN1_INTEGER_new @ 0xd70008
// > ASN1_ENUMERATED_new @ 0xd7002c
// > ASN1_BIT_STRING_new @ 0xd70050
// > ASN1_UTF8STRING_new @ 0xd70074
// > ASN1_PRINTABLESTRING_new @ 0xd70098
// > ASN1_T61STRING_new @ 0xd700bc
// > ASN1_IA5STRING_new @ 0xd700e0
// > ASN1_GENERALSTRING_new @ 0xd70104
// > ASN1_UTCTIME_new @ 0xd70128
// > ASN1_GENERALIZEDTIME_new @ 0xd7014c
// > ASN1_VISIBLESTRING_new @ 0xd70170
// > ASN1_UNIVERSALSTRING_new @ 0xd70194
// > ASN1_BMPSTRING_new @ 0xd701b8
// > X509_ATTRIBUTE_set1_data @ 0xde5f44
// > BN_to_ASN1_INTEGER @ 0xe0ac34
// > BN_to_ASN1_ENUMERATED @ 0xe0b138
// > ASN1_mbstring_ncopy @ 0xe0ba64
// > sub_E0D194 @ 0xe0d340
// > ??> @ 0x982f8
//
// 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
//
__int64 __fastcall ASN1_STRING_type_new(int a1)
{
__int64 v2; // x0
__int64 v3; // x20
v2 = CRYPTO_zalloc(24, "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;
}