{"name": "bt_l2cap_psm_register", "code": "unsigned __int64 __fastcall bt_l2cap_psm_register ( __int64 @@a1@@ , unsigned int @@a2@@ , int @@a3@@ , __int64 @@a4@@ ) { __int64 @@v4@@ ; unsigned __int64 @@v8@@ ; @@v8@@ = __readfsqword ( Number ) ; if ( l2cap_psm ( @@a1@@ , @@a2@@ ) ) { fprintf ( stderr , String , String , @@a2@@ , * ( const char * * ) ( @@a1@@ + Number ) ) ; exit ( Number ) ; } @@v4@@ = g_malloc0 ( Number L ) ; * ( _DWORD * ) @@v4@@ = @@a2@@ ; * ( _DWORD * ) ( @@v4@@ + Number ) = @@a3@@ ; * ( _QWORD * ) ( @@v4@@ + Number ) = @@a4@@ ; * ( _QWORD * ) ( @@v4@@ + Number ) = * ( _QWORD * ) ( @@a1@@ + Number ) ; * ( _QWORD * ) ( @@a1@@ + Number ) = @@v4@@ ; return __readfsqword ( Number ) ^ @@v8@@ ; }", "source": [{"n": "a3", "t": {"T": 1, "n": "int", "s": 4}, "location": "r16"}, {"n": "a4", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r24"}, {"n": "a1", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r56"}, {"n": "a2", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "r64"}, {"n": "v4", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r8"}, {"n": "v8", "t": {"T": 1, "n": "unsigned __int64", "s": 8}, "location": "s8"}]}
{"name": "l2cap_psm", "code": "__int64 __fastcall l2cap_psm ( __int64 @@a1@@ , int @@a2@@ ) { __int64 @@i@@ ; for ( @@i@@ = * ( _QWORD * ) ( @@a1@@ + Number ) ; @@i@@ && @@a2@@ != * ( _DWORD * ) @@i@@ ; @@i@@ = * ( _QWORD * ) ( @@i@@ + Number ) ) ; return @@i@@ ; }", "source": [{"n": "a1", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r56"}, {"n": "a2", "t": {"T": 1, "n": "int", "s": 4}, "location": "r64"}, {"n": "i", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s16"}]}