{"name": "platform_bus_count_irqs", "code": "__int64 __fastcall platform_bus_count_irqs ( __int64 @@a1@@ , __int64 @@a2@@ ) { unsigned int @@i@@ ; unsigned int @@j@@ ; __int64 @@v5@@ ; for ( @@i@@ = Number ; ( unsigned __int8 ) sysbus_has_irq ( @@a1@@ , @@i@@ ) == Number ; ++ @@i@@ ) { @@v5@@ = sysbus_get_connected_irq ( @@a1@@ , @@i@@ ) ; for ( @@j@@ = Number ; * ( _DWORD * ) ( @@a2@@ + Number ) > @@j@@ ; ++ @@j@@ ) { if ( @@v5@@ == * ( _QWORD * ) ( Number L * ( int ) @@j@@ + * ( _QWORD * ) ( @@a2@@ + Number ) ) ) { bitmap_set ( * ( _QWORD * ) ( @@a2@@ + Number ) , ( int ) @@j@@ , Number L ) ; break ; } } } return Number L ; }", "source": [{"n": "a1", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r56"}, {"n": "a2", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r64"}, {"n": "j", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "s20"}, {"n": "i", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "s24"}, {"n": "v5", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s8"}]}
{"name": "plaform_bus_refresh_irqs", "code": "__int64 __fastcall plaform_bus_refresh_irqs ( __int64 @@a1@@ ) { __int64 @@result@@ ; bitmap_zero ( * ( _QWORD * * ) ( @@a1@@ + Number ) , * ( unsigned int * ) ( @@a1@@ + Number ) ) ; foreach_dynamic_sysbus_device ( platform_bus_count_irqs , @@a1@@ ) ; @@result@@ = @@a1@@ ; * ( _BYTE * ) ( @@a1@@ + Number ) = Number ; return @@result@@ ; }", "source": [{"n": "a1", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r56"}, {"n": "result", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r8"}]}