//
// X509_issuer_and_serial_cmp from 0x1064ac8 to 0x1064b0c (68 bytes)
//
// 2 xrefs:
// > X509_find_by_issuer_and_serial @ 0x1064ce0
// > ??> @ 0x5e090
//
// 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:52 +0000
//
__int64 __fastcall X509_issuer_and_serial_cmp(__int64 a1, __int64 a2)
{
__int64 result; // x0
result = ASN1_INTEGER_cmp(a1 + 8, a2 + 8);
if ( !(_DWORD)result )
return X509_NAME_cmp(*(_QWORD *)(a1 + 48), *(_QWORD *)(a2 + 48));
return result;
}