//
// X509V3_get_value_int from 0xe03cd0 to 0xe03d48 (120 bytes)
//
// 6 xrefs:
// > sub_DF9DF0 @ 0xdf9ff0
// > sub_DFF0C8 @ 0xdff370
// > sub_DFFAEC @ 0xdffb7c
// > sub_DFFAEC @ 0xdffbb0
// > sub_E6FDB0 @ 0xe6fe40
// > ??> @ 0x56fe8
//
// 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 X509V3_get_value_int(__int64 a1, __int64 *a2)
{
__int64 v4; // x0
v4 = s2i_ASN1_INTEGER(0, *(unsigned __int8 **)(a1 + 16));
if ( v4 )
{
*a2 = v4;
return 1;
}
else
{
ERR_add_error_data(6, "section:", *(_QWORD *)a1, ",name:", *(_QWORD *)(a1 + 8), ",value:", *(_QWORD *)(a1 + 16));
return 0;
}
}