//
// X509V3_get_value_int from 0x1082010 to 0x1082088 (120 bytes)
//
// 6 xrefs:
// > sub_1078130 @ 0x1078330
// > sub_107D408 @ 0x107d6b0
// > sub_107DE2C @ 0x107debc
// > sub_107DE2C @ 0x107def0
// > sub_10EDDB0 @ 0x10ede40
// > ??> @ 0x78130
//
// 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:17:10 +0000
//
__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;
}
}