{"name": "l2cap_disconnection_response", "code": "unsigned __int64 __fastcall l2cap_disconnection_response ( __int64 @@a1@@ , unsigned __int16 @@a2@@ , unsigned __int16 @@a3@@ ) { __int64 @@v5@@ ; unsigned __int64 @@v6@@ ; @@v6@@ = __readfsqword ( Number ) ; @@v5@@ = ( * ( __int64 ( __fastcall * * ) ( __int64 , __int64 ) ) ( @@a1@@ + Number ) ) ( @@a1@@ + Number , Number L ) ; * ( _BYTE * ) @@v5@@ = Number ; * ( _BYTE * ) ( @@v5@@ + Number ) = * ( _DWORD * ) ( @@a1@@ + Number ) ; * ( _WORD * ) ( @@v5@@ + Number ) = cpu_to_le16 ( Number ) ; * ( _WORD * ) ( @@v5@@ + Number ) = cpu_to_le16 ( @@a2@@ ) ; * ( _WORD * ) ( @@v5@@ + Number ) = cpu_to_le16 ( @@a3@@ ) ; ( * ( void ( __fastcall * * ) ( __int64 ) ) ( @@a1@@ + Number ) ) ( @@a1@@ + Number ) ; return __readfsqword ( Number ) ^ @@v6@@ ; }", "source": [{"n": "a3", "t": {"T": 1, "n": "unsigned __int16", "s": 2}, "location": "r16"}, {"n": "a1", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r56"}, {"n": "a2", "t": {"T": 1, "n": "unsigned __int16", "s": 2}, "location": "r64"}, {"n": "v5", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s24"}, {"n": "v6", "t": {"T": 1, "n": "unsigned __int64", "s": 8}, "location": "s8"}]}
{"name": "cpu_to_le16", "code": "__int64 __fastcall cpu_to_le16 ( unsigned __int16 @@a1@@ ) { return @@a1@@ ; }", "source": [{"n": "a1", "t": {"T": 1, "n": "unsigned __int16", "s": 2}, "location": "r56"}]} {"name": "l2cap_channel_close", "code": "unsigned __int64 __fastcall l2cap_channel_close ( __int64 @@a1@@ , int @@a2@@ , unsigned int @@a3@@ ) { unsigned __int16 @@v4@@ ; __int64 @@v5@@ ; unsigned __int64 @@v6@@ ; @@v4@@ = @@a3@@ ; @@v6@@ = __readfsqword ( Number ) ; @@v5@@ = Number L ; if ( @@a2@@ > Number ) { if ( @@a2@@ <= Number ) @@v5@@ = * ( _QWORD * ) ( @@a1@@ + Number * ( @@a2@@ + Number L ) ) ; if ( @@v5@@ ) { if ( @@a3@@ != * ( unsigned __int16 * ) ( @@v5@@ + Number ) ) { fprintf ( stderr , String , String , @@a3@@ ) ; return __readfsqword ( Number ) ^ @@v6@@ ; } * ( _QWORD * ) ( @@a1@@ + Number * ( @@a2@@ + Number L ) ) = Number L ; ( * ( void ( __fastcall * * ) ( _QWORD ) ) ( @@v5@@ + Number ) ) ( * ( _QWORD * ) ( @@v5@@ + Number ) ) ; g_free ( @@v5@@ ) ; } l2cap_disconnection_response ( @@a1@@ , @@a2@@ , @@v4@@ ) ; return __readfsqword ( Number ) ^ @@v6@@ ; } l2cap_command_reject_cid ( @@a1@@ , * ( _DWORD * ) ( @@a1@@ + Number ) , Number , @@a2@@ , @@a3@@ ) ; return __readfsqword ( Number ) ^ @@v6@@ ; }", "source": [{"n": "a3", "t": {"T": 1, "n": "unsigned 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": "v5", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s16"}, {"n": "v4", "t": {"T": 1, "n": "unsigned __int16", "s": 2}, "location": "s32"}, {"n": "v6", "t": {"T": 1, "n": "unsigned __int64", "s": 8}, "location": "s8"}]}