//
// cms_SignerIdentifier_cert_cmp from 0xa8b704 to 0xa8b730 (44 bytes)
//
// 3 xrefs:
// > CMS_RecipientInfo_ktri_cert_cmp @ 0xa87c38
// > CMS_SignerInfo_cert_cmp @ 0xa8b870
// > ??> @ 0x83b4c
//
// 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:55 +0000
//
int __fastcall cms_SignerIdentifier_cert_cmp(int a1, int a2)
{
if ( !*(_DWORD *)a1 )
return cms_ias_cert_cmp(*(int **)(a1 + 4), a2);
if ( *(_DWORD *)a1 == 1 )
return cms_keyid_cert_cmp(*(_DWORD *)(a1 + 4), a2);
return -1;
}