//
// X509_ATTRIBUTE_get0_data from 0xde640c to 0xde646c (96 bytes)
//
// 2 xrefs:
// > X509at_get0_data_by_OBJ @ 0xde64d8
// > ??> @ 0x44850
//
// 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 X509_ATTRIBUTE_get0_data(__int64 a1, int a2, int a3)
{
__int64 result; // x0
__int64 v5; // x19
result = X509_ATTRIBUTE_get0_type(a1, a2);
v5 = result;
if ( result )
{
if ( (unsigned int)ASN1_TYPE_get(result) == a3 )
{
return *(_QWORD *)(v5 + 8);
}
else
{
ERR_put_error(11, 139, 122, (__int64)"crypto/x509/x509_att.c", 318);
return 0;
}
}
return result;
}