//
// X509V3_add_value_int from 0x1081dfc to 0x1081e88 (140 bytes)
//
// 5 xrefs:
// > sub_107DDC4 @ 0x107ddec
// > sub_107DDC4 @ 0x107de00
// > sub_1080B08 @ 0x1080b78
// > sub_10EDD30 @ 0x10edd6c
// > ??> @ 0x8ea38
//
// 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
//
char *__fastcall X509V3_add_value_int(const char *a1, _BYTE *a2, int **a3)
{
char *result; // x0
char *v6; // x20
unsigned int v7; // w19
if ( !a2 )
return (_BYTE *)(dword_0 + 1);
result = i2s_ASN1_INTEGER(0, a2);
v6 = result;
if ( result )
{
v7 = X509V3_add_value(a1, result, a3);
CRYPTO_free(v6, (__int64)"crypto/x509v3/v3_utl.c", 189);
return (char *)v7;
}
return result;
}