//
// ASN1_STRING_type_new from 0xfe784c to 0xfe78b4 (104 bytes)
//
// 23 xrefs:
// > ASN1_STRING_new @ 0xfe78b8
// > sub_FE922C @ 0xfe9b00
// > sub_FED948 @ 0xfed9a8
// > ASN1_OCTET_STRING_new @ 0xfee344
// > ASN1_INTEGER_new @ 0xfee368
// > ASN1_ENUMERATED_new @ 0xfee38c
// > ASN1_BIT_STRING_new @ 0xfee3b0
// > ASN1_UTF8STRING_new @ 0xfee3d4
// > ASN1_PRINTABLESTRING_new @ 0xfee3f8
// > ASN1_T61STRING_new @ 0xfee41c
// > ASN1_IA5STRING_new @ 0xfee440
// > ASN1_GENERALSTRING_new @ 0xfee464
// > ASN1_UTCTIME_new @ 0xfee488
// > ASN1_GENERALIZEDTIME_new @ 0xfee4ac
// > ASN1_VISIBLESTRING_new @ 0xfee4d0
// > ASN1_UNIVERSALSTRING_new @ 0xfee4f4
// > ASN1_BMPSTRING_new @ 0xfee518
// > X509_ATTRIBUTE_set1_data @ 0x1064284
// > BN_to_ASN1_INTEGER @ 0x1088f34
// > BN_to_ASN1_ENUMERATED @ 0x1089438
// > ASN1_mbstring_ncopy @ 0x1089d64
// > sub_108B494 @ 0x108b640
// > ??> @ 0xc8f20
//
// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!
//
// 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 13:15:40 +0000
//
__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;
}