{"name": "parse_netdev", "code": "__int64 __fastcall parse_netdev ( __int64 @@a1@@ , __int64 @@a2@@ , __int64 @@a3@@ ) { int @@i@@ ; int @@v6@@ ; __int64 @@v7@@ ; __int64 @@v9@@ [ Number ] ; @@v9@@ [ Number ] = __readfsqword ( Number ) ; @@v7@@ = @@a3@@ - Number ; @@v6@@ = qemu_find_net_clients_except ( @@a2@@ , @@v9@@ , Number L , Number L ) ; if ( ! @@v6@@ ) return ( unsigned int ) Number ; if ( @@v6@@ > Number ) return ( unsigned int ) Number ; for ( @@i@@ = Number ; @@i@@ < @@v6@@ ; ++ @@i@@ ) { if ( ! @@v9@@ [ @@i@@ ] ) return ( unsigned int ) Number ; if ( * ( _QWORD * ) ( @@v9@@ [ @@i@@ ] + Number ) ) return ( unsigned int ) Number ; if ( * ( _QWORD * ) ( Number L * @@i@@ + @@a3@@ ) ) return ( unsigned int ) Number ; * ( _QWORD * ) ( @@a3@@ + Number L * @@i@@ ) = @@v9@@ [ @@i@@ ] ; * ( _DWORD * ) ( * ( _QWORD * ) ( Number L * @@i@@ + @@a3@@ ) + Number L ) = @@i@@ ; } * ( _DWORD * ) ( @@v7@@ + Number ) = @@v6@@ ; 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"}, {"n": "v9", "t": {"T": 2, "n": 1026, "s": 8, "t": "__int64"}, "location": "s8208"}, {"n": "v7", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s8224"}, {"n": "v6", "t": {"T": 1, "n": "int", "s": 4}, "location": "s8244"}, {"n": "i", "t": {"T": 1, "n": "int", "s": 4}, "location": "s8252"}]}
{"name": "set_netdev", "code": "unsigned __int64 __fastcall set_netdev ( __int64 @@a1@@ , __int64 @@a2@@ , __int64 @@a3@@ , __int64 @@a4@@ , __int64 @@a5@@ ) { return set_pointer ( @@a1@@ , @@a2@@ , @@a3@@ , ( __int64 ( __fastcall * ) ( __int64 , _BYTE * , _QWORD * ) ) parse_netdev , @@a4@@ , @@a5@@ ) ; }", "source": [{"n": "a3", "t": {"T": 1, "n": "__int64", "s": 8}, "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"}, {"n": "a5", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r72"}]}