//
// sub_100720954 from 0x100720954 to 0x100720a18 (196 bytes)
//
// 1 xrefs:
// > sub_10071FA68 @ 0x10071fff0
//
// 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 11:13:05 +0000
//
__int64 __fastcall sub_100720954(char *__str, int a2, int *a3)
{
unsigned __int64 v6; // x0
__int64 v8; // x20
__int16 v9; // w2
int v10; // w4
char *__endptr; // [xsp+8h] [xbp-28h] BYREF
if ( !__str )
return 0;
v6 = strtoul(__str, &__endptr, 10);
if ( __endptr )
{
if ( *__endptr && __endptr != &__str[a2] )
return 0;
}
if ( (v6 & 0x8000000000000000LL) != 0 )
{
v9 = 187;
v10 = 823;
goto LABEL_12;
}
v8 = 1;
if ( !(unsigned int)sub_100714BD4(a3, v6, 1) )
{
v9 = 65;
v10 = 827;
LABEL_12:
sub_100706FB0(13, 180, v9, (__int64)"asn1_gen.c", v10);
return 0;
}
return v8;
}