//
// sub_E0DA54 from 0xe0da54 to 0xe0db3c (232 bytes)
//
// 2 xrefs:
// > sub_E0D194 @ 0xe0d580
// > sub_E0D194 @ 0xe0d590
//
// 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 sub_E0DA54(const char *a1, int a2, __int64 a3)
{
unsigned __int64 v6; // x1
unsigned int v8; // w19
char *v9; // [xsp+38h] [xbp+38h] BYREF
if ( !a1 )
return 0;
v6 = strtoul(a1, &v9, 10);
if ( v9 )
{
if ( *v9 && v9 != &a1[a2] )
return 0;
}
if ( (v6 & 0x8000000000000000LL) != 0 )
{
v8 = 0;
ERR_put_error(13, 180, 187, (__int64)"crypto/asn1/asn1_gen.c", 755);
return v8;
}
if ( (unsigned int)ASN1_BIT_STRING_set_bit(a3, v6, 1) )
return 1;
ERR_put_error(13, 180, 65, (__int64)"crypto/asn1/asn1_gen.c", 759);
return 0;
}