{"name": "l2cap_configuration_request", "code": "unsigned __int64 __fastcall l2cap_configuration_request ( __int64 @@a1@@ , unsigned __int16 @@a2@@ , unsigned __int16 @@a3@@ , const void * @@a4@@ , int @@a5@@ ) { int v5 ; __int64 @@v10@@ ; unsigned __int64 @@v11@@ ; @@v11@@ = __readfsqword ( Number ) ; @@v10@@ = ( * ( __int64 ( __fastcall * * ) ( __int64 , _QWORD ) ) ( @@a1@@ + Number ) ) ( @@a1@@ + Number , ( unsigned int ) ( @@a5@@ + Number ) ) ; * ( _DWORD * ) ( @@a1@@ + Number ) = * ( _DWORD * ) ( @@a1@@ + Number ) ; if ( * ( _DWORD * ) ( @@a1@@ + Number ) == Number ) v5 = Number ; else v5 = * ( _DWORD * ) ( @@a1@@ + Number ) + Number ; * ( _DWORD * ) ( @@a1@@ + Number ) = v5 ; * ( _BYTE * ) @@v10@@ = Number ; * ( _BYTE * ) ( @@v10@@ + Number ) = * ( _DWORD * ) ( @@a1@@ + Number ) ; * ( _WORD * ) ( @@v10@@ + Number ) = cpu_to_le16 ( ( unsigned __int16 ) @@a5@@ + Number ) ; * ( _WORD * ) ( @@v10@@ + Number ) = cpu_to_le16 ( @@a2@@ ) ; * ( _WORD * ) ( @@v10@@ + Number ) = cpu_to_le16 ( @@a3@@ ) ; if ( @@a5@@ ) memcpy ( ( void * ) ( @@v10@@ + Number ) , @@a4@@ , @@a5@@ ) ; ( * ( void ( __fastcall * * ) ( __int64 ) ) ( @@a1@@ + Number ) ) ( @@a1@@ + Number ) ; return __readfsqword ( Number ) ^ @@v11@@ ; }", "source": [{"n": "a3", "t": {"T": 1, "n": "unsigned __int16", "s": 2}, "location": "r16"}, {"n": "a4", "t": {"T": 3, "t": "const void"}, "location": "r24"}, {"n": "a1", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r56"}, {"n": "a2", "t": {"T": 1, "n": "unsigned __int16", "s": 2}, "location": "r64"}, {"n": "a5", "t": {"T": 1, "n": "int", "s": 4}, "location": "r72"}, {"n": "v10", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s24"}, {"n": "v11", "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_config_null", "code": "unsigned __int64 __fastcall l2cap_channel_config_null ( __int64 @@a1@@ , __int64 @@a2@@ ) { unsigned __int64 @@v3@@ ; @@v3@@ = __readfsqword ( Number ) ; l2cap_configuration_request ( @@a1@@ , * ( _WORD * ) ( @@a2@@ + Number ) , Number , Number L , Number ) ; * ( _DWORD * ) ( @@a2@@ + Number ) = * ( _DWORD * ) ( @@a1@@ + Number ) ; * ( _DWORD * ) ( @@a2@@ + Number ) &= Number ; return __readfsqword ( Number ) ^ @@v3@@ ; }", "source": [{"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": 1, "n": "unsigned __int64", "s": 8}, "location": "s8"}]}