{"name": "uip_ds6_defrt_add", "code": "__int64 __fastcall uip_ds6_defrt_add ( _QWORD * @@a1@@ , __int64 @@a2@@ ) { __int64 @@v3@@ ; __int64 @@v4@@ ; @@v4@@ = uip_ds6_defrt_lookup ( @@a1@@ ) ; if ( ! @@v4@@ ) { @@v4@@ = memb_alloc ( & defaultroutermemb ) ; if ( ! @@v4@@ ) return Number L ; list_push ( defaultrouterlist , @@v4@@ ) ; } @@v3@@ = @@a1@@ [ Number ] ; * ( _QWORD * ) ( @@v4@@ + Number ) = * @@a1@@ ; * ( _QWORD * ) ( @@v4@@ + Number ) = @@v3@@ ; if ( @@a2@@ ) { stimer_set ( @@v4@@ + Number , @@a2@@ ) ; * ( _BYTE * ) ( @@v4@@ + Number ) = Number ; } else { * ( _BYTE * ) ( @@v4@@ + Number ) = Number ; } call_route_callback ( Number , ( __int64 ) @@a1@@ , ( __int64 ) @@a1@@ ) ; return @@v4@@ ; }", "source": [{"n": "v3", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r16"}, {"n": "a1", "t": {"T": 3, "t": "_QWORD"}, "location": "r56"}, {"n": "a2", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r64"}, {"n": "v4", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s8"}]}
{"name": "call_route_callback", "code": "__int64 __fastcall call_route_callback ( unsigned int @@a1@@ , __int64 @@a2@@ , __int64 @@a3@@ ) { __int64 @@result@@ ; __int64 @@i@@ ; unsigned int @@v6@@ ; @@result@@ = list_head ( notificationlist ) ; for ( @@i@@ = @@result@@ ; @@i@@ ; @@i@@ = @@result@@ ) { if ( @@a1@@ && @@a1@@ != Number ) @@v6@@ = list_length ( routelist ) ; else @@v6@@ = list_length ( defaultrouterlist ) ; ( * ( void ( __fastcall * * ) ( _QWORD , __int64 , __int64 , _QWORD ) ) ( @@i@@ + Number ) ) ( @@a1@@ , @@a2@@ , @@a3@@ , @@v6@@ ) ; @@result@@ = list_item_next ( @@i@@ ) ; } return @@result@@ ; }", "source": [{"n": "a3", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r16"}, {"n": "a1", "t": {"T": 1, "n": "unsigned int", "s": 4}, "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": "i", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s16"}, {"n": "v6", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "s4"}]} {"name": "uip_ds6_defrt_lookup", "code": "__int64 __fastcall uip_ds6_defrt_lookup ( const void * @@a1@@ ) { __int64 @@i@@ ; for ( @@i@@ = list_head ( defaultrouterlist ) ; @@i@@ ; @@i@@ = list_item_next ( @@i@@ ) ) { if ( ! memcmp ( ( const void * ) ( @@i@@ + Number ) , @@a1@@ , Number ) ) return @@i@@ ; } return Number L ; }", "source": [{"n": "a1", "t": {"T": 3, "t": "const void"}, "location": "r56"}, {"n": "i", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s8"}]} {"name": "rpl_set_default_route", "code": "__int64 __fastcall rpl_set_default_route ( __int64 @@a1@@ , _QWORD * @@a2@@ ) { if ( * ( _QWORD * ) ( @@a1@@ + Number ) ) { uip_ds6_defrt_rm ( * ( _QWORD * ) ( @@a1@@ + Number ) ) ; * ( _QWORD * ) ( @@a1@@ + Number ) = Number L ; } if ( @@a2@@ ) { * ( _QWORD * ) ( @@a1@@ + Number ) = uip_ds6_defrt_add ( @@a2@@ , * ( unsigned __int8 * ) ( @@a1@@ + Number ) * ( unsigned __int64 ) * ( unsigned __int16 * ) ( @@a1@@ + Number ) ) ; if ( ! * ( _QWORD * ) ( @@a1@@ + Number ) ) return Number L ; } else if ( * ( _QWORD * ) ( @@a1@@ + Number ) ) { uip_ds6_defrt_rm ( * ( _QWORD * ) ( @@a1@@ + Number ) ) ; } return Number L ; }", "source": [{"n": "a1", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r56"}, {"n": "a2", "t": {"T": 3, "t": "_QWORD"}, "location": "r64"}]} {"name": "memb_alloc", "code": "__int64 __fastcall memb_alloc ( unsigned __int16 * @@a1@@ ) { int @@i@@ ; for ( @@i@@ = Number ; @@i@@ < @@a1@@ [ Number ] ; ++ @@i@@ ) { if ( ! * ( _BYTE * ) ( * ( ( _QWORD * ) @@a1@@ + Number ) + @@i@@ ) ) { ++ * ( _BYTE * ) ( * ( ( _QWORD * ) @@a1@@ + Number ) + @@i@@ ) ; return * ( ( _QWORD * ) @@a1@@ + Number ) + @@i@@ * * @@a1@@ ; } } return Number L ; }", "source": [{"n": "a1", "t": {"T": 3, "t": "unsigned __int16"}, "location": "r56"}, {"n": "i", "t": {"T": 1, "n": "int", "s": 4}, "location": "s4"}]} {"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": "list_push", "code": "_QWORD * __fastcall list_push ( _QWORD * @@a1@@ , _QWORD * @@a2@@ ) { _QWORD * @@result@@ ; list_remove ( @@a1@@ , @@a2@@ ) ; * @@a2@@ = * @@a1@@ ; @@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"}]} {"name": "stimer_set", "code": "__time_t __fastcall stimer_set ( __time_t * @@a1@@ , __time_t @@a2@@ ) { __time_t @@result@@ ; @@a1@@ [ Number ] = @@a2@@ ; @@result@@ = clock_seconds ( ) ; * @@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"}]}