//
// cms_SignerIdentifier_get0_signer_id from 0xa8b69c to 0xa8b704 (104 bytes)
//
// 3 xrefs:
// > CMS_RecipientInfo_ktri_get0_signer_id @ 0xa87be4
// > CMS_SignerInfo_get0_signer_id @ 0xa8b868
// > ??> @ 0x83b2c
//
// 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:55 +0000
//
int __fastcall cms_SignerIdentifier_get0_signer_id(int *a1, _DWORD *a2, _DWORD *a3, _DWORD *a4)
{
int result; // r0
result = *a1;
if ( result )
{
if ( result != 1 )
return 0;
if ( a2 )
{
*a2 = a1[1];
return result;
}
}
else
{
if ( a3 )
*a3 = *(_DWORD *)a1[1];
if ( a4 )
{
*a4 = *(_DWORD *)(a1[1] + 4);
return 1;
}
}
return 1;
}