{"name": "l2cap_lmp_connection_request", "code": "unsigned __int64 __fastcall l2cap_lmp_connection_request ( __int64 * @@a1@@ ) { __int64 @@v2@@ ; __int64 * @@v3@@ ; unsigned __int64 @@v4@@ ; @@v4@@ = __readfsqword ( Number ) ; @@v2@@ = * @@a1@@ ; @@v3@@ = ( __int64 * ) g_malloc0 ( Number L ) ; * @@v3@@ = @@v2@@ ; @@v3@@ [ Number ] = @@a1@@ [ Number ] ; l2cap_init ( ( __int64 ) ( @@v3@@ + Number ) , @@v3@@ , Number ) ; * ( _BYTE * ) ( @@a1@@ [ Number ] + Number ) = Number ; ( * ( void ( __fastcall * * ) ( __int64 * ) ) ( @@a1@@ [ Number ] + Number ) ) ( @@v3@@ ) ; return __readfsqword ( Number ) ^ @@v4@@ ; }", "source": [{"n": "a1", "t": {"T": 3, "t": "__int64"}, "location": "r56"}, {"n": "v3", "t": {"T": 3, "t": "__int64"}, "location": "s16"}, {"n": "v2", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s24"}, {"n": "v4", "t": {"T": 1, "n": "unsigned __int64", "s": 8}, "location": "s8"}]}
{"name": "l2cap_init", "code": "unsigned __int64 __fastcall l2cap_init ( __int64 @@a1@@ , __int64 * @@a2@@ , int @@a3@@ ) { __int64 @@v3@@ ; unsigned __int64 @@v5@@ ; @@v5@@ = __readfsqword ( Number ) ; * ( _QWORD * ) @@a1@@ = @@a2@@ ; * ( _DWORD * ) ( @@a1@@ + Number ) = @@a3@@ ; if ( @@a3@@ ) @@v3@@ = @@a2@@ [ Number ] ; else @@v3@@ = * @@a2@@ ; * ( _QWORD * ) ( @@a1@@ + Number ) = @@v3@@ ; * ( _DWORD * ) ( @@a1@@ + Number ) = Number ; * ( _QWORD * ) ( @@a1@@ + Number ) = l2cap_cframe_in ; * ( _QWORD * ) ( @@a1@@ + Number ) = l2cap_bframe_out ; * ( _QWORD * ) ( @@a1@@ + Number ) = l2cap_bframe_submit ; * ( _QWORD * ) ( @@a1@@ + Number ) = @@a1@@ ; * ( _DWORD * ) ( @@a1@@ + Number ) = Number ; * ( _WORD * ) ( @@a1@@ + Number ) = Number ; * ( _QWORD * ) ( @@a1@@ + Number ) = l2cap_bframe_in ; * ( _DWORD * ) ( @@a1@@ + Number ) = Number ; * ( _DWORD * ) ( @@a1@@ + Number ) = Number ; * ( _DWORD * ) ( @@a1@@ + Number ) = Number ; * ( _QWORD * ) ( @@a1@@ + Number ) = @@a1@@ ; * ( _QWORD * ) ( @@a1@@ + Number ) = @@a1@@ + Number ; * ( _QWORD * ) ( @@a1@@ + Number ) = l2cap_gframe_in ; * ( _QWORD * ) ( @@a1@@ + Number ) = @@a1@@ ; * ( _QWORD * ) ( @@a1@@ + Number ) = l2cap_bframe_in ; * ( _DWORD * ) ( @@a1@@ + Number ) = Number ; * ( _QWORD * ) ( @@a1@@ + Number ) = @@a1@@ ; * ( _WORD * ) ( @@a1@@ + Number ) = Number ; * ( _QWORD * ) ( @@a1@@ + Number ) = @@a1@@ + Number ; return __readfsqword ( Number ) ^ @@v5@@ ; }", "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": 3, "t": "__int64"}, "location": "r64"}, {"n": "v3", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r8"}, {"n": "v5", "t": {"T": 1, "n": "unsigned __int64", "s": 8}, "location": "s8"}]} {"name": "bt_l2cap_device_init", "code": "unsigned __int64 __fastcall bt_l2cap_device_init ( _QWORD * @@a1@@ , __int64 @@a2@@ ) { unsigned __int64 @@v3@@ ; @@v3@@ = __readfsqword ( Number ) ; bt_device_init ( @@a1@@ , @@a2@@ ) ; @@a1@@ [ Number ] = l2cap_lmp_connection_request ; @@a1@@ [ Number ] = l2cap_lmp_connection_complete ; @@a1@@ [ Number ] = l2cap_lmp_disconnect_host ; @@a1@@ [ Number ] = l2cap_lmp_disconnect_slave ; @@a1@@ [ Number ] = l2cap_lmp_acl_data_slave ; @@a1@@ [ Number ] = l2cap_lmp_acl_data_host ; @@a1@@ [ Number ] = l2cap_dummy_destroy ; return __readfsqword ( Number ) ^ @@v3@@ ; }", "source": [{"n": "a1", "t": {"T": 3, "t": "_QWORD"}, "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"}]}