// // sub_100720804 from 0x100720804 to 0x100720954 (336 bytes) // // 2 xrefs: // > sub_1007202FC @ 0x1007204dc // > sub_1007202FC @ 0x1007206b8 // // 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_100720804(char *__str, int a2, _DWORD *a3, int *a4) { unsigned __int64 v8; // x0 char *v9; // x8 int v12; // w8 int v13; // w8 __int64 v14; // x1 __int64 v15; // x2 __int64 v16; // x3 __int64 v17; // x4 __int64 v18; // x5 __int64 v19; // x6 __int64 v20; // x7 char *__endptr; // [xsp+10h] [xbp-30h] BYREF char v22; // [xsp+1Eh] [xbp-22h] char v23; // [xsp+1Fh] [xbp-21h] if ( !__str ) return 0; v8 = strtoul(__str, &__endptr, 10); v9 = __endptr; if ( __endptr ) { if ( *__endptr && __endptr > &__str[a2] ) return 0; } if ( (v8 & 0x8000000000000000LL) != 0 ) { sub_100706FB0(13, 182, 187, (__int64)"asn1_gen.c", 412); return 0; } *a3 = v8; if ( !v9 || a2 + (_DWORD)__str == (_DWORD)v9 ) goto LABEL_20; v12 = *v9; if ( v12 > 79 ) { if ( v12 == 80 ) { v13 = 192; goto LABEL_21; } if ( v12 == 85 ) { *a4 = 0; return 1; } } else { if ( v12 == 65 ) { v13 = 64; LABEL_21: *a4 = v13; return 1; } if ( v12 == 67 ) { LABEL_20: v13 = 128; goto LABEL_21; } } v22 = v12; v23 = 0; sub_100706FB0(13, 182, 186, (__int64)"asn1_gen.c", 443); sub_100707B58(2, v14, v15, v16, v17, v18, v19, v20, (char)"Char="); return 0; }
GD Web Decomp Icon

GD Web Decomp

Raw Source