//
// X509v3_asid_is_canonical from 0xdf9c8c to 0xdf9d30 (164 bytes)
//
// 5 xrefs:
// > X509v3_asid_validate_path @ 0xdfa300
// > X509v3_asid_validate_path @ 0xdfa380
// > X509v3_asid_validate_resource_set @ 0xdfa750
// > X509v3_asid_validate_resource_set @ 0xdfa7e8
// > ??> @ 0x75c90
//
// 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_is_canonical(__int64 *a1)
{
__int64 v1; // x20
_BOOL8 result; // x0
__int64 v4; // x19
if ( !a1 )
return 1;
v1 = *a1;
if ( !*a1 || !*(_DWORD *)v1 )
goto LABEL_9;
if ( *(_DWORD *)v1 != 1 || !(unsigned int)OPENSSL_sk_num(*(unsigned int **)(v1 + 8)) )
return 0;
result = sub_DF941C(v1);
if ( result )
{
LABEL_9:
v4 = a1[1];
if ( v4 && *(_DWORD *)v4 )
{
if ( *(_DWORD *)v4 == 1 && (unsigned int)OPENSSL_sk_num(*(unsigned int **)(v4 + 8)) )
return sub_DF941C(v4);
return 0;
}
return 1;
}
return result;
}