{"name": "neighbor_info_packet_sent", "code": "__int64 __fastcall neighbor_info_packet_sent ( int @@a1@@ , unsigned int @@a2@@ ) { __int64 @@result@@ ; __int64 @@v3@@ ; unsigned __int8 @@v4@@ ; @@v3@@ = packetbuf_addr ( Number ) ; @@result@@ = rimeaddr_cmp ( @@v3@@ , ( __int64 ) & rimeaddr_null ) ; if ( ! ( _DWORD ) @@result@@ ) { @@result@@ = @@a2@@ ; @@v4@@ = @@a2@@ ; if ( @@a1@@ ) { if ( @@a1@@ != Number ) return @@result@@ ; @@v4@@ = Number ; } else { add_neighbor ( @@v3@@ ) ; } @@result@@ = update_metric ( @@v3@@ , @@v4@@ ) ; } return @@result@@ ; }", "source": [{"n": "a1", "t": {"T": 1, "n": "int", "s": 4}, "location": "r56"}, {"n": "a2", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "r64"}, {"n": "result", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r8"}, {"n": "v4", "t": {"T": 1, "n": "unsigned __int8", "s": 1}, "location": "s1"}, {"n": "v3", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s16"}]}
{"name": "rimeaddr_cmp", "code": "__int64 __fastcall rimeaddr_cmp ( __int64 @@a1@@ , __int64 @@a2@@ ) { unsigned __int8 @@i@@ ; for ( @@i@@ = Number ; @@i@@ <= Number ; ++ @@i@@ ) { if ( * ( _BYTE * ) ( @@a1@@ + @@i@@ ) != * ( _BYTE * ) ( @@a2@@ + @@i@@ ) ) return Number L ; } 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"}, {"n": "i", "t": {"T": 1, "n": "unsigned __int8", "s": 1}, "location": "s1"}]} {"name": "packet_sent", "code": "__int64 __fastcall packet_sent ( __int64 @@a1@@ , unsigned int @@a2@@ , unsigned int @@a3@@ ) { __int64 @@result@@ ; neighbor_info_packet_sent ( @@a2@@ , @@a3@@ ) ; if ( callback ) ( * ( void ( __fastcall * * ) ( _QWORD ) ) ( callback + Number ) ) ( @@a2@@ ) ; @@result@@ = @@a2@@ ; last_tx_status = @@a2@@ ; return @@result@@ ; }", "source": [{"n": "a3", "t": {"T": 1, "n": "unsigned int", "s": 4}, "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": "result", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r8"}]} {"name": "update_metric", "code": "__int64 __fastcall update_metric ( __int64 @@a1@@ , __int16 @@a2@@ ) { __int64 @@result@@ ; __time_t @@v3@@ ; unsigned __int8 @@v4@@ ; char * @@v5@@ ; int @@v6@@ ; unsigned __int8 @@v7@@ ; @@v6@@ = Number ; @@v5@@ = ( char * ) neighbor_attr_get_data ( & attr_etx , @@a1@@ ) ; if ( @@v5@@ && * @@v5@@ ) { @@v7@@ = * @@v5@@ ; @@v4@@ = ( Number * @@v7@@ + Number * ( unsigned __int16 ) ( Number * @@a2@@ ) ) / Number ; } else { @@v7@@ = Number ; @@v4@@ = Number * @@a2@@ ; @@v6@@ = Number ; } @@result@@ = neighbor_attr_has_neighbor ( @@a1@@ ) ; if ( ( _DWORD ) @@result@@ ) { @@v3@@ = clock_seconds ( ) ; neighbor_attr_set_data ( & attr_etx , @@a1@@ , & @@v4@@ ) ; neighbor_attr_set_data ( & attr_timestamp , @@a1@@ , & @@v3@@ ) ; if ( @@v6@@ || ( @@result@@ = @@v4@@ , @@v7@@ != @@v4@@ ) ) { @@result@@ = ( __int64 ) subscriber_callback ; if ( subscriber_callback ) @@result@@ = subscriber_callback ( @@a1@@ , Number L , @@v4@@ ) ; } } return @@result@@ ; }", "source": [{"n": "a1", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r56"}, {"n": "a2", "t": {"T": 1, "n": "__int16", "s": 2}, "location": "r64"}, {"n": "result", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r8"}, {"n": "v7", "t": {"T": 1, "n": "unsigned __int8", "s": 1}, "location": "s1"}, {"n": "v5", "t": {"T": 3, "t": "char"}, "location": "s16"}, {"n": "v4", "t": {"T": 1, "n": "unsigned __int8", "s": 1}, "location": "s17"}, {"n": "v3", "t": {"T": 1, "n": "__time_t", "s": 8}, "location": "s32"}, {"n": "v6", "t": {"T": 1, "n": "int", "s": 4}, "location": "s8"}]} {"name": "add_neighbor", "code": "__int64 __fastcall add_neighbor ( __int64 @@a1@@ ) { return neighbor_attr_add_neighbor ( @@a1@@ ) ; }", "source": [{"n": "a1", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r56"}]}