{"name": "router_lsa_flags", "code": "__int64 __fastcall router_lsa_flags ( _DWORD * @@a1@@ ) { char v2 ; char v3 ; unsigned __int8 v4 ; v2 = * ( _BYTE * ) ( * ( _QWORD * ) @@a1@@ + Number L ) ; if ( ( unsigned int ) ospf_full_virtual_nbrs ( @@a1@@ ) ) v3 = v2 | Number ; else v3 = v2 & Number ; v4 = v3 & Number ; if ( * ( _BYTE * ) ( * ( _QWORD * ) @@a1@@ + Number L ) == Number && @@a1@@ [ Number ] && ( ! @@a1@@ [ Number ] && ! * ( _QWORD * ) ( * ( _QWORD * ) @@a1@@ + Number L ) || @@a1@@ [ Number ] == Number ) ) v4 |= Number ; if ( @@a1@@ [ Number ] == Number ) v4 &= Number ; return v4 ; }", "source": [{"n": "a1", "t": {"T": 3, "t": "_DWORD"}, "location": "r56"}]}
{"name": "ospf_router_lsa_body_set", "code": "__int64 __fastcall ospf_router_lsa_body_set ( __int64 @@a1@@ , _DWORD * @@a2@@ ) { unsigned __int8 @@v2@@ ; unsigned __int16 @@v4@@ ; __int64 @@v5@@ ; @@v2@@ = router_lsa_flags ( @@a2@@ ) ; stream_putc ( @@a1@@ , @@v2@@ ) ; stream_putc ( @@a1@@ , Number L ) ; @@v5@@ = * ( _QWORD * ) ( @@a1@@ + Number ) ; stream_putw ( @@a1@@ , Number L ) ; @@v4@@ = router_lsa_link_set ( @@a1@@ , ( __int64 ) @@a2@@ ) ; return stream_putw_at ( @@a1@@ , @@v5@@ , @@v4@@ ) ; }", "source": [{"n": "a1", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r56"}, {"n": "a2", "t": {"T": 3, "t": "_DWORD"}, "location": "r64"}, {"n": "v2", "t": {"T": 1, "n": "unsigned __int8", "s": 1}, "location": "r8"}, {"n": "v4", "t": {"T": 1, "n": "unsigned __int16", "s": 2}, "location": "s10"}, {"n": "v5", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s8"}]}