//
// X509v3_asid_subset from 0x852fe4 to 0x85306c (136 bytes)
//
// 1 xrefs:
// > ??> @ 0x68b3c
//
// 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
//
bool __fastcall X509v3_asid_subset(_DWORD *a1, _DWORD *a2)
{
bool v2; // zf
v2 = a1 == nullptr;
if ( a1 )
v2 = a1 == a2;
if ( v2 )
return 1;
if ( !a2
|| X509v3_asid_inherits(a1)
|| X509v3_asid_inherits(a2)
|| !sub_851F04(*(_DWORD **)(*a2 + 4), *(_DWORD **)(*a1 + 4)) )
{
return 0;
}
return sub_851F04(*(_DWORD **)(a2[1] + 4), *(_DWORD **)(a1[1] + 4)) != 0;
}