{"name": "l2cap_rexmit_enable", "code": "unsigned __int64 __fastcall l2cap_rexmit_enable ( __int64 @@a1@@ , int @@a2@@ ) { unsigned __int64 @@v3@@ ; @@v3@@ = __readfsqword ( Number ) ; * ( _DWORD * ) ( @@a1@@ + Number ) = @@a2@@ ; l2cap_retransmission_timer_update ( @@a1@@ ) ; l2cap_monitor_timer_update ( @@a1@@ ) ; return __readfsqword ( Number ) ^ @@v3@@ ; }", "source": [{"n": "a1", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r56"}, {"n": "a2", "t": {"T": 1, "n": "int", "s": 4}, "location": "r64"}, {"n": "v3", "t": {"T": 1, "n": "unsigned __int64", "s": 8}, "location": "s8"}]}
{"name": "l2cap_iframe_in", "code": "unsigned __int64 __fastcall l2cap_iframe_in ( __int64 @@a1@@ , __int64 @@a2@@ , __int64 @@a3@@ , int @@a4@@ ) { unsigned __int16 v4 ; int v5 ; __int16 @@v9@@ ; unsigned __int64 @@v10@@ ; @@v10@@ = __readfsqword ( Number ) ; @@v9@@ = le16_to_cpup ( ( unsigned __int16 * ) ( @@a3@@ + Number + @@a4@@ - Number L ) ) ; if ( @@a4@@ <= Number || @@v9@@ != ( unsigned __int16 ) l2cap_fcs16 ( ( _BYTE * ) @@a3@@ , @@a4@@ + Number ) ) goto LABEL_28 ; if ( * ( _BYTE * ) ( @@a3@@ + Number ) >> Number == * ( _DWORD * ) ( @@a1@@ + Number ) ) l2cap_rexmit_enable ( @@a1@@ , ( unsigned __int8 ) ~ * ( _BYTE * ) ( @@a3@@ + Number ) >> Number ) ; if ( ( * ( _BYTE * ) ( @@a3@@ + Number ) & Number ) == Number ) { v5 = * ( _BYTE * ) ( @@a3@@ + Number ) >> Number ; if ( v5 == Number ) { if ( * ( _DWORD * ) ( @@a1@@ + Number ) && * ( _DWORD * ) ( @@a1@@ + Number ) + @@a4@@ - Number <= * ( _DWORD * ) ( @@a1@@ + Number ) && @@a4@@ - Number <= * ( _DWORD * ) ( @@a1@@ + Number ) ) { memcpy ( ( void * ) ( * ( int * ) ( @@a1@@ + Number ) + @@a1@@ + Number ) , ( const void * ) ( @@a3@@ + Number ) , @@a4@@ - Number ) ; * ( _DWORD * ) ( @@a1@@ + Number ) += @@a4@@ - Number ; return __readfsqword ( Number ) ^ @@v10@@ ; } } else { if ( ( unsigned __int8 ) ( * ( _BYTE * ) ( @@a3@@ + Number ) >> Number ) > Number ) return __readfsqword ( Number ) ^ @@v10@@ ; if ( v5 == Number ) { if ( * ( _DWORD * ) ( @@a1@@ + Number ) && * ( _DWORD * ) ( @@a1@@ + Number ) + @@a4@@ - Number > * ( _DWORD * ) ( @@a1@@ + Number ) && @@a4@@ - Number <= * ( _DWORD * ) ( @@a1@@ + Number ) ) { memcpy ( ( void * ) ( * ( int * ) ( @@a1@@ + Number ) + @@a1@@ + Number ) , ( const void * ) ( @@a3@@ + Number ) , @@a4@@ - Number ) ; ( * ( void ( __fastcall * * ) ( _QWORD , __int64 , _QWORD ) ) ( @@a1@@ + Number ) ) ( * ( _QWORD * ) ( @@a1@@ + Number ) , @@a1@@ + Number , * ( unsigned int * ) ( @@a1@@ + Number ) ) ; return __readfsqword ( Number ) ^ @@v10@@ ; } } else if ( * ( _BYTE * ) ( @@a3@@ + Number ) >> Number ) { if ( ! * ( _DWORD * ) ( @@a1@@ + Number ) && @@a4@@ > Number && @@a4@@ - Number <= * ( _DWORD * ) ( @@a1@@ + Number ) ) { * ( _DWORD * ) ( @@a1@@ + Number ) = ( unsigned __int16 ) le16_to_cpup ( ( unsigned __int16 * ) ( @@a3@@ + Number ) ) ; if ( @@a4@@ <= * ( _DWORD * ) ( @@a1@@ + Number ) + Number ) { * ( _DWORD * ) ( @@a1@@ + Number ) = @@a4@@ - Number ; memcpy ( ( void * ) ( @@a1@@ + Number ) , ( const void * ) ( @@a3@@ + Number ) , * ( int * ) ( @@a1@@ + Number ) ) ; return __readfsqword ( Number ) ^ @@v10@@ ; } } } else if ( ! * ( _DWORD * ) ( @@a1@@ + Number ) && @@a4@@ - Number <= * ( _DWORD * ) ( @@a1@@ + Number ) ) { ( * ( void ( __fastcall * * ) ( _QWORD , __int64 , _QWORD ) ) ( @@a1@@ + Number ) ) ( * ( _QWORD * ) ( @@a1@@ + Number ) , @@a3@@ + Number , ( unsigned int ) ( @@a4@@ - Number ) ) ; return __readfsqword ( Number ) ^ @@v10@@ ; } } LABEL_28 : * ( _DWORD * ) ( @@a1@@ + Number ) = Number ; * ( _DWORD * ) ( @@a1@@ + Number ) = Number ; return __readfsqword ( Number ) ^ @@v10@@ ; } if ( @@a4@@ == Number ) { v4 = le16_to_cpup ( ( unsigned __int16 * ) ( @@a3@@ + Number ) ) ; l2cap_sframe_in ( @@a1@@ , v4 ) ; } return __readfsqword ( Number ) ^ @@v10@@ ; }", "source": [{"n": "a3", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r16"}, {"n": "a4", "t": {"T": 1, "n": "int", "s": 4}, "location": "r24"}, {"n": "a1", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r56"}, {"n": "a2", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r64"}, {"n": "v9", "t": {"T": 1, "n": "__int16", "s": 2}, "location": "s10"}, {"n": "v10", "t": {"T": 1, "n": "unsigned __int64", "s": 8}, "location": "s8"}]}