{"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": "set_global_address", "code": "__int64 set_global_address ( ) { __int16 @@v1@@ [ Number ] ; @@v1@@ [ Number ] = Number ; @@v1@@ [ Number ] = Number ; @@v1@@ [ Number ] = Number ; @@v1@@ [ Number ] = Number ; @@v1@@ [ Number ] = Number ; @@v1@@ [ Number ] = Number ; @@v1@@ [ Number ] = Number ; @@v1@@ [ Number ] = Number ; uip_ds6_set_addr_iid ( @@v1@@ , & uip_lladdr ) ; return uip_ds6_addr_add ( @@v1@@ , Number L , Number L ) ; }", "source": [{"n": "v1", "t": {"T": 2, "n": 8, "s": 2, "t": "__int16"}, "location": "s16"}]} {"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": "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": "uip_debug_ipaddr_print", "code": "int __fastcall uip_debug_ipaddr_print ( __int64 @@a1@@ ) { int @@result@@ ; unsigned __int16 @@v2@@ ; int @@v3@@ ; unsigned int @@v4@@ ; @@v4@@ = Number ; @@v3@@ = Number ; while ( @@v4@@ <= Number ) { @@v2@@ = ( * ( unsigned __int8 * ) ( @@a1@@ + @@v4@@ ) << Number ) + * ( unsigned __int8 * ) ( @@a1@@ + @@v4@@ + Number ) ; if ( @@v2@@ || @@v3@@ < Number ) { if ( @@v3@@ <= Number ) { if ( @@v4@@ ) putchar ( Number ) ; } else { @@v3@@ = Number ; } @@result@@ = printf ( String , @@v2@@ ) ; } else { @@result@@ = @@v3@@ ++ ; if ( ! @@result@@ ) @@result@@ = printf ( String ) ; } @@v4@@ += Number ; } return @@result@@ ; }", "source": [{"n": "a1", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r56"}, {"n": "result", "t": {"T": 1, "n": "int", "s": 4}, "location": "r8"}, {"n": "v2", "t": {"T": 1, "n": "unsigned __int16", "s": 2}, "location": "s10"}, {"n": "v4", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "s4"}, {"n": "v3", "t": {"T": 1, "n": "int", "s": 4}, "location": "s8"}]} {"name": "servreg_hack_init", "code": "__int64 servreg_hack_init ( ) { __int64 @@result@@ ; @@result@@ = ( unsigned __int8 ) started ; if ( ! started ) { list_init ( others_services ) ; list_init ( own_services ) ; memb_init ( & registrations ) ; @@result@@ = process_start ( & servreg_hack_process , Number L ) ; started = Number ; } return @@result@@ ; }", "source": [{"n": "result", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r8"}]} {"name": "servreg_hack_item_id", "code": "__int64 __fastcall servreg_hack_item_id ( __int64 @@a1@@ ) { return * ( unsigned __int8 * ) ( @@a1@@ + Number ) ; }", "source": [{"n": "a1", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r56"}]} {"name": "servreg_hack_item_address", "code": "__int64 __fastcall servreg_hack_item_address ( __int64 @@a1@@ ) { return @@a1@@ + Number ; }", "source": [{"n": "a1", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r56"}]} {"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"}]} {"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": "list_head", "code": "__int64 __fastcall list_head ( __int64 @@a1@@ ) { return * ( _QWORD * ) @@a1@@ ; }", "source": [{"n": "a1", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r56"}]}