{"name": "ospf_network_lsa_body_set", "code": "__int64 __fastcall ospf_network_lsa_body_set ( __int64 @@a1@@ , _QWORD * @@a2@@ ) { __int64 @@result@@ ; unsigned int @@v3@@ ; __int64 @@v4@@ ; __int64 @@i@@ ; masklen2ip ( * ( unsigned __int8 * ) ( @@a2@@ [ Number ] + Number L ) , & @@v3@@ ) ; stream_put_ipv4 ( @@a1@@ , @@v3@@ ) ; @@result@@ = route_top ( @@a2@@ [ Number ] ) ; for ( @@i@@ = @@result@@ ; @@i@@ ; @@i@@ = @@result@@ ) { @@v4@@ = * ( _QWORD * ) ( @@i@@ + Number ) ; if ( @@v4@@ && ( * ( _BYTE * ) ( @@v4@@ + Number ) == Number || @@v4@@ == @@a2@@ [ Number ] ) ) stream_put_ipv4 ( @@a1@@ , * ( unsigned int * ) ( @@v4@@ + Number ) ) ; @@result@@ = route_next ( @@i@@ ) ; } return @@result@@ ; }", "source": [{"n": "a1", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r56"}, {"n": "a2", "t": {"T": 3, "t": "_QWORD"}, "location": "r64"}, {"n": "result", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r8"}, {"n": "v4", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s16"}, {"n": "v3", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "s20"}, {"n": "i", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s8"}]}
{"name": "ospf_network_lsa_new", "code": "struct timeval * __fastcall ospf_network_lsa_new ( __int64 @@a1@@ ) { char @@v2@@ ; struct timeval * @@v3@@ ; int @@v4@@ ; _WORD * @@src@@ ; __int64 @@v6@@ ; if ( ! * ( _DWORD * ) ( @@a1@@ + Number ) ) return Number L ; if ( ( term_debug_ospf_lsa & Number ) != Number ) zlog_info ( String ) ; @@v6@@ = stream_new ( Number L ) ; @@src@@ = * ( _WORD * * ) ( @@v6@@ + Number ) ; if ( * ( _DWORD * ) ( * ( _QWORD * ) ( @@a1@@ + Number ) + Number L ) ) @@v2@@ = Number ; else @@v2@@ = Number ; lsa_header_set ( @@v6@@ , * ( _BYTE * ) ( * ( _QWORD * ) ( @@a1@@ + Number ) + Number L ) | @@v2@@ , Number , * ( _DWORD * ) ( * ( _QWORD * ) ( @@a1@@ + Number ) + Number L ) , * * ( _DWORD * * ) @@a1@@ ) ; ospf_network_lsa_body_set ( @@v6@@ , ( _QWORD * ) @@a1@@ ) ; @@v4@@ = stream_get_endp ( @@v6@@ ) ; @@src@@ [ Number ] = htons ( @@v4@@ ) ; @@v3@@ = ospf_lsa_new ( ) ; @@v3@@ [ Number ] . tv_usec = * ( _QWORD * ) ( @@a1@@ + Number ) ; LOBYTE ( @@v3@@ -> tv_sec ) |= Number ; @@v3@@ -> tv_usec = ( __suseconds_t ) ospf_lsa_data_new ( @@v4@@ ) ; memcpy ( ( void * ) @@v3@@ -> tv_usec , @@src@@ , @@v4@@ ) ; stream_free ( @@v6@@ ) ; return @@v3@@ ; }", "source": [{"n": "v2", "t": {"T": 1, "n": "char", "s": 1}, "location": "r16"}, {"n": "a1", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r56"}, {"n": "src", "t": {"T": 3, "t": "_WORD"}, "location": "s16"}, {"n": "v4", "t": {"T": 1, "n": "int", "s": 4}, "location": "s20"}, {"n": "v3", "t": {"T": 3, "t": "struct timeval"}, "location": "s32"}, {"n": "v6", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s8"}]}