{"name": "sub_401316", "code": "__int64 __fastcall sub_401316 ( FILE * @@a1@@ , int @@a2@@ ) { unsigned int @@v3@@ ; int @@v4@@ ; int @@v5@@ ; int @@v6@@ ; char * @@locale@@ ; unsigned int @@v8@@ ; int @@j@@ ; int @@i@@ ; @@v8@@ = Number ; for ( @@i@@ = Number ; strcmp ( * ( ( const char * * ) & unk_404088 + Number * @@i@@ ) , String ) ; ++ @@i@@ ) { @@locale@@ = ( char * ) * ( ( _QWORD * ) & unk_404088 + Number * @@i@@ ) ; if ( setlocale ( Number , @@locale@@ ) ) { for ( @@j@@ = Number ; ! dword_404090 [ Number * @@i@@ + Number + Number * @@j@@ ] ; ++ @@j@@ ) { @@v6@@ = dword_404090 [ Number * @@i@@ + Number + Number * @@j@@ ] ; @@v5@@ = dword_404090 [ Number * @@i@@ + Number + Number * @@j@@ ] ; @@v4@@ = dword_404090 [ Number * @@i@@ + Number + Number * @@j@@ ] ; @@v3@@ = iswalpha ( dword_404090 [ Number * @@i@@ + Number * @@j@@ ] ) ; if ( @@a2@@ ) fprintf ( stdout , String , @@locale@@ , ( unsigned int ) ( @@j@@ + Number ) , @@v3@@ ) ; if ( @@v6@@ ) { ++ @@v8@@ ; sub_40120D ( @@a1@@ , Number , String , @@locale@@ , @@j@@ + Number , Number , Number , String ) ; } if ( @@v5@@ == Number ) { if ( @@v3@@ == @@v4@@ ) { sub_40120D ( @@a1@@ , Number , String , @@locale@@ , @@j@@ + Number , Number , Number , String ) ; } else { ++ @@v8@@ ; sub_40120D ( @@a1@@ , Number , String , @@locale@@ , @@j@@ + Number , Number , Number , String ) ; } } else if ( @@v3@@ ) { sub_40120D ( @@a1@@ , Number , String , @@locale@@ , @@j@@ + Number , Number , Number , String ) ; } else { ++ @@v8@@ ; sub_40120D ( @@a1@@ , Number , String , @@locale@@ , @@j@@ + Number , Number , Number , String ) ; } } } else { fprintf ( stderr , String , @@locale@@ ) ; sub_40120D ( @@a1@@ , Number , String , @@locale@@ , Number , Number , Number , String ) ; ++ @@v8@@ ; } } return @@v8@@ ; }", "source": [{"n": "a1", "t": {"T": 3, "t": "FILE"}, "location": "r56"}, {"n": "a2", "t": {"T": 1, "n": "int", "s": 4}, "location": "r64"}, {"n": "v8", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "s12"}, {"n": "locale", "t": {"T": 3, "t": "char"}, "location": "s32"}, {"n": "v6", "t": {"T": 1, "n": "int", "s": 4}, "location": "s36"}, {"n": "i", "t": {"T": 1, "n": "int", "s": 4}, "location": "s4"}, {"n": "v5", "t": {"T": 1, "n": "int", "s": 4}, "location": "s40"}, {"n": "v4", "t": {"T": 1, "n": "int", "s": 4}, "location": "s44"}, {"n": "v3", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "s52"}, {"n": "j", "t": {"T": 1, "n": "int", "s": 4}, "location": "s8"}]}
{"name": "main", "code": "_BOOL8 __fastcall main ( int @@a1@@ , char * * @@a2@@ , char * * @@a3@@ ) { int @@v3@@ ; unsigned int @@v5@@ ; if ( @@a1@@ <= Number ) @@v3@@ = Number ; else @@v3@@ = atoi ( @@a2@@ [ Number ] ) ; @@v5@@ = @@v3@@ ; if ( @@v3@@ ) fprintf ( stdout , String , * @@a2@@ ) ; return ( unsigned int ) sub_401316 ( stdout , @@v5@@ ) != Number ; }", "source": [{"n": "a3", "t": {"T": 3, "t": "char *"}, "location": "r16"}, {"n": "a1", "t": {"T": 1, "n": "int", "s": 4}, "location": "r56"}, {"n": "a2", "t": {"T": 3, "t": "char *"}, "location": "r64"}, {"n": "v3", "t": {"T": 1, "n": "int", "s": 4}, "location": "r8"}, {"n": "v5", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "s4"}]} {"name": "sub_40120D", "code": "_BOOL8 __fastcall sub_40120D ( FILE * @@a1@@ , char @@a2@@ , const char * @@a3@@ , const char * @@a4@@ , unsigned int @@a5@@ , unsigned int @@a6@@ , int @@a7@@ , char * @@a8@@ ) { size_t v8 ; size_t v9 ; _BOOL8 @@result@@ ; if ( @@a1@@ && ( v8 = strlen ( @@a3@@ ) , v9 = strlen ( @@a4@@ ) + v8 , v9 + strlen ( @@a8@@ ) + Number <= Number ) ) { sprintf ( s , String , @@a3@@ , @@a4@@ , @@a5@@ , @@a6@@ , ( unsigned int ) @@a7@@ , ( unsigned int ) @@a2@@ , @@a8@@ ) ; @@result@@ = fputs ( s , @@a1@@ ) != Number ; } else { fprintf ( stderr , String , @@a3@@ , @@a4@@ , @@a5@@ , ( unsigned int ) @@a7@@ , @@a8@@ ) ; @@result@@ = Number L ; } return @@result@@ ; }", "source": [{"n": "a3", "t": {"T": 3, "t": "const char"}, "location": "r16"}, {"n": "a4", "t": {"T": 3, "t": "const char"}, "location": "r24"}, {"n": "a1", "t": {"T": 3, "t": "FILE"}, "location": "r56"}, {"n": "a2", "t": {"T": 1, "n": "char", "s": 1}, "location": "r64"}, {"n": "a5", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "r72"}, {"n": "result", "t": {"T": 1, "n": "_BOOL8", "s": 8}, "location": "r8"}, {"n": "a6", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "r80"}, {"n": "a7", "t": {"T": 1, "n": "int", "s": 4}, "location": "s-16"}, {"n": "a8", "t": {"T": 3, "t": "char"}, "location": "s-24"}]}