//
// cms_SignerIdentifier_get0_signer_id from 0xe2138c to 0xe213e8 (92 bytes)
//
// 3 xrefs:
// > CMS_RecipientInfo_ktri_get0_signer_id @ 0xe1da70
// > CMS_SignerInfo_get0_signer_id @ 0xe21578
// > ??> @ 0x9c180
//
// 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_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;
}