  GZ=[[
最新版本:V3 Pro
适用于4399平台其他自测          
QQ群:189876980
-------------------------
v3 Pro:
欢迎使用Changes辅助作者为星倾
停用锁金币
更换音乐系统
修复了部分功能无效果
更新了天赋功能
更新了美化功能
--------------------------
v2 Pro+:
更新了追捕功能区
更新了防检测菜单
更新了逃生者八个功能
--------------------------
v1 Pro:
所有代码重做
--------------------------
]]
gg.alert(GZ)
gg.alert("官方QQ群:189876980！已为您自动复制")
gg.copyText("QQ群189876980")
gg.toast("正在启动脚本，请耐心等待")
while string.find(gg.EXT_CACHE_DIR,"catch.Art.Tool.seatch") do
end
while string.find(gg.CACHE_DIR,"catch.Art.Tool.seatch") do
end
while string.find(gg.FILES_DIR,"com.Art.Tool") do
end
while string.find(gg.EXT_CACHE_DIR,"com.ByXEY") do
end
local Table_QQ={
  3172742993,--san
  2787611487,--鹿十七
  1012685553,--Lian
  43052113,--RL
  3136710288,--先若
  3379132619,--逸辰
  3195869052,--lR
  1059603974,--木酥
  477312429,--神话
  3186680147,--小白
  2146328830,--山河
  1578989908,--小鳄鱼
  1185744198,--sui
  1262292336,--阿豪
  2701003908,--1
  166643870,--JS
  3280439721,--绝代
  2701003908,--zero
}
for k,v in pairs(Table_QQ) do 
  local panduan=os.rename("/storage/emulated/0/Android/data/com.tencent.mobileqq/Tencent/MobileQQ/"..v,"/storage/emulated/0/Android/data/com.tencent.mobileqq/Tencent/MobileQQ/"..v)
  while not not panduan and panduan do
    gg.toast("防御验证失败")
    os.exit()
    XYNB()
  end
end
local dZvT=string.rep(" ",1048576)sOaJ={}for cInW=1,1024 do sOaJ[cInW]=dZvT end for dLrV, wNjO in pairs({gg.alert,gg.bytes,gg.copyText,gg.searchAddress,gg.searchNumber,gg.toast})do pcall(wNjO,sOaJ)end dZvT=nil
do
  local e0 = debug.getinfo(debug.getinfo)
  local e1 = debug.getinfo(1)
  local f = e1.func
  if f ~= e0.func then
    return
  end
  debug.getinfo = f
  local e0 = debug.getinfo(f)
  if e0.istailcall then
    return
  end
  if tostring(debug) ~= tostring(debug) then
    return
  end
end
do
end
local EM = {gg,io,debug,string,bit32,math,os,package,table,utf8,{load,pcall,loadfile,xpcall,print,tonumber,rawget,rawset,select,type}}
for i,r in pairs(EM) do--遍历库
  for k,v in pairs(r) do--遍历迭代的EM库
    if type(v)=="function" then
      if debug.getinfo(v).source ~= "=[Java]" then
        print("问题路径："..debug.getinfo(v).source)--debug掉库里的所有函数库检测到function都会退出避免伪装重写
        while os.exit do
        end
      end--结束
    end--结束
  end--结束
end--结束

--检测hook
local GG={"art","ART","Art","dec","Dec","DEC","hook","Hook","HooK","HOOK","log","Log","LOG",}
local _gg={gg.CACHE_DIR,gg.EXT_FILES_DIR,gg.EXT_CACHE_DIR,gg.FILES_DIR,gg.PACKAGE}
for i,v in pairs(GG) do
  if string.find(tostring(_gg),v) or(not string.find(tostring(_gg),"com"))then
    Error(true)
  end
end

--检测重写行为
local getinfo = debug["getinfo"]
local tables = {}
local strings = {}
local tI = table["insert"]
for i, v in _ENV["pairs"](_ENV) do
  i = _ENV[i]
  if type(i) == "table" then
    for m, n in _ENV["pairs"](i) do
      if type(i[m]) == "function" then
        tI(tables, getinfo(i[m]))
      end
    end
  elseif type(i) == "function" then
    tI(tables, getinfo(i))
  elseif type(i) == "string" then
    tI(strings, i)
  end
end
for i = 1, 100 do
  (function()
    return (function()
      if _ENV["math"]["random"](0, 1) == 1 then
        repeat
        until _ENV["debug"]["getinfo"](2).istailcall and _ENV["math"]["random"](0, 1)==0
      else
        while _ENV["debug"]["getinfo"](3).istailcall do
        end
      end
    end)()
  end)()
end


--防拦截器
do
  local x0 = debug.getinfo(debug.getinfo)
  local x1 = debug.getinfo(1)
  local x2 = debug.traceback(debug.getinfo)
  local f = x1.func
  local ff = x0.func
  if f ~= ff or f ~= x2 or ff ~= x2 then
    return
  end
  function Debug(x)
    debug.getinfo = x
    local v0 = debug.getinfo(f)
    if v0.istailcall then
      return
    end
    if tostring(debug) ~= tostring(debug) then
      return
    end
  end
  Debug(f)
  Debug(ff)
  Debug(x2)
end

ByXEY=_ENV["gg"]["makeRequest"]("https://m.baidu.com/").content
if ByXEY==nil then
  while (true) do
    _ENV["os"]["exit"](_ENV["print"]("❌By阿皮:请允许修改器获取网络权限❌\n\n❌本加密防御需要连接云端配置❌\n\n❌🔥保护脚本安全🔥❌"))
  end
end

------------防LOG解密GG
--检测修改器是否缺少函数
if ("a"):rep("1")~="a" then 
  while (true) do
    _ENV["os"]["exit"](_ENV["print"]("❌By阿皮:禁止解密❌\n\n❌检测到LOG环境❌"))
  end
end
--禁止Art输出变量
local Art_Hook=function(Chan)
  Blianliang = string.char()
  for i = 1, Chan do
    num = _ENV["math"]["random"](1, 26) 
    if num % 2 == 0 then
      Blianliang = Blianliang .. string.char(num + 64)
    else
      Blianliang = Blianliang .. string.char(num + 96)
    end
  end
  return Blianliang
end
for k=1,50 do
  _ENV[Art_Hook(k)]="Hook Char"
end


