//
// PKCS7_get_signed_attribute from 0xdcd604 to 0xdcd63c (56 bytes)
//
// 4 xrefs:
// > PKCS7_dataFinal @ 0xdcda70
// > PKCS7_get_smimecap @ 0xe662e8
// > PKCS7_add_attrib_content_type @ 0xe66458
// > ??> @ 0x2d888
//
// 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 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);
}