{"name": "_mesa_NewList", "code": "__int64 __fastcall mesa_NewList ( unsigned int @@a1@@ , unsigned int @@a2@@ ) { __int64 @@v3@@ ; @@v3@@ = glapi_Context ; if ( ( * ( _DWORD * ) ( glapi_Context + Number L ) & Number ) != Number ) ( * ( void ( __fastcall * * ) ( _QWORD , __int64 ) ) ( glapi_Context + Number L ) ) ( glapi_Context , Number L ) ; * ( _DWORD * ) ( ( char * ) & loc_16AC0 + @@v3@@ ) = * ( _DWORD * ) ( ( char * ) & loc_16AC0 + @@v3@@ ) ; if ( * ( _DWORD * ) ( @@v3@@ + Number ) != Number ) return mesa_error ( @@v3@@ , Number L , String ) ; if ( ! @@a1@@ ) return mesa_error ( @@v3@@ , Number L , String ) ; if ( @@a2@@ != Number && @@a2@@ != Number ) return mesa_error ( @@v3@@ , Number L , String ) ; if ( * ( _QWORD * ) ( @@v3@@ + Number ) ) return mesa_error ( @@v3@@ , Number L , String ) ; * ( _BYTE * ) ( @@v3@@ + Number ) = Number ; * ( _BYTE * ) ( @@v3@@ + Number ) = @@a2@@ == Number ; invalidate_saved_current_state ( @@v3@@ ) ; * ( _QWORD * ) ( @@v3@@ + Number ) = make_list ( @@a1@@ , Number ) ; * ( _QWORD * ) ( @@v3@@ + Number ) = * ( _QWORD * ) ( * ( _QWORD * ) ( @@v3@@ + Number ) + Number L ) ; * ( _DWORD * ) ( @@v3@@ + Number ) = Number ; ( * ( void ( __fastcall * * ) ( __int64 , _QWORD , _QWORD ) ) ( @@v3@@ + Number ) ) ( @@v3@@ , @@a1@@ , @@a2@@ ) ; * ( _QWORD * ) ( @@v3@@ + Number ) = * ( _QWORD * ) ( @@v3@@ + Number ) ; return glapi_set_dispatch ( * ( _QWORD * ) ( @@v3@@ + Number ) ) ; }", "source": [{"n": "a1", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "r56"}, {"n": "a2", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "r64"}, {"n": "v3", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s8"}]}
{"name": "make_list", "code": "_QWORD * __fastcall make_list ( int @@a1@@ , unsigned int @@a2@@ ) { _QWORD * @@v3@@ ; @@v3@@ = calloc ( Number , Number ) ; * ( _DWORD * ) @@v3@@ = @@a1@@ ; @@v3@@ [ Number ] = malloc ( Number L * @@a2@@ ) ; * ( _DWORD * ) @@v3@@ [ Number ] = Number ; return @@v3@@ ; }", "source": [{"n": "a1", "t": {"T": 1, "n": "int", "s": 4}, "location": "r56"}, {"n": "a2", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "r64"}, {"n": "v3", "t": {"T": 3, "t": "_QWORD"}, "location": "s8"}]} {"name": "invalidate_saved_current_state", "code": "__int64 __fastcall invalidate_saved_current_state ( __int64 @@a1@@ ) { __int64 @@result@@ ; int i ; int j ; for ( i = Number ; i <= Number ; ++ i ) * ( _BYTE * ) ( @@a1@@ + i + Number ) = Number ; for ( j = Number ; j <= Number ; ++ j ) * ( _BYTE * ) ( @@a1@@ + j + Number ) = Number ; memset ( ( void * ) ( @@a1@@ + Number ) , Number , Number ) ; @@result@@ = @@a1@@ ; * ( _DWORD * ) ( @@a1@@ + Number ) = Number ; return @@result@@ ; }", "source": [{"n": "a1", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r56"}, {"n": "result", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r8"}]}