//
// X509_verify from 0x106e0c0 to 0x106e128 (104 bytes)
//
// 3 xrefs:
// > sub_10691E8 @ 0x106926c
// > sub_106A0CC @ 0x106ae50
// > ??> @ 0xfea10
//
// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 13:16:58 +0000
//
__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);
}