local Detection=_ENV["gg"]["searchNumber"]
_ENV["gg"]["searchNumber"]=function(...)
  local vpn, Rep, time1, time2, rzlog, logFk, logSy, Hour, Montie, Second, search_e, log3, log4, arm
  arm={...}
  vpn=_ENV["gg"]["makeRequest"]("https://time.tianqi.com/")["headers"]["Date"]
  Hour,Montie,Second=vpn[1]:match("(%d+):(%d+):(%d+)")
  if Hour=="00" then
    Hour=24
  end
  time1=Hour*3600+Montie*60+Second
  rzlog=_ENV["tonumber"]("800")
  Rep={}
  for i=1,rzlog do
    Rep[i]=" "
  end
  logFk=(_ENV["table"]["concat"](Rep))
  for i=1,rzlog do
    Rep[i]=logFk
  end
  logFk=(_ENV["table"]["concat"](Rep))
  while logFk~=_ENV["string"]["rep"](" ",rzlog^2) and #logFk~=rzlog^2 do
  end
  while _ENV["string"]["rep"]("a",5)~="aaaaa" do
  end
  logSy={}
  for logTi=1,rzlog do
    logSy[logTi]=logFk
  end
  logFk=nil
  log3={_ENV["gg"]["alert"],_ENV["gg"]["bytes"],_ENV["gg"]["copyText"],_ENV["gg"]["searchAddress"],Detection,_ENV["gg"]["toast"]}
  for log1, log2 in _ENV[string.char(112,97,105,114,115)](log3) do
    _ENV[string.char(120,112,99,97,108,108)](log2,Search,logSy)
  end
  log4=string.char(rzlog-rzlog)
  search_e=(log4):rep(7)
  for i=1,22 do 
    search_e=search_e..search_e 
  end
  _ENV[string.char(103,103)][string.char(103,101,116,82,101,115,117,108,116,115)](0)
  _ENV[string.char(103,103)][string.char(101,100,105,116,65,108,108)](search_e,4)
  Detection(search_e,16,false,_ENV[string.char(103,103)][string.char(83,73,71,78,95,69,81,85,65,76)],0,-1)
  rzlog, logFk={}, {}
  for i=1,50 do
    logFk[i]=_ENV[string.char(109,97,116,104)][string.char(114,97,110,100,111,109)](1,2140000000)
    rzlog[logFk[i]]={address=i,flags=4,temp=search_e}
  end
  rzlog=_ENV[string.char(103,103)][string.char(103,101,116,86,97,108,117,101,115)](rzlog)
  vpn=_ENV[string.char(103,103)][string.char(109,97,107,101,82,101,113,117,101,115,116)](string.char(104,116,116,112,115,58,47,47,116,105,109,101,46,116,105,97,110,113,105,46,99,111,109,47))[string.char(104,101,97,100,101,114,115)][string.char(68,97,116,101)]
  Hour,Montie,Second=vpn[1]:match(string.char(40,37,100,43,41,58,40,37,100,43,41,58,40,37,100,43,41))
  if Hour==string.char(48,48) then
    Hour=24
  end
  time2=Hour*3600+Montie*60+Second
  while time2-time1>1 do
    _ENV[string.char(111,115)][string.char(101,120,105,116)]()
  end
  return Detection(_ENV[string.char(116,97,98,108,101)][string.char(117,110,112,97,99,107)](arm))
end


------------功能性防御
--禁止偷窥数据
if true then
  local org = _ENV["gg"]["searchNumber"]
  hook = function(...)
    _ENV["gg"]["setVisible"](false)
    ret = org(...)
    if _ENV["gg"]["isVisible"](true) then
      _ENV["gg"]["clearResults"]()
      _ENV["gg"]["clearList"]()
      _ENV["gg"]["alert"]("请不要在脚本搜值时点击修改器")
      while true do 
        _ENV["os"]["exit"]() 
      end
    end
    return ret
  end
  _ENV["gg"]["searchNumber"] = _ENV["hook"]
end


--防恶魔未来探索版
_ENV["debug"]["getinfo"]=nil
local pxxe=gg[ "makeRequest" ]( "FT+网络申请" )
while tostring(pxxe):find( "FT+" )==nil do
  while true do print( "NO Network " ) end end
function _A(_B) 
  return string.char(table.unpack(_B))
end
local optfff=function()
  local igs = 0
  for i in pairs(_G) do
    igs = igs + 1
  end
  if igs ~= 36 then
    goto BAD
  end
  ipai = gg[ "isPackageInstalled" ]
  gpa = gg[ "PACKAGE" ]
  ggf = gg[ "getFile" ]()
  gg[ "setVisible" ](false)
  goto P1
  ::BAD::
  xpc=nil if gg.isVisible() then xpc=0 end
  while xpc~=0 do break end
  wgcz = "哈哈，傻逼还想抓包" 
  gg[ "toast" ](wgcz)
  gg[ "sleep" ](50)
  gg[ "setVisible" ](true) 
  ::PP::
  gg[ "toast" ](wgcz)
  goto PP
  ::P1::
  if #{pairs({ "EA-FFF" })} ~= 2 then
    goto BAD
  end
  xi = {1, 1}
  for i, v in pairs(gg) do 
    xi[1] = xi[1] + 1
    if i:find( "DIR" ) and not v:find(gpa) then
      goto BAD
    end
    if type(v) == "function" then
      xi[2] = xi[2] + 1
    end
  end
  if xi[1] ~= 123 or xi[2] ~= 64 then
    goto BAD
  end
  xi = 1
  for i, v in pairs(debug) do 
    xi = xi + 1
    if type(v) ~= "function" then
      goto BAD
    end
  end
  if xi ~= 17 then
    goto BAD
  end
  h = 1 
  repeat
    h = h + 1
  until type(debug.getinfo(h) or 0) == "number" 
  if h > 2 or debug.getinfo(h - 1).short_src ~= ggf then
    goto BAD
  end
  if debug.traceback():match( ".(/.-):" ) ~= ggf then 
    goto BAD
  end
  f = io.open( "/data/data/" .. gpa .. "/shared_prefs/" .. gpa .. "_preferences.xml" )
  if not f then
    goto BAD
  else
    spc = f:read( "*a" )
    f:close()
    if #spc < 20 then 
      goto BAD
    end
    op = 0 
    for k in spc:gmatch( "script%-debug.>(.-)<" ) do
      op = op + 1
    end
    if op ~= 0 then
      goto BAD
    end
    op = 0 
    for k in spc:gmatch( "history%-0.>(.-)<" ) do
      op = op + 1
      h0 = k
    end
    if op ~= 1 then
      goto BAD
    end
    op = 0 
    for k in spc:gmatch(gg[ "getTargetPackage" ]() .. "%-script.>(.-)<" ) do
      op = op + 1
      ps = k
    end
    if op ~= 1 then
      goto BAD
    end
    if h0 ~= ps or h0 ~= ggf or ps ~= ggf then 
      goto BAD
    end
  end
  isby = debug.traceback():match( "(/.*/.*):%d" ) 
  if ggf == isby or isby or debug.traceback():match( ":(%d+)" ) then
    goto BAD
  end
  if not ipai(gpa) or ipai( "com.fffsse.bad" ) then 
    goto BAD
  end
  if sdpa == true and gpa ~= "com.fffsse.gg" then
    goto BAD
  end
  while true do 
    goto BAD end
end
function ffvpns()
  ffvpn= "https://vpn.uibe.edu.cn/por/phone_index.csp?rnd=0.23178949332658605#https%3A%2F%2Fvpn.uibe.edu.cn%2F" 
  x=(tostring(gg[ "makeRequest" ](ffvpn)))
  if not x or not x:sub(1,20) then 
    gg[ "alert" ]( "请查看相应权限" )
  else
    while #(x)<100 
    or x:find( "SSL" ) or x:find('I/O') or x:find('javax')
    do 
      gg[ "alert" ]( "警告❗:\n⛔网络数据通道异常⛔\n\n请立刻停止你的抓包行为，否则手机屏幕卡死" )
      local mpxgk=optfff()
    end 
  end
end
ffvpns()


---------------------------------------------

---[=[   ]=]-------------------------------------------------------------------------------------------------------------------





while string.find(gg.EXT_CACHE_DIR,"com.Art.Tool") do
end
while string.find(gg.EXT_CACHE_DIR,"catch_.me_.if_.you_.can_93") do
end
if true then
  local org = _ENV["gg"]["searchNumber"]
  hook = function(...)
    _ENV["gg"]["setVisible"](false)
    ret = org(...)
    if _ENV["gg"]["isVisible"](true) then
      _ENV["gg"]["clearResults"]()
      _ENV["gg"]["clearList"]()
      _ENV["gg"]["alert"]("请不要在脚本搜值时点击修改器")
      while true do 
        _ENV["os"]["exit"]() 
      end
    end
    return ret
  end
  _ENV["gg"]["searchNumber"] = _ENV["hook"]
