//
// X509V3_add_value_int from 0xa71dd8 to 0xa71e3c (100 bytes)
//
// 5 xrefs:
// > sub_A6DE74 @ 0xa6de98
// > sub_A6DE74 @ 0xa6deac
// > sub_A70B14 @ 0xa70b64
// > sub_AD8FD0 @ 0xad9008
// > ??> @ 0x82f1c
//
// 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_add_value_int(const char *a1, int a2, int **a3)
{
const char *v5; // r0
char *v6; // r6
int v7; // r4
if ( !a2 )
return 1;
v5 = i2s_ASN1_INTEGER(0, a2);
v6 = (char *)v5;
if ( !v5 )
return 0;
v7 = X509V3_add_value(a1, v5, a3);
CRYPTO_free(v6, (int)"crypto/x509v3/v3_utl.c", 189);
return v7;
}