//
// X509_verify from 0xdefd80 to 0xdefde8 (104 bytes)
//
// 3 xrefs:
// > sub_DEAEA8 @ 0xdeaf2c
// > sub_DEBD8C @ 0xdecb10
// > ??> @ 0xc3930
//
// 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 X509_verify(__int64 a1, __int64 a2)
{
__int64 v2; // x20
v2 = a1 + 136;
if ( (unsigned int)X509_ALGOR_cmp((_QWORD *)(a1 + 136), (_QWORD *)(a1 + 32)) )
return 0;
else
return ASN1_item_verify(&X509_CINF_it, v2, a1 + 152, a1, a2);
}