//
// SXNET_add_id_ulong from 0x1080778 to 0x1080808 (144 bytes)
//
// 1 xrefs:
// > ??> @ 0xdc3f0
//
// 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 SXNET_add_id_ulong(__int64 *a1, __int64 a2, char *a3, int a4)
{
__int64 v7; // x0
__int64 v8; // x19
v7 = ASN1_INTEGER_new();
v8 = v7;
if ( v7 && (unsigned int)ASN1_INTEGER_set(v7, a2) )
return SXNET_add_id_INTEGER(a1, v8, a3, a4);
ERR_put_error(34, 127, 65, (__int64)"crypto/x509v3/v3_sxnet.c", 124);
ASN1_INTEGER_free(v8);
return 0;
}