{"name": "lan9118_reload_eeprom", "code": "unsigned __int64 __fastcall lan9118_reload_eeprom ( __int64 @@a1@@ ) { int @@i@@ ; unsigned __int64 @@v3@@ ; @@v3@@ = __readfsqword ( Number ) ; if ( * ( _BYTE * ) ( @@a1@@ + Number ) == Number ) { for ( @@i@@ = Number ; @@i@@ <= Number ; ++ @@i@@ ) * ( _BYTE * ) ( @@a1@@ + @@i@@ + Number ) = * ( _BYTE * ) ( @@a1@@ + @@i@@ + Number + Number ) ; * ( _DWORD * ) ( @@a1@@ + Number ) |= Number ; lan9118_mac_changed ( @@a1@@ ) ; } else { * ( _DWORD * ) ( @@a1@@ + Number ) &= Number ; } return __readfsqword ( Number ) ^ @@v3@@ ; }", "source": [{"n": "a1", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r56"}, {"n": "i", "t": {"T": 1, "n": "int", "s": 4}, "location": "s12"}, {"n": "v3", "t": {"T": 1, "n": "unsigned __int64", "s": 8}, "location": "s8"}]}
{"name": "lan9118_mac_changed", "code": "unsigned __int64 __fastcall lan9118_mac_changed ( __int64 @@a1@@ ) { unsigned __int64 @@v2@@ ; @@v2@@ = __readfsqword ( Number ) ; qemu_format_nic_info_str ( * ( _QWORD * ) ( @@a1@@ + Number ) , @@a1@@ + Number ) ; return __readfsqword ( Number ) ^ @@v2@@ ; }", "source": [{"n": "a1", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r56"}, {"n": "v2", "t": {"T": 1, "n": "unsigned __int64", "s": 8}, "location": "s8"}]} {"name": "lan9118_reset", "code": "unsigned __int64 __fastcall lan9118_reset ( __int64 @@a1@@ ) { unsigned __int64 @@v2@@ ; @@v2@@ = __readfsqword ( Number ) ; * ( _DWORD * ) ( @@a1@@ + Number ) &= Number ; * ( _DWORD * ) ( @@a1@@ + Number ) = Number ; * ( _DWORD * ) ( @@a1@@ + Number ) = Number ; * ( _DWORD * ) ( @@a1@@ + Number ) = Number ; * ( _DWORD * ) ( @@a1@@ + Number ) = Number ; * ( _DWORD * ) ( @@a1@@ + Number ) = Number ; * ( _DWORD * ) ( @@a1@@ + Number ) = Number ; * ( _DWORD * ) ( @@a1@@ + Number ) &= Number ; * ( _DWORD * ) ( @@a1@@ + Number ) = Number ; * ( _DWORD * ) ( * ( _QWORD * ) ( @@a1@@ + Number ) + Number L ) = Number ; * * ( _DWORD * * ) ( @@a1@@ + Number ) = Number ; * ( _DWORD * ) ( * ( _QWORD * ) ( @@a1@@ + Number ) + Number L ) = Number ; * ( _DWORD * ) ( * ( _QWORD * ) ( @@a1@@ + Number ) + Number L ) = Number ; * ( _DWORD * ) ( * ( _QWORD * ) ( @@a1@@ + Number ) + Number L ) = Number ; * ( _DWORD * ) ( * ( _QWORD * ) ( @@a1@@ + Number ) + Number L ) = Number ; * ( _DWORD * ) ( @@a1@@ + Number ) = Number ; * ( _DWORD * ) ( @@a1@@ + Number ) = Number ; * ( _DWORD * ) ( @@a1@@ + Number ) = Number ; * ( _DWORD * ) ( @@a1@@ + Number ) = Number ; * ( _DWORD * ) ( @@a1@@ + Number ) = Number ; * ( _DWORD * ) ( @@a1@@ + Number ) = Number ; * ( _DWORD * ) ( @@a1@@ + Number ) = Number ; * ( _DWORD * ) ( @@a1@@ + Number ) = Number ; * ( _DWORD * ) ( @@a1@@ + Number ) = Number ; * ( _DWORD * ) ( @@a1@@ + Number ) = Number ; * ( _DWORD * ) ( @@a1@@ + Number ) = * ( _DWORD * ) ( @@a1@@ + Number ) ; * ( _DWORD * ) ( @@a1@@ + Number * ( * ( int * ) ( @@a1@@ + Number ) + Number L ) ) = Number ; * ( _DWORD * ) ( @@a1@@ + Number ) = Number ; * ( _DWORD * ) ( @@a1@@ + Number ) = Number ; * ( _DWORD * ) ( @@a1@@ + Number ) = Number ; * ( _DWORD * ) ( @@a1@@ + Number ) = Number ; * ( _DWORD * ) ( @@a1@@ + Number ) = Number ; * ( _DWORD * ) ( @@a1@@ + Number ) = ( int ) qemu_get_clock ( vm_clock ) / Number ; ptimer_stop ( * ( _QWORD * ) ( @@a1@@ + Number ) ) ; ptimer_set_count ( * ( _QWORD * ) ( @@a1@@ + Number ) , Number ) ; * ( _DWORD * ) ( @@a1@@ + Number ) = Number ; * ( _DWORD * ) ( @@a1@@ + Number ) = Number ; * ( _DWORD * ) ( @@a1@@ + Number ) = Number ; * ( _DWORD * ) ( @@a1@@ + Number ) = Number ; * ( _DWORD * ) ( @@a1@@ + Number ) = Number ; * ( _DWORD * ) ( @@a1@@ + Number ) = Number ; * ( _DWORD * ) ( @@a1@@ + Number ) = Number ; phy_reset ( ( _DWORD * ) @@a1@@ ) ; * ( _DWORD * ) ( @@a1@@ + Number ) = Number ; lan9118_reload_eeprom ( @@a1@@ ) ; return __readfsqword ( Number ) ^ @@v2@@ ; }", "source": [{"n": "a1", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r56"}, {"n": "v2", "t": {"T": 1, "n": "unsigned __int64", "s": 8}, "location": "s8"}]} {"name": "lan9118_eeprom_cmd", "code": "unsigned __int64 __fastcall lan9118_eeprom_cmd ( _DWORD * @@a1@@ , int @@a2@@ , int @@a3@@ ) { int @@i@@ ; unsigned __int64 @@v5@@ ; @@i@@ = @@a3@@ ; @@v5@@ = __readfsqword ( Number ) ; @@a1@@ [ Number ] = @@a3@@ | ( @@a2@@ << Number ) | @@a1@@ [ Number ] & Number ; switch ( @@a2@@ ) { case Number : @@a1@@ [ Number ] = * ( ( unsigned __int8 * ) @@a1@@ + @@a3@@ + Number ) ; break ; case Number : @@a1@@ [ Number ] = Number ; break ; case Number : @@a1@@ [ Number ] = Number ; break ; case Number : if ( @@a1@@ [ Number ] ) * ( ( _BYTE * ) @@a1@@ + @@a3@@ + Number ) &= * ( ( _BYTE * ) @@a1@@ + Number ) ; break ; case Number : if ( @@a1@@ [ Number ] ) { for ( @@i@@ = Number ; @@i@@ <= Number ; ++ @@i@@ ) * ( ( _BYTE * ) @@a1@@ + @@i@@ + Number ) &= * ( ( _BYTE * ) @@a1@@ + Number ) ; } goto LABEL_11 ; case Number : LABEL_11 : if ( @@a1@@ [ Number ] ) * ( ( _BYTE * ) @@a1@@ + @@i@@ + Number ) = Number ; break ; case Number : if ( @@a1@@ [ Number ] ) memset ( @@a1@@ + Number , Number , Number ) ; break ; case Number : lan9118_reload_eeprom ( ( __int64 ) @@a1@@ ) ; break ; default : return __readfsqword ( Number ) ^ @@v5@@ ; } return __readfsqword ( Number ) ^ @@v5@@ ; }", "source": [{"n": "a3", "t": {"T": 1, "n": "int", "s": 4}, "location": "r16"}, {"n": "a1", "t": {"T": 3, "t": "_DWORD"}, "location": "r56"}, {"n": "a2", "t": {"T": 1, "n": "int", "s": 4}, "location": "r64"}, {"n": "i", "t": {"T": 1, "n": "int", "s": 4}, "location": "s32"}, {"n": "v5", "t": {"T": 1, "n": "unsigned __int64", "s": 8}, "location": "s8"}]}