{"name": "ospf_check_nbr_status", "code": "__int64 __fastcall ospf_check_nbr_status ( __int64 @@a1@@ ) { __int64 @@v2@@ ; __int64 @@v3@@ ; __int64 @@j@@ ; _QWORD * @@i@@ ; for ( @@i@@ = * * ( _QWORD * * * ) ( @@a1@@ + Number ) ; @@i@@ ; @@i@@ = ( _QWORD * ) * @@i@@ ) { @@v3@@ = @@i@@ [ Number ] ; if ( ( unsigned int ) ospf_if_is_enable ( @@v3@@ ) ) { for ( @@j@@ = route_top ( * ( _QWORD * ) ( @@v3@@ + Number ) ) ; @@j@@ ; @@j@@ = route_next ( @@j@@ ) ) { @@v2@@ = * ( _QWORD * ) ( @@j@@ + Number ) ; if ( @@v2@@ && ( * ( _BYTE * ) ( @@v2@@ + Number ) == Number || * ( _BYTE * ) ( @@v2@@ + Number ) == Number ) ) { route_unlock_node ( @@j@@ ) ; return Number L ; } } } } return Number L ; }", "source": [{"n": "a1", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r56"}, {"n": "j", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s16"}, {"n": "v3", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s24"}, {"n": "v2", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s32"}, {"n": "i", "t": {"T": 3, "t": "_QWORD"}, "location": "s8"}]}
{"name": "ospf_maxage_lsa_remover", "code": "__int64 __fastcall ospf_maxage_lsa_remover ( __int64 @@a1@@ ) { int v1 ; char * v2 ; char * v3 ; _QWORD * @@v5@@ ; __int64 @@v6@@ ; __int64 @@v7@@ ; _BOOL4 @@v8@@ ; _QWORD * @@i@@ ; @@v7@@ = * ( _QWORD * ) ( @@a1@@ + Number ) ; * ( _QWORD * ) ( @@v7@@ + Number ) = Number L ; if ( ( term_debug_ospf_lsa & Number ) != Number ) zlog_info ( String ) ; v1 = ospf_check_nbr_status ( @@v7@@ ) ; @@v8@@ = v1 == Number ; if ( v1 ) { for ( @@i@@ = * * ( _QWORD * * * ) ( @@v7@@ + Number ) ; @@i@@ ; @@i@@ = @@v5@@ ) { @@v6@@ = @@i@@ [ Number ] ; @@v5@@ = ( _QWORD * ) * @@i@@ ; if ( * ( int * ) ( @@v6@@ + Number ) <= Number ) { if ( ( * ( _BYTE * ) @@v6@@ & Number ) != Number && ( term_debug_ospf_lsa & Number ) != Number ) { v2 = inet_ntoa ( * ( struct in_addr * ) ( * ( _QWORD * ) ( @@v6@@ + Number ) + Number L ) ) ; zlog_info ( String , * ( unsigned __int8 * ) ( * ( _QWORD * ) ( @@v6@@ + Number ) + Number L ) , v2 ) ; } if ( ( term_debug_ospf_lsa & Number ) != Number ) { v3 = inet_ntoa ( * ( struct in_addr * ) ( * ( _QWORD * ) ( @@v6@@ + Number ) + Number L ) ) ; zlog_info ( String , * ( unsigned __int8 * ) ( * ( _QWORD * ) ( @@v6@@ + Number ) + Number L ) , v3 ) ; } ospf_flood_through ( @@v7@@ , Number L , @@v6@@ ) ; ospf_discard_from_db ( @@v7@@ , * ( _QWORD * ) ( @@v6@@ + Number ) , @@v6@@ ) ; ospf_lsdb_delete ( * ( _QWORD * ) ( @@v6@@ + Number ) , @@v6@@ ) ; } else { @@v8@@ = Number ; } } } if ( @@v8@@ && ! * ( _QWORD * ) ( @@v7@@ + Number ) ) * ( _QWORD * ) ( @@v7@@ + Number ) = thread_add_timer ( master , ospf_maxage_lsa_remover , @@v7@@ , Number L ) ; return Number L ; }", "source": [{"n": "a1", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r56"}, {"n": "v8", "t": {"T": 1, "n": "_BOOL4", "s": 4}, "location": "s12"}, {"n": "v7", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s24"}, {"n": "v6", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s32"}, {"n": "v5", "t": {"T": 3, "t": "_QWORD"}, "location": "s40"}, {"n": "i", "t": {"T": 3, "t": "_QWORD"}, "location": "s8"}]}