{"name": "lsa_link_loopback_set", "code": "__int64 __fastcall lsa_link_loopback_set ( __int64 @@a1@@ , __int64 @@a2@@ ) { if ( * ( _BYTE * ) ( @@a2@@ + Number ) != Number ) return Number L ; link_info_set ( @@a1@@ , * ( _DWORD * ) ( * ( _QWORD * ) ( @@a2@@ + Number ) + Number L ) , Number , Number , Number , * ( _DWORD * ) ( @@a2@@ + Number ) ) ; return Number L ; }", "source": [{"n": "a1", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r56"}, {"n": "a2", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r64"}]}
{"name": "link_info_set", "code": "__int64 __fastcall link_info_set ( __int64 @@a1@@ , unsigned int @@a2@@ , unsigned int @@a3@@ , unsigned __int8 @@a4@@ , unsigned __int8 @@a5@@ , unsigned __int16 @@a6@@ ) { stream_put_ipv4 ( @@a1@@ , @@a2@@ ) ; stream_put_ipv4 ( @@a1@@ , @@a3@@ ) ; stream_putc ( @@a1@@ , @@a4@@ ) ; stream_putc ( @@a1@@ , @@a5@@ ) ; return stream_putw ( @@a1@@ , @@a6@@ ) ; }", "source": [{"n": "a3", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "r16"}, {"n": "a4", "t": {"T": 1, "n": "unsigned __int8", "s": 1}, "location": "r24"}, {"n": "a1", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r56"}, {"n": "a2", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "r64"}, {"n": "a5", "t": {"T": 1, "n": "unsigned __int8", "s": 1}, "location": "r72"}, {"n": "a6", "t": {"T": 1, "n": "unsigned __int16", "s": 2}, "location": "r80"}]} {"name": "router_lsa_link_set", "code": "__int64 __fastcall router_lsa_link_set ( __int64 @@a1@@ , __int64 @@a2@@ ) { __int64 @@v3@@ ; unsigned int @@v4@@ ; _QWORD * @@i@@ ; @@v4@@ = Number ; for ( @@i@@ = * * ( _QWORD * * * ) ( @@a2@@ + Number ) ; @@i@@ ; @@i@@ = ( _QWORD * ) * @@i@@ ) { @@v3@@ = @@i@@ [ Number ] ; if ( ( unsigned int ) if_is_up ( * ( _QWORD * ) ( @@v3@@ + Number ) ) && * ( _BYTE * ) ( @@v3@@ + Number ) != Number ) { switch ( * ( _BYTE * ) ( @@v3@@ + Number ) ) { case Number : @@v4@@ += lsa_link_ptop_set ( @@a1@@ , @@v3@@ ) ; break ; case Number : case Number : @@v4@@ += lsa_link_broadcast_set ( @@a1@@ , @@v3@@ ) ; break ; case Number : @@v4@@ += lsa_link_ptomp_set ( @@a1@@ , @@v3@@ ) ; break ; case Number : @@v4@@ += lsa_link_virtuallink_set ( @@a1@@ , @@v3@@ ) ; break ; case Number : @@v4@@ += lsa_link_loopback_set ( @@a1@@ , @@v3@@ ) ; break ; default : continue ; } } } return @@v4@@ ; }", "source": [{"n": "a1", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r56"}, {"n": "a2", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r64"}, {"n": "v4", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "s12"}, {"n": "v3", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s24"}, {"n": "i", "t": {"T": 3, "t": "_QWORD"}, "location": "s8"}]}