//
// CMS_RecipientEncryptedKey_cert_cmp from 0x109d364 to 0x109d394 (48 bytes)
//
// 1 xrefs:
// > ??> @ 0xe5a20
//
// 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:29 +0000
//
__int64 __fastcall CMS_RecipientEncryptedKey_cert_cmp(__int64 *a1)
{
__int64 v1; // x0
v1 = *a1;
if ( !*(_DWORD *)v1 )
return cms_ias_cert_cmp(*(_QWORD *)(v1 + 8));
if ( *(_DWORD *)v1 == 1 )
return cms_keyid_cert_cmp(**(_QWORD **)(v1 + 8));
return 0xFFFFFFFFLL;
}