//
// SXNET_add_id_ulong from 0x85bb8c to 0x85bc10 (132 bytes)
//
// 1 xrefs:
// > ??> @ 0x6973c
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
int __fastcall SXNET_add_id_ulong(int *a1, int a2, char *a3, int a4)
{
int v8; // r0
int v9; // r4
v8 = ASN1_INTEGER_new();
v9 = v8;
if ( v8 && ASN1_INTEGER_set(v8, a2) )
return SXNET_add_id_INTEGER(a1, v9, a3, a4);
ERR_put_error(34, 127, 65, (int)"crypto/x509v3/v3_sxnet.c", 124);
ASN1_INTEGER_free(v9);
return 0;
}