-- Decompiled by RUA decompiler local v0, v1, v2, v3, v4, v5, v6, v7, v8, v9, v10, v11, v12, v13, v14, v15, v16, v17, v18, v19, v20, v21, v22, v23, v24, v25, v26, v27, v28, v29, v30, v31, v32, v33, v34, v35 gg.alert("尊享版定制已全部更新完毕,已开启地铁逃生模式,祝你们冲榜成功,感谢你们的支持,服务器已续好费,不会停用,将保留整个赛季,谢谢你们,还是那句话,范围认准冷烁,反馈请发在飞机上") if type(getrlyunyz) ~= "function" then gg.alert("请使用RLGG执行") os.exit() return end v2 = getrlyunyz({ example_version = "1.0.3", name = "冷烁个人定制版范围", appid = "91488", appkey = "cM5nM5svT0vOVSN5", rc4key = "1gJdyNtdaDGpeR0A", version = "1.0", mi_type = "3" }).start() if v2 and isTable(v2) and v2.sign == "e1b3de6019850e7e2fbb30437e8a259e" then string.toMusic("欢迎使用冷烁尊享版定制40元范围,购买通道只能找本人冷烁,请勿上当受骗") _ENV["check字体颜色"] = 4278190080 _ENV["switch颜色"] = 4278215423 _ENV["按钮颜色"] = 4293914607 v0 = "vibra" v1 = context _ENV[v0] = v1:getSystemService(Context.VIBRATOR_SERVICE) changan = {} v0 = changan v1 = import("android.*") v2 = "write" function v3(a0_1, a1_1) file.write(a0_1, a1_1) return end _ENV[v2] = v3 v2 = "panduan" function v3(a0_1) local v0_1, v1_1, v2_1, v3_1 v0_1 = "fille" v1_1 = "err" v2_1, v3_1 = io.open(a0_1) _ENV[v1_1] = v3_1 _ENV[v0_1] = v2_1 if fille ~= nil then return true end return false end _ENV[v2] = v3 v2 = "pdcf" function v3(a0_1) local v0_1, v1_1, v2_1, v3_1 rec = "/sdcard/冷烁尊享版范围/配置文件/" .. a0_1 v0_1 = "fille" v1_1 = "err" v2_1, v3_1 = io.open(rec) _ENV[v1_1] = v3_1 _ENV[v0_1] = v2_1 if fille ~= nil then return true end return false end _ENV[v2] = v3 sleep = gg.sleep v2 = "read" function v3(a0_1) local v0_1, v1_1 f = assert(io.open(a0_1, "r")) v0_1 = "content" v1_1 = f _ENV[v0_1] = v1_1:read("*all") v0_1 = f v0_1:close() return content end _ENV[v2] = v3 v2 = "wtcf" function v3(a0_1, a1_1) write("/sdcard/冷烁尊享版范围/配置文件/" .. a0_1, a1_1) return end _ENV[v2] = v3 v2 = "rdcf" function v3(a0_1) return (read("/sdcard/冷烁尊享版范围/配置文件/" .. a0_1)) end _ENV[v2] = v3 _ENV["开"] = "开" _ENV["关"] = "关" v2 = "checkimg" function v3(a0_1) if panduan("/sdcard/冷烁尊享版范围/图片/" .. a0_1) ~= true then gg.toast("正在下载资源" .. a0_1 .. "\n请耐心等待") download("https://escape2020-1303126286.cos.ap-shenzhen-fsi.myqcloud.com/" .. a0_1, "/sdcard/冷烁尊享版范围/图片/" .. a0_1) end return end _ENV[v2] = v3 ckimg = { "skin", "heir", "hei_right", "quarkcheckoff", "quarkcheckon" } v2 = 1 v3 = #ckimg v4 = 1 v2 = v2 - v4 while true do v2 = v2 + v4 if not (v2 <= v3) then break end v5 = v2 jindu = v5 checkimg(ckimg[v5]) end v2 = "获取图片" function v3(a0_1) a0_1 = string.url(a0_1, "de") ntxt = string.sub(string.gsub(a0_1, "/", "-"), -10, -1) if string.find(tostring(a0_1), "http") ~= nil then if panduan("/sdcard/冷烁尊享版范围/图片/" .. ntxt) == false then file.download(a0_1, "/sdcard/冷烁尊享版范围/图片/" .. ntxt) elseif file.length("/sdcard/冷烁尊享版范围/图片/" .. ntxt) <= 1 then file.download(a0_1, "/sdcard/冷烁尊享版范围/图片/" .. ntxt) end a0_1 = "/sdcard/冷烁尊享版范围/图片/" .. ntxt end return (luajava.getBitmapDrawable(a0_1)) end _ENV[v2] = v3 v2 = "getRes" function v3(a0_1) return (_ENV["获取图片"]("/sdcard/冷烁尊享版范围/图片/" .. a0_1)) end _ENV[v2] = v3 v2 = "getVerticalBG" function v3(a0_1, a1_1, a2_1, a3_1) local v0_1 if not a2_1 then a2_1 = 0 a3_1 = 4278190080 end v0_1 = luajava.new(GradientDrawable) v0_1:setCornerRadius(a1_1) v0_1:setGradientType(GradientDrawable.LINEAR_GRADIENT) v0_1:setColors(a0_1) v0_1:setStroke(a2_1, a3_1) return v0_1 end _ENV[v2] = v3 v2 = "getHorizontalBG" function v3(a0_1, a1_1, a2_1, a3_1) local v0_1 if not a2_1 then a2_1 = 0 a3_1 = 4278190080 end v0_1 = luajava.new(GradientDrawable) v0_1:setCornerRadius(a1_1) v0_1:setOrientation(GradientDrawable.Orientation.LEFT_RIGHT) v0_1:setGradientType(GradientDrawable.LINEAR_GRADIENT) v0_1:setColors(a0_1) v0_1:setStroke(a2_1, a3_1) return v0_1 end _ENV[v2] = v3 context = app.context v2 = "window" v3 = context _ENV[v2] = v3:getSystemService("window") v2 = "getLayoutParams" function v3() LayoutParams = WindowManager.LayoutParams layoutParams = luajava.new(LayoutParams) if 26 <= Build.VERSION.SDK_INT then layoutParams.type = LayoutParams.TYPE_APPLICATION_OVERLAY else layoutParams.type = LayoutParams.TYPE_PHONE end layoutParams.format = PixelFormat.RGBA_8888 layoutParams.flags = LayoutParams.FLAG_NOT_FOCUSABLE layoutParams.gravity = Gravity.TOP | Gravity.LEFT layoutParams.width = LayoutParams.WRAP_CONTENT layoutParams.height = LayoutParams.WRAP_CONTENT return layoutParams end _ENV[v2] = v3 v2 = "getj7" function v3() local v0_1 jianbian6 = luajava.new(GradientDrawable) v0_1 = jianbian6 v0_1:setCornerRadius(20) v0_1 = jianbian6 v0_1:setGradientType(GradientDrawable.LINEAR_GRADIENT) v0_1 = jianbian6 v0_1:setColors({3092530, 3092530}) v0_1 = jianbian6 v0_1:setStroke(3, "0xff0091FE") return jianbian6 end _ENV[v2] = v3 slctb = getVerticalBG({4293914607, 4293914607}, 10) slcta = getHorizontalBG({4278220799, 4288110079}, 10) v2 = "slctc" v3 = luajava.loadlayout v4 = {} v5 = GradientDrawable v4.color = "#11ffffff" v4.cornerRadius = 8 v4[1] = v5 _ENV[v2] = v3(v4) v2 = "slctd" v3 = luajava.loadlayout v4 = {} v5 = GradientDrawable v4.color = "#55ffffff" v4.cornerRadius = 8 v4[1] = v5 _ENV[v2] = v3(v4) v2 = "slcte" v3 = luajava.loadlayout v4 = {} v5 = GradientDrawable v4.color = "#11ffffff" v4.cornerRadius = 12 v4[1] = v5 _ENV[v2] = v3(v4) v2 = "slctf" v3 = luajava.loadlayout v4 = {} v5 = GradientDrawable v4.color = "#aa1E1C27" v4.cornerRadius = 12 v4[1] = v5 _ENV[v2] = v3(v4) v2 = "getButtonBG" function v3() local v0_1 v0_1 = luajava.getStateListDrawable() v0_1.addState(v0_1, { v1.R.attr.state_pressed }, getVerticalBG({4292335575, 4292335575}, 15)) v0_1.addState(v0_1, { -v1.R.attr.state_pressed }, getVerticalBG({ _ENV["按钮颜色"], _ENV["按钮颜色"] }, 15)) return v0_1 end _ENV[v2] = v3 v2 = "getSelector3" function v3() local v0_1, v1_1, v2_1, v3_1, v4_1, v5_1 selector = luajava.getStateListDrawable() v0_1 = selector v1_1 = v0_1 v0_1 = v0_1.addState v2_1 = { v1.R.attr.state_pressed } v3_1 = luajava.loadlayout v4_1 = {} v5_1 = GradientDrawable v4_1.color = "#b9b9b9" v4_1.cornerRadius = 10 v4_1[1] = v5_1 v0_1(v1_1, v2_1, v3_1(v4_1)) v0_1 = selector v1_1 = v0_1 v0_1 = v0_1.addState v2_1 = { -v1.R.attr.state_pressed } v3_1 = luajava.loadlayout v4_1 = {} v5_1 = GradientDrawable v4_1.color = "#ffffff" v4_1.cornerRadius = 10 v4_1[1] = v5_1 v0_1(v1_1, v2_1, v3_1(v4_1)) return selector end _ENV[v2] = v3 v2 = "getSelector" function v3() local v0_1 selector = luajava.getStateListDrawable() v0_1 = selector v0_1:addState({ v1.R.attr.state_pressed }, slcta) v0_1 = selector v0_1:addState({ -v1.R.attr.state_pressed }, slctb) return selector end _ENV[v2] = v3 v2 = "hanshu" function v3(a0_1, a1_1) local v0_1, v1_1 v0_1 = a1_1:getAction() if v0_1 == MotionEvent.ACTION_DOWN then isMove = false RawX = a1_1:getRawX() RawY = a1_1:getRawY() x = mainLayoutParams.x y = mainLayoutParams.y elseif v0_1 == MotionEvent.ACTION_MOVE then isMove = true mainLayoutParams.x = tonumber(x) + (a1_1:getRawX() - RawX) mainLayoutParams.y = tonumber(y) + (a1_1:getRawY() - RawY) v1_1 = window v1_1:updateViewLayout(floatWindow, mainLayoutParams) end return end _ENV[v2] = v3 v2 = "getSelector2" function v3() local v0_1 selector = luajava.getStateListDrawable() v0_1 = selector v0_1:addState({ v1.R.attr.state_pressed }, slctd) v0_1 = selector v0_1:addState({ -v1.R.attr.state_pressed }, slctc) return selector end _ENV[v2] = v3 jianbian = luajava.new(GradientDrawable) v2 = jianbian v2:setCornerRadius(30) v2 = jianbian v2:setGradientType(GradientDrawable.LINEAR_GRADIENT) jianbian2 = luajava.new(GradientDrawable) v2 = jianbian2 v2:setCornerRadius(30) v2 = jianbian2 v2:setGradientType(GradientDrawable.LINEAR_GRADIENT) v2 = "获取图片" function v3(a0_1) return (luajava.getBitmapDrawable((file.checkUrl(a0_1)))) end _ENV[v2] = v3 v2 = nil YoYoImpl = luajava.getYoYoImpl() v3 = "menu" function v4(a0_1) local v0_1, v1_1, v2_1, v3_1, v4_1, v5_1, v6_1, v7_1, v8_1, v9_1, v10_1, v11_1, v12_1, v13_1, v14_1, v15_1 if v2 then return false end beij = bglist[1] v2 = true v0_1 = "cebian" v1_1 = {} v2_1 = LinearLayout v1_1.layout_height = "match_parent" v1_1.layout_width = "wrap_content" v1_1.orientation = "horizontal" v1_1.gravity = "center" v1_1.orientation = "vertical" v1_1[1] = v2_1 _ENV[v0_1] = v1_1 v0_1 = 1 v1_1 = #stab v2_1 = 1 v0_1 = v0_1 - v2_1 while true do v0_1 = v0_1 + v2_1 if not (v0_1 <= v1_1) then break end v3_1 = v0_1 v4_1 = cebian v5_1 = #cebian + 1 v6_1 = {} v7_1 = LinearLayout v6_1.id = "jm" .. v3_1 v6_1.gravity = "center" v6_1.layout_height = "wrap_content" v6_1.layout_width = "wrap_content" v6_1.layout_marginTop = "3dp" v6_1.layout_marginBottom = "6dp" v6_1.layout_marginRight = "3dp" v6_1.layout_marginLeft = "3dp" v6_1.elevation = "2dp" v8_1 = "onClick" function v9_1() _ENV["切换"](v3_1) return end v6_1[v8_1] = v9_1 v6_1.orientation = "vertical" v8_1 = {} v9_1 = ImageView v8_1.id = "jmp" .. v3_1 v8_1.layout_height = "20dp" v8_1.layout_width = "20dp" v8_1.src = _ENV["获取图片"](stab[v3_1][2]) v8_1.colorFilter = 4292335575 v8_1[1] = v9_1 v9_1 = {} v10_1 = TextView v9_1.text = stab[v3_1][1] v9_1.id = "jmt" .. v3_1 v9_1.gravity = "center" v9_1.textSize = "12sp" v9_1.textColor = "#" .. _ENV["颜色2"] v9_1.layout_height = "wrap_content" v9_1.layout_width = "68dp" v9_1[1] = v10_1 v6_1[1] = v7_1 v6_1[2] = v8_1 v6_1[3] = v9_1 v4_1[v5_1] = v6_1 -- Close Upvalues >= 4 end v0_1 = "cebian" v1_1 = luajava.loadlayout v2_1 = {} v3_1 = ScrollView v2_1.layout_height = "wrap_content" v2_1.layout_width = "wrap_content" v2_1[1] = v3_1 v2_1[2] = cebian _ENV[v0_1] = v1_1(v2_1) v0_1 = 1 v1_1 = #stab v2_1 = 1 v0_1 = v0_1 - v2_1 while true do v0_1 = v0_1 + v2_1 if not (v0_1 <= v1_1) then break end v3_1 = v0_1 v4_1 = "layout" .. v3_1 v5_1 = luajava.loadlayout v6_1 = {} v7_1 = LinearLayout v6_1.layout_width = "fill_parent" v6_1.layout_height = "200dp" v6_1.visibility = "gone" v6_1.orientation = "vertical" v8_1 = "background" v9_1 = {} v10_1 = GradientDrawable v9_1.color = "#33ffffff" v9_1.cornerRadius = 20 v9_1[1] = v10_1 v6_1[v8_1] = v9_1 v8_1 = {} v9_1 = ScrollView v8_1.fillViewport = "true" v8_1.gravity = "center" v8_1.layout_width = "250dp" v8_1.layout_height = "200dp" v8_1.orientation = "horizontal" v10_1 = {} v11_1 = LinearLayout v10_1.id = "layoutm" .. v3_1 v10_1.layout_marginRight = "5dp" v10_1.layout_marginLeft = "5dp" v10_1.layout_width = "240dp" v10_1.orientation = "vertical" v10_1.gravity = "center_horizontal" v10_1[1] = v11_1 v8_1[1] = v9_1 v8_1[2] = v10_1 v6_1[1] = v7_1 v6_1[2] = v8_1 _ENV[v4_1] = v5_1(v6_1) end v0_1 = "ckou" v1_1 = {} v2_1 = LinearLayout v1_1.layout_width = "wrap_content" v1_1.layout_height = "wrap_content" v3_1 = cebian v4_1 = {} v5_1 = LinearLayout v4_1.layout_marginBottom = "1dp" v4_1.layout_marginTop = "1dp" v4_1.layout_width = "2dp" v4_1.layout_height = "match_parent" v4_1.background = "#D7D7D7" v4_1[1] = v5_1 v1_1[1] = v2_1 v1_1[2] = v3_1 v1_1[3] = v4_1 _ENV[v0_1] = v1_1 v0_1 = 1 v1_1 = #stab v2_1 = 1 v0_1 = v0_1 - v2_1 while true do v0_1 = v0_1 + v2_1 if not (v0_1 <= v1_1) then break end ckou[#ckou + 1] = _ENV["layout" .. v0_1] end ckou = luajava.loadlayout(ckou) v0_1 = "floatWindow" v1_1 = {} v2_1 = FrameLayout v1_1.id = "motion" v1_1.elevation = "10dp" v1_1.onTouch = hanshu v3_1 = "onClick" function v4_1() return end v1_1[v3_1] = v4_1 v1_1.layout_width = "wrap_content" v1_1.orientation = "vertical" v1_1.gravity = "center_vertical" v1_1.layout_height = "wrap_content" v3_1 = {} v4_1 = LinearLayout v3_1.orientation = "vertical" v3_1.id = "chuangk" v3_1.visibility = "gone" v5_1 = {} v6_1 = FrameLayout v5_1.orientation = "horizontal" v5_1.padding = "2dp" v5_1.layout_width = "fill_parent" v7_1 = {} v8_1 = ImageView v7_1.layout_gravity = "center_vertical|left" v7_1.src = _ENV["获取图片"](xfcpic) v7_1.id = "titlebar" v7_1.layout_marginLeft = "2dp" v7_1.elevation = "2dp" v7_1.layout_marginRight = "2dp" v7_1.layout_marginTop = "2dp" v7_1.layout_marginBottom = "2dp" v7_1.background = getVerticalBG({4293914607, 4293914607}, 12) v7_1.padding = "2dp" v7_1.layout_width = "24dp" v7_1.layout_height = "24dp" v7_1.gravity = "center" v7_1.onClick = _ENV["隐藏"] v7_1.onTouch = hanshu v7_1[1] = v8_1 v8_1 = {} v9_1 = TextView v8_1.textSize = "14sp" v8_1.text = titlet v8_1.textColor = "#323232" v8_1.gravity = "center" v8_1.layout_marginLeft = "20dp" v8_1.layout_gravity = "center" v8_1.layout_width = "match_parent" v8_1.layout_height = "match_parent" v8_1[1] = v9_1 v9_1 = {} v10_1 = ImageView v9_1.layout_width = "24dp" v9_1.layout_height = "24dp" v9_1.layout_gravity = "center_vertical" v9_1.src = getRes("skin") v9_1.padding = "5dp" v9_1.layout_marginLeft = "44dp" v9_1.onClick = changebg v9_1.layout_marginRight = "2dp" v9_1.layout_marginTop = "2dp" v9_1.layout_marginBottom = "2dp" v9_1.background = getVerticalBG({4293914607, 4293914607}, 12) v9_1.elevation = "2dp" v9_1[1] = v10_1 v10_1 = {} v11_1 = LinearLayout v10_1.layout_gravity = "center_vertical|right" v10_1.padding = { "2dp", "2dp", "8dp", "2dp" } v10_1.layout_marginLeft = "2dp" v10_1.layout_marginRight = "2dp" v10_1.layout_marginTop = "2dp" v10_1.layout_marginBottom = "2dp" v10_1.layout_width = "40dp" v10_1.layout_height = "24dp" v10_1.gravity = "center" v10_1.onClick = _ENV["隐藏"] v10_1.onTouch = hanshu v12_1 = {} v13_1 = LinearLayout v12_1.layout_width = "6dp" v12_1.layout_height = "6dp" v12_1.background = getVerticalBG({4294950972, 4294950972}, 360) v12_1.layout_marginLeft = "2dp" v12_1.layout_marginRight = "2dp" v12_1[1] = v13_1 v13_1 = {} v14_1 = LinearLayout v13_1.layout_width = "6dp" v13_1.layout_height = "6dp" v13_1.background = getVerticalBG({4281781334, 4281781334}, 360) v13_1.layout_marginLeft = "2dp" v13_1.layout_marginRight = "2dp" v13_1[1] = v14_1 v14_1 = {} v15_1 = LinearLayout v14_1.layout_width = "6dp" v14_1.layout_height = "6dp" v14_1.background = getVerticalBG({4294917700, 4294917700}, 360) v14_1.layout_marginLeft = "2dp" v14_1.layout_marginRight = "2dp" v14_1[1] = v15_1 v10_1[1] = v11_1 v10_1[2] = v12_1 v10_1[3] = v13_1 v10_1[4] = v14_1 v5_1[1] = v6_1 v5_1[2] = v7_1 v5_1[3] = v8_1 v5_1[4] = v9_1 v5_1[5] = v10_1 v3_1[1] = v4_1 v3_1[2] = v5_1 v3_1[3] = ckou v4_1 = {} v5_1 = ScrollView v4_1.id = "ggscro" v4_1.layout_marginTop = "236dp" v4_1.layout_marginLeft = "82dp" v4_1.layout_height = "60dp" v4_1.layout_width = "235dp" v4_1.layout_margin = "3dp" v4_1.elevation = "2dp" v4_1.padding = "4dp" v4_1.background = getVerticalBG({4293914607, 4293914607}, 12) v6_1 = {} v7_1 = LinearLayout v6_1.id = "gggscro" v6_1.orientation = "vertical" v6_1.layout_width = "match_parent" v6_1.layout_height = "wrap_content" v6_1[1] = v7_1 v4_1[1] = v5_1 v4_1[2] = v6_1 v5_1 = {} v6_1 = ImageView v5_1.id = "control" v5_1.background = _ENV["获取图片"](xfcpic) v5_1.layout_width = "40dp" v5_1.layout_height = "40dp" v5_1.onTouch = hanshu v5_1.onClick = _ENV["隐藏"] v5_1[1] = v6_1 v1_1[1] = v2_1 v1_1[2] = v3_1 v1_1[3] = v4_1 v1_1[4] = v5_1 _ENV[v0_1] = v1_1 function v0_1() local v5_2, v6_2, v7_2 mainLayoutParams = getLayoutParams() floatWindow = luajava.loadlayout(floatWindow) function v5_2() local v0_3, v1_3, v2_3, v3_3, v4_3, v5_3, v6_3, v7_3, v8_3 v0_3 = 1 v1_3 = #stab v2_3 = 1 v0_3 = v0_3 - v2_3 while true do v0_3 = v0_3 + v2_3 if not (v0_3 <= v1_3) then break end v3_3 = v0_3 v4_3 = 1 v5_3 = #a0_1[v3_3] v6_3 = 1 v4_3 = v4_3 - v6_3 while true do v4_3 = v4_3 + v6_3 if not (v4_3 <= v5_3) then break end v7_3 = v4_3 v8_3 = _ENV["layoutm" .. v3_3] v8_3:addView(a0_1[v3_3][v7_3]) end end v0_3 = window v0_3:addView(floatWindow, mainLayoutParams) block("end") return end _ENV["切换"](1) v6_2 = luajava.getRunnable(v5_2) v7_2 = luajava.getHandler() v7_2:post(v6_2) block("join") return end v0_1(swib1, swib2) _ENV["隐藏"]() gg.setVisible(false) luajava.setFloatingWindowHide(true) qhkai = 0 v1_1 = "qiehuan" function v2_1() local v0_2, v1_2 if qhkai == 0 then qhkai = 1 draw.remove() v0_2 = luajava.runUiThread function v1_2() v0.controlSmall(floatWindow, 400) return end v0_2(v1_2) gg.sleep(400) v0_2 = luajava.runUiThread function v1_2() local v0_3 v0_3 = floatWindow v0_3:setVisibility(View.GONE) return end v0_2(v1_2) else qhkai = 0 huiz() draw.text(".", -9200, -9200) v0_2 = luajava.runUiThread function v1_2() local v0_3 v0_3 = floatWindow v0_3:setVisibility(View.VISIBLE) return end v0_2(v1_2) v0_2 = luajava.runUiThread function v1_2() v0.controlBig(floatWindow, 400) return end v0_2(v1_2) end return end _ENV[v1_1] = v2_1 huiz() draw.text(".", -9200, -9200) _ENV["隐藏"]() _ENV["隐藏"]() while tuichu ~= 1 do jianting3(qiehuan) gg.sleep(300) end luajava.setFloatingWindowHide(false) return end v0[v3] = v4 v3 = "controlRotation9" function v4(a0_1, a1_1, a2_1) local v0_1, v1_1 v0_1 = luajava.runUiThread function v1_1() local v0_2, v1_2 import("android.view.animation.Animation") import("android.animation.ObjectAnimator") v0_2 = "xuanzhuandonghua" v1_2 = ObjectAnimator _ENV[v0_2] = v1_2:ofFloat(a0_1, "rotation", { a1_1, a2_1 }) v0_2 = xuanzhuandonghua v0_2:setRepeatCount(0) v0_2 = xuanzhuandonghua v0_2:setRepeatMode(Animation.RESTART) v0_2 = xuanzhuandonghua v0_2:setDuration(400) v0_2 = xuanzhuandonghua v0_2:start() return end v0_1(v1_1) return end v0[v3] = v4 v3 = "uiadtext" function v4(a0_1, a1_1, a2_1) local v0_1, v1_1, v2_1 if not a0_1 then a0_1 = "" end if not a1_1 then a1_1 = "#000000" end if not a2_1 then a2_1 = "10sp" end v0_1 = luajava.loadlayout v1_1 = {} v2_1 = TextView v1_1.text = string.fromHtml(" " .. getTimeStamp(os.time()) .. " " .. a0_1 .. "") v1_1.textSize = a2_1 v1_1.gravity = "left" v1_1.layout_width = "wrap_content" v1_1[1] = v2_1 v0_1 = v0_1(v1_1) v1_1 = luajava.post function v2_1() local v0_2 v0_2 = gggscro v0_2:addView(v0_1) return end v1_1(v2_1) v1_1 = luajava.newThread function v2_1() local v0_2, v1_2 gg.sleep(100) v0_2 = luajava.post function v1_2() local v0_3 v0_3 = ggscro v0_3:fullScroll(View.FOCUS_DOWN) return end v0_2(v1_2) return end v1_1 = v1_1(v2_1) v1_1:start() return end _ENV[v3] = v4 v3 = "getTimeStamp" function v4(a0_1) return (os.date("%m-%d %H:%M:%S", a0_1)) end _ENV[v3] = v4 v3 = "addadView" function v4(a0_1) local v0_1 function v0_1() local v0_2 v0_2 = parentv v0_2:addView(a0_1) return end luajava.post(v0_1) return end _ENV[v3] = v4 v3 = "rmdadView" function v4(a0_1) local v0_1 function v0_1() local v0_2 v0_2 = parentv v0_2:removeView(a0_1) return end luajava.post(v0_1) return end _ENV[v3] = v4 v3 = "visi" function v4(a0_1, a1_1) local v0_1, v1_1, v2_1 v0_1 = vibra v0_1:vibrate(4) v0_1 = luajava.getIdValue(a0_1) v1_1 = luajava.getIdValue(a1_1) if not v0_1 then return 0 end if tonumber(tostring(v0_1:getVisibility())) == 8 then v0_1:setVisibility(View.VISIBLE) v2_1 = YoYoImpl v2_1 = v2_1:with("FadeIn") v2_1 = v2_1:duration(200) v2_1:playOn(boxes[a0_1]) v0.controlRotation9(boxpic[a0_1], 0, 90) else v0_1:setVisibility(View.GONE) v0.controlWater(_ENV[a0_1 .. "6"], 200) v0.controlRotation9(boxpic[a0_1], 90, 0) end return end _ENV[v3] = v4 boxes = {} boxpic = {} v3 = "box" function v4(a0_1) local v0_1, v1_1, v2_1, v3_1, v4_1, v5_1, v6_1, v7_1, v8_1, v9_1 v0_1 = "box" .. guid() v1_1 = boxpic v2_1 = luajava.loadlayout v3_1 = {} v4_1 = ImageView v3_1.background = getRes("hei_right") v3_1.layout_width = "24dp" v3_1.layout_height = "24dp" v3_1[1] = v4_1 v1_1[v0_1] = v2_1(v3_1) v1_1 = v0_1 .. "6" v2_1 = guid() v3_1 = "firadio" v4_1 = {} v5_1 = LinearLayout v4_1.layout_width = "fill_parent" v4_1.layout_height = "wrap_content" v4_1.layout_marginTop = "2dp" v4_1.layout_marginBottom = "2dp" v4_1.orientation = "vertical" v4_1[1] = v5_1 _ENV[v3_1] = v4_1 if type(a0_1[1]) ~= "string" and type(a0_1[1]) ~= "number" then gg.alert("changan.box的table内第一个元素必须是string") os.exit() else v3_1 = firadio v4_1 = #firadio + 1 v5_1 = {} v6_1 = LinearLayout v5_1.layout_width = "fill_parent" v5_1.layout_height = "40dp" v5_1.gravity = "center_vertical" v5_1.layout_marginTop = "2dp" v5_1.layout_marginLeft = "2dp" v5_1.layout_marginRight = "2dp" v5_1.elevation = "2dp" v5_1.layout_marginBottom = "4dp" v7_1 = "onClick" function v8_1() visi(v0_1, v1_1) return end v5_1[v7_1] = v8_1 v5_1.background = getButtonBG() v7_1 = {} v8_1 = TextView v7_1.text = a0_1[1] v7_1.textSize = "13sp" v7_1.layout_marginLeft = "15dp" v7_1.layout_width = "match_parent" v7_1.layout_weight = 1 v7_1.textColor = "#000000" v7_1.gravity = "left" v7_1[1] = v8_1 v8_1 = {} v9_1 = LinearLayout v8_1.padding = { "0dp", "0dp", "10dp", "0dp" } v8_1.layout_width = "30dp" v8_1.layout_height = "30dp" v8_1.gravity = "center" v8_1[1] = v9_1 v8_1[2] = boxpic[v0_1] v5_1[1] = v6_1 v5_1[2] = v7_1 v5_1[3] = v8_1 v3_1[v4_1] = v5_1 end v3_1 = "radios" v4_1 = {} v5_1 = LinearLayout v4_1.layout_marginLeft = "0dp" v4_1.layout_marginRight = "0dp" v4_1.orientation = "vertical" v4_1.visibility = "gone" v4_1.id = luajava.newId(v0_1) v4_1.padding = "0dp" v4_1.layout_width = "fill_parent" v4_1[1] = v5_1 _ENV[v3_1] = v4_1 v4_1 = #a0_1 v5_1 = 1 v3_1 = 2 - v5_1 while true do v3_1 = v3_1 + v5_1 if not (v3_1 <= v4_1) then break end radios[#radios + 1] = a0_1[v3_1] end boxes[v0_1] = luajava.loadlayout(radios) firadio[#firadio + 1] = boxes[v0_1] _ENV[v2_1] = luajava.loadlayout(firadio) return _ENV[v2_1] end v0[v3] = v4 corbk = true _ENV["当前ui"] = 1 v3 = "切换" function v4(a0_1) local v0_1, v1_1 _ENV["当前ui"] = a0_1 v0_1 = luajava.runUiThread function v1_1() local v0_2, v1_2, v2_2, v3_2, v4_2 v0_2 = 1 v1_2 = #stab v2_2 = 1 v0_2 = v0_2 - v2_2 while true do v0_2 = v0_2 + v2_2 if not (v0_2 <= v1_2) then break end v3_2 = v0_2 v4_2 = _ENV["jmt" .. v3_2] v4_2:setTextColor(4278190080) v4_2 = _ENV["jmp" .. v3_2] v4_2:setColorFilter(4292335575) v4_2 = _ENV["layout" .. v3_2] v4_2:setVisibility(View.GONE) end v0_2 = _ENV["jmt" .. _ENV["当前ui"]] v0_2:setTextColor(4278215423) v0_2 = _ENV["jmp" .. _ENV["当前ui"]] v0_2:setColorFilter(4278215423) v0_2 = _ENV["layout" .. _ENV["当前ui"]] v0_2:setVisibility(View.VISIBLE) return end v0_1(v1_1) return end _ENV[v3] = v4 _ENV["显示"] = 0 v3 = "beij2" v4 = luajava.loadlayout v5 = {} v6 = GradientDrawable v5.color = "#001E1C27" v5.cornerRadius = 10 v5[1] = v6 _ENV[v3] = v4(v5) nowbg = 1 v3 = "changebg" function v4() local v0_1, v1_1 v0_1 = luajava.runUiThread function v1_1() local v0_2 if nowbg < #bglist then nowbg = nowbg + 1 else nowbg = 1 end beij = bglist[nowbg] v0_2 = floatWindow v0_2:setBackground(beij) v0_2 = YoYoImpl v0_2 = v0_2:with("FadeIn") v0_2 = v0_2:duration(600) v0_2:playOn(floatWindow) return end v0_1(v1_1) return end _ENV[v3] = v4 v3 = "getcolor" function v4(a0_1) local v0_1, v1_1, v2_1, v3_1 a0_1[1] = tonumber(math.ceil(a0_1[1] * 2.6, 0, 5)) if 255 < a0_1[1] then a0_1[1] = "0xff" else a0_1[1] = "0x" .. string.format("%x", a0_1[1]) end v1_1 = 3 v2_1 = 1 v0_1 = 1 - v2_1 while true do v0_1 = v0_1 + v2_1 if not (v0_1 <= v1_1) then break end v3_1 = v0_1 a0_1[v3_1 + 1] = string.format("%x", a0_1[v3_1 + 1]) if string.len(a0_1[v3_1 + 1]) == 1 then a0_1[v3_1 + 1] = "0" .. a0_1[v3_1 + 1] end end return a0_1[1] .. a0_1[2] .. a0_1[3] .. a0_1[4] end _ENV[v3] = v4 v3 = "getrgb" function v4(a0_1) if string.sub(a0_1, 1, 1) == "#" then a0_1 = "0x" .. string.sub(a0_1, 2, -1) end return { tonumber(string.sub(a0_1, 0, 4)), tonumber("0x" .. string.sub(a0_1, 5, 6)), tonumber("0x" .. string.sub(a0_1, 7, 8)) } end _ENV[v3] = v4 _ENV["显示"] = 0 v3 = "隐藏" function v4() local v0_1, v1_1 v0_1 = luajava.runUiThread function v1_1() local v0_2, v1_2, v2_2 v0_2 = tonumber v1_2 = tostring v2_2 = chuangk if v0_2(v1_2(v2_2:getVisibility())) == 8 then v0_2 = control v0_2:setVisibility(View.GONE) _ENV["显示"] = 1 v0_2 = ggscro v0_2:setVisibility(View.VISIBLE) v0_2 = chuangk v0_2:setVisibility(View.VISIBLE) v0_2 = _ENV["layout" .. _ENV["当前ui"]] v0_2:setVisibility(View.VISIBLE) v0.controlBig(floatWindow, 500) v0_2 = floatWindow v0_2:setBackground(beij) else v0_2 = ggscro v0_2:setVisibility(View.GONE) v0_2 = chuangk v0_2:setVisibility(View.GONE) v0_2 = floatWindow v0_2:setBackground(beij2) v0_2 = control v0_2:setVisibility(View.VISIBLE) _ENV["显示"] = 0 v0_2 = _ENV["layout" .. _ENV["当前ui"]] v0_2:setVisibility(View.GONE) end return end v0_1(v1_1) return end _ENV[v3] = v4 import("android.media.AudioManager") v3 = "audi" v4 = context _ENV[v3] = v4:getSystemService("audio") audiotype = { AudioManager.STREAM_ALARM, AudioManager.STREAM_MUSIC, AudioManager.STREAM_NOTIFICATION, AudioManager.STREAM_RING, AudioManager.STREAM_SYSTEM, AudioManager.STREAM_VOICE_CALL, AudioManager.STREAM_DTMF } yinl = {} v3 = 1 v4 = #audiotype v5 = 1 v3 = v3 - v5 while true do v3 = v3 + v5 if not (v3 <= v4) then break end v6 = v3 yinl[v6] = { ["type"] = audiotype[v6] } v7 = yinl[v6] v8 = "min" v9 = audi v7[v8] = v9:getStreamMinVolume(audiotype[v6]) v7 = yinl[v6] v8 = "max" v9 = audi v7[v8] = v9:getStreamMaxVolume(audiotype[v6]) v7 = yinl[v6] v8 = "now" v9 = audi v7[v8] = v9:getStreamVolume(audiotype[v6]) end v3 = "jianting2" function v4() local v0_1, v1_1, v2_1, v3_1, v4_1, v5_1, v6_1 yinln = {} v0_1 = 1 v1_1 = #audiotype v2_1 = 1 v0_1 = v0_1 - v2_1 while true do v0_1 = v0_1 + v2_1 if not (v0_1 <= v1_1) then break end v3_1 = v0_1 yinln[v3_1] = { ["type"] = audiotype[v3_1] } v4_1 = yinln[v3_1] v5_1 = "min" v6_1 = audi v4_1[v5_1] = v6_1:getStreamMinVolume(audiotype[v3_1]) v4_1 = yinln[v3_1] v5_1 = "max" v6_1 = audi v4_1[v5_1] = v6_1:getStreamMaxVolume(audiotype[v3_1]) v4_1 = yinln[v3_1] v5_1 = "now" v6_1 = audi v4_1[v5_1] = v6_1:getStreamVolume(audiotype[v3_1]) if yinl[v3_1].now < yinln[v3_1].now then v4_1 = audi v4_1:adjustStreamVolume(yinln[v3_1].type, AudioManager.ADJUST_LOWER, 0) gg.alert("up") elseif yinln[v3_1].now < yinl[v3_1].now then v4_1 = audi v4_1:adjustStreamVolume(yinln[v3_1].type, AudioManager.ADJUST_RAISE, 0) gg.alert("down\n" .. yinln[v3_1].now .. "\n" .. yinl[v3_1].now) end end return end _ENV[v3] = v4 yltype = 0 v3 = "jianting3" function v4(a0_1) local v0_1, v1_1, v2_1, v3_1, v4_1, v5_1, v6_1 yinln = {} v0_1 = 1 v1_1 = #audiotype v2_1 = 1 v0_1 = v0_1 - v2_1 while true do v0_1 = v0_1 + v2_1 if not (v0_1 <= v1_1) then break end v3_1 = v0_1 yinln[v3_1] = { ["type"] = audiotype[v3_1] } v4_1 = yinln[v3_1] v5_1 = "now" v6_1 = audi v4_1[v5_1] = v6_1:getStreamVolume(audiotype[v3_1]) if yinl[v3_1].now < yinln[v3_1].now then yinl[v3_1].now = yinln[v3_1].now if yltype == 1 then yltype = 0 a0_1() end elseif yinln[v3_1].now < yinl[v3_1].now then yinl[v3_1].now = yinln[v3_1].now if yltype == 0 then yltype = 1 a0_1() end end end return end _ENV[v3] = v4 v3 = "jianting" function v4(a0_1) local v0_1, v1_1, v2_1, v3_1, v4_1, v5_1, v6_1 yinln = {} v0_1 = 1 v1_1 = #audiotype v2_1 = 1 v0_1 = v0_1 - v2_1 while true do v0_1 = v0_1 + v2_1 if not (v0_1 <= v1_1) then break end v3_1 = v0_1 yinln[v3_1] = { ["type"] = audiotype[v3_1] } v4_1 = yinln[v3_1] v5_1 = "now" v6_1 = audi v4_1[v5_1] = v6_1:getStreamVolume(audiotype[v3_1]) if yinl[v3_1].max <= yinln[v3_1].now then v4_1 = audi v4_1:adjustStreamVolume(yinln[v3_1].type, AudioManager.ADJUST_LOWER, 0) end if yinl[v3_1].now < yinln[v3_1].now then v4_1 = audi v4_1:setStreamVolume(yinln[v3_1].type, yinl[v3_1].now, 0) a0_1() end end return end _ENV[v3] = v4 v3 = "guid" function v4() local v0_1, v1_1, v2_1 seed = { "e", "1", "2", "3", "4", "5", "6", "7", "8", "9", "a", "b", "c", "d", "e", "f" } tb = {} v1_1 = 32 v2_1 = 1 v0_1 = 1 - v2_1 while true do v0_1 = v0_1 + v2_1 if not (v0_1 <= v1_1) then break end table.insert(tb, seed[math.random(1, 16)]) end sid = table.concat(tb) return string.format("%s%s%s%s%s", string.sub(sid, 1, 8), string.sub(sid, 10, 12), string.sub(sid, 21, 22)) .. string.format("%s%s%s%s%s", string.sub(sid, 1, 6), string.sub(sid, 21, 25)) end _ENV[v3] = v4 function v3() local v0_1, v1_1 tuichu = 1 luajava.setFloatingWindowHide(false) v0_1 = luajava.post function v1_1() local v0_2 v0_2 = window v0_2:removeView(floatWindow) return end v0_1(v1_1) return end setExitEvent(v3) v4 = "controlWater" function v5(a0_1, a1_1) local v0_1, v1_1 v0_1 = luajava.runUiThread function v1_1() local v0_2 import("android.animation.ObjectAnimator") v0_2 = ObjectAnimator() v0_2 = v0_2:ofFloat(a0_1, "scaleX", { 1, 0.8, 0.9, 1 }) v0_2 = v0_2:setDuration(a1_1) v0_2:start() v0_2 = ObjectAnimator() v0_2 = v0_2:ofFloat(a0_1, "scaleY", { 1, 0.8, 0.9, 1 }) v0_2 = v0_2:setDuration(a1_1) v0_2:start() return end v0_1(v1_1) return end v0[v4] = v5 v4 = "controlSmall" function v5(a0_1, a1_1) local v0_1, v1_1 v0_1 = luajava.runUiThread function v1_1() local v0_2 import("android.animation.ObjectAnimator") v0_2 = ObjectAnimator() v0_2 = v0_2:ofFloat(a0_1, "scaleX", { 1, 0.7, 0.4, 0 }) v0_2 = v0_2:setDuration(a1_1) v0_2:start() v0_2 = ObjectAnimator() v0_2 = v0_2:ofFloat(a0_1, "scaleY", { 1, 0.7, 0.4, 0 }) v0_2 = v0_2:setDuration(a1_1) v0_2:start() return end v0_1(v1_1) return end v0[v4] = v5 v4 = "controlBig" function v5(a0_1, a1_1) local v0_1, v1_1 v0_1 = luajava.runUiThread function v1_1() local v0_2 import("android.animation.ObjectAnimator") v0_2 = ObjectAnimator() v0_2 = v0_2:ofFloat(a0_1, "scaleX", { 0, 0.4, 0.7, 1 }) v0_2 = v0_2:setDuration(a1_1) v0_2:start() v0_2 = ObjectAnimator() v0_2 = v0_2:ofFloat(a0_1, "scaleY", { 0, 0.4, 0.7, 1 }) v0_2 = v0_2:setDuration(a1_1) v0_2:start() return end v0_1(v1_1) return end v0[v4] = v5 v4 = "开关3" function v5(a0_1, a1_1, a2_1, a3_1) local v0_1, v1_1 v0_1 = a0_1 a0_1 = a0_1 .. guid() _ENV[a0_1] = "关" if a1_1 == nil then function v1_1() return end a1_1 = v1_1 end if a2_1 == nil then function v1_1() return end a2_1 = v1_1 end if type(a1_1) ~= "function" then return end function v1_1() local v0_2, v1_2 namers = _ENV[a0_1] if namers ~= "开" then v0_2 = luajava.runUiThread function v1_2() local v0_3 v0.controlWater(_ENV[a3_1], 200) v0_3 = luajava.getIdValue(a3_1) v0_3:setBackground(check2) v0_3 = luajava.getIdValue(a3_1 .. "k") v0_3:setVisibility(View.GONE) v0_3 = luajava.getIdValue(a3_1 .. "g") v0_3:setVisibility(View.VISIBLE) return end v0_2(v1_2) _ENV[a0_1] = "开" v0_2 = vibra v0_2:vibrate(6) pcall(a1_1) uiadtext(v0_1 .. " 已开启.", "#161616") else v0_2 = luajava.runUiThread function v1_2() local v0_3 v0.controlWater(_ENV[a3_1], 200) v0_3 = luajava.getIdValue(a3_1) v0_3:setBackground(check1) v0_3 = luajava.getIdValue(a3_1 .. "g") v0_3:setVisibility(View.GONE) v0_3 = luajava.getIdValue(a3_1 .. "k") v0_3:setVisibility(View.VISIBLE) return end v0_2(v1_2) _ENV[a0_1] = "关" v0_2 = vibra v0_2:vibrate(6) pcall(a2_1) uiadtext(v0_1 .. " 已关闭.", "#545454") end return end return v1_1 end _ENV[v4] = v5 v4 = "getShape3" function v5() local v0_1 jianbians = luajava.new(GradientDrawable) v0_1 = jianbians v0_1:setCornerRadius(20) v0_1 = jianbians v0_1:setGradientType(GradientDrawable.LINEAR_GRADIENT) v0_1 = jianbians v0_1:setColors({1442815420, 1442815420}) v0_1 = jianbians v0_1:setOrientation(GradientDrawable.Orientation.LEFT_RIGHT) v0_1 = jianbians v0_1:setStroke(8, 2860565497) return jianbians end _ENV[v4] = v5 v4 = "getShape" function v5(a0_1, a1_1, a2_1, a3_1) local v0_1 jianbians = luajava.new(GradientDrawable) v0_1 = jianbians v0_1:setCornerRadius(a0_1) v0_1 = jianbians v0_1:setGradientType(GradientDrawable.LINEAR_GRADIENT) v0_1 = jianbians v0_1:setColors(a1_1) v0_1 = jianbians v0_1:setOrientation(GradientDrawable.Orientation.LEFT_RIGHT) v0_1 = jianbians v0_1:setStroke(8, a3_1) return jianbians end _ENV[v4] = v5 v4 = "getShape2" function v5(a0_1, a1_1, a2_1, a3_1) local v0_1 jianbians = luajava.new(GradientDrawable) v0_1 = jianbians v0_1:setCornerRadius(a0_1) v0_1 = jianbians v0_1:setGradientType(GradientDrawable.LINEAR_GRADIENT) v0_1 = jianbians v0_1:setColors(a1_1) v0_1 = jianbians v0_1:setOrientation(GradientDrawable.Orientation.LEFT_RIGHT) v0_1 = jianbians v0_1:setStroke(15, a3_1) return jianbians end _ENV[v4] = v5 v4 = "getShape0" function v5(a0_1, a1_1, a2_1, a3_1) local v0_1 jianbians = luajava.new(GradientDrawable) v0_1 = jianbians v0_1:setCornerRadius(a0_1) v0_1 = jianbians v0_1:setGradientType(GradientDrawable.LINEAR_GRADIENT) v0_1 = jianbians v0_1:setColors(a1_1) v0_1 = jianbians v0_1:setOrientation(GradientDrawable.Orientation.LEFT_RIGHT) v0_1 = jianbians v0_1:setStroke(30, a3_1) return jianbians end _ENV[v4] = v5 checkbg1 = getRes("quarkcheckoff") checkbg2 = getRes("quarkcheckon") switchs = {} v4 = "intcheck" function v5(a0_1, a1_1, a2_1) local v0_1, v1_1, v2_1, v3_1, v4_1, v5_1, v6_1, v7_1, v8_1, v9_1 nid = a0_1 .. guid() v0_1 = _ENV["开关5"](a0_1, a1_1, a2_1, nid) if not a0_1 then a0_1 = "未设置" end v1_1 = switchs v2_1 = nid v3_1 = {} v4_1 = LinearLayout v3_1.layout_width = "match_parent" v3_1.layout_weight = 1 v3_1.layout_height = "42dp" v3_1.layout_marginTop = "1dp" v3_1.layout_marginBottom = "1dp" v3_1.padding = "1dp" v5_1 = {} v6_1 = LinearLayout v5_1.padding = "3dp" v7_1 = "onClick" function v8_1() local v0_2, v1_2 v0_2 = luajava.newThread function v1_2() v0_1() return end v0_2 = v0_2(v1_2) v0_2:start() return end v5_1[v7_1] = v8_1 v5_1.layout_width = "fill_parent" v5_1.layout_height = "wrap_content" v5_1.gravity = "center_vertical" v7_1 = {} v8_1 = FrameLayout v7_1.id = luajava.newId(nid) v7_1.background = checkbg1 v7_1.layout_width = "32dp" v7_1.layout_height = "32dp" v7_1.padding = "0dp" v7_1[1] = v8_1 v8_1 = {} v9_1 = TextView v8_1.id = luajava.newId(nid .. "t") v8_1.gravity = "left" v8_1.text = a0_1 v8_1.textColor = _ENV["check字体颜色"] v8_1.textSize = "14sp" v8_1.layout_width = "match_parent" v8_1.layout_weight = 1 v8_1[1] = v9_1 v5_1[1] = v6_1 v5_1[2] = v7_1 v5_1[3] = v8_1 v3_1[1] = v4_1 v3_1[2] = v5_1 v1_1[v2_1] = v3_1 return switchs[nid] end v0[v4] = v5 v4 = "开关5" function v5(a0_1, a1_1, a2_1, a3_1) local v1_1, v2_1 v1_1 = a0_1 a0_1 = a0_1 .. guid() _ENV[a0_1] = "关" if a1_1 == nil then a1_1 = "" end if a2_1 == nil then a2_1 = "" end if type(a1_1) ~= "function" then return end function v2_1() local v0_2, v1_2 namers = _ENV[a0_1] if namers ~= "开" then v0_2 = vibra v0_2:vibrate(9) v0_2 = luajava.runUiThread function v1_2() local v0_3 v0_3 = luajava.getIdValue(a3_1) v0_3:setBackground(checkbg2) v0_3 = luajava.getIdValue(a3_1 .. "t") v0_3:setTextColor(_ENV["switch颜色"]) return end v0_2(v1_2) _ENV[a0_1] = "开" pcall(a1_1) uiadtext(v1_1 .. " 已开启.", "#161616") else v0_2 = vibra v0_2:vibrate(9) v0_2 = luajava.runUiThread function v1_2() local v0_3 v0_3 = luajava.getIdValue(a3_1) v0_3:setBackground(checkbg1) v0_3 = luajava.getIdValue(a3_1 .. "t") v0_3:setTextColor(4280492835) return end v0_2(v1_2) _ENV[a0_1] = "关" pcall(a2_1) uiadtext(v1_1 .. " 已关闭.", "#545454") end return end return v2_1 end _ENV[v4] = v5 v4 = "check" function v5(a0_1) local v0_1, v1_1, v2_1, v3_1, v4_1, v5_1, v6_1, v7_1, v8_1, v9_1, v10_1, v11_1, v12_1, v13_1 if #a0_1 == 0 then return nil end v0_1 = {} v1_1 = LinearLayout v0_1.layout_width = "fill_parent" v0_1.layout_height = "wrap_content" v0_1.gravity = "center" v0_1.orientation = "vertical" v0_1[1] = v1_1 v2_1 = #a0_1 v3_1 = 2 v1_1 = 1 - v3_1 while true do v1_1 = v1_1 + v3_1 if not (v1_1 <= v2_1) then break end v4_1 = v1_1 v5_1 = {} v6_1 = LinearLayout v5_1.layout_width = "fill_parent" v5_1.layout_height = "wrap_content" v5_1.gravity = "left" v5_1.orientation = "horizontal" v5_1[1] = v6_1 v7_1 = 1 v8_1 = 1 v6_1 = 0 - v8_1 while true do v6_1 = v6_1 + v8_1 if not (v6_1 <= v7_1) then break end v9_1 = v6_1 if a0_1[v4_1 + v9_1] ~= nil then v10_1 = a0_1[v4_1 + v9_1][1] v11_1 = a0_1[v4_1 + v9_1][2] v12_1 = a0_1[v4_1 + v9_1][3] if not v10_1 then v10_1 = "未设置" end rstt = v0.intcheck(v10_1, v11_1, v12_1) table.insert(v5_1, rstt) else v10_1 = table.insert v11_1 = v5_1 v12_1 = {} v13_1 = LinearLayout v12_1.layout_width = "match_parent" v12_1.layout_weight = 1 v12_1[1] = v13_1 v10_1(v11_1, v12_1) end end table.insert(v0_1, v5_1) end return (luajava.loadlayout(v0_1)) end v0[v4] = v5 switches = {} v4 = "开关3" function v5(a0_1, a1_1, a2_1, a3_1) local v0_1, v1_1, v2_1 v0_1 = a3_1 v1_1 = a0_1 a0_1 = a0_1 .. guid() _ENV[a0_1] = "关" if a1_1 == nil then a1_1 = "" end if a2_1 == nil then a2_1 = "" end if type(a1_1) ~= "function" then return end function v2_1() local v0_2, v1_2 namers = _ENV[a0_1] if namers ~= "开" then v0_2 = vibra v0_2:vibrate(9) v0_2 = luajava.runUiThread function v1_2() local v0_3 v0_3 = luajava.getIdValue(a3_1 .. "k") v0_3:setVisibility(View.GONE) v0_3 = YoYoImpl v0_3 = v0_3:with("ZoomInLeft") v0_3 = v0_3:duration(600) v0_3:playOn(switches["2s" .. v0_1]) v0_3 = luajava.getIdValue(a3_1 .. "g") v0_3:setVisibility(View.VISIBLE) v0_3 = luajava.getIdValue(a3_1) v0_3:setBackground(checkbg) return end v0_2(v1_2) _ENV[a0_1] = "开" pcall(a1_1) uiadtext(v1_1 .. " 已开启.", "#161616") else v0_2 = vibra v0_2:vibrate(9) v0_2 = luajava.runUiThread function v1_2() local v0_3 v0_3 = luajava.getIdValue(a3_1 .. "g") v0_3:setVisibility(View.GONE) v0_3 = YoYoImpl v0_3 = v0_3:with("ZoomInRight") v0_3 = v0_3:duration(600) v0_3:playOn(switches["1s" .. v0_1]) v0_3 = luajava.getIdValue(a3_1 .. "k") v0_3:setVisibility(View.VISIBLE) v0_3 = luajava.getIdValue(a3_1) v0_3:setBackground(checkbga) return end v0_2(v1_2) _ENV[a0_1] = "关" pcall(a2_1) uiadtext(v1_1 .. " 已关闭.", "#545454") end return end if v1_1 == "摇一摇隐藏UI" then yyfunc = v2_1 end if v1_1 == "音量键隐藏UI" then ylfunc = v2_1 end return v2_1 end _ENV[v4] = v5 v4 = "switch" function v5(a0_1, a1_1, a2_1, a3_1) local v0_1, v1_1, v2_1, v3_1, v4_1, v5_1, v6_1, v7_1, v8_1, v9_1, v10_1, v11_1, v12_1 if not checkbg then checkbg = getShape2(45, { _ENV["switch颜色"], _ENV["switch颜色"] }, 4, _ENV["switch颜色"]) checkbg0 = getShape2(45, {4280492835, 4280492835}, 4, 16777215) checkbga = getShape2(45, {4293322470, 4293322470}, 4, 4293322470) switchbg1 = getShape(45, {4294967295, 4294967295}, 4, 4294967295) v0_1 = "switchbg2" v1_1 = luajava.loadlayout v2_1 = {} v3_1 = GradientDrawable v2_1.color = "#ffffff" v2_1.cornerRadius = 360 v2_1[1] = v3_1 _ENV[v0_1] = v1_1(v2_1) end nid = a0_1 .. guid() v0_1 = _ENV["开关3"](a0_1, a1_1, a2_1, nid) if not a0_1 then a0_1 = "未设置" end v1_1 = switches v2_1 = "1s" .. nid v3_1 = luajava.loadlayout v4_1 = {} v5_1 = FrameLayout v4_1.layout_width = "40dp" v4_1.layout_height = "20dp" v4_1.gravity = "center_vertical" v4_1.padding = { "1dp", "0dp", "1dp", "0dp" } v6_1 = {} v7_1 = LinearLayout v6_1.layout_gravity = "left|center_vertical" v6_1.id = luajava.newId(nid .. "k") v6_1.background = switchbg1 v8_1 = "onClick" function v9_1() local v0_2, v1_2 v0_2 = luajava.newThread function v1_2() v0_1() return end v0_2 = v0_2(v1_2) v0_2:start() return end v6_1[v8_1] = v9_1 v6_1.layout_width = "17dp" v6_1.layout_height = "17dp" v6_1[1] = v7_1 v4_1[1] = v5_1 v4_1[2] = v6_1 v1_1[v2_1] = v3_1(v4_1) v1_1 = switches v2_1 = "2s" .. nid v3_1 = luajava.loadlayout v4_1 = {} v5_1 = FrameLayout v6_1 = "onClick" function v7_1() local v0_2, v1_2 v0_2 = luajava.newThread function v1_2() v0_1() return end v0_2 = v0_2(v1_2) v0_2:start() return end v4_1[v6_1] = v7_1 v4_1.layout_width = "40dp" v4_1.layout_height = "20dp" v4_1.gravity = "center_vertical" v4_1.padding = { "1dp", "0dp", "1dp", "0dp" } v6_1 = {} v7_1 = LinearLayout v6_1.visibility = "gone" v6_1.layout_gravity = "right|center_vertical" v6_1.id = luajava.newId(nid .. "g") v6_1.background = switchbg2 v8_1 = "onClick" function v9_1() local v0_2, v1_2 v0_2 = luajava.newThread function v1_2() v0_1() return end v0_2 = v0_2(v1_2) v0_2:start() return end v6_1[v8_1] = v9_1 v6_1.layout_width = "17dp" v6_1.layout_height = "17dp" v6_1[1] = v7_1 v4_1[1] = v5_1 v4_1[2] = v6_1 v1_1[v2_1] = v3_1(v4_1) v1_1 = "rest" v2_1 = luajava.loadlayout v3_1 = {} v4_1 = LinearLayout v3_1.layout_width = "fill_parent" v3_1.layout_height = "wrap_content" v3_1.gravity = "center_vertical" v5_1 = {} v6_1 = LinearLayout v5_1.layout_width = "fill_parent" v5_1.layout_height = "40dp" v5_1.gravity = "center_vertical" v5_1.layout_marginLeft = "2dp" v5_1.layout_marginRight = "2dp" v5_1.layout_marginTop = "2dp" v5_1.layout_marginBottom = "2dp" v5_1.elevation = "2dp" v7_1 = "background" v8_1 = luajava.loadlayout v9_1 = {} v10_1 = GradientDrawable v9_1.color = _ENV["按钮颜色"] v9_1.cornerRadius = 12 v9_1[1] = v10_1 v5_1[v7_1] = v8_1(v9_1) v5_1.padding = { "0dp", "0dp", "6dp", "0dp" } v7_1 = {} v8_1 = TextView v7_1.gravity = "top" v7_1.text = a0_1 v7_1.textColor = "#000000" v7_1.textSize = "13sp" v7_1.layout_weight = 1 v7_1.layout_width = "80dp" v7_1.layout_marginLeft = "10dp" v7_1.layout_marginRight = "20dp" v7_1[1] = v8_1 v8_1 = {} v9_1 = TextView v8_1.gravity = "center" v8_1.layout_height = "match_parent" v8_1.text = a3_1 v8_1.textSize = "11sp" v8_1.layout_width = "wrap_content" v8_1.layout_marginLeft = "-50dp" v8_1.layout_weight = 1 v8_1.textColor = "#A5A5A5" v8_1[1] = v9_1 v9_1 = {} v10_1 = FrameLayout v9_1.id = luajava.newId(nid) v9_1.background = checkbga v9_1.elevation = "1dp" v11_1 = "onClick" function v12_1() local v0_2, v1_2 v0_2 = luajava.newThread function v1_2() v0_1() return end v0_2 = v0_2(v1_2) v0_2:start() return end v9_1[v11_1] = v12_1 v9_1.layout_width = "wrap_content" v9_1.layout_height = "wrap_content" v9_1.gravity = "left" v9_1.padding = "1dp" v9_1[1] = v10_1 v9_1[2] = switches["1s" .. nid] v9_1[3] = switches["2s" .. nid] v5_1[1] = v6_1 v5_1[2] = v7_1 v5_1[3] = v8_1 v5_1[4] = v9_1 v3_1[1] = v4_1 v3_1[2] = v5_1 _ENV[v1_1] = v2_1(v3_1) return rest end v0[v4] = v5 v4 = "initbg" function v5() local v0_1 jianbians = luajava.new(GradientDrawable) v0_1 = jianbians v0_1:setCornerRadius(10) v0_1 = jianbians v0_1:setGradientType(GradientDrawable.LINEAR_GRADIENT) v0_1 = jianbians v0_1:setColors({4294967295, 4294967295}) v0_1 = jianbians v0_1:setOrientation(GradientDrawable.Orientation.LEFT_RIGHT) v0_1 = jianbians v0_1:setStroke(0, 4278190080) return jianbians end _ENV[v4] = v5 buts = {} heir = getRes("heir") v4 = "button" function v5(a0_1, a1_1, a2_1) local v0_1, v1_1, v2_1, v3_1, v4_1, v5_1, v6_1, v7_1, v8_1, v9_1 if not a0_1 then a0_1 = "未设置" end if not a2_1 then a2_1 = "#000000" end v0_1 = "Cbutton" .. guid() v1_1 = buts v2_1 = luajava.loadlayout v3_1 = {} v4_1 = LinearLayout v3_1.layout_width = "match_parent" v3_1.layout_height = "wrap_content" v5_1 = {} v6_1 = LinearLayout v5_1.layout_width = "fill_parent" v5_1.gravity = "center_vertical" v5_1.layout_marginTop = "5dp" v5_1.layout_marginBottom = "5dp" v5_1.layout_marginLeft = "3dp" v5_1.layout_marginRight = "3dp" v5_1.elevation = "2dp" v5_1.background = getButtonBG() v5_1.padding = "10dp" v7_1 = "onClick" function v8_1() local v0_2 v0.controlWater(buts[v0_1], 300) uiadtext("执行 " .. a0_1, "#161616") v0_2 = luajava.newThread(a1_1) v0_2:start() return end v5_1[v7_1] = v8_1 v7_1 = {} v8_1 = TextView v7_1.textColor = a2_1 v7_1.text = a0_1 v7_1.textSize = "13sp" v7_1.layout_height = "wrap_content" v7_1.layout_width = "fill_parent" v7_1.layout_weight = 1 v7_1[1] = v8_1 v8_1 = {} v9_1 = ImageView v8_1.src = heir v8_1.layout_height = "14dp" v8_1.layout_width = "14dp" v8_1[1] = v9_1 v5_1[1] = v6_1 v5_1[2] = v7_1 v5_1[3] = v8_1 v3_1[1] = v4_1 v3_1[2] = v5_1 v1_1[v0_1] = v2_1(v3_1) return buts[v0_1] end v0[v4] = v5 v4 = "text" function v5(a0_1, a1_1, a2_1) local v0_1, v1_1, v2_1 if not a0_1 then a0_1 = "未设置文字" end if not a1_1 then a1_1 = "#" .. _ENV["颜色2"] end if not a2_1 then a2_1 = "18sp" end v0_1 = luajava.loadlayout v1_1 = {} v2_1 = TextView v1_1.text = a0_1 v1_1.textSize = a2_1 v1_1.textColor = a1_1 v1_1.layout_width = "wrap_content" v1_1[1] = v2_1 return (v0_1(v1_1)) end v0[v4] = v5 v4 = "开关" function v5(a0_1, a1_1, a2_1) local v0_1 if a1_1 == nil then function v0_1() return end a1_1 = v0_1 end if a2_1 == nil then function v0_1() return end a2_1 = v0_1 end if type(a1_1) ~= "function" then return end function v0_1() namers = _ENV[a0_1] if namers ~= "开" then _ENV[a0_1] = "开" pcall(a1_1) uiadtext(a0_1 .. " 已开启.", "#161616") else _ENV[a0_1] = "关" pcall(a2_1) uiadtext(a0_1 .. " 已关闭.", "#545454") end return end return v0_1 end _ENV[v4] = v5 _ENV["颜色1"] = "80C3F9" _ENV["颜色2"] = "545454" v4 = "开关2" function v5(a0_1, a1_1, a2_1, a3_1) local v0_1 if a1_1 == nil then a1_1 = "" end if a2_1 == nil then a2_1 = "" end if type(a1_1) ~= "function" then return end function v0_1() local v0_2, v1_2 namers = _ENV[a0_1] if namers ~= "开" then v0_2 = luajava.runUiThread function v1_2() local v0_3 v0_3 = luajava.getIdValue(a3_1) v0_3.setBackground(v0_3, luajava.getBitmapDrawable("/sdcard/冷烁尊享版范围/图片/check2")) return end v0_2(v1_2) _ENV[a0_1] = "开" a1_1() uiadtext(a0_1 .. " 已开启.", "#161616") else v0_2 = luajava.runUiThread function v1_2() local v0_3 v0_3 = luajava.getIdValue(a3_1) v0_3.setBackground(v0_3, luajava.getBitmapDrawable("/sdcard/冷烁尊享版范围/图片/check1")) return end v0_2(v1_2) _ENV[a0_1] = "关" a2_1() uiadtext(a0_1 .. " 已关闭.", "#545454") end return end return v0_1 end _ENV[v4] = v5 v4 = json v5 = { ["file"] = gg.getFile(), ["sel"] = nil } gqlb = { "请先搜索歌曲" } idb = {"1010"} v6 = "SN" v8 = 1 gc = nil _ENV[v6] = v8 v6 = "config" v7 = gg.getFile() v5[v6] = v7:gsub("%lua$", "") .. "cfg" v6 = "bei" function v7() v5.data = loadfile("-- WSG PRO 1.0.9(109)\n" .. v5.config) if v5.data ~= nil then v5.sel = v5.data() v5.data = nil end if v5.sel == nil then v5.sel = { "请输入歌曲名", "10" } end return end _ENV[v6] = v7 bei() v6 = "start" function v7(a0_1, a1_1) fw = gg.makeRequest("http://music.163.com/api/search/get?s=" .. a0_1 .. "&type=1&offset=0&total=true&limit=" .. a1_1) return fw end _ENV[v6] = v7 v6 = "play" function v7(a0_1, a1_1) gg.toast("正在播放音乐:" .. a1_1, true) gg.playMusic("http://music.163.com/song/media/outer/url?id=" .. a0_1 .. ".mp3") return end _ENV[v6] = v7 v6 = "stop" function v7() local v0_1, v1_1, v2_1 gg.toast("正在停止音乐") v1_1 = 100 v2_1 = 1 v0_1 = 1 - v2_1 while true do v0_1 = v0_1 + v2_1 if not (v0_1 <= v1_1) then break end gg.playMusic("stop") gg.playMusic("stop") gg.playMusic("stop") end return end _ENV[v6] = v7 v6 = "Play" function v7(a0_1, a1_1) local v0_1, v1_1, v2_1 SN = gg.choice(a0_1, nil, ts) if SN == nil then XGCK = -1 else sn = gg.choice({ "播放歌曲", "播放并下载" }, nil, "歌曲:" .. a0_1[SN]) if sn == nil then end if sn == 1 then play(a1_1[SN], a0_1[SN]) end if sn == 2 then v0_1 = gg.makeRequest("http://music.163.com/song/media/outer/url?id=" .. a1_1[SN] .. ".mp3").content v1_1 = gg.getFile() v1_1 = v1_1:gsub("[^/]+$", "") .. a0_1[SN] .. ".mp3" v2_1 = io.open(v1_1, "w") v2_1:write(v0_1) gg.alert("提示:\n\n音乐已成功下载位置:\n\n" .. v1_1) end XGCK = -1 end return end _ENV[v6] = v7 v6 = "zjson" function v7(a0_1) local v0_1, v1_1, v2_1, v3_1, v4_1, v5_1 v0_1 = a0_1 v1_1 = "\"[%w]+\":" v2_1 = string.gsub v3_1 = v0_1 v4_1 = v1_1 function v5_1(a0_2) if string.find(v0_1, a0_2) then v0_1 = string.gsub(v0_1, a0_2, string.gsub(a0_2, "\"", "")) end return end v2_1(v3_1, v4_1, v5_1) return (load([[ -- WSG PRO 1.0.9(109) return ]] .. string.gsub(string.gsub(string.gsub(v0_1, ":", "="), "%[", "{"), "%]", "}"))()) end _ENV[v6] = v7 function v6(a0_1) local v0_1, v1_1, v2_1, v3_1 res = zjson(a0_1) zd = res.result.songCount pd = go3 - zd if not (pd <= 0) then go3 = zd end ts = "《" .. go1 .. "》找到" .. zd .. "首歌曲,当前显示" .. go3 .. "首" gqlb = {} idb = {} v0_1 = 1 v1_1 = go3 v2_1 = 1 v0_1 = v0_1 - v2_1 while true do v0_1 = v0_1 + v2_1 if not (v0_1 <= v1_1) then break end v3_1 = v0_1 gqlb[v3_1] = res.result.songs[v3_1].name idb[v3_1] = res.result.songs[v3_1].id end return end v6 = "YY998" function v7() local v0_1, v1_1 Obtain = gg.makeRequest("https://api.uomg.com/api/rand.music?sort=热歌榜&format=json").content v0_1 = "muchen" v1_1 = Obtain _ENV[v0_1] = v1_1:match("url\":\"(.-)\",\"picurl") gg.playMusic(muchen) return end _ENV[v6] = v7 function v6(a0_1) return gg.getValues({ { address = a0_1, flags = 4 } })[1].value end v7 = "setvalue" function v8(a0_1, a1_1, a2_1) local v0_1 v0_1 = { [1] = {} } v0_1[1].address = a0_1 v0_1[1].flags = a1_1 v0_1[1].value = a2_1 gg.setValues(v0_1) return end _ENV[v7] = v8 v7 = "addListltems" function v8(a0_1, a1_1, a2_1, a3_1) t = { [1] = {} } t[1].address = a0_1 t[1].flags = a1_1 t[1].value = a2_1 t[1].freeze = a3_1 gg.addListItems(t) return end _ENV[v7] = v8 v7 = "xfnb" function v8(a0_1, a1_1) return gg.getValues({ { address = a0_1, flags = a1_1 } })[1].value end _ENV[v7] = v8 function v7(a0_1) return gg.getValues({ { address = a0_1, flags = gg.TYPE_QWORD } })[1].value end v8 = "setvalue" function v9(a0_1, a1_1, a2_1) local v0_1 v0_1 = { [1] = {} } v0_1[1].address = a0_1 v0_1[1].flags = a1_1 v0_1[1].value = a2_1 gg.setValues(v0_1) return end _ENV[v8] = v9 v8 = "addListltems" function v9(a0_1, a1_1, a2_1, a3_1) t = { [1] = {} } t[1].address = a0_1 t[1].flags = a1_1 t[1].value = a2_1 t[1].freeze = a3_1 gg.addListItems(t) return end _ENV[v8] = v9 function v8(a0_1) return gg.getValues({ { address = a0_1, flags = gg.TYPE_QWORD } })[1].value end v9 = "readPointer" function v10(a0_1, a1_1, a2_1) local v0_1, v1_1, v2_1, v3_1, v4_1, v5_1, v6_1, v7_1 v0_1 = gg.getRangesList(a0_1) v1_1 = gg.getTargetInfo().x64 v2_1 = { [true] = 32, [false] = 4 } if not a2_1 then v3_1 = 1 else v3_1 = a2_1 end if not v0_1[v3_1] then return end if not a2_1 then v3_1 = 1 else v3_1 = a2_1 end v3_1 = v0_1[v3_1].start + a1_1[1] v5_1 = #a1_1 v6_1 = 1 v4_1 = 2 - v6_1 while true do v4_1 = v4_1 + v6_1 if not (v4_1 <= v5_1) then break end v7_1 = v4_1 v3_1 = gg.getValues({ { address = v3_1, flags = v2_1[v1_1] } }) if not v1_1 then v3_1[1].value = v3_1[1].value & 3135307775 end v3_1 = v3_1[1].value + a1_1[v7_1] end return v3_1 end _ENV[v9] = v10 v9 = gg v10 = "edits" function v11(a0_1, a1_1, a2_1) local v0_1, v1_1, v2_1, v3_1, v4_1, v5_1, v6_1 v0_1 = { {}, {} } v1_1, v2_1, v3_1 = ipairs(a1_1) while true do v4_1, v5_1 = v1_1(v2_1, v3_1) if v4_1 == nil then break end v3_1 = v4_1 v6_1 = { address = a0_1 + v5_1[3], value = v5_1[1], flags = v5_1[2], freeze = v5_1[4] } if v5_1[4] then v0_1[2][#v0_1[2] + 1] = v6_1 else v0_1[1][#v0_1[1] + 1] = v6_1 end end gg.addListItems(v0_1[2]) gg.setValues(v0_1[1]) v1_1 = gg.toast if not a2_1 then v2_1 = "" else v2_1 = a2_1 end v1_1(v2_1 .. "开启成功, 共修改" .. #a1_1 .. "个值") return end v9[v10] = v11 v9 = "LSQ_Chain" function v10(a0_1, a1_1, a2_1, a3_1, a4_1, a5_1) local v0_1, v1_1, v2_1, v3_1, v4_1, v5_1, v6_1, v7_1, v8_1 getRanges = getRanges or function() local v0_2, v2_2, v3_2, v4_2, v5_2, v6_2, v7_2 v0_2 = {} v2_2, v3_2, v4_2 = pairs((gg.getRangesList("^/data/*.so*$"))) while true do v5_2, v6_2 = v2_2(v3_2, v4_2) if v5_2 == nil then break end v4_2 = v5_2 v7_2 = v6_2.type if v7_2:sub(2, 2) == "w" then v0_2[#v0_2 + 1] = v6_2 end end return v0_2 end v0_1 = {} v1_1 = getRanges() v2_1 = nil v3_1 = gg.TYPE_DWORD if gg.getTargetInfo().x64 then v3_1 = gg.TYPE_QWORD end v4_1, v5_1, v6_1 = pairs(v1_1) while true do v7_1 = v4_1(v5_1, v6_1) if v7_1 == nil then break end v6_1 = v7_1 v8_1 = v1_1[v7_1].internalName if a0_1[1] == v8_1:gsub("^.*/", "") and a0_1[2] == v1_1[v7_1].state then v2_1 = v1_1[v7_1].start goto label_0_1 end end ::label_0_1:: if v2_1 then if a1_1[1] then v5_1 = #a1_1 v6_1 = 1 v4_1 = 1 - v6_1 while true do v4_1 = v4_1 + v6_1 if not (v4_1 <= v5_1) then break end v7_1 = v4_1 v0_1 = gg.getValues({ { flags = v3_1, address = v2_1 + a1_1[v7_1] } }) if v7_1 == #a1_1 then break end if v3_1 == gg.TYPE_DWORD then v2_1 = v0_1[1].value & 3135307775 else v2_1 = v0_1[1].value end end end print(v0_1) if #v0_1 == 1 then end return Format(v0_1, a2_1, a3_1, a4_1, a5_1) end gg.toast("功能:" .. a5_1 .. "开启失败") print("功能开启失败原因: 未找到静态头") return (os.exit()) end _ENV[v9] = v10 v9 = "Format" function v10(a0_1, a1_1, a2_1, a3_1, a4_1) local v0_1, v1_1, v2_1 if a1_1 == "查看" then a0_1[1].flags = a3_1 return print(gg.getValues(a0_1)) end if a1_1 == "修改" then a0_1[1].flags = a3_1 a0_1[1].value = a2_1 return (gg.setValues(a0_1)) end if a1_1 == "冻结" then a0_1[1].flags = a3_1 a0_1[1].freeze = true v0_1 = a0_1[1] v1_1 = "name" if not a4_1 then v2_1 = "功能" else v2_1 = a4_1 end v0_1[v1_1] = v2_1 return (gg.addListItems(a0_1)) end if a1_1 ~= "加载" then return end a0_1[1].flags = a3_1 return (gg.loadResults(a0_1)) end _ENV[v9] = v10 v9 = "split" function v10(a0_1, a1_1) local v0_1, v1_1, v2_1, v3_1 v0_1 = 1 v1_1 = 1 v2_1 = {} while true do v3_1 = string.find(a0_1, a1_1, v0_1) if not v3_1 then break end v2_1[v1_1] = string.sub(a0_1, v0_1, v3_1 - 1) v0_1 = v3_1 + string.len(a1_1) v1_1 = v1_1 + 1 end v2_1[v1_1] = string.sub(a0_1, v0_1, string.len(a0_1)) return v2_1 end _ENV[v9] = v10 v9 = "xgxc" function v10(a0_1, a1_1) local v0_1, v1_1, v2_1, v3_1 v1_1 = #a1_1 v2_1 = 1 v0_1 = 1 - v2_1 while true do v0_1 = v0_1 + v2_1 if not (v0_1 <= v1_1) then break end v3_1 = v0_1 xgpy = a0_1 + a1_1[v3_1].offset xglx = a1_1[v3_1].type xgsz = a1_1[v3_1].value gg.setValues({ [1] = { address = xgpy, flags = xglx, value = xgsz } }) xgsl = xgsl + 1 end return end _ENV[v9] = v10 v9 = "xqmnb" function v10(a0_1) local v0_1, v1_1, v2_1, v3_1, v4_1, v5_1, v6_1, v7_1 gg.clearResults() gg.setRanges(a0_1[1].memory) gg.searchNumber(a0_1[3].value, a0_1[3].type) if gg.getResultCount() == 0 then gg.toast(a0_1[2].name .. "开启失败") else gg.refineNumber(a0_1[3].value, a0_1[3].type) gg.refineNumber(a0_1[3].value, a0_1[3].type) gg.refineNumber(a0_1[3].value, a0_1[3].type) if gg.getResultCount() == 0 then gg.toast(a0_1[2].name .. "开启失败") else sl = gg.getResults(999999) sz = gg.getResultCount() xgsl = 0 if 999999 < sz then sz = 999999 end v0_1 = 1 v1_1 = sz v2_1 = 1 v0_1 = v0_1 - v2_1 while true do v0_1 = v0_1 + v2_1 if not (v0_1 <= v1_1) then break end v3_1 = v0_1 pdsz = true v5_1 = #a0_1 v6_1 = 1 v4_1 = 4 - v6_1 while true do v4_1 = v4_1 + v6_1 if not (v4_1 <= v5_1) then break end v7_1 = v4_1 if pdsz == true then pysz = { [1] = {} } pysz[1].address = sl[v3_1].address + a0_1[v7_1].offset pysz[1].flags = a0_1[v7_1].type szpy = gg.getValues(pysz) pdpd = a0_1[v7_1].lv .. ";" .. szpy[1].value szpd = split(pdpd, ";") tzszpd = szpd[1] pyszpd = szpd[2] if tzszpd == pyszpd then pdjg = true pdsz = true else pdjg = false pdsz = false end end end if pdjg == true then szpy = sl[v3_1].address xgxc(szpy, qmxg) xgjg = true end end if xgjg == true then gg.toast(a0_1[2].name .. "开启成功,共修改" .. xgsl .. "条数据") else gg.toast(a0_1[2].name .. "开启失败") end end end return end _ENV[v9] = v10 v9 = "setvalue" function v10(a0_1, a1_1, a2_1) local v0_1 v0_1 = { [1] = {} } v0_1[1].address = a0_1 v0_1[1].flags = a1_1 v0_1[1].value = a2_1 gg.setValues(v0_1) return end _ENV[v9] = v10 v9 = "read" function v10(a0_1, a1_1) local v0_1 v0_1 = { [1] = {} } v0_1[1].address = a0_1 v0_1[1].flags = a1_1 filzer = gg.getValues(v0_1)[1].value return filzer end _ENV[v9] = v10 v9 = "getbase" function v10(a0_1) local v0_1 v0_1 = { [1] = {} } v0_1[1].address = a0_1 v0_1[1].flags = 32 filzer = gg.getValues(v0_1)[1].value return filzer end _ENV[v9] = v10 v10 = { ["file"] = gg.getFile(), ["sel"] = nil } gqlb = { "请先搜索歌曲" } idb = {"1010"} v11 = "SN" v13 = 1 gc = nil _ENV[v11] = v13 v11 = "config" v12 = gg.getFile() v10[v11] = v12:gsub("%lua$", "") .. "cfg" v11 = "bei" function v12() v10.data = loadfile("音乐配置" .. v10.config) if v10.data ~= nil then v10.sel = v10.data() v10.data = nil end if v10.sel == nil then v10.sel = {"", "10"} end return end _ENV[v11] = v12 bei() v11 = "start" function v12(a0_1, a1_1) fw = gg.makeRequest("http://music.163.com/api/search/get?s=" .. a0_1 .. "&type=1&offset=0&total=true&limit=" .. a1_1) return fw end _ENV[v11] = v12 v11 = "play" function v12(a0_1, a1_1) gg.toast("正在播放音乐:" .. a1_1, true) gg.playMusic("http://music.163.com/song/media/outer/url?id=" .. a0_1 .. ".mp3") return end _ENV[v11] = v12 v11 = "Play" function v12(a0_1, a1_1) local v0_1, v1_1, v2_1 SN = gg.choice(a0_1, nil, ts) if SN == nil then XGCK = -1 else sn = gg.choice({ "播放歌曲", "播放并下载" }, nil, "歌曲:" .. a0_1[SN]) if sn == nil then end if sn == 1 then play(a1_1[SN], a0_1[SN]) end if sn == 2 then v0_1 = gg.makeRequest("http://music.163.com/song/media/outer/url?id=" .. a1_1[SN] .. ".mp3").content v1_1 = gg.getFile() v1_1 = v1_1:gsub("[^/]+$", "") .. a0_1[SN] .. ".mp3" v2_1 = io.open(v1_1, "w") v2_1:write(v0_1) gg.toast("提示:\n\n音乐已成功下载位置:\n\n" .. v1_1) end XGCK = -1 end return end _ENV[v11] = v12 v11 = "zjson" function v12(a0_1) local v0_1, v1_1, v2_1, v3_1, v4_1, v5_1 v0_1 = a0_1 v1_1 = "\"[%w]+\":" v2_1 = string.gsub v3_1 = v0_1 v4_1 = v1_1 function v5_1(a0_2) if string.find(v0_1, a0_2) then v0_1 = string.gsub(v0_1, a0_2, string.gsub(a0_2, "\"", "")) end return end v2_1(v3_1, v4_1, v5_1) return (load([[ -- WSG PRO 1.0.9(109) return ]] .. string.gsub(string.gsub(string.gsub(v0_1, ":", "="), "%[", "{"), "%]", "}"))()) end _ENV[v11] = v12 function v11(a0_1) local v0_1, v1_1, v2_1, v3_1 res = zjson(a0_1) zd = res.result.songCount pd = go3 - zd if not (pd <= 0) then go3 = zd end ts = "《" .. go1 .. "》找到" .. zd .. "首歌曲,当前显示" .. go3 .. "首" gqlb = {} idb = {} v0_1 = 1 v1_1 = go3 v2_1 = 1 v0_1 = v0_1 - v2_1 while true do v0_1 = v0_1 + v2_1 if not (v0_1 <= v1_1) then break end v3_1 = v0_1 gqlb[v3_1] = res.result.songs[v3_1].name idb[v3_1] = res.result.songs[v3_1].id end return end v9 = v11 v11 = "S_Pointer" function v12(a0_1, a1_1, a2_1) local v0_1, v1_1 function v0_1() local v0_2, v2_2, v3_2, v4_2, v5_2, v6_2, v7_2 v0_2 = {} v2_2, v3_2, v4_2 = pairs((gg.getRangesList("^/data/*.so*$"))) while true do v5_2, v6_2 = v2_2(v3_2, v4_2) if v5_2 == nil then break end v4_2 = v5_2 v7_2 = v6_2.type if v7_2:sub(2, 2) == "w" then table.insert(v0_2, v6_2) end end return v0_2 end function v1_1(a0_2, a1_2, a2_2) local v0_2, v1_2, v2_2, v3_2, v4_2, v5_2, v6_2, v7_2, v8_2, v9_2, v10_2, v11_2, v12_2, v13_2, v14_2 v0_2 = gg.getTargetInfo() v1_2 = v0_1() v2_2 = tonumber(743271374) v3_2 = {} v4_2, v5_2 = nil if a2_2 then v4_2 = 32 else v4_2 = 4 end v6_2, v7_2, v8_2 = pairs(v1_2) while true do v9_2 = v6_2(v7_2, v8_2) if v9_2 == nil then break end v8_2 = v9_2 v10_2 = v1_2[v9_2].internalName if a0_2[1] == v10_2:gsub("^.*/", "") and a0_2[2] == v1_2[v9_2].state then v5_2 = v1_2[v9_2] goto label_0_2 end end ::label_0_2:: if v5_2 then v3_2[#v3_2 + 1] = {} v3_2[#v3_2].address = v5_2.start + a1_2[1] v3_2[#v3_2].flags = v4_2 if #a1_2 ~= 1 then v7_2 = #a1_2 v8_2 = 1 v6_2 = 2 - v8_2 while true do v6_2 = v6_2 + v8_2 if not (v6_2 <= v7_2) then break end v9_2 = v6_2 v10_2 = gg.getValues(v3_2) v3_2 = {} v11_2, v12_2, v13_2 = pairs(v10_2) while true do v14_2 = v11_2(v12_2, v13_2) if v14_2 == nil then break end v13_2 = v14_2 if not v0_2.x64 then v10_2[v14_2].value = v10_2[v14_2].value & 3135307775 end v3_2[#v3_2 + 1] = {} v3_2[#v3_2].address = v10_2[v14_2].value + a1_2[v9_2] v3_2[#v3_2].flags = v4_2 end end end v5_2 = v3_2[#v3_2].address end return v5_2 end return (string.format("0x%X", v1_1(a0_1, a1_1, a2_1))) end _ENV[v11] = v12 v11 = "PS" function v12() return end _ENV[v11] = v12 v11 = "setvalue" function v12(a0_1, a1_1, a2_1) local v0_1 PS("修改地址数值(地址,数值类型,要65536)") v0_1 = { [1] = {} } v0_1[1].address = a0_1 v0_1[1].flags = a1_1 v0_1[1].value = a2_1 gg.setValues(v0_1) return end _ENV[v11] = v12 v11 = "split" function v12(a0_1, a1_1) local v0_1, v1_1, v2_1, v3_1 v0_1 = 1 v1_1 = 1 v2_1 = {} while true do v3_1 = string.find(a0_1, a1_1, v0_1) if not v3_1 then break end v2_1[v1_1] = string.sub(a0_1, v0_1, v3_1 - 1) v0_1 = v3_1 + string.len(a1_1) v1_1 = v1_1 + 1 end v2_1[v1_1] = string.sub(a0_1, v0_1, string.len(a0_1)) return v2_1 end _ENV[v11] = v12 v11 = "xgxc" function v12(a0_1, a1_1) local v0_1, v1_1, v2_1, v3_1 v1_1 = #a1_1 v2_1 = 1 v0_1 = 1 - v2_1 while true do v0_1 = v0_1 + v2_1 if not (v0_1 <= v1_1) then break end v3_1 = v0_1 xgpy = a0_1 + a1_1[v3_1].offset xglx = a1_1[v3_1].type xgsz = a1_1[v3_1].value xgdj = a1_1[v3_1].freeze if xgdj ~= nil and xgdj ~= "" then gg.addListItems({ [1] = { address = xgpy, flags = xglx, freeze = xgdj, value = xgsz } }) else gg.setValues({ [1] = { address = xgpy, flags = xglx, value = xgsz } }) end xgsl = xgsl + 1 xgjg = true end return end _ENV[v11] = v12 v11 = "xqmnb" function v12(a0_1) local v0_1, v1_1, v2_1, v3_1, v4_1, v5_1, v6_1, v7_1 gg.clearResults() gg.setRanges(a0_1[1].memory) gg.searchNumber(a0_1[3].value, a0_1[3].type) if gg.getResultCount() == 0 then gg.toast(a0_1[2].name .. "失败") else gg.refineNumber(a0_1[3].value, a0_1[3].type) gg.refineNumber(a0_1[3].value, a0_1[3].type) gg.refineNumber(a0_1[3].value, a0_1[3].type) if gg.getResultCount() == 0 then gg.toast(a0_1[2].name .. "失败") else sl = gg.getResults(999999) sz = gg.getResultCount() xgsl = 0 if 999999 < sz then sz = 999999 end v0_1 = 1 v1_1 = sz v2_1 = 1 v0_1 = v0_1 - v2_1 while true do v0_1 = v0_1 + v2_1 if not (v0_1 <= v1_1) then break end v3_1 = v0_1 pdsz = true v5_1 = #a0_1 v6_1 = 1 v4_1 = 4 - v6_1 while true do v4_1 = v4_1 + v6_1 if not (v4_1 <= v5_1) then break end v7_1 = v4_1 if pdsz == true then pysz = { [1] = {} } pysz[1].address = sl[v3_1].address + a0_1[v7_1].offset pysz[1].flags = a0_1[v7_1].type szpy = gg.getValues(pysz) pdpd = a0_1[v7_1].lv .. ";" .. szpy[1].value szpd = split(pdpd, ";") tzszpd = szpd[1] pyszpd = szpd[2] if tzszpd == pyszpd then pdjg = true pdsz = true else pdjg = false pdsz = false end end end if pdjg == true then szpy = sl[v3_1].address xgxc(szpy, qmxg) end end if xgjg == true then gg.toast(a0_1[2].name .. "地址成功,共修改" .. xgsl .. "条数据") else gg.toast(a0_1[2].name .. "失败") end end end return end _ENV[v11] = v12 v11 = "xqmnb" function v12(a0_1, a1_1) local v0_1, v1_1, v2_1, v3_1, v4_1, v5_1, v6_1, v7_1, v8_1, v9_1, v10_1, v11_1, v12_1, v13_1, v14_1 gg.clearResults() gg.setRanges(a0_1[1].memory) gg.searchNumber(a0_1[3].value, a0_1[3].type, false, 536870912, 0, -1) if gg.getResultCount() == 0 then gg.toast(a0_1[2].name .. "开启失败") return end v0_1 = gg.getResults(gg.getResultCount()) v3_1 = #a0_1 v4_1 = 1 v2_1 = 4 - v4_1 while true do v2_1 = v2_1 + v4_1 if not (v2_1 <= v3_1) then break end v5_1 = v2_1 v1_1 = 0 v7_1 = #v0_1 v8_1 = 1 v6_1 = 1 - v8_1 while true do v6_1 = v6_1 + v8_1 if not (v6_1 <= v7_1) then break end v9_1 = v6_1 if gg.getValues({ { address = v0_1[v9_1].address + a0_1[v5_1].offset, flags = a0_1[v5_1].type } })[1].value ~= a0_1[v5_1].lv then v0_1[v9_1].Usable = true v1_1 = v1_1 + 1 end end if v1_1 == #v0_1 then gg.toast(a0_1[2].name .. "开启失败") return end end v2_1 = {} v3_1 = {} v4_1 = 0 v1_1 = 0 v5_1, v6_1, v7_1 = ipairs(a1_1) while true do v8_1, v9_1 = v5_1(v6_1, v7_1) if v8_1 == nil then break end v7_1 = v8_1 v11_1 = #v0_1 v12_1 = 1 v10_1 = 1 - v12_1 while true do v10_1 = v10_1 + v12_1 if not (v10_1 <= v11_1) then break end v13_1 = v10_1 if not v0_1[v13_1].Usable then v14_1 = { address = v0_1[v13_1].address + v9_1.offset, flags = v9_1.type, value = v9_1.value, freeze = true } if v9_1.freeze then v3_1[#v3_1 + 1] = v14_1 v4_1 = v4_1 + 1 else v2_1[#v2_1 + 1] = v14_1 end v1_1 = v1_1 + 1 end end end gg.setValues(v2_1) gg.addListItems(v3_1) if v4_1 == 0 then gg.toast(a0_1[2].name .. "开启成功,共修改" .. v1_1 .. "条数据") else gg.toast(a0_1[2].name .. "开启成功,共修改" .. v1_1 .. "条数据,冻结" .. v4_1 .. "条数据") end gg.clearResults() return end _ENV[v11] = v12 v11 = "readPointer" function v12(a0_1, a1_1, a2_1) local v0_1, v1_1, v2_1, v3_1, v4_1, v5_1, v6_1, v7_1 v0_1 = gg.getRangesList(a0_1) v1_1 = gg.getTargetInfo().x64 v2_1 = { [true] = 32, [false] = 4 } if not a2_1 then v3_1 = 1 else v3_1 = a2_1 end if not v0_1[v3_1] then return end if not a2_1 then v3_1 = 1 else v3_1 = a2_1 end v3_1 = v0_1[v3_1].start + a1_1[1] v5_1 = #a1_1 v6_1 = 1 v4_1 = 2 - v6_1 while true do v4_1 = v4_1 + v6_1 if not (v4_1 <= v5_1) then break end v7_1 = v4_1 v3_1 = gg.getValues({ { address = v3_1, flags = v2_1[v1_1] } }) if not v1_1 then v3_1[1].value = v3_1[1].value & 3135307775 end v3_1 = v3_1[1].value + a1_1[v7_1] end return v3_1 end _ENV[v11] = v12 v11 = gg v12 = "edits" function v13(a0_1, a1_1, a2_1) local v0_1, v1_1, v2_1, v3_1, v4_1, v5_1, v6_1 v0_1 = { {}, {} } v1_1, v2_1, v3_1 = ipairs(a1_1) while true do v4_1, v5_1 = v1_1(v2_1, v3_1) if v4_1 == nil then break end v3_1 = v4_1 v6_1 = { address = a0_1 + v5_1[3], value = v5_1[1], flags = v5_1[2], freeze = v5_1[4] } if v5_1[4] then v0_1[2][#v0_1[2] + 1] = v6_1 else v0_1[1][#v0_1[1] + 1] = v6_1 end end gg.addListItems(v0_1[2]) gg.setValues(v0_1[1]) v1_1 = gg.toast if not a2_1 then v2_1 = "" else v2_1 = a2_1 end v1_1(v2_1 .. "开启成功, 共修改" .. #a1_1 .. "个值") return end v11[v12] = v13 v11 = gg.getRangesList("/") function v12(a0_1, a1_1) local v0_1, v1_1, v2_1, v3_1, v4_1, v5_1 v0_1, v1_1, v2_1 = pairs(v11) while true do v3_1, v4_1 = v0_1(v1_1, v2_1) if v3_1 == nil then break end v2_1 = v3_1 v5_1 = v4_1.internalName if v5_1:match("[^/]*$") == a0_1 and v4_1.type == a1_1 then return v4_1.start end end return end v13 = {} function v14(a0_1, a1_1, a2_1) v13[#v13 + 1] = { address = a0_1, value = a1_1, flags = a2_1 } return end v15 = "readPointer" function v16(a0_1, a1_1, a2_1) local v0_1, v1_1, v2_1, v3_1, v4_1, v5_1, v6_1, v7_1 v0_1 = gg.getRangesList(a0_1) v1_1 = gg.getTargetInfo().x64 v2_1 = { [true] = 32, [false] = 4 } if not a2_1 then v3_1 = 1 else v3_1 = a2_1 end if not v0_1[v3_1] then return end if not a2_1 then v3_1 = 1 else v3_1 = a2_1 end v3_1 = v0_1[v3_1].start + a1_1[1] v5_1 = #a1_1 v6_1 = 1 v4_1 = 2 - v6_1 while true do v4_1 = v4_1 + v6_1 if not (v4_1 <= v5_1) then break end v7_1 = v4_1 v3_1 = gg.getValues({ { address = v3_1, flags = v2_1[v1_1] } }) if not v1_1 then v3_1[1].value = v3_1[1].value & 4294967295 end v3_1 = v3_1[1].value + a1_1[v7_1] end return v3_1 end _ENV[v15] = v16 v15 = gg v16 = "edits" function v17(a0_1, a1_1, a2_1) local v0_1, v1_1, v2_1, v3_1, v4_1, v5_1, v6_1 v0_1 = { {}, {} } v1_1, v2_1, v3_1 = ipairs(a1_1) while true do v4_1, v5_1 = v1_1(v2_1, v3_1) if v4_1 == nil then break end v3_1 = v4_1 v6_1 = { address = a0_1 + v5_1[3], value = v5_1[1], flags = v5_1[2], freeze = v5_1[4] } if v5_1[4] then v0_1[2][#v0_1[2] + 1] = v6_1 else v0_1[1][#v0_1[1] + 1] = v6_1 end end gg.addListItems(v0_1[2]) gg.setValues(v0_1[1]) return end v15[v16] = v17 v15 = "getRanges" function v16() local v0_1, v2_1, v3_1, v4_1, v5_1, v6_1, v7_1 v0_1 = {} v2_1, v3_1, v4_1 = pairs((gg.getRangesList("^/dev/kgsl-3d0*$"))) while true do v5_1, v6_1 = v2_1(v3_1, v4_1) if v5_1 == nil then break end v4_1 = v5_1 v7_1 = v6_1.type if v7_1:sub(4, 4) == "s" then table.insert(v0_1, v6_1) end end return v0_1 end _ENV[v15] = v16 function v15(a0_1) return gg.getValues({ { address = a0_1, flags = gg.TYPE_DWORD } })[1].value end function v16(a0_1) return gg.getValues({ { address = a0_1, flags = gg.TYPE_FLOAT } })[1].value end v17 = "setvalue" function v18(a0_1, a1_1, a2_1) local v0_1 v0_1 = { [1] = {} } v0_1[1].address = a0_1 v0_1[1].flags = a1_1 v0_1[1].value = a2_1 gg.setValues(v0_1) gg.addListItems(v0_1) return end _ENV[v17] = v18 v17 = "_V" function v18(a0_1, a1_1, a2_1, a3_1) local v0_1, v1_1, v2_1, v3_1, v4_1, v5_1 v0_1 = 0 ednum = 0 if a2_1 == gg.TYPE_DWORD then readV = v15 elseif a2_1 == gg.TYPE_FLOAT then readV = v16 else os.exit("不支持的类型") end v1_1 = getRanges() v2_1, v3_1, v4_1 = pairs(v1_1) while true do v5_1 = v2_1(v3_1, v4_1) if v5_1 == nil then break end v4_1 = v5_1 v0_1 = v0_1 + 1 addr = v1_1[v5_1].start + a0_1 if readV(addr) == a1_1 then setvalue(addr, a2_1, a3_1) ednum = ednum + 1 end end return "遍历了" .. v0_1 .. "个地址\n" .. "修改了" .. ednum .. "个地址" end _ENV[v17] = v18 v17 = "PS" function v18() return end _ENV[v17] = v18 v17 = "setvalue" function v18(a0_1, a1_1, a2_1) local v0_1 PS("修改地址数值(地址,数值类型,要修改的值)") v0_1 = { [1] = {} } v0_1[1].address = a0_1 v0_1[1].flags = a1_1 v0_1[1].value = a2_1 gg.setValues(v0_1) return end _ENV[v17] = v18 v17 = "setvalue" function v18(a0_1, a1_1, a2_1) local v0_1 v0_1 = { [1] = {} } v0_1[1].address = a0_1 v0_1[1].flags = a1_1 v0_1[1].value = a2_1 gg.setValues(v0_1) return end _ENV[v17] = v18 v17 = "readPointer" function v18(a0_1, a1_1, a2_1) local v0_1, v1_1, v2_1, v3_1, v4_1, v5_1, v6_1, v7_1 v0_1 = gg.getRangesList(a0_1) v1_1 = gg.getTargetInfo().x64 v2_1 = { [true] = 32, [false] = 4 } if not a2_1 then v3_1 = 1 else v3_1 = a2_1 end if not v0_1[v3_1] then return end if not a2_1 then v3_1 = 1 else v3_1 = a2_1 end v3_1 = v0_1[v3_1].start + a1_1[1] v5_1 = #a1_1 v6_1 = 1 v4_1 = 2 - v6_1 while true do v4_1 = v4_1 + v6_1 if not (v4_1 <= v5_1) then break end v7_1 = v4_1 v3_1 = gg.getValues({ { address = v3_1, flags = v2_1[v1_1] } }) if not v1_1 then v3_1[1].value = v3_1[1].value & 4294967295 end v3_1 = v3_1[1].value + a1_1[v7_1] end return v3_1 end _ENV[v17] = v18 v17 = gg v18 = "edits" function v19(a0_1, a1_1, a2_1) local v0_1, v1_1, v2_1, v3_1, v4_1, v5_1, v6_1 v0_1 = { {}, {} } v1_1, v2_1, v3_1 = ipairs(a1_1) while true do v4_1, v5_1 = v1_1(v2_1, v3_1) if v4_1 == nil then break end v3_1 = v4_1 v6_1 = { address = a0_1 + v5_1[3], value = v5_1[1], flags = v5_1[2], freeze = v5_1[4] } if v5_1[4] then v0_1[2][#v0_1[2] + 1] = v6_1 else v0_1[1][#v0_1[1] + 1] = v6_1 end end gg.addListItems(v0_1[2]) gg.setValues(v0_1[1]) return end v17[v18] = v19 bglist = { getHorizontalBG({4293519849, 4293519849}, 12), getHorizontalBG({ 4286535935, 4280902911, 4283668991 }, 12), getHorizontalBG({2868903935, 2868903935}, 12, 3, 2854429475) } v17 = "huiz" function v18() return end _ENV[v17] = v18 titlet = "冷烁尊享版范围" stab = { { "公告", "https://escape2020-1303126286.cos.ap-shenzhen-fsi.myqcloud.com/quarkweb" }, { "范围", "https://escape2020-1303126286.cos.ap-shenzhen-fsi.myqcloud.com/safe" }, { "音乐", "https://escape2020-1303126286.cos.ap-shenzhen-fsi.myqcloud.com/bm_music" }, { "设置", "https://escape2020-1303126286.cos.ap-shenzhen-fsi.myqcloud.com/bm_sz" } } draw.setStyle("填充") draw.setSize(40) draw.text("冷烁尊享定制范围", 250, 330) draw.text("女朋友LSHOOKNB", 250, 380) draw.setColor("#00FFFF") xfcpic = "https://lqxwaf.lequxiang.com.cn/view.php/ac3c40c6c96710dc712c826c36c894f2.png" v17 = v0.menu v18 = {} v19 = {} v20 = v0.button("选择进程", gg.setProcessX) v21 = v0.button v22 = "公告" function v23() string.toMusic("尊贵的定制版用户您好,欢迎您使用本产品,本产品为定制版本专属版本,枪枪头不减伤,祝你们玩得开心,有问题第一时间解决") gg.alert("尊贵的定制版用户您好,欢迎您使用本产品,本产品为定制版本专属版本,枪枪头不减伤,祝你们玩得开心,有问题第一时间解决") return end v21 = v21(v22, v23) v22 = v0.button v23 = "每日语录" function v24() Y = gg.makeRequest("https://v1.hitokoto.cn/").content Q = string.match(Y, "hitokoto(.+)type") F = string.gsub(Q, "\":\"", "") K = string.gsub(F, "\",\"", "") string.toMusic([[ ]] .. "" .. K .. "") QD = gg.alert("今日语录:\n\n" .. "" .. K .. "") if QD == 1 then end if QD == 3 then end return end v22 = v22(v23, v24) v23 = v0.switch v24 = "直播模式" function v25() draw.remove() DM = "隐藏成功" gg.playMusic("https://fanyi.baidu.com/gettts?lan=zh&text=" .. DM .. "&spd=5&source=wise") return end function v26() draw.text("冷烁尊享定制范围", 250, 330) draw.text("女朋友LSHOOKNB", 250, 380) draw.setColor("#00FFFF") DM = "关闭成功" gg.playMusic("https://fanyi.baidu.com/gettts?lan=zh&text=" .. DM .. "&spd=5&source=wise") return end v19[1] = v20, v21, v22, v23(v24, v25, v26), v0.text("TG@LSHOOKNB", "#545454", "10sp"), v0.text("定制联系 @BLYHOOKNB", "#545454", "10sp") v20 = {} v21 = v0.button("选择进程", gg.setProcessX) v22 = v0.switch v23 = "框架防闪[LOGO]" function v24() gg.addListItems({ { address = S_Pointer({ "libanogs.so:bss", "Cb" }, {1360}, true), flags = 4, value = 4096, freeze = true } }) gg.addListItems({ { address = S_Pointer({ "libanogs.so:bss", "Cb" }, {41496}, true), flags = 4, value = 4096, freeze = true } }) gg.addListItems({ { address = S_Pointer({ "libanogs.so:bss", "Cb" }, {1496}, true), flags = 4, value = 4096, freeze = true } }) gg.addListItems({ { address = S_Pointer({ "libanogs.so:bss", "Cb" }, {41920}, true), flags = 4, value = 4096, freeze = true } }) gg.addListItems({ { address = S_Pointer({ "libanogs.so:bss", "Cb" }, {768}, true), flags = 4, value = 4096, freeze = true } }) gg.addListItems({ { address = S_Pointer({ "libanogs.so:bss", "Cb" }, {1016}, true), flags = 4, value = 4096, freeze = true } }) gg.addListItems({ { address = S_Pointer({ "libanogs.so:bss", "Cb" }, {1072}, true), flags = 4, value = 4096, freeze = true } }) DM = "防闪开启成功" gg.playMusic("https://fanyi.baidu.com/gettts?lan=zh&text=" .. DM .. "&spd=5&source=wise") return end v22 = v22(v23, v24) v23 = v0.switch v24 = " 鸡鸡不减伤头部" function v25() gg.clearResults() gg.setRanges(gg.REGION_ANONYMOUS) gg.searchNumber("4,752,423,507,886,342,144", gg.TYPE_QWORD, false, gg.SIGN_EQUAL, 0, -1, 0) gg.getResults(100) gg.editAll("4,752,423,507,916,455,936", gg.TYPE_QWORD) gg.clearResults() gg.setRanges(gg.REGION_ANONYMOUS) gg.searchNumber("1,106,509,824", gg.TYPE_QWORD, false, gg.SIGN_EQUAL, 0, -1, 0) gg.getResults(100) gg.editAll("1,138,425,856", gg.TYPE_QWORD) gg.clearResults() gg.setRanges(gg.REGION_ANONYMOUS) gg.searchNumber("10.0F;10.0F;10.0F;10.0F;45:193", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) gg.searchNumber("10", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) gg.getResults(100) gg.editAll("250", gg.TYPE_FLOAT) gg.alert("开启成功") gg.clearResults() gg.setRanges(gg.REGION_BAD) gg.searchNumber("-88.66608428955;26:512", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) gg.searchNumber("26", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) gg.getResults(2) gg.editAll("-460", gg.TYPE_FLOAT) gg.searchNumber("-88.73961639404;28:512", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) gg.searchNumber("28", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) gg.getResults(2) gg.editAll("-560", gg.TYPE_FLOAT) DM = " 开启成功" gg.playMusic("https://fanyi.baidu.com/gettts?lan=zh&text=" .. DM .. "&spd=5&source=wise") return end v23 = v23(v24, v25) v24 = v0.switch v25 = " 格机黑屏(一把一开)" function v26() gg.clearResults() gg.setRanges(gg.REGION_ANONYMOUS) gg.searchNumber("4,752,423,507,886,342,144", gg.TYPE_QWORD, false, gg.SIGN_EQUAL, 0, -1, 0) gg.getResults(100) gg.editAll("4,752,423,507,916,455,936", gg.TYPE_QWORD) gg.clearResults() gg.setRanges(gg.REGION_ANONYMOUS) gg.searchNumber("1,106,509,824", gg.TYPE_QWORD, false, gg.SIGN_EQUAL, 0, -1, 0) gg.getResults(100) gg.editAll("1,138,425,856", gg.TYPE_QWORD) gg.clearResults() gg.setRanges(gg.REGION_ANONYMOUS) gg.searchNumber("10.0F;10.0F;10.0F;10.0F;45:193", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) gg.searchNumber("10", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) gg.getResults(100) gg.editAll("250", gg.TYPE_FLOAT) gg.alert("开启成功") gg.clearResults() gg.setRanges(gg.REGION_BAD) gg.searchNumber("-88.66608428955;26:512", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) gg.searchNumber("26", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) gg.getResults(2) gg.editAll("-460", gg.TYPE_FLOAT) gg.searchNumber("-88.73961639404;28:512", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) gg.searchNumber("28", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) gg.getResults(2) gg.editAll("-560", gg.TYPE_FLOAT) DM = " 开启成功" gg.playMusic("https://fanyi.baidu.com/gettts?lan=zh&text=" .. DM .. "&spd=5&source=wise") return end v24 = v24(v25, v26) v25 = v0.switch v26 = " C内存不减伤" function v27() gg.clearResults() gg.setRanges(gg.REGION_ANONYMOUS) gg.searchNumber("4,752,423,507,886,342,144", gg.TYPE_QWORD, false, gg.SIGN_EQUAL, 0, -1, 0) gg.getResults(100) gg.editAll("4,752,423,507,916,455,936", gg.TYPE_QWORD) gg.clearResults() gg.setRanges(gg.REGION_ANONYMOUS) gg.searchNumber("1,106,509,824", gg.TYPE_QWORD, false, gg.SIGN_EQUAL, 0, -1, 0) gg.getResults(100) gg.editAll("1,138,425,856", gg.TYPE_QWORD) gg.clearResults() gg.setRanges(gg.REGION_ANONYMOUS) gg.searchNumber("10.0F;10.0F;10.0F;10.0F;45:193", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) gg.searchNumber("10", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) gg.getResults(100) gg.editAll("250", gg.TYPE_FLOAT) gg.alert("开启成功") gg.clearResults() gg.setRanges(gg.REGION_BAD) gg.searchNumber("-88.66608428955;26:512", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) gg.searchNumber("26", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) gg.getResults(2) gg.editAll("-460", gg.TYPE_FLOAT) gg.searchNumber("-88.73961639404;28:512", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) gg.searchNumber("28", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) gg.getResults(2) gg.editAll("-560", gg.TYPE_FLOAT) DM = " 开启成功" gg.playMusic("https://fanyi.baidu.com/gettts?lan=zh&text=" .. DM .. "&spd=5&source=wise") return end v25 = v25(v26, v27) v26 = v0.switch v27 = "HOOK全头不减伤" function v28() gg.clearResults() gg.setRanges(gg.REGION_ANONYMOUS) gg.searchNumber("4,752,423,507,886,342,144", gg.TYPE_QWORD, false, gg.SIGN_EQUAL, 0, -1, 0) gg.getResults(100) gg.editAll("4,752,423,507,916,455,936", gg.TYPE_QWORD) gg.clearResults() gg.setRanges(gg.REGION_ANONYMOUS) gg.searchNumber("1,106,509,824", gg.TYPE_QWORD, false, gg.SIGN_EQUAL, 0, -1, 0) gg.getResults(100) gg.editAll("1,138,425,856", gg.TYPE_QWORD) gg.clearResults() gg.setRanges(gg.REGION_ANONYMOUS) gg.searchNumber("10.0F;10.0F;10.0F;10.0F;45:193", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) gg.searchNumber("10", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) gg.getResults(100) gg.editAll("250", gg.TYPE_FLOAT) gg.alert("开启成功") gg.clearResults() gg.setRanges(gg.REGION_BAD) gg.searchNumber("-88.66608428955;26:512", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) gg.searchNumber("26", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) gg.getResults(2) gg.editAll("-460", gg.TYPE_FLOAT) gg.searchNumber("-88.73961639404;28:512", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) gg.searchNumber("28", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) gg.getResults(2) gg.editAll("-560", gg.TYPE_FLOAT) DM = " 全头开启成功" gg.playMusic("https://fanyi.baidu.com/gettts?lan=zh&text=" .. DM .. "&spd=5&source=wise") return end v26 = v26(v27, v28) v27 = v0.switch v28 = "小范围不减伤" function v29() gg.clearResults() gg.setRanges(gg.REGION_ANONYMOUS) gg.searchNumber("4,752,423,507,886,342,144", gg.TYPE_QWORD, false, gg.SIGN_EQUAL, 0, -1, 0) gg.getResults(100) gg.editAll("4,752,423,507,916,455,936", gg.TYPE_QWORD) gg.clearResults() gg.setRanges(gg.REGION_ANONYMOUS) gg.searchNumber("1,106,509,824", gg.TYPE_QWORD, false, gg.SIGN_EQUAL, 0, -1, 0) gg.getResults(100) gg.editAll("1,138,425,856", gg.TYPE_QWORD) gg.clearResults() gg.setRanges(gg.REGION_ANONYMOUS) gg.searchNumber("10.0F;10.0F;10.0F;10.0F;45:193", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) gg.searchNumber("10", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) gg.getResults(100) gg.editAll("250", gg.TYPE_FLOAT) gg.alert("开启成功") gg.clearResults() gg.setRanges(gg.REGION_BAD) gg.searchNumber("-88.66608428955;26:512", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) gg.searchNumber("26", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) gg.getResults(2) gg.editAll("-460", gg.TYPE_FLOAT) gg.searchNumber("-88.73961639404;28:512", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) gg.searchNumber("28", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) gg.getResults(2) gg.editAll("-560", gg.TYPE_FLOAT) DM = " 开启成功" gg.playMusic("https://fanyi.baidu.com/gettts?lan=zh&text=" .. DM .. "&spd=5&source=wise") return end v27 = v27(v28, v29) v28 = v0.switch v29 = "独家o内存不减伤" function v30() local v0_1, v1_1 v0_1 = "split" function v1_1(a0_2, a1_2) local v0_2, v1_2, v2_2, v3_2 v0_2 = 1 v1_2 = 1 v2_2 = {} while true do v3_2 = string.find(a0_2, a1_2, v0_2) if not v3_2 then break end v2_2[v1_2] = string.sub(a0_2, v0_2, v3_2 - 1) v0_2 = v3_2 + string.len(a1_2) v1_2 = v1_2 + 1 end v2_2[v1_2] = string.sub(a0_2, v0_2, string.len(a0_2)) return v2_2 end _ENV[v0_1] = v1_1 v0_1 = "xgxc" function v1_1(a0_2, a1_2) local v0_2, v1_2, v2_2, v3_2 v1_2 = #a1_2 v2_2 = 1 v0_2 = 1 - v2_2 while true do v0_2 = v0_2 + v2_2 if not (v0_2 <= v1_2) then break end v3_2 = v0_2 xgpy = a0_2 + a1_2[v3_2].offset xglx = a1_2[v3_2].type xgsz = a1_2[v3_2].value xgdj = a1_2[v3_2].freeze if xgdj ~= nil and xgdj ~= "" then gg.addListItems({ [1] = { address = xgpy, flags = xglx, freeze = xgdj, value = xgsz } }) else gg.setValues({ [1] = { address = xgpy, flags = xglx, value = xgsz } }) end xgsl = xgsl + 1 xgjg = true end return end _ENV[v0_1] = v1_1 v0_1 = "xqmnb" function v1_1(a0_2) local v0_2, v1_2, v2_2, v3_2, v4_2, v5_2, v6_2, v7_2 gg.clearResults() gg.setRanges(a0_2[1].memory) gg.searchNumber(a0_2[3].value, a0_2[3].type) if gg.getResultCount() == 0 then gg.toast(a0_2[2].name .. "开启失败") else gg.refineNumber(a0_2[3].value, a0_2[3].type) gg.refineNumber(a0_2[3].value, a0_2[3].type) gg.refineNumber(a0_2[3].value, a0_2[3].type) if gg.getResultCount() == 0 then gg.toast(a0_2[2].name .. "开启失败") else sl = gg.getResults(999999) sz = gg.getResultCount() xgsl = 0 if 999999 < sz then sz = 999999 end v0_2 = 1 v1_2 = sz v2_2 = 1 v0_2 = v0_2 - v2_2 while true do v0_2 = v0_2 + v2_2 if not (v0_2 <= v1_2) then break end v3_2 = v0_2 pdsz = true v5_2 = #a0_2 v6_2 = 1 v4_2 = 4 - v6_2 while true do v4_2 = v4_2 + v6_2 if not (v4_2 <= v5_2) then break end v7_2 = v4_2 if pdsz == true then pysz = { [1] = {} } pysz[1].address = sl[v3_2].address + a0_2[v7_2].offset pysz[1].flags = a0_2[v7_2].type szpy = gg.getValues(pysz) pdpd = a0_2[v7_2].lv .. ";" .. szpy[1].value szpd = split(pdpd, ";") tzszpd = szpd[1] pyszpd = szpd[2] if tzszpd == pyszpd then pdjg = true pdsz = true else pdjg = false pdsz = false end end end if pdjg == true then szpy = sl[v3_2].address xgxc(szpy, qmxg) end end if xgjg == true then gg.toast(a0_2[2].name .. "开启成功,一共修改" .. xgsl .. "条数据") else gg.toast(a0_2[2].name .. "未搜索到数据,开启失败") end end end return end _ENV[v0_1] = v1_1 v0_1 = "SearchWrite" function v1_1(a0_2, a1_2, a2_2) local v0_2, v1_2, v2_2, v3_2, v4_2, v5_2, v6_2, v7_2, v8_2, v9_2, v10_2, v11_2, v12_2, v13_2, v14_2, v15_2 gg.clearResults() gg.setVisible(false) gg.searchNumber(a0_2[1][1], a2_2) v0_2 = gg.getResultCount() v1_2 = gg.getResults(v0_2) gg.clearResults() v2_2 = {} v3_2 = a0_2[1][2] if 0 < v0_2 then v4_2, v5_2, v6_2 = ipairs(v1_2) while true do v7_2, v8_2 = v4_2(v5_2, v6_2) if v7_2 == nil then break end v6_2 = v7_2 v8_2.isUseful = true end v5_2 = #a0_2 v6_2 = 1 v4_2 = 2 - v6_2 while true do v4_2 = v4_2 + v6_2 if not (v4_2 <= v5_2) then break end v7_2 = v4_2 v8_2 = {} v9_2 = a0_2[v7_2][2] - v3_2 v10_2 = a0_2[v7_2][1] v11_2, v12_2, v13_2 = ipairs(v1_2) while true do v14_2, v15_2 = v11_2(v12_2, v13_2) if v14_2 == nil then break end v13_2 = v14_2 v8_2[#v8_2 + 1] = {} v8_2[#v8_2].address = v15_2.address + v9_2 v8_2[#v8_2].flags = v15_2.flags end v11_2, v12_2, v13_2 = ipairs((gg.getValues(v8_2))) while true do v14_2, v15_2 = v11_2(v12_2, v13_2) if v14_2 == nil then break end v13_2 = v14_2 if tostring(v15_2.value) ~= tostring(v10_2) then v1_2[v14_2].isUseful = false end end end v4_2, v5_2, v6_2 = ipairs(v1_2) while true do v7_2, v8_2 = v4_2(v5_2, v6_2) if v7_2 == nil then break end v6_2 = v7_2 if v8_2.isUseful then v2_2[#v2_2 + 1] = v8_2.address end end if 0 < #v2_2 then v4_2 = {} v5_2 = a0_2[1][2] v7_2 = #v2_2 v8_2 = 1 v6_2 = 1 - v8_2 while true do v6_2 = v6_2 + v8_2 if not (v6_2 <= v7_2) then break end v9_2 = v6_2 v10_2, v11_2, v12_2 = ipairs(a1_2) while true do v13_2, v14_2 = v10_2(v11_2, v12_2) if v13_2 == nil then break end v12_2 = v13_2 offset = v14_2[2] - v5_2 v4_2[#v4_2 + 1] = {} v4_2[#v4_2].address = v2_2[v9_2] + offset v4_2[#v4_2].flags = a2_2 v4_2[#v4_2].value = v14_2[1] if v14_2[3] == true then v15_2 = { [#v15_2 + 1] = v4_2[#v4_2] } v15_2[#v15_2].freeze = true gg.addListItems(v15_2) end end end gg.setValues(v4_2) gg.toast("开启成功,一共修改" .. #v4_2 .. "条数据") gg.addListItems(v4_2) return end gg.toast("未搜索到数据,开启失败", false) return false end gg.toast("Not Found") return false end _ENV[v0_1] = v1_1 v0_1 = "HaoGe" function v1_1(a0_2, a1_2, a2_2, a3_2) local v0_2, v1_2, v2_2, v3_2, v4_2, v5_2, v6_2, v7_2, v8_2, v9_2, v10_2, v11_2, v12_2, v13_2, v14_2, v15_2 gg.clearResults() gg.setRanges(a0_2) gg.setVisible(false) gg.searchNumber(a2_2[1][1], a1_2) v0_2 = gg.getResultCount() v1_2 = gg.getResults(v0_2) gg.clearResults() v2_2 = {} v3_2 = a2_2[1][2] if not (0 < v0_2) then return false end v4_2, v5_2, v6_2 = ipairs(v1_2) while true do v7_2, v8_2 = v4_2(v5_2, v6_2) if v7_2 == nil then break end v6_2 = v7_2 v8_2.isUseful = true end v5_2 = #a2_2 v6_2 = 1 v4_2 = 2 - v6_2 while true do v4_2 = v4_2 + v6_2 if not (v4_2 <= v5_2) then break end v7_2 = v4_2 v8_2 = {} v9_2 = a2_2[v7_2][2] - v3_2 v10_2 = a2_2[v7_2][1] v11_2, v12_2, v13_2 = ipairs(v1_2) while true do v14_2, v15_2 = v11_2(v12_2, v13_2) if v14_2 == nil then break end v13_2 = v14_2 v8_2[#v8_2 + 1] = {} v8_2[#v8_2].address = v15_2.address + v9_2 v8_2[#v8_2].flags = v15_2.flags end v11_2, v12_2, v13_2 = ipairs((gg.getValues(v8_2))) while true do v14_2, v15_2 = v11_2(v12_2, v13_2) if v14_2 == nil then break end v13_2 = v14_2 if tostring(v15_2.value) ~= tostring(v10_2) then v1_2[v14_2].isUseful = false end end end v4_2, v5_2, v6_2 = ipairs(v1_2) while true do v7_2, v8_2 = v4_2(v5_2, v6_2) if v7_2 == nil then break end v6_2 = v7_2 if v8_2.isUseful then v2_2[#v2_2 + 1] = v8_2.address end end if not (0 < #v2_2) then return false end v4_2 = {} v5_2 = a2_2[1][2] v7_2 = #v2_2 v8_2 = 1 v6_2 = 1 - v8_2 while true do v6_2 = v6_2 + v8_2 if not (v6_2 <= v7_2) then break end v9_2 = v6_2 v10_2, v11_2, v12_2 = ipairs(a3_2) while true do v13_2, v14_2 = v10_2(v11_2, v12_2) if v13_2 == nil then break end v12_2 = v13_2 offset = v14_2[2] - v5_2 v4_2[#v4_2 + 1] = {} v4_2[#v4_2].address = v2_2[v9_2] + offset v4_2[#v4_2].flags = a1_2 v4_2[#v4_2].value = v14_2[1] if v14_2[3] == true then v15_2 = { [#v15_2 + 1] = v4_2[#v4_2] } v15_2[#v15_2].freeze = true gg.addListItems(v15_2) end end end gg.setValues(v4_2) gg.sleep(400) return end _ENV[v0_1] = v1_1 v0_1 = "PS" function v1_1() return end _ENV[v0_1] = v1_1 v0_1 = "setvalue" function v1_1(a0_2, a1_2, a2_2) local v0_2 PS("修改地址数值(地址,数值类型,要修改的值)") v0_2 = { [1] = {} } v0_2[1].address = a0_2 v0_2[1].flags = a1_2 v0_2[1].value = a2_2 gg.setValues(v0_2) return end _ENV[v0_1] = v1_1 gg.clearResults() gg.setRanges(gg.REGION_ANONYMOUS) gg.searchNumber("4,752,423,507,886,342,144", gg.TYPE_QWORD, false, gg.SIGN_EQUAL, 0, -1, 0) gg.getResults(100) gg.editAll("4,752,423,507,916,455,936", gg.TYPE_QWORD) gg.clearResults() gg.setRanges(gg.REGION_ANONYMOUS) gg.searchNumber("1,106,509,824", gg.TYPE_QWORD, false, gg.SIGN_EQUAL, 0, -1, 0) gg.getResults(100) gg.editAll("1,138,425,856", gg.TYPE_QWORD) gg.clearResults() gg.setRanges(gg.REGION_ANONYMOUS) gg.searchNumber("10.0F;10.0F;10.0F;10.0F;45:193", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) gg.searchNumber("10", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) gg.getResults(100) gg.editAll("250", gg.TYPE_FLOAT) gg.alert("开启成功") gg.clearResults() gg.setRanges(gg.REGION_BAD) gg.searchNumber("-88.66608428955;26:512", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) gg.searchNumber("26", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) gg.getResults(2) gg.editAll("-460", gg.TYPE_FLOAT) gg.searchNumber("-88.73961639404;28:512", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) gg.searchNumber("28", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) gg.getResults(2) gg.editAll("-560", gg.TYPE_FLOAT) DM = " O内存不减伤范围开启成功" gg.playMusic("https://fanyi.baidu.com/gettts?lan=zh&text=" .. DM .. "&spd=5&source=wise") return end v28 = v28(v29, v30) v29 = v0.switch v30 = "定制不减伤爆头范围" function v31() local v0_1, v1_1 v0_1 = "split" function v1_1(a0_2, a1_2) local v0_2, v1_2, v2_2, v3_2 v0_2 = 1 v1_2 = 1 v2_2 = {} while true do v3_2 = string.find(a0_2, a1_2, v0_2) if not v3_2 then break end v2_2[v1_2] = string.sub(a0_2, v0_2, v3_2 - 1) v0_2 = v3_2 + string.len(a1_2) v1_2 = v1_2 + 1 end v2_2[v1_2] = string.sub(a0_2, v0_2, string.len(a0_2)) return v2_2 end _ENV[v0_1] = v1_1 v0_1 = "xgxc" function v1_1(a0_2, a1_2) local v0_2, v1_2, v2_2, v3_2 v1_2 = #a1_2 v2_2 = 1 v0_2 = 1 - v2_2 while true do v0_2 = v0_2 + v2_2 if not (v0_2 <= v1_2) then break end v3_2 = v0_2 xgpy = a0_2 + a1_2[v3_2].offset xglx = a1_2[v3_2].type xgsz = a1_2[v3_2].value xgdj = a1_2[v3_2].freeze if xgdj ~= nil and xgdj ~= "" then gg.addListItems({ [1] = { address = xgpy, flags = xglx, freeze = xgdj, value = xgsz } }) else gg.setValues({ [1] = { address = xgpy, flags = xglx, value = xgsz } }) end xgsl = xgsl + 1 xgjg = true end return end _ENV[v0_1] = v1_1 v0_1 = "xqmnb" function v1_1(a0_2) local v0_2, v1_2, v2_2, v3_2, v4_2, v5_2, v6_2, v7_2 gg.clearResults() gg.setRanges(a0_2[1].memory) gg.searchNumber(a0_2[3].value, a0_2[3].type) if gg.getResultCount() == 0 then gg.toast(a0_2[2].name .. "开启失败") else gg.refineNumber(a0_2[3].value, a0_2[3].type) gg.refineNumber(a0_2[3].value, a0_2[3].type) gg.refineNumber(a0_2[3].value, a0_2[3].type) if gg.getResultCount() == 0 then gg.toast(a0_2[2].name .. "开启失败") else sl = gg.getResults(999999) sz = gg.getResultCount() xgsl = 0 if 999999 < sz then sz = 999999 end v0_2 = 1 v1_2 = sz v2_2 = 1 v0_2 = v0_2 - v2_2 while true do v0_2 = v0_2 + v2_2 if not (v0_2 <= v1_2) then break end v3_2 = v0_2 pdsz = true v5_2 = #a0_2 v6_2 = 1 v4_2 = 4 - v6_2 while true do v4_2 = v4_2 + v6_2 if not (v4_2 <= v5_2) then break end v7_2 = v4_2 if pdsz == true then pysz = { [1] = {} } pysz[1].address = sl[v3_2].address + a0_2[v7_2].offset pysz[1].flags = a0_2[v7_2].type szpy = gg.getValues(pysz) pdpd = a0_2[v7_2].lv .. ";" .. szpy[1].value szpd = split(pdpd, ";") tzszpd = szpd[1] pyszpd = szpd[2] if tzszpd == pyszpd then pdjg = true pdsz = true else pdjg = false pdsz = false end end end if pdjg == true then szpy = sl[v3_2].address xgxc(szpy, qmxg) end end if xgjg == true then gg.toast(a0_2[2].name .. "开启成功,一共修改" .. xgsl .. "条数据") else gg.toast(a0_2[2].name .. "未搜索到数据,开启失败") end end end return end _ENV[v0_1] = v1_1 v0_1 = "SearchWrite" function v1_1(a0_2, a1_2, a2_2) local v0_2, v1_2, v2_2, v3_2, v4_2, v5_2, v6_2, v7_2, v8_2, v9_2, v10_2, v11_2, v12_2, v13_2, v14_2, v15_2 gg.clearResults() gg.setVisible(false) gg.searchNumber(a0_2[1][1], a2_2) v0_2 = gg.getResultCount() v1_2 = gg.getResults(v0_2) gg.clearResults() v2_2 = {} v3_2 = a0_2[1][2] if 0 < v0_2 then v4_2, v5_2, v6_2 = ipairs(v1_2) while true do v7_2, v8_2 = v4_2(v5_2, v6_2) if v7_2 == nil then break end v6_2 = v7_2 v8_2.isUseful = true end v5_2 = #a0_2 v6_2 = 1 v4_2 = 2 - v6_2 while true do v4_2 = v4_2 + v6_2 if not (v4_2 <= v5_2) then break end v7_2 = v4_2 v8_2 = {} v9_2 = a0_2[v7_2][2] - v3_2 v10_2 = a0_2[v7_2][1] v11_2, v12_2, v13_2 = ipairs(v1_2) while true do v14_2, v15_2 = v11_2(v12_2, v13_2) if v14_2 == nil then break end v13_2 = v14_2 v8_2[#v8_2 + 1] = {} v8_2[#v8_2].address = v15_2.address + v9_2 v8_2[#v8_2].flags = v15_2.flags end v11_2, v12_2, v13_2 = ipairs((gg.getValues(v8_2))) while true do v14_2, v15_2 = v11_2(v12_2, v13_2) if v14_2 == nil then break end v13_2 = v14_2 if tostring(v15_2.value) ~= tostring(v10_2) then v1_2[v14_2].isUseful = false end end end v4_2, v5_2, v6_2 = ipairs(v1_2) while true do v7_2, v8_2 = v4_2(v5_2, v6_2) if v7_2 == nil then break end v6_2 = v7_2 if v8_2.isUseful then v2_2[#v2_2 + 1] = v8_2.address end end if 0 < #v2_2 then v4_2 = {} v5_2 = a0_2[1][2] v7_2 = #v2_2 v8_2 = 1 v6_2 = 1 - v8_2 while true do v6_2 = v6_2 + v8_2 if not (v6_2 <= v7_2) then break end v9_2 = v6_2 v10_2, v11_2, v12_2 = ipairs(a1_2) while true do v13_2, v14_2 = v10_2(v11_2, v12_2) if v13_2 == nil then break end v12_2 = v13_2 offset = v14_2[2] - v5_2 v4_2[#v4_2 + 1] = {} v4_2[#v4_2].address = v2_2[v9_2] + offset v4_2[#v4_2].flags = a2_2 v4_2[#v4_2].value = v14_2[1] if v14_2[3] == true then v15_2 = { [#v15_2 + 1] = v4_2[#v4_2] } v15_2[#v15_2].freeze = true gg.addListItems(v15_2) end end end gg.setValues(v4_2) gg.toast("开启成功,一共修改" .. #v4_2 .. "条数据") gg.addListItems(v4_2) return end gg.toast("未搜索到数据,开启失败", false) return false end gg.toast("Not Found") return false end _ENV[v0_1] = v1_1 v0_1 = "HaoGe" function v1_1(a0_2, a1_2, a2_2, a3_2) local v0_2, v1_2, v2_2, v3_2, v4_2, v5_2, v6_2, v7_2, v8_2, v9_2, v10_2, v11_2, v12_2, v13_2, v14_2, v15_2 gg.clearResults() gg.setRanges(a0_2) gg.setVisible(false) gg.searchNumber(a2_2[1][1], a1_2) v0_2 = gg.getResultCount() v1_2 = gg.getResults(v0_2) gg.clearResults() v2_2 = {} v3_2 = a2_2[1][2] if not (0 < v0_2) then return false end v4_2, v5_2, v6_2 = ipairs(v1_2) while true do v7_2, v8_2 = v4_2(v5_2, v6_2) if v7_2 == nil then break end v6_2 = v7_2 v8_2.isUseful = true end v5_2 = #a2_2 v6_2 = 1 v4_2 = 2 - v6_2 while true do v4_2 = v4_2 + v6_2 if not (v4_2 <= v5_2) then break end v7_2 = v4_2 v8_2 = {} v9_2 = a2_2[v7_2][2] - v3_2 v10_2 = a2_2[v7_2][1] v11_2, v12_2, v13_2 = ipairs(v1_2) while true do v14_2, v15_2 = v11_2(v12_2, v13_2) if v14_2 == nil then break end v13_2 = v14_2 v8_2[#v8_2 + 1] = {} v8_2[#v8_2].address = v15_2.address + v9_2 v8_2[#v8_2].flags = v15_2.flags end v11_2, v12_2, v13_2 = ipairs((gg.getValues(v8_2))) while true do v14_2, v15_2 = v11_2(v12_2, v13_2) if v14_2 == nil then break end v13_2 = v14_2 if tostring(v15_2.value) ~= tostring(v10_2) then v1_2[v14_2].isUseful = false end end end v4_2, v5_2, v6_2 = ipairs(v1_2) while true do v7_2, v8_2 = v4_2(v5_2, v6_2) if v7_2 == nil then break end v6_2 = v7_2 if v8_2.isUseful then v2_2[#v2_2 + 1] = v8_2.address end end if not (0 < #v2_2) then return false end v4_2 = {} v5_2 = a2_2[1][2] v7_2 = #v2_2 v8_2 = 1 v6_2 = 1 - v8_2 while true do v6_2 = v6_2 + v8_2 if not (v6_2 <= v7_2) then break end v9_2 = v6_2 v10_2, v11_2, v12_2 = ipairs(a3_2) while true do v13_2, v14_2 = v10_2(v11_2, v12_2) if v13_2 == nil then break end v12_2 = v13_2 offset = v14_2[2] - v5_2 v4_2[#v4_2 + 1] = {} v4_2[#v4_2].address = v2_2[v9_2] + offset v4_2[#v4_2].flags = a1_2 v4_2[#v4_2].value = v14_2[1] if v14_2[3] == true then v15_2 = { [#v15_2 + 1] = v4_2[#v4_2] } v15_2[#v15_2].freeze = true gg.addListItems(v15_2) end end end gg.setValues(v4_2) gg.sleep(400) return end _ENV[v0_1] = v1_1 v0_1 = "PS" function v1_1() return end _ENV[v0_1] = v1_1 v0_1 = "setvalue" function v1_1(a0_2, a1_2, a2_2) local v0_2 PS("修改地址数值(地址,数值类型,要修改的值)") v0_2 = { [1] = {} } v0_2[1].address = a0_2 v0_2[1].flags = a1_2 v0_2[1].value = a2_2 gg.setValues(v0_2) return end _ENV[v0_1] = v1_1 gg.clearResults() gg.setRanges(gg.REGION_ANONYMOUS) gg.searchNumber("4,752,423,507,886,342,144", gg.TYPE_QWORD, false, gg.SIGN_EQUAL, 0, -1, 0) gg.getResults(100) gg.editAll("4,752,423,507,916,455,936", gg.TYPE_QWORD) gg.clearResults() gg.setRanges(gg.REGION_ANONYMOUS) gg.searchNumber("1,106,509,824", gg.TYPE_QWORD, false, gg.SIGN_EQUAL, 0, -1, 0) gg.getResults(100) gg.editAll("1,138,425,856", gg.TYPE_QWORD) gg.clearResults() gg.setRanges(gg.REGION_ANONYMOUS) gg.searchNumber("10.0F;10.0F;10.0F;10.0F;45:193", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) gg.searchNumber("10", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) gg.getResults(100) gg.editAll("250", gg.TYPE_FLOAT) gg.alert("开启成功") gg.clearResults() gg.setRanges(gg.REGION_BAD) gg.searchNumber("-88.66608428955;26:512", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) gg.searchNumber("26", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) gg.getResults(2) gg.editAll("-460", gg.TYPE_FLOAT) gg.searchNumber("-88.73961639404;28:512", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) gg.searchNumber("28", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) gg.getResults(2) gg.editAll("-560", gg.TYPE_FLOAT) DM = " 不减伤爆头范围开启成功" gg.playMusic("https://fanyi.baidu.com/gettts?lan=zh&text=" .. DM .. "&spd=5&source=wise") return end v29 = v29(v30, v31) v30 = v0.switch v31 = "独家7h不减伤修伤范围" function v32() local v0_1, v1_1 v0_1 = "split" function v1_1(a0_2, a1_2) local v0_2, v1_2, v2_2, v3_2 v0_2 = 1 v1_2 = 1 v2_2 = {} while true do v3_2 = string.find(a0_2, a1_2, v0_2) if not v3_2 then break end v2_2[v1_2] = string.sub(a0_2, v0_2, v3_2 - 1) v0_2 = v3_2 + string.len(a1_2) v1_2 = v1_2 + 1 end v2_2[v1_2] = string.sub(a0_2, v0_2, string.len(a0_2)) return v2_2 end _ENV[v0_1] = v1_1 v0_1 = "xgxc" function v1_1(a0_2, a1_2) local v0_2, v1_2, v2_2, v3_2 v1_2 = #a1_2 v2_2 = 1 v0_2 = 1 - v2_2 while true do v0_2 = v0_2 + v2_2 if not (v0_2 <= v1_2) then break end v3_2 = v0_2 xgpy = a0_2 + a1_2[v3_2].offset xglx = a1_2[v3_2].type xgsz = a1_2[v3_2].value xgdj = a1_2[v3_2].freeze if xgdj ~= nil and xgdj ~= "" then gg.addListItems({ [1] = { address = xgpy, flags = xglx, freeze = xgdj, value = xgsz } }) else gg.setValues({ [1] = { address = xgpy, flags = xglx, value = xgsz } }) end xgsl = xgsl + 1 xgjg = true end return end _ENV[v0_1] = v1_1 v0_1 = "xqmnb" function v1_1(a0_2) local v0_2, v1_2, v2_2, v3_2, v4_2, v5_2, v6_2, v7_2 gg.clearResults() gg.setRanges(a0_2[1].memory) gg.searchNumber(a0_2[3].value, a0_2[3].type) if gg.getResultCount() == 0 then gg.toast(a0_2[2].name .. "开启失败") else gg.refineNumber(a0_2[3].value, a0_2[3].type) gg.refineNumber(a0_2[3].value, a0_2[3].type) gg.refineNumber(a0_2[3].value, a0_2[3].type) if gg.getResultCount() == 0 then gg.toast(a0_2[2].name .. "开启失败") else sl = gg.getResults(999999) sz = gg.getResultCount() xgsl = 0 if 999999 < sz then sz = 999999 end v0_2 = 1 v1_2 = sz v2_2 = 1 v0_2 = v0_2 - v2_2 while true do v0_2 = v0_2 + v2_2 if not (v0_2 <= v1_2) then break end v3_2 = v0_2 pdsz = true v5_2 = #a0_2 v6_2 = 1 v4_2 = 4 - v6_2 while true do v4_2 = v4_2 + v6_2 if not (v4_2 <= v5_2) then break end v7_2 = v4_2 if pdsz == true then pysz = { [1] = {} } pysz[1].address = sl[v3_2].address + a0_2[v7_2].offset pysz[1].flags = a0_2[v7_2].type szpy = gg.getValues(pysz) pdpd = a0_2[v7_2].lv .. ";" .. szpy[1].value szpd = split(pdpd, ";") tzszpd = szpd[1] pyszpd = szpd[2] if tzszpd == pyszpd then pdjg = true pdsz = true else pdjg = false pdsz = false end end end if pdjg == true then szpy = sl[v3_2].address xgxc(szpy, qmxg) end end if xgjg == true then gg.toast(a0_2[2].name .. "貌似开启成功了,一共修改" .. xgsl .. "条数据") else gg.toast(a0_2[2].name .. "未搜索到数据,开启失败") end end end return end _ENV[v0_1] = v1_1 v0_1 = "SearchWrite" function v1_1(a0_2, a1_2, a2_2) local v0_2, v1_2, v2_2, v3_2, v4_2, v5_2, v6_2, v7_2, v8_2, v9_2, v10_2, v11_2, v12_2, v13_2, v14_2, v15_2 gg.clearResults() gg.setVisible(false) gg.searchNumber(a0_2[1][1], a2_2) v0_2 = gg.getResultCount() v1_2 = gg.getResults(v0_2) gg.clearResults() v2_2 = {} v3_2 = a0_2[1][2] if 0 < v0_2 then v4_2, v5_2, v6_2 = ipairs(v1_2) while true do v7_2, v8_2 = v4_2(v5_2, v6_2) if v7_2 == nil then break end v6_2 = v7_2 v8_2.isUseful = true end v5_2 = #a0_2 v6_2 = 1 v4_2 = 2 - v6_2 while true do v4_2 = v4_2 + v6_2 if not (v4_2 <= v5_2) then break end v7_2 = v4_2 v8_2 = {} v9_2 = a0_2[v7_2][2] - v3_2 v10_2 = a0_2[v7_2][1] v11_2, v12_2, v13_2 = ipairs(v1_2) while true do v14_2, v15_2 = v11_2(v12_2, v13_2) if v14_2 == nil then break end v13_2 = v14_2 v8_2[#v8_2 + 1] = {} v8_2[#v8_2].address = v15_2.address + v9_2 v8_2[#v8_2].flags = v15_2.flags end v11_2, v12_2, v13_2 = ipairs((gg.getValues(v8_2))) while true do v14_2, v15_2 = v11_2(v12_2, v13_2) if v14_2 == nil then break end v13_2 = v14_2 if tostring(v15_2.value) ~= tostring(v10_2) then v1_2[v14_2].isUseful = false end end end v4_2, v5_2, v6_2 = ipairs(v1_2) while true do v7_2, v8_2 = v4_2(v5_2, v6_2) if v7_2 == nil then break end v6_2 = v7_2 if v8_2.isUseful then v2_2[#v2_2 + 1] = v8_2.address end end if 0 < #v2_2 then v4_2 = {} v5_2 = a0_2[1][2] v7_2 = #v2_2 v8_2 = 1 v6_2 = 1 - v8_2 while true do v6_2 = v6_2 + v8_2 if not (v6_2 <= v7_2) then break end v9_2 = v6_2 v10_2, v11_2, v12_2 = ipairs(a1_2) while true do v13_2, v14_2 = v10_2(v11_2, v12_2) if v13_2 == nil then break end v12_2 = v13_2 offset = v14_2[2] - v5_2 v4_2[#v4_2 + 1] = {} v4_2[#v4_2].address = v2_2[v9_2] + offset v4_2[#v4_2].flags = a2_2 v4_2[#v4_2].value = v14_2[1] if v14_2[3] == true then v15_2 = { [#v15_2 + 1] = v4_2[#v4_2] } v15_2[#v15_2].freeze = true gg.addListItems(v15_2) end end end gg.setValues(v4_2) gg.toast("貌似开启成功了,一共修改" .. #v4_2 .. "条数据") gg.addListItems(v4_2) return end gg.toast("未搜索到数据,开启失败", false) return false end gg.toast("Not Found") return false end _ENV[v0_1] = v1_1 v0_1 = "HaoGe" function v1_1(a0_2, a1_2, a2_2, a3_2) local v0_2, v1_2, v2_2, v3_2, v4_2, v5_2, v6_2, v7_2, v8_2, v9_2, v10_2, v11_2, v12_2, v13_2, v14_2, v15_2 gg.clearResults() gg.setRanges(a0_2) gg.setVisible(false) gg.searchNumber(a2_2[1][1], a1_2) v0_2 = gg.getResultCount() v1_2 = gg.getResults(v0_2) gg.clearResults() v2_2 = {} v3_2 = a2_2[1][2] if not (0 < v0_2) then return false end v4_2, v5_2, v6_2 = ipairs(v1_2) while true do v7_2, v8_2 = v4_2(v5_2, v6_2) if v7_2 == nil then break end v6_2 = v7_2 v8_2.isUseful = true end v5_2 = #a2_2 v6_2 = 1 v4_2 = 2 - v6_2 while true do v4_2 = v4_2 + v6_2 if not (v4_2 <= v5_2) then break end v7_2 = v4_2 v8_2 = {} v9_2 = a2_2[v7_2][2] - v3_2 v10_2 = a2_2[v7_2][1] v11_2, v12_2, v13_2 = ipairs(v1_2) while true do v14_2, v15_2 = v11_2(v12_2, v13_2) if v14_2 == nil then break end v13_2 = v14_2 v8_2[#v8_2 + 1] = {} v8_2[#v8_2].address = v15_2.address + v9_2 v8_2[#v8_2].flags = v15_2.flags end v11_2, v12_2, v13_2 = ipairs((gg.getValues(v8_2))) while true do v14_2, v15_2 = v11_2(v12_2, v13_2) if v14_2 == nil then break end v13_2 = v14_2 if tostring(v15_2.value) ~= tostring(v10_2) then v1_2[v14_2].isUseful = false end end end v4_2, v5_2, v6_2 = ipairs(v1_2) while true do v7_2, v8_2 = v4_2(v5_2, v6_2) if v7_2 == nil then break end v6_2 = v7_2 if v8_2.isUseful then v2_2[#v2_2 + 1] = v8_2.address end end if not (0 < #v2_2) then return false end v4_2 = {} v5_2 = a2_2[1][2] v7_2 = #v2_2 v8_2 = 1 v6_2 = 1 - v8_2 while true do v6_2 = v6_2 + v8_2 if not (v6_2 <= v7_2) then break end v9_2 = v6_2 v10_2, v11_2, v12_2 = ipairs(a3_2) while true do v13_2, v14_2 = v10_2(v11_2, v12_2) if v13_2 == nil then break end v12_2 = v13_2 offset = v14_2[2] - v5_2 v4_2[#v4_2 + 1] = {} v4_2[#v4_2].address = v2_2[v9_2] + offset v4_2[#v4_2].flags = a1_2 v4_2[#v4_2].value = v14_2[1] if v14_2[3] == true then v15_2 = { [#v15_2 + 1] = v4_2[#v4_2] } v15_2[#v15_2].freeze = true gg.addListItems(v15_2) end end end gg.setValues(v4_2) gg.sleep(400) return end _ENV[v0_1] = v1_1 Name = "ʜᴇᴀᴅ ʜɪᴛᴛɪɴɢ ᴡɪᴛʜᴏᴜᴛ ᴡᴀsᴛᴇ ᴏғ ʙᴜʟʟᴇᴛ" HaoGe(16384, 16, { {-1.42781105E28, 0} }, { {0, 0} }) qmnb = { {memory = 32}, {name = ""}, {value = 4740038608910024704, type = 32}, { lv = 4752423507886342144, offset = 4, type = 32 }, { lv = 1106509824, offset = 8, type = 32 } } qmxg = { { value = 700, offset = 4, type = 16 }, { value = 700, offset = 8, type = 16 } } xqmnb(qmnb) qmnb = { {memory = 32}, {name = ""}, {value = 4719772412750681088, type = 32}, { lv = 4742290408720039936, offset = 4, type = 32 } } qmxg = { { value = -460, offset = 8, type = 16 } } xqmnb(qmnb) qmnb = { {memory = 32}, {name = ""}, {value = -4417614866316724224, type = 32}, { lv = 4724276012378061824, offset = 4, type = 32 } } qmxg = { { value = -560, offset = 12, type = 16 } } xqmnb(qmnb) qmnb = { {memory = 32}, {name = ""}, {value = -4416487068034336768, type = 32}, { lv = 4724276012378323968, offset = 4, type = 32 } } qmxg = { { value = -660, offset = 8, type = 16 }, { value = -660, offset = 12, type = 16 } } xqmnb(qmnb) qmnb = { {memory = 32}, {name = ""}, {value = 4771563806291656704, type = 32}, { lv = 1110966272, offset = 4, type = 32 }, { lv = 4692750811720056832, offset = -4, type = 32 } } qmxg = { { value = 999, offset = 0, type = 16 } } DM = " 7h修伤爆头范围开启成功" gg.playMusic("https://fanyi.baidu.com/gettts?lan=zh&text=" .. DM .. "&spd=5&source=wise") return end v30 = v30(v31, v32) v31 = v0.switch v32 = "独家不卡伤秒飞天范围" function v33() local v0_1, v1_1 v0_1 = "split" function v1_1(a0_2, a1_2) local v0_2, v1_2, v2_2 v0_2 = 1 v1_2 = 1 v2_2 = {} while string.find(a0_2, a1_2, v0_2) do v2_2[v1_2] = string.sub(a0_2, v0_2, string.find(a0_2, a1_2, v0_2) - 1) v0_2 = string.find(a0_2, a1_2, v0_2) + string.len(a1_2) v1_2 = v1_2 + 1 end v2_2[v1_2] = string.sub(a0_2, v0_2, string.len(a0_2)) return v2_2 end _ENV[v0_1] = v1_1 v0_1 = "xgxc" function v1_1(a0_2, a1_2) local v4_2, v5_2, v6_2, v7_2 v5_2 = #a1_2 v6_2 = 1 v4_2 = 1 - v6_2 while true do v4_2 = v4_2 + v6_2 if not (v4_2 <= v5_2) then break end v7_2 = v4_2 xgpy = a0_2 + a1_2[v7_2].offset xglx = a1_2[v7_2].type xgsz = a1_2[v7_2].value xgdj = a1_2[v7_2].freeze if xgdj ~= nil and xgdj ~= "" then gg.addListItems({ [1] = { address = xgpy, flags = xglx, freeze = xgdj, value = xgsz } }) else gg.setValues({ [1] = { address = xgpy, flags = xglx, value = xgsz } }) end xgsl = xgsl + 1 xgjg = true end return end _ENV[v0_1] = v1_1 v0_1 = "xqmnb" function v1_1(a0_2) local v0_2, v1_2, v2_2, v3_2, v4_2, v5_2, v6_2, v7_2 gg.clearResults() gg.setRanges(a0_2[1].memory) gg.searchNumber(a0_2[3].value, a0_2[3].type) if gg.getResultCount() == 0 then gg.toast(a0_2[2].name .. "开启失败") else gg.refineNumber(a0_2[3].value, a0_2[3].type) gg.refineNumber(a0_2[3].value, a0_2[3].type) gg.refineNumber(a0_2[3].value, a0_2[3].type) if gg.getResultCount() == 0 then gg.toast(a0_2[2].name .. "开启失败") else sl = gg.getResults(999999) sz = gg.getResultCount() xgsl = 0 if 999999 < sz then sz = 999999 end v0_2 = 1 v1_2 = sz v2_2 = 1 v0_2 = v0_2 - v2_2 while true do v0_2 = v0_2 + v2_2 if not (v0_2 <= v1_2) then break end v3_2 = v0_2 pdsz = true v5_2 = #a0_2 v6_2 = 1 v4_2 = 4 - v6_2 while true do v4_2 = v4_2 + v6_2 if not (v4_2 <= v5_2) then break end v7_2 = v4_2 if pdsz == true then pysz = { [1] = {} } pysz[1].address = sl[v3_2].address + a0_2[v7_2].offset pysz[1].flags = a0_2[v7_2].type szpy = gg.getValues(pysz) pdpd = a0_2[v7_2].lv .. ";" .. szpy[1].value szpd = split(pdpd, ";") tzszpd = szpd[1] pyszpd = szpd[2] if tzszpd == pyszpd then pdjg = true pdsz = true else pdjg = false pdsz = false end end end if pdjg == true then szpy = sl[v3_2].address xgxc(szpy, qmxg) end end if xgjg == true then gg.toast(a0_2[2].name .. "开启成功,一共修改" .. xgsl .. "条数据") else gg.toast(a0_2[2].name .. "未搜索到数据,开启失败") end end end return end _ENV[v0_1] = v1_1 v0_1 = "SearchWrite" function v1_1(a0_2, a1_2, a2_2) return end _ENV[v0_1] = v1_1 v0_1 = "HaoGe" function v1_1(a0_2, a1_2, a2_2, a3_2) return end _ENV[v0_1] = v1_1 gg.clearResults() gg.setRanges(gg.REGION_ANONYMOUS) gg.searchNumber("4,752,423,507,886,342,144", gg.TYPE_QWORD, false, gg.SIGN_EQUAL, 0, -1, 0) gg.getResults(100) gg.editAll("4,752,423,507,916,455,936", gg.TYPE_QWORD) gg.clearResults() gg.setRanges(gg.REGION_ANONYMOUS) gg.searchNumber("1,106,509,824", gg.TYPE_QWORD, false, gg.SIGN_EQUAL, 0, -1, 0) gg.getResults(100) gg.editAll("1,138,425,856", gg.TYPE_QWORD) gg.clearResults() gg.setRanges(gg.REGION_ANONYMOUS) gg.searchNumber("23;25;30.5", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) gg.refineNumber("23", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) gg.getResults(1111) gg.editAll("15", gg.TYPE_FLOAT) gg.clearResults() gg.setRanges(gg.REGION_ANONYMOUS) gg.searchNumber("25;30.5", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) gg.getResults(100) gg.editAll("250", gg.TYPE_FLOAT) gg.clearResults() Name = "成功" HaoGe(16384, 16, { {-1.42781105E28, 0} }, { {0, 0} }) qmnb = { {memory = 32}, { name = "不减伤头部范围开启成功" }, {value = 4740038608910024704, type = 32}, { lv = 4752423507886342144, offset = 4, type = 32 }, { lv = 1106509824, offset = 8, type = 32 } } qmxg = { { value = 700, offset = 4, type = 16 }, { value = 700, offset = 8, type = 16 } } xqmnb(qmnb) qmnb = { {memory = 32}, { name = "不减伤头部范围开启成功" }, {value = 4719772412750681088, type = 32}, { lv = 4742290408720039936, offset = 4, type = 32 } } qmxg = { { value = -460, offset = 8, type = 16 } } xqmnb(qmnb) qmnb = { {memory = 32}, { name = "不减伤头部范围开启成功" }, {value = -4417614866316724224, type = 32}, { lv = 4724276012378061824, offset = 4, type = 32 } } qmxg = { { value = -560, offset = 12, type = 16 } } xqmnb(qmnb) qmnb = { {memory = 32}, { name = "开启成功" }, {value = -4416487068034336768, type = 32}, { lv = 4724276012378323968, offset = 4, type = 32 } } qmxg = { { value = -660, offset = 8, type = 16 }, { value = -660, offset = 12, type = 16 } } xqmnb(qmnb) DM = "不卡伤,秒飞天范围开启成功" gg.playMusic("https://fanyi.baidu.com/gettts?lan=zh&text=" .. DM .. "&spd=5&source=wise") return end v31 = v31(v32, v33) v32 = v0.switch v33 = "独家Xa不减伤防伤范围" function v34() local v0_1, v1_1 v0_1 = "split" function v1_1(a0_2, a1_2) local v0_2, v1_2, v2_2, v3_2 v0_2 = 1 v1_2 = 1 v2_2 = {} while true do v3_2 = string.find(a0_2, a1_2, v0_2) if not v3_2 then break end v2_2[v1_2] = string.sub(a0_2, v0_2, v3_2 - 1) v0_2 = v3_2 + string.len(a1_2) v1_2 = v1_2 + 1 end v2_2[v1_2] = string.sub(a0_2, v0_2, string.len(a0_2)) return v2_2 end _ENV[v0_1] = v1_1 v0_1 = "xgxc" function v1_1(a0_2, a1_2) local v0_2, v1_2, v2_2, v3_2 v1_2 = #a1_2 v2_2 = 1 v0_2 = 1 - v2_2 while true do v0_2 = v0_2 + v2_2 if not (v0_2 <= v1_2) then break end v3_2 = v0_2 xgpy = a0_2 + a1_2[v3_2].offset xglx = a1_2[v3_2].type xgsz = a1_2[v3_2].value xgdj = a1_2[v3_2].freeze if xgdj ~= nil and xgdj ~= "" then gg.addListItems({ [1] = { address = xgpy, flags = xglx, freeze = xgdj, value = xgsz } }) else gg.setValues({ [1] = { address = xgpy, flags = xglx, value = xgsz } }) end xgsl = xgsl + 1 xgjg = true end return end _ENV[v0_1] = v1_1 v0_1 = "xqmnb" function v1_1(a0_2) local v0_2, v1_2, v2_2, v3_2, v4_2, v5_2, v6_2, v7_2 gg.clearResults() gg.setRanges(a0_2[1].memory) gg.searchNumber(a0_2[3].value, a0_2[3].type) if gg.getResultCount() == 0 then gg.toast(a0_2[2].name .. "开启失败") else gg.refineNumber(a0_2[3].value, a0_2[3].type) gg.refineNumber(a0_2[3].value, a0_2[3].type) gg.refineNumber(a0_2[3].value, a0_2[3].type) if gg.getResultCount() == 0 then gg.toast(a0_2[2].name .. "开启失败") else sl = gg.getResults(999999) sz = gg.getResultCount() xgsl = 0 if 999999 < sz then sz = 999999 end v0_2 = 1 v1_2 = sz v2_2 = 1 v0_2 = v0_2 - v2_2 while true do v0_2 = v0_2 + v2_2 if not (v0_2 <= v1_2) then break end v3_2 = v0_2 pdsz = true v5_2 = #a0_2 v6_2 = 1 v4_2 = 4 - v6_2 while true do v4_2 = v4_2 + v6_2 if not (v4_2 <= v5_2) then break end v7_2 = v4_2 if pdsz == true then pysz = { [1] = {} } pysz[1].address = sl[v3_2].address + a0_2[v7_2].offset pysz[1].flags = a0_2[v7_2].type szpy = gg.getValues(pysz) pdpd = a0_2[v7_2].lv .. ";" .. szpy[1].value szpd = split(pdpd, ";") tzszpd = szpd[1] pyszpd = szpd[2] if tzszpd == pyszpd then pdjg = true pdsz = true else pdjg = false pdsz = false end end end if pdjg == true then szpy = sl[v3_2].address xgxc(szpy, qmxg) end end if xgjg == true then gg.toast(a0_2[2].name .. "开启成功,一共修改" .. xgsl .. "条数据") else gg.toast(a0_2[2].name .. "未搜索到数据,开启失败") end end end return end _ENV[v0_1] = v1_1 v0_1 = "SearchWrite" function v1_1(a0_2, a1_2, a2_2) local v0_2, v1_2, v2_2, v3_2, v4_2, v5_2, v6_2, v7_2, v8_2, v9_2, v10_2, v11_2, v12_2, v13_2, v14_2, v15_2 gg.clearResults() gg.setVisible(false) gg.searchNumber(a0_2[1][1], a2_2) v0_2 = gg.getResultCount() v1_2 = gg.getResults(v0_2) gg.clearResults() v2_2 = {} v3_2 = a0_2[1][2] if 0 < v0_2 then v4_2, v5_2, v6_2 = ipairs(v1_2) while true do v7_2, v8_2 = v4_2(v5_2, v6_2) if v7_2 == nil then break end v6_2 = v7_2 v8_2.isUseful = true end v5_2 = #a0_2 v6_2 = 1 v4_2 = 2 - v6_2 while true do v4_2 = v4_2 + v6_2 if not (v4_2 <= v5_2) then break end v7_2 = v4_2 v8_2 = {} v9_2 = a0_2[v7_2][2] - v3_2 v10_2 = a0_2[v7_2][1] v11_2, v12_2, v13_2 = ipairs(v1_2) while true do v14_2, v15_2 = v11_2(v12_2, v13_2) if v14_2 == nil then break end v13_2 = v14_2 v8_2[#v8_2 + 1] = {} v8_2[#v8_2].address = v15_2.address + v9_2 v8_2[#v8_2].flags = v15_2.flags end v11_2, v12_2, v13_2 = ipairs((gg.getValues(v8_2))) while true do v14_2, v15_2 = v11_2(v12_2, v13_2) if v14_2 == nil then break end v13_2 = v14_2 if tostring(v15_2.value) ~= tostring(v10_2) then v1_2[v14_2].isUseful = false end end end v4_2, v5_2, v6_2 = ipairs(v1_2) while true do v7_2, v8_2 = v4_2(v5_2, v6_2) if v7_2 == nil then break end v6_2 = v7_2 if v8_2.isUseful then v2_2[#v2_2 + 1] = v8_2.address end end if 0 < #v2_2 then v4_2 = {} v5_2 = a0_2[1][2] v7_2 = #v2_2 v8_2 = 1 v6_2 = 1 - v8_2 while true do v6_2 = v6_2 + v8_2 if not (v6_2 <= v7_2) then break end v9_2 = v6_2 v10_2, v11_2, v12_2 = ipairs(a1_2) while true do v13_2, v14_2 = v10_2(v11_2, v12_2) if v13_2 == nil then break end v12_2 = v13_2 offset = v14_2[2] - v5_2 v4_2[#v4_2 + 1] = {} v4_2[#v4_2].address = v2_2[v9_2] + offset v4_2[#v4_2].flags = a2_2 v4_2[#v4_2].value = v14_2[1] if v14_2[3] == true then v15_2 = { [#v15_2 + 1] = v4_2[#v4_2] } v15_2[#v15_2].freeze = true gg.addListItems(v15_2) end end end gg.setValues(v4_2) gg.toast("开启成功,一共修改" .. #v4_2 .. "条数据") gg.addListItems(v4_2) return end gg.toast("未搜索到数据,开启失败", false) return false end gg.toast("Not Found") return false end _ENV[v0_1] = v1_1 v0_1 = "HaoGe" function v1_1(a0_2, a1_2, a2_2, a3_2) local v0_2, v1_2, v2_2, v3_2, v4_2, v5_2, v6_2, v7_2, v8_2, v9_2, v10_2, v11_2, v12_2, v13_2, v14_2, v15_2 gg.clearResults() gg.setRanges(a0_2) gg.setVisible(false) gg.searchNumber(a2_2[1][1], a1_2) v0_2 = gg.getResultCount() v1_2 = gg.getResults(v0_2) gg.clearResults() v2_2 = {} v3_2 = a2_2[1][2] if not (0 < v0_2) then return false end v4_2, v5_2, v6_2 = ipairs(v1_2) while true do v7_2, v8_2 = v4_2(v5_2, v6_2) if v7_2 == nil then break end v6_2 = v7_2 v8_2.isUseful = true end v5_2 = #a2_2 v6_2 = 1 v4_2 = 2 - v6_2 while true do v4_2 = v4_2 + v6_2 if not (v4_2 <= v5_2) then break end v7_2 = v4_2 v8_2 = {} v9_2 = a2_2[v7_2][2] - v3_2 v10_2 = a2_2[v7_2][1] v11_2, v12_2, v13_2 = ipairs(v1_2) while true do v14_2, v15_2 = v11_2(v12_2, v13_2) if v14_2 == nil then break end v13_2 = v14_2 v8_2[#v8_2 + 1] = {} v8_2[#v8_2].address = v15_2.address + v9_2 v8_2[#v8_2].flags = v15_2.flags end v11_2, v12_2, v13_2 = ipairs((gg.getValues(v8_2))) while true do v14_2, v15_2 = v11_2(v12_2, v13_2) if v14_2 == nil then break end v13_2 = v14_2 if tostring(v15_2.value) ~= tostring(v10_2) then v1_2[v14_2].isUseful = false end end end v4_2, v5_2, v6_2 = ipairs(v1_2) while true do v7_2, v8_2 = v4_2(v5_2, v6_2) if v7_2 == nil then break end v6_2 = v7_2 if v8_2.isUseful then v2_2[#v2_2 + 1] = v8_2.address end end if not (0 < #v2_2) then return false end v4_2 = {} v5_2 = a2_2[1][2] v7_2 = #v2_2 v8_2 = 1 v6_2 = 1 - v8_2 while true do v6_2 = v6_2 + v8_2 if not (v6_2 <= v7_2) then break end v9_2 = v6_2 v10_2, v11_2, v12_2 = ipairs(a3_2) while true do v13_2, v14_2 = v10_2(v11_2, v12_2) if v13_2 == nil then break end v12_2 = v13_2 offset = v14_2[2] - v5_2 v4_2[#v4_2 + 1] = {} v4_2[#v4_2].address = v2_2[v9_2] + offset v4_2[#v4_2].flags = a1_2 v4_2[#v4_2].value = v14_2[1] if v14_2[3] == true then v15_2 = { [#v15_2 + 1] = v4_2[#v4_2] } v15_2[#v15_2].freeze = true gg.addListItems(v15_2) end end end gg.setValues(v4_2) gg.sleep(400) return end _ENV[v0_1] = v1_1 Name = "子弹乱穿" HaoGe(16384, 16, { {-1.42781105E28, 0} }, { {0, 0} }) qmnb = { {memory = 32}, {name = "防伤"}, {value = 4740038608910024704, type = 32}, { lv = 4752423507886342144, offset = 4, type = 32 }, { lv = 1106509824, offset = 8, type = 32 } } qmxg = { { value = 700, offset = 4, type = 16 }, { value = 700, offset = 8, type = 16 } } xqmnb(qmnb) qmnb = { {memory = 32}, { name = "特殊防减伤" }, {value = 4719772412750681088, type = 32}, { lv = 4742290408720039936, offset = 4, type = 32 } } qmxg = { { value = -460, offset = 8, type = 16 } } xqmnb(qmnb) qmnb = { {memory = 32}, {name = "#*436"}, {value = -4417614866316724224, type = 32}, { lv = 4724276012378061824, offset = 4, type = 32 } } qmxg = { { value = -560, offset = 12, type = 16 } } xqmnb(qmnb) qmnb = { {memory = 32}, {name = "*******8"}, {value = -4416487068034336768, type = 32}, { lv = 4724276012378323968, offset = 4, type = 32 } } qmxg = { { value = -660, offset = 8, type = 16 }, { value = -660, offset = 12, type = 16 } } xqmnb(qmnb) qmnb = { {memory = 32}, {name = "******9"}, {value = 4771563806291656704, type = 32}, { lv = 1110966272, offset = 4, type = 32 }, { lv = 4692750811720056832, offset = -4, type = 32 } } qmxg = { { value = 999, offset = 0, type = 16 } } xqmnb(qmnb) DM = " Xa范围开启成功" gg.playMusic("https://fanyi.baidu.com/gettts?lan=zh&text=" .. DM .. "&spd=5&source=wise") return end v32 = v32(v33, v34) v33 = v0.switch v34 = "自研不减伤全方面范围" function v35() local v0_1, v1_1, v7_1, v8_1, v9_1, v10_1, v11_1, v12_1, v13_1, v14_1 v0_1 = "mnnb" function v1_1(a0_2, a1_2, a2_2, a3_2, a4_2) local v0_2, v1_2, v2_2, v3_2, v4_2, v5_2, v6_2, v7_2, v8_2 gg.clearResults() gg.setRanges(a2_2) gg.setVisible(false) gg.searchNumber(a0_2[1][1], a0_2[1][3]) count = gg.getResultCount() result = gg.getResults(count) gg.clearResults() data = {} base = a0_2[1][2] if 0 < count then v0_2, v1_2, v2_2 = ipairs(result) while true do v3_2, v4_2 = v0_2(v1_2, v2_2) if v3_2 == nil then break end v2_2 = v3_2 v4_2.isUseful = true end v1_2 = #a0_2 v2_2 = 1 v0_2 = 2 - v2_2 while true do v0_2 = v0_2 + v2_2 if not (v0_2 <= v1_2) then break end v3_2 = v0_2 tmp = {} offset = a0_2[v3_2][2] - base num = a0_2[v3_2][1] v4_2, v5_2, v6_2 = ipairs(result) while true do v7_2, v8_2 = v4_2(v5_2, v6_2) if v7_2 == nil then break end v6_2 = v7_2 tmp[#tmp + 1] = {} tmp[#tmp].address = v8_2.address + offset tmp[#tmp].flags = a0_2[v3_2][3] end tmp = gg.getValues(tmp) v4_2, v5_2, v6_2 = ipairs(tmp) while true do v7_2, v8_2 = v4_2(v5_2, v6_2) if v7_2 == nil then break end v6_2 = v7_2 if tostring(v8_2.value) ~= tostring(num) then result[v7_2].isUseful = false end end end v0_2, v1_2, v2_2 = ipairs(result) while true do v3_2, v4_2 = v0_2(v1_2, v2_2) if v3_2 == nil then break end v2_2 = v3_2 if v4_2.isUseful then data[#data + 1] = v4_2.address end end if 0 < #data then gg.toast(a3_2 .. "搜索到" .. #data .. "条数据") t = {} base = a0_2[1][2] if not (a4_2 == "" and 0 < a4_2 and a4_2 < #data) then a4_2 = #data end v1_2 = a4_2 v2_2 = 1 v0_2 = 1 - v2_2 while true do v0_2 = v0_2 + v2_2 if not (v0_2 <= v1_2) then break end v3_2 = v0_2 v4_2, v5_2, v6_2 = ipairs(a1_2) while true do v7_2, v8_2 = v4_2(v5_2, v6_2) if v7_2 == nil then break end v6_2 = v7_2 offset = v8_2[2] - base t[#t + 1] = {} t[#t].address = data[v3_2] + offset t[#t].flags = v8_2[3] t[#t].value = v8_2[1] if v8_2[4] == true then item = { [#item + 1] = t[#t] } item[#item].freeze = true gg.addListItems(item) end end end gg.setValues(t) gg.toast(a3_2 .. "已修改" .. #t .. "条数据") gg.sleep(400) return end gg.toast(a3_2 .. "开启成功", false) return false end gg.toast("搜索成功") return false end _ENV[v0_1] = v1_1 v0_1 = "SearchWrite" function v1_1(a0_2, a1_2, a2_2) local v0_2, v1_2, v2_2, v3_2, v4_2, v5_2, v6_2, v7_2, v8_2, v9_2, v10_2, v11_2, v12_2, v13_2, v14_2, v15_2 gg.clearResults() gg.setVisible(false) gg.searchNumber(a0_2[1][1], a2_2) v0_2 = gg.getResultCount() v1_2 = gg.getResults(v0_2) gg.clearResults() v2_2 = {} v3_2 = a0_2[1][2] if not (0 < v0_2) then return false end v4_2, v5_2, v6_2 = ipairs(v1_2) while true do v7_2, v8_2 = v4_2(v5_2, v6_2) if v7_2 == nil then break end v6_2 = v7_2 v8_2.isUseful = true end v5_2 = #a0_2 v6_2 = 1 v4_2 = 2 - v6_2 while true do v4_2 = v4_2 + v6_2 if not (v4_2 <= v5_2) then break end v7_2 = v4_2 v8_2 = {} v9_2 = a0_2[v7_2][2] - v3_2 v10_2 = a0_2[v7_2][1] v11_2, v12_2, v13_2 = ipairs(v1_2) while true do v14_2, v15_2 = v11_2(v12_2, v13_2) if v14_2 == nil then break end v13_2 = v14_2 v8_2[#v8_2 + 1] = {} v8_2[#v8_2].address = v15_2.address + v9_2 v8_2[#v8_2].flags = v15_2.flags end v11_2, v12_2, v13_2 = ipairs((gg.getValues(v8_2))) while true do v14_2, v15_2 = v11_2(v12_2, v13_2) if v14_2 == nil then break end v13_2 = v14_2 if tostring(v15_2.value) ~= tostring(v10_2) then v1_2[v14_2].isUseful = false end end end v4_2, v5_2, v6_2 = ipairs(v1_2) while true do v7_2, v8_2 = v4_2(v5_2, v6_2) if v7_2 == nil then break end v6_2 = v7_2 if v8_2.isUseful then v2_2[#v2_2 + 1] = v8_2.address end end if not (0 < #v2_2) then return false end gg.toast(Name .. "🔍共搜索到" .. #v2_2 .. "个数据") v4_2 = {} v5_2 = a0_2[1][2] v7_2 = #v2_2 v8_2 = 1 v6_2 = 1 - v8_2 while true do v6_2 = v6_2 + v8_2 if not (v6_2 <= v7_2) then break end v9_2 = v6_2 v10_2, v11_2, v12_2 = ipairs(a1_2) while true do v13_2, v14_2 = v10_2(v11_2, v12_2) if v13_2 == nil then break end v12_2 = v13_2 offset = v14_2[2] - v5_2 v4_2[#v4_2 + 1] = {} v4_2[#v4_2].address = v2_2[v9_2] + offset v4_2[#v4_2].flags = a2_2 v4_2[#v4_2].value = v14_2[1] if v14_2[3] == true then v15_2 = { [#v15_2 + 1] = v4_2[#v4_2] } v15_2[#v15_2].freeze = true gg.addListItems(v15_2) end end end gg.setValues(v4_2) gg.sleep(500) gg.toast(Name .. "🛠️共修改" .. #v4_2 .. "条数据🛠️") return end _ENV[v0_1] = v1_1 v0_1 = "HaoGe" function v1_1(a0_2, a1_2, a2_2, a3_2) local v0_2, v1_2, v2_2, v3_2, v4_2, v5_2, v6_2, v7_2, v8_2, v9_2, v10_2, v11_2, v12_2, v13_2, v14_2, v15_2 gg.clearResults() gg.setRanges(a0_2) gg.setVisible(false) gg.searchNumber(a2_2[1][1], a1_2) v0_2 = gg.getResultCount() v1_2 = gg.getResults(v0_2) gg.clearResults() v2_2 = {} v3_2 = a2_2[1][2] if 0 < v0_2 then v4_2, v5_2, v6_2 = ipairs(v1_2) while true do v7_2, v8_2 = v4_2(v5_2, v6_2) if v7_2 == nil then break end v6_2 = v7_2 v8_2.isUseful = true end v5_2 = #a2_2 v6_2 = 1 v4_2 = 2 - v6_2 while true do v4_2 = v4_2 + v6_2 if not (v4_2 <= v5_2) then break end v7_2 = v4_2 v8_2 = {} v9_2 = a2_2[v7_2][2] - v3_2 v10_2 = a2_2[v7_2][1] v11_2, v12_2, v13_2 = ipairs(v1_2) while true do v14_2, v15_2 = v11_2(v12_2, v13_2) if v14_2 == nil then break end v13_2 = v14_2 v8_2[#v8_2 + 1] = {} v8_2[#v8_2].address = v15_2.address + v9_2 v8_2[#v8_2].flags = v15_2.flags end v11_2, v12_2, v13_2 = ipairs((gg.getValues(v8_2))) while true do v14_2, v15_2 = v11_2(v12_2, v13_2) if v14_2 == nil then break end v13_2 = v14_2 if tostring(v15_2.value) ~= tostring(v10_2) then v1_2[v14_2].isUseful = false end end end v4_2, v5_2, v6_2 = ipairs(v1_2) while true do v7_2, v8_2 = v4_2(v5_2, v6_2) if v7_2 == nil then break end v6_2 = v7_2 if v8_2.isUseful then v2_2[#v2_2 + 1] = v8_2.address end end if 0 < #v2_2 then gg.toast("\n🔍搜索到" .. #v2_2 .. "数据\n🔰开始进行偏移") v4_2 = {} v5_2 = a2_2[1][2] v7_2 = #v2_2 v8_2 = 1 v6_2 = 1 - v8_2 while true do v6_2 = v6_2 + v8_2 if not (v6_2 <= v7_2) then break end v9_2 = v6_2 v10_2, v11_2, v12_2 = ipairs(a3_2) while true do v13_2, v14_2 = v10_2(v11_2, v12_2) if v13_2 == nil then break end v12_2 = v13_2 offset = v14_2[2] - v5_2 v4_2[#v4_2 + 1] = {} v4_2[#v4_2].address = v2_2[v9_2] + offset v4_2[#v4_2].flags = a1_2 v4_2[#v4_2].value = v14_2[1] if v14_2[3] == true then v15_2 = { [#v15_2 + 1] = v4_2[#v4_2] } v15_2[#v15_2].freeze = true gg.addListItems(v15_2) end end end gg.setValues(v4_2) gg.sleep(400) gg.toast("\n🚬" .. Name .. "成功\n🛠共修改" .. #v4_2 .. "数据") return end gg.toast("\n❌" .. Name .. "失败") return false end gg.toast("\n❌" .. Name .. "失败") return false end _ENV[v0_1] = v1_1 v0_1 = "split" function v1_1(a0_2, a1_2) local v0_2, v1_2, v2_2, v3_2 v0_2 = 1 v1_2 = 1 v2_2 = {} while true do v3_2 = string.find(a0_2, a1_2, v0_2) if not v3_2 then break end v2_2[v1_2] = string.sub(a0_2, v0_2, v3_2 - 1) v0_2 = v3_2 + string.len(a1_2) v1_2 = v1_2 + 1 end v2_2[v1_2] = string.sub(a0_2, v0_2, string.len(a0_2)) return v2_2 end _ENV[v0_1] = v1_1 v0_1 = "xgxc" function v1_1(a0_2, a1_2) local v0_2, v1_2, v2_2, v3_2 v1_2 = #a1_2 v2_2 = 1 v0_2 = 1 - v2_2 while true do v0_2 = v0_2 + v2_2 if not (v0_2 <= v1_2) then break end v3_2 = v0_2 xgpy = a0_2 + a1_2[v3_2].offset xglx = a1_2[v3_2].type xgsz = a1_2[v3_2].value xgdj = a1_2[v3_2].freeze if xgdj ~= nil and xgdj ~= "" then gg.addListItems({ [1] = { address = xgpy, flags = xglx, freeze = xgdj, value = xgsz } }) else gg.setValues({ [1] = { address = xgpy, flags = xglx, value = xgsz } }) end xgsl = xgsl + 1 xgjg = true end return end _ENV[v0_1] = v1_1 v0_1 = "xqmnb" function v1_1(a0_2) local v0_2, v1_2, v2_2, v3_2, v4_2, v5_2, v6_2, v7_2 gg.clearResults() gg.setRanges(a0_2[1].memory) gg.searchNumber(a0_2[3].value, a0_2[3].type) if gg.getResultCount() == 0 then gg.toast(a0_2[2].name .. "失败") else gg.refineNumber(a0_2[3].value, a0_2[3].type) gg.refineNumber(a0_2[3].value, a0_2[3].type) gg.refineNumber(a0_2[3].value, a0_2[3].type) if gg.getResultCount() == 0 then gg.toast(a0_2[2].name .. "失败") else sl = gg.getResults(999999) sz = gg.getResultCount() xgsl = 0 if 999999 < sz then sz = 999999 end v0_2 = 1 v1_2 = sz v2_2 = 1 v0_2 = v0_2 - v2_2 while true do v0_2 = v0_2 + v2_2 if not (v0_2 <= v1_2) then break end v3_2 = v0_2 pdsz = true v5_2 = #a0_2 v6_2 = 1 v4_2 = 4 - v6_2 while true do v4_2 = v4_2 + v6_2 if not (v4_2 <= v5_2) then break end v7_2 = v4_2 if pdsz == true then pysz = { [1] = {} } pysz[1].address = sl[v3_2].address + a0_2[v7_2].offset pysz[1].flags = a0_2[v7_2].type szpy = gg.getValues(pysz) pdpd = a0_2[v7_2].lv .. ";" .. szpy[1].value szpd = split(pdpd, ";") tzszpd = szpd[1] pyszpd = szpd[2] if tzszpd == pyszpd then pdjg = true pdsz = true else pdjg = false pdsz = false end end end if pdjg == true then szpy = sl[v3_2].address xgxc(szpy, qmxg) end end if xgjg == true then gg.toast(a0_2[2].name .. "成功一共修改" .. xgsl .. "条数据") else gg.toast(a0_2[2].name .. "未搜索到数据,失败") end end end return end _ENV[v0_1] = v1_1 Name = "范围" HaoGe(16384, 16, { {-1.42781105E28, 0} }, { {0, 0} }) qmnb = { {memory = 32}, { name = "正在开启" }, {value = 4740038608910024704, type = 32}, { lv = 4752423507886342144, offset = 4, type = 32 }, { lv = 1106509824, offset = 8, type = 32 } } qmxg = { { value = 700, offset = 4, type = 16 }, { value = 700, offset = 8, type = 16 } } xqmnb(qmnb) qmnb = { {memory = 32}, {name = "100%"}, {value = 4719772412750681088, type = 32}, { lv = 4742290408720039936, offset = 4, type = 32 } } qmxg = { { value = -460, offset = 8, type = 16 } } xqmnb(qmnb) qmnb = { {memory = 32}, {name = "修伤"}, {value = -4417614866316724224, type = 32}, { lv = 4724276012378061824, offset = 4, type = 32 } } qmxg = { { value = -560, offset = 12, type = 16 } } xqmnb(qmnb) qmnb = { {memory = 32}, { name = "不减伤范围" }, {value = -4416487068034336768, type = 32}, { lv = 4724276012378323968, offset = 4, type = 32 } } qmxg = { { value = -660, offset = 8, type = 16 }, { value = -660, offset = 12, type = 16 } } xqmnb(qmnb) qmnb = { {memory = 32}, { name = "冷烁特殊防减伤" }, {value = -4417614866316724224, type = 32}, { lv = 4724276012378061824, offset = 4, type = 32 } } qmxg = { { value = -560, offset = 12, type = 16 } } xqmnb(qmnb) qmnb = { {memory = 32}, {name = "爆头"}, {value = -4416487068034336768, type = 32}, { lv = 4724276012378323968, offset = 4, type = 32 } } qmxg = { { value = -660, offset = 8, type = 16 }, { value = -660, offset = 12, type = 16 } } xqmnb(qmnb) qmnb = { {memory = 32}, { name = "修复减伤" }, {value = 4771563806291656704, type = 32}, { lv = 1110966272, offset = 4, type = 32 }, { lv = 4692750811720056832, offset = -4, type = 32 } } qmxg = { { value = 999, offset = 0, type = 16 } } xqmnb(qmnb) gg.setRanges(gg.REGION_CODE_APP) gg.searchNumber("-3.77830899e28;-3.74440972e28;-3.71834013e28;-1.7334334e28", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1, 0) gg.refineNumber("-3.77830899e28", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1, 0) v7_1, v8_1, v9_1, v10_1, v11_1, v12_1, v13_1, v14_1 = nil revert = gg.getResults(999999, v7_1, v8_1, v9_1, v10_1, v11_1, v12_1, v13_1, v14_1) gg.editAll("0", gg.TYPE_FLOAT) DM = "自研不减伤范围成功" gg.playMusic("https://fanyi.baidu.com/gettts?lan=zh&text=" .. DM .. "&spd=5&source=wise") return end v20[1] = v21, v22, v23, v24, v25, v26, v27, v28, v29, v30, v31, v32, v33(v34, v35) v21 = {} v22 = v0.button v23 = "搜索音乐" function v24() local v0_1, v1_1 search = gg.prompt({ "输入要搜索的歌曲\n可加上歌手名字", "设置显示数量(数字)" }, v10.sel, {"text"}) if not search then return end gg.saveVariable(search, v10.config) bei() go1 = search[1] go3 = search[2] jg = start(go1, go3) if jg.code == 200 then fh = jg.content fh = v9(fh) Play(gqlb, idb) else v0_1 = "inspect" function v1_1() gg.alert("访问网络异常,错误代码:\n\n" .. jg.code) return end _ENV[v0_1] = v1_1 if not pcall(inspect) then print("网络异常,请先连接上网络") os.exit() end end XGCK = -1 return end v22 = v22(v23, v24) v23 = v0.button v24 = "暂停音乐" function v25() gg.playMusic("stop") gg.playMusic("stop") gg.playMusic("stop") return end v21[1] = v22, v23(v24, v25) v22 = {} v23 = v0.button v24 = "退出脚本" function v25() luajava.setFloatingWindowHide(false) tuichu = 1 return end v23 = v23(v24, v25) v24 = v0.button v25 = "清理冻结" function v26() gg.clearList() string.toMusic("清除成功") return end v22[1] = v23, v24(v25, v26) v18[1] = v19 v18[2] = v20 v18[3] = v21 v18[4] = v22 v18[5] = {} v18[6] = {} v18[7] = {} v18[8] = {} v18[9] = {} v18[10] = {} v17(v18) return end os.exit() return