{"name": "memb_free", "code": "__int64 __fastcall memb_free ( unsigned __int16 * @@a1@@ , __int64 @@a2@@ ) { __int64 @@v3@@ ; int @@i@@ ; @@v3@@ = * ( ( _QWORD * ) @@a1@@ + Number ) ; for ( @@i@@ = Number ; ; ++ @@i@@ ) { if ( @@i@@ >= @@a1@@ [ Number ] ) return Number ; if ( @@v3@@ == @@a2@@ ) break ; @@v3@@ += * @@a1@@ ; } if ( * ( char * ) ( * ( ( _QWORD * ) @@a1@@ + Number ) + @@i@@ ) > Number ) -- * ( _BYTE * ) ( * ( ( _QWORD * ) @@a1@@ + Number ) + @@i@@ ) ; return * ( unsigned __int8 * ) ( * ( ( _QWORD * ) @@a1@@ + Number ) + @@i@@ ) ; }", "source": [{"n": "a1", "t": {"T": 3, "t": "unsigned __int16"}, "location": "r56"}, {"n": "a2", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r64"}, {"n": "v3", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s16"}, {"n": "i", "t": {"T": 1, "n": "int", "s": 4}, "location": "s4"}]}
{"name": "packet_timedout", "code": "_QWORD * __fastcall packet_timedout ( _QWORD * @@a1@@ ) { _QWORD * @@result@@ ; memb_free ( & packets_memb , * @@a1@@ ) ; @@result@@ = @@a1@@ ; * @@a1@@ = Number L ; return @@result@@ ; }", "source": [{"n": "a1", "t": {"T": 3, "t": "_QWORD"}, "location": "r56"}, {"n": "result", "t": {"T": 3, "t": "_QWORD"}, "location": "r8"}]} {"name": "uip_packetqueue_free", "code": "_QWORD * __fastcall uip_packetqueue_free ( _QWORD * @@a1@@ ) { _QWORD * @@result@@ ; @@result@@ = ( _QWORD * ) * @@a1@@ ; if ( * @@a1@@ ) { ctimer_stop ( * @@a1@@ + Number L ) ; memb_free ( & packets_memb , * @@a1@@ ) ; @@result@@ = @@a1@@ ; * @@a1@@ = Number L ; } return @@result@@ ; }", "source": [{"n": "a1", "t": {"T": 3, "t": "_QWORD"}, "location": "r56"}, {"n": "result", "t": {"T": 3, "t": "_QWORD"}, "location": "r8"}]} {"name": "uip_ds6_route_rm", "code": "__int64 __fastcall uip_ds6_route_rm ( __int64 @@a1@@ ) { __int64 @@result@@ ; __int64 @@i@@ ; @@result@@ = list_head ( routelist ) ; for ( @@i@@ = @@result@@ ; @@i@@ ; @@i@@ = @@result@@ ) { if ( @@i@@ == @@a1@@ ) { list_remove ( routelist , @@a1@@ ) ; memb_free ( & routememb , @@a1@@ ) ; return call_route_callback ( Number , @@a1@@ + Number , @@a1@@ + Number ) ; } @@result@@ = list_item_next ( @@i@@ ) ; } return @@result@@ ; }", "source": [{"n": "a1", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r56"}, {"n": "result", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r8"}, {"n": "i", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s8"}]} {"name": "uip_ds6_defrt_rm", "code": "__int64 __fastcall uip_ds6_defrt_rm ( __int64 @@a1@@ ) { __int64 @@result@@ ; __int64 @@i@@ ; @@result@@ = list_head ( defaultrouterlist ) ; for ( @@i@@ = @@result@@ ; @@i@@ ; @@i@@ = @@result@@ ) { if ( @@i@@ == @@a1@@ ) { list_remove ( defaultrouterlist , @@a1@@ ) ; memb_free ( & defaultroutermemb , @@a1@@ ) ; return call_route_callback ( Number , @@a1@@ + Number , @@a1@@ + Number ) ; } @@result@@ = list_item_next ( @@i@@ ) ; } return @@result@@ ; }", "source": [{"n": "a1", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r56"}, {"n": "result", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r8"}, {"n": "i", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s8"}]} {"name": "purge_registrations", "code": "__int64 purge_registrations ( ) { __int64 @@result@@ ; __int64 i ; __int64 j ; for ( i = list_head ( own_services ) ; i ; i = list_item_next ( i ) ) { if ( ( unsigned int ) timer_expired ( i + Number ) ) { ++ * ( _BYTE * ) ( i + Number ) ; timer_set ( i + Number , Number L ) ; } } @@result@@ = list_head ( others_services ) ; for ( j = @@result@@ ; j ; j = @@result@@ ) { if ( ( unsigned int ) timer_expired ( j + Number ) ) { list_remove ( others_services , j ) ; memb_free ( & registrations , j ) ; j = list_head ( others_services ) ; } @@result@@ = list_item_next ( j ) ; } return @@result@@ ; }", "source": [{"n": "result", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r8"}]} {"name": "rpl_remove_parent", "code": "__int64 __fastcall rpl_remove_parent ( __int64 @@a1@@ , __int64 @@a2@@ ) { rpl_nullify_parent ( @@a1@@ , @@a2@@ ) ; list_remove ( * ( _QWORD * ) ( @@a1@@ + Number ) , @@a2@@ ) ; return memb_free ( & parent_memb , @@a2@@ ) ; }", "source": [{"n": "a1", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r56"}, {"n": "a2", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r64"}]} {"name": "queuebuf_free", "code": "__int64 __fastcall queuebuf_free ( __int64 * @@a1@@ ) { __int64 @@result@@ ; if ( memb_inmemb ( ( unsigned __int16 * ) bufmem , ( unsigned __int64 ) @@a1@@ ) ) { memb_free ( buframmem , * @@a1@@ ) ; @@result@@ = memb_free ( ( unsigned __int16 * ) bufmem , ( __int64 ) @@a1@@ ) ; } else { @@result@@ = memb_inmemb ( refbufmem , ( unsigned __int64 ) @@a1@@ ) ; if ( ( _DWORD ) @@result@@ ) @@result@@ = memb_free ( refbufmem , ( __int64 ) @@a1@@ ) ; } return @@result@@ ; }", "source": [{"n": "a1", "t": {"T": 3, "t": "__int64"}, "location": "r56"}, {"n": "result", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r8"}]} {"name": "neighbor_attr_remove_neighbor", "code": "__int64 __fastcall neighbor_attr_remove_neighbor ( unsigned __int64 @@a1@@ ) { _QWORD * @@v2@@ ; @@v2@@ = neighbor_addr_get ( @@a1@@ ) ; if ( ! @@v2@@ ) return Number ; list_remove ( neighbor_addrs , @@v2@@ ) ; memb_free ( & neighbor_addr_mem , ( __int64 ) @@v2@@ ) ; return Number L ; }", "source": [{"n": "a1", "t": {"T": 1, "n": "unsigned __int64", "s": 8}, "location": "r56"}, {"n": "v2", "t": {"T": 3, "t": "_QWORD"}, "location": "s8"}]} {"name": "timeout_check", "code": "unsigned __int64 __fastcall timeout_check ( __int64 @@a1@@ ) { unsigned __int64 @@result@@ ; __int64 @@v2@@ ; __int64 @@v3@@ ; @@result@@ = ( unsigned __int16 ) timeout ; if ( timeout ) { @@v3@@ = neighbor_attr_list_neighbors ( ) ; while ( @@v3@@ ) { * ( _WORD * ) ( @@v3@@ + Number ) += Number ; if ( * ( _WORD * ) ( @@v3@@ + Number ) < ( unsigned __int16 ) timeout ) { @@v3@@ = * ( _QWORD * ) @@v3@@ ; } else { @@v2@@ = * ( _QWORD * ) @@v3@@ ; list_remove ( neighbor_addrs , ( _QWORD * ) @@v3@@ ) ; memb_free ( & neighbor_addr_mem , @@v3@@ ) ; @@v3@@ = @@v2@@ ; } } @@result@@ = ( unsigned __int64 ) ctimer_set ( ct , Number L , ( __int64 ) timeout_check , @@a1@@ ) ; } return @@result@@ ; }", "source": [{"n": "a1", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r56"}, {"n": "result", "t": {"T": 1, "n": "unsigned __int64", "s": 8}, "location": "r8"}, {"n": "v2", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s16"}, {"n": "v3", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s8"}]}