//
// X509at_get_attr_by_NID from 0x1064020 to 0x1064068 (72 bytes)
//
// 9 xrefs:
// > EVP_PKEY_get_attr_by_NID @ 0x1029110
// > PKCS7_get_signed_attribute @ 0x104b97c
// > PKCS7_get_attribute @ 0x104c0a0
// > PKCS7_digest_from_attributes @ 0x104c0d8
// > PKCS12_get_attr_gen @ 0x10e3bc0
// > X509_REQ_get_attr_by_NID @ 0x10ed2c8
// > CMS_signed_get_attr_by_NID @ 0x10f8d94
// > CMS_unsigned_get_attr_by_NID @ 0x10f8e44
// > ??> @ 0x991f0
//
// 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:52 +0000
//
__int64 __fastcall X509at_get_attr_by_NID(unsigned int *a1, unsigned int a2, int a3)
{
char **v4; // x1
v4 = OBJ_nid2obj(a2);
if ( v4 )
return X509at_get_attr_by_OBJ(a1, (__int64)v4, a3);
else
return 4294967294LL;
}