{"name": "glutRemoveMenuItem", "code": "void __fastcall glutRemoveMenuItem ( __int64 @@a1@@ , __int64 @@a2@@ ) { int @@v2@@ ; int @@v3@@ ; __int64 @@i@@ ; _QWORD * @@v5@@ ; char * @@ptr@@ ; if ( _glutMappedMenu ) menuModificationError ( @@a1@@ , @@a2@@ ) ; @@v2@@ = * ( _DWORD * ) ( _glutCurrentMenu + Number ) ; @@v5@@ = ( _QWORD * ) ( _glutCurrentMenu + Number ) ; @@ptr@@ = * ( char * * ) ( _glutCurrentMenu + Number ) ; @@v3@@ = Number ; while ( Number ) { if ( ! @@ptr@@ ) { _glutWarning ( String , ( unsigned int ) @@a1@@ ) ; return ; } if ( @@v2@@ == ( _DWORD ) @@a1@@ ) break ; if ( @@v3@@ < * ( ( _DWORD * ) @@ptr@@ + Number ) ) @@v3@@ = * ( ( _DWORD * ) @@ptr@@ + Number ) ; -- @@v2@@ ; @@v5@@ = @@ptr@@ + Number ; @@ptr@@ = ( char * ) * ( ( _QWORD * ) @@ptr@@ + Number ) ; } if ( * ( ( _DWORD * ) @@ptr@@ + Number ) >= * ( _DWORD * ) ( _glutCurrentMenu + Number ) ) { for ( @@i@@ = * ( ( _QWORD * ) @@ptr@@ + Number ) ; @@i@@ ; @@i@@ = * ( _QWORD * ) ( @@i@@ + Number ) ) { if ( @@v3@@ < * ( _DWORD * ) ( @@i@@ + Number ) ) @@v3@@ = * ( _DWORD * ) ( @@i@@ + Number ) ; } } -- * ( _DWORD * ) ( _glutCurrentMenu + Number ) ; * ( _DWORD * ) ( _glutCurrentMenu + Number ) = Number ; * ( _DWORD * ) ( _glutCurrentMenu + Number ) = @@v3@@ ; * @@v5@@ = * ( ( _QWORD * ) @@ptr@@ + Number ) ; free ( * ( ( void * * ) @@ptr@@ + Number ) ) ; free ( @@ptr@@ ) ; }", "source": [{"n": "a1", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r56"}, {"n": "a2", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r64"}, {"n": "v5", "t": {"T": 3, "t": "_QWORD"}, "location": "s16"}, {"n": "i", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s24"}, {"n": "v3", "t": {"T": 1, "n": "int", "s": 4}, "location": "s28"}, {"n": "v2", "t": {"T": 1, "n": "int", "s": 4}, "location": "s32"}, {"n": "ptr", "t": {"T": 3, "t": "char"}, "location": "s8"}]}