//
// PKCS7_add_recipient_info from 0x104d2c0 to 0x104d348 (136 bytes)
//
// 2 xrefs:
// > PKCS7_add_recipient @ 0x104d4b0
// > ??> @ 0xd8358
//
// 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:16:37 +0000
//
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;
}