{"name": "_mesa_EndList", "code": "__int64 mesa_EndList ( ) { __int64 @@v1@@ ; @@v1@@ = glapi_Context ; if ( * ( _DWORD * ) ( glapi_Context + Number L ) ) ( * ( void ( __fastcall * * ) ( _QWORD ) ) ( glapi_Context + Number L ) ) ( glapi_Context ) ; if ( * ( _DWORD * ) ( @@v1@@ + Number ) != Number ) return mesa_error ( @@v1@@ , Number L , String ) ; if ( ( * ( _DWORD * ) ( @@v1@@ + Number ) & Number ) != Number ) ( * ( void ( __fastcall * * ) ( __int64 , __int64 ) ) ( @@v1@@ + Number ) ) ( @@v1@@ , Number L ) ; * ( _DWORD * ) ( ( char * ) & loc_16AC0 + @@v1@@ ) = * ( _DWORD * ) ( ( char * ) & loc_16AC0 + @@v1@@ ) ; if ( ! * ( _QWORD * ) ( @@v1@@ + Number ) ) return mesa_error ( @@v1@@ , Number L , String ) ; ( * ( void ( __fastcall * * ) ( __int64 ) ) ( @@v1@@ + Number ) ) ( @@v1@@ ) ; alloc_instruction ( @@v1@@ , Number , Number ) ; destroy_list ( @@v1@@ , * * ( _DWORD * * ) ( @@v1@@ + Number ) ) ; mesa_HashInsert ( * ( _QWORD * ) ( * ( _QWORD * ) @@v1@@ + Number L ) , * * ( unsigned int * * ) ( @@v1@@ + Number ) , * ( _QWORD * ) ( @@v1@@ + Number ) ) ; * ( _QWORD * ) ( @@v1@@ + Number ) = Number L ; * ( _BYTE * ) ( @@v1@@ + Number ) = Number ; * ( _BYTE * ) ( @@v1@@ + Number ) = Number ; * ( _QWORD * ) ( @@v1@@ + Number ) = * ( _QWORD * ) ( @@v1@@ + Number ) ; return glapi_set_dispatch ( * ( _QWORD * ) ( @@v1@@ + Number ) ) ; }", "source": [{"n": "v1", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s8"}]}
{"name": "destroy_list", "code": "void __fastcall destroy_list ( __int64 @@a1@@ , unsigned int @@a2@@ ) { _QWORD * @@v2@@ ; if ( @@a2@@ ) { @@v2@@ = ( _QWORD * ) lookup_list ( @@a1@@ , @@a2@@ ) ; if ( @@v2@@ ) { mesa_delete_list ( @@a1@@ , @@v2@@ ) ; mesa_HashRemove ( * ( _QWORD * ) ( * ( _QWORD * ) @@a1@@ + Number L ) , @@a2@@ ) ; } } }", "source": [{"n": "a1", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r56"}, {"n": "a2", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "r64"}, {"n": "v2", "t": {"T": 3, "t": "_QWORD"}, "location": "s8"}]} {"name": "alloc_instruction", "code": "unsigned int * __fastcall alloc_instruction ( __int64 @@a1@@ , unsigned int @@a2@@ , int @@a3@@ ) { return dlist_alloc ( @@a1@@ , @@a2@@ , Number * @@a3@@ ) ; }", "source": [{"n": "a3", "t": {"T": 1, "n": "int", "s": 4}, "location": "r16"}, {"n": "a1", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r56"}, {"n": "a2", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "r64"}]}