//
// X509_ATTRIBUTE_get0_data from 0x83e59c to 0x83e5fc (96 bytes)
//
// 2 xrefs:
// > X509at_get0_data_by_OBJ @ 0x83e654
// > ??> @ 0x66cac
//
// 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
//
int __fastcall X509_ATTRIBUTE_get0_data(int a1, unsigned int a2, int a3)
{
int v4; // r0
int v5; // r4
v4 = X509_ATTRIBUTE_get0_type(a1, a2);
v5 = v4;
if ( !v4 )
return 0;
if ( ASN1_TYPE_get(v4) == a3 )
return *(_DWORD *)(v5 + 4);
ERR_put_error(11, 139, 122, (int)"crypto/x509/x509_att.c", 318);
return 0;
}