{"name": "i8042_realizefn", "code": "__int64 __fastcall i8042_realizefn ( __int64 @@a1@@ ) { __int64 @@v2@@ ; __int64 @@v3@@ ; @@v2@@ = object_dynamic_cast_assert ( @@a1@@ , String , String , Number L , String ) ; @@v3@@ = object_dynamic_cast_assert ( @@a1@@ , String , String , Number L , String ) ; isa_init_irq ( @@v2@@ , @@v3@@ + Number , Number L ) ; isa_init_irq ( @@v2@@ , @@v3@@ + Number , Number L ) ; isa_register_ioport ( @@v2@@ , @@v3@@ + Number , Number L ) ; isa_register_ioport ( @@v2@@ , @@v3@@ + Number , Number L ) ; * ( _QWORD * ) ( @@v3@@ + Number ) = ps2_kbd_init ( kbd_update_kbd_irq , @@v3@@ + Number ) ; * ( _QWORD * ) ( @@v3@@ + Number ) = ps2_mouse_init ( kbd_update_aux_irq , @@v3@@ + Number ) ; return qemu_register_reset ( kbd_reset , @@v3@@ + Number ) ; }", "source": [{"n": "a1", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r56"}, {"n": "v3", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s16"}, {"n": "v2", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s24"}]}
{"name": "kbd_update_kbd_irq", "code": "__int64 __fastcall kbd_update_kbd_irq ( __int64 @@a1@@ , int @@a2@@ ) { if ( @@a2@@ ) * ( _BYTE * ) ( @@a1@@ + Number ) |= Number ; else * ( _BYTE * ) ( @@a1@@ + Number ) &= Number ; return kbd_update_irq ( @@a1@@ ) ; }", "source": [{"n": "a1", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r56"}, {"n": "a2", "t": {"T": 1, "n": "int", "s": 4}, "location": "r64"}]} {"name": "kbd_update_aux_irq", "code": "__int64 __fastcall kbd_update_aux_irq ( __int64 @@a1@@ , int @@a2@@ ) { if ( @@a2@@ ) * ( _BYTE * ) ( @@a1@@ + Number ) |= Number ; else * ( _BYTE * ) ( @@a1@@ + Number ) &= Number ; return kbd_update_irq ( @@a1@@ ) ; }", "source": [{"n": "a1", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r56"}, {"n": "a2", "t": {"T": 1, "n": "int", "s": 4}, "location": "r64"}]} {"name": "kbd_reset", "code": "_BYTE * __fastcall kbd_reset ( _BYTE * @@a1@@ ) { _BYTE * @@result@@ ; @@a1@@ [ Number ] = Number ; @@a1@@ [ Number ] = Number ; @@result@@ = @@a1@@ ; @@a1@@ [ Number ] = Number ; return @@result@@ ; }", "source": [{"n": "a1", "t": {"T": 3, "t": "_BYTE"}, "location": "r56"}, {"n": "result", "t": {"T": 3, "t": "_BYTE"}, "location": "r8"}]} {"name": "i8042_class_initfn", "code": "__int64 __fastcall i8042_class_initfn ( __int64 @@a1@@ ) { __int64 @@result@@ ; @@result@@ = object_class_dynamic_cast_assert ( @@a1@@ , String , String , Number L , String ) ; * ( _QWORD * ) ( @@result@@ + Number ) = i8042_realizefn ; * ( _QWORD * ) ( @@result@@ + Number ) = & vmstate_kbd_isa ; return @@result@@ ; }", "source": [{"n": "a1", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r56"}, {"n": "result", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r8"}]}