{"name": "process_thread_tcpip_process", "code": "__int64 __fastcall process_thread_tcpip_process ( _WORD * @@a1@@ , unsigned __int8 @@a2@@ , void * @@a3@@ ) { __int64 @@result@@ ; char @@v5@@ ; @@v5@@ = Number ; if ( ! * @@a1@@ ) { for ( i_4827 = Number ; ( unsigned __int8 ) i_4827 <= Number ; ++ i_4827 ) s [ Number * ( unsigned __int8 ) i_4827 ] = Number ; qword_41F720 = process_current ; tcpip_event = process_alloc_event ( ) ; tcpip_icmp6_event = process_alloc_event ( ) ; etimer_set ( ( __int64 ) & periodic , Number L ) ; uip_init ( ) ; rpl_init ( ) ; goto LABEL_8 ; } if ( * @@a1@@ == Number ) { while ( @@v5@@ ) { eventhandler ( @@a2@@ , @@a3@@ ) ; LABEL_8 : @@v5@@ = 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": "unsigned __int8", "s": 1}, "location": "r64"}, {"n": "result", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r8"}, {"n": "v5", "t": {"T": 1, "n": "char", "s": 1}, "location": "s1"}]}
{"name": "etimer_set", "code": "__int64 __fastcall etimer_set ( __int64 @@a1@@ , __int64 @@a2@@ ) { timer_set ( @@a1@@ , @@a2@@ ) ; return add_timer ( @@a1@@ ) ; }", "source": [{"n": "a1", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r56"}, {"n": "a2", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r64"}]} {"name": "uip_init", "code": "__int64 uip_init ( ) { __int64 @@result@@ ; uip_ds6_init ( ) ; for ( c = Number ; ( unsigned __int8 ) c <= Number ; ++ c ) uip_listenports [ ( unsigned __int8 ) c ] = Number ; for ( c = Number ; ( unsigned __int8 ) c <= Number ; ++ c ) byte_421EA5 [ Number * ( unsigned __int8 ) c ] = Number ; lastport = Number ; for ( c = Number ; ; ++ c ) { @@result@@ = ( unsigned __int8 ) c ; if ( ( unsigned __int8 ) c > Number ) break ; word_4229B0 [ Number * ( unsigned __int8 ) c ] = Number ; } return @@result@@ ; }", "source": [{"n": "result", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r8"}]} {"name": "eventhandler", "code": "__int64 __fastcall eventhandler ( unsigned __int8 @@a1@@ , void * @@a2@@ ) { __int64 @@result@@ ; __int16 * v3 ; __int64 * i ; void * * j ; @@result@@ = @@a1@@ ; if ( @@a1@@ == Number ) { if ( @@a2@@ == & periodic ) { @@result@@ = etimer_expired ( ( __int64 ) & periodic ) ; if ( ( _DWORD ) @@result@@ ) { for ( i_4773 = Number ; ; ++ i_4773 ) { @@result@@ = ( unsigned __int8 ) i_4773 ; if ( ( unsigned __int8 ) i_4773 > Number ) break ; if ( byte_421EA5 [ Number * ( unsigned __int8 ) i_4773 ] ) { etimer_restart ( ( __int64 ) & periodic ) ; uip_conn = Number L * ( unsigned __int8 ) i_4773 + Number ; uip_process ( Number ) ; tcpip_ipv6_output ( ) ; } } } } if ( @@a2@@ == & uip_ds6_timer_periodic ) { @@result@@ = etimer_expired ( ( __int64 ) & uip_ds6_timer_periodic ) ; if ( ( _DWORD ) @@result@@ ) { uip_ds6_periodic ( ) ; @@result@@ = tcpip_ipv6_output ( ) ; } } } else if ( @@a1@@ <= Number ) { if ( @@a1@@ == Number ) { v3 = ( __int16 * ) & s ; for ( i_4773 = Number ; ; ++ i_4773 ) { @@result@@ = ( unsigned __int8 ) i_4773 ; if ( ( unsigned __int8 ) i_4773 > Number ) break ; if ( @@a2@@ == * ( ( void * * ) v3 + Number ) ) { uip_unlisten ( * v3 ) ; * v3 = Number ; * ( ( _QWORD * ) v3 + Number ) = Number L ; } v3 += Number ; } for ( i = ( __int64 * ) & uip_conns ; i < & uip_icmp6_conns ; i += Number ) { @@result@@ = i [ Number ] ; if ( @@a2@@ == ( void * ) @@result@@ ) { i [ Number ] = Number L ; * ( ( _BYTE * ) i + Number ) = Number ; } } for ( j = ( void * * ) & uip_udp_conns ; j < & uip_udp_conn ; j += Number ) { @@result@@ = ( __int64 ) j [ Number ] ; if ( @@a2@@ == ( void * ) @@result@@ ) * ( ( _WORD * ) j + Number ) = Number ; } } else if ( @@a1@@ <= Number ) { if ( @@a1@@ == Number ) { @@result@@ = packet_input ( ) ; } else if ( @@a1@@ <= Number ) { if ( @@a1@@ ) { if ( @@a2@@ ) { uip_udp_conn = @@a2@@ ; uip_process ( Number ) ; @@result@@ = tcpip_ipv6_output ( ) ; } } else if ( @@a2@@ ) { uip_conn = ( __int64 ) @@a2@@ ; uip_process ( Number ) ; tcpip_ipv6_output ( ) ; @@result@@ = start_periodic_tcp_timer ( ) ; } } } } return @@result@@ ; }", "source": [{"n": "a1", "t": {"T": 1, "n": "unsigned __int8", "s": 1}, "location": "r56"}, {"n": "a2", "t": {"T": 3, "t": "void"}, "location": "r64"}, {"n": "result", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r8"}]} {"name": "rpl_init", "code": "__int64 rpl_init ( ) { __int64 @@v1@@ ; __int16 @@v2@@ ; __int16 @@v3@@ ; __int16 @@v4@@ ; __int16 @@v5@@ ; default_instance = Number L ; rpl_reset_periodic_timer ( ) ; neighbor_info_subscribe ( rpl_link_neighbor_callback ) ; @@v1@@ = Number L ; @@v2@@ = Number ; @@v3@@ = Number ; @@v4@@ = Number ; @@v5@@ = Number ; return uip_ds6_maddr_add ( & @@v1@@ ) ; }", "source": [{"n": "v1", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s16"}, {"n": "v5", "t": {"T": 1, "n": "__int16", "s": 2}, "location": "s2"}, {"n": "v4", "t": {"T": 1, "n": "__int16", "s": 2}, "location": "s4"}, {"n": "v3", "t": {"T": 1, "n": "__int16", "s": 2}, "location": "s6"}, {"n": "v2", "t": {"T": 1, "n": "__int16", "s": 2}, "location": "s8"}]} {"name": "timer_set", "code": "__time_t __fastcall timer_set ( __time_t * @@a1@@ , __time_t @@a2@@ ) { __time_t @@result@@ ; @@a1@@ [ Number ] = @@a2@@ ; @@result@@ = clock_time ( ) ; * @@a1@@ = @@result@@ ; return @@result@@ ; }", "source": [{"n": "a1", "t": {"T": 3, "t": "__time_t"}, "location": "r56"}, {"n": "a2", "t": {"T": 1, "n": "__time_t", "s": 8}, "location": "r64"}, {"n": "result", "t": {"T": 1, "n": "__time_t", "s": 8}, "location": "r8"}]}