{"name": "enum_string", "code": "__int64 __fastcall enum_string ( unsigned int @@a1@@ ) { return mesa_lookup_enum_by_nr ( @@a1@@ ) ; }", "source": [{"n": "a1", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "r56"}]}
{"name": "print_list", "code": "char __fastcall print_list ( __int64 @@a1@@ , unsigned int @@a2@@ ) { __int64 v2 ; const char * v3 ; const char * v4 ; const char * v5 ; __int64 v6 ; unsigned int @@v7@@ ; unsigned int v8 ; unsigned int v9 ; const char * v10 ; const char * v11 ; const char * v12 ; const char * v13 ; unsigned int v14 ; const char * v15 ; const char * v16 ; unsigned int v17 ; unsigned int v18 ; const char * v19 ; unsigned int v20 ; unsigned int v21 ; unsigned int v22 ; unsigned int v23 ; const char * v24 ; const char * v25 ; const char * v26 ; const char * v27 ; double v29 ; double v30 ; double v31 ; double v32 ; double v33 ; double v34 ; double v35 ; double v36 ; double v37 ; double v38 ; double v39 ; int @@v40@@ ; bool @@v41@@ ; _DWORD * @@v42@@ ; if ( islist ( @@a1@@ , @@a2@@ ) ) { v2 = lookup_list ( @@a1@@ , @@a2@@ ) ; if ( v2 ) { @@v42@@ = * ( _DWORD * * ) ( v2 + Number ) ; printf ( String , @@a2@@ , @@v42@@ ) ; LOBYTE ( v2 ) = @@v42@@ == Number L ; @@v41@@ = @@v42@@ == Number L ; while ( Number ) { while ( Number ) { if ( @@v41@@ ) return v2 ; @@v40@@ = * @@v42@@ ; if ( ! is_ext_opcode ( * @@v42@@ ) ) break ; v2 = Number L * ( int ) ext_opcode_print ( @@a1@@ , @@v42@@ ) ; @@v42@@ = ( _DWORD * ) ( ( char * ) @@v42@@ + v2 ) ; } switch ( @@v40@@ ) { case Number : v36 = * ( ( float * ) @@v42@@ + Number ) ; v3 = ( const char * ) enum_string ( @@v42@@ [ Number ] ) ; LOBYTE ( v2 ) = printf ( String , v3 , v36 ) ; goto LABEL_64 ; case Number : v14 = @@v42@@ [ Number ] ; v15 = ( const char * ) mesa_lookup_enum_by_nr ( ( unsigned int ) @@v42@@ [ Number ] ) ; LOBYTE ( v2 ) = printf ( String , v15 , v14 ) ; goto LABEL_64 ; case Number : LOBYTE ( v2 ) = printf ( String , ( unsigned int ) @@v42@@ [ Number ] , ( unsigned int ) @@v42@@ [ Number ] , * ( ( float * ) @@v42@@ + Number ) , * ( ( float * ) @@v42@@ + Number ) , * ( ( float * ) @@v42@@ + Number ) , * ( ( float * ) @@v42@@ + Number ) , * ( ( const void * * ) @@v42@@ + Number ) ) ; goto LABEL_64 ; case Number : LOBYTE ( v2 ) = printf ( String , ( unsigned int ) @@v42@@ [ Number ] ) ; goto LABEL_64 ; case Number : LOBYTE ( v2 ) = printf ( String , ( unsigned int ) @@v42@@ [ Number ] , * ( unsigned int * ) ( @@a1@@ + Number ) , ( unsigned int ) ( @@v42@@ [ Number ] + * ( _DWORD * ) ( @@a1@@ + Number ) ) ) ; goto LABEL_64 ; case Number : v37 = * ( ( float * ) @@v42@@ + Number ) ; v33 = * ( ( float * ) @@v42@@ + Number ) ; v31 = * ( ( float * ) @@v42@@ + Number ) ; v29 = * ( ( float * ) @@v42@@ + Number ) ; v4 = ( const char * ) enum_string ( @@v42@@ [ Number ] ) ; v5 = ( const char * ) enum_string ( @@v42@@ [ Number ] ) ; LOBYTE ( v2 ) = printf ( String , v5 , v4 , v29 , v31 , v33 , v37 ) ; goto LABEL_64 ; case Number : v6 = ( unsigned int ) @@v42@@ [ Number ] ; @@v7@@ = @@v42@@ [ Number ] ; v8 = @@v42@@ [ Number ] ; v9 = @@v42@@ [ Number ] ; v10 = ( const char * ) enum_string ( @@v42@@ [ Number ] ) ; v11 = ( const char * ) enum_string ( @@v42@@ [ Number ] ) ; LOBYTE ( v2 ) = printf ( String , v11 , v10 , v9 , v8 , @@v7@@ , v6 ) ; goto LABEL_64 ; case Number : v12 = ( const char * ) enum_string ( @@v42@@ [ Number ] ) ; LOBYTE ( v2 ) = printf ( String , v12 ) ; goto LABEL_64 ; case Number : v13 = ( const char * ) enum_string ( @@v42@@ [ Number ] ) ; LOBYTE ( v2 ) = printf ( String , v13 ) ; goto LABEL_64 ; case Number : LOBYTE ( v2 ) = printf ( String , ( unsigned int ) @@v42@@ [ Number ] , ( unsigned int ) @@v42@@ [ Number ] ) ; goto LABEL_64 ; case Number : LOBYTE ( v2 ) = printf ( String , ( unsigned int ) @@v42@@ [ Number ] , ( unsigned int ) @@v42@@ [ Number ] , ( unsigned int ) @@v42@@ [ Number ] , ( unsigned int ) @@v42@@ [ Number ] ) ; goto LABEL_64 ; case Number : LOBYTE ( v2 ) = printf ( String , * ( ( float * ) @@v42@@ + Number ) , * ( ( float * ) @@v42@@ + Number ) , * ( ( float * ) @@v42@@ + Number ) , * ( ( float * ) @@v42@@ + Number ) , * ( ( float * ) @@v42@@ + Number ) , * ( ( float * ) @@v42@@ + Number ) ) ; goto LABEL_64 ; case Number : LOBYTE ( v2 ) = printf ( String , ( unsigned int ) @@v42@@ [ Number ] , * ( ( unsigned __int16 * ) @@v42@@ + Number ) ) ; goto LABEL_64 ; case Number : LOBYTE ( v2 ) = puts ( String ) ; goto LABEL_64 ; case Number : puts ( String ) ; printf ( String , * ( ( float * ) @@v42@@ + Number ) , * ( ( float * ) @@v42@@ + Number ) , * ( ( float * ) @@v42@@ + Number ) , * ( ( float * ) @@v42@@ + Number ) ) ; printf ( String , * ( ( float * ) @@v42@@ + Number ) , * ( ( float * ) @@v42@@ + Number ) , * ( ( float * ) @@v42@@ + Number ) , * ( ( float * ) @@v42@@ + Number ) ) ; printf ( String , * ( ( float * ) @@v42@@ + Number ) , * ( ( float * ) @@v42@@ + Number ) , * ( ( float * ) @@v42@@ + Number ) , * ( ( float * ) @@v42@@ + Number ) ) ; LOBYTE ( v2 ) = printf ( String , * ( ( float * ) @@v42@@ + Number ) , * ( ( float * ) @@v42@@ + Number ) , * ( ( float * ) @@v42@@ + Number ) , * ( ( float * ) @@v42@@ + Number ) ) ; goto LABEL_64 ; case Number : v17 = @@v42@@ [ Number ] ; v18 = @@v42@@ [ Number ] ; v38 = * ( ( float * ) @@v42@@ + Number ) ; v34 = * ( ( float * ) @@v42@@ + Number ) ; v19 = ( const char * ) mesa_lookup_enum_by_nr ( ( unsigned int ) @@v42@@ [ Number ] ) ; LOBYTE ( v2 ) = printf ( String , v19 , v34 , v38 , v18 , v17 ) ; goto LABEL_64 ; case Number : v20 = @@v42@@ [ Number ] ; v21 = @@v42@@ [ Number ] ; v22 = @@v42@@ [ Number ] ; v23 = @@v42@@ [ Number ] ; v39 = * ( ( float * ) @@v42@@ + Number ) ; v35 = * ( ( float * ) @@v42@@ + Number ) ; v32 = * ( ( float * ) @@v42@@ + Number ) ; v30 = * ( ( float * ) @@v42@@ + Number ) ; v24 = ( const char * ) mesa_lookup_enum_by_nr ( ( unsigned int ) @@v42@@ [ Number ] ) ; LOBYTE ( v2 ) = printf ( String , v24 , v30 , v32 , v35 , v39 , v23 , v22 , v21 , v20 ) ; goto LABEL_64 ; case Number : LOBYTE ( v2 ) = printf ( String , ( unsigned int ) @@v42@@ [ Number ] , * ( ( float * ) @@v42@@ + Number ) , * ( ( float * ) @@v42@@ + Number ) ) ; goto LABEL_64 ; case Number : LOBYTE ( v2 ) = printf ( String , ( unsigned int ) @@v42@@ [ Number ] , * ( ( float * ) @@v42@@ + Number ) , * ( ( float * ) @@v42@@ + Number ) , ( unsigned int ) @@v42@@ [ Number ] , * ( ( float * ) @@v42@@ + Number ) , * ( ( float * ) @@v42@@ + Number ) ) ; goto LABEL_64 ; case Number : puts ( String ) ; printf ( String , * ( ( float * ) @@v42@@ + Number ) , * ( ( float * ) @@v42@@ + Number ) , * ( ( float * ) @@v42@@ + Number ) , * ( ( float * ) @@v42@@ + Number ) ) ; printf ( String , * ( ( float * ) @@v42@@ + Number ) , * ( ( float * ) @@v42@@ + Number ) , * ( ( float * ) @@v42@@ + Number ) , * ( ( float * ) @@v42@@ + Number ) ) ; printf ( String , * ( ( float * ) @@v42@@ + Number ) , * ( ( float * ) @@v42@@ + Number ) , * ( ( float * ) @@v42@@ + Number ) , * ( ( float * ) @@v42@@ + Number ) ) ; LOBYTE ( v2 ) = printf ( String , * ( ( float * ) @@v42@@ + Number ) , * ( ( float * ) @@v42@@ + Number ) , * ( ( float * ) @@v42@@ + Number ) , * ( ( float * ) @@v42@@ + Number ) ) ; goto LABEL_64 ; case Number : LOBYTE ( v2 ) = printf ( String , * ( ( float * ) @@v42@@ + Number ) , * ( ( float * ) @@v42@@ + Number ) , * ( ( float * ) @@v42@@ + Number ) , * ( ( float * ) @@v42@@ + Number ) , * ( ( float * ) @@v42@@ + Number ) , * ( ( float * ) @@v42@@ + Number ) ) ; goto LABEL_64 ; case Number : LOBYTE ( v2 ) = puts ( String ) ; goto LABEL_64 ; case Number : LOBYTE ( v2 ) = puts ( String ) ; goto LABEL_64 ; case Number : LOBYTE ( v2 ) = puts ( String ) ; goto LABEL_64 ; case Number : LOBYTE ( v2 ) = printf ( String , ( unsigned int ) @@v42@@ [ Number ] ) ; goto LABEL_64 ; case Number : LOBYTE ( v2 ) = puts ( String ) ; goto LABEL_64 ; case Number : LOBYTE ( v2 ) = printf ( String , ( unsigned int ) @@v42@@ [ Number ] ) ; goto LABEL_64 ; case Number : LOBYTE ( v2 ) = printf ( String , * ( ( float * ) @@v42@@ + Number ) , * ( ( float * ) @@v42@@ + Number ) , * ( ( float * ) @@v42@@ + Number ) , * ( ( float * ) @@v42@@ + Number ) ) ; goto LABEL_64 ; case Number : LOBYTE ( v2 ) = printf ( String , * ( ( float * ) @@v42@@ + Number ) , * ( ( float * ) @@v42@@ + Number ) , * ( ( float * ) @@v42@@ + Number ) , * ( ( float * ) @@v42@@ + Number ) ) ; goto LABEL_64 ; case Number : LOBYTE ( v2 ) = printf ( String , * ( ( float * ) @@v42@@ + Number ) , * ( ( float * ) @@v42@@ + Number ) , * ( ( float * ) @@v42@@ + Number ) ) ; goto LABEL_64 ; case Number : v16 = ( const char * ) mesa_lookup_enum_by_nr ( ( unsigned int ) @@v42@@ [ Number ] ) ; LOBYTE ( v2 ) = printf ( String , v16 ) ; goto LABEL_64 ; case Number : LOBYTE ( v2 ) = printf ( String , * ( ( float * ) @@v42@@ + Number ) , * ( ( float * ) @@v42@@ + Number ) , * ( ( float * ) @@v42@@ + Number ) ) ; goto LABEL_64 ; case Number : LOBYTE ( v2 ) = printf ( String , ( unsigned int ) @@v42@@ [ Number ] , * ( ( float * ) @@v42@@ + Number ) ) ; goto LABEL_64 ; case Number : LOBYTE ( v2 ) = printf ( String , ( unsigned int ) @@v42@@ [ Number ] , * ( ( float * ) @@v42@@ + Number ) , * ( ( float * ) @@v42@@ + Number ) ) ; goto LABEL_64 ; case Number : LOBYTE ( v2 ) = printf ( String , ( unsigned int ) @@v42@@ [ Number ] , * ( ( float * ) @@v42@@ + Number ) , * ( ( float * ) @@v42@@ + Number ) , * ( ( float * ) @@v42@@ + Number ) ) ; goto LABEL_64 ; case Number : LOBYTE ( v2 ) = printf ( String , ( unsigned int ) @@v42@@ [ Number ] , * ( ( float * ) @@v42@@ + Number ) , * ( ( float * ) @@v42@@ + Number ) , * ( ( float * ) @@v42@@ + Number ) , * ( ( float * ) @@v42@@ + Number ) ) ; goto LABEL_64 ; case Number : LOBYTE ( v2 ) = printf ( String , ( unsigned int ) @@v42@@ [ Number ] , * ( ( float * ) @@v42@@ + Number ) ) ; goto LABEL_64 ; case Number : LOBYTE ( v2 ) = printf ( String , ( unsigned int ) @@v42@@ [ Number ] , * ( ( float * ) @@v42@@ + Number ) , * ( ( float * ) @@v42@@ + Number ) ) ; goto LABEL_64 ; case Number : LOBYTE ( v2 ) = printf ( String , ( unsigned int ) @@v42@@ [ Number ] , * ( ( float * ) @@v42@@ + Number ) , * ( ( float * ) @@v42@@ + Number ) , * ( ( float * ) @@v42@@ + Number ) ) ; goto LABEL_64 ; case Number : LOBYTE ( v2 ) = printf ( String , ( unsigned int ) @@v42@@ [ Number ] , * ( ( float * ) @@v42@@ + Number ) , * ( ( float * ) @@v42@@ + Number ) , * ( ( float * ) @@v42@@ + Number ) , * ( ( float * ) @@v42@@ + Number ) ) ; goto LABEL_64 ; case Number : LOBYTE ( v2 ) = printf ( String , ( unsigned int ) @@v42@@ [ Number ] , ( unsigned int ) @@v42@@ [ Number ] , * ( ( float * ) @@v42@@ + Number ) , * ( ( float * ) @@v42@@ + Number ) , * ( ( float * ) @@v42@@ + Number ) , * ( ( float * ) @@v42@@ + Number ) ) ; goto LABEL_64 ; case Number : LOBYTE ( v2 ) = printf ( String , ( unsigned int ) @@v42@@ [ Number ] ) ; goto LABEL_64 ; case Number : LOBYTE ( v2 ) = puts ( String ) ; goto LABEL_64 ; case Number : LOBYTE ( v2 ) = printf ( String , * ( ( float * ) @@v42@@ + Number ) , * ( ( float * ) @@v42@@ + Number ) , * ( ( float * ) @@v42@@ + Number ) , * ( ( float * ) @@v42@@ + Number ) ) ; goto LABEL_64 ; case Number : LOBYTE ( v2 ) = printf ( String , * ( ( float * ) @@v42@@ + Number ) ) ; goto LABEL_64 ; case Number : LOBYTE ( v2 ) = printf ( String , * ( ( float * ) @@v42@@ + Number ) , * ( ( float * ) @@v42@@ + Number ) ) ; goto LABEL_64 ; case Number : LOBYTE ( v2 ) = printf ( String , ( unsigned int ) @@v42@@ [ Number ] ) ; goto LABEL_64 ; case Number : LOBYTE ( v2 ) = printf ( String , ( unsigned int ) @@v42@@ [ Number ] , ( unsigned int ) @@v42@@ [ Number ] ) ; goto LABEL_64 ; case Number : v25 = ( const char * ) mesa_lookup_enum_by_nr ( ( unsigned int ) @@v42@@ [ Number ] ) ; LOBYTE ( v2 ) = printf ( String , v25 ) ; goto LABEL_64 ; case Number : v26 = ( const char * ) * ( ( _QWORD * ) @@v42@@ + Number ) ; v27 = ( const char * ) enum_string ( @@v42@@ [ Number ] ) ; LOBYTE ( v2 ) = printf ( String , v27 , v26 ) ; goto LABEL_64 ; case Number : puts ( String ) ; v2 = * ( ( _QWORD * ) @@v42@@ + Number ) ; @@v42@@ = ( _DWORD * ) v2 ; goto LABEL_64 ; case Number : LOBYTE ( v2 ) = printf ( String , @@a2@@ ) ; @@v41@@ = Number ; goto LABEL_64 ; default : if ( @@v40@@ < Number || @@v40@@ > Number ) { LOBYTE ( v2 ) = printf ( String , ( unsigned int ) @@v40@@ , @@v42@@ ) ; return v2 ; } LOBYTE ( v2 ) = printf ( String , ( unsigned int ) @@v40@@ , ( unsigned int ) InstSize [ @@v40@@ ] ) ; LABEL_64 : if ( @@v40@@ != Number ) { v2 = Number L * ( unsigned int ) InstSize [ @@v40@@ ] ; @@v42@@ = ( _DWORD * ) ( ( char * ) @@v42@@ + v2 ) ; } break ; } } } } else { LOBYTE ( v2 ) = printf ( String , @@a2@@ ) ; } return v2 ; }", "source": [{"n": "v7", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "r128"}, {"n": "a1", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r56"}, {"n": "a2", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "r64"}, {"n": "v42", "t": {"T": 3, "t": "_DWORD"}, "location": "s56"}, {"n": "v41", "t": {"T": 1, "n": "bool", "s": 1}, "location": "s57"}, {"n": "v40", "t": {"T": 1, "n": "int", "s": 4}, "location": "s76"}]}