{"name": "pcie_mmcfg_data_read", "code": "__int64 __fastcall pcie_mmcfg_data_read ( __int64 @@a1@@ , __int16 @@a2@@ , unsigned int @@a3@@ ) { __int64 @@result@@ ; __int64 @@v5@@ ; @@v5@@ = pcie_dev_find_by_mmcfg_addr ( @@a1@@ , @@a2@@ ) ; if ( @@a3@@ != Number && @@a3@@ != Number && @@a3@@ != Number ) _assert_fail ( String , String , Number , String ) ; if ( @@v5@@ ) @@result@@ = ( * ( __int64 ( __fastcall * * ) ( __int64 , _QWORD , _QWORD ) ) ( @@v5@@ + Number ) ) ( @@v5@@ , @@a2@@ & Number , @@a3@@ ) ; else @@result@@ = Number ; return @@result@@ ; }", "source": [{"n": "a3", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "r16"}, {"n": "a1", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r56"}, {"n": "a2", "t": {"T": 1, "n": "__int16", "s": 2}, "location": "r64"}, {"n": "result", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r8"}, {"n": "v5", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s16"}]}
{"name": "pcie_dev_find_by_mmcfg_addr", "code": "__int64 __fastcall pcie_dev_find_by_mmcfg_addr ( __int64 @@a1@@ , unsigned int @@a2@@ ) { return pci_find_device ( @@a1@@ , ( @@a2@@ >> Number ) & Number , ( @@a2@@ >> Number ) & Number , ( @@a2@@ >> Number ) & Number ) ; }", "source": [{"n": "a1", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r56"}, {"n": "a2", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "r64"}]} {"name": "pcie_mmcfg_data_readb", "code": "__int64 __fastcall pcie_mmcfg_data_readb ( __int64 @@a1@@ , __int16 @@a2@@ ) { return pcie_mmcfg_data_read ( * ( _QWORD * ) ( @@a1@@ + Number ) , @@a2@@ - ( unsigned __int16 ) * ( _QWORD * ) ( @@a1@@ + Number ) , Number ) ; }", "source": [{"n": "a1", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r56"}, {"n": "a2", "t": {"T": 1, "n": "__int16", "s": 2}, "location": "r64"}]} {"name": "pcie_mmcfg_data_readw", "code": "__int64 __fastcall pcie_mmcfg_data_readw ( __int64 @@a1@@ , __int16 @@a2@@ ) { return pcie_mmcfg_data_read ( * ( _QWORD * ) ( @@a1@@ + Number ) , @@a2@@ - ( unsigned __int16 ) * ( _QWORD * ) ( @@a1@@ + Number ) , Number ) ; }", "source": [{"n": "a1", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r56"}, {"n": "a2", "t": {"T": 1, "n": "__int16", "s": 2}, "location": "r64"}]} {"name": "pcie_mmcfg_data_readl", "code": "__int64 __fastcall pcie_mmcfg_data_readl ( __int64 @@a1@@ , __int16 @@a2@@ ) { return pcie_mmcfg_data_read ( * ( _QWORD * ) ( @@a1@@ + Number ) , @@a2@@ - ( unsigned __int16 ) * ( _QWORD * ) ( @@a1@@ + Number ) , Number ) ; }", "source": [{"n": "a1", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r56"}, {"n": "a2", "t": {"T": 1, "n": "__int16", "s": 2}, "location": "r64"}]}