//
// PKCS7_get_attribute from 0xa3d2bc to 0xa3d2e8 (44 bytes)
//
// 1 xrefs:
// > ??> @ 0x7f8cc
//
// 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_attribute(int a1)
{
int v1; // r4
int attr; // r0
v1 = *(_DWORD *)(a1 + 24);
X509at_get_attr_by_NID(v1);
attr = X509at_get_attr(v1);
return X509_ATTRIBUTE_get0_type(attr, 0);
}