//
// cms_SignerIdentifier_cert_cmp from 0x109f6e8 to 0x109f710 (40 bytes)
//
// 3 xrefs:
// > CMS_RecipientInfo_ktri_cert_cmp @ 0x109bdb8
// > CMS_SignerInfo_cert_cmp @ 0x109f880
// > ??> @ 0xf5230
//
// 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:17:30 +0000
//
__int64 __fastcall cms_SignerIdentifier_cert_cmp(__int64 a1, __int64 a2)
{
if ( !*(_DWORD *)a1 )
return cms_ias_cert_cmp(*(__int64 **)(a1 + 8), a2);
if ( *(_DWORD *)a1 == 1 )
return cms_keyid_cert_cmp(*(const void ***)(a1 + 8), a2);
return 0xFFFFFFFFLL;
}