//
// PKCS7_get_signed_attribute from 0x104b964 to 0x104b99c (56 bytes)
//
// 4 xrefs:
// > PKCS7_dataFinal @ 0x104bdd0
// > PKCS7_get_smimecap @ 0x10e42e8
// > PKCS7_add_attrib_content_type @ 0x10e4458
// > ??> @ 0x449b0
//
// 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:16:36 +0000
//
__int64 __fastcall PKCS7_get_signed_attribute(__int64 a1)
{
__int64 v1; // x19
__int64 attr; // x0
v1 = *(_QWORD *)(a1 + 24);
X509at_get_attr_by_NID(v1);
attr = X509at_get_attr(v1);
return X509_ATTRIBUTE_get0_type(attr, 0);
}