//
// PKCS7_get_signed_attribute from 0xa3ca7c to 0xa3caa8 (44 bytes)
//
// 4 xrefs:
// > PKCS7_dataFinal @ 0xa3cec4
// > PKCS7_get_smimecap @ 0xad0de8
// > PKCS7_add_attrib_content_type @ 0xad0f44
// > ??> @ 0x7f88c
//
// 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:11 +0000
//
int __fastcall PKCS7_get_signed_attribute(int a1)
{
int v1; // r4
int attr; // r0
v1 = *(_DWORD *)(a1 + 12);
X509at_get_attr_by_NID(v1);
attr = X509at_get_attr(v1);
return X509_ATTRIBUTE_get0_type(attr, 0);
}