//
// SXNET_get_id_ulong from 0xa70880 to 0xa70904 (132 bytes)
//
// 1 xrefs:
// > ??> @ 0x831dc
//
// 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 SXNET_get_id_ulong(int a1, int a2)
{
int v4; // r0
int v5; // r5
int id_INTEGER; // r4
v4 = ASN1_INTEGER_new();
v5 = v4;
if ( v4 && ASN1_INTEGER_set(v4, a2) )
{
id_INTEGER = SXNET_get_id_INTEGER(a1, v5);
ASN1_INTEGER_free(v5);
return id_INTEGER;
}
else
{
ERR_put_error(34, 129, 65, (int)"crypto/x509v3/v3_sxnet.c", 207);
ASN1_INTEGER_free(v5);
return 0;
}
}