//
// SXNET_get_id_ulong from 0x1080874 to 0x10808fc (136 bytes)
//
// 1 xrefs:
// > ??> @ 0xf4b58
//
// 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_get_id_ulong(__int64 a1, __int64 a2)
{
__int64 v3; // x0
__int64 v4; // x19
__int64 id_INTEGER; // x20
v3 = ASN1_INTEGER_new();
v4 = v3;
if ( v3 && (unsigned int)ASN1_INTEGER_set(v3, a2) )
{
id_INTEGER = SXNET_get_id_INTEGER(a1, v4);
ASN1_INTEGER_free(v4);
return id_INTEGER;
}
else
{
ERR_put_error(34, 129, 65, (__int64)"crypto/x509v3/v3_sxnet.c", 207);
ASN1_INTEGER_free(v4);
return 0;
}
}