//
// ASN1_STRING_dup from 0xd695d4 to 0xd6962c (88 bytes)
//
// 10 xrefs:
// > sub_DD29B0 @ 0xdd2a38
// > x509_set1_time @ 0xde8ab0
// > X509_REVOKED_set_revocationDate @ 0xdef1fc
// > sub_DF8A74 @ 0xdf8b98
// > sub_DF8A74 @ 0xdf8c24
// > ASN1_INTEGER_dup @ 0xe09700
// > ASN1_OCTET_STRING_dup @ 0xe0bcf8
// > ASN1_TYPE_set1 @ 0xe0c9a4
// > cms_set1_keyid @ 0xe2083c
// > ??> @ 0xab7e0
//
// 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_dup(__int64 a1)
{
__int64 v2; // x0
__int64 v3; // x19
if ( a1 )
{
v2 = ASN1_STRING_new();
v3 = v2;
if ( v2 )
{
if ( (unsigned int)ASN1_STRING_copy(v2, a1) )
return v3;
ASN1_STRING_free(v3);
}
}
return 0;
}