{"name": "list_add", "code": "_QWORD * __fastcall list_add ( _QWORD * @@a1@@ , _QWORD * @@a2@@ ) { _QWORD * @@result@@ ; _QWORD * @@v3@@ ; list_remove ( @@a1@@ , @@a2@@ ) ; * @@a2@@ = Number L ; @@v3@@ = list_tail ( @@a1@@ ) ; if ( @@v3@@ ) { @@result@@ = @@v3@@ ; * @@v3@@ = @@a2@@ ; } else { @@result@@ = @@a1@@ ; * @@a1@@ = @@a2@@ ; } return @@result@@ ; }", "source": [{"n": "a1", "t": {"T": 3, "t": "_QWORD"}, "location": "r56"}, {"n": "a2", "t": {"T": 3, "t": "_QWORD"}, "location": "r64"}, {"n": "result", "t": {"T": 3, "t": "_QWORD"}, "location": "r8"}, {"n": "v3", "t": {"T": 3, "t": "_QWORD"}, "location": "s8"}]}
{"name": "uip_ds6_notification_add", "code": "__int64 __fastcall uip_ds6_notification_add ( __int64 @@a1@@ , __int64 @@a2@@ ) { __int64 @@result@@ ; if ( @@a1@@ ) { if ( @@a2@@ ) { * ( _QWORD * ) ( @@a1@@ + Number ) = @@a2@@ ; @@result@@ = list_add ( notificationlist , @@a1@@ ) ; } } return @@result@@ ; }", "source": [{"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": "uip_ds6_route_add", "code": "__int64 __fastcall uip_ds6_route_add ( _QWORD * @@a1@@ , char @@a2@@ , _QWORD * @@a3@@ , char @@a4@@ ) { __int64 v5 ; __int64 v6 ; __int64 @@v9@@ ; @@v9@@ = uip_ds6_route_lookup ( @@a1@@ ) ; if ( ! @@v9@@ ) { @@v9@@ = memb_alloc ( & routememb ) ; if ( ! @@v9@@ ) return Number L ; list_add ( routelist , @@v9@@ ) ; } v5 = @@a1@@ [ Number ] ; * ( _QWORD * ) ( @@v9@@ + Number ) = * @@a1@@ ; * ( _QWORD * ) ( @@v9@@ + Number ) = v5 ; * ( _BYTE * ) ( @@v9@@ + Number ) = @@a2@@ ; v6 = @@a3@@ [ Number ] ; * ( _QWORD * ) ( @@v9@@ + Number ) = * @@a3@@ ; * ( _QWORD * ) ( @@v9@@ + Number ) = v6 ; * ( _BYTE * ) ( @@v9@@ + Number ) = @@a4@@ ; memset ( ( void * ) ( @@v9@@ + Number ) , Number , Number ) ; call_route_callback ( Number , ( __int64 ) @@a1@@ , ( __int64 ) @@a3@@ ) ; return @@v9@@ ; }", "source": [{"n": "a3", "t": {"T": 3, "t": "_QWORD"}, "location": "r16"}, {"n": "a4", "t": {"T": 1, "n": "char", "s": 1}, "location": "r24"}, {"n": "a1", "t": {"T": 3, "t": "_QWORD"}, "location": "r56"}, {"n": "a2", "t": {"T": 1, "n": "char", "s": 1}, "location": "r64"}, {"n": "v9", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s8"}]} {"name": "handle_incoming_reg", "code": "char __fastcall handle_incoming_reg ( _QWORD * @@a1@@ , char @@a2@@ , char @@a3@@ ) { char @@result@@ ; __int64 v4 ; __int64 @@v6@@ ; __int64 @@i@@ ; for ( @@i@@ = servreg_hack_list_head ( ) ; ; @@i@@ = list_item_next ( @@i@@ ) ) { if ( ! @@i@@ ) { @@v6@@ = memb_alloc ( & registrations ) ; if ( ! @@v6@@ ) return puts ( String String ) ; * ( _BYTE * ) ( @@v6@@ + Number ) = @@a2@@ ; * ( _BYTE * ) ( @@v6@@ + Number ) = Number ; v4 = @@a1@@ [ Number ] ; * ( _QWORD * ) ( @@v6@@ + Number ) = * @@a1@@ ; * ( _QWORD * ) ( @@v6@@ + Number ) = v4 ; timer_set ( @@v6@@ + Number , Number L ) ; return list_add ( others_services , @@v6@@ ) ; } if ( @@a2@@ == ( unsigned __int8 ) servreg_hack_item_id ( @@i@@ ) ) break ; } @@result@@ = * ( _BYTE * ) ( @@i@@ + Number ) - @@a3@@ ; if ( @@result@@ < Number ) { * ( _BYTE * ) ( @@i@@ + Number ) = @@a3@@ ; timer_set ( @@i@@ + Number , Number L ) ; list_remove ( others_services , @@i@@ ) ; @@result@@ = list_push ( others_services , @@i@@ ) ; } return @@result@@ ; }", "source": [{"n": "a3", "t": {"T": 1, "n": "char", "s": 1}, "location": "r16"}, {"n": "a1", "t": {"T": 3, "t": "_QWORD"}, "location": "r56"}, {"n": "a2", "t": {"T": 1, "n": "char", "s": 1}, "location": "r64"}, {"n": "result", "t": {"T": 1, "n": "char", "s": 1}, "location": "r8"}, {"n": "v6", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s16"}, {"n": "i", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s8"}]} {"name": "rpl_add_parent", "code": "__int64 __fastcall rpl_add_parent ( __int64 @@a1@@ , __int64 @@a2@@ , _QWORD * @@a3@@ ) { __int64 v4 ; __int64 @@v6@@ ; if ( ( unsigned int ) list_length ( * ( _QWORD * ) ( @@a1@@ + Number ) ) == Number ) return Number L ; @@v6@@ = memb_alloc ( & parent_memb ) ; if ( ! @@v6@@ ) return Number L ; v4 = @@a3@@ [ Number ] ; * ( _QWORD * ) ( @@v6@@ + Number ) = * @@a3@@ ; * ( _QWORD * ) ( @@v6@@ + Number ) = v4 ; * ( _QWORD * ) ( @@v6@@ + Number ) = @@a1@@ ; * ( _WORD * ) ( @@v6@@ + Number ) = * ( _WORD * ) ( @@a2@@ + Number ) ; * ( _BYTE * ) ( @@v6@@ + Number ) = * ( _BYTE * ) ( @@a2@@ + Number ) ; * ( _BYTE * ) ( @@v6@@ + Number ) = Number ; * ( _QWORD * ) ( @@v6@@ + Number ) = * ( _QWORD * ) ( @@a2@@ + Number ) ; list_add ( * ( _QWORD * ) ( @@a1@@ + Number ) , @@v6@@ ) ; return @@v6@@ ; }", "source": [{"n": "a3", "t": {"T": 3, "t": "_QWORD"}, "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": "v6", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s8"}]} {"name": "rpl_move_parent", "code": "__int64 __fastcall rpl_move_parent ( __int64 @@a1@@ , __int64 @@a2@@ , __int64 @@a3@@ ) { if ( @@a3@@ == * ( _QWORD * ) ( @@a1@@ + Number ) ) { * ( _QWORD * ) ( @@a1@@ + Number ) = Number L ; * ( _WORD * ) ( @@a1@@ + Number ) = Number ; if ( * ( _BYTE * ) ( @@a1@@ + Number ) && * ( _QWORD * ) ( * ( _QWORD * ) ( @@a1@@ + Number ) + Number L ) ) { uip_ds6_defrt_rm ( * ( _QWORD * ) ( * ( _QWORD * ) ( @@a1@@ + Number ) + Number L ) ) ; * ( _QWORD * ) ( * ( _QWORD * ) ( @@a1@@ + Number ) + Number L ) = Number L ; } } else if ( * ( _BYTE * ) ( @@a1@@ + Number ) ) { rpl_remove_routes_by_nexthop ( ( const void * ) ( @@a3@@ + Number ) , @@a1@@ ) ; } list_remove ( * ( _QWORD * ) ( @@a1@@ + Number ) , @@a3@@ ) ; * ( _QWORD * ) ( @@a3@@ + Number ) = @@a2@@ ; return list_add ( * ( _QWORD * ) ( @@a2@@ + Number ) , @@a3@@ ) ; }", "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": "list_tail", "code": "_QWORD * __fastcall list_tail ( _QWORD * @@a1@@ ) { _QWORD * @@i@@ ; if ( ! * @@a1@@ ) return Number L ; for ( @@i@@ = ( _QWORD * ) * @@a1@@ ; * @@i@@ ; @@i@@ = ( _QWORD * ) * @@i@@ ) ; return @@i@@ ; }", "source": [{"n": "a1", "t": {"T": 3, "t": "_QWORD"}, "location": "r56"}, {"n": "i", "t": {"T": 3, "t": "_QWORD"}, "location": "s8"}]} {"name": "list_remove", "code": "_QWORD * __fastcall list_remove ( _QWORD * @@a1@@ , _QWORD * @@a2@@ ) { _QWORD * @@result@@ ; _QWORD * @@v3@@ ; _QWORD * @@i@@ ; @@result@@ = ( _QWORD * ) * @@a1@@ ; if ( * @@a1@@ ) { @@v3@@ = Number L ; @@result@@ = ( _QWORD * ) * @@a1@@ ; for ( @@i@@ = ( _QWORD * ) * @@a1@@ ; @@i@@ ; @@i@@ = ( _QWORD * ) * @@i@@ ) { if ( @@i@@ == @@a2@@ ) { if ( @@v3@@ ) * @@v3@@ = * @@i@@ ; else * @@a1@@ = * @@i@@ ; @@result@@ = @@i@@ ; * @@i@@ = Number L ; return @@result@@ ; } @@v3@@ = @@i@@ ; @@result@@ = ( _QWORD * ) * @@i@@ ; } } return @@result@@ ; }", "source": [{"n": "a1", "t": {"T": 3, "t": "_QWORD"}, "location": "r56"}, {"n": "a2", "t": {"T": 3, "t": "_QWORD"}, "location": "r64"}, {"n": "result", "t": {"T": 3, "t": "_QWORD"}, "location": "r8"}, {"n": "v3", "t": {"T": 3, "t": "_QWORD"}, "location": "s16"}, {"n": "i", "t": {"T": 3, "t": "_QWORD"}, "location": "s8"}]} {"name": "ctimer_set", "code": "_QWORD * __fastcall ctimer_set ( _QWORD * @@a1@@ , __int64 @@a2@@ , __int64 @@a3@@ , __int64 @@a4@@ ) { __int64 @@v5@@ ; @@a1@@ [ Number ] = process_current ; @@a1@@ [ Number ] = @@a3@@ ; @@a1@@ [ Number ] = @@a4@@ ; if ( initialized_0 ) { @@v5@@ = process_current ; process_current = ( __int64 ) & ctimer_process ; etimer_set ( ( __int64 ) ( @@a1@@ + Number ) , @@a2@@ ) ; process_current = @@v5@@ ; } else { @@a1@@ [ Number ] = @@a2@@ ; } list_remove ( ctimer_list , @@a1@@ ) ; return list_add ( ctimer_list , @@a1@@ ) ; }", "source": [{"n": "a3", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r16"}, {"n": "a4", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r24"}, {"n": "a1", "t": {"T": 3, "t": "_QWORD"}, "location": "r56"}, {"n": "a2", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r64"}, {"n": "v5", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s8"}]} {"name": "ctimer_reset", "code": "_QWORD * __fastcall ctimer_reset ( _QWORD * @@a1@@ ) { __int64 @@v2@@ ; if ( initialized_0 ) { @@v2@@ = process_current ; process_current = ( __int64 ) & ctimer_process ; etimer_reset ( ( __int64 ) ( @@a1@@ + Number ) ) ; process_current = @@v2@@ ; } list_remove ( ctimer_list , @@a1@@ ) ; return list_add ( ctimer_list , @@a1@@ ) ; }", "source": [{"n": "a1", "t": {"T": 3, "t": "_QWORD"}, "location": "r56"}, {"n": "v2", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s8"}]} {"name": "ctimer_restart", "code": "_QWORD * __fastcall ctimer_restart ( _QWORD * @@a1@@ ) { __int64 @@v2@@ ; if ( initialized_0 ) { @@v2@@ = process_current ; process_current = ( __int64 ) & ctimer_process ; etimer_restart ( ( __int64 ) ( @@a1@@ + Number ) ) ; process_current = @@v2@@ ; } list_remove ( ctimer_list , @@a1@@ ) ; return list_add ( ctimer_list , @@a1@@ ) ; }", "source": [{"n": "a1", "t": {"T": 3, "t": "_QWORD"}, "location": "r56"}, {"n": "v2", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s8"}]}