//
// PKCS7_add_recipient_info from 0xdcef60 to 0xdcefe8 (136 bytes)
//
// 2 xrefs:
// > PKCS7_add_recipient @ 0xdcf150
// > ??> @ 0xa4868
//
// 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
//
bool __fastcall PKCS7_add_recipient_info(__int64 a1, __int64 a2)
{
int v3; // w0
__int64 v4; // x0
v3 = OBJ_obj2nid(*(_QWORD *)(a1 + 24));
if ( v3 == 23 )
{
v4 = *(_QWORD *)(*(_QWORD *)(a1 + 32) + 8LL);
return (unsigned int)OPENSSL_sk_push(v4, a2) != 0;
}
if ( v3 == 24 )
{
v4 = *(_QWORD *)(*(_QWORD *)(a1 + 32) + 48LL);
return (unsigned int)OPENSSL_sk_push(v4, a2) != 0;
}
ERR_put_error(33, 102, 113, (__int64)"crypto/pkcs7/pk7_lib.c", 454);
return 0;
}