//
// CMS_RecipientInfo_get0_pkey_ctx from 0xe1d8b0 to 0xe1d8e0 (48 bytes)
//
// 7 xrefs:
// > sub_D869F4 @ 0xd86a78
// > sub_D869F4 @ 0xd86cd0
// > sub_D8B4C0 @ 0xd8b600
// > sub_D8B4C0 @ 0xd8b954
// > sub_DD2FF0 @ 0xdd3184
// > sub_DD2FF0 @ 0xdd338c
// > ??> @ 0x91f80
//
// 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
//
__int64 __fastcall CMS_RecipientInfo_get0_pkey_ctx(__int64 a1)
{
if ( !*(_DWORD *)a1 )
return *(_QWORD *)(*(_QWORD *)(a1 + 8) + 48LL);
if ( *(_DWORD *)a1 == 1 )
return *(_QWORD *)(*(_QWORD *)(a1 + 8) + 40LL);
return 0;
}