{"name": "perf_evsel_menu__write", "code": "unsigned __int64 __fastcall perf_evsel_menu__write ( __int64 @@a1@@ , __int64 @@a2@@ , unsigned int @@a3@@ ) { unsigned int v3 ; int v4 ; int v5 ; char @@v7@@ ; char @@v8@@ ; const char * @@v9@@ ; __int64 @@v10@@ ; __int64 @@v11@@ ; __int64 @@v12@@ ; __int64 @@v13@@ ; __int64 @@v14@@ ; __int64 @@v15@@ ; __int64 @@v16@@ ; char @@v17@@ [ Number ] ; unsigned __int64 @@v18@@ ; @@v18@@ = __readfsqword ( Number ) ; @@v11@@ = @@a1@@ ; @@v12@@ = @@a1@@ ; @@v13@@ = @@a2@@ ; @@v14@@ = @@a2@@ ; @@v8@@ = ui_browser__is_current_entry ( @@a1@@ , @@a3@@ ) ; @@v15@@ = * ( unsigned int * ) ( @@a2@@ + Number ) ; @@v16@@ = event_name ( @@a2@@ ) ; @@v9@@ = String ; if ( @@v8@@ ) v3 = Number ; else v3 = Number ; ui_browser__set_color ( @@a1@@ , v3 ) ; @@v15@@ = convert_unit ( @@v15@@ , & @@v7@@ ) ; if ( @@v7@@ == Number ) v4 = scnprintf ( @@v17@@ , Number L , String , @@v15@@ , Number L , ( __int64 ) & unk_3EEB , @@v16@@ ) ; else v4 = scnprintf ( @@v17@@ , Number L , String , @@v15@@ , ( unsigned int ) @@v7@@ , ( __int64 ) String , @@v16@@ ) ; @@v10@@ = v4 ; SLsmg_printf ( String , @@v17@@ ) ; @@v15@@ = * ( unsigned int * ) ( @@v14@@ + Number ) ; if ( @@v15@@ ) { * ( _BYTE * ) ( @@v12@@ + Number ) = Number ; if ( @@v8@@ != Number ) ui_browser__set_color ( @@a1@@ , Number L ) ; @@v15@@ = convert_unit ( @@v15@@ , & @@v7@@ ) ; if ( @@v7@@ == Number ) v5 = scnprintf ( @@v17@@ , Number L , String , @@v15@@ , Number L , ( __int64 ) & unk_3EEB ) ; else v5 = scnprintf ( @@v17@@ , Number L , String , @@v15@@ , ( unsigned int ) @@v7@@ , ( __int64 ) String ) ; @@v10@@ += v5 ; @@v9@@ = @@v17@@ ; } SLsmg_write_nstring ( @@v9@@ , * ( unsigned __int16 * ) ( @@a1@@ + Number ) - ( unsigned int ) @@v10@@ ) ; if ( @@v8@@ ) * ( _QWORD * ) ( @@v12@@ + Number ) = @@v14@@ ; return __readfsqword ( Number ) ^ @@v18@@ ; }", "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": "__int64", "s": 8}, "location": "r64"}, {"n": "v17", "t": {"T": 2, "n": 264, "s": 1, "t": "char"}, "location": "s272"}, {"n": "v16", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s280"}, {"n": "v15", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s288"}, {"n": "v14", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s296"}, {"n": "v13", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s304"}, {"n": "v12", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s312"}, {"n": "v11", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s320"}, {"n": "v10", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s328"}, {"n": "v9", "t": {"T": 3, "t": "const char"}, "location": "s336"}, {"n": "v8", "t": {"T": 1, "n": "char", "s": 1}, "location": "s337"}, {"n": "v7", "t": {"T": 1, "n": "char", "s": 1}, "location": "s338"}, {"n": "v18", "t": {"T": 1, "n": "unsigned __int64", "s": 8}, "location": "s8"}]}