{"name": "gnu_get_statement", "code": "__int64 gnu_get_statement ( ) { int v0 ; __int64 result ; __int64 v2 ; unsigned int v3 ; __int64 @@v4@@ ; char @@s@@ [ Number ] ; unsigned int @@v6@@ ; unsigned int @@v7@@ ; __int64 @@v8@@ ; char * * @@v9@@ ; __int64 @@v10@@ ; __int64 @@i@@ ; _BOOL4 @@v12@@ ; int @@v13@@ ; __int64 @@v14@@ ; @@v14@@ = get_token ( Number L ) ; if ( * ( _DWORD * ) ( @@v14@@ + Number ) != Number ) _assert_fail ( String , String , Number , String ) ; @@v10@@ = new_asm86 ( ) ; @@v13@@ = Number ; while ( ! strcmp ( * ( const char * * ) ( @@v14@@ + Number ) , String ) || ! strcmp ( * ( const char * * ) ( @@v14@@ + Number ) , String ) || ! strcmp ( * ( const char * * ) ( @@v14@@ + Number ) , String ) || ! strcmp ( * ( const char * * ) ( @@v14@@ + Number ) , String ) || ! strcmp ( * ( const char * * ) ( @@v14@@ + Number ) , String ) ) { if ( * ( _DWORD * ) ( @@v10@@ + Number ) ) parse_err ( Number L , @@v14@@ , String ) ; v0 = * ( char * ) ( * ( _QWORD * ) ( @@v14@@ + Number ) + Number L ) ; if ( v0 == Number ) goto LABEL_19 ; if ( v0 > Number ) goto LABEL_26 ; if ( v0 == Number ) { * ( _DWORD * ) ( @@v10@@ + Number ) = Number ; } else { if ( v0 > Number ) goto LABEL_26 ; if ( ! * ( _BYTE * ) ( * ( _QWORD * ) ( @@v14@@ + Number ) + Number L ) ) { * ( _DWORD * ) ( @@v10@@ + Number ) = Number ; goto LABEL_26 ; } if ( v0 == Number ) { LABEL_19 : * ( _DWORD * ) ( @@v10@@ + Number ) = Number ; goto LABEL_26 ; } } do { LABEL_26 : skip_token ( Number L ) ; @@v14@@ = get_token ( Number L ) ; } while ( * ( _DWORD * ) ( @@v14@@ + Number ) == Number ) ; @@v13@@ = Number ; } if ( @@v13@@ ) { if ( * ( _DWORD * ) ( @@v14@@ + Number ) != Number || ( @@v9@@ = search_mnem ( * ( const char * * ) ( @@v14@@ + Number ) ) ) == Number L || ! * ( ( _DWORD * ) @@v9@@ + Number ) ) { parse_err ( Number L , @@v14@@ , String ) ; del_asm86 ( @@v10@@ ) ; return Number L ; } } * ( _QWORD * ) ( @@v10@@ + Number ) = * ( _QWORD * ) ( @@v14@@ + Number ) ; @@v9@@ = search_mnem ( * ( const char * * ) ( @@v14@@ + Number ) ) ; if ( ! @@v9@@ ) { parse_err ( Number L , @@v14@@ , String , * ( const char * * ) ( @@v14@@ + Number ) ) ; del_asm86 ( @@v10@@ ) ; return Number L ; } * ( _DWORD * ) @@v10@@ = * ( ( _DWORD * ) @@v9@@ + Number ) ; * ( _QWORD * ) ( @@v10@@ + Number ) = * ( ( unsigned int * ) @@v9@@ + Number ) ; if ( * ( _DWORD * ) ( @@v10@@ + Number ) == Number ) { * ( _DWORD * ) ( @@v10@@ + Number ) |= Number ; * ( _DWORD * ) ( @@v10@@ + Number ) = Number ; } if ( ( unsigned int ) ( * ( _DWORD * ) @@v10@@ - Number ) <= Number && ( ( Number L << ( * ( _BYTE * ) @@v10@@ + Number ) ) & Number ) != Number ) @@v12@@ = Number ; else @@v12@@ = * ( _DWORD * ) ( @@v10@@ + Number ) > Number ; @@v6@@ = Number ; if ( * ( _DWORD * ) ( get_token ( Number L ) + Number ) == Number || ( v2 = gnu_get_oplist ( & @@v6@@ , @@v12@@ ) , ( * ( _QWORD * ) ( @@v10@@ + Number ) = v2 ) != Number L ) ) { if ( * ( _DWORD * ) ( get_token ( @@v6@@ ) + Number ) == Number ) { if ( * ( _DWORD * ) @@v10@@ > Number ) { for ( @@i@@ = * ( _QWORD * ) ( @@v10@@ + Number ) ; @@i@@ && * ( _DWORD * ) @@i@@ == Number ; @@i@@ = * ( _QWORD * ) ( @@i@@ + Number ) ) { @@v8@@ = * ( _QWORD * ) ( @@i@@ + Number ) ; * ( _QWORD * ) ( @@i@@ + Number ) = * ( _QWORD * ) ( @@i@@ + Number ) ; * ( _QWORD * ) ( @@i@@ + Number ) = @@v8@@ ; } } v3 = * ( _DWORD * ) @@v10@@ ; if ( * ( _DWORD * ) @@v10@@ <= Number && v3 < Number && ! v3 ) { if ( ! * ( _QWORD * ) ( @@v10@@ + Number ) || * * ( _DWORD * * ) ( @@v10@@ + Number ) != Number ) goto LABEL_38 ; if ( * ( _QWORD * ) ( @@v10@@ + Number ) && * * ( _DWORD * * ) ( @@v10@@ + Number ) == Number && ( unsigned int ) isanumber ( * ( _QWORD * ) ( * ( _QWORD * ) ( @@v10@@ + Number ) + Number L ) ) ) { @@v7@@ = Number << strtoul ( * ( const char * * ) ( * ( _QWORD * ) ( @@v10@@ + Number ) + Number L ) , Number L , Number ) ; sprintf ( @@s@@ , String , @@v7@@ ) ; deallocate ( * ( _QWORD * ) ( * ( _QWORD * ) ( @@v10@@ + Number ) + Number L ) ) ; @@v4@@ = * ( _QWORD * ) ( @@v10@@ + Number ) ; * ( _QWORD * ) ( @@v4@@ + Number ) = copystr ( @@s@@ ) ; } } skip_token ( @@v6@@ + Number ) ; result = @@v10@@ ; } else { parse_err ( Number L , @@v14@@ , String ) ; del_asm86 ( @@v10@@ ) ; result = Number L ; } } else { LABEL_38 : del_asm86 ( @@v10@@ ) ; result = Number L ; } return result ; }", "source": [{"n": "v4", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r32"}, {"n": "v14", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s24"}, {"n": "v13", "t": {"T": 1, "n": "int", "s": 4}, "location": "s28"}, {"n": "v12", "t": {"T": 1, "n": "_BOOL4", "s": 4}, "location": "s32"}, {"n": "i", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s40"}, {"n": "v10", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s48"}, {"n": "v9", "t": {"T": 3, "t": "char *"}, "location": "s56"}, {"n": "v8", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s64"}, {"n": "v7", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "s68"}, {"n": "v6", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "s72"}, {"n": "s", "t": {"T": 2, "n": 11, "s": 1, "t": "char"}, "location": "s83"}]}
{"name": "search_mnem", "code": "char * * __fastcall search_mnem ( const char * @@a1@@ ) { int @@v2@@ ; int @@v3@@ ; int @@v4@@ ; int @@v5@@ ; @@v5@@ = Number ; @@v4@@ = Number ; while ( @@v5@@ <= @@v4@@ ) { @@v3@@ = ( @@v5@@ + @@v4@@ ) / Number ; @@v2@@ = strcmp ( @@a1@@ , ( & mnemtab ) [ Number * @@v3@@ ] ) ; if ( ! @@v2@@ ) return & ( & mnemtab ) [ Number * ( ( @@v5@@ + @@v4@@ ) / Number ) ] ; if ( @@v2@@ >= Number ) @@v5@@ = @@v3@@ + Number ; else @@v4@@ = @@v3@@ - Number ; } return Number L ; }", "source": [{"n": "a1", "t": {"T": 3, "t": "const char"}, "location": "r56"}, {"n": "v3", "t": {"T": 1, "n": "int", "s": 4}, "location": "s12"}, {"n": "v2", "t": {"T": 1, "n": "int", "s": 4}, "location": "s28"}, {"n": "v5", "t": {"T": 1, "n": "int", "s": 4}, "location": "s4"}, {"n": "v4", "t": {"T": 1, "n": "int", "s": 4}, "location": "s8"}]} {"name": "gnu_get_oplist", "code": "__int64 __fastcall gnu_get_oplist ( unsigned int * @@a1@@ , unsigned int @@a2@@ ) { __int64 @@v3@@ ; __int64 @@v4@@ ; __int64 @@v5@@ ; __int64 @@v6@@ ; @@v6@@ = gnu_get_operand ( @@a1@@ , @@a2@@ ) ; if ( ! @@v6@@ ) return Number L ; @@v5@@ = get_token ( * @@a1@@ ) ; if ( * ( _DWORD * ) ( @@v5@@ + Number ) == Number || * ( _DWORD * ) ( @@v5@@ + Number ) == Number ) { @@v4@@ = @@v6@@ ; ++ * @@a1@@ ; @@v3@@ = gnu_get_oplist ( @@a1@@ , @@a2@@ ) ; if ( ! @@v3@@ ) { del_expr ( @@v6@@ ) ; return Number L ; } @@v6@@ = new_expr ( ) ; * ( _DWORD * ) @@v6@@ = Number ; * ( _QWORD * ) ( @@v6@@ + Number ) = @@v4@@ ; * ( _QWORD * ) ( @@v6@@ + Number ) = @@v3@@ ; } return @@v6@@ ; }", "source": [{"n": "a1", "t": {"T": 3, "t": "unsigned int"}, "location": "r56"}, {"n": "a2", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "r64"}, {"n": "v5", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s16"}, {"n": "v4", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s24"}, {"n": "v3", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s32"}, {"n": "v6", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s8"}]} {"name": "gnu_get_instruction", "code": "__int64 gnu_get_instruction ( ) { __int64 v1 ; __int64 v2 ; __int64 v3 ; __int64 v4 ; unsigned int @@v5@@ ; __int64 @@v6@@ ; __int64 @@v7@@ ; __int64 @@v8@@ ; @@v8@@ = Number L ; while ( Number ) { @@v7@@ = get_token ( Number L ) ; if ( * ( _DWORD * ) ( @@v7@@ + Number ) != Number && * ( _DWORD * ) ( @@v7@@ + Number ) != Number ) break ; zap ( ) ; skip_token ( Number L ) ; } if ( ! * ( _DWORD * ) ( @@v7@@ + Number ) ) return Number L ; if ( * ( _DWORD * ) ( @@v7@@ + Number ) == Number ) { @@v7@@ = get_token ( Number L ) ; if ( * ( _DWORD * ) ( @@v7@@ + Number ) == Number && ( unsigned int ) isanumber ( * ( _QWORD * ) ( @@v7@@ + Number ) ) && * ( _DWORD * ) ( get_token ( Number L ) + Number ) == Number ) { v1 = get_token ( Number L ) ; v2 = strtol ( * ( const char * * ) ( v1 + Number ) , Number L , Number ) - Number ; v3 = get_token ( Number L ) ; set_file ( * ( _QWORD * ) ( v3 + Number ) , v2 ) ; zap ( ) ; } else { parse_err ( Number L , @@v7@@ , String ) ; zap ( ) ; } @@v8@@ = gnu_get_instruction ( ) ; } else if ( * ( _DWORD * ) ( @@v7@@ + Number ) == Number && * ( _DWORD * ) ( get_token ( Number L ) + Number ) == Number ) { @@v8@@ = new_asm86 ( ) ; * ( _QWORD * ) ( @@v8@@ + Number ) = * ( _QWORD * ) ( @@v7@@ + Number ) ; * ( _DWORD * ) @@v8@@ = Number ; * ( _DWORD * ) ( @@v8@@ + Number ) = Number ; @@v6@@ = new_expr ( ) ; * ( _QWORD * ) ( @@v8@@ + Number ) = @@v6@@ ; * ( _DWORD * ) @@v6@@ = Number ; * ( _QWORD * ) ( @@v6@@ + Number ) = copystr ( * ( _QWORD * ) ( @@v7@@ + Number ) ) ; skip_token ( Number L ) ; } else if ( * ( _DWORD * ) ( @@v7@@ + Number ) == Number && * ( _DWORD * ) ( get_token ( Number L ) + Number ) == Number ) { @@v5@@ = Number ; @@v6@@ = gnu_get_C_expression ( & @@v5@@ ) ; if ( @@v6@@ ) { if ( * ( _DWORD * ) ( get_token ( @@v5@@ ) + Number ) == Number ) { @@v8@@ = new_asm86 ( ) ; * ( _QWORD * ) ( @@v8@@ + Number ) = * ( _QWORD * ) ( @@v7@@ + Number ) ; * ( _DWORD * ) @@v8@@ = Number ; * ( _DWORD * ) ( @@v8@@ + Number ) = Number ; * ( _QWORD * ) ( @@v8@@ + Number ) = new_expr ( ) ; * * ( _DWORD * * ) ( @@v8@@ + Number ) = Number ; v4 = * ( _QWORD * ) ( @@v8@@ + Number ) ; * ( _QWORD * ) ( v4 + Number ) = copystr ( * ( _QWORD * ) ( @@v7@@ + Number ) ) ; * ( _QWORD * ) ( * ( _QWORD * ) ( @@v8@@ + Number ) + Number L ) = @@v6@@ ; skip_token ( @@v5@@ + Number ) ; } else { parse_err ( Number L , @@v7@@ , String ) ; zap ( ) ; @@v8@@ = gnu_get_instruction ( ) ; } } else { zap ( ) ; @@v8@@ = gnu_get_instruction ( ) ; } } else if ( * ( _DWORD * ) ( @@v7@@ + Number ) == Number ) { @@v8@@ = gnu_get_statement ( ) ; if ( ! @@v8@@ ) { zap ( ) ; @@v8@@ = gnu_get_instruction ( ) ; } } else { parse_err ( Number L , @@v7@@ , String ) ; zap ( ) ; @@v8@@ = gnu_get_instruction ( ) ; } return @@v8@@ ; }", "source": [{"n": "v8", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s24"}, {"n": "v7", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s32"}, {"n": "v6", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s40"}, {"n": "v5", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "s44"}]}