//
// cms_SignerIdentifier_get0_signer_id from 0x109f68c to 0x109f6e8 (92 bytes)
//
// 3 xrefs:
// > CMS_RecipientInfo_ktri_get0_signer_id @ 0x109bd70
// > CMS_SignerInfo_get0_signer_id @ 0x109f878
// > ??> @ 0xcd990
//
// 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:17:30 +0000
//
__int64 __fastcall cms_SignerIdentifier_get0_signer_id(unsigned int *a1, _QWORD *a2, _QWORD *a3, _QWORD *a4)
{
__int64 result; // x0
result = *a1;
if ( (_DWORD)result )
{
if ( (_DWORD)result != 1 )
return 0;
if ( a2 )
{
*a2 = *((_QWORD *)a1 + 1);
return result;
}
}
else
{
if ( a3 )
*a3 = **((_QWORD **)a1 + 1);
if ( a4 )
{
*a4 = *(_QWORD *)(*((_QWORD *)a1 + 1) + 8LL);
return 1;
}
}
return 1;
}