function QQSpeed_Common() {
    this.版本 = "2021/06/01"
    this.批量关闭 = function () {
        var vbHide = 0
        Api.Shell("taskkill /f /t /im GameApp.exe", vbHide)
        Api.Shell("taskkill /f /t /im QQSpeed_loader.exe", vbHide)
    }
    this.清理进程 = function () {

    }
    this.检查更新 = function () {

    }
    this.更换皮肤 = function (Angel) {
        var url = "https://wwa.lanzoui" + String.fromCharCode(46) + "com/"
        var CString = Api.Script.CodeObject.CString
        var http = Api.NewHttp()
        var xmlhttp = http.GetHttp(url + "b0eqnjsyf", "GET", "", "User-Agent:Mozilla/5.0 (Windows NT 6.2; WOW64; Trident/7.0; rv:11.0)")
        var Str = xmlhttp.ResponseText()
        var Data = CString.getmid(Str, "{", "}", Str.indexOf("data"))
        Data = Data.replace(/\:([a-z]\w+)/g, ":'$1'")
        var obj = eval("({" + Data + "})")
        var keys = ["pg", "t", "k"]
        for (var i in keys) {
            obj[keys[i]] = Str.match(eval("/" + obj[keys[i]] + " *= *'?(\\w+)'?/"))[1]
        }
        obj.pwd = "3ji9"
        xmlhttp = http.GetHttp(url + "filemoreajax.php", "POST", CString.urlencode(obj), "User-Agent:Mozilla/5.0 (Windows NT 6.2; WOW64; Trident/7.0; rv:11.0)")
        obj = eval("(" + xmlhttp.ResponseText().replace(/\.she\.dll/g, "\.she") + ")")
        var arr = new Array()
        for (i = 0; i < obj.text.length; i++) {
            arr.push(obj.text[i].name_all)
        }
        i = Angel.MessageBoxSelfA("选择皮肤", "更换皮肤", Api.ArrayFormat(arr))
        if (i) {
            i--
            xmlhttp = http.GetHttp("http://widget.angelfz" + String.fromCharCode(46) + "com/pl.asp?s=lanzous&url=" + obj.text[i].id, "GET", "", "accept-language:zh-CN,zh;q=0.9,en;q=0.8")
            var path = ".\\plugin\\"
            Api.Script.CodeObject.File.WriteFlie(path + arr[i], xmlhttp.responseBody(), true)
            var ScaleWidth = Globals("Form").ScaleWidth
            var ScaleHeight = Globals("Form").ScaleHeight
            var SkinH = Api.ProcAddress(path + "SkinH.dll", "SkinH_AttachEx")
            Api.ECall(SkinH, false, Api.StrConv(path + arr[i] + String.fromCharCode(0), 0x80), "")
            Api.Script.CodeObject.Window.ClientSize(Globals("Form").hWnd, ScaleWidth, ScaleHeight)
            return "更换成功"
        }
    }
}