{"name": "compare4fv", "code": "bool __fastcall compare4fv ( const void * @@a1@@ , const void * @@a2@@ , unsigned int @@a3@@ ) { return memcmp ( @@a1@@ , @@a2@@ , Number L * @@a3@@ ) == Number ; }", "source": [{"n": "a3", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "r16"}, {"n": "a1", "t": {"T": 3, "t": "const void"}, "location": "r56"}, {"n": "a2", "t": {"T": 3, "t": "const void"}, "location": "r64"}]}
{"name": "save_Materialfv", "code": "__int64 __fastcall save_Materialfv ( unsigned int @@a1@@ , unsigned int @@a2@@ , _DWORD * @@a3@@ ) { __int64 @@result@@ ; __int64 @@v5@@ ; __int64 @@v6@@ ; int @@v7@@ ; int i ; signed int j ; signed int @@v10@@ ; @@v6@@ = glapi_Context ; if ( @@a1@@ > Number ) { if ( @@a1@@ != Number ) return mesa_compile_error ( glapi_Context , Number L , String ) ; } else if ( @@a1@@ < Number ) { return mesa_compile_error ( glapi_Context , Number L , String ; } if ( @@a2@@ == Number ) { @@v10@@ = Number ; goto LABEL_18 ; } if ( @@a2@@ > Number ) return mesa_compile_error ( glapi_Context , Number L , String ) ; if ( @@a2@@ != Number ) { if ( @@a2@@ == Number ) { @@v10@@ = Number ; goto LABEL_18 ; } if ( @@a2@@ <= Number ) { if ( @@a2@@ < Number ) return mesa_compile_error ( glapi_Context , Number L , String ) ; goto LABEL_14 ; } if ( @@a2@@ != Number ) return mesa_compile_error ( glapi_Context , Number L , String ) ; } LABEL_14 : @@v10@@ = Number ; LABEL_18 : if ( * ( _BYTE * ) ( glapi_Context + Number L ) ) ( * ( void ( __fastcall * * ) ( _QWORD , _QWORD , _DWORD * ) ) ( * ( _QWORD * ) ( glapi_Context + Number L ) + Number L ) ) ( @@a1@@ , @@a2@@ , @@a3@@ ) ; @@result@@ = mesa_material_bitmask ( @@v6@@ , @@a1@@ , @@a2@@ , Number , Number L ) ; @@v7@@ = @@result@@ ; for ( i = Number ; i <= Number ; ++ i ) { @@result@@ = @@v7@@ & ( unsigned int ) ( Number << i ) ; if ( ! ( _DWORD ) @@result@@ ) continue ; if ( @@v10@@ == * ( unsigned __int8 * ) ( @@v6@@ + i + Number ) && compare4fv ( ( const void * ) ( Number * ( i + Number L ) + @@v6@@ + Number ) , @@a3@@ , @@v10@@ ) ) { @@result@@ = ( unsigned int ) ~ ( Number << i ) ; @@v7@@ &= @@result@@ ; continue ; } * ( _BYTE * ) ( @@v6@@ + i + Number ) = @@v10@@ ; if ( @@v10@@ == Number ) { * ( _DWORD * ) ( Number L * i + @@v6@@ + Number ) = @@a3@@ [ Number ] ; } else if ( @@v10@@ != Number ) { goto LABEL_30 ; } * ( _DWORD * ) ( Number L * i + @@v6@@ + Number ) = @@a3@@ [ Number ] ; * ( _DWORD * ) ( Number L * i + @@v6@@ + Number ) = @@a3@@ [ Number ] ; LABEL_30 : @@result@@ = Number * ( i + Number L ) + @@v6@@ + Number ; * ( _DWORD * ) @@result@@ = * @@a3@@ ; } if ( @@v7@@ ) { if ( * ( _DWORD * ) ( @@v6@@ + Number ) ) ( * ( void ( __fastcall * * ) ( __int64 ) ) ( @@v6@@ + Number ) ) ( @@v6@@ ) ; @@result@@ = ( __int64 ) alloc_instruction ( @@v6@@ , Number , Number ) ; @@v5@@ = @@result@@ ; if ( @@result@@ ) { * ( _DWORD * ) ( @@result@@ + Number ) = @@a1@@ ; * ( _DWORD * ) ( @@result@@ + Number ) = @@a2@@ ; for ( j = Number ; ; ++ j ) { @@result@@ = ( unsigned int ) j ; if ( j >= @@v10@@ ) break ; * ( _DWORD * ) ( Number L * ( j + Number ) + @@v5@@ ) = @@a3@@ [ j ] ; } } } return @@result@@ ; }", "source": [{"n": "a3", "t": {"T": 3, "t": "_DWORD"}, "location": "r16"}, {"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": "result", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r8"}, {"n": "v7", "t": {"T": 1, "n": "int", "s": 4}, "location": "s12"}, {"n": "v6", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s24"}, {"n": "v5", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s32"}, {"n": "v10", "t": {"T": 1, "n": "signed int", "s": 4}, "location": "s4"}]}