//
// cms_SignerIdentifier_cert_cmp from 0xe213e8 to 0xe21410 (40 bytes)
//
// 3 xrefs:
// > CMS_RecipientInfo_ktri_cert_cmp @ 0xe1dab8
// > CMS_SignerInfo_cert_cmp @ 0xe21580
// > ??> @ 0xbbfe0
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
__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;
}