//
// CMS_RecipientInfo_get0_pkey_ctx from 0xa87a28 to 0xa87a54 (44 bytes)
//
// 7 xrefs:
// > sub_9F3D50 @ 0x9f3d9c
// > sub_9F3D50 @ 0x9f4060
// > sub_9F8980 @ 0x9f8ab4
// > sub_9F8980 @ 0x9f8d78
// > sub_A415FC @ 0xa4176c
// > sub_A415FC @ 0xa418fc
// > ??> @ 0x7a3cc
//
// 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_get0_pkey_ctx(_DWORD *a1)
{
if ( !*a1 )
return *(_DWORD *)(a1[1] + 24);
if ( *a1 == 1 )
return *(_DWORD *)(a1[1] + 20);
return 0;
}