//
// X509_check_ip_asc from 0x85e2ac to 0x85e310 (100 bytes)
//
// 1 xrefs:
// > ??> @ 0x6981c
//
// 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
//
int __fastcall X509_check_ip_asc(int a1, char *a2, __int16 a3)
{
unsigned int v5; // r2
char v7[32]; // [sp+8h] [bp-20h] BYREF
if ( !a2 )
return -2;
v5 = a2i_ipadd(v7, a2);
if ( v5 )
return sub_85C3A0(a1, v7, v5, a3, 7, nullptr);
else
return -2;
}