{"name": "send", "code": "__int64 __fastcall send ( __int64 @@a1@@ , unsigned __int16 @@a2@@ ) { prepare ( @@a1@@ , @@a2@@ ) ; return transmit ( @@a2@@ ) ; }", "source": [{"n": "a1", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r56"}, {"n": "a2", "t": {"T": 1, "n": "unsigned __int16", "s": 2}, "location": "r64"}]}
{"name": "uip_send", "code": "unsigned __int64 __fastcall uip_send ( const void * @@a1@@ , int @@a2@@ ) { unsigned __int64 @@result@@ ; @@result@@ = Number - ( unsigned int ) ( ( _BYTE * ) uip_sappdata - ( _BYTE * ) & unk_4227BC ) ; if ( @@a2@@ <= ( int ) @@result@@ ) @@result@@ = ( unsigned int ) @@a2@@ ; if ( ( int ) @@result@@ > Number ) { uip_slen = @@result@@ ; @@result@@ = ( unsigned __int64 ) uip_sappdata ; if ( @@a1@@ != uip_sappdata ) @@result@@ = ( unsigned __int64 ) memcpy ( uip_sappdata , @@a1@@ , ( unsigned __int16 ) uip_slen ) ; } return @@result@@ ; }", "source": [{"n": "a1", "t": {"T": 3, "t": "const void"}, "location": "r56"}, {"n": "a2", "t": {"T": 1, "n": "int", "s": 4}, "location": "r64"}, {"n": "result", "t": {"T": 1, "n": "unsigned __int64", "s": 8}, "location": "r8"}]} {"name": "uip_icmp6_send", "code": "__int64 __fastcall uip_icmp6_send ( _QWORD * @@a1@@ , char @@a2@@ , char @@a3@@ , __int16 @@a4@@ ) { __int64 v4 ; uip_aligned_buf = Number ; * ( ( _BYTE * ) & uip_aligned_buf + Number ) = Number ; * ( ( _BYTE * ) & uip_aligned_buf + Number ) = byte_422C44 ; * ( ( _BYTE * ) & uip_aligned_buf + Number ) = ( unsigned __int16 ) ( @@a4@@ + Number ) >> Number ; * ( ( _BYTE * ) & uip_aligned_buf + Number ) = @@a4@@ + Number ; v4 = @@a1@@ [ Number ] ; unk_422798 = * @@a1@@ ; * ( ( _QWORD * ) & unk_422798 + Number ) = v4 ; uip_ds6_select_src ( byte_422788 , & unk_422798 ) ; * ( ( _BYTE * ) & uip_aligned_buf + ( unsigned __int8 ) uip_ext_len + Number ) = @@a2@@ ; * ( ( _BYTE * ) & uip_aligned_buf + ( unsigned __int8 ) uip_ext_len + Number ) = @@a3@@ ; * ( _WORD * ) ( ( char * ) & uip_aligned_buf + ( unsigned __int8 ) uip_ext_len + Number ) = Number ; * ( _WORD * ) ( ( char * ) & uip_aligned_buf + ( unsigned __int8 ) uip_ext_len + Number ) = ~ ( unsigned __int16 ) uip_icmp6chksum ( ) ; uip_len = @@a4@@ + Number ; return tcpip_ipv6_output ( ) ; }", "source": [{"n": "a3", "t": {"T": 1, "n": "char", "s": 1}, "location": "r16"}, {"n": "a4", "t": {"T": 1, "n": "__int16", "s": 2}, "location": "r24"}, {"n": "a1", "t": {"T": 3, "t": "_QWORD"}, "location": "r56"}, {"n": "a2", "t": {"T": 1, "n": "char", "s": 1}, "location": "r64"}]} {"name": "servreg_hack_register", "code": "int __fastcall servreg_hack_register ( char @@a1@@ , _QWORD * @@a2@@ ) { int result ; __int64 @@v3@@ ; unsigned __int16 v4 ; __int64 @@v5@@ ; __int64 @@v6@@ ; __int64 @@i@@ ; servreg_hack_init ( ) ; for ( @@i@@ = list_head ( own_services ) ; @@i@@ ; @@i@@ = list_item_next ( @@i@@ ) ) { result = servreg_hack_item_id ( @@i@@ ) ; if ( @@a1@@ == ( _BYTE ) result ) return result ; } @@v6@@ = memb_alloc ( & registrations ) ; if ( ! @@v6@@ ) return puts ( String String ) ; * ( _BYTE * ) ( @@v6@@ + Number ) = @@a1@@ ; * ( _BYTE * ) ( @@v6@@ + Number ) = Number ; @@v3@@ = @@a2@@ [ Number ] ; * ( _QWORD * ) ( @@v6@@ + Number ) = * @@a2@@ ; * ( _QWORD * ) ( @@v6@@ + Number ) = @@v3@@ ; timer_set ( @@v6@@ + Number , Number L ) ; list_push ( own_services , @@v6@@ ) ; @@v5@@ = process_current ; process_current = ( __int64 ) & servreg_hack_process ; v4 = random_rand ( ) ; etimer_set ( ( __int64 ) & sendtimer , v4 % Number ) ; result = @@v5@@ ; process_current = @@v5@@ ; return result ; }", "source": [{"n": "v3", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r16"}, {"n": "a1", "t": {"T": 1, "n": "char", "s": 1}, "location": "r56"}, {"n": "a2", "t": {"T": 3, "t": "_QWORD"}, "location": "r64"}, {"n": "v6", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s16"}, {"n": "v5", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s24"}, {"n": "i", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s8"}]} {"name": "send_udp_packet", "code": "__int64 __fastcall send_udp_packet ( __int64 @@a1@@ ) { _QWORD * v1 ; char * v2 ; __int64 v3 ; int v4 ; int v5 ; _QWORD * v6 ; char * v7 ; __int64 v8 ; int v9 ; int v10 ; __int64 result ; char @@v12@@ [ Number ] ; __int64 @@i@@ ; int @@v14@@ ; unsigned int @@v15@@ ; @@v12@@ [ Number ] = Number ; @@v15@@ = Number ; @@v14@@ = Number ; for ( @@i@@ = list_head ( own_services ) ; @@v14@@ <= Number && @@i@@ ; @@i@@ = list_item_next ( @@i@@ ) ) { v1 = ( _QWORD * ) servreg_hack_item_address ( @@i@@ ) ; v2 = & @@v12@@ [ @@v14@@ ] ; v3 = v1 [ Number ] ; * ( _QWORD * ) v2 = * v1 ; * ( ( _QWORD * ) v2 + Number ) = v3 ; v4 = @@v14@@ + Number ; @@v12@@ [ v4 ] = servreg_hack_item_id ( @@i@@ ) ; v5 = @@v14@@ + Number ; @@v12@@ [ @@v14@@ + Number ] = Number ; @@v12@@ [ @@v14@@ + Number ] = @@v12@@ [ v5 ] ; @@v12@@ [ @@v14@@ + Number ] = * ( _BYTE * ) ( @@i@@ + Number ) ; @@v14@@ += Number ; ++ @@v15@@ ; } for ( @@i@@ = servreg_hack_list_head ( ) ; @@v14@@ <= Number && @@i@@ ; @@i@@ = list_item_next ( @@i@@ ) ) { v6 = ( _QWORD * ) servreg_hack_item_address ( @@i@@ ) ; v7 = & @@v12@@ [ @@v14@@ ] ; v8 = v6 [ Number ] ; * ( _QWORD * ) v7 = * v6 ; * ( ( _QWORD * ) v7 + Number ) = v8 ; v9 = @@v14@@ + Number ; @@v12@@ [ v9 ] = servreg_hack_item_id ( @@i@@ ) ; v10 = @@v14@@ + Number ; @@v12@@ [ @@v14@@ + Number ] = Number ; @@v12@@ [ @@v14@@ + Number ] = @@v12@@ [ v10 ] ; @@v12@@ [ @@v14@@ + Number ] = * ( _BYTE * ) ( @@i@@ + Number ) ; @@v14@@ += Number ; ++ @@v15@@ ; } result = @@v15@@ ; @@v12@@ [ Number ] = @@v15@@ ; if ( ( int ) @@v15@@ > Number ) result = uip_udp_packet_send ( @@a1@@ , @@v12@@ , ( unsigned int ) @@v14@@ ) ; return result ; }", "source": [{"n": "a1", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r56"}, {"n": "v12", "t": {"T": 2, "n": 96, "s": 1, "t": "char"}, "location": "s128"}, {"n": "v15", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "s20"}, {"n": "v14", "t": {"T": 1, "n": "int", "s": 4}, "location": "s24"}, {"n": "i", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s32"}]} {"name": "process_thread_servreg_hack_process", "code": "__int64 __fastcall process_thread_servreg_hack_process ( _WORD * @@a1@@ , char @@a2@@ , void * @@a3@@ ) { unsigned __int16 v3 ; unsigned __int16 v4 ; __int64 result ; char @@v7@@ ; @@v7@@ = Number ; if ( ! * @@a1@@ ) { outconn_4485 = ( __int64 ) udp_broadcast_new ( Number , Number L ) ; * ( _WORD * ) ( outconn_4485 + Number ) = Number ; inconn_4486 = ( __int64 ) udp_new ( Number L , Number , Number L ) ; * ( _WORD * ) ( inconn_4486 + Number ) = Number ; etimer_set ( ( __int64 ) & periodic_4484 , Number L ) ; v3 = random_rand ( ) ; etimer_set ( ( __int64 ) & sendtimer , v3 % Number ) ; goto LABEL_5 ; } if ( * @@a1@@ == Number ) { while ( @@v7@@ ) { if ( @@a2@@ == Number && @@a3@@ == & periodic_4484 ) { etimer_reset ( ( __int64 ) & periodic_4484 ) ; v4 = random_rand ( ) ; etimer_set ( ( __int64 ) & sendtimer , v4 % Number ) ; } else if ( @@a2@@ == Number && @@a3@@ == & sendtimer ) { send_udp_packet ( outconn_4485 ) ; } else if ( @@a2@@ == tcpip_event ) { parse_incoming_packet ( ( unsigned __int8 * ) uip_appdata ) ; } LABEL_5 : @@v7@@ = Number ; * @@a1@@ = Number ; } result = Number L ; } else { * @@a1@@ = Number ; result = Number L ; } return result ; }", "source": [{"n": "a3", "t": {"T": 3, "t": "void"}, "location": "r16"}, {"n": "a1", "t": {"T": 3, "t": "_WORD"}, "location": "r56"}, {"n": "a2", "t": {"T": 1, "n": "char", "s": 1}, "location": "r64"}, {"n": "v7", "t": {"T": 1, "n": "char", "s": 1}, "location": "s1"}]} {"name": "send_packet", "code": "__int64 __fastcall send_packet ( __int64 @@a1@@ , __int64 @@a2@@ ) { return send_packet_0 ( @@a1@@ , @@a2@@ ) ; }", "source": [{"n": "a1", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r56"}, {"n": "a2", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r64"}]} {"name": "send_packet_0", "code": "__int64 __fastcall send_packet_0 ( __int64 @@a1@@ , __int64 @@a2@@ ) { unsigned int @@v2@@ ; __int64 v3 ; int v4 ; unsigned int @@v6@@ ; packetbuf_set_addr ( Number L , & rimeaddr_node_addr ) ; if ( ( int ) framer_802154 ( ) >= Number ) { @@v2@@ = ( unsigned __int16 ) packetbuf_totlen ( ) ; v3 = packetbuf_hdrptr ( ) ; v4 = send ( v3 , @@v2@@ ) ; if ( v4 == Number ) { @@v6@@ = Number ; return mac_call_sent_callback ( @@a1@@ , @@a2@@ , @@v6@@ , Number L ) ; } if ( v4 <= Number ) { if ( ! v4 ) { @@v6@@ = Number ; return mac_call_sent_callback ( @@a1@@ , @@a2@@ , @@v6@@ , Number L ) ; } if ( v4 == Number ) { @@v6@@ = Number ; return mac_call_sent_callback ( @@a1@@ , @@a2@@ , @@v6@@ , Number L ) ; } } @@v6@@ = Number ; return mac_call_sent_callback ( @@a1@@ , @@a2@@ , @@v6@@ , Number L ) ; } @@v6@@ = Number ; return mac_call_sent_callback ( @@a1@@ , @@a2@@ , @@v6@@ , Number L ) ; }", "source": [{"n": "v2", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "r32"}, {"n": "a1", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r56"}, {"n": "a2", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r64"}, {"n": "v6", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "s20"}]} {"name": "send_list", "code": "__int64 __fastcall send_list ( __int64 @@a1@@ , __int64 @@a2@@ , __int64 @@a3@@ ) { __int64 @@result@@ ; if ( @@a3@@ ) { queuebuf_to_packetbuf ( * ( _QWORD * ) ( @@a3@@ + Number ) ) ; @@result@@ = send_packet_0 ( @@a1@@ , @@a2@@ ) ; } return @@result@@ ; }", "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": "result", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r8"}]} {"name": "should_send_dao", "code": "_BOOL8 __fastcall should_send_dao ( __int64 @@a1@@ , __int64 @@a2@@ , __int64 @@a3@@ ) { if ( ! * ( _BYTE * ) ( @@a1@@ + Number ) ) return Number L ; return @@a3@@ == * ( _QWORD * ) ( * ( _QWORD * ) ( @@a1@@ + Number ) + Number L ) && lollipop_greater_than ( * ( unsigned __int8 * ) ( @@a2@@ + Number ) , * ( unsigned __int8 * ) ( @@a3@@ + Number ) ) ; }", "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"}]} {"name": "rpl_process_dio", "code": "__int64 __fastcall rpl_process_dio ( _QWORD * @@a1@@ , __int64 @@a2@@ ) { __int64 @@result@@ ; __int64 @@v3@@ ; __int64 @@v4@@ ; _WORD * @@v5@@ ; _QWORD * @@v6@@ ; @@result@@ = * ( unsigned __int8 * ) ( @@a2@@ + Number ) ; if ( ( _BYTE ) @@result@@ == Number ) { @@v5@@ = get_dag ( * ( _BYTE * ) ( @@a2@@ + Number ) , ( const void * ) @@a2@@ ) ; @@v4@@ = rpl_get_instance ( * ( _BYTE * ) ( @@a2@@ + Number ) ) ; if ( @@v5@@ && @@v4@@ ) { if ( lollipop_greater_than ( * ( unsigned __int8 * ) ( @@a2@@ + Number ) , * ( ( unsigned __int8 * ) @@v5@@ + Number ) ) ) { if ( @@v5@@ [ Number ] != * ( _WORD * ) ( @@v4@@ + Number ) ) return global_repair ( @@a1@@ , ( __int64 ) @@v5@@ , @@a2@@ ) ; * ( ( _BYTE * ) @@v5@@ + Number ) = * ( _BYTE * ) ( @@a2@@ + Number ) ; ++ * ( ( _BYTE * ) @@v5@@ + Number ) ; return rpl_reset_dio_timer ( @@v4@@ ) ; } if ( lollipop_greater_than ( * ( ( unsigned __int8 * ) @@v5@@ + Number ) , * ( unsigned __int8 * ) ( @@a2@@ + Number ) ) && * ( ( _BYTE * ) @@v5@@ + Number ) ) return rpl_reset_dio_timer ( @@v4@@ ) ; } @@result@@ = * ( unsigned __int16 * ) ( @@a2@@ + Number ) ; if ( ( _WORD ) @@result@@ == Number ) return @@result@@ ; if ( ! @@v4@@ ) return rpl_join_instance ( @@a1@@ , @@a2@@ ) ; if ( ! @@v5@@ ) return ( __int64 ) rpl_add_dag ( @@a1@@ , @@a2@@ ) ; @@result@@ = * ( unsigned __int16 * ) ( @@v4@@ + Number ) ; if ( * ( _WORD * ) ( @@a2@@ + Number ) >= ( unsigned __int16 ) @@result@@ ) { if ( * ( _WORD * ) ( @@a2@@ + Number ) == Number && * ( ( _BYTE * ) @@v5@@ + Number ) ) rpl_reset_dio_timer ( @@v4@@ ) ; if ( @@v5@@ [ Number ] == * ( _WORD * ) ( @@v4@@ + Number ) ) { @@result@@ = * ( unsigned __int16 * ) ( @@a2@@ + Number ) ; if ( ( _WORD ) @@result@@ != Number ) { @@result@@ = @@v4@@ ; ++ * ( _BYTE * ) ( @@v4@@ + Number ) ; } return @@result@@ ; } @@v6@@ = rpl_find_parent ( ( __int64 ) @@v5@@ , @@a1@@ ) ; if ( @@v6@@ ) { if ( * ( ( _WORD * ) @@v6@@ + Number ) == * ( _WORD * ) ( @@a2@@ + Number ) ) { if ( * ( ( _BYTE * ) @@v5@@ + Number ) ) ++ * ( _BYTE * ) ( @@v4@@ + Number ) ; } else { * ( ( _WORD * ) @@v6@@ + Number ) = * ( _WORD * ) ( @@a2@@ + Number ) ; } } else { @@v3@@ = find_parent_dag ( @@v4@@ , @@a1@@ ) ; if ( @@v3@@ ) { @@v6@@ = rpl_find_parent ( @@v3@@ , @@a1@@ ) ; if ( @@v6@@ ) rpl_move_parent ( @@v3@@ , ( __int64 ) @@v5@@ , ( __int64 ) @@v6@@ ) ; } else { if ( ( unsigned int ) list_length ( * ( ( _QWORD * ) @@v5@@ + Number ) ) == Number ) remove_worst_parent ( ( __int64 ) @@v5@@ , * ( _WORD * ) ( @@a2@@ + Number ) ) ; @@result@@ = rpl_add_parent ( ( __int64 ) @@v5@@ , @@a2@@ , @@a1@@ ) ; @@v6@@ = ( _QWORD * ) @@result@@ ; if ( ! @@result@@ ) return @@result@@ ; } } @@v6@@ [ Number ] = * ( _QWORD * ) ( @@a2@@ + Number ) ; @@result@@ = rpl_process_parent_event ( @@v4@@ , ( __int64 ) @@v6@@ ) ; if ( ( _DWORD ) @@result@@ ) { if ( * ( ( _BYTE * ) @@v5@@ + Number ) && @@v6@@ == * ( ( _QWORD * * ) @@v5@@ + Number ) && should_send_dao ( @@v4@@ , @@a2@@ , ( __int64 ) @@v6@@ ) ) { ++ * ( _BYTE * ) ( @@v4@@ + Number ) ; rpl_schedule_dao ( @@v4@@ ) ; } @@result@@ = ( __int64 ) @@v6@@ ; * ( ( _BYTE * ) @@v6@@ + Number ) = * ( _BYTE * ) ( @@a2@@ + Number ) ; } return @@result@@ ; } } return @@result@@ ; }", "source": [{"n": "a1", "t": {"T": 3, "t": "_QWORD"}, "location": "r56"}, {"n": "a2", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r64"}, {"n": "result", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r8"}, {"n": "v5", "t": {"T": 3, "t": "_WORD"}, "location": "s16"}, {"n": "v4", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s24"}, {"n": "v3", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s32"}, {"n": "v6", "t": {"T": 3, "t": "_QWORD"}, "location": "s8"}]} {"name": "dis_output", "code": "__int64 __fastcall dis_output ( __int16 * @@a1@@ ) { _BYTE * @@v1@@ ; __int16 * @@v3@@ ; __int16 @@v4@@ [ Number ] ; _BYTE * @@v5@@ ; @@v3@@ = @@a1@@ ; @@v5@@ = ( _BYTE * ) ( ( unsigned __int8 ) uip_ext_len + Number + Number L ) ; @@v1@@ = ( _BYTE * ) ( ( unsigned __int8 ) uip_ext_len + Number + Number L ) ; * @@v1@@ = Number ; * @@v5@@ = * @@v1@@ ; if ( ! @@a1@@ ) { @@v4@@ [ Number ] = Number ; @@v4@@ [ Number ] = Number ; @@v4@@ [ Number ] = Number ; @@v4@@ [ Number ] = Number ; @@v4@@ [ Number ] = Number ; @@v4@@ [ Number ] = Number ; @@v4@@ [ Number ] = Number ; @@v4@@ [ Number ] = Number ; @@v3@@ = @@v4@@ ; } return uip_icmp6_send ( @@v3@@ , Number , Number , Number ) ; }", "source": [{"n": "a1", "t": {"T": 3, "t": "__int16"}, "location": "r56"}, {"n": "v1", "t": {"T": 3, "t": "_BYTE"}, "location": "r8"}, {"n": "v4", "t": {"T": 2, "n": 12, "s": 2, "t": "__int16"}, "location": "s32"}, {"n": "v3", "t": {"T": 3, "t": "__int16"}, "location": "s40"}, {"n": "v5", "t": {"T": 3, "t": "_BYTE"}, "location": "s8"}]} {"name": "dio_output", "code": "__int64 __fastcall dio_output ( unsigned __int8 * @@a1@@ , _QWORD * @@a2@@ ) { int v2 ; int v3 ; int v4 ; int v5 ; _QWORD * v6 ; __int64 v7 ; int v8 ; int v9 ; int v10 ; unsigned __int8 v11 ; int v12 ; int v13 ; int v14 ; __int64 result ; int v16 ; int v17 ; int v18 ; int v19 ; int v20 ; int v21 ; int v22 ; int v23 ; int v24 ; int v25 ; int v26 ; int v27 ; int v28 ; int v29 ; int v30 ; _QWORD * v31 ; __int64 v32 ; __int64 @@v33@@ ; __int16 @@v34@@ ; __int16 @@v35@@ ; __int16 @@v36@@ ; __int16 @@v37@@ ; __int64 @@v38@@ ; __int64 @@v39@@ ; int @@v40@@ ; @@v39@@ = * ( ( _QWORD * ) @@a1@@ + Number ) ; @@v38@@ = ( unsigned __int8 ) uip_ext_len + Number + Number L ; @@v40@@ = Number ; * ( ( _BYTE * ) & uip_aligned_buf + ( unsigned __int8 ) uip_ext_len + Number ) = @@a1@@ [ Number ] ; v2 = @@v40@@ ++ ; * ( _BYTE * ) ( @@v38@@ + v2 ) = * ( _BYTE * ) ( @@v39@@ + Number ) ; set16 ( @@v38@@ , @@v40@@ , * ( _WORD * ) ( @@v39@@ + Number ) ) ; @@v40@@ += Number ; * ( _BYTE * ) ( @@v40@@ + @@v38@@ ) = Number ; if ( * ( _BYTE * ) ( @@v39@@ + Number ) ) * ( _BYTE * ) ( @@v40@@ + @@v38@@ ) |= Number ; * ( _BYTE * ) ( @@v40@@ + @@v38@@ ) |= Number * @@a1@@ [ Number ] ; * ( _BYTE * ) ( @@v40@@ + @@v38@@ ) |= * ( _BYTE * ) ( @@v39@@ + Number ) & Number ; v3 = @@v40@@ + Number ; @@v40@@ += Number ; * ( _BYTE * ) ( @@v38@@ + v3 ) = @@a1@@ [ Number ] ++ ; v4 = @@v40@@ ++ ; * ( _BYTE * ) ( v4 + @@v38@@ ) = Number ; v5 = @@v40@@ ++ ; * ( _BYTE * ) ( v5 + @@v38@@ ) = Number ; v6 = ( _QWORD * ) ( @@v38@@ + @@v40@@ ) ; v7 = * ( _QWORD * ) ( @@v39@@ + Number ) ; * v6 = * ( _QWORD * ) @@v39@@ ; v6 [ Number ] = v7 ; @@v40@@ += Number ; if ( * @@a1@@ ) { ( * ( void ( __fastcall * * ) ( unsigned __int8 * ) ) ( * ( ( _QWORD * ) @@a1@@ + Number ) + Number L ) ) ( @@a1@@ ) ; v8 = @@v40@@ ++ ; * ( _BYTE * ) ( v8 + @@v38@@ ) = Number ; v9 = @@v40@@ ++ ; * ( _BYTE * ) ( v9 + @@v38@@ ) = Number ; v10 = @@v40@@ ++ ; * ( _BYTE * ) ( @@v38@@ + v10 ) = * @@a1@@ ; v11 = @@a1@@ [ Number ] ; v12 = @@v40@@ ++ ; * ( _BYTE * ) ( v12 + @@v38@@ ) = v11 >> Number ; * ( _BYTE * ) ( @@v40@@ + @@v38@@ ) = @@a1@@ [ Number ] << Number ; v13 = @@v40@@ ++ ; * ( _BYTE * ) ( v13 + @@v38@@ ) |= ( unsigned __int8 ) ( Number * @@a1@@ [ Number ] ) | @@a1@@ [ Number ] ; if ( * @@a1@@ == Number ) { v14 = @@v40@@ ++ ; * ( _BYTE * ) ( v14 + @@v38@@ ) = Number ; set16 ( @@v38@@ , @@v40@@ , * ( ( _WORD * ) @@a1@@ + Number ) ) ; @@v40@@ += Number ; } else { result = * @@a1@@ ; if ( ( _BYTE ) result != Number ) return result ; v16 = @@v40@@ ++ ; * ( _BYTE * ) ( v16 + @@v38@@ ) = Number ; v17 = @@v40@@ ++ ; * ( _BYTE * ) ( @@v38@@ + v17 ) = @@a1@@ [ Number ] ; v18 = @@v40@@ ++ ; * ( _BYTE * ) ( @@v38@@ + v18 ) = @@a1@@ [ Number ] ; } } v19 = @@v40@@ ++ ; * ( _BYTE * ) ( v19 + @@v38@@ ) = Number ; v20 = @@v40@@ ++ ; * ( _BYTE * ) ( v20 + @@v38@@ ) = Number ; v21 = @@v40@@ ++ ; * ( _BYTE * ) ( v21 + @@v38@@ ) = Number ; v22 = @@v40@@ ++ ; * ( _BYTE * ) ( @@v38@@ + v22 ) = @@a1@@ [ Number ] ; v23 = @@v40@@ ++ ; * ( _BYTE * ) ( @@v38@@ + v23 ) = @@a1@@ [ Number ] ; v24 = @@v40@@ ++ ; * ( _BYTE * ) ( @@v38@@ + v24 ) = @@a1@@ [ Number ] ; set16 ( @@v38@@ , @@v40@@ , * ( ( _WORD * ) @@a1@@ + Number ) ) ; @@v40@@ += Number ; set16 ( @@v38@@ , @@v40@@ , * ( ( _WORD * ) @@a1@@ + Number ) ) ; @@v40@@ += Number ; set16 ( @@v38@@ , @@v40@@ , * ( _WORD * ) ( * ( ( _QWORD * ) @@a1@@ + Number ) + Number L ) ) ; v25 = @@v40@@ + Number ; @@v40@@ += Number ; * ( _BYTE * ) ( v25 + @@v38@@ ) = Number ; v26 = @@v40@@ ++ ; * ( _BYTE * ) ( @@v38@@ + v26 ) = @@a1@@ [ Number ] ; set16 ( @@v38@@ , @@v40@@ , * ( ( _WORD * ) @@a1@@ + Number ) ) ; @@v40@@ += Number ; if ( * ( _BYTE * ) ( @@v39@@ + Number ) ) { v27 = @@v40@@ ++ ; * ( _BYTE * ) ( v27 + @@v38@@ ) = Number ; v28 = @@v40@@ ++ ; * ( _BYTE * ) ( v28 + @@v38@@ ) = Number ; v29 = @@v40@@ ++ ; * ( _BYTE * ) ( @@v38@@ + v29 ) = * ( _BYTE * ) ( @@v39@@ + Number ) ; v30 = @@v40@@ ++ ; * ( _BYTE * ) ( @@v38@@ + v30 ) = * ( _BYTE * ) ( @@v39@@ + Number ) ; set32 ( @@v38@@ , @@v40@@ , * ( _DWORD * ) ( @@v39@@ + Number ) ) ; @@v40@@ += Number ; set32 ( @@v38@@ , @@v40@@ , * ( _DWORD * ) ( @@v39@@ + Number ) ) ; @@v40@@ += Number ; memset ( ( void * ) ( @@v40@@ + @@v38@@ ) , Number , Number ) ; @@v40@@ += Number ; v31 = ( _QWORD * ) ( @@v38@@ + @@v40@@ ) ; v32 = * ( _QWORD * ) ( @@v39@@ + Number ) ; * v31 = * ( _QWORD * ) ( @@v39@@ + Number ) ; v31 [ Number ] = v32 ; @@v40@@ += Number ; } if ( @@a2@@ ) return uip_icmp6_send ( @@a2@@ , Number , Number , @@v40@@ ) ; @@v33@@ = Number L ; @@v34@@ = Number ; @@v35@@ = Number ; @@v36@@ = Number ; @@v37@@ = Number ; return uip_icmp6_send ( & @@v33@@ , Number , Number , @@v40@@ ) ; }", "source": [{"n": "a1", "t": {"T": 3, "t": "unsigned __int8"}, "location": "r56"}, {"n": "a2", "t": {"T": 3, "t": "_QWORD"}, "location": "r64"}, {"n": "v39", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s16"}, {"n": "v38", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s24"}, {"n": "v37", "t": {"T": 1, "n": "__int16", "s": 2}, "location": "s34"}, {"n": "v36", "t": {"T": 1, "n": "__int16", "s": 2}, "location": "s36"}, {"n": "v35", "t": {"T": 1, "n": "__int16", "s": 2}, "location": "s38"}, {"n": "v40", "t": {"T": 1, "n": "int", "s": 4}, "location": "s4"}, {"n": "v34", "t": {"T": 1, "n": "__int16", "s": 2}, "location": "s40"}, {"n": "v33", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s48"}]} {"name": "dao_input", "code": "int dao_input ( ) { __int64 @@v0@@ ; __int64 v1 ; int v2 ; int v3 ; int v4 ; int v5 ; _QWORD @@s@@ [ Number ] ; __int64 @@v8@@ [ Number ] ; char @@v9@@ ; char @@v10@@ ; char @@v11@@ ; _QWORD * @@v12@@ ; int @@v13@@ ; __int64 @@v14@@ ; void * @@s1@@ ; __int16 @@v16@@ ; unsigned __int8 @@v17@@ ; __int64 @@v18@@ ; char @@v19@@ ; unsigned __int8 @@v20@@ ; __int64 @@v21@@ ; int @@i@@ ; int @@v23@@ ; int @@v24@@ ; unsigned __int8 @@v25@@ ; unsigned __int8 @@v26@@ ; @@v25@@ = Number ; @@v0@@ = * ( _QWORD * ) & byte_422788 [ Number ] ; @@v8@@ [ Number ] = * ( _QWORD * ) byte_422788 ; @@v8@@ [ Number ] = @@v0@@ ; @@v21@@ = ( unsigned __int8 ) uip_ext_len + Number + Number L ; @@v20@@ = uip_len - uip_ext_len - Number ; @@v24@@ = Number ; @@v19@@ = * ( ( _BYTE * ) & uip_aligned_buf + ( unsigned __int8 ) uip_ext_len + Number ) ; v1 = rpl_get_instance ( @@v19@@ ) ; @@v18@@ = v1 ; if ( v1 ) { @@v26@@ = * ( _BYTE * ) ( @@v18@@ + Number ) ; v2 = @@v24@@ ++ ; @@v17@@ = * ( _BYTE * ) ( v2 + @@v21@@ ) ; v3 = @@v24@@ + Number ; @@v24@@ += Number ; @@v16@@ = * ( unsigned __int8 * ) ( v3 + @@v21@@ ) ; @@s1@@ = * ( void * * ) ( @@v18@@ + Number ) ; if ( ( @@v17@@ & Number ) != Number ) { LODWORD ( v1 ) = memcmp ( @@s1@@ , ( const void * ) ( @@v24@@ + @@v21@@ ) , Number ) ; if ( ( _DWORD ) v1 ) return v1 ; @@v24@@ += Number ; } for ( @@i@@ = @@v24@@ ; @@i@@ < @@v20@@ ; @@i@@ += @@v23@@ ) { @@v11@@ = * ( _BYTE * ) ( @@i@@ + @@v21@@ ) ; if ( @@v11@@ ) @@v23@@ = * ( unsigned __int8 * ) ( @@i@@ + Number L + @@v21@@ ) + Number ; else @@v23@@ = Number ; if ( @@v11@@ == Number ) { @@v25@@ = * ( _BYTE * ) ( @@i@@ + Number L + @@v21@@ ) ; memset ( @@s@@ , Number , sizeof ( @@s@@ ) ) ; v4 = @@v25@@ + Number ; if ( v4 < Number ) v4 = @@v25@@ + Number ; memcpy ( @@s@@ , ( const void * ) ( @@v21@@ + @@i@@ + Number L ) , v4 >> Number ) ; } else if ( @@v11@@ == Number ) { @@v10@@ = * ( _BYTE * ) ( @@i@@ + Number L + @@v21@@ ) ; @@v9@@ = * ( _BYTE * ) ( @@i@@ + Number L + @@v21@@ ) ; @@v26@@ = * ( _BYTE * ) ( @@i@@ + Number L + @@v21@@ ) ; } } v1 = uip_ds6_route_lookup ( @@s@@ ) ; @@v14@@ = v1 ; if ( @@v26@@ ) { if ( LOBYTE ( @@v8@@ [ Number ] ) == Number ) v5 = Number ; else v5 = Number ; @@v13@@ = v5 ; if ( v5 == Number && ( @@v12@@ = rpl_find_parent ( ( __int64 ) @@s1@@ , @@v8@@ ) ) != Number L && ( unsigned __int16 ) ( * ( ( _WORD * ) @@v12@@ + Number ) / * ( _WORD * ) ( @@v18@@ + Number ) ) < ( unsigned __int16 ) ( * ( ( _WORD * ) @@s1@@ + Number ) / * ( _WORD * ) ( @@v18@@ + Number ) ) ) { * ( ( _WORD * ) @@v12@@ + Number ) = Number ; LODWORD ( v1 ) = ( _DWORD ) @@v12@@ ; * ( ( _BYTE * ) @@v12@@ + Number ) = Number ; } else { v1 = rpl_add_route ( ( __int64 ) @@s1@@ , @@s@@ , @@v25@@ , @@v8@@ ) ; @@v14@@ = v1 ; if ( v1 ) { * ( _DWORD * ) ( @@v14@@ + Number ) = @@v26@@ * * ( unsigned __int16 * ) ( @@v18@@ + Number ) ; LODWORD ( v1 ) = @@v14@@ ; * ( _BYTE * ) ( @@v14@@ + Number ) = @@v13@@ ; if ( @@v13@@ == Number ) { if ( * ( ( _QWORD * ) @@s1@@ + Number ) ) uip_icmp6_send ( ( _QWORD * ) ( * ( ( _QWORD * ) @@s1@@ + Number ) + Number L ) , Number , Number , @@v20@@ ) ; LODWORD ( v1 ) = @@v17@@ ; if ( ( @@v17@@ & Number ) != Number ) LODWORD ( v1 ) = dao_ack_output ( @@v18@@ , @@v8@@ , ( unsigned __int8 ) @@v16@@ ) ; } } } } else if ( @@v14@@ ) { LODWORD ( v1 ) = * ( _DWORD * ) ( @@v14@@ + Number ) ; if ( ! ( _DWORD ) v1 ) { LODWORD ( v1 ) = * ( unsigned __int8 * ) ( @@v14@@ + Number ) ; if ( @@v25@@ == ( _BYTE ) v1 ) { * ( _DWORD * ) ( @@v14@@ + Number ) = * ( _DWORD * ) ( @@v14@@ + Number ) ; LODWORD ( v1 ) = @@v14@@ ; * ( _DWORD * ) ( @@v14@@ + Number ) = Number ; } } } } return v1 ; }", "source": [{"n": "v0", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r16"}, {"n": "v26", "t": {"T": 1, "n": "unsigned __int8", "s": 1}, "location": "s1"}, {"n": "v8", "t": {"T": 2, "n": 3, "s": 8, "t": "__int64"}, "location": "s112"}, {"n": "v23", "t": {"T": 1, "n": "int", "s": 4}, "location": "s12"}, {"n": "s", "t": {"T": 2, "n": 2, "s": 8, "t": "_QWORD"}, "location": "s128"}, {"n": "i", "t": {"T": 1, "n": "int", "s": 4}, "location": "s16"}, {"n": "v25", "t": {"T": 1, "n": "unsigned __int8", "s": 1}, "location": "s2"}, {"n": "v21", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s24"}, {"n": "v20", "t": {"T": 1, "n": "unsigned __int8", "s": 1}, "location": "s25"}, {"n": "v19", "t": {"T": 1, "n": "char", "s": 1}, "location": "s26"}, {"n": "v18", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s40"}, {"n": "v17", "t": {"T": 1, "n": "unsigned __int8", "s": 1}, "location": "s41"}, {"n": "v16", "t": {"T": 1, "n": "__int16", "s": 2}, "location": "s44"}, {"n": "s1", "t": {"T": 3, "t": "void"}, "location": "s56"}, {"n": "v14", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s64"}, {"n": "v13", "t": {"T": 1, "n": "int", "s": 4}, "location": "s68"}, {"n": "v24", "t": {"T": 1, "n": "int", "s": 4}, "location": "s8"}, {"n": "v12", "t": {"T": 3, "t": "_QWORD"}, "location": "s80"}, {"n": "v11", "t": {"T": 1, "n": "char", "s": 1}, "location": "s81"}, {"n": "v10", "t": {"T": 1, "n": "char", "s": 1}, "location": "s82"}, {"n": "v9", "t": {"T": 1, "n": "char", "s": 1}, "location": "s83"}]} {"name": "dao_output", "code": "__int64 __fastcall dao_output ( __int64 @@a1@@ , char @@a2@@ ) { __int64 result ; int v3 ; int v4 ; _QWORD * v5 ; __int64 @@v6@@ ; int v7 ; int v8 ; int v9 ; int v10 ; int v11 ; int v12 ; int v13 ; int v14 ; int v15 ; int v16 ; int v17 ; int v18 ; int v19 ; int v20 ; _QWORD @@src@@ [ Number ] ; unsigned __int8 @@v22@@ ; int @@v23@@ ; _BYTE * @@v24@@ ; __int64 @@v25@@ ; _QWORD * @@v26@@ ; result = get_global_addr ( @@src@@ ) ; if ( ( _DWORD ) result ) { @@v26@@ = * ( _QWORD * * ) ( @@a1@@ + Number ) ; @@v25@@ = @@v26@@ [ Number ] ; @@v24@@ = ( _BYTE * ) ( ( unsigned __int8 ) uip_ext_len + Number + Number L ) ; ++ dao_sequence ; @@v23@@ = Number ; * @@v24@@ = * ( _BYTE * ) ( @@v25@@ + Number ) ; @@v24@@ [ @@v23@@ ] = Number ; @@v24@@ [ @@v23@@ ++ ] |= Number ; v3 = @@v23@@ ++ ; @@v24@@ [ v3 ] = Number ; v4 = @@v23@@ ++ ; @@v24@@ [ v4 ] = dao_sequence ; v5 = & @@v24@@ [ @@v23@@ ] ; @@v6@@ = @@v26@@ [ Number ] ; * v5 = * @@v26@@ ; v5 [ Number ] = @@v6@@ ; @@v23@@ += Number ; @@v22@@ = Number ; v7 = @@v23@@ ++ ; @@v24@@ [ v7 ] = Number ; v8 = @@v22@@ + Number ; if ( v8 < Number ) v8 = @@v22@@ + Number ; v9 = v8 >> Number ; v10 = @@v23@@ ++ ; @@v24@@ [ v10 ] = v9 + Number ; v11 = @@v23@@ ++ ; @@v24@@ [ v11 ] = Number ; v12 = @@v23@@ ++ ; @@v24@@ [ v12 ] = @@v22@@ ; v13 = @@v22@@ + Number ; if ( v13 < Number ) v13 = @@v22@@ + Number ; memcpy ( & @@v24@@ [ @@v23@@ ] , @@src@@ , v13 >> Number ) ; v14 = @@v22@@ + Number ; if ( v14 < Number ) v14 = @@v22@@ + Number ; @@v23@@ += v14 >> Number ; v15 = @@v23@@ ++ ; @@v24@@ [ v15 ] = Number ; v16 = @@v23@@ ++ ; @@v24@@ [ v16 ] = Number ; v17 = @@v23@@ ++ ; @@v24@@ [ v17 ] = Number ; v18 = @@v23@@ ++ ; @@v24@@ [ v18 ] = Number ; v19 = @@v23@@ ++ ; @@v24@@ [ v19 ] = Number ; v20 = @@v23@@ ++ ; @@v24@@ [ v20 ] = @@a2@@ ; result = uip_icmp6_send ( ( _QWORD * ) ( @@a1@@ + Number ) , Number , Number , @@v23@@ ) ; } return result ; }", "source": [{"n": "v6", "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": "char", "s": 1}, "location": "r64"}, {"n": "v25", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s16"}, {"n": "v24", "t": {"T": 3, "t": "_BYTE"}, "location": "s24"}, {"n": "v23", "t": {"T": 1, "n": "int", "s": 4}, "location": "s28"}, {"n": "v22", "t": {"T": 1, "n": "unsigned __int8", "s": 1}, "location": "s29"}, {"n": "src", "t": {"T": 2, "n": 2, "s": 8, "t": "_QWORD"}, "location": "s48"}, {"n": "v26", "t": {"T": 3, "t": "_QWORD"}, "location": "s8"}]} {"name": "dao_ack_output", "code": "__int64 __fastcall dao_ack_output ( __int64 @@a1@@ , _QWORD * @@a2@@ , char @@a3@@ ) { _BYTE * @@v4@@ ; @@v4@@ = ( _BYTE * ) ( ( unsigned __int8 ) uip_ext_len + Number + Number L ) ; * ( ( _BYTE * ) & uip_aligned_buf + ( unsigned __int8 ) uip_ext_len + Number ) = * ( _BYTE * ) ( @@a1@@ + Number ) ; @@v4@@ [ Number ] = Number ; @@v4@@ [ Number ] = @@a3@@ ; @@v4@@ [ Number ] = Number ; return uip_icmp6_send ( @@a2@@ , Number , Number , Number ) ; }", "source": [{"n": "a3", "t": {"T": 1, "n": "char", "s": 1}, "location": "r16"}, {"n": "a1", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r56"}, {"n": "a2", "t": {"T": 3, "t": "_QWORD"}, "location": "r64"}, {"n": "v4", "t": {"T": 3, "t": "_BYTE"}, "location": "s8"}]} {"name": "handle_dio_timer", "code": "__int64 __fastcall handle_dio_timer ( __int64 @@a1@@ ) { __int64 @@result@@ ; if ( ! dio_send_ok ) { if ( ! uip_ds6_get_link_local ( Number ) ) return ctimer_set ( @@a1@@ + Number , Number L , handle_dio_timer , @@a1@@ ) ; dio_send_ok = Number ; } if ( * ( _BYTE * ) ( @@a1@@ + Number ) ) { if ( * ( _BYTE * ) ( @@a1@@ + Number ) < * ( _BYTE * ) ( @@a1@@ + Number ) ) dio_output ( ( unsigned __int8 * ) @@a1@@ , Number L ) ; * ( _BYTE * ) ( @@a1@@ + Number ) = Number ; @@result@@ = ctimer_set ( @@a1@@ + Number , * ( _QWORD * ) ( @@a1@@ + Number ) , handle_dio_timer , @@a1@@ ) ; } else { if ( * ( unsigned __int8 * ) ( @@a1@@ + Number ) < * ( unsigned __int8 * ) ( @@a1@@ + Number ) + * ( unsigned __int8 * ) ( @@a1@@ + Number ) ) ++ * ( _BYTE * ) ( @@a1@@ + Number ) ; @@result@@ = new_dio_interval ( @@a1@@ ) ; } 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"}]} {"name": "handle_dao_timer", "code": "__int64 __fastcall handle_dao_timer ( __int64 @@a1@@ ) { if ( ! dio_send_ok && ! uip_ds6_get_link_local ( Number ) ) return ctimer_set ( @@a1@@ + Number , Number L , handle_dao_timer , @@a1@@ ) ; if ( * ( _QWORD * ) ( * ( _QWORD * ) ( @@a1@@ + Number ) + Number L ) ) dao_output ( * ( _QWORD * ) ( * ( _QWORD * ) ( @@a1@@ + Number ) + Number L ) , * ( _BYTE * ) ( @@a1@@ + Number ) ) ; return ctimer_stop ( @@a1@@ + Number ) ; }", "source": [{"n": "a1", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r56"}]} {"name": "uip_udp_packet_send", "code": "void __fastcall uip_udp_packet_send ( void * @@a1@@ , const void * @@a2@@ , int @@a3@@ ) { int @@v3@@ ; if ( @@a2@@ ) { uip_udp_conn = @@a1@@ ; uip_slen = @@a3@@ ; @@v3@@ = Number ; if ( @@a3@@ <= Number ) @@v3@@ = @@a3@@ ; memcpy ( & unk_4227B0 , @@a2@@ , @@v3@@ ) ; uip_process ( Number ) ; tcpip_ipv6_output ( ) ; } uip_slen = Number ; }", "source": [{"n": "a3", "t": {"T": 1, "n": "int", "s": 4}, "location": "r16"}, {"n": "a1", "t": {"T": 3, "t": "void"}, "location": "r56"}, {"n": "a2", "t": {"T": 3, "t": "const void"}, "location": "r64"}, {"n": "v3", "t": {"T": 1, "n": "int", "s": 4}, "location": "r8"}]} {"name": "uip_udp_packet_sendto", "code": "__int64 __fastcall uip_udp_packet_sendto ( __int64 * @@a1@@ , const void * @@a2@@ , int @@a3@@ , __int64 * @@a4@@ , unsigned int @@a5@@ ) { __int64 @@result@@ ; __int64 v6 ; __int64 @@v8@@ ; __int64 @@v9@@ ; __int16 @@v10@@ ; @@result@@ = @@a5@@ ; if ( @@a4@@ ) { @@v8@@ = * @@a1@@ ; @@v9@@ = @@a1@@ [ Number ] ; @@v10@@ = * ( ( _WORD * ) @@a1@@ + Number ) ; v6 = @@a4@@ [ Number ] ; * @@a1@@ = * @@a4@@ ; @@a1@@ [ Number ] = v6 ; * ( ( _WORD * ) @@a1@@ + Number ) = @@a5@@ ; uip_udp_packet_send ( @@a1@@ , @@a2@@ , @@a3@@ ) ; * @@a1@@ = @@v8@@ ; @@a1@@ [ Number ] = @@v9@@ ; @@result@@ = ( __int64 ) @@a1@@ ; * ( ( _WORD * ) @@a1@@ + Number ) = @@v10@@ ; } return @@result@@ ; }", "source": [{"n": "a3", "t": {"T": 1, "n": "int", "s": 4}, "location": "r16"}, {"n": "a4", "t": {"T": 3, "t": "__int64"}, "location": "r24"}, {"n": "a1", "t": {"T": 3, "t": "__int64"}, "location": "r56"}, {"n": "a2", "t": {"T": 3, "t": "const void"}, "location": "r64"}, {"n": "a5", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "r72"}, {"n": "result", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r8"}, {"n": "v10", "t": {"T": 1, "n": "__int16", "s": 2}, "location": "s2"}, {"n": "v9", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s24"}, {"n": "v8", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s32"}]} {"name": "send_packet_1", "code": "__int64 __fastcall send_packet_1 ( __int64 @@a1@@ ) { packetbuf_set_addr ( Number , @@a1@@ ) ; send_packet ( ( __int64 ) packet_sent , Number L ) ; return watchdog_periodic ( ) ; }", "source": [{"n": "a1", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r56"}]} {"name": "output", "code": "__int64 __fastcall output ( __int64 @@a1@@ ) { char @@v2@@ [ Number ] ; __int64 * @@v3@@ ; unsigned __int16 @@v4@@ ; uncomp_hdr_len = Number ; rime_hdr_len = Number ; packetbuf_clear ( ) ; rime_ptr = packetbuf_dataptr ( ) ; packetbuf_set_attr ( Number , Number ) ; if ( callback ) set_packet_attrs ( ) ; if ( * ( ( _BYTE * ) & uip_aligned_buf + Number ) != Number || ( * ( ( _BYTE * ) & dword_4227A8 + Number ) & Number ) != Number || ( * ( ( _BYTE * ) & dword_4227A8 + Number ) & Number ) == Number ) { if ( * ( ( _BYTE * ) & uip_aligned_buf + Number ) == Number && ( * ( ( _BYTE * ) & dword_4227A8 + Number ) & Number ) != Number ) packetbuf_set_attr ( Number , Number ) ; } else { packetbuf_set_attr ( Number , Number ) ; } if ( @@a1@@ ) rimeaddr_copy ( ( __int64 ) @@v2@@ , @@a1@@ ) ; else rimeaddr_copy ( ( __int64 ) @@v2@@ , ( __int64 ) & rimeaddr_null ) ; compress_hdr_hc06 ( @@v2@@ ) ; if ( ( unsigned __int16 ) uip_len - ( unsigned __int8 ) uncomp_hdr_len <= Number - ( unsigned __int8 ) rime_hdr_len ) { memcpy ( ( char * ) rime_ptr + ( unsigned __int8 ) rime_hdr_len , ( char * ) & uip_aligned_buf + ( unsigned __int8 ) uncomp_hdr_len , ( unsigned __int16 ) uip_len - ( unsigned __int8 ) uncomp_hdr_len ) ; packetbuf_set_datalen ( uip_len - ( unsigned __int8 ) uncomp_hdr_len + ( unsigned __int8 ) rime_hdr_len ) ; send_packet_1 ( ( __int64 ) @@v2@@ ) ; } else { memmove ( ( char * ) rime_ptr + Number , rime_ptr , ( unsigned __int8 ) rime_hdr_len ) ; * ( _BYTE * ) rime_ptr = HIBYTE ( uip_len ) | Number ; * ( ( _BYTE * ) rime_ptr + Number ) = uip_len ; * ( ( _BYTE * ) rime_ptr + Number ) = HIBYTE ( my_tag ) ; * ( ( _BYTE * ) rime_ptr + Number ) = my_tag ++ ; rime_hdr_len += Number ; rime_payload_len = ( Number - rime_hdr_len ) & Number ; memcpy ( ( char * ) rime_ptr + ( unsigned __int8 ) rime_hdr_len , ( char * ) & uip_aligned_buf + ( unsigned __int8 ) uncomp_hdr_len , ( Number - rime_hdr_len ) & Number ) ; packetbuf_set_datalen ( ( unsigned __int8 ) rime_payload_len + ( unsigned __int8 ) rime_hdr_len ) ; @@v3@@ = ( __int64 * ) queuebuf_new_from_packetbuf ( ) ; if ( ! @@v3@@ ) return Number L ; send_packet_1 ( ( __int64 ) @@v2@@ ) ; queuebuf_to_packetbuf ( ( unsigned __int64 ) @@v3@@ ) ; queuebuf_free ( @@v3@@ ) ; @@v3@@ = Number L ; if ( last_tx_status == Number || last_tx_status == Number || last_tx_status == Number ) return Number L ; @@v4@@ = ( unsigned __int8 ) rime_payload_len + ( unsigned __int8 ) uncomp_hdr_len ; rime_hdr_len = Number ; * ( _BYTE * ) rime_ptr = HIBYTE ( uip_len ) | Number ; * ( ( _BYTE * ) rime_ptr + Number ) = uip_len ; rime_payload_len = ( Number - rime_hdr_len ) & Number ; while ( @@v4@@ < ( unsigned __int16 ) uip_len ) { * ( ( _BYTE * ) rime_ptr + Number ) = @@v4@@ >> Number ; if ( ( unsigned __int16 ) uip_len - @@v4@@ < ( unsigned __int8 ) rime_payload_len ) rime_payload_len = uip_len - @@v4@@ ; memcpy ( ( char * ) rime_ptr + ( unsigned __int8 ) rime_hdr_len , ( char * ) & uip_aligned_buf + @@v4@@ , ( unsigned __int8 ) rime_payload_len ) ; packetbuf_set_datalen ( ( unsigned __int8 ) rime_payload_len + ( unsigned __int8 ) rime_hdr_len ) ; @@v3@@ = ( __int64 * ) queuebuf_new_from_packetbuf ( ) ; if ( ! @@v3@@ ) return Number L ; send_packet_1 ( ( __int64 ) @@v2@@ ) ; queuebuf_to_packetbuf ( ( unsigned __int64 ) @@v3@@ ) ; queuebuf_free ( @@v3@@ ) ; @@v3@@ = Number L ; @@v4@@ += ( unsigned __int8 ) rime_payload_len ; if ( last_tx_status == Number || last_tx_status == Number || last_tx_status == Number ) return Number L ; } } return Number L ; }", "source": [{"n": "a1", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r56"}, {"n": "v3", "t": {"T": 3, "t": "__int64"}, "location": "s16"}, {"n": "v4", "t": {"T": 1, "n": "unsigned __int16", "s": 2}, "location": "s2"}, {"n": "v2", "t": {"T": 2, "n": 8, "s": 1, "t": "char"}, "location": "s24"}]} {"name": "input", "code": "__int64 input ( ) { int v0 ; int @@v1@@ ; __int64 result ; __int64 v3 ; __int64 v4 ; char v5 ; char @@v6@@ ; char @@v7@@ ; unsigned __int16 @@v8@@ ; unsigned __int8 @@v9@@ ; unsigned __int16 @@v10@@ ; @@v10@@ = Number ; @@v9@@ = Number ; @@v8@@ = Number ; @@v7@@ = Number ; @@v6@@ = Number ; uncomp_hdr_len = Number ; rime_hdr_len = Number ; rime_ptr = packetbuf_dataptr ( ) ; if ( timer_expired ( reass_timer ) ) { sicslowpan_len = Number ; processed_ip_in_len = Number ; } v0 = ( ( ( unsigned __int16 ) ( * ( unsigned __int8 * ) rime_ptr << Number ) | * ( ( unsigned __int8 * ) rime_ptr + Number ) ) >> Number ) & Number ; if ( v0 == Number ) { @@v9@@ = Number ; @@v10@@ = _byteswap_ushort ( * ( _WORD * ) rime_ptr ) & Number ; @@v8@@ = _byteswap_ushort ( * ( ( _WORD * ) rime_ptr + Number ) ) ; rime_hdr_len += Number ; @@v7@@ = Number ; } else if ( v0 == Number ) { @@v9@@ = * ( ( _BYTE * ) rime_ptr + Number ) ; @@v8@@ = _byteswap_ushort ( * ( ( _WORD * ) rime_ptr + Number ) ) ; @@v10@@ = _byteswap_ushort ( * ( _WORD * ) rime_ptr ) & Number ; rime_hdr_len += Number ; @@v1@@ = ( unsigned __int16 ) processed_ip_in_len ; if ( @@v1@@ + ( unsigned __int16 ) packetbuf_datalen ( ) - ( unsigned __int8 ) rime_hdr_len >= @@v10@@ ) @@v6@@ = Number ; } result = ( unsigned __int16 ) processed_ip_in_len ; if ( processed_ip_in_len ) { if ( @@v10@@ ) { result = ( unsigned __int16 ) sicslowpan_len ; if ( @@v10@@ != sicslowpan_len ) return result ; result = ( unsigned __int16 ) reass_tag ; if ( @@v8@@ != reass_tag ) return result ; v3 = packetbuf_addr ( Number ) ; result = rimeaddr_cmp ( ( __int64 ) & frag_sender , v3 ) ; if ( ! ( _DWORD ) result ) return result ; } if ( ! @@v10@@ ) return result ; } else if ( @@v10@@ && @@v10@@ <= Number ) { sicslowpan_len = @@v10@@ ; reass_tag = @@v8@@ ; timer_set ( reass_timer , Number L ) ; v4 = packetbuf_addr ( Number ) ; rimeaddr_copy ( ( __int64 ) & frag_sender , v4 ) ; } if ( rime_hdr_len != Number ) { if ( ( * ( ( _BYTE * ) rime_ptr + ( unsigned __int8 ) rime_hdr_len ) & Number ) == Number ) { uncompress_hdr_hc06 ( @@v10@@ ) ; } else { result = * ( ( unsigned __int8 * ) rime_ptr + ( unsigned __int8 ) rime_hdr_len ) ; if ( ( _DWORD ) result != Number ) return result ; memcpy ( & sicslowpan_aligned_buf , ( char * ) rime_ptr + ( unsigned __int8 ) ++ rime_hdr_len , Number ) ; rime_hdr_len += Number ; uncomp_hdr_len += Number ; } } result = packetbuf_datalen ( ) ; if ( ( unsigned __int16 ) result >= ( unsigned __int8 ) rime_hdr_len ) { v5 = packetbuf_datalen ( ) ; rime_payload_len = v5 - rime_hdr_len ; memcpy ( ( char * ) & sicslowpan_aligned_buf + ( unsigned __int8 ) uncomp_hdr_len + ( unsigned __int64 ) ( unsigned __int16 ) ( Number * @@v9@@ ) , ( char * ) rime_ptr + ( unsigned __int8 ) rime_hdr_len , ( unsigned __int8 ) ( v5 - rime_hdr_len ) ) ; if ( @@v10@@ ) { if ( @@v7@@ ) processed_ip_in_len += ( unsigned __int8 ) uncomp_hdr_len ; if ( @@v6@@ ) processed_ip_in_len = @@v10@@ ; else processed_ip_in_len += ( unsigned __int8 ) rime_payload_len ; } else { sicslowpan_len = ( unsigned __int8 ) rime_payload_len + ( unsigned __int8 ) uncomp_hdr_len ; } if ( ! processed_ip_in_len || ( result = ( unsigned __int16 ) sicslowpan_len , processed_ip_in_len == sicslowpan_len ) ) { memcpy ( & uip_aligned_buf , & sicslowpan_aligned_buf , ( unsigned __int16 ) sicslowpan_len ) ; uip_len = sicslowpan_len ; sicslowpan_len = Number ; processed_ip_in_len = Number ; neighbor_info_packet_received ( ) ; if ( callback ) { set_packet_attrs ( ) ; ( * ( void ( * * ) ( void ) ) ( callback + Number ) ) ( ) ; } result = tcpip_input ( ) ; } } return result ; }", "source": [{"n": "v1", "t": {"T": 1, "n": "int", "s": 4}, "location": "r32"}, {"n": "v10", "t": {"T": 1, "n": "unsigned __int16", "s": 2}, "location": "s18"}, {"n": "v9", "t": {"T": 1, "n": "unsigned __int8", "s": 1}, "location": "s19"}, {"n": "v8", "t": {"T": 1, "n": "unsigned __int16", "s": 2}, "location": "s22"}, {"n": "v7", "t": {"T": 1, "n": "char", "s": 1}, "location": "s23"}, {"n": "v6", "t": {"T": 1, "n": "char", "s": 1}, "location": "s24"}]}