//
// X509_verify from 0x848094 to 0x8480e4 (80 bytes)
//
// 3 xrefs:
// > sub_842E8C @ 0x842f10
// > sub_843DE0 @ 0x844c40
// > ??> @ 0x6750c
//
// 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_verify(int a1, int a2)
{
int v3; // r5
v3 = a1 + 72;
if ( X509_ALGOR_cmp((_DWORD *)(a1 + 72), (_DWORD *)(a1 + 20)) )
return 0;
else
return ASN1_item_verify(&X509_CINF_it, v3, a1 + 80, a1, a2);
}