{"name": "lan9118_init", "code": "unsigned __int64 __fastcall lan9118_init ( __int64 @@a1@@ , unsigned int @@a2@@ , __int64 @@a3@@ ) { __int64 @@v5@@ ; unsigned __int64 @@v6@@ ; @@v6@@ = __readfsqword ( Number ) ; qemu_check_nic_model ( @@a1@@ , String ) ; @@v5@@ = qdev_create ( Number L , String ) ; qdev_set_nic_properties ( @@v5@@ , @@a1@@ ) ; qdev_init_nofail ( @@v5@@ ) ; sysbus_mmio_map ( @@v5@@ , Number L , @@a2@@ ) ; sysbus_connect_irq ( @@v5@@ , Number L , @@a3@@ ) ; return __readfsqword ( Number ) ^ @@v6@@ ; }", "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": "unsigned int", "s": 4}, "location": "r64"}, {"n": "v5", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s24"}, {"n": "v6", "t": {"T": 1, "n": "unsigned __int64", "s": 8}, "location": "s8"}]}
{"name": "lan9118_init1", "code": "__int64 __fastcall lan9118_init1 ( __int64 @@a1@@ ) { int @@i@@ ; __int64 @@v3@@ ; * ( _DWORD * ) ( @@a1@@ + Number ) = cpu_register_io_memory ( lan9118_readfn , lan9118_writefn , @@a1@@ ) ; sysbus_init_mmio ( @@a1@@ , Number L , * ( unsigned int * ) ( @@a1@@ + Number ) ) ; sysbus_init_irq ( @@a1@@ , @@a1@@ + Number ) ; qemu_macaddr_default_if_unset ( @@a1@@ + Number ) ; * ( _QWORD * ) ( @@a1@@ + Number ) = qemu_new_nic ( & net_lan9118_info , @@a1@@ + Number , * * ( _QWORD * * ) ( @@a1@@ + Number ) , * ( _QWORD * ) @@a1@@ , @@a1@@ ) ; qemu_format_nic_info_str ( * ( _QWORD * ) ( @@a1@@ + Number ) , @@a1@@ + Number ) ; * ( _BYTE * ) ( @@a1@@ + Number ) = Number ; for ( @@i@@ = Number ; @@i@@ <= Number ; ++ @@i@@ ) * ( _BYTE * ) ( @@a1@@ + @@i@@ + Number + Number ) = * ( _BYTE * ) ( @@a1@@ + @@i@@ + Number ) ; * ( _DWORD * ) ( @@a1@@ + Number ) = Number ; * ( _QWORD * ) ( @@a1@@ + Number ) = @@a1@@ + Number ; @@v3@@ = qemu_bh_new ( lan9118_tick , @@a1@@ ) ; * ( _QWORD * ) ( @@a1@@ + Number ) = ptimer_init ( @@v3@@ ) ; ptimer_set_freq ( * ( _QWORD * ) ( @@a1@@ + Number ) , Number L ) ; ptimer_set_limit ( * ( _QWORD * ) ( @@a1@@ + Number ) , Number , Number L ) ; return Number L ; }", "source": [{"n": "a1", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r56"}, {"n": "v3", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s24"}, {"n": "i", "t": {"T": 1, "n": "int", "s": 4}, "location": "s44"}]}