{"name": "ehci_free_queue", "code": "unsigned __int64 __fastcall ehci_free_queue ( __int64 @@a1@@ , const char * @@a2@@ ) { __int64 @@v2@@ ; int @@v4@@ ; __int64 @@v5@@ ; unsigned __int64 @@v6@@ ; @@v6@@ = __readfsqword ( Number ) ; if ( * ( _DWORD * ) ( @@a1@@ + Number ) ) @@v2@@ = * ( _QWORD * ) @@a1@@ + Number L ; else @@v2@@ = * ( _QWORD * ) @@a1@@ + Number L ; @@v5@@ = @@v2@@ ; trace_usb_ehci_queue_action ( @@a1@@ , String ) ; @@v4@@ = ehci_cancel_queue ( @@a1@@ ) ; if ( @@a2@@ && @@v4@@ > Number ) ehci_trace_guest_bug ( * ( _QWORD * ) @@a1@@ , @@a2@@ ) ; if ( * ( _QWORD * ) ( @@a1@@ + Number ) ) * ( _QWORD * ) ( * ( _QWORD * ) ( @@a1@@ + Number ) + Number L ) = * ( _QWORD * ) ( @@a1@@ + Number ) ; else * ( _QWORD * ) ( @@v5@@ + Number ) = * ( _QWORD * ) ( @@a1@@ + Number ) ; * * ( _QWORD * * ) ( @@a1@@ + Number ) = * ( _QWORD * ) ( @@a1@@ + Number ) ; g_free ( @@a1@@ ) ; return __readfsqword ( Number ) ^ @@v6@@ ; }", "source": [{"n": "a1", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r56"}, {"n": "a2", "t": {"T": 3, "t": "const char"}, "location": "r64"}, {"n": "v2", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r8"}, {"n": "v5", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s16"}, {"n": "v4", "t": {"T": 1, "n": "int", "s": 4}, "location": "s20"}, {"n": "v6", "t": {"T": 1, "n": "unsigned __int64", "s": 8}, "location": "s8"}]}
{"name": "ehci_trace_guest_bug", "code": "unsigned __int64 __fastcall ehci_trace_guest_bug ( __int64 @@a1@@ , const char * @@a2@@ ) { unsigned __int64 @@v3@@ ; @@v3@@ = __readfsqword ( Number ) ; trace_usb_ehci_guest_bug ( @@a2@@ ) ; fprintf ( stderr , String , @@a2@@ ) ; return __readfsqword ( Number ) ^ @@v3@@ ; }", "source": [{"n": "a1", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r56"}, {"n": "a2", "t": {"T": 3, "t": "const char"}, "location": "r64"}, {"n": "v3", "t": {"T": 1, "n": "unsigned __int64", "s": 8}, "location": "s8"}]} {"name": "ehci_cancel_queue", "code": "__int64 __fastcall ehci_cancel_queue ( __int64 @@a1@@ ) { unsigned int @@v2@@ ; __int64 @@v3@@ ; @@v2@@ = Number ; @@v3@@ = * ( _QWORD * ) ( @@a1@@ + Number ) ; if ( @@v3@@ ) { trace_usb_ehci_queue_action ( @@a1@@ , String ) ; do { ehci_free_packet ( @@v3@@ ) ; ++ @@v2@@ ; @@v3@@ = * ( _QWORD * ) ( @@a1@@ + Number ) ; } while ( @@v3@@ ) ; } ehci_queue_stopped ( @@a1@@ ) ; return @@v2@@ ; }", "source": [{"n": "a1", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r56"}, {"n": "v3", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s16"}, {"n": "v2", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "s20"}]} {"name": "ehci_queues_rip_unused", "code": "unsigned __int64 __fastcall ehci_queues_rip_unused ( __int64 @@a1@@ , int @@a2@@ ) { __int64 * v2 ; const char * v3 ; __int64 @@i@@ ; __int64 * @@v6@@ ; const char * @@v7@@ ; __int64 @@v8@@ ; __int64 @@v9@@ ; unsigned __int64 @@v10@@ ; @@v10@@ = __readfsqword ( Number ) ; if ( @@a2@@ ) v2 = ( __int64 * ) ( @@a1@@ + Number ) ; else v2 = ( __int64 * ) ( @@a1@@ + Number ) ; @@v6@@ = v2 ; if ( @@a2@@ ) v3 = String ; else v3 = Number L ; @@v7@@ = v3 ; @@v8@@ = ( unsigned int ) ( Number * * ( _DWORD * ) ( @@a1@@ + Number ) ) ; for ( @@i@@ = * @@v6@@ ; @@i@@ ; @@i@@ = @@v9@@ ) { @@v9@@ = * ( _QWORD * ) ( @@i@@ + Number ) ; if ( * ( _DWORD * ) ( @@i@@ + Number ) ) { * ( _DWORD * ) ( @@i@@ + Number ) = Number ; * ( _QWORD * ) ( @@i@@ + Number ) = * ( _QWORD * ) ( @@a1@@ + Number ) ; } else if ( * ( _QWORD * ) ( @@a1@@ + Number ) >= ( unsigned __int64 ) ( * ( _QWORD * ) ( @@i@@ + Number ) + @@v8@@ ) ) { ehci_free_queue ( @@i@@ , @@v7@@ ) ; } } return __readfsqword ( Number ) ^ @@v10@@ ; }", "source": [{"n": "a1", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r56"}, {"n": "a2", "t": {"T": 1, "n": "int", "s": 4}, "location": "r64"}, {"n": "v9", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s16"}, {"n": "v8", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s24"}, {"n": "v7", "t": {"T": 3, "t": "const char"}, "location": "s32"}, {"n": "v6", "t": {"T": 3, "t": "__int64"}, "location": "s40"}, {"n": "i", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s48"}, {"n": "v10", "t": {"T": 1, "n": "unsigned __int64", "s": 8}, "location": "s8"}]} {"name": "ehci_queues_rip_unseen", "code": "unsigned __int64 __fastcall ehci_queues_rip_unseen ( __int64 @@a1@@ , int @@a2@@ ) { __int64 * @@v2@@ ; __int64 @@i@@ ; __int64 @@v5@@ ; unsigned __int64 @@v6@@ ; @@v6@@ = __readfsqword ( Number ) ; if ( @@a2@@ ) @@v2@@ = ( __int64 * ) ( @@a1@@ + Number ) ; else @@v2@@ = ( __int64 * ) ( @@a1@@ + Number ) ; for ( @@i@@ = * @@v2@@ ; @@i@@ ; @@i@@ = @@v5@@ ) { @@v5@@ = * ( _QWORD * ) ( @@i@@ + Number ) ; if ( ! * ( _DWORD * ) ( @@i@@ + Number ) ) ehci_free_queue ( @@i@@ , Number L ) ; } return __readfsqword ( Number ) ^ @@v6@@ ; }", "source": [{"n": "a1", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r56"}, {"n": "a2", "t": {"T": 1, "n": "int", "s": 4}, "location": "r64"}, {"n": "v2", "t": {"T": 3, "t": "__int64"}, "location": "r8"}, {"n": "v5", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s16"}, {"n": "i", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s32"}, {"n": "v6", "t": {"T": 1, "n": "unsigned __int64", "s": 8}, "location": "s8"}]} {"name": "ehci_queues_rip_device", "code": "unsigned __int64 __fastcall ehci_queues_rip_device ( __int64 @@a1@@ , __int64 @@a2@@ , int @@a3@@ ) { __int64 * @@v3@@ ; __int64 @@i@@ ; __int64 @@v6@@ ; unsigned __int64 @@v7@@ ; @@v7@@ = __readfsqword ( Number ) ; if ( @@a3@@ ) @@v3@@ = ( __int64 * ) ( @@a1@@ + Number ) ; else @@v3@@ = ( __int64 * ) ( @@a1@@ + Number ) ; for ( @@i@@ = * @@v3@@ ; @@i@@ ; @@i@@ = @@v6@@ ) { @@v6@@ = * ( _QWORD * ) ( @@i@@ + Number ) ; if ( @@a2@@ == * ( _QWORD * ) ( @@i@@ + Number ) ) ehci_free_queue ( @@i@@ , Number L ) ; } return __readfsqword ( Number ) ^ @@v7@@ ; }", "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": "__int64", "s": 8}, "location": "r64"}, {"n": "v3", "t": {"T": 3, "t": "__int64"}, "location": "r8"}, {"n": "v6", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s16"}, {"n": "i", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s32"}, {"n": "v7", "t": {"T": 1, "n": "unsigned __int64", "s": 8}, "location": "s8"}]} {"name": "ehci_queues_rip_all", "code": "unsigned __int64 __fastcall ehci_queues_rip_all ( __int64 @@a1@@ , int @@a2@@ ) { __int64 * v2 ; const char * v3 ; __int64 @@i@@ ; __int64 * @@v6@@ ; const char * @@v7@@ ; __int64 @@v8@@ ; unsigned __int64 @@v9@@ ; @@v9@@ = __readfsqword ( Number ) ; if ( @@a2@@ ) v2 = ( __int64 * ) ( @@a1@@ + Number ) ; else v2 = ( __int64 * ) ( @@a1@@ + Number ) ; @@v6@@ = v2 ; if ( @@a2@@ ) v3 = String ; else v3 = Number L ; @@v7@@ = v3 ; for ( @@i@@ = * @@v6@@ ; @@i@@ ; @@i@@ = @@v8@@ ) { @@v8@@ = * ( _QWORD * ) ( @@i@@ + Number ) ; ehci_free_queue ( @@i@@ , @@v7@@ ) ; } return __readfsqword ( Number ) ^ @@v9@@ ; }", "source": [{"n": "a1", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r56"}, {"n": "a2", "t": {"T": 1, "n": "int", "s": 4}, "location": "r64"}, {"n": "v8", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s16"}, {"n": "v7", "t": {"T": 3, "t": "const char"}, "location": "s24"}, {"n": "v6", "t": {"T": 3, "t": "__int64"}, "location": "s32"}, {"n": "i", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s40"}, {"n": "v9", "t": {"T": 1, "n": "unsigned __int64", "s": 8}, "location": "s8"}]}