{"name": "ospf_lsa_lookup_by_prefix", "code": "__int64 __fastcall ospf_lsa_lookup_by_prefix ( __int64 @@a1@@ , unsigned __int8 @@a2@@ , __int64 @@a3@@ , unsigned int @@a4@@ ) { __int64 @@result@@ ; int @@v7@@ ; __int64 @@v8@@ ; __int64 @@v9@@ ; @@v9@@ = ospf_lsdb_lookup_by_id ( @@a1@@ , @@a2@@ , * ( unsigned int * ) ( @@a3@@ + Number ) , @@a4@@ ) ; if ( ! @@v9@@ ) return Number L ; masklen2ip ( * ( unsigned __int8 * ) ( @@a3@@ + Number ) , & @@v7@@ ) ; @@v8@@ = * ( _QWORD * ) ( @@v9@@ + Number ) ; if ( @@v7@@ == * ( _DWORD * ) ( @@v8@@ + Number ) || ( @@v9@@ = ospf_lsdb_lookup_by_id ( @@a1@@ , @@a2@@ , ( unsigned int ) ~ @@v7@@ | * ( _DWORD * ) ( @@a3@@ + Number ) , @@a4@@ ) ) != Number ) { @@result@@ = @@v9@@ ; } else { @@result@@ = Number L ; } return @@result@@ ; }", "source": [{"n": "a3", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r16"}, {"n": "a4", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "r24"}, {"n": "a1", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r56"}, {"n": "a2", "t": {"T": 1, "n": "unsigned __int8", "s": 1}, "location": "r64"}, {"n": "result", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r8"}, {"n": "v8", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s16"}, {"n": "v7", "t": {"T": 1, "n": "int", "s": 4}, "location": "s20"}, {"n": "v9", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s8"}]}
{"name": "ospf_lsa_lookup", "code": "__int64 __fastcall ospf_lsa_lookup ( _QWORD * @@a1@@ , unsigned int @@a2@@ , unsigned int @@a3@@ , unsigned int @@a4@@ ) { if ( @@a2@@ > Number ) { if ( @@a2@@ == Number ) return ospf_lsdb_lookup_by_id ( * ( _QWORD * ) ( * @@a1@@ + Number L ) , Number L , @@a3@@ , @@a4@@ ) ; } else if ( @@a2@@ ) { return ospf_lsdb_lookup_by_id ( @@a1@@ [ Number ] , ( unsigned __int8 ) @@a2@@ , @@a3@@ , @@a4@@ ) ; } return Number L ; }", "source": [{"n": "a3", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "r16"}, {"n": "a4", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "r24"}, {"n": "a1", "t": {"T": 3, "t": "_QWORD"}, "location": "r56"}, {"n": "a2", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "r64"}]}