{"name": "qemu_balloon", "code": "__int64 __fastcall qemu_balloon ( __int64 @@a1@@ , __int64 @@a2@@ , __int64 @@a3@@ ) { if ( ! qemu_balloon_event ) return Number L ; qemu_balloon_event ( qemu_balloon_event_opaque , @@a1@@ , @@a2@@ , @@a3@@ ) ; return Number L ; }", "source": [{"n": "a3", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r16"}, {"n": "a1", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r56"}, {"n": "a2", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r64"}]}
{"name": "qemu_add_balloon_handler", "code": "unsigned __int64 __fastcall qemu_add_balloon_handler ( __int64 @@a1@@ , __int64 @@a2@@ ) { unsigned __int64 @@v3@@ ; @@v3@@ = __readfsqword ( Number ) ; qemu_balloon_event = @@a1@@ ; qemu_balloon_event_opaque = @@a2@@ ; 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"}]} {"name": "qemu_balloon_status", "code": "__int64 __fastcall qemu_balloon_status ( __int64 @@a1@@ , __int64 @@a2@@ ) { if ( ! qemu_balloon_event ) return Number L ; qemu_balloon_event ( qemu_balloon_event_opaque , Number L , @@a1@@ , @@a2@@ ) ; return Number L ; }", "source": [{"n": "a1", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r56"}, {"n": "a2", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r64"}]} {"name": "do_info_balloon", "code": "__int64 __fastcall do_info_balloon ( __int64 @@a1@@ , __int64 @@a2@@ , __int64 @@a3@@ ) { if ( ( unsigned int ) qemu_balloon_status ( @@a2@@ , @@a3@@ ) ) return Number L ; qerror_report_internal ( String , Number L , String , String , String ) ; return Number ; }", "source": [{"n": "a3", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r16"}, {"n": "a1", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r56"}, {"n": "a2", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r64"}]} {"name": "do_balloon", "code": "__int64 __fastcall do_balloon ( __int64 @@a1@@ , __int64 @@a2@@ , void ( __fastcall * @@a3@@ ) ( __int64 , _QWORD ) , __int64 @@a4@@ ) { __int64 v4 ; __int64 result ; v4 = qdict_get_int ( @@a2@@ , String ) ; if ( ( unsigned int ) qemu_balloon ( v4 , ( __int64 ) @@a3@@ , @@a4@@ ) ) { @@a3@@ ( @@a4@@ , Number L ) ; result = Number L ; } else { qerror_report_internal ( String , Number L , String , String , String ) ; result = Number ; } return result ; }", "source": [{"n": "a3", "t": {"T": 9, "n": "void (__fastcall *)(__int64, _QWORD)"}, "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": "__int64", "s": 8}, "location": "r64"}]}