//
// SXNET_get_id_ulong from 0x85bc80 to 0x85bd04 (132 bytes)
//
// 1 xrefs:
// > ??> @ 0x6975c
//
// 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_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;
}
}