// // sub_1005FA69C from 0x1005fa69c to 0x1005fa7ec (336 bytes) // // 2 xrefs: // > sub_1005FA194 @ 0x1005fa374 // > sub_1005FA194 @ 0x1005fa550 // // 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_1005FA69C(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_1005E0E48(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_1005E0E48(13, 182, 186, (__int64)"asn1_gen.c", 443); sub_1005E19F0(2, v14, v15, v16, v17, v18, v19, v20, (char)"Char="); return 0; }
GD Web Decomp Icon

GD Web Decomp

Raw Source