{"name": "ospf_lsa_more_recent", "code": "__int64 __fastcall ospf_lsa_more_recent ( __int64 @@a1@@ , __int64 @@a2@@ ) { int v3 ; int v4 ; int v5 ; int v6 ; int v7 ; unsigned int @@v8@@ ; signed int @@v9@@ ; signed int @@v10@@ ; if ( ! @@a1@@ && ! @@a2@@ ) return Number L ; if ( ! @@a1@@ ) return Number ; if ( ! @@a2@@ ) return Number L ; @@v10@@ = ntohl ( * ( _DWORD * ) ( * ( _QWORD * ) ( @@a1@@ + Number ) + Number L ) ) ; @@v9@@ = ntohl ( * ( _DWORD * ) ( * ( _QWORD * ) ( @@a2@@ + Number ) + Number L ) ) ; if ( @@v10@@ > @@v9@@ ) return Number L ; if ( @@v10@@ < @@v9@@ ) return Number ; v3 = ntohs ( * ( _WORD * ) ( * ( _QWORD * ) ( @@a1@@ + Number ) + Number L ) ) ; @@v8@@ = v3 - ntohs ( * ( _WORD * ) ( * ( _QWORD * ) ( @@a2@@ + Number ) + Number L ) ) ; if ( @@v8@@ ) return @@v8@@ ; if ( ( ( int ) get_age ( @@a1@@ ) > Number || ( unsigned int ) get_age ( @@a1@@ ) == Number ) && ( int ) get_age ( @@a2@@ ) <= Number && ( unsigned int ) get_age ( @@a2@@ ) != Number ) { return Number L ; } if ( ( int ) get_age ( @@a1@@ ) <= Number && ( unsigned int ) get_age ( @@a1@@ ) != Number && ( ( int ) get_age ( @@a2@@ ) > Number || ( unsigned int ) get_age ( @@a2@@ ) == Number ) ) { return Number ; } if ( ( int ) get_age ( @@a1@@ ) > Number ) v4 = Number ; else v4 = get_age ( @@a1@@ ) ; if ( ( int ) get_age ( @@a2@@ ) > Number ) v5 = Number ; else v5 = get_age ( @@a2@@ ) ; if ( v4 - v5 > Number ) return Number ; if ( ( int ) get_age ( @@a2@@ ) > Number ) v6 = Number ; else v6 = get_age ( @@a2@@ ) ; if ( ( int ) get_age ( @@a1@@ ) > Number ) v7 = Number ; else v7 = get_age ( @@a1@@ ) ; return v6 - v7 > Number ; }", "source": [{"n": "a1", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r56"}, {"n": "a2", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r64"}, {"n": "v10", "t": {"T": 1, "n": "signed int", "s": 4}, "location": "s20"}, {"n": "v9", "t": {"T": 1, "n": "signed int", "s": 4}, "location": "s24"}, {"n": "v8", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "s28"}]}
{"name": "get_age", "code": "__int64 __fastcall get_age ( __int64 @@a1@@ ) { int @@v1@@ ; __int64 @@v2@@ ; __int64 @@v3@@ ; struct timeval @@tv@@ ; gettimeofday ( & @@tv@@ , Number L ) ; @@v1@@ = ntohs ( * * ( _WORD * * ) ( @@a1@@ + Number ) ) ; @@v2@@ = tv_sub ( @@tv@@ . tv_sec , @@tv@@ . tv_usec , * ( _QWORD * ) ( @@a1@@ + Number ) , * ( _QWORD * ) ( @@a1@@ + Number ) ) ; return @@v1@@ + ( unsigned int ) tv_floor ( @@v2@@ , @@v3@@ ) ; }", "source": [{"n": "v1", "t": {"T": 1, "n": "int", "s": 4}, "location": "r104"}, {"n": "v3", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r16"}, {"n": "a1", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r56"}, {"n": "v2", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r8"}, {"n": "tv", "t": {"T": 6, "n": "struct timeval", "l": [{"T": 4, "n": "tv_sec", "t": "__time_t", "s": 8}, {"T": 4, "n": "tv_usec", "t": "__suseconds_t", "s": 8}]}, "location": "s48"}]}