//
// X509_ALGOR_cmp from 0x7ca93c to 0x7ca984 (72 bytes)
//
// 2 xrefs:
// > X509_verify @ 0x8480b0
// > ??> @ 0x5f1bc
//
// 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_ALGOR_cmp(_DWORD *a1, _DWORD *a2)
{
int result; // r0
result = OBJ_cmp(*a1, *a2);
if ( !result )
{
if ( a1[1] || a2[1] )
return ASN1_TYPE_cmp();
else
return 0;
}
return result;
}