//
// CMS_RecipientInfo_kekri_id_cmp from 0x109be30 to 0x109be98 (104 bytes)
//
// 1 xrefs:
// > ??> @ 0xdc618
//
// 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_RecipientInfo_kekri_id_cmp(__int64 a1, const void *a2, unsigned int a3)
{
__int64 v3; // x3
__int64 *v4; // x3
const void *v6[3]; // [xsp+18h] [xbp+18h] BYREF
if ( *(_DWORD *)a1 == 2 )
{
v3 = *(_QWORD *)(a1 + 8);
v6[2] = nullptr;
v4 = *(__int64 **)(v3 + 8);
v6[1] = a2;
v6[0] = (const void *)(a3 | 0x400000000LL);
return ASN1_OCTET_STRING_cmp(v6, *v4);
}
else
{
ERR_put_error(46, 138, 123, (__int64)"crypto/cms/cms_env.c", 431);
return 4294967294LL;
}
}