//
// ASN1_STRING_dup from 0xfe7934 to 0xfe798c (88 bytes)
//
// 10 xrefs:
// > sub_1050D10 @ 0x1050d98
// > x509_set1_time @ 0x1066df0
// > X509_REVOKED_set_revocationDate @ 0x106d53c
// > sub_1076DB4 @ 0x1076ed8
// > sub_1076DB4 @ 0x1076f64
// > ASN1_INTEGER_dup @ 0x1087a00
// > ASN1_OCTET_STRING_dup @ 0x1089ff8
// > ASN1_TYPE_set1 @ 0x108aca4
// > cms_set1_keyid @ 0x109eb3c
// > ??> @ 0xe0b48
//
// 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_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;
}