//
// CMS_RecipientInfo_ktri_get0_algs from 0xa87b5c to 0xa87bcc (112 bytes)
//
// 3 xrefs:
// > sub_A415FC @ 0xa4178c
// > sub_A415FC @ 0xa41920
// > ??> @ 0x7fbdc
//
// 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_RecipientInfo_ktri_get0_algs(_DWORD *a1, _DWORD *a2, _DWORD *a3, _DWORD *a4)
{
_DWORD *v4; // r0
if ( *a1 )
{
ERR_put_error(46, 142, 124, (int)"crypto/cms/cms_env.c", 238);
return 0;
}
else
{
v4 = (_DWORD *)a1[1];
if ( a2 )
*a2 = v4[5];
if ( a3 )
*a3 = v4[4];
if ( a4 )
*a4 = v4[2];
return 1;
}
}