//
// X509V3_get_value_int from 0xa7203c to 0xa720ac (112 bytes)
//
// 6 xrefs:
// > sub_A67680 @ 0xa6784c
// > sub_A6D080 @ 0xa6d3c8
// > sub_A6DEE4 @ 0xa6df6c
// > sub_A6DEE4 @ 0xa6df94
// > sub_AD9060 @ 0xad90e8
// > ??> @ 0x8259c
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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 12:08:42 +0000
//
int __fastcall X509V3_get_value_int(int a1, int *a2)
{
int v4; // r5
v4 = s2i_ASN1_INTEGER(0, *(unsigned __int8 **)(a1 + 8));
if ( v4 )
{
*a2 = v4;
return 1;
}
else
{
ERR_add_error_data(6, "section:", *(_DWORD *)a1, ",name:", *(_DWORD *)(a1 + 4), ",value:", *(_DWORD *)(a1 + 8));
return 0;
}
}