//
// s2i_ASN1_IA5STRING from 0xad96d0 to 0xad9774 (164 bytes)
//
// 8 xrefs:
// > ??> @ 0x852bc
// > ??> @ 0xd19e08
// > ??> @ 0xd19e40
// > ??> @ 0xd19e78
// > ??> @ 0xd19eb0
// > ??> @ 0xd19ee8
// > ??> @ 0xd19f20
// > ??> @ 0xd19f58
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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 12:09:30 +0000
//
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;
}