//
// X509_issuer_and_serial_cmp from 0xa534f0 to 0xa53520 (48 bytes)
//
// 2 xrefs:
// > X509_find_by_issuer_and_serial @ 0xa536d0
// > ??> @ 0x8078c
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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 12:08:24 +0000
//
int __fastcall X509_issuer_and_serial_cmp(int a1, int a2)
{
int result; // r0
result = ASN1_INTEGER_cmp(a1 + 4, a2 + 4);
if ( !result )
return X509_NAME_cmp(*(_DWORD *)(a1 + 28), *(_DWORD *)(a2 + 28));
return result;
}