{"name": "getMenuItemIndex", "code": "__int64 __fastcall getMenuItemIndex ( __int64 @@a1@@ ) { unsigned int @@v3@@ ; @@v3@@ = Number ; while ( @@a1@@ ) { ++ @@v3@@ ; @@a1@@ = * ( _QWORD * ) ( @@a1@@ + Number ) ; } return @@v3@@ ; }", "source": [{"n": "a1", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r56"}, {"n": "v3", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "s4"}]}
{"name": "__glutMenuItemEnterOrLeave", "code": "__int64 __fastcall _glutMenuItemEnterOrLeave ( __int64 @@a1@@ , int @@a2@@ , int @@a3@@ ) { int v3 ; __int64 result ; __int64 @@v6@@ ; __int64 @@v7@@ ; int @@v8@@ ; @@v8@@ = Number ; if ( @@a3@@ == Number ) { @@v7@@ = * ( _QWORD * ) ( * ( _QWORD * ) ( @@a1@@ + Number ) + Number L ) ; if ( @@v7@@ && @@v7@@ != @@a1@@ ) { * ( _QWORD * ) ( * ( _QWORD * ) ( @@a1@@ + Number ) + Number L ) = Number L ; v3 = getMenuItemIndex ( @@v7@@ ) ; paintMenuItem ( @@v7@@ , v3 ) ; } * ( _QWORD * ) ( * ( _QWORD * ) ( @@a1@@ + Number ) + Number L ) = @@a1@@ ; _glutItemSelected = @@a1@@ ; if ( * ( _QWORD * ) ( * ( _QWORD * ) ( @@a1@@ + Number ) + Number L ) ) { if ( * ( _DWORD * ) ( @@a1@@ + Number ) && @@a1@@ == * ( _QWORD * ) ( * ( ( _QWORD * ) menuList + * ( int * ) ( @@a1@@ + Number ) ) + Number L ) ) { @@v8@@ = Number ; } else { unmapMenu ( * ( Window * * ) ( * ( _QWORD * ) ( @@a1@@ + Number ) + Number L ) ) ; * ( _QWORD * ) ( * ( _QWORD * ) ( @@a1@@ + Number ) + Number L ) = Number L ; } } if ( ! @@v8@@ ) paintMenuItem ( @@a1@@ , @@a2@@ ) ; } else { if ( ! * ( _QWORD * ) ( * ( _QWORD * ) ( @@a1@@ + Number ) + Number L ) || @@a1@@ != * ( _QWORD * ) ( * ( _QWORD * ) ( * ( _QWORD * ) ( @@a1@@ + Number ) + Number L ) + Number L ) ) { * ( _QWORD * ) ( * ( _QWORD * ) ( @@a1@@ + Number ) + Number L ) = Number L ; paintMenuItem ( @@a1@@ , @@a2@@ ) ; } _glutItemSelected = Number L ; } result = * ( unsigned int * ) ( @@a1@@ + Number ) ; if ( ( _DWORD ) result && @@a3@@ == Number && ! @@v8@@ ) { @@v6@@ = * ( ( _QWORD * ) menuList + * ( int * ) ( @@a1@@ + Number ) ) ; mapMenu ( @@v6@@ , * ( _DWORD * ) ( * ( _QWORD * ) ( @@a1@@ + Number ) + Number L ) + * ( _DWORD * ) ( * ( _QWORD * ) ( @@a1@@ + Number ) + Number L ) + Number , * ( _DWORD * ) ( * ( _QWORD * ) ( @@a1@@ + Number ) + Number L ) + ( @@a2@@ - Number ) * fontHeight + Number ) ; * ( _QWORD * ) ( * ( _QWORD * ) ( @@a1@@ + Number ) + Number L ) = @@v6@@ ; result = @@v6@@ ; * ( _QWORD * ) ( @@v6@@ + Number ) = @@a1@@ ; } return result ; }", "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": "int", "s": 4}, "location": "r64"}, {"n": "v7", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s16"}, {"n": "v6", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s32"}, {"n": "v8", "t": {"T": 1, "n": "int", "s": 4}, "location": "s4"}]}