Check both types of call opcodes

This commit is contained in:
Jordan Eldredge 2019-09-11 20:36:46 -07:00
parent af879b31c7
commit 999b7d6fa1
2 changed files with 495 additions and 413 deletions

View file

@ -1,446 +1,526 @@
{
"totalCalls": {
"System.getsonginfotext": 193,
"System.strsearch": 196,
"System.getcontainer": 241,
"Container.getlayout": 305,
"Group.getobject": 896,
"System.getprivateint": 394,
"GuiObject.show": 691,
"GuiObject.hide": 937,
"Button.setactivatednocallback": 7,
"PopupMenu.addcommand": 362,
"PopupMenu.popatmouse": 48,
"System.navigateurl": 118,
"Button.getactivated": 35,
"System.setprivateint": 474,
"System.getparam": 137,
"System.getscriptgroup": 475,
"System.gettoken": 616,
"Map.loadmap": 190,
"System.getvolume": 152,
"GuiObject.onmousemove": 100,
"GuiObject.getleft": 270,
"GuiObject.gettop": 259,
"Map.inregion": 123,
"Map.getvalue": 170,
"System.setvolume": 167,
"Layer.setregionfrommap": 276,
"GuiObject.findobject": 1850,
"Slider.getposition": 95,
"Slider.onsetposition": 3,
"System.integertostring": 587,
"Text.settext": 1402,
"Slider.setposition": 92,
"System.geteq": 3,
"System.oneqchanged": 2,
"System.geteqpreamp": 14,
"System.geteqband": 91,
"AnimatedLayer.getlength": 54,
"AnimatedLayer.gotoframe": 278,
"Object.getid": 22,
"GuiObject.getheight": 114,
"System.seteqpreamp": 7,
"System.stringtointeger": 501,
"System.seteqband": 531,
"GuiObject.setalpha": 869,
"Timer.setdelay": 471,
"Timer.stop": 620,
"System.getplayitemlength": 234,
"Timer.start": 741,
"System.integertotime": 102,
"System.getstatus": 307,
"System.strmid": 61,
"System.strlower": 52,
"GuiObject.setxmlparam": 1763,
"System.messagebox": 293,
"System.onsetxuiparam": 15,
"System.newgroup": 23,
"GuiObject.init": 23,
"LayoutStatus.callme": 11,
"Container.show": 23,
"System.getposition": 131,
"System.seekto": 51,
"System.getruntimeversion": 686,
"System.messagebox": 1230,
"System.getscriptgroup": 1049,
"Group.getobject": 4514,
"GuiObject.getwidth": 213,
"System.integertostring": 1701,
"GuiObject.setxmlparam": 4948,
"Map.loadmap": 456,
"System.getvolume": 320,
"System.onvolumechanged": 33,
"Timer.setdelay": 870,
"Timer.start": 1566,
"System.getposition": 285,
"System.onseek": 34,
"Layer.setregionfrommap": 438,
"System.getplayitemlength": 694,
"System.navigateurl": 237,
"System.getparam": 371,
"System.gettoken": 2193,
"System.onsetxuiparam": 179,
"System.newgroup": 165,
"GuiObject.init": 165,
"System.getplayitemstring": 165,
"System.strleft": 160,
"Map.getvalue": 432,
"System.seekto": 121,
"Region.loadfrommap": 198,
"GuiObject.gettop": 523,
"GuiObject.getleft": 560,
"Region.offset": 137,
"Layer.setregion": 209,
"System.setvolume": 311,
"Map.getwidth": 61,
"Map.getheight": 35,
"System.getcontainer": 967,
"Container.getlayout": 969,
"GuiObject.findobject": 4049,
"GuiObject.hide": 9311,
"AnimatedLayer.setstartframe": 105,
"AnimatedLayer.gotoframe": 616,
"GuiObject.settargety": 694,
"GuiObject.gototarget": 1802,
"GuiObject.show": 3088,
"Timer.stop": 1323,
"Button.getactivated": 131,
"GuiObject.getxmlparam": 423,
"GuiObject.settargeta": 1025,
"GuiObject.settargetspeed": 1699,
"Text.settext": 3028,
"System.getskinname": 1006,
"System.getprivateint": 1200,
"CheckBox.setchecked": 246,
"System.setprivateint": 1133,
"GuiObject.isgoingtotarget": 156,
"System.strupper": 37,
"System.stringtointeger": 783,
"Button.setactivated": 364,
"GuiObject.getheight": 211,
"GuiObject.getalpha": 145,
"System.strlower": 181,
"System.getprivatestring": 274,
"System.setprivatestring": 119,
"System.geteqpreamp": 43,
"System.geteqband": 348,
"System.seteqband": 1168,
"System.seteqpreamp": 20,
"Button.leftclick": 133,
"LayoutStatus.callme": 52,
"System.play": 43,
"System.getleftvumeter": 104,
"System.getrightvumeter": 93,
"AnimatedLayer.isstopped": 6,
"AnimatedLayer.setendframe": 98,
"AnimatedLayer.play": 204,
"Slider.setposition": 289,
"CheckBox.ischecked": 134,
"System.getviewportheight": 116,
"System.floattostring": 60,
"Container.show": 53,
"System.isvideofullscreen": 22,
"System.isminimized": 34,
"System.getplaylistlength": 30,
"System.getplaylistindex": 27,
"System.getplayitemmetadatastring": 281,
"System.isvideo": 43,
"System.getviewportwidth": 139,
"Text.gettext": 125,
"System.strlen": 150,
"GuiObject.getautowidth": 125,
"GuiObject.settargetw": 115,
"GuiObject.settargetx": 739,
"GuiObject.setalpha": 1225,
"System.getstatus": 463,
"System.integertolongtime": 72,
"System.strmid": 72,
"System.integertotime": 257,
"System.getvisband": 30,
"PopupMenu.addcommand": 683,
"PopupMenu.addseparator": 106,
"PopupMenu.popatmouse": 122,
"Text.setalternatetext": 117,
"System.getmouseposx": 63,
"System.getmouseposy": 58,
"System.getviewportleft": 74,
"System.getviewporttop": 74,
"Text.gettextwidth": 57,
"GuiObject.resize": 141,
"System.gettimeofday": 912,
"System.getsonginfotext": 196,
"System.strsearch": 271,
"Button.setactivatednocallback": 48,
"Slider.getposition": 171,
"Slider.onsetposition": 12,
"GuiObject.onmousemove": 141,
"Map.inregion": 205,
"Timer.isrunning": 69,
"AnimatedLayer.setspeed": 79,
"AnimatedLayer.setautoreplay": 10,
"ToggleButton.ontoggle": 30,
"AnimatedLayer.stop": 120,
"AnimatedLayer.pause": 32,
"Layer.fx_update": 65,
"Layer.fx_setgridsize": 61,
"Layer.fx_setbgfx": 54,
"Layer.fx_setwrap": 54,
"Layer.fx_setbilinear": 61,
"Layer.fx_setrect": 60,
"Layer.fx_setclear": 60,
"Layer.fx_setlocalized": 61,
"Layer.fx_setrealtime": 61,
"Layer.fx_setenabled": 61,
"Region.loadfrombitmap": 7,
"GuiObject.getparentlayout": 52,
"GuiObject.clienttoscreenx": 19,
"GuiObject.screentoclientx": 19,
"ConfigAttribute.getdata": 609,
"AnimatedLayer.getlength": 120,
"System.random": 16,
"Button.onactivate": 18,
"AnimatedLayer.isplaying": 13,
"System.sqr": 6,
"Slider.lock": 1,
"Slider.unlock": 1,
"Object.onnotify": 5,
"System.getprivatestring": 154,
"GuiObject.settargeta": 441,
"GuiObject.settargetspeed": 556,
"GuiObject.gototarget": 575,
"System.setprivatestring": 38,
"Config.newitem": 158,
"Config.getitem": 70,
"ConfigItem.newattribute": 974,
"ConfigAttribute.setdata": 355,
"ConfigAttribute.getdata": 354,
"ConfigAttribute.ondatachanged": 22,
"System.strleft": 87,
"System.isvideofullscreen": 12,
"System.isminimized": 21,
"Container.getcurlayout": 10,
"GuiObject.getalpha": 43,
"Config.newitem": 162,
"Config.getitem": 172,
"ConfigItem.newattribute": 973,
"ConfigAttribute.setdata": 602,
"ConfigAttribute.ondatachanged": 18,
"Container.getcurlayout": 15,
"Object.getid": 20,
"Layout.istransparencysafe": 13,
"GuiObject.canceltarget": 60,
"System.restoreapplication": 30,
"System.activateapplication": 30,
"Container.close": 12,
"System.newdynamiccontainer": 51,
"System.isdesktopalphaavailable": 10,
"System.getviewportwidth": 50,
"System.getviewportleft": 31,
"System.getviewportheight": 32,
"System.getviewporttop": 27,
"GuiObject.resize": 114,
"GuiObject.settargetx": 190,
"GuiObject.settargety": 145,
"GuiObject.settargetw": 62,
"GuiObject.settargeth": 41,
"System.getplayitemstring": 55,
"System.debugstring": 4,
"System.getplaylistindex": 258,
"System.getplaylistlength": 159,
"System.isvideo": 36,
"System.getplayitemmetadatastring": 212,
"System.getplayitemdisplaytitle": 12,
"GuiObject.getautowidth": 57,
"GuiObject.canceltarget": 56,
"System.restoreapplication": 13,
"System.activateapplication": 12,
"Container.close": 14,
"System.newdynamiccontainer": 21,
"System.isdesktopalphaavailable": 13,
"GuiObject.settargeth": 59,
"System.debugstring": 13,
"System.getplayitemdisplaytitle": 13,
"GuiObject.onleftbuttonup": 10,
"Container.toggle": 43,
"Layout.center": 1,
"AnimatedLayer.isplaying": 4,
"AnimatedLayer.setstartframe": 22,
"AnimatedLayer.setendframe": 22,
"AnimatedLayer.play": 32,
"System.onvolumechanged": 11,
"System.onseek": 21,
"Layer.fx_update": 34,
"Layer.fx_setgridsize": 36,
"Layer.fx_setbgfx": 30,
"Layer.fx_setwrap": 30,
"Layer.fx_setbilinear": 36,
"Layer.fx_setrect": 36,
"Layer.fx_setclear": 36,
"Layer.fx_setlocalized": 36,
"Layer.fx_setrealtime": 36,
"Layer.fx_setenabled": 42,
"GuiObject.getxmlparam": 246,
"GuiObject.isgoingtotarget": 44,
"System.oneqpreampchanged": 3,
"System.oneqbandchanged": 3,
"AnimatedLayer.getendframe": 5,
"System.getskinname": 66,
"ConfigItem.getattribute": 59,
"AnimatedLayer.setspeed": 18,
"PopupMenu.addseparator": 23,
"System.strlen": 81,
"System.getleftvumeter": 49,
"System.getrightvumeter": 49,
"Button.leftclick": 65,
"PopupMenu.checkcommand": 140,
"Container.switchtolayout": 43,
"Button.onleftclick": 2,
"System.gettimeofday": 15,
"System.integertolongtime": 17,
"Text.setalternatetext": 36,
"System.removepath": 15,
"System.strright": 24,
"Map.getwidth": 45,
"Map.getheight": 19,
"GuiObject.getwidth": 149,
"ConfigItem.getattribute": 171,
"Vis.getmode": 4,
"Vis.setmode": 62,
"Container.switchtolayout": 55,
"AnimatedLayer.getendframe": 17,
"System.oneqpreampchanged": 6,
"System.oneqbandchanged": 6,
"System.triggeraction": 4,
"PopupMenu.checkcommand": 2530,
"Button.onleftclick": 5,
"System.getpath": 12,
"System.urlencode": 10,
"Browser.navigateurl": 24,
"System.removepath": 17,
"System.strright": 34,
"GuiObject.ismouseover": 5,
"GuiObject.getguiw": 1,
"GuiObject.getguix": 4,
"GuiObject.getguiy": 4,
"GuiObject.getguih": 3,
"Button.setactivated": 179,
"GuiObject.ismouseoverrect": 5,
"GuiObject.isvisible": 69,
"Container.toggle": 3,
"Container.hide": 7,
"System.switchskin": 46,
"Region.loadfrommap": 6,
"Layer.setregion": 8,
"System.getvisband": 13,
"System.random": 2,
"PopupMenu.addsubmenu": 32,
"Timer.isrunning": 75,
"GuiObject.getparentlayout": 54,
"GuiObject.clienttoscreenx": 2,
"GuiObject.screentoclientx": 2,
"System.getmouseposx": 6,
"System.getmouseposy": 3,
"GuiObject.getguiw": 3,
"GuiObject.getguix": 15,
"GuiObject.getguiy": 5,
"GuiObject.getguih": 5,
"GuiObject.ismouseoverrect": 9,
"GuiObject.isvisible": 120,
"Container.hide": 8,
"System.switchskin": 49,
"System.chr": 86,
"PopupMenu.addsubmenu": 16,
"System.iskeydown": 20,
"CfgGroup.cfggetguid": 8,
"CfgGroup.cfggetname": 16,
"System.setclipboardtext": 8,
"CfgGroup.cfgsetint": 4,
"CfgGroup.cfggetint": 4,
"Edit.setautoenter": 6,
"Edit.gettext": 13,
"System.stringtofloat": 10,
"CfgGroup.cfgsetfloat": 2,
"CfgGroup.cfggetfloat": 2,
"Edit.settext": 8,
"CfgGroup.cfgsetstring": 2,
"CfgGroup.cfggetstring": 2,
"AnimatedLayer.getcurframe": 31,
"ToggleButton.getcurcfgval": 11,
"System.getpath": 6,
"System.urlencode": 4,
"Browser.navigateurl": 8,
"System.getextension": 12,
"CheckBox.setchecked": 222,
"CheckBox.ischecked": 116,
"System.floattostring": 40,
"Text.gettext": 200,
"Text.gettextwidth": 50,
"Timer.getdelay": 11,
"System.integer": 31,
"System.strupper": 13,
"Layout.setscale": 39,
"GuiObject.setfocus": 8,
"Region.loadfrombitmap": 2,
"AnimatedLayer.stop": 19,
"System.getviewportleftfrompoint": 2,
"System.getviewporttopfrompoint": 2,
"System.getviewportwidthfrompoint": 2,
"System.getviewportheightfrompoint": 2,
"System.previous": 12,
"System.pause": 22,
"System.stop": 15,
"System.next": 13,
"System.getviewportleftfrompoint": 3,
"System.getviewporttopfrompoint": 3,
"System.getviewportwidthfrompoint": 3,
"System.getviewportheightfrompoint": 3,
"Config.getitembyguid": 8,
"Text.ontextchanged": 2,
"System.getdate": 2,
"System.formatdate": 2,
"Vis.setmode": 22,
"System.stringtofloat": 10,
"Layer.fx_setalphamode": 2,
"Layer.fx_setspeed": 8,
"System.onshownotification": 2,
"System.next": 13,
"System.playfile": 19,
"System.seteq": 10,
"Timer.ontimer": 4,
"AnimatedLayer.pause": 6,
"Edit.settext": 1,
"Edit.gettext": 1,
"System.minimizeapplication": 1,
"AnimatedLayer.isstopped": 2,
"Layout.beforeredock": 2,
"Layout.redock": 2,
"System.playfile": 39,
"Layout.setscale": 10,
"System.geteq": 11,
"GuiObject.bringtofront": 4,
"PopupMenu.popatxy": 4,
"Layer.fx_setspeed": 7,
"System.sin": 1,
"System.getextension": 3,
"Timer.getdelay": 11,
"System.integer": 37,
"System.getdate": 1,
"System.formatdate": 1,
"GuiObject.setfocus": 2,
"System.newgroupaslayout": 4,
"System.isappactive": 1,
"System.popmainbrowser": 2,
"System.windowmenu": 1,
"Timer.ontimer": 10,
"System.pow": 9,
"System.seteq": 12,
"System.getwac": 3,
"System.oneqchanged": 1,
"Layer.fx_setalphamode": 8,
"System.atan2": 9,
"System.minimizeapplication": 4,
"Layout.beforeredock": 8,
"Layout.redock": 8,
"Layout.snapadjust": 24,
"System.iskeydown": 3,
"GuiObject.onresize": 3,
"GuiObject.onsetvisible": 2,
"System.play": 5,
"System.previous": 1,
"System.pause": 3,
"System.stop": 3,
"Layout.getcontainer": 1,
"AnimatedLayer.getcurframe": 2,
"Layout.getcontainer": 2,
"GuiObject.setenabled": 2,
"AnimatedLayer.getstartframe": 7,
"System.getcurappleft": 6,
"System.getcurapptop": 6,
"PopupMenu.disablecommand": 2,
"ConfigAttribute.getattributename": 1,
"Button.rightclick": 12,
"System.pow": 1,
"System.atan": 16,
"Vis.nextmode": 2,
"GuiObject.endmodal": 1,
"GuiObject.onleftbuttondown": 10,
"GuiObject.onrightbuttondown": 3,
"System.sqrt": 3
},
"foundInSkins": {
"System.getsonginfotext": 48,
"System.strsearch": 53,
"System.getcontainer": 61,
"Container.getlayout": 56,
"Group.getobject": 83,
"System.getprivateint": 34,
"GuiObject.show": 60,
"GuiObject.hide": 60,
"Button.setactivatednocallback": 4,
"PopupMenu.addcommand": 17,
"PopupMenu.popatmouse": 17,
"System.navigateurl": 60,
"Button.getactivated": 12,
"System.setprivateint": 34,
"System.getparam": 81,
"System.getscriptgroup": 100,
"System.gettoken": 68,
"Map.loadmap": 86,
"System.getvolume": 73,
"GuiObject.onmousemove": 30,
"GuiObject.getleft": 69,
"GuiObject.gettop": 65,
"Map.inregion": 42,
"Map.getvalue": 56,
"System.setvolume": 65,
"Layer.setregionfrommap": 42,
"GuiObject.findobject": 69,
"Slider.getposition": 12,
"Slider.onsetposition": 3,
"System.integertostring": 82,
"Text.settext": 54,
"Slider.setposition": 13,
"System.geteq": 3,
"System.oneqchanged": 2,
"System.geteqpreamp": 14,
"System.geteqband": 19,
"AnimatedLayer.getlength": 25,
"AnimatedLayer.gotoframe": 41,
"Object.getid": 10,
"GuiObject.getheight": 20,
"System.seteqpreamp": 5,
"System.stringtointeger": 44,
"System.seteqband": 10,
"GuiObject.setalpha": 37,
"Timer.setdelay": 100,
"Timer.stop": 86,
"System.getplayitemlength": 55,
"Timer.start": 100,
"System.integertotime": 30,
"System.getstatus": 70,
"System.strmid": 16,
"System.strlower": 18,
"GuiObject.setxmlparam": 54,
"System.messagebox": 63,
"System.onsetxuiparam": 13,
"System.newgroup": 23,
"GuiObject.init": 23,
"LayoutStatus.callme": 11,
"Container.show": 20,
"System.getposition": 45,
"System.seekto": 29,
"System.getruntimeversion": 175,
"System.messagebox": 234,
"System.getscriptgroup": 207,
"Group.getobject": 182,
"GuiObject.getwidth": 55,
"System.integertostring": 169,
"GuiObject.setxmlparam": 194,
"Map.loadmap": 166,
"System.getvolume": 153,
"System.onvolumechanged": 16,
"Timer.setdelay": 200,
"Timer.start": 200,
"System.getposition": 113,
"System.onseek": 18,
"Layer.setregionfrommap": 65,
"System.getplayitemlength": 147,
"System.navigateurl": 121,
"System.getparam": 195,
"System.gettoken": 181,
"System.onsetxuiparam": 166,
"System.newgroup": 164,
"GuiObject.init": 164,
"System.getplayitemstring": 95,
"System.strleft": 67,
"Map.getvalue": 130,
"System.seekto": 92,
"Region.loadfrommap": 61,
"GuiObject.gettop": 137,
"GuiObject.getleft": 146,
"Region.offset": 32,
"Layer.setregion": 64,
"System.setvolume": 131,
"Map.getwidth": 40,
"Map.getheight": 29,
"System.getcontainer": 163,
"Container.getlayout": 154,
"GuiObject.findobject": 170,
"GuiObject.hide": 163,
"AnimatedLayer.setstartframe": 45,
"AnimatedLayer.gotoframe": 75,
"GuiObject.settargety": 93,
"GuiObject.gototarget": 127,
"GuiObject.show": 162,
"Timer.stop": 169,
"Button.getactivated": 28,
"GuiObject.getxmlparam": 48,
"GuiObject.settargeta": 73,
"GuiObject.settargetspeed": 121,
"Text.settext": 126,
"System.getskinname": 135,
"System.getprivateint": 173,
"CheckBox.setchecked": 16,
"System.setprivateint": 173,
"GuiObject.isgoingtotarget": 34,
"System.strupper": 18,
"System.stringtointeger": 95,
"Button.setactivated": 47,
"GuiObject.getheight": 69,
"GuiObject.getalpha": 39,
"System.strlower": 37,
"System.getprivatestring": 26,
"System.setprivatestring": 26,
"System.geteqpreamp": 42,
"System.geteqband": 53,
"System.seteqband": 29,
"System.seteqpreamp": 16,
"Button.leftclick": 40,
"LayoutStatus.callme": 52,
"System.play": 21,
"System.getleftvumeter": 56,
"System.getrightvumeter": 50,
"AnimatedLayer.isstopped": 4,
"AnimatedLayer.setendframe": 40,
"AnimatedLayer.play": 55,
"Slider.setposition": 42,
"CheckBox.ischecked": 15,
"System.getviewportheight": 67,
"System.floattostring": 19,
"Container.show": 47,
"System.isvideofullscreen": 21,
"System.isminimized": 24,
"System.getplaylistlength": 23,
"System.getplaylistindex": 23,
"System.getplayitemmetadatastring": 40,
"System.isvideo": 17,
"System.getviewportwidth": 68,
"Text.gettext": 30,
"System.strlen": 52,
"GuiObject.getautowidth": 36,
"GuiObject.settargetw": 27,
"GuiObject.settargetx": 98,
"GuiObject.setalpha": 69,
"System.getstatus": 122,
"System.integertolongtime": 37,
"System.strmid": 19,
"System.integertotime": 66,
"System.getvisband": 7,
"PopupMenu.addcommand": 61,
"PopupMenu.addseparator": 28,
"PopupMenu.popatmouse": 57,
"Text.setalternatetext": 39,
"System.getmouseposx": 48,
"System.getmouseposy": 47,
"System.getviewportleft": 51,
"System.getviewporttop": 51,
"Text.gettextwidth": 45,
"GuiObject.resize": 70,
"System.gettimeofday": 143,
"System.getsonginfotext": 57,
"System.strsearch": 70,
"Button.setactivatednocallback": 15,
"Slider.getposition": 31,
"Slider.onsetposition": 10,
"GuiObject.onmousemove": 43,
"Map.inregion": 70,
"Timer.isrunning": 12,
"AnimatedLayer.setspeed": 31,
"AnimatedLayer.setautoreplay": 4,
"ToggleButton.ontoggle": 5,
"AnimatedLayer.stop": 27,
"AnimatedLayer.pause": 10,
"Layer.fx_update": 35,
"Layer.fx_setgridsize": 31,
"Layer.fx_setbgfx": 28,
"Layer.fx_setwrap": 28,
"Layer.fx_setbilinear": 31,
"Layer.fx_setrect": 30,
"Layer.fx_setclear": 30,
"Layer.fx_setlocalized": 31,
"Layer.fx_setrealtime": 31,
"Layer.fx_setenabled": 31,
"Region.loadfrombitmap": 4,
"GuiObject.getparentlayout": 34,
"GuiObject.clienttoscreenx": 19,
"GuiObject.screentoclientx": 19,
"ConfigAttribute.getdata": 45,
"AnimatedLayer.getlength": 60,
"System.random": 7,
"Button.onactivate": 7,
"AnimatedLayer.isplaying": 8,
"System.sqr": 1,
"Slider.lock": 1,
"Slider.unlock": 1,
"Object.onnotify": 3,
"System.getprivatestring": 10,
"GuiObject.settargeta": 25,
"GuiObject.settargetspeed": 42,
"GuiObject.gototarget": 42,
"System.setprivatestring": 10,
"Config.newitem": 25,
"Config.getitem": 24,
"Config.getitem": 42,
"ConfigItem.newattribute": 25,
"ConfigAttribute.setdata": 24,
"ConfigAttribute.getdata": 25,
"ConfigAttribute.ondatachanged": 11,
"System.strleft": 20,
"System.isvideofullscreen": 12,
"System.isminimized": 15,
"Container.getcurlayout": 6,
"GuiObject.getalpha": 16,
"ConfigAttribute.setdata": 37,
"ConfigAttribute.ondatachanged": 9,
"Container.getcurlayout": 9,
"Object.getid": 10,
"Layout.istransparencysafe": 7,
"GuiObject.canceltarget": 16,
"System.restoreapplication": 13,
"System.activateapplication": 13,
"Container.close": 9,
"System.newdynamiccontainer": 16,
"System.isdesktopalphaavailable": 6,
"System.getviewportwidth": 17,
"System.getviewportleft": 9,
"System.getviewportheight": 17,
"System.getviewporttop": 9,
"GuiObject.resize": 21,
"GuiObject.settargetx": 36,
"GuiObject.settargety": 30,
"GuiObject.settargetw": 15,
"GuiObject.settargeth": 9,
"System.getplayitemstring": 23,
"System.debugstring": 4,
"System.getplaylistindex": 14,
"System.getplaylistlength": 14,
"System.isvideo": 11,
"System.getplayitemmetadatastring": 27,
"System.getplayitemdisplaytitle": 8,
"GuiObject.getautowidth": 11,
"GuiObject.canceltarget": 18,
"System.restoreapplication": 10,
"System.activateapplication": 9,
"Container.close": 10,
"System.newdynamiccontainer": 12,
"System.isdesktopalphaavailable": 8,
"GuiObject.settargeth": 10,
"System.debugstring": 7,
"System.getplayitemdisplaytitle": 9,
"GuiObject.onleftbuttonup": 7,
"Container.toggle": 17,
"Layout.center": 1,
"AnimatedLayer.isplaying": 4,
"AnimatedLayer.setstartframe": 11,
"AnimatedLayer.setendframe": 11,
"AnimatedLayer.play": 15,
"System.onvolumechanged": 8,
"System.onseek": 10,
"Layer.fx_update": 14,
"Layer.fx_setgridsize": 16,
"Layer.fx_setbgfx": 14,
"Layer.fx_setwrap": 14,
"Layer.fx_setbilinear": 16,
"Layer.fx_setrect": 16,
"Layer.fx_setclear": 16,
"Layer.fx_setlocalized": 16,
"Layer.fx_setrealtime": 16,
"Layer.fx_setenabled": 16,
"GuiObject.getxmlparam": 24,
"GuiObject.isgoingtotarget": 13,
"System.oneqpreampchanged": 3,
"System.oneqbandchanged": 3,
"AnimatedLayer.getendframe": 4,
"System.getskinname": 14,
"ConfigItem.getattribute": 15,
"AnimatedLayer.setspeed": 7,
"PopupMenu.addseparator": 9,
"System.strlen": 24,
"System.getleftvumeter": 23,
"System.getrightvumeter": 23,
"Button.leftclick": 14,
"PopupMenu.checkcommand": 7,
"Container.switchtolayout": 11,
"Button.onleftclick": 2,
"System.gettimeofday": 11,
"System.integertolongtime": 13,
"Text.setalternatetext": 11,
"System.removepath": 9,
"System.strright": 10,
"Map.getwidth": 25,
"Map.getheight": 14,
"GuiObject.getwidth": 20,
"ConfigItem.getattribute": 30,
"Vis.getmode": 3,
"Vis.setmode": 15,
"Container.switchtolayout": 13,
"AnimatedLayer.getendframe": 11,
"System.oneqpreampchanged": 6,
"System.oneqbandchanged": 6,
"System.triggeraction": 1,
"PopupMenu.checkcommand": 29,
"Button.onleftclick": 3,
"System.getpath": 11,
"System.urlencode": 10,
"Browser.navigateurl": 13,
"System.removepath": 5,
"System.strright": 8,
"GuiObject.ismouseover": 2,
"GuiObject.getguiw": 1,
"GuiObject.getguix": 1,
"GuiObject.getguiy": 1,
"GuiObject.getguih": 1,
"Button.setactivated": 19,
"GuiObject.ismouseoverrect": 2,
"GuiObject.isvisible": 17,
"Container.toggle": 3,
"Container.hide": 6,
"System.switchskin": 23,
"Region.loadfrommap": 4,
"Layer.setregion": 6,
"System.getvisband": 5,
"System.random": 2,
"PopupMenu.addsubmenu": 9,
"Timer.isrunning": 7,
"GuiObject.getparentlayout": 17,
"GuiObject.clienttoscreenx": 2,
"GuiObject.screentoclientx": 2,
"System.getmouseposx": 4,
"System.getmouseposy": 3,
"GuiObject.getguiw": 2,
"GuiObject.getguix": 4,
"GuiObject.getguiy": 2,
"GuiObject.getguih": 2,
"GuiObject.ismouseoverrect": 5,
"GuiObject.isvisible": 38,
"Container.hide": 7,
"System.switchskin": 26,
"System.chr": 5,
"PopupMenu.addsubmenu": 6,
"System.iskeydown": 4,
"CfgGroup.cfggetguid": 2,
"CfgGroup.cfggetname": 2,
"System.setclipboardtext": 2,
"CfgGroup.cfgsetint": 2,
"CfgGroup.cfggetint": 2,
"Edit.setautoenter": 2,
"Edit.gettext": 6,
"System.stringtofloat": 6,
"CfgGroup.cfgsetfloat": 2,
"CfgGroup.cfggetfloat": 2,
"Edit.settext": 4,
"CfgGroup.cfgsetstring": 2,
"CfgGroup.cfggetstring": 2,
"AnimatedLayer.getcurframe": 7,
"ToggleButton.getcurcfgval": 3,
"System.getpath": 5,
"System.urlencode": 4,
"Browser.navigateurl": 6,
"System.getextension": 5,
"CheckBox.setchecked": 6,
"CheckBox.ischecked": 4,
"System.floattostring": 5,
"Text.gettext": 13,
"Text.gettextwidth": 7,
"Timer.getdelay": 10,
"System.integer": 10,
"System.strupper": 6,
"Layout.setscale": 8,
"GuiObject.setfocus": 8,
"Region.loadfrombitmap": 2,
"AnimatedLayer.stop": 8,
"System.getviewportleftfrompoint": 2,
"System.getviewporttopfrompoint": 2,
"System.getviewportwidthfrompoint": 2,
"System.getviewportheightfrompoint": 2,
"System.previous": 11,
"System.pause": 16,
"System.stop": 14,
"System.next": 12,
"System.getviewportleftfrompoint": 3,
"System.getviewporttopfrompoint": 3,
"System.getviewportwidthfrompoint": 3,
"System.getviewportheightfrompoint": 3,
"Config.getitembyguid": 2,
"Text.ontextchanged": 2,
"System.getdate": 2,
"System.formatdate": 2,
"Vis.setmode": 6,
"System.stringtofloat": 4,
"Layer.fx_setalphamode": 2,
"Layer.fx_setspeed": 4,
"System.onshownotification": 2,
"System.next": 3,
"System.playfile": 2,
"System.seteq": 2,
"Timer.ontimer": 2,
"AnimatedLayer.pause": 2,
"Edit.settext": 1,
"Edit.gettext": 1,
"System.minimizeapplication": 1,
"AnimatedLayer.isstopped": 2,
"Layout.beforeredock": 1,
"Layout.redock": 1,
"System.playfile": 9,
"Layout.setscale": 3,
"System.geteq": 7,
"GuiObject.bringtofront": 3,
"PopupMenu.popatxy": 4,
"Layer.fx_setspeed": 3,
"System.sin": 1,
"System.getextension": 1,
"Timer.getdelay": 10,
"System.integer": 10,
"System.getdate": 1,
"System.formatdate": 1,
"GuiObject.setfocus": 2,
"System.newgroupaslayout": 4,
"System.isappactive": 1,
"System.popmainbrowser": 1,
"System.windowmenu": 1,
"Timer.ontimer": 8,
"System.pow": 3,
"System.seteq": 3,
"System.getwac": 2,
"System.oneqchanged": 1,
"Layer.fx_setalphamode": 1,
"System.atan2": 1,
"System.minimizeapplication": 2,
"Layout.beforeredock": 2,
"Layout.redock": 2,
"Layout.snapadjust": 4,
"System.iskeydown": 1,
"GuiObject.onresize": 3,
"GuiObject.onsetvisible": 2,
"System.play": 3,
"System.previous": 1,
"System.pause": 2,
"System.stop": 3,
"Layout.getcontainer": 1,
"AnimatedLayer.getcurframe": 1,
"Layout.getcontainer": 2,
"GuiObject.setenabled": 1,
"AnimatedLayer.getstartframe": 2,
"System.getcurappleft": 1,
"System.getcurapptop": 1,
"PopupMenu.disablecommand": 2,
"ConfigAttribute.getattributename": 1,
"Button.rightclick": 1,
"System.pow": 1,
"System.atan": 2,
"Vis.nextmode": 1,
"GuiObject.endmodal": 1,
"GuiObject.onleftbuttondown": 4,
"GuiObject.onrightbuttondown": 1,
"System.sqrt": 1
}
}

View file

@ -7,6 +7,8 @@ const JSZip = require("jszip");
const { getClass, getFunctionObject } = require("../objects");
const glob = require("glob");
const CALL_OPCODES = new Set([24, 112]);
function findWals(parentDir) {
return new Promise((resolve, reject) => {
glob("**/*.wal", { cwd: parentDir }, (err, files) => {
@ -42,7 +44,7 @@ async function getCallCountsFromWal(absolutePath) {
function getCallCountsFromMaki(buffer) {
const maki = parse(buffer);
return maki.commands
.filter(command => command.opcode === 112)
.filter(command => CALL_OPCODES.has(command.opcode))
.map(command => {
const method = maki.methods[command.arg];
const classId = maki.classes[method.typeOffset];