//
// sub_A7A56C from 0xa7a56c to 0xa7a63c (208 bytes)
//
// 3 xrefs:
// > sub_A79B7C @ 0xa7a124
// > sub_A79B7C @ 0xa7a138
// > ??> @ 0xa7a4fc
//
// 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:45 +0000
//
int __fastcall sub_A7A56C(const char *a1, int a2, int a3)
{
signed int v6; // r0
char *v9; // [sp+Ch] [bp-4h] BYREF
if ( !a1 )
return 0;
v6 = strtoul(a1, &v9, 10);
if ( v9 )
{
if ( *v9 && v9 != &a1[a2] )
return 0;
}
if ( v6 < 0 )
{
ERR_put_error(13, 180, 187, (int)"crypto/asn1/asn1_gen.c", 755);
return 0;
}
if ( ASN1_BIT_STRING_set_bit(a3, v6, 1) )
return 1;
ERR_put_error(13, 180, 65, (int)"crypto/asn1/asn1_gen.c", 759);
return 0;
}