//
// a2i_IPADDRESS from 0xe049b8 to 0xe04a30 (120 bytes)
//
// 2 xrefs:
// > a2i_GENERAL_NAME @ 0xdf85f8
// > ??> @ 0x64350
//
// 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 a2i_IPADDRESS(char *a1)
{
unsigned int v1; // w20
__int64 v2; // x0
__int64 v3; // x19
char v5[16]; // [xsp+30h] [xbp+30h] BYREF
v1 = a2i_ipadd(v5, a1);
if ( v1 )
{
v2 = ASN1_OCTET_STRING_new();
v3 = v2;
if ( v2 )
{
if ( (unsigned int)ASN1_OCTET_STRING_set(v2, v5, v1) )
return v3;
ASN1_OCTET_STRING_free(v3);
}
}
return 0;
}