//
// CMS_RecipientEncryptedKey_cert_cmp from 0xa893b8 to 0xa893ec (52 bytes)
//
// 1 xrefs:
// > ??> @ 0x83dfc
//
// 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:53 +0000
//
int __fastcall CMS_RecipientEncryptedKey_cert_cmp(int **a1)
{
int *v1; // r3
int v2; // r2
v1 = *a1;
v2 = **a1;
if ( !v2 )
return cms_ias_cert_cmp(v1[1]);
if ( v2 == 1 )
return cms_keyid_cert_cmp(*(_DWORD *)v1[1]);
return -1;
}