//
// SXNET_get_id_ulong from 0xe02534 to 0xe025bc (136 bytes)
//
// 1 xrefs:
// > ??> @ 0xbba70
//
// 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
//
__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;
}
}