{"name": "etimer_expired", "code": "_BOOL8 __fastcall etimer_expired ( __int64 @@a1@@ ) { return * ( _QWORD * ) ( @@a1@@ + Number ) == Number L ; }", "source": [{"n": "a1", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r56"}]}
{"name": "process_thread_example_servreg_client_process", "code": "__int64 __fastcall process_thread_example_servreg_client_process ( _WORD * @@a1@@ ) { unsigned __int8 v1 ; __int64 v2 ; __int64 result ; __int64 @@v4@@ ; char @@v5@@ ; @@v5@@ = Number ; if ( ! * @@a1@@ ) { servreg_hack_init ( ) ; set_global_address ( ) ; goto LABEL_5 ; } if ( * @@a1@@ == Number ) { while ( Number ) { if ( ! @@v5@@ || ! ( unsigned int ) etimer_expired ( & et_3297 ) ) return Number L ; @@v4@@ = servreg_hack_list_head ( ) ; if ( @@v4@@ ) break ; LABEL_5 : etimer_set ( & et_3297 , Number L ) ; @@v5@@ = Number ; * @@a1@@ = Number ; } v1 = servreg_hack_item_id ( @@v4@@ ) ; printf ( String , v1 ) ; v2 = servreg_hack_item_address ( @@v4@@ ) ; uip_debug_ipaddr_print ( v2 ) ; putchar ( Number ) ; * @@a1@@ = Number ; result = Number L ; } else { * @@a1@@ = Number ; result = Number L ; } return result ; }", "source": [{"n": "a1", "t": {"T": 3, "t": "_WORD"}, "location": "r56"}, {"n": "v5", "t": {"T": 1, "n": "char", "s": 1}, "location": "s1"}, {"n": "v4", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s16"}]} {"name": "start_periodic_tcp_timer", "code": "__int64 start_periodic_tcp_timer ( ) { __int64 @@result@@ ; @@result@@ = etimer_expired ( ( __int64 ) & periodic ) ; if ( ( _DWORD ) @@result@@ ) @@result@@ = etimer_restart ( ( __int64 ) & periodic ) ; 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_schedule_dao", "code": "__int64 __fastcall rpl_schedule_dao ( __int64 @@a1@@ ) { __int64 result ; unsigned __int16 v2 ; etimer_expiration_time ( ( _QWORD * ) ( @@a1@@ + Number ) ) ; result = etimer_expired ( @@a1@@ + Number ) ; if ( ( _DWORD ) result ) { v2 = random_rand ( ) ; result = ctimer_set ( @@a1@@ + Number , ( int ) ( v2 % Number + Number ) , handle_dao_timer , @@a1@@ ) ; } return result ; }", "source": [{"n": "a1", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r56"}]} {"name": "timer_expired", "code": "_BOOL8 __fastcall timer_expired ( _QWORD * @@a1@@ ) { return ( unsigned __int64 ) ( clock_time ( ) - * @@a1@@ + Number ) > @@a1@@ [ Number ] ; }", "source": [{"n": "a1", "t": {"T": 3, "t": "_QWORD"}, "location": "r56"}]} {"name": "ctimer_expired", "code": "_BOOL8 __fastcall ctimer_expired ( _QWORD * @@a1@@ ) { _QWORD * @@i@@ ; if ( initialized_0 ) return etimer_expired ( ( __int64 ) ( @@a1@@ + Number ) ) ; for ( @@i@@ = ( _QWORD * ) list_head ( ( __int64 ) ctimer_list ) ; @@i@@ ; @@i@@ = ( _QWORD * ) * @@i@@ ) { if ( @@i@@ == @@a1@@ ) return Number L ; } return Number L ; }", "source": [{"n": "a1", "t": {"T": 3, "t": "_QWORD"}, "location": "r56"}, {"n": "i", "t": {"T": 3, "t": "_QWORD"}, "location": "s8"}]}