//
// SXNET_get_id_asc from 0xa70814 to 0xa7087c (104 bytes)
//
// 1 xrefs:
// > ??> @ 0x831cc
//
// 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:41 +0000
//
int __fastcall SXNET_get_id_asc(int a1, int a2)
{
int v3; // r5
int id_INTEGER; // r4
v3 = s2i_ASN1_INTEGER(0, a2);
if ( v3 )
{
id_INTEGER = SXNET_get_id_INTEGER(a1, v3);
ASN1_INTEGER_free(v3);
return id_INTEGER;
}
else
{
ERR_put_error(34, 128, 131, (int)"crypto/x509v3/v3_sxnet.c", 192);
return 0;
}
}