//
// X509v3_addr_get_range from 0xdf6198 to 0xdf620c (116 bytes)
//
// 1 xrefs:
// > ??> @ 0xb0730
//
// 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 X509v3_addr_get_range(_DWORD *a1, int a2, _BYTE *a3, char *a4, int a5)
{
int v5; // w19
if ( a2 == 1 )
{
v5 = 4;
}
else
{
v5 = 16;
if ( a2 != 2 )
return 0;
}
if ( !a1 || !a3 || !a4 || a5 < v5 || *a1 > 1u || !(unsigned int)sub_DF4814((__int64)a1, a3, a4, v5) )
return 0;
return (unsigned int)v5;
}