//
// PKCS7_get_attribute from 0x104c088 to 0x104c0c0 (56 bytes)
//
// 1 xrefs:
// > ??> @ 0xa9f18
//
// 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_attribute(__int64 a1)
{
__int64 v1; // x19
__int64 attr; // x0
v1 = *(_QWORD *)(a1 + 48);
X509at_get_attr_by_NID(v1);
attr = X509at_get_attr(v1);
return X509_ATTRIBUTE_get0_type(attr, 0);
}