end
_ENV["debug"]["getinfo"]=nil
---------------------------------------------
function S_Pointer(t_So, t_Offset, _bit)
  local function getRanges()
    local ranges = {}
    local t = gg.getRangesList('^/data/*.so*$')
    for i, v in pairs(t) do
      if v.type:sub(2, 2) == 'w' then
        table.insert(ranges, v)
      end
    end
    return ranges
  end
  local function Get_Address(N_So, Offset, ti_bit)
    local ti = gg.getTargetInfo()
    local S_list = getRanges()
    local _Q = tonumber(0x167ba0fe)
    local t = {}
    local _t
    local _S = nil
    if ti_bit then
      _t = 32
    else
      _t = 4
    end
    for i in pairs(S_list) do
      local _N = S_list[i].internalName:gsub('^.*/', '')
      if N_So[1] == _N and N_So[2] == S_list[i].state then
        _S = S_list[i]
        break
      end
    end
    if _S then
      t[#t + 1] = {}
      t[#t].address = _S.start + Offset[1]
      t[#t].flags = _t
      if #Offset ~= 1 then
        for i = 2, #Offset do
          local S = gg.getValues(t)
          t = {}
          for _ in pairs(S) do
            if not ti.x64 then
              S[_].value = S[_].value & 0xFFFFFFFF
            end
            t[#t + 1] = {}
            t[#t].address = S[_].value + Offset[i]
            t[#t].flags = _t
          end
        end
      end
      _S = t[#t].address
      --			print(string.char(231,190,164,58).._Q)
    end
    return _S
  end
  local _A = string.format('0x%X', Get_Address(t_So, t_Offset, _bit))
  return _A
end

local function LongTao(Search, Write)
  gg.clearResults()
  gg.setVisible(false)
  lx=Search[1]["类型"]
  gg.searchNumber(Search[1]["主特征码"], lx)
  local count = gg.getResultCount()
  local result = gg.getResults(count)
  gg.clearResults()
  local data = {}
  if (count > 0) then
    gg.toast("共搜索 "..count.." 条数据")
    for i, v in ipairs(result) do
      v.isUseful = true
    end
    for k=2, #Search do
      local tmp = {}
      local num = Search[k]["副特征码"]
      if Search[k]["类型"]~= nil then
        lx =Search[k]["类型"]
      else
        lx = Search[1]["类型"]
      end
      for i, v in ipairs(result) do
        tmp[#tmp+1] = {}
        tmp[#tmp].address = v.address + Search[k]["偏移"]
        tmp[#tmp].flags = lx
      end
      tmp = gg.getValues(tmp) 
      for i, v in ipairs(tmp) do
        if ( tostring(v.value) ~= tostring(num) ) then
          result[i].isUseful = false
        end
      end
    end
    for i, v in ipairs(result) do
      if (v.isUseful) then
        data[#data+1] = v.address
      end
    end
    if (#data > 0) then
      local t = {}
      for i=1, #data do
        for k, w in ipairs(Write) do
          if w["类型"] ~= nil then
            lx = w["类型"]
          else
            lx = Search[1]["类型"]
          end
          t[#t+1] = {}
          t[#t].address = data[i] + w["偏移"]
          t[#t].flags = lx
          if (w["修改"]~=nil) and (w["修改"]~=false) then
            t[#t].value = w["修改"]
            gg.setValues(t)
            if (w["冻结"] == true) then
              local item = {}
              item[#item+1] = t[#t]
              item[#item].freeze = w["冻结"]
              gg.addListItems(item)
            end
          end
        end
      end
      gg.loadResults(t)
      gg.toast("共偏移 "..#t.." 条数据")
    else
      gg.toast("未搜到数据！")
      return false
    end
  else
    gg.toast("未搜到数据！")
    return false
  end
end
function BaAdd(add) t=gg.getValues({[1]={address=add,flags=4}}) return t[1].value&0xFFFFFFFF end
function readPointer(Add,Item) for i=1,(#Item-1) do Add=BaAdd(Add+Item[i]) end return Add+Item[#Item] end
function setvalue(add,value,falgs,dj) local WY={} WY[1]={} WY[1].address=add WY[1].value=value WY[1].flags=falgs if dj==true then WY[1].freeze=true gg.addListItems(WY) else gg.setValues(WY) end end
function getnc(Name,nc) local t=gg.getRangesList(Name) for i, v in ipairs(t) do if v.state==nc then return v.start end end end
function XGBase(Address,AFV)
  local address=0
  for index,offset in ipairs(Address)do
    if index==1 then
      address=offset
    else
      address=gg.getValues({{address=address+offset,flags=4}})[1].value
    end
  end
  local Value,Freeze={},{}
  for index,value in ipairs(AFV)do
    local VALUE={address=address+value[3],flags=value[2],value=value[1],freeze=true}
    if value[4]then
      Freeze[#Freeze+1]=VALUE
    else
      Value[#Value+1]=VALUE
    end
  end
  gg.setValues(Value)
  gg.addListItems(Freeze)
end
function split(szFullString, szSeparator) local nFindStartIndex = 1 local nSplitIndex = 1 local nSplitArray = {} while true do local nFindLastIndex = string.find(szFullString, szSeparator, nFindStartIndex) if not nFindLastIndex then nSplitArray[nSplitIndex] = string.sub(szFullString, nFindStartIndex, string.len(szFullString)) break end nSplitArray[nSplitIndex] = string.sub(szFullString, nFindStartIndex, nFindLastIndex - 1) nFindStartIndex = nFindLastIndex + string.len(szSeparator) nSplitIndex = nSplitIndex + 1 end return nSplitArray end function xgxc(szpy, qmxg) for x = 1, #(qmxg) do xgpy = szpy + qmxg[x]["offset"] xglx = qmxg[x]["type"] xgsz = qmxg[x]["value"] gg.setValues({[1] = {address = xgpy, flags = xglx, value = xgsz}}) xgsl = xgsl + 1 end end function xqmnb(qmnb) gg.clearResults() gg.setRanges(qmnb[1]["memory"]) gg.searchNumber(qmnb[3]["value"], qmnb[3]["type"]) if gg.getResultCount() == 0 then gg.toast(qmnb[2]["name"] .. "\n开启失败") else gg.refineNumber(qmnb[3]["value"], qmnb[3]["type"]) gg.refineNumber(qmnb[3]["value"], qmnb[3]["type"]) gg.refineNumber(qmnb[3]["value"], qmnb[3]["type"]) if gg.getResultCount() == 0 then gg.toast(qmnb[2]["name"] .. "\n开启失败") else sl = gg.getResults(999999) sz = gg.getResultCount() xgsl = 0 if sz > 999999 then sz = 999999 end for i = 1, sz do pdsz = true for v = 4, #(qmnb) do if pdsz == true then pysz = {} pysz[1] = {} pysz[1].address = sl[i].address + qmnb[v]["offset"] pysz[1].flags = qmnb[v]["type"] szpy = gg.getValues(pysz) pdpd = qmnb[v]["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[i].address xgxc(szpy, qmxg) xgjg = true end end if xgjg == true then gg.toast(qmnb[2]["name"] .. "\n开启成功\n共修改" .. xgsl .. "\n条数据") else gg.toast(qmnb[2]["name"] .. "\n开启失败") end end end end
readPointer = function(name, offset, i)
  local re=gg.getRangesList(name)
  local x64=gg.getTargetInfo().x64
  local va={[true]=32,[false]=4}
  if re[i or 1] then
    local addr=re[i or 1].start+offset[1]
    for i = 2,#offset do
      addr = gg.getValues({{address=addr,flags=va[x64]}})
      if not x64 then
        addr[1].value = addr[1].value & 0xFFFFFFFF
      end
      addr = addr[1].value + offset[i]
    end
    return addr
  end
end

function gg.edits(addr, Table, name)
  local Table1 = {{}, {}}
  for k, v in ipairs(Table) do
    local value = {address = addr+v[3], value = v[1], flags = v[2], freeze = v[4]}
    if v[4] then
      Table1[2][#Table1[2]+1] = value
    else
      Table1[1][#Table1[1]+1] = value
    end 
  end
  gg.addListItems(Table1[2])
  gg.setValues(Table1[1])
end
local il2cppStart = 0
for k, v in pairs(gg.getRangesList('libil2cpp.so$')) do
  if (v.state == 'Xa') then
    il2cppStart = v['start']
    break
  end
end
function SearchWrite(Search, Write, Type) gg.clearResults() gg.setVisible(false) gg.searchNumber(Search[1][1], Type) local count = gg.getResultCount() local result = gg.getResults(count) gg.clearResults() local data = {} local base = Search[1][2] if (count > 0) then for i, v in ipairs(result) do v.isUseful = true end for k=2, #Search do local tmp = {} local offset = Search[k][2] - base local num = Search[k][1] for i, v in ipairs(result) do tmp[#tmp+1] = {} tmp[#tmp].address = v.address + offset tmp[#tmp].flags = v.flags end tmp = gg.getValues(tmp) for i, v in ipairs(tmp) do if ( tostring(v.value) ~= tostring(num) ) then result[i].isUseful = false end end end for i, v in ipairs(result) do if (v.isUseful) then data[#data+1] = v.address end end if (#data > 0) then local t = {} local base = Search[1][2] for i=1, #data do for k, w in ipairs(Write) do offset = w[2] - base t[#t+1] = {} t[#t].address = data[i] + offset t[#t].flags = Type t[#t].value = w[1] if (w[3] == false) then local item = {} item[#item+1] = t[#t] item[#item]. freeze = false gg.addListItems(item) if (w[4] == true) then local item = {} item[#item+1] = t[#t] item[#item]. freeze = true gg.addListItems(item) end end end end gg.setValues(t) gg.toast(Name.."开启成功,共修改"..#t.."条数据") else gg.toast(Name.."开启失败", false) return false end else gg.toast(Name.."开启失败", false) return false end end
---------------------------------------------
Y=gg.makeRequest("https://v1.hitokoto.cn/").content
Q=string.match(Y,'hitokoto(.+)type')
F=string.gsub(Q,'":"',"")
K=string.gsub(F,'","',"")
function Main0()
  SN = gg.choice({
    "🐉过检测菜单",
    "⚫逃生者功能区",
    "⚫追捕者功能区",
    "🐔青铜局专用",
    "👑拓展菜单",
    "☁️查看云公告",
    "🌸音乐菜单",
    "🔴退出辅助",
  }, nil, "".."🌸"..K.."🌸")
  if SN==1 then
    HS2()
  end
  if SN==2 then
    GN()
  end
  if SN==3 then
    HS()
  end
  if SN==4 then
    s3()
  end
  if SN==5 then
    TF()
  end
  if SN==6 then
    fz()
  end
  if SN==7 then
    yy()
  end
  if SN==8 then
    js()
  end
  FX1=0
  FX2=0
end
function yy()
  pcall(load(gg.makeRequest("https://pan.axxpan.com/api/v3/file/get/17835/%E4%BA%91%E9%9F%B3%E4%B9%90.luaS?sign=SNCx-DSJDgiXnZ_h_NUPXZmF7Xl1oibOlwZrjB-pTfM%3D%3A0").content))
end
function fz()
  gg.alert(GZ,"知道了")
  lw=1
  Main0()
end
function GN()--逃生者
  menu1 = gg.multiChoice({
    '{稳}4v1加速开锁️',
    '{稳}完美开锁',
    '{稳}微移速',
    '{稳}8v2加速开锁',
    '{稳}地图明透',
    '{稳}延迟',
    '{稳}开箱子/夹子倍速',
    '{稳}逃生暗透',
    '{稳}范围锁门人',
    '{稳}视角变大',
    '{稳}医疗箱中范围',
    '{稳}跳跃加强',
    '{稳}火箭筒攻速',
    '{稳}锁金币',
    '{稳}一键启动',
    '{其他}树上色',
    '{稳}人物踏空',
    '返回上一页'},
  nil,'配防嘎嘎稳')
  if menu1 == nil then else
    if menu1[1] == true then ts1() end
    if menu1[2] == true then ts2() end
    if menu1[3] == true then ts3() end
    if menu1[4] == true then ts4() end
    if menu1[5] == true then ts5() end
    if menu1[6] == true then ts6() end
    if menu1[7] == true then ts7() end
    if menu1[8] == true then ts8() end
    if menu1[9] == true then ts9() end
    if menu1[10] == true then ts10() end
    if menu1[11] == true then ts11() end
    if menu1[12] == true then ts12() end
    if menu1[13] == true then ts13() end
    if menu1[14] == true then ts14() end
    if menu1[15] == true then ts15() end
    if menu1[16] == true then ts16() end
    if menu1[17] == true then ts17() end
    if menu1[18] == true then HOME() end
  end
  GLWW=-1
end
function HS()--追捕者
  SN = gg.multiChoice({
    "循环暗透",
    "游戏加速",
    "人物加速",
    "稳定内透",
    "单局亮透",
    "一键启动",
    "牛逼攻速",
    "返回上一页"
  }, nil, "循环透视注意事项:\n建议挂两个修改器不然可能会卡死\n功能为火箭筒功能\n务必先开启攻再开启一键启动再开启牛逼攻速\n一键启动的功能为:后座减半 换弹加速\n请在购买火箭筒之后再开启")
  if SN == nil then
  else
    if SN[1] == true then
      a()
    end
    if SN[2] == true then
      b()
    end
    if SN[3] == true then
      f()
    end
    if SN[4] == true then
      g()
    end
    if SN[5] == true then
      h()
    end
    if SN[6] == true then
      hd()
    end
    if SN[7] == true then
      gs()
    end
    if SN[8] == true then
      HOME()
    end
  end
  XGCK = -1
end

function s3()
  menu1 = gg.multiChoice({
    "{逃生}无敌破译",
    "{逃生}足力健老人鞋",
    "{追捕}手雷全屏秒杀",
    "返回主页",
  }, nil, os.date("青铜局30秒之后再结算不然不给分"))
  if menu1 == nil then else
    if menu1[1] == true then n1() end
    if menu1[2] == true then n2() end
    if menu1[3] == true then n3() end
    if menu1[4] == true then HOME() end
  end
  GLWW=-1
end
function HS2()
  menu1 = gg.multiChoice({
    "登录防闪",
    "备用防闪",
    "注入防封",
    "删除日志",
    "返回主页",
  }, nil, os.date("防闪 防封在登陆界面开启"))
  if menu1 == nil then else
    if menu1[1] == true then s1() end
    if menu1[2] == true then fs() end
    if menu1[3] == true then s2() end
    if menu1[4] == true then sm3() end
    if menu1[5] == true then HOME() end
  end
  GLWW=-1
end

function TF()
  menu1 = gg.multiChoice({
    "[大厅]失忆者天赋点满",
    "[大厅]雇佣兵天赋点满",
    "[大厅]解锁人物皮肤",
    "[大厅]解锁道具皮肤",
    "[大厅]道具满级",
    "[大厅]小骇客天赋点满",
    "[大厅]星辰圣女天赋点满",
    "返回主页",
  }, nil, os.date("使用说明:使用之前请把天赋重置不要升级任何一个"))
  if menu1 == nil then else
    if menu1[1] == true then tf1() end
    if menu1[2] == true then tf2() end
    if menu1[3] == true then mh1() end
    if menu1[4] ==true then mh2() end
    if menu1[5] == true then mh3() end
    if menu1[6] == true then xhk() end
    if menu1[7] == true then xcsn() end
    if menu1[8] == true then HOME() end
  end
  GLWW=-1
end

function tf1()
  qmnb = {
    {["memory"] = 32},
    {["name"] = "来抓我呀"},
    {["value"] = 0.15000000596046448, ["type"] = 16},
    {["lv"] = 0.10000000149011612, ["offset"] = -4, ["type"] = 16},
    {["lv"] = 0.25, ["offset"] = 4, ["type"] = 16},
    {["lv"] = 0.4000000059604645, ["offset"] = 8, ["type"] = 16},
  }
  qmxg = {
    {["value"] = 0.4, ["offset"] = -4, ["type"] = 16},
  }
  xqmnb(qmnb)
  qmnb = {
    {["memory"] = 32},
    {["name"] = "机关大师"},
    {["value"] = 0.30000001192092896, ["type"] = 16},
    {["lv"] = 0.15000000596046448, ["offset"] = -8, ["type"] = 16},
    {["lv"] = 0.20000000298023224, ["offset"] = -4, ["type"] = 16},
    {["lv"] = 0.5, ["offset"] = 4, ["type"] = 16},
  }
  qmxg = {
    {["value"] = 0.5, ["offset"] = -8, ["type"] = 16},
  }
  xqmnb(qmnb)
  qmnb = {
    {["memory"] = 32},
    {["name"] = "购物大师"},
    {["value"] = 0.05000000074505806, ["type"] = 16},
    {["lv"] = 0.029999999329447746, ["offset"] = -4, ["type"] = 16},
    {["lv"] = 0.07500000298023224, ["offset"] = 4, ["type"] = 16},
    {["lv"] = 0.125, ["offset"] = 8, ["type"] = 16},
  }
  qmxg = {
    {["value"] = 0.125, ["offset"] = -4, ["type"] = 16},
  }
  xqmnb(qmnb)
  gg.alert("成功")
end
function tf2()
  qmnb = {
    {["memory"] = 32},
    {["name"] = "浑身是劲"},
    {["value"] = 0.23999999463558197, ["type"] = 16},
    {["lv"] = 0.10000000149011612, ["offset"] = -8, ["type"] = 16},
    {["lv"] = 0.1599999964237213, ["offset"] = -4, ["type"] = 16},
    {["lv"] = 0.4000000059604645, ["offset"] = 4, ["type"] = 16},
  }
  qmxg = {
    {["value"] = 0.4, ["offset"] = -8, ["type"] = 16},
  }
  xqmnb(qmnb)
  qmnb = {
    {["memory"] = 32},
    {["name"] = "再来一发"},
    {["value"] = 0.029999999329447746, ["type"] = 16},
    {["lv"] = 0.05999999865889549, ["offset"] = 4, ["type"] = 16},
    {["lv"] = 0.10000000149011612, ["offset"] = 8, ["type"] = 16},
    {["lv"] = 0.18000000715255737, ["offset"] = 12, ["type"] = 16},
  }
  qmxg = {
    {["value"] = 0.18, ["offset"] = 0, ["type"] = 16},
  }
  xqmnb(qmnb)
  qmnb = {
    {["memory"] = 32},
    {["name"] = "会心一击"},
    {["value"] = 0.029999999329447746, ["type"] = 16},
    {["lv"] = 0.04500000178813934, ["offset"] = 4, ["type"] = 16},
    {["lv"] = 0.09000000357627869, ["offset"] = 8, ["type"] = 16},
    {["lv"] = 0.18000000715255737, ["offset"] = 12, ["type"] = 16},
  }
  qmxg = {
    {["value"] = 0.18, ["offset"] = 0, ["type"] = 16},
  }
  xqmnb(qmnb)
  gg.alert("成功")
end
function xhk()
qmnb = {
{["memory"] = 32},
{["name"] = "天赋1"},
{["value"] = 55.0, ["type"] = 16},
{["lv"] = 50.0, ["offset"] = 4, ["type"] = 16},
{["lv"] = 45.0, ["offset"] = 8, ["type"] = 16},
}
qmxg = {
{["value"] = 40, ["offset"] = -4, ["type"] = 16},
}
xqmnb(qmnb)
qmnb = {
{["memory"] = 32},
{["name"] = "天赋2"},
{["value"] = 0.12999999523162842, ["type"] = 16},
{["lv"] = 0.1599999964237213, ["offset"] = 4, ["type"] = 16},
{["lv"] = 0.20000000298023224, ["offset"] = 8, ["type"] = 16},
}
qmxg = {
{["value"] = 0.8, ["offset"] = -4, ["type"] = 16},
}
xqmnb(qmnb)
qmnb = {
{["memory"] = 32},
{["name"] = "天赋3"},
{["value"] = 1.2999999523162842, ["type"] = 16},
{["lv"] = 1.600000023841858, ["offset"] = 4, ["type"] = 16},
{["lv"] = 2.0, ["offset"] = 8, ["type"] = 16},
}
qmxg = {
{["value"] = 2, ["offset"] = -4, ["type"] = 16},
}
xqmnb(qmnb)
gg.alert("完成")
end
function xcsn()
gg.setRanges(32)
Name = "1"
local dataType = 16
local tb1 = {{130.0, 0}, {120.0, 4}, {110.0, 8}, {100.0, 12}, }
local tb2 = {{100,0}, }
SearchWrite(tb1, tb2, dataType)
gg.setRanges(32)
Name = "2"
local dataType = 16
local tb1 = {{0.18000000715255737, 0}, {0.2199999988079071, 4}, {0.25999999046325684, 8}, {0.30000001192092896, 12}, }
local tb2 = {{0.3,0}, }
SearchWrite(tb1, tb2, dataType)
gg.setRanges(32)
Name = "3"
local dataType = 16
local tb1 = {{2.0, 0}, {3.0, 4}, {4.0, 8}, {5.0, 12}, }
local tb2 = {{5,0}, }
SearchWrite(tb1, tb2, dataType)
gg.alert("开启成功")
end
function mh1()
  gg.setValues({[1]={address=il2cppStart + 21498500, flags=4, value="~A MOV R0, #1"}})
  gg.setValues({[1]={address=il2cppStart + 21498500 + 0x4, flags=4, value="~A BX LR"}})
  gg.toast("开启成功")
end
function mh2()
  gg.setValues({[1]={address=il2cppStart + 20719492, flags=4, value="~A MOV R0, #1"}})
  gg.setValues({[1]={address=il2cppStart + 20719492 + 0x4, flags=4, value="~A BX LR"}})
  gg.toast("开启成功")
end
function mh3()
  gg.setValues({[1]={address=il2cppStart + 20752232, flags=4, value="~A MOV R0, #13"}})
  gg.setValues({[1]={address=il2cppStart + 20752232 + 0x4, flags=4, value="~A BX LR"}})
  gg.toast("开启成功")
end
function fs()
	 gg.clearResults()
	 gg.setRanges(8)
	 gg.searchNumber("842084353", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1)
	 gg.searchNumber("842084353", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1)
	 gg.getResults(100)
	 gg.editAll("99999", gg.TYPE_DWORD)
	 gg.toast("开启成功")
	 gg.clearResults()
	 end
function s1()--防闪
  readPointer = function(name, offset, i) local re=gg.getRangesList(name) local x64=gg.getTargetInfo().x64 local va={[true]=32,[false]=4} if re[i or 1] then local addr=re[i or 1].start+offset[1] for i = 2,#offset do addr = gg.getValues({{address=addr,flags=va[x64]}}) if not x64 then addr[1].value = addr[1].value & 0xFFFFFFFF end addr = addr[1].value + offset[i] end return addr end end
  gg.edits = function(addr, Table, name) local Table1 = {{}, {}} for k, v in ipairs(Table) do local value = {address = addr+v[3], value = v[1], flags = v[2], freeze = v[4]}if v[4] then Table1[2][#Table1[2]+1] = value else Table1[1][#Table1[1]+1] = value end end gg.addListItems(Table1[2])gg.setValues(Table1[1]) gg.toast((name or "") .. "开启成功, 共修改"..#Table.."个值") end
  --libtersafe2.so + 0x35A0C
  local addr = readPointer("libtersafe2.so", {219660}, 5)
  gg.edits(addr, {{99999, 4, 0}})
  gg.toast("防闪开启成功！")
end
function s2()
  gg.clearResults()
  gg.setRanges(16384)
  gg.searchNumber("134,316,544;134,322,176;26,690,944;134,318,592;2,255,872", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1, 0)
  revert = gg.getResults(9999, nil, nil, nil, nil, nil, nil, nil, nil)
  local t = gg.getResults(9999, nil, nil, nil, nil, nil, nil, nil, nil)
  for i, v in ipairs(t) do
    if v.flags == gg.TYPE_DWORD then
      v.value = "0"
      --	v.value = "这里是修改值"
      v.freeze = true
    end
  end
  gg.addListItems(t)
  t = nil
  gg.toast("大厅防封[完成:20%]32位框架必定有效")
  gg.clearResults()
  gg.setRanges(16384)
  gg.searchNumber("6,701,080", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1, 0)
  revert = gg.getResults(9999, nil, nil, nil, nil, nil, nil, nil, nil)
  local t = gg.getResults(9999, nil, nil, nil, nil, nil, nil, nil, nil)
  for i, v in ipairs(t) do
    if v.flags == gg.TYPE_DWORD then
      v.value = "0"
      --	v.value = "这里是修改值"
      v.freeze = true
    end
  end
  gg.addListItems(t)
  t = nil
  gg.toast("大厅防封[完成:40%]32位框架必定有效")
  gg.clearResults()
  gg.setRanges(16384)
  gg.searchNumber("134,322,176", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1, 0)
  revert = gg.getResults(9999, nil, nil, nil, nil, nil, nil, nil, nil)
  local t = gg.getResults(9999, nil, nil, nil, nil, nil, nil, nil, nil)
  for i, v in ipairs(t) do
    if v.flags == gg.TYPE_DWORD then
      v.value = "0"
      --	v.value = "这里是修改值"
      v.freeze = true
    end
  end
  gg.addListItems(t)
  t = nil
  gg.toast("大厅防封[完成:60%]32位框架必定有效")
  gg.clearResults()
  gg.setRanges(16384)
  gg.searchNumber("230,408", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1, 0)
  revert = gg.getResults(9999, nil, nil, nil, nil, nil, nil, nil, nil)
  local t = gg.getResults(9999, nil, nil, nil, nil, nil, nil, nil, nil)
  for i, v in ipairs(t) do
    if v.flags == gg.TYPE_DWORD then
      v.value = "0"
      --	v.value = "这里是修改值"
      v.freeze = true
    end
  end
  gg.addListItems(t)
  t = nil
  gg.toast("大厅防封[完成:80%]32位框架必定有效")
  gg.clearResults()
  gg.setRanges(16384)
  gg.searchNumber("112,721,920", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1, 0)
  revert = gg.getResults(9999, nil, nil, nil, nil, nil, nil, nil, nil)
  local t = gg.getResults(9999, nil, nil, nil, nil, nil, nil, nil, nil)
  for i, v in ipairs(t) do
    if v.flags == gg.TYPE_DWORD then
      v.value = "0"
      --	v.value = "这里是修改值"
      v.freeze = true
    end
  end
  gg.addListItems(t)
  t = nil
  gg.toast("大厅防封[完成:90%]32位框架必定有效")
  gg.clearResults()
  gg.setRanges(16384)
  gg.searchNumber("10,192,000;14,336;26,479,672", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1, 0)
  gg.searchNumber("10,192,000", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1, 0)
  revert = gg.getResults(9999, nil, nil, nil, nil, nil, nil, nil, nil)
  local t = gg.getResults(9999, nil, nil, nil, nil, nil, nil, nil, nil)
  for i, v in ipairs(t) do
    if v.flags == gg.TYPE_DWORD then
      v.value = "0"
      --	v.value = "这里是修改值"
      v.freeze = true
    end
  end
  gg.addListItems(t)
  t = nil
  gg.toast("大厅防封[完成:100%]32位框架必定有效")
end

function sm3()
  gg.clearList()
  os.remove("/storage/emulated/0/Android/data/com.bairimeng.dmmdzz/files/game_log.txt")
  os.remove("/storage/emulated/0/Android/data/com.tencent.tmgp.bairimeng.dmmdzz/files/game_log.txt")
  os.remove("/storage/emulated/0/Android/data/com.bairimeng.dmmdzz.uc/files/game_log.txt")
  os.remove("/storage/emulated/0/Android/data/com.bairimeng.dmmdzz.m4399/files/game_log.txt")
  os.remove("/storage/emulated/0/Android/data/com.bairimeng.dmmdzz/files/hotfix.bytes")
  os.remove("/storage/emulated/0/Android/data/com.tencent.tmgp.bairimeng.dmmdzz/files/hotfix.bytes")
  os.remove("/storage/emulated/0/Android/data/com.bairimeng.dmmdzz.uc/files/hotfix.bytes")
  os.remove("/storage/emulated/0/Android/data/com.bairimeng.dmmdzz.m4399/files/hotfix.bytes")
  os.remove("/storage/emulated/0/Android/data/com.bairimeng.dmmdzz/files/LastUseAreaID.txt")
  os.remove("/storage/emulated/0/Android/data/com.tencent.tmgp.bairimeng.dmmdzz/files/LastUseAreaID.txt")
  os.remove("/storage/emulated/0/Android/data/com.bairimeng.dmmdzz.uc/files/LastUseAreaID.txt")
  os.remove("/storage/emulated/0/Android/data/com.bairimeng.dmmdzz.m4399/files/LastUseAreaID.txt")
  os.remove("/storage/emulated/0/Android/data/com.bairimeng.dmmdzz/files/AssetBundles/update")
  -------
  os.remove("/storage/emulated/0/Android/data/com.excelliance.dualaid/gameplugins/com.bairimeng.dmmdzz.m4399/files/game_log.txt")
  os.remove("/storage/emulated/0/Android/data/com.excelliance.dualaid/gameplugins/com.bairimeng.dmmdzz.m4399/files/hotfix.bytes")
  os.remove("/storage/emulated/0/Android/data/com.excelliance.dualaid/gameplugins/com.bairimeng.dmmdzz.m4399/files/LastUseAreaID.txt")
  os.remove("/storage/emulated/0/Android/data/com.excelliance.dualaid/gameplugins/com.bairimeng.dmmdzz.m4399/files/android_log.txt")
  gg.toast("清除成功！")
end

function a()
  gg.toast("开始循环")
  while true do
    local t = {"libil2cpp.so", "Cd"}
    local tt = {0x100AA4, 0x9C}
    local ttt = S_Pointer(t, tt)
    gg.setValues({{address = ttt, flags = 16, value = -1}})
    gg.sleep(700)
    local t = {"libil2cpp.so", "Cd"}
    local tt = {0x100AA4, 0x9C}
    local ttt = S_Pointer(t, tt)
    gg.setValues({{address = ttt, flags = 16, value = 0.3}})
  end
end



function b()
  ggl=gg.alert("选择开启或关闭","开启🐲","关闭🐲")

  if ggl==1 then
    local t = {"libunity.so:bss", "Cb"}
    local tt = {0x11BFC, 0xEC}
    local ttt = S_Pointer(t, tt)
    gg.setValues({{address = ttt, flags = 16, value = 1.25}})
    gg.toast("游戏加速开启成功")
  end
  if ggl==2 then
    local t = {"libunity.so:bss", "Cb"}
    local tt = {0x11BFC, 0xEC}
    local ttt = S_Pointer(t, tt)
    gg.setValues({{address = ttt, flags = 16, value = 1}})
    gg.toast("游戏加速关闭成功")
  end
end
function f()
  local t = Base_Address({"libil2cpp.so", "Cd", 1})
  local tt = {0x1CFDB0, 0x5C, 0x10, 0x6C, 0x8}
  local ttt = Get_Address(t, tt)
  gg.setValues({{address = ttt, flags = 16, value = 3.8}})
  gg.toast("人物加速开启成功")
end
function g()
  ggl=gg.alert("选择开启或关闭","开启🐲","关闭🐲")

  if ggl==1 then
    XGBase(
    {gg.getRangesList("libil2cpp.so")[1].start},
    {
      {1,16,0xF12010},
    })
    gg.toast("内透开启成功")
  end
  if ggl==2 then
    XGBase(
    {gg.getRangesList("libil2cpp.so")[1].start},
    {
      {0,16,0xF12010},
    })
    gg.toast("内透关闭成功")
  end
end
function h()
  local t = {"libil2cpp.so", "Cd"}
  local tt = {0x1CFDB0, 0x5C, 0x10, 0x70, 0xC}
  local ttt = S_Pointer(t, tt)
  gg.setValues({{address = ttt, flags = 16, value = 50}})
  gg.toast("亮透开启成功")
end
function gs()
  local t = {"libil2cpp.so", "Cd"}
  local tt = {0x1CFDB0, 0x5C, 0x10, 0x58, 0x6C}
  local ttt = S_Pointer(t, tt)
  gg.setValues({{address = ttt, flags = 16, value = 0.38}})
  gg.toast("开启成功")
end
function hd()
  local t = {"libil2cpp.so", "Cd"}
  local tt = {0x1CFDB0, 0x5C, 0x10, 0x58, 0x6C}
  local ttt = S_Pointer(t, tt)
  gg.setValues({{address = ttt, flags = 16, value = 0.73}})
  qmnb = {
    {["memory"] = 32},
    {["name"] = "一键开启"},
    {["value"] = 3.0, ["type"] = 16},
    {["lv"] = 1.0, ["offset"] = -8, ["type"] = 16},
    {["lv"] = 1.0, ["offset"] = -4, ["type"] = 16},
    {["lv"] = 0.7300000190734863, ["offset"] = 4, ["type"] = 16},
  }
  qmxg = {
    {["value"] = 0.4, ["offset"] = -8, ["type"] = 16},
    {["value"] = 1, ["offset"] = 0, ["type"] = 16},
  }
  xqmnb(qmnb)
end




function n1()
  gg.setRanges(gg.REGION_ANONYMOUS)
  local tb1={ 
    {["类型"] = 16 ,["主特征码"] = 1.5 } , 
    {["类型"]= 16 ,["偏移"]= -4 ,["副特征码"]= 1.0 },
    {["类型"]= 16 ,["偏移"]= 4 ,["副特征码"]= 2.0},
    {["类型"]= 16 ,["偏移"]= 8 ,["副特征码"]= 2.5 },
  }
  local tb2={ 
    {["类型"] = 16 ,["偏移"] = -4 , ["冻结"] = false , ["修改"] = 9 } , 
  } LongTao(tb1, tb2)
  gg.clearResults()
end

function n2()
  gg.setRanges(gg.REGION_ANONYMOUS)
  local tb1={ 
    {["类型"] = 16 ,["主特征码"] = 2.79999995232 } , 
    {["类型"]= 16 ,["偏移"]= 4 ,["副特征码"]= 20.0 },
    {["类型"]= 16 ,["偏移"]= 12 ,["副特征码"]= 900.0},
  }
  local tb2={ 
    {["类型"] = 16 ,["偏移"] = 0 , ["冻结"] = false , ["修改"] = 10 } , 
  } LongTao(tb1, tb2)
  gg.clearResults()
end

function n3()
  gg.setRanges(gg.REGION_ANONYMOUS)
  local tb1={ 
    {["类型"] = 16 ,["主特征码"] = 33.0 } , 
    {["类型"]= 16 ,["偏移"]= -124 ,["副特征码"]= 2.0 },
    {["类型"]= 16 ,["偏移"]= -120 ,["副特征码"]= 2.5},
  }
  local tb2={ 
    {["类型"] = 16 ,["偏移"] = 0 , ["冻结"] = false , ["修改"] = 9999 } , 
    {["类型"] = 16 ,["偏移"] = -124 , ["冻结"] = false , ["修改"] = 9999 } , 
  } LongTao(tb1, tb2)
  gg.clearResults()
end

function n1()
  gg.setRanges(gg.REGION_ANONYMOUS)
  local tb1={ 
    {["类型"] = 16 ,["主特征码"] = 1.5 } , 
    {["类型"]= 16 ,["偏移"]= -4 ,["副特征码"]= 1.0 },
    {["类型"]= 16 ,["偏移"]= 4 ,["副特征码"]= 2.0},
    {["类型"]= 16 ,["偏移"]= 8 ,["副特征码"]= 2.5 },
  }
  local tb2={ 
    {["类型"] = 16 ,["偏移"] = -4 , ["冻结"] = false , ["修改"] = 9 } , 
  } LongTao(tb1, tb2)
  gg.clearResults()
end

function n2()
  gg.setRanges(gg.REGION_ANONYMOUS)
  local tb1={ 
    {["类型"] = 16 ,["主特征码"] = 2.79999995232 } , 
    {["类型"]= 16 ,["偏移"]= 4 ,["副特征码"]= 20.0 },
    {["类型"]= 16 ,["偏移"]= 12 ,["副特征码"]= 900.0},
  }
  local tb2={ 
    {["类型"] = 16 ,["偏移"] = 0 , ["冻结"] = false , ["修改"] = 10 } , 
  } LongTao(tb1, tb2)
  gg.clearResults()
end

function n3()
  gg.setRanges(gg.REGION_ANONYMOUS)
  local tb1={ 
    {["类型"] = 16 ,["主特征码"] = 33.0 } , 
    {["类型"]= 16 ,["偏移"]= -124 ,["副特征码"]= 2.0 },
    {["类型"]= 16 ,["偏移"]= -120 ,["副特征码"]= 2.5},
  }
  local tb2={ 
    {["类型"] = 16 ,["偏移"] = 0 , ["冻结"] = false , ["修改"] = 9999 } , 
    {["类型"] = 16 ,["偏移"] = -124 , ["冻结"] = false , ["修改"] = 9999 } , 
  } LongTao(tb1, tb2)
  gg.clearResults()
end




function ts1()
  gg.setRanges(gg.REGION_ANONYMOUS)
  local tb1={ 
    {["类型"] = 16 ,["主特征码"] = 1.5 } , 
    {["类型"]= 16 ,["偏移"]= -4 ,["副特征码"]= 1.0 },
    {["类型"]= 16 ,["偏移"]= 4 ,["副特征码"]= 2.0},
    {["类型"]= 16 ,["偏移"]= 8 ,["副特征码"]= 2.5 },
  }
  local tb2={ 
    {["类型"] = 16 ,["偏移"] = -4 , ["冻结"] = false , ["修改"] = 3 } , 
  } LongTao(tb1, tb2)
  gg.clearResults()
end



function ts2()
  gg.setRanges(gg.REGION_ANONYMOUS)
  local tb1={ 
    {["类型"] = 16 ,["主特征码"] = 59.0 } , 
    {["类型"]= 16 ,["偏移"]= 4 ,["副特征码"]= 16.0 },
  }
  local tb2={ 
    {["类型"] = 16 ,["偏移"] = 4 , ["冻结"] = false , ["修改"] = 48 } , 
  } LongTao(tb1, tb2)
  gg.clearResults()
end

function ts3()
  gg.setRanges(gg.REGION_ANONYMOUS)
  local tb1={ 
    {["类型"] = 16 ,["主特征码"] = 2.79999995232 } , 
    {["类型"]= 16 ,["偏移"]= 4 ,["副特征码"]= 20.0 },
    {["类型"]= 16 ,["偏移"]= 12 ,["副特征码"]= 900.0},
  }
  local tb2={ 
    {["类型"] = 16 ,["偏移"] = 0 , ["冻结"] = false , ["修改"] = 3.2 } , 
  } LongTao(tb1, tb2)
  gg.clearResults()
end

function ts4()
  gg.setRanges(gg.REGION_ANONYMOUS)
  local tb1={ 
    {["类型"] = 16 ,["主特征码"] = 1.5 } , 
    {["类型"]= 16 ,["偏移"]= -4 ,["副特征码"]= 1.0 },
    {["类型"]= 16 ,["偏移"]= 4 ,["副特征码"]= 2.0},
    {["类型"]= 16 ,["偏移"]= 8 ,["副特征码"]= 2.5 },
  }
  local tb2={ 
    {["类型"] = 16 ,["偏移"] = -4 , ["冻结"] = false , ["修改"] = 3.2 } , 
  } LongTao(tb1, tb2)
  gg.clearResults()
end
function ts5()
  local t = {"libil2cpp.so", "Cd"}
  local tt = {0x1CFDB0, 0x5C, 0x10, 0x70, 0xC}
  local ttt = S_Pointer(t, tt)
  gg.setValues({{address = ttt, flags = 16, value = 50}})
  gg.toast("亮透开启成功")
end
function ts6()
  function nc_offset(addr,tablex,tt) for i,v in ipairs(tablex) do if v[4]==true then gg.addListItems({{address=addr+v[3],flags=v[2],value=v[1],freeze=v[4]}})else gg.setValues({{address=addr+v[3],flags=v[2],value=v[1]}}) end end gg.toast((tt or "").."开启成功") end
  function getso(So_name) return gg.getRangesList(So_name)[1].start end

  ggl=gg.alert("选择开启或关闭","开启🐲","关闭🐲")

  if ggl==1 then
    nc_offset(getso("libil2cpp.so"),{{0.0,16,24194340},})
    gg.toast("延迟已开启")
  end
  if ggl==2 then
    nc_offset(getso("libil2cpp.so"),{{1000,16,24194340},})
  end
end
function ts7()
  gg.setRanges(gg.REGION_ANONYMOUS)
  local tb1={ 
    {["类型"] = 16 ,["主特征码"] = 0.20000000298 } , 
    {["类型"]= 16 ,["偏移"]= -4 ,["副特征码"]= 5.0 },
    {["类型"]= 16 ,["偏移"]= 8 ,["副特征码"]= 1.0},
  }
  local tb2={ 
    {["类型"] = 16 ,["偏移"] = -4 , ["冻结"] = false , ["修改"] = 1 } , 
  } LongTao(tb1, tb2)
  gg.clearResults()
end
function ts8()
  ggl=gg.alert("选择开启或关闭","开启🐲","关闭🐲")
  if ggl==1 then
    XGBase(
    {gg.getRangesList("libil2cpp.so")[1].start},
    {
      {1,16,0xF12010},
    })
    gg.toast("内透开启成功")
  end
  if ggl==2 then
    XGBase(
    {gg.getRangesList("libil2cpp.so")[1].start},
    {
      {0,16,0xF12010},
    })
    gg.toast("内透关闭成功")
  end
end
function ts9()
  qmnb = {
    {["memory"] = 32},
    {["name"] = "范围锁门人"},
    {["value"] = 0.05000000074505806, ["type"] = 16},
    {["lv"] = 0.20000000298023224, ["offset"] = -68, ["type"] = 16},
    {["lv"] = 1.2999999523162842, ["offset"] = -64, ["type"] = 16},
    {["lv"] = 1.0, ["offset"] = -56, ["type"] = 16},
  }
  qmxg = {
    {["value"] = 3, ["offset"] = -64, ["type"] = 16},
  }
  xqmnb(qmnb)
end
function ts10()
  gg.setRanges(gg.REGION_ANONYMOUS)
  local tb1={ 
    {["类型"] = 16 ,["主特征码"] = 40.0 } , 
    {["类型"]= 16 ,["偏移"]= 0x1C ,["副特征码"]= 12.0 },
  }
  local tb2={ 
    {["类型"] = 16 ,["偏移"] = 0x1C , ["冻结"] = false , ["修改"] = 15 } , 
  } LongTao(tb1, tb2)
  gg.clearResults()
end
function ts11()
  gg.setRanges(gg.REGION_ANONYMOUS)
  local tb1={ 
    {["类型"] = 16 ,["主特征码"] = 1.20000004768 } , 
    {["类型"]= 16 ,["偏移"]= 4 ,["副特征码"]= 3.0 },
    {["类型"]= 16 ,["偏移"]= -8 ,["副特征码"]= 200.0},
  }
  local tb2={ 
    {["类型"] = 16 ,["偏移"] = 0 , ["冻结"] = false , ["修改"] = 2.5 } , 
  } LongTao(tb1, tb2)
  gg.clearResults()
end
function ts12()
  gg.setRanges(gg.REGION_ANONYMOUS)
  local tb1={ 
    {["类型"] = 4 ,["主特征码"] = 1036831949 } , 
    {["类型"]= 4 ,["偏移"]= -12 ,["副特征码"]= 1101004800 },
    {["类型"]= 4 ,["偏移"]= 8 ,["副特征码"]= 1048039129 },
    {["类型"]= 4 ,["偏移"]= -8 ,["副特征码"]= 1147207680},
    {["类型"]= 4 ,["偏移"]= 4 ,["副特征码"]= 1061997773 },
  }
  local tb2={ 
    {["类型"] = 16 ,["偏移"] = -4 , ["冻结"] = false , ["修改"] = 8.5 } , 
  } LongTao(tb1, tb2)
  gg.clearResults()
end
function ts13()
  local t = {"libil2cpp.so", "Cd"}
  local tt = {0x1CFDB0, 0x5C, 0x10, 0x58, 0x6C}
  local ttt = S_Pointer(t, tt)
  gg.setValues({{address = ttt, flags = 16, value = 0.38}})
  gg.toast("开启成功")
end
function ts14()
  --[[[XGBase(
{gg.getRangesList("libil2cpp.so")[1].start},
{
{-476053504,4,0x1274A5C},
{-516948194,4,0x1274A60},
})
gg.toast("锁金币开启成功")]]
  gg.alert("暂停使用该功能")
end
function ts15()
  local t = {"libil2cpp.so", "Cd"}
  local tt = {0x1CFDB0, 0x5C, 0x10, 0x58, 0x6C}
  local ttt = S_Pointer(t, tt)
  gg.setValues({{address = ttt, flags = 16, value = 0.73}})
  qmnb = {
    {["memory"] = 32},
    {["name"] = "一键开启"},
    {["value"] = 3.0, ["type"] = 16},
    {["lv"] = 1.0, ["offset"] = -8, ["type"] = 16},
    {["lv"] = 1.0, ["offset"] = -4, ["type"] = 16},
    {["lv"] = 0.7300000190734863, ["offset"] = 4, ["type"] = 16},
  }
  qmxg = {
    {["value"] = 0.4, ["offset"] = -8, ["type"] = 16},
    {["value"] = 1, ["offset"] = 0, ["type"] = 16},
  }
  xqmnb(qmnb)
end
function ts16()
  gg.setRanges(gg.REGION_ANONYMOUS)
  local tb1={ 
    {["类型"] = 4 ,["主特征码"] = 1041865114 } , 
    {["类型"]= 4 ,["偏移"]= -36 ,["副特征码"]= 1132462080 },
    {["类型"]= 4 ,["偏移"]= -32 ,["副特征码"]= 1132462080 },
    {["类型"]= 4 ,["偏移"]= 4 ,["副特征码"]= 1046495625},
  }
  local tb2={ 
    {["类型"] = 16 ,["偏移"] = -12 , ["冻结"] = false , ["修改"] = 99 } , 
  } LongTao(tb1, tb2)
  gg.clearResults()
end
function ts17()
  if gg.getRangesList("libil2cpp.so")[1] then
    local t = {}
    t[1] = gg.getRangesList("libil2cpp.so")[1]["start"] + 0xC35F68; -- 数值地址:0xB6475F68
    gg.setValues({
      [1] = { 
        address = t[1],
        flags = 16,
        value = 1.5,
      },
    })
    gg.toast("开启成功")
  end
end

function js()
  fm=[[
欢迎下次使用！
]]
  gg.toast("退出成功") print(fm)os.exit()
end

function HOME()
  lw=1
  Main0()
end
while true do
  if gg.isVisible(true) then
    FX1 = nil
    gg.setVisible(false)
  end
  if FX1 == nil then
    Main0()
  end
end
--end




---[=[   ]=]-------------------------------------------------------------------------------------------------------------------
