//
// s2i_ASN1_IA5STRING from 0x8c46d0 to 0x8c4774 (164 bytes)
//
// 8 xrefs:
// > ??> @ 0x6b83c
// > ??> @ 0xab572c
// > ??> @ 0xab5764
// > ??> @ 0xab579c
// > ??> @ 0xab57d4
// > ??> @ 0xab580c
// > ??> @ 0xab5844
// > ??> @ 0xab587c
//
// 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
//
signed int *__fastcall s2i_ASN1_IA5STRING(int a1, int a2, const char *a3)
{
signed int *v4; // r4
size_t v5; // r0
const char *v6; // r5
signed int *result; // r0
if ( a3 )
{
v4 = (signed int *)ASN1_IA5STRING_new();
if ( v4 )
{
v5 = strlen(a3);
v6 = ASN1_STRING_set(v4, a3, v5);
result = v4;
if ( !v6 )
{
ASN1_IA5STRING_free((int)v4);
return nullptr;
}
}
else
{
ERR_put_error(34, 100, 65, (int)"crypto/x509v3/v3_ia5.c", 63);
return nullptr;
}
}
else
{
ERR_put_error(34, 100, 107, (int)"crypto/x509v3/v3_ia5.c", 49);
return nullptr;
}
return result;
}