//
// s2i_ASN1_IA5STRING from 0xe70440 to 0xe704e0 (160 bytes)
//
// 8 xrefs:
// > ??> @ 0xbea58
// > ??> @ 0x1227e20
// > ??> @ 0x1227e88
// > ??> @ 0x1227ef0
// > ??> @ 0x1227f58
// > ??> @ 0x1227fc0
// > ??> @ 0x1228028
// > ??> @ 0x1228090
//
// 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 s2i_ASN1_IA5STRING(__int64 a1, __int64 a2, char *a3)
{
__int64 v4; // x19
int v5; // w0
__int64 v7; // x0
if ( a3 )
{
v4 = ASN1_IA5STRING_new();
if ( v4 )
{
v5 = strlen(a3);
if ( !(unsigned int)ASN1_STRING_set(v4, a3, v5) )
{
v7 = v4;
v4 = 0;
ASN1_IA5STRING_free(v7);
}
}
else
{
ERR_put_error(34, 100, 65, (__int64)"crypto/x509v3/v3_ia5.c", 63);
}
}
else
{
v4 = 0;
ERR_put_error(34, 100, 107, (__int64)"crypto/x509v3/v3_ia5.c", 49);
}
return v4;
}