fuhao= '"' local function json2true(str,from,to) return true, from+3 end local function json2false(str,from,to) return false, from+4 end local function json2null(str, from, to) return nil, from+3 end local function json2nan(str, from, to) return nul, from+2 end local numberchars = {['-'] = true,['+'] = true,['.'] = true,['0'] = true,['1'] = true,['2'] = true,['3'] = true,['4'] = true,['5'] = true,['6'] = true,['7'] = true,['8'] = true,['9'] = true} local function json2number(str,from,to) local i = from+1 while(i<=to) do local char = string.sub(str, i, i) if not numberchars[char] then break end i = i + 1 end local num = tonumber(string.sub(str, from, i-1)) if not num then error(_format('json格式错误，不正确的数字, 错误位置:{from}', from)) end return num, i-1 end local function json2string(str,from,to) local ignor = false for i = from+1, to do local char = string.sub(str, i, i) if not ignor then if char ==  fuhao  then return string.sub(str, from+1, i-1), i elseif char == '\\' then ignor = true end else ignor = false end end error(_format('json格式错误，字符串没有找到结尾, 错误位置:{from}', from)) end local function json2array(str,from,to)    local result = {}    from = from or 1    local pos = from+1    local to = to or string.len(str)    while(pos<=to) do        local char = string.sub(str, pos, pos)        if char ==  fuhao  then            result[#result+1], pos = json2string(str,pos,to)        elseif char == '[' then            result[#result+1], pos = json2array(str,pos,to)        elseif char == '{' then            result[#result+1], pos = json2table(str,pos,to)        elseif char == ']' then            return result, pos        elseif (char=='f' or char=='F') then            result[#result+1], pos = json2false(str,pos,to)        elseif (char=='t' or char=='T') then            result[#result+1], pos = json2true(str,pos,to)        elseif (char=='n') then            result[#result+1], pos = json2null(str,pos,to)        elseif (char=='N') then            result[#result+1], pos = json2nan(str,pos,to)        elseif numberchars[char] then            result[#result+1], pos = json2number(str,pos,to)        end        pos = pos + 1    end    error(_format('json格式错误，表没有找到结尾, 错误位置:{from}', from)) end function _G.json2table(str,from,to)    local result = {}    from = from or 1    local pos = from+1    local to = to or string.len(str)    local key    while(pos<=to) do        local char = string.sub(str, pos, pos)        if char ==  fuhao  then            if not key then                key, pos = json2string(str,pos,to)            else                result[key], pos = json2string(str,pos,to)                key = nil            end        elseif char == '[' then            if not key then                key, pos = json2array(str,pos,to)            else                result[key], pos = json2array(str,pos,to)                key = nil            end        elseif char == '{' then            if not key then                key, pos = json2table(str,pos,to)            else                result[key], pos = json2table(str,pos,to)                key = nil            end        elseif char == '}' then            return result, pos        elseif (char=='f' or char=='F') then            result[key], pos = json2false(str,pos,to)            key = nil        elseif (char=='t' or char=='T') then            result[key], pos = json2true(str,pos,to)            key = nil        elseif (char=='n') then            result[key], pos = json2null(str,pos,to)            key = nil        elseif (char=='N') then            result[key], pos = json2nan(str,pos,to)            key = nil        elseif numberchars[char] then            if not key then                key, pos = json2number(str,pos,to)            else                result[key], pos = json2number(str,pos,to)                key = nil            end        end        pos = pos + 1    end    error(_format('格式错误，表没有找到结尾, 错误位置:{from}', from)) end local jsonfuncs={[ fuhao ]=json2string,['[']=json2array,['{']=json2table,['f']=json2false,['F']=json2false,['t']=json2true,['T']=json2true} function json2lua(str) if str==nil then gg.alert('错误json') else local char = string.sub(str, 1, 1) local func=jsonfuncs[char] if func then return func(str, 1, string.len(str)) end if numberchars[char] then return json2number(str, 1, string.len(str)) end end end local __index local LYF_DefEnv1 = {[""]=""} local LYF_DefEnv2 = {["输出你妈"]="输出你妈"} setmetatable(LYF_DefEnv1, {__index = _ENV}) _ENV=LYF_DefEnv1 _G=LYF_DefEnv2

function md5(code) local code = tostring(code) local HexTable = {"0","1","2","3","4","5","6","7","8","9","A","B","C","D","E","F"} local A = 0x67452301 local B = 0xefcdab89 local C = 0x98badcfe local D = 0x10325476 local S11 = 7 local S12 = 12 local S13 = 17 local S14 = 22 local S21 = 5 local S22 = 9 local S23 = 14 local S24 = 20 local S31 = 4 local S32 = 11 local S33 = 16 local S34 = 23 local S41 = 6 local S42 = 10 local S43 = 15 local S44 = 21 local function F(x,y,z) return (x & y) | ((~x) & z) end local function G(x,y,z) return (x & z) | (y & (~z)) end local function H(x,y,z) return x ~ y ~ z end local function I(x,y,z) return y ~ (x | (~z)) end local function FF(a,b,c,d,x,s,ac) a = a + F(b,c,d) + x + ac a = (((a & 0xffffffff) << s) | ((a & 0xffffffff) >> 32 - s)) + b return a & 0xffffffff end local function GG(a,b,c,d,x,s,ac) a = a + G(b,c,d) + x + ac a = (((a & 0xffffffff) << s) | ((a & 0xffffffff) >> 32 - s)) + b return a & 0xffffffff end local function HH(a,b,c,d,x,s,ac) a = a + H(b,c,d) + x + ac a = (((a & 0xffffffff) << s) | ((a & 0xffffffff) >> 32 - s)) + b return a & 0xffffffff end local function II(a,b,c,d,x,s,ac) a = a + I(b,c,d) + x + ac a = (((a & 0xffffffff) << s) | ((a & 0xffffffff) >> 32 - s)) + b return a & 0xffffffff end local function MD5StringFill(s) local len = s:len() local mod512 = len * 8 % 512 local fillSize = (448 - mod512) // 8 if mod512 > 448 then fillSize = (960 - mod512) // 8 end local rTab = {} local byteIndex = 1 for i = 1,len do local index = (i - 1) // 4 + 1 rTab[index] = rTab[index] or 0 rTab[index] = rTab[index] | (s:byte(i) << (byteIndex - 1) * 8) byteIndex = byteIndex + 1 if byteIndex == 5 then byteIndex = 1 end end local b0x80 = false local tLen = #rTab if byteIndex ~= 1 then rTab[tLen] = rTab[tLen] | 0x80 << (byteIndex - 1) * 8 b0x80 = true end for i = 1,fillSize // 4 do if not b0x80 and i == 1 then rTab[tLen + i] = 0x80 else rTab[tLen + i] = 0x0 end end local bitLen = math.floor(len * 8) tLen = #rTab rTab[tLen + 1] = bitLen & 0xffffffff rTab[tLen + 2] = bitLen >> 32 return rTab end function getmd5(s) local fillTab = MD5StringFill(s) local result = {A,B,C,D} for i = 1,#fillTab // 16 do local a = result[1] local b = result[2] local c = result[3] local d = result[4] local offset = (i - 1) * 16 + 1 a = FF(a, b, c, d, fillTab[offset + 0], S11, 0xd76aa478) d = FF(d, a, b, c, fillTab[offset + 1], S12, 0xe8c7b756) c = FF(c, d, a, b, fillTab[offset + 2], S13, 0x242070db) b = FF(b, c, d, a, fillTab[offset + 3], S14, 0xc1bdceee) a = FF(a, b, c, d, fillTab[offset + 4], S11, 0xf57c0faf) d = FF(d, a, b, c, fillTab[offset + 5], S12, 0x4787c62a) c = FF(c, d, a, b, fillTab[offset + 6], S13, 0xa8304613) b = FF(b, c, d, a, fillTab[offset + 7], S14, 0xfd469501) a = FF(a, b, c, d, fillTab[offset + 8], S11, 0x698098d8) d = FF(d, a, b, c, fillTab[offset + 9], S12, 0x8b44f7af) c = FF(c, d, a, b, fillTab[offset + 10], S13, 0xffff5bb1) b = FF(b, c, d, a, fillTab[offset + 11], S14, 0x895cd7be) a = FF(a, b, c, d, fillTab[offset + 12], S11, 0x6b901122) d = FF(d, a, b, c, fillTab[offset + 13], S12, 0xfd987193) c = FF(c, d, a, b, fillTab[offset + 14], S13, 0xa679438e) b = FF(b, c, d, a, fillTab[offset + 15], S14, 0x49b40821) a = GG(a, b, c, d, fillTab[offset + 1], S21, 0xf61e2562) d = GG(d, a, b, c, fillTab[offset + 6], S22, 0xc040b340) c = GG(c, d, a, b, fillTab[offset + 11], S23, 0x265e5a51) b = GG(b, c, d, a, fillTab[offset + 0], S24, 0xe9b6c7aa) a = GG(a, b, c, d, fillTab[offset + 5], S21, 0xd62f105d) d = GG(d, a, b, c, fillTab[offset + 10], S22, 0x2441453) c = GG(c, d, a, b, fillTab[offset + 15], S23, 0xd8a1e681) b = GG(b, c, d, a, fillTab[offset + 4], S24, 0xe7d3fbc8) a = GG(a, b, c, d, fillTab[offset + 9], S21, 0x21e1cde6) d = GG(d, a, b, c, fillTab[offset + 14], S22, 0xc33707d6) c = GG(c, d, a, b, fillTab[offset + 3], S23, 0xf4d50d87) b = GG(b, c, d, a, fillTab[offset + 8], S24, 0x455a14ed) a = GG(a, b, c, d, fillTab[offset + 13], S21, 0xa9e3e905) d = GG(d, a, b, c, fillTab[offset + 2], S22, 0xfcefa3f8) c = GG(c, d, a, b, fillTab[offset + 7], S23, 0x676f02d9) b = GG(b, c, d, a, fillTab[offset + 12], S24, 0x8d2a4c8a) a = HH(a, b, c, d, fillTab[offset + 5], S31, 0xfffa3942) d = HH(d, a, b, c, fillTab[offset + 8], S32, 0x8771f681) c = HH(c, d, a, b, fillTab[offset + 11], S33, 0x6d9d6122) b = HH(b, c, d, a, fillTab[offset + 14], S34, 0xfde5380c) a = HH(a, b, c, d, fillTab[offset + 1], S31, 0xa4beea44) d = HH(d, a, b, c, fillTab[offset + 4], S32, 0x4bdecfa9) c = HH(c, d, a, b, fillTab[offset + 7], S33, 0xf6bb4b60) b = HH(b, c, d, a, fillTab[offset + 10], S34, 0xbebfbc70) a = HH(a, b, c, d, fillTab[offset + 13], S31, 0x289b7ec6) d = HH(d, a, b, c, fillTab[offset + 0], S32, 0xeaa127fa) c = HH(c, d, a, b, fillTab[offset + 3], S33, 0xd4ef3085) b = HH(b, c, d, a, fillTab[offset + 6], S34, 0x4881d05) a = HH(a, b, c, d, fillTab[offset + 9], S31, 0xd9d4d039) d = HH(d, a, b, c, fillTab[offset + 12], S32, 0xe6db99e5) c = HH(c, d, a, b, fillTab[offset + 15], S33, 0x1fa27cf8) b = HH(b, c, d, a, fillTab[offset + 2], S34, 0xc4ac5665) a = II(a, b, c, d, fillTab[offset + 0], S41, 0xf4292244) d = II(d, a, b, c, fillTab[offset + 7], S42, 0x432aff97) c = II(c, d, a, b, fillTab[offset + 14], S43, 0xab9423a7) b = II(b, c, d, a, fillTab[offset + 5], S44, 0xfc93a039) a = II(a, b, c, d, fillTab[offset + 12], S41, 0x655b59c3) d = II(d, a, b, c, fillTab[offset + 3], S42, 0x8f0ccc92) c = II(c, d, a, b, fillTab[offset + 10], S43, 0xffeff47d) b = II(b, c, d, a, fillTab[offset + 1], S44, 0x85845dd1) a = II(a, b, c, d, fillTab[offset + 8], S41, 0x6fa87e4f) d = II(d, a, b, c, fillTab[offset + 15], S42, 0xfe2ce6e0) c = II(c, d, a, b, fillTab[offset + 6], S43, 0xa3014314) b = II(b, c, d, a, fillTab[offset + 13], S44, 0x4e0811a1) a = II(a, b, c, d, fillTab[offset + 4], S41, 0xf7537e82) d = II(d, a, b, c, fillTab[offset + 11], S42, 0xbd3af235) c = II(c, d, a, b, fillTab[offset + 2], S43, 0x2ad7d2bb) b = II(b, c, d, a, fillTab[offset + 9], S44, 0xeb86d391) result[1] = result[1] + a result[2] = result[2] + b result[3] = result[3] + c result[4] = result[4] + d result[1] = result[1] & 0xffffffff result[2] = result[2] & 0xffffffff result[3] = result[3] & 0xffffffff result[4] = result[4] & 0xffffffff end local retStr = '' for i = 1,4 do for _ = 1,4 do local temp = result[i] & 0x0F local str = HexTable[temp + 1] result[i] = result[i] >> 4 temp = result[i] & 0x0F retStr = retStr .. HexTable[temp + 1] .. str result[i] = result[i] >> 4 end end return string.lower(retStr) end return getmd5(code) end
--md5加密 md5("加密内容")

ZZRc4 = {}
ZZMathBit = {}
function ZZMathBit.__xorBit(left, right) return (left + right) == 1 and 1 or 0 end function ZZMathBit.__base(left, right, op) if left < right then left, right = right, left end local res = 0 local shift = 1 while left ~= 0 do local ra = left % 2 local rb = right % 2 res = shift * op(ra,rb) + res shift = shift * 2 left = math.modf( left / 2) right = math.modf( right / 2) end return res end function ZZMathBit.xorOp(left, right) return ZZMathBit.__base(left, right, ZZMathBit.__xorBit) end function RC4(text,key,kasi)
  if kasi==false then str = text str=str:gsub("[%s%p]",""):upper() local index=1 local ret="" for index=1,str:len(),2 do ret=ret..string.char(tonumber(str:sub(index,index+1),16)) end text=ret end local function KSA(key) local keyLen = string.len(key) local schedule = {} local keyByte = {} for i = 0, 255 do schedule[i] = i end for i = 1, keyLen do keyByte[i - 1] = string.byte(key, i, i) end local j = 0 for i = 0, 255 do j = (j + schedule[i] + keyByte[ i % keyLen]) % 256 schedule[i], schedule[j] = schedule[j], schedule[i] end return schedule end local function PRGA(schedule, textLen) local i = 0 local j = 0 local k = {} for n = 1, textLen do i = (i + 1) % 256 j = (j + schedule[i]) % 256 schedule[i], schedule[j] = schedule[j], schedule[i] k[n] = schedule[(schedule[i] + schedule[j]) % 256] end return k end local function output(schedule, text) local len = string.len(text) local c = nil local res = {} for i = 1, len do c = string.byte(text, i,i) res[i] = string.char(ZZMathBit.xorOp(schedule[i], c)) end return table.concat(res) end local textLen = string.len(text) local schedule = KSA(key) local k = PRGA(schedule, textLen) str=output(k, text) if kasi==true then str = tostring(str) local index=1 local ret="" for index=1,str:len() do ret=ret..string.format("%02X",str:sub(index):byte()) end return string.lower(ret) else return str end end
--极简云RC42加密和解密配置     RC4("加密内容","密码",false=解密_true=加密)

function ultra(get,post) local c=gg.makeRequest(get,nil,post).content  if c==nil then gg.alert("网络错误了，请检查你的网络") os.exit() end return c  end
--请求
function download(get,address) local c=gg.makeRequest(get,nil,nil).content  if c==nil then gg.alert("网络错误了，请检查你的网络") os.exit() end io.open(address,"w+"):write(c) gg.toast("下载成功") end
--下载文件


---[=[上面不要乱动]=]-------------------------------------------------------------------------------------------------------------------

local xxxxxxx="https://cute521.cn"
--官网

local xxxxxxx_Kami=xxxxxxx.."/api.php?api=kmlogon"
--接口名称[卡密登录]

local xxxxxxx_jieba=xxxxxxx.."/api.php?api=kmunmachine"
--接口名称[卡密解绑]

local xxxxxxx_to_configure=xxxxxxx.."/api.php?api=ini"
--接口名称[应用配置]

local xxxxxxx_Notice=xxxxxxx.."/api.php?api=notice"
--接口名称[应用公告]

---[=[  上面是对接  ]=]-------------------------------------------------------------------------------------------------------------------

local xxxxxxx_APPID='11391'
--APPID

local xxxxxxx_APPKEY='58Yl9hT1Yp588S5Q'
--APPKEY

local xxxxxxx_RC4_key='xsl8Dc4NMh20usFu'
--是否 RC4 加密[key 密钥]


local xxxbanb='V11'
--版本号


local xxxxxxx_RC4=true
--是否 RC4 加密[false=关 true=开]
--选择 RC4加密-2 否则会乱码
--打开 签名放DATA里:打开


AMI_YDO="/sdcard/Android/"
--卡密 设备码 路径

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

if xxxxxxx_APPID=="" or xxxxxxx_APPKEY=="" then
  gg.alert("对接数据,空...")--对话框
  os.exit()
end

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


file=ultra(xxxxxxx_to_configure.."&app="..xxxxxxx_APPID,"")
if xxxxxxx_RC4 == true then
  file=RC4(file,xxxxxxx_RC4_key,false)
  gg.setVisible(false)
end
if json2lua(file).code ~= 200 then
gg.alert("应用配置接口："..json2lua(file).msg)--错误提示
os.exit()
else

api_total=json2lua(file).msg.api_total
--调用几次接口[ 判断使用人数 ]

app_update_must=json2lua(file).msg.app_update_must
--是否强行更新 y是 n否

app_update_show=json2lua(file).msg.app_update_show
--更新内容

app_update_url=json2lua(file).msg.app_update_url
--更新地址

version=json2lua(file).msg.version
--版本号

version_info=json2lua(file).msg.version_info
--应用版本信息


if version == xxxbanb then
gg.setVisible(false)
gg.toast("最新版")--提示
else

if app_update_must=="y" then
gg.setVisible(false)
gg.alert("强制更新："..app_update_show,"下载")--对话框
if app_update_url ~=""  then
download(app_update_url,"/sdcard/新版本.lua")
os.exit()
else
gg.alert("没有找到更新下载链接!，请联系客服")--对话框
os.exit()
end

else
gg.setVisible(false)
gg.alert("更新内容："..app_update_show,"下载")--对话框
if app_update_url ~=""  then
download(app_update_url,"/sdcard/新版本.lua")
else
gg.alert("没有找到更新下载链接!，请联系客服")--对话框
os.exit()
end

end
end

end

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

Notice=ultra(xxxxxxx_Notice.."&app=".. xxxxxxx_APPID,"")
if xxxxxxx_RC4 == true then
  Notice=RC4(Notice,xxxxxxx_RC4_key,false)
  gg.setVisible(false)
end


if json2lua(Notice)['code'] == 200 then
if json2lua(Notice).msg.app_gg ~= "" then
gg.alert("公告："..json2lua(Notice).msg.app_gg)--对话框
end

else
gg.alert("公告接口："..json2lua(Notice).msg)--对话框
os.exit()
end
xxxxxxx=999
----------------------------------------------------------------------------------------------------------------------
----------------------------------------------------------------------------------------------------------------------


function MIAN()

miei=io.open(AMI_YDO..'/miei','r')
if miei==nil or miei:read("*a")== "" then 
miei=md5(os.time()*1000+611-99999)
io.open(AMI_YDO..'/miei','w+'):write(miei)--写
else
miei=io.open(AMI_YDO..'/miei','r'):read("*a")--读
end--设备码


function KM_G(km)---[=[ 卡密解绑 ]=]-------------------------------------------------------------------------------------------------------------------
key=md5("kami="..km.."&markcode="..miei.."&t="..os.time().."&".. xxxxxxx_APPKEY)
--签名
bops="kami="..km.."&markcode="..miei.."&t="..os.time().."&sign="..key
--合成发送数据
if  xxxxxxx_RC4 == true then
bops= "data="..RC4(bops,xxxxxxx_RC4_key,true) 
end

HUT=ultra(xxxxxxx_jieba.."&app=".. xxxxxxx_APPID,bops)

if  xxxxxxx_RC4 == true then
HUT=RC4(HUT,xxxxxxx_RC4_key,false) 
end-- xxxxxxx_Base64
return HUT
end


km=io.open(AMI_YDO..'/km','r') 
if km==nil  then else 
km=io.open(AMI_YDO..'/km','r'):read("*a")
end--卡密保存到本地


e=io.open(AMI_YDO..'/e.log','r')
if e==nil or e:read("*a")== "" then 
e="1"
io.open(AMI_YDO..'/e.log','w+'):write(e)--写
else
e=io.open(AMI_YDO..'/e.log','r'):read("*a")--读
end--储存自动登入
if e== "1" then e=false else  e=true
end


Random=md5(os.time()*1000+611*os.time()-999999)..xxxxxxx_APPKEY..miei
--随机[用来计算是否相等]
function KM_LL(km)---[=[ 卡密登入 ]=]-------------------------------------------------------------------------------------------------------------------
key=md5("kami="..km.."&markcode="..miei.."&t="..os.time().."&".. xxxxxxx_APPKEY)
--计算签名

bops="kami="..km.."&markcode="..miei.."&t="..os.time().."&sign="..key
--需要请求的数据

if  xxxxxxx_RC4 == true then
bops="data="..RC4(bops,xxxxxxx_RC4_key,true)
end-- 把请求数据用RC4加密

HUT=ultra(xxxxxxx_Kami.."&app=".. xxxxxxx_APPID,bops.."&value="..Random)
--请求数据

if  xxxxxxx_RC4 == true then
HUT=RC4(HUT,xxxxxxx_RC4_key,false) 
end-- 把返回的数据用RC4解密
KM_L=json2lua(HUT)

code=KM_L.code--判断整数 200是成功
msg=KM_L.msg--数据提示 也是错误提示
check=KM_L.check--验证数据
time=KM_L.time--返回时间

if check~= md5(time..xxxxxxx_APPKEY..Random) then
gg.alert("脚本：检测到你有非法操作")--对话框
os.exit()
end

if time-os.time()>30 or time-os.time()<-30 then
gg.alert("脚本：数据过期")--对话框
os.exit()
end

if code~= 200 then
io.open(AMI_YDO..'/e.log','w+'):write("1")--写
gg.alert(msg)--对话框
MIAN()
else

TT=gg.alert([[

到期时间: ]]..os.date("%Y".."年".."%m".."月".."%d".."日  %H".."时".."%M".."分".."%S".."秒",msg.vip)..[[


使用卡密: ]]..msg.kami
,"确定","返回")--对话框
io.open(AMI_YDO..'/km','w+'):write(msg.kami)--写

if TT== 2 then
io.open(AMI_YDO..'/e.log','w+'):write("1")--写
MIAN()
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(qmnb[2]["name"] .. "开启成功" .. xgsl .. "开启成功") else gg.toast(qmnb[2]["name"] .. "开启成功") end end end end
function Main()
menu = gg.multiChoice({
"大厅全防",
"全防[备用]",
"变态功能",
"美化区",
"大厅初始化"
 }, nil, "SY.牛马 V11  大厅等10秒选进程，打人隔离或10年请清理残留改id")
if menu == nil then else 
if menu[1] == true then a() end 
if menu[2] == true then b() end
if menu[3] == true then c() end
if menu[4] == true then d() end
if menu[5] == true then e() end end XGCK = -1 end
function d()
menu = gg.multiChoice({
"赤羽金尊一套",
"全车美化",
"全枪美化",
"至尊金龙"
 }, nil, "美化闪退，人物透明，皮肤白色请检查资源包是否下载完整")
if menu == nil then else 
if menu[1] == true then c1() end 
if menu[2] == true then c2() end
if menu[3] == true then c3() end
if menu[4] == true then c4() end end XGCK = -1 end
function c4()
gg.clearResults()
gg.searchNumber("404007", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1)
gg.searchNumber("404007", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1)
gg.getResults(100)
gg.editAll("404049", gg.TYPE_DWORD)
gg.toast("s1战神裤")
gg.clearResults()
end

function c3()
gg.clearResults()
gg.setRanges(gg.REGION_ANONYMOUS)
gg.searchNumber('403251',gg.TYPE_DWORD,false,gg.SIGN_EQUAL,0, -1)
gg.searchNumber('403251',gg.TYPE_DWORD,false,gg.SIGN_EQUAL,0, -1)
gg.getResults(100)
gg.editAll('403188',gg.TYPE_DWORD)
gg.toast("m4开启成功")
gg.clearResults()
gg.setRanges(gg.REGION_ANONYMOUS)
gg.searchNumber('20500500',gg.TYPE_DWORD,false,gg.SIGN_EQUAL,0, -1)
gg.searchNumber('20500500',gg.TYPE_DWORD,false,gg.SIGN_EQUAL,0, -1)
gg.getResults(100)
gg.editAll('100401304',gg.TYPE_DWORD)
gg.toast("枪托开启成功")
gg.clearResults()
gg.setRanges(gg.REGION_ANONYMOUS)
gg.searchNumber('20300800',gg.TYPE_DWORD,false,gg.SIGN_EQUAL,0, -1)
gg.searchNumber('20300800',gg.TYPE_DWORD,false,gg.SIGN_EQUAL,0, -1)
gg.getResults(100)
gg.editAll('100401303',gg.TYPE_DWORD)
gg.toast("机瞄开启成功")
gg.clearResults()
gg.searchNumber("10100100",gg.TYPE_DWORD,false,gg.SIGN_EQUAL,0, -1)
gg.searchNumber("10100100",gg.TYPE_DWORD,false,gg.SIGN_EQUAL,0,-1)
gg.getResults(10)
gg.editAll("101001010",gg.TYPE_DWORD)
gg.toast("ak开启成功")
gg.clearResults()
gg.searchNumber("10100300",gg.TYPE_DWORD,false,gg.SIGN_EQUAL,0, -1)
gg.searchNumber("10100300",gg.TYPE_DWORD,false,gg.SIGN_EQUAL,0,-1)
gg.getResults(100)
gg.editAll("101003008",gg.TYPE_DWORD)
gg.toast("scar黄金龙骨美化成功")
gg.clearResults()
gg.searchNumber("10100800",gg.TYPE_DWORD,false,gg.SIGN_EQUAL,0, -1)
gg.searchNumber("10100800",gg.TYPE_DWORD,false,gg.SIGN_EQUAL,0,-1)
gg.getResults(100)
gg.editAll("101008004",gg.TYPE_DWORD)
gg.toast("m762美化成功")
gg.clearResults()
gg.searchNumber("10300300",gg.TYPE_DWORD,false,gg.SIGN_EQUAL,0, -1)
gg.searchNumber("10300300",gg.TYPE_DWORD,false,gg.SIGN_EQUAL,0,-1)
gg.getResults(100)
gg.editAll("103003001",gg.TYPE_DWORD)
gg.toast("awm美化成功")
gg.clearResults()
gg.searchNumber("10300100",gg.TYPE_DWORD,false,gg.SIGN_EQUAL,0, -1)
gg.searchNumber("10300100",gg.TYPE_DWORD,false,gg.SIGN_EQUAL,0,-1)
gg.getResults(100)
gg.editAll("103001025",gg.TYPE_DWORD)
gg.toast("98k美化成功")
gg.searchNumber("10300200",gg.TYPE_DWORD,false,gg.SIGN_EQUAL,0, -1)
gg.searchNumber("10300200",gg.TYPE_DWORD,false,gg.SIGN_EQUAL,0,-1)
gg.getResults(100)
gg.editAll("103002009",gg.TYPE_DWORD)
gg.toast("m24美化成功")
gg.clearResults()
gg.searchNumber("10800400", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1)
gg.searchNumber("10800400", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1)
gg.getResults(20)
gg.editAll("108004002", gg.TYPE_DWORD)
gg.toast("平底锅龙骨美化成功")
gg.searchNumber("10100600", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1)
gg.searchNumber("10100600", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1)
gg.getResults(10)
gg.editAll("101006010", gg.TYPE_DWORD)
gg.toast("AUG美化成功")
gg.clearResults()
gg.searchNumber("10200700", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1)
gg.searchNumber("10200700", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1)
gg.getResults(10)
gg.editAll("102007001", gg.TYPE_DWORD)
gg.toast("mp5k甜蜜誓约开启成功")
gg.clearResults()
gg.searchNumber("10500100", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1)
gg.searchNumber("10500100", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1)
gg.getResults(10)
gg.editAll("105001005", gg.TYPE_DWORD)
gg.toast("m249夜王开启成功")
gg.clearResults()
gg.searchNumber("10100700", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1)
gg.searchNumber("10100700", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1)
gg.getResults(10)
gg.editAll("101007006", gg.TYPE_DWORD)
gg.toast("QBZ美化成功")
gg.clearResults()
gg.searchNumber("10300600", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1)
gg.searchNumber("10300600", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1)
gg.getResults(10)
gg.editAll("103006014", gg.TYPE_DWORD)
gg.toast("迷你美化成功")
gg.clearResults()
gg.searchNumber("10200500", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1)
gg.searchNumber("10200500", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1)
gg.getResults(10)
gg.editAll("102005002", gg.TYPE_DWORD)
gg.toast("野牛小黄鸭开启成功")
gg.searchNumber("10101000", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1)
gg.searchNumber("10101000", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1)
gg.getResults(10)
gg.editAll("101010004", gg.TYPE_DWORD)
gg.toast("G36c美化成功")
gg.clearResults()
gg.searchNumber("10200100", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1)
gg.searchNumber("10200100", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1)
gg.getResults(10)
gg.editAll("102001013", gg.TYPE_DWORD)
gg.toast("UZI美化成功")
gg.searchNumber("10300500", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1)
gg.searchNumber("10300500", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1)
gg.getResults(10)
gg.editAll("103005007", gg.TYPE_DWORD)
gg.toast("VSS美化成功")
gg.clearResults()
gg.searchNumber("10400100", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1)
gg.searchNumber("10400100", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1)
gg.getResults(10)
gg.editAll("104001009", gg.TYPE_DWORD)
gg.toast("S1872美化成功")
gg.clearResults()
gg.searchNumber("10400200", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1)
gg.searchNumber("10400200", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1)
gg.getResults(10)
gg.editAll("104002009", gg.TYPE_DWORD)
gg.toast("S686美化成功")
gg.clearResults()
gg.searchNumber("10100500", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1)
gg.searchNumber("10100500", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1)
gg.getResults(10)
gg.editAll("101005011", gg.TYPE_DWORD)
gg.toast("groza美化成功")
gg.clearResults()
gg.searchNumber("10200300", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1)
gg.searchNumber("", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1)
gg.getResults(10)
gg.editAll("102003008", gg.TYPE_DWORD)
gg.toast("维克多美化成功")
gg.clearResults()
gg.searchNumber("10200400", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1)
gg.searchNumber("", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1)
gg.getResults(10)
gg.editAll("102004009", gg.TYPE_DWORD)
gg.toast("汤姆逊美化成功")
gg.clearResults()
gg.searchNumber("10100200", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1)
gg.searchNumber("", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1)
gg.getResults(10)
gg.editAll("101002012", gg.TYPE_DWORD)
gg.toast("M16A4美化成功")
gg.clearResults()
gg.searchNumber("10400300", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1)
gg.searchNumber("", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1)
gg.getResults(10)
gg.editAll("104003005", gg.TYPE_DWORD)
gg.toast("S12K美化成功")
gg.clearResults()
gg.searchNumber("10200200", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1)
gg.searchNumber("", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1)
gg.getResults(10)
gg.editAll("102002003", gg.TYPE_DWORD)
gg.toast("UMP45美化成功")
end
function c2()
gg.clearResults()
gg.searchNumber("330600100", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1)
gg.searchNumber("", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1)
gg.getResults(15)
gg.editAll("330601400", gg.TYPE_DWORD)
gg.toast("阿斯顿马丁金色")
gg.searchNumber("330600200", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1)
gg.searchNumber("", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1)
gg.getResults(15)
gg.editAll("330601400", gg.TYPE_DWORD)
gg.toast("阿斯顿马丁金色")
gg.searchNumber("330600300", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1)
gg.searchNumber("", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1)
gg.getResults(15)
gg.editAll("330601400", gg.TYPE_DWORD)
gg.toast("阿斯顿马丁金色")
gg.clearResults()
gg.searchNumber("330400100", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1)
gg.searchNumber("", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1)
gg.getResults(15)
gg.editAll("330401700", gg.TYPE_DWORD)
gg.toast("吉普阿斯顿马丁")
gg.clearResults()
gg.searchNumber("330800100", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1)
gg.searchNumber("", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1)
gg.getResults(15)
gg.editAll("330800400", gg.TYPE_DWORD)
gg.toast("火箭摩托")
gg.clearResults()
gg.searchNumber("330800200", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1)
gg.searchNumber("", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1)
gg.getResults(15)
gg.editAll("330800400", gg.TYPE_DWORD)
gg.toast("火箭摩托")
gg.clearResults()
gg.searchNumber("330100100", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1)
gg.searchNumber("330100100", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1)
gg.getResults(15)
gg.editAll("330100800", gg.TYPE_DWORD)
gg.toast("蹦蹦合骨金龙红色开启成功")
gg.searchNumber("330100200", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1)
gg.searchNumber("330100200", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1)
gg.getResults(15)
gg.editAll("330100800", gg.TYPE_DWORD)
gg.toast("蹦蹦合骨金龙红色开启成功")
gg.searchNumber("330100300", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1)
gg.searchNumber("330100300", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1)
gg.getResults(15)
gg.editAll("330100800", gg.TYPE_DWORD)
gg.toast("蹦蹦合骨金龙红色开启成功")
gg.searchNumber("330100400", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1)
gg.searchNumber("330100400", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1)
gg.getResults(15)
gg.editAll("330100800", gg.TYPE_DWORD)
gg.toast("蹦蹦合骨金龙红色开启成功")
end
function c1()
  gg.clearResults()
  gg.searchNumber("403476",gg.TYPE_DWORD,false,gg.SIGN_EQUAL,0, -1)
  gg.searchNumber("",gg.TYPE_DWORD,false,gg.SIGN_EQUAL,0,-1)
  gg.getResults(100)
  gg.editAll("410888",gg.TYPE_DWORD)
  gg.toast("织羽金尊美化成功")
  gg.clearResults()
  gg.searchNumber("404278",gg.TYPE_DWORD,false,gg.SIGN_EQUAL,0, -1)
  gg.searchNumber("",gg.TYPE_DWORD,false,gg.SIGN_EQUAL,0,-1)
  gg.getResults(100)
  gg.editAll("410390",gg.TYPE_DWORD)
  gg.toast("S1战神裤美化成功")
gg.clearResults()
  gg.searchNumber("404059",gg.TYPE_DWORD,false,gg.SIGN_EQUAL,0, -1)
  gg.searchNumber("404059",gg.TYPE_DWORD,false,gg.SIGN_EQUAL,0,-1)
  gg.getResults(100)
  gg.editAll("510011",gg.TYPE_DWORD)
  gg.toast("粉熊3级包预览成功")
gg.clearResults()
  gg.searchNumber("405026",gg.TYPE_DWORD,false,gg.SIGN_EQUAL,0, -1)
  gg.searchNumber("405026",gg.TYPE_DWORD,false,gg.SIGN_EQUAL,0,-1)
  gg.getResults(100)
  gg.editAll("411013",gg.TYPE_DWORD)
  gg.toast("粉熊2级包预览成功")
gg.clearResults()
  gg.searchNumber("703074",gg.TYPE_DWORD,false,gg.SIGN_EQUAL,0, -1)
  gg.searchNumber("703074",gg.TYPE_DWORD,false,gg.SIGN_EQUAL,0,-1)
  gg.getResults(100)
  gg.editAll("410169",gg.TYPE_DWORD)
  gg.toast("粉熊1级包预览成功")
gg.clearResults()
  gg.searchNumber("405204",gg.TYPE_DWORD,false,gg.SIGN_EQUAL,0, -1)
  gg.searchNumber("405204",gg.TYPE_DWORD,false,gg.SIGN_EQUAL,0,-1)
  gg.getResults(100)
  gg.editAll("101004018",gg.TYPE_DWORD)
  gg.toast("金羽3级头预览成功")
gg.clearResults()
  gg.searchNumber("401018",gg.TYPE_DWORD,false,gg.SIGN_EQUAL,0, -1)
  gg.searchNumber("401018",gg.TYPE_DWORD,false,gg.SIGN_EQUAL,0,-1)
  gg.getResults(100)
  gg.editAll("3304005",gg.TYPE_DWORD)
  gg.toast("金羽2级头预览成功")
gg.clearResults()
  gg.searchNumber("403171",gg.TYPE_DWORD,false,gg.SIGN_EQUAL,0, -1)
  gg.searchNumber("403171",gg.TYPE_DWORD,false,gg.SIGN_EQUAL,0,-1)
  gg.getResults(100)
  gg.editAll("410366",gg.TYPE_DWORD)
  gg.toast("金羽1级头预览成功")
gg.clearResults()
gg.clearResults()
  gg.searchNumber("703075",gg.TYPE_DWORD,false,gg.SIGN_EQUAL,0, -1)
  gg.searchNumber("",gg.TYPE_DWORD,false,gg.SIGN_EQUAL,0,-1)
  gg.getResults(100)
  gg.editAll("410365",gg.TYPE_DWORD)
  gg.toast("金羽3级头美化成功")
gg.clearResults()
  gg.searchNumber("703076",gg.TYPE_DWORD,false,gg.SIGN_EQUAL,0, -1)
  gg.searchNumber("",gg.TYPE_DWORD,false,gg.SIGN_EQUAL,0,-1)
  gg.getResults(100)
  gg.editAll("410364",gg.TYPE_DWORD)
  gg.toast("金羽2级头美化成功")
gg.clearResults()
  gg.searchNumber("403363",gg.TYPE_DWORD,false,gg.SIGN_EQUAL,0, -1)
  gg.searchNumber("",gg.TYPE_DWORD,false,gg.SIGN_EQUAL,0,-1)
  gg.getResults(100)
  gg.editAll("410363",gg.TYPE_DWORD)
  gg.toast("金羽1级头美化成功")
gg.clearResults()  
gg.searchNumber("404187",gg.TYPE_DWORD,false,gg.SIGN_EQUAL,0, -1)
  gg.searchNumber("",gg.TYPE_DWORD,false,gg.SIGN_EQUAL,0,-1)
  gg.getResults(100)
  gg.editAll("410369",gg.TYPE_DWORD)
  gg.toast("金羽3级头美化成功")
gg.clearResults()
  gg.searchNumber("405116",gg.TYPE_DWORD,false,gg.SIGN_EQUAL,0, -1)
  gg.searchNumber("",gg.TYPE_DWORD,false,gg.SIGN_EQUAL,0,-1)
  gg.getResults(100)
  gg.editAll("3308004",gg.TYPE_DWORD)
  gg.toast("金羽2级头美化成功")
gg.clearResults()
  gg.searchNumber("703080",gg.TYPE_DWORD,false,gg.SIGN_EQUAL,0, -1)
  gg.searchNumber("",gg.TYPE_DWORD,false,gg.SIGN_EQUAL,0,-1)
  gg.getResults(100)
  gg.editAll("103002012",gg.TYPE_DWORD)
  gg.toast("金羽1级头美化成功")
gg.clearResults()
  gg.searchNumber("703079",gg.TYPE_DWORD,false,gg.SIGN_EQUAL,0, -1)
  gg.searchNumber("",gg.TYPE_DWORD,false,gg.SIGN_EQUAL,0,-1)
  gg.getResults(100)
  gg.editAll("101001001",gg.TYPE_DWORD)
  gg.toast("粉熊3级包美化成功")
gg.clearResults()
  gg.searchNumber("403370",gg.TYPE_DWORD,false,gg.SIGN_EQUAL,0, -1)
  gg.searchNumber("",gg.TYPE_DWORD,false,gg.SIGN_EQUAL,0,-1)
  gg.getResults(100)
  gg.editAll("101003003",gg.TYPE_DWORD)
  gg.toast("粉熊2级包美化成功")
gg.clearResults()
  gg.searchNumber("403351",gg.TYPE_DWORD,false,gg.SIGN_EQUAL,0, -1)
  gg.searchNumber("",gg.TYPE_DWORD,false,gg.SIGN_EQUAL,0,-1)
  gg.getResults(100)
  gg.editAll("101003001",gg.TYPE_DWORD)
  gg.toast("粉熊1级包美化成功")
gg.clearResults()
gg.searchNumber("403371",gg.TYPE_DWORD,false,gg.SIGN_EQUAL,0, -1)
  gg.searchNumber("",gg.TYPE_DWORD,false,gg.SIGN_EQUAL,0,-1)
  gg.getResults(100)
  gg.editAll("3306006",gg.TYPE_DWORD)
  gg.toast("粉熊3级包美化成功")
gg.clearResults()
  gg.searchNumber("404175",gg.TYPE_DWORD,false,gg.SIGN_EQUAL,0, -1)
  gg.searchNumber("",gg.TYPE_DWORD,false,gg.SIGN_EQUAL,0,-1)
  gg.getResults(100)
  gg.editAll("411010",gg.TYPE_DWORD)
  gg.toast("粉熊2级包美化成功")
gg.clearResults()
  gg.searchNumber("404176",gg.TYPE_DWORD,false,gg.SIGN_EQUAL,0, -1)
  gg.searchNumber("",gg.TYPE_DWORD,false,gg.SIGN_EQUAL,0,-1)
  gg.getResults(100)
  gg.editAll("103003001",gg.TYPE_DWORD)
  gg.toast("粉熊1级包美化成功")
gg.clearResults()
gg.searchNumber("404174", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1)
gg.searchNumber("", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1)
gg.getResults(100)
gg.editAll("101004011", gg.TYPE_DWORD)
gg.toast("金羽1级头美化成功")
gg.clearResults()
gg.searchNumber("401090", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1)
gg.searchNumber("", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1)
gg.getResults(100)
gg.editAll("101004013", gg.TYPE_DWORD)
gg.toast("金羽2级头美化成功")
gg.clearResults()
gg.searchNumber("401091", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1)
gg.searchNumber("", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1)
gg.getResults(100)
gg.editAll("520002", gg.TYPE_DWORD)
gg.toast("金羽3级头美化成功")
gg.clearResults()
gg.searchNumber("401092", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1)
gg.searchNumber("", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1)
gg.getResults(100)
gg.editAll("3306014", gg.TYPE_DWORD)
gg.toast("金羽1级头美化成功")
gg.clearResults()
gg.searchNumber("404192", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1)
gg.searchNumber("", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1)
gg.getResults(100)
gg.editAll("3301010", gg.TYPE_DWORD)
gg.toast("金羽2级头美化成功")
gg.clearResults()
gg.searchNumber("404193", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1)
gg.searchNumber("", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1)
gg.getResults(100)
gg.editAll("410056", gg.TYPE_DWORD)
gg.toast("金羽3级头美化成功")
gg.clearResults()
gg.searchNumber("404195", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1)
gg.searchNumber("", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1)
gg.getResults(100)
gg.editAll("703097", gg.TYPE_DWORD)
gg.toast("金羽1级头美化成功")
gg.clearResults()
gg.searchNumber("401083", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1)
gg.searchNumber("", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1)
gg.getResults(100)
gg.editAll("410154", gg.TYPE_DWORD)
gg.toast("金羽2级头美化成功")
gg.clearResults()
gg.searchNumber("401084", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1)
gg.searchNumber("", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1)
gg.getResults(100)
gg.editAll("410163", gg.TYPE_DWORD)
gg.toast("金羽3级头美化成功")
gg.clearResults()
gg.searchNumber("401086", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1)
gg.searchNumber("", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1)
gg.getResults(100)
gg.editAll("410151", gg.TYPE_DWORD)
gg.toast("金羽1级头美化成功")
gg.clearResults()
gg.searchNumber("404178", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1)
gg.searchNumber("", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1)
gg.getResults(100)
gg.editAll("410175", gg.TYPE_DWORD)
gg.toast("金羽2级头美化成功")
gg.clearResults()
gg.searchNumber("404179", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1)
gg.searchNumber("", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1)
gg.getResults(100)
gg.editAll("410176", gg.TYPE_DWORD)
gg.toast("金羽3级头美化成功")
gg.clearResults()
gg.searchNumber("404181", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1)
gg.searchNumber("", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1)
gg.getResults(100)
gg.editAll("410212", gg.TYPE_DWORD)
gg.toast("金羽1级头美化成功")
gg.clearResults()
gg.searchNumber("405124", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1)
gg.searchNumber("", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1)
gg.getResults(100)
gg.editAll("410213", gg.TYPE_DWORD)
gg.toast("金羽2级头美化成功")
gg.clearResults()
gg.searchNumber("405117", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1)
gg.searchNumber("", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1)
gg.getResults(100)
gg.editAll("410216", gg.TYPE_DWORD)
gg.toast("金羽3级头美化成功")
gg.clearResults()
gg.searchNumber("703080", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1)
gg.searchNumber("", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1)
gg.getResults(100)
gg.editAll("410265", gg.TYPE_DWORD)
gg.toast("金羽3级头美化成功")
gg.clearResults()
gg.searchNumber("703076", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1)
gg.searchNumber("", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1)
gg.getResults(100)
gg.editAll("410278", gg.TYPE_DWORD)
gg.toast("金羽3级头美化成功")
gg.clearResults()
gg.searchNumber("102003001", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1)
gg.searchNumber("", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1)
gg.getResults(100)
gg.editAll("410414", gg.TYPE_DWORD)
gg.toast("金羽3级头美化成功")
gg.clearResults()
gg.searchNumber("102002007", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1)
gg.searchNumber("", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1)
gg.getResults(100)
gg.editAll("410424", gg.TYPE_DWORD)
gg.toast("金羽3级头美化成功")
gg.clearResults()
gg.searchNumber("104001006", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1)
gg.searchNumber("", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1)
gg.getResults(100)
gg.editAll("410456", gg.TYPE_DWORD)
gg.toast("金羽3级头美化成功")
gg.clearResults()
gg.searchNumber("407,025", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1)
gg.searchNumber("", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1)
gg.getResults(100)
gg.editAll("410362", gg.TYPE_DWORD)
gg.toast("金羽3级头美化成功")
gg.clearResults()
end
function e()
gg.clearResults()
gg.setRanges(4)
gg.searchNumber("251,376,870", 4, false, gg.SIGN_EQUAL, 0, -1)
gg.searchNumber("134914;131330:751", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1)
gg.refineNumber("134914", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1)
revert = gg.getResults(10000, nil, nil, nil, nil, nil, nil, nil, nil)
local t = gg.getResults(10000, nil, nil, nil, nil, nil, nil, nil, nil)
for i, v in ipairs(t) do
if v.flags == gg.TYPE_DWORD then
v.value = "67109633"
v.freeze = true
end
end
gg.addListItems(t)
t = nil
gg.clearResults()
gg.setRanges(4)
gg.searchNumber("135682;131330:751", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1)
gg.refineNumber("135682", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1)
revert = gg.getResults(10000, nil, nil, nil, nil, nil, nil, nil, nil)
local t = gg.getResults(10000, nil, nil, nil, nil, nil, nil, nil, nil)
for i, v in ipairs(t) do
if v.flags == gg.TYPE_DWORD then
v.value = "67109633"
v.freeze = true
end
end
gg.addListItems(t)
t = nil
gg.clearResults()
gg.setRanges(4)
gg.searchNumber("134402;131330:751", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1)
gg.refineNumber("134402", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1)
revert = gg.getResults(10000, nil, nil, nil, nil, nil, nil, nil, nil)
local t = gg.getResults(10000, nil, nil, nil, nil, nil, nil, nil, nil)
for i, v in ipairs(t) do
if v.flags == gg.TYPE_DWORD then
v.value = "67109633"
v.freeze = true
end
end
gg.addListItems(t)
t = nil
gg.clearResults()
gg.setRanges(4)
gg.searchNumber("133378;144387", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1)
gg.refineNumber("133378", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1)
revert = gg.getResults(10000, nil, nil, nil, nil, nil, nil, nil, nil)
local t = gg.getResults(10000, nil, nil, nil, nil, nil, nil, nil, nil)
for i, v in ipairs(t) do
if v.flags == gg.TYPE_DWORD then
v.value = "67109633"
v.freeze = true
end
end
gg.addListItems(t)
t = nil
gg.clearResults()
gg.setRanges(4)
gg.searchNumber("135682;131586", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1)
revert = gg.getResults(10000, nil, nil, nil, nil, nil, nil, nil, nil)
local t = gg.getResults(10000, nil, nil, nil, nil, nil, nil, nil, nil)
for i, v in ipairs(t) do
if v.flags == gg.TYPE_DWORD then
v.value = "67109633"
v.freeze = true
end
end
gg.addListItems(t)
t = nil
gg.clearResults()
gg.setRanges(gg.REGION_C_ALLOC)
gg.searchNumber("10240;67,043,328;65,536", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1)
gg.refineNumber("10240", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1)
revert = gg.getResults(10000, nil, nil, nil, nil, nil, nil, nil, nil)
local t = gg.getResults(10000, nil, nil, nil, nil, nil, nil, nil, nil)
for i, v in ipairs(t) do
if v.flags == gg.TYPE_DWORD then
       v.value = "0"
v.freeze = true
end
end
qmnb = {
{["memory"] = 4},
{["name"] = ""},
{["value"] = 10240, ["type"] =  gg.TYPE_DWORD},
{["lv"] = 65536, ["offset"] = 32, ["type"] =  gg.TYPE_DWORD},
{["lv"] = 19969, ["offset"] = 72, ["type"] =  gg.TYPE_DWORD},}
qmxg = {
{["value"] = 0, ["offset"] = 0, ["type"] =  gg.TYPE_DWORD,["freeze"]=true},
{["value"] = 0, ["offset"] = 32, ["type"] =  gg.TYPE_DWORD,["freeze"]=true},
{["value"] = 0, ["offset"] = 84, ["type"] =  gg.TYPE_DWORD,["freeze"]=true},}
xqmnb(qmnb)
qmnb = {
{["memory"] = 4},
{["name"] = ""},
{["value"] = 10240, ["type"] =  gg.TYPE_DWORD},
{["lv"] = 2048, ["offset"] = 60, ["type"] =  gg.TYPE_DWORD},
{["lv"] = 196608, ["offset"] = 72, ["type"] =  gg.TYPE_DWORD},}
qmxg = {
{["value"] = 67109634, ["offset"] = 0, ["type"] =  gg.TYPE_DWORD,["freeze"]=true},
{["value"] = 67109634, ["offset"] = 12, ["type"] =  gg.TYPE_DWORD,["freeze"]=true},
{["value"] = 67109634, ["offset"] = 20, ["type"] =  gg.TYPE_DWORD,["freeze"]=true},
{["value"] = 67109634, ["offset"] = 28, ["type"] =  gg.TYPE_DWORD,["freeze"]=true},
{["value"] = 67109634, ["offset"] = 40, ["type"] =  gg.TYPE_DWORD,["freeze"]=true},
{["value"] = 67109634, ["offset"] = 72, ["type"] =  gg.TYPE_DWORD,["freeze"]=true},
{["value"] = 67109634, ["offset"] = 100, ["type"] =  gg.TYPE_DWORD,["freeze"]=true},
{["value"] = 67109634, ["offset"] = 104, ["type"] =  gg.TYPE_DWORD,["freeze"]=true},
{["value"] = 17500, ["offset"] = 108, ["type"] =  gg.TYPE_DWORD,["freeze"]=true},
{["value"] = 17500, ["offset"] = 112, ["type"] =  gg.TYPE_DWORD,["freeze"]=true},
{["value"] = 17500, ["offset"] = 124, ["type"] =  gg.TYPE_DWORD,["freeze"]=true},
{["value"] = 17500, ["offset"] = 128, ["type"] =  gg.TYPE_DWORD,["freeze"]=true},
{["value"] = 18633, ["offset"] = 132, ["type"] =  gg.TYPE_DWORD,["freeze"]=true},
{["value"] = 18633, ["offset"] = 136, ["type"] =  gg.TYPE_DWORD,["freeze"]=true},
{["value"] = 18633, ["offset"] = 180, ["type"] =  gg.TYPE_DWORD,["freeze"]=true},
{["value"] = 18633, ["offset"] = 184, ["type"] =  gg.TYPE_DWORD,["freeze"]=true},}
xqmnb(qmnb)
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 c()
SN = gg.multiChoice({
     "40倍加速",
     "关闭加速",
     "二倍移速(不拉)",
     "关闭加速",
     "人物飞天",
     "关闭飞天",
     "路飞(蹲下趴下)",
     "跳伞加速",
     "200w范围"
     }, nil,"SY.牛马 V11独家功能")
if SN == nil then else
if SN[1] == true then a1() end
if SN[2] == true then a2() end
if SN[3] == true then a3() end
if SN[4] == true then a4() end
if SN[5] == true then a5() end
if SN[6] == true then a6() end
if SN[7] == true then a7() end
if SN[8] == true then a8() end
if SN[9] == true then a9() end
end
XGCK = -1 
end
function A9()
gg.clearResults()
gg.setRanges(gg.REGION_ANONYMOUS)
gg.searchNumber("9.20161819458;23;28", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1)
gg.searchNumber("23;28", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1)
gg.getResults(10)
gg.editAll("150", gg.TYPE_FLOAT)
gg.toast("范围开启成功")
end
function a8()
gg.clearResults()
gg.setRanges(gg.REGION_ANONYMOUS)
gg.searchNumber("20000;750;0.0001;0.0005", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1)
gg.searchNumber("0.0005", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1)
gg.getResults(100)
gg.editAll("0.11", gg.TYPE_FLOAT)
gg.clearResults()
gg.toast("开启成功")
gg.sleep(14000)
gg.clearResults()
gg.setRanges(gg.REGION_ANONYMOUS)
gg.searchNumber("20000;750;0.0001;0.11", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1)
gg.searchNumber("0.11", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1)
gg.getResults(100)
gg.editAll("0.0005", gg.TYPE_FLOAT)
gg.clearResults()
gg.toast("关闭成功")
end
function a7()
gg.setRanges(gg.REGION_ANONYMOUS)
gg.searchNumber("18.38614273071;0.53446769714;-3.42663764954;1.7763571e-15:13", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1)
gg.searchNumber("-3.42663764954", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1)
gg.getResults(500)
gg.editAll("-165", gg.TYPE_FLOAT)
gg.toast("趴下路飞开启成功")
gg.clearResults()
gg.setRanges(gg.REGION_ANONYMOUS)
gg.searchNumber("18.38614273071;0.53446769714;-165;1.7763571e-15:13", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1)
gg.searchNumber("0.53446769714", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1)
gg.getResults(500)
gg.editAll("155", gg.TYPE_FLOAT)
gg.toast("趴下路飞开启成功")
gg.clearResults()
gg.setRanges(gg.REGION_ANONYMOUS)
gg.searchNumber("4.1359036e-25;9.00542354584;-17.21075057983", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1)
gg.searchNumber("9.00542354584", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1)
gg.getResults(500)
gg.editAll("180", gg.TYPE_FLOAT)
gg.toast("蹲下虚体")
gg.clearResults()
gg.setRanges(gg.REGION_ANONYMOUS)
gg.searchNumber("8.9229369e22;1.4647912e13;1.6155873e-27;9.49029254913::", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1)
gg.searchNumber("9.49029254913", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1)
gg.getResults(500)
gg.editAll("100", gg.TYPE_FLOAT)
gg.toast("趴下路飞开启成功")
end
function a5()
gg.clearResults()
gg.setRanges(gg.REGION_ANONYMOUS)
gg.searchNumber("-980", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1)
gg.searchNumber("-980", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1)
gg.getResults(100)
gg.editAll("100.03866526", gg.TYPE_FLOAT)
gg.toast("人物飞天开启成功")
end
function a6()
gg.clearResults()
gg.setRanges(gg.REGION_ANONYMOUS)
gg.searchNumber("100.03866526", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1)
gg.searchNumber("100.03866526", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1)
gg.getResults(100)
gg.editAll("-980", gg.TYPE_FLOAT)
gg.toast("人物飞天关闭成功")
end
function a3()
gg.clearResults()
  gg.setRanges(gg.REGION_ANONYMOUS)
  gg.searchNumber("1;1;1;0.0001;20;0.0005;0.4::50", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1)
  gg.searchNumber("1", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1)
  gg.getResults(500)
  gg.editAll("1.123", gg.TYPE_FLOAT)
  gg.toast("二倍加速开启成功")
end



function a4()
gg.clearResults()
  gg.setRanges(gg.REGION_ANONYMOUS)
  gg.searchNumber("1.123;1.123;1.123;0.0001;20;0.0005;0.4::50", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1)
  gg.searchNumber("1.123", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1)
  gg.getResults(500)
  gg.editAll("1", gg.TYPE_FLOAT)
  gg.toast("加速关闭")
end
function a1()
gg.clearResults()
gg.setRanges(gg.REGION_ANONYMOUS)
gg.searchNumber("20000;750;0.0001;0.0005 ", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1)
gg.searchNumber("0.0005", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1)
gg.getResults(100)
gg.editAll("0.07", gg.TYPE_FLOAT)
gg.clearResults()
gg.setRanges(gg.REGION_C_DATA)
gg.searchNumber("-1,328,550,408,728,725,571",  gg.TYPE_QWORD,false,gg.SIGN_EQUAL,0, -1)
gg.getResults(10)
gg.editAll("-1,328,550,408,576,460,390",gg.TYPE_QWORD)
gg.toast("40倍加速开启成功")
end


function a2()
gg.clearResults()
gg.setRanges(gg.REGION_ANONYMOUS)
gg.searchNumber("20000;750;0.0001;0.07 ", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1)
gg.searchNumber("0.07", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1)
gg.getResults(100)
gg.editAll("0.0005", gg.TYPE_FLOAT)
gg.clearResults()
gg.setRanges(gg.REGION_C_DATA)
gg.searchNumber("-1,328,550,408,576,460,390",  gg.TYPE_QWORD,false,gg.SIGN_EQUAL,0, -1)
gg.getResults(10)
gg.editAll("-1,328,550,408,728,725,571",gg.TYPE_QWORD)
gg.toast("40倍加速关闭成功")
end
function b()
SN = gg.multiChoice({"无","无","无",}, nil, "SY.牛马备用全防 框架root通用")
if SN == nil then else
if SN[1] == true then b1() end
if SN[2] == true then b2() end
if SN[3] == true then b3() end
end XGCK = -1 end

function a()
gg.clearResults()
	 gg.setRanges(16384)
	 gg.searchNumber("2,104,178,555", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1)
	 gg.searchNumber("2,104,178,555", 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 = 0}})
	 end
	 gg.clearResults()
	 gg.setRanges(16384)
	 gg.searchNumber("2,003,462,199", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1)
	 gg.searchNumber("2,003,462,199", 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 = 0}})
	 end
	 gg.clearResults()
	 gg.setRanges(16384)
	 gg.searchNumber("1,966,571,124", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1)
	 gg.searchNumber("1,966,571,124", 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 = 0}})
	 end
	 gg.clearResults()
	 gg.setRanges(16384)
	 gg.searchNumber("178981795", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1)
	 gg.searchNumber("178981795", 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 = 0}})
	 end
	 gg.clearResults()
	 gg.setRanges(16384)
	 gg.searchNumber("174787043", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1)
	 gg.searchNumber("174787043", 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 = 0}})
	 end
	 gg.clearResults()
	 gg.setRanges(16384)
	 gg.searchNumber("174787313", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1)
	 gg.searchNumber("174787313", 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 = 0}})
	 end
	 gg.clearResults()
	 gg.setRanges(16384)
	 gg.searchNumber("174590675", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1)
	 gg.searchNumber("174590675", 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 = 0}})
	 end
	 gg.clearResults()
	 gg.setRanges(16384)
	 gg.searchNumber("182258267", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1)
	 gg.searchNumber("182258267", 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 = 0}})
	 end
	 gg.clearResults()
	 gg.setRanges(16384)
	 gg.searchNumber("439753187", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1)
	 gg.searchNumber("439753187", 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 = 0}})
	 end
     gg.clearResults()
	 gg.setRanges(16384)
	 gg.searchNumber("450239267", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1)
	 gg.searchNumber("450239267", 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 = 0}})
	 end
	 gg.clearResults()
	 gg.setRanges(16384)
	 gg.searchNumber("450239111", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1)
	 gg.searchNumber("450239111", 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 = 0}})
	 end
	 gg.clearResults()
	 gg.setRanges(16384)
	 gg.searchNumber("439753351", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1)
	 gg.searchNumber("439753351", 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 = 0}})
	 end
	 gg.clearResults()
gg.clearResults()
gg.setRanges(4)
gg.searchNumber("251,376,870", 4, false, gg.SIGN_EQUAL, 0, -1)
revert = gg.getResults(10000, nil, nil, nil, nil, nil, nil, nil, nil)
local t = gg.getResults(10000, nil, nil, nil, nil, nil, nil, nil, nil)
for i, v in ipairs(t) do
if v.flags == gg.TYPE_DWORD then
v.value = "67109633"
v.freeze = true
end
end
gg.addListItems(t)
t = nil
gg.clearResults()
gg.setRanges(4)
gg.searchNumber("134914;131330:751", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1)
gg.refineNumber("134914", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1)
revert = gg.getResults(10000, nil, nil, nil, nil, nil, nil, nil, nil)
local t = gg.getResults(10000, nil, nil, nil, nil, nil, nil, nil, nil)
for i, v in ipairs(t) do
if v.flags == gg.TYPE_DWORD then
v.value = "67109633"
v.freeze = true
end
end
gg.addListItems(t)
t = nil
gg.clearResults()
gg.setRanges(4)
gg.searchNumber("135682;131330:751", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1)
gg.refineNumber("135682", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1)
revert = gg.getResults(10000, nil, nil, nil, nil, nil, nil, nil, nil)
local t = gg.getResults(10000, nil, nil, nil, nil, nil, nil, nil, nil)
for i, v in ipairs(t) do
if v.flags == gg.TYPE_DWORD then
v.value = "67109633"
v.freeze = true
end
end
gg.addListItems(t)
t = nil
gg.clearResults()
gg.setRanges(4)
gg.searchNumber("134402;131330:751", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1)
gg.refineNumber("134402", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1)
revert = gg.getResults(10000, nil, nil, nil, nil, nil, nil, nil, nil)
local t = gg.getResults(10000, nil, nil, nil, nil, nil, nil, nil, nil)
for i, v in ipairs(t) do
if v.flags == gg.TYPE_DWORD then
v.value = "67109633"
v.freeze = true
end
end
gg.addListItems(t)
t = nil
gg.clearResults()
gg.setRanges(4)
gg.searchNumber("135682;131586", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1)
gg.refineNumber("135682", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1)
revert = gg.getResults(10000, nil, nil, nil, nil, nil, nil, nil, nil)
local t = gg.getResults(10000, nil, nil, nil, nil, nil, nil, nil, nil)
for i, v in ipairs(t) do
if v.flags == gg.TYPE_DWORD then
v.value = "67109633"
v.freeze = true
end
end
gg.addListItems(t)
t = nil
qmnb = {
{["memory"] = 4},
{["name"] = ""},
{["value"] = 10240, ["type"] =  gg.TYPE_DWORD},
{["lv"] = 65536, ["offset"] = 32, ["type"] =  gg.TYPE_DWORD},
{["lv"] = 19969, ["offset"] = 72, ["type"] =  gg.TYPE_DWORD},}
qmxg = {
{["value"] = 0, ["offset"] = 0, ["type"] =  gg.TYPE_DWORD,["freeze"]=true},
{["value"] = 0, ["offset"] = 32, ["type"] =  gg.TYPE_DWORD,["freeze"]=true},
{["value"] = 0, ["offset"] = 84, ["type"] =  gg.TYPE_DWORD,["freeze"]=true},}
xqmnb(qmnb)
qmnb = {
{["memory"] = 4},
{["name"] = ""},
{["value"] = 10240, ["type"] =  gg.TYPE_DWORD},
{["lv"] = 2048, ["offset"] = 60, ["type"] =  gg.TYPE_DWORD},
{["lv"] = 196608, ["offset"] = 72, ["type"] =  gg.TYPE_DWORD},}
qmxg = {
{["value"] = 10240, ["offset"] = 0, ["type"] =  gg.TYPE_DWORD,["freeze"]=true},
{["value"] = 10240, ["offset"] = 12, ["type"] =  gg.TYPE_DWORD,["freeze"]=true},
{["value"] = 10240, ["offset"] = 20, ["type"] =  gg.TYPE_DWORD,["freeze"]=true},
{["value"] = 10240, ["offset"] = 28, ["type"] =  gg.TYPE_DWORD,["freeze"]=true},
{["value"] = 10240, ["offset"] = 40, ["type"] =  gg.TYPE_DWORD,["freeze"]=true},
{["value"] = 10240, ["offset"] = 72, ["type"] =  gg.TYPE_DWORD,["freeze"]=true},
{["value"] = 10240, ["offset"] = 100, ["type"] =  gg.TYPE_DWORD,["freeze"]=true},
{["value"] = 10240, ["offset"] = 104, ["type"] =  gg.TYPE_DWORD,["freeze"]=true},
{["value"] = 28633, ["offset"] = 108, ["type"] =  gg.TYPE_DWORD,["freeze"]=true},
{["value"] = 8633, ["offset"] = 112, ["type"] =  gg.TYPE_DWORD,["freeze"]=true},
{["value"] = 28633, ["offset"] = 124, ["type"] =  gg.TYPE_DWORD,["freeze"]=true},
{["value"] = 28633, ["offset"] = 128, ["type"] =  gg.TYPE_DWORD,["freeze"]=true},
{["value"] = 28633, ["offset"] = 132, ["type"] =  gg.TYPE_DWORD,["freeze"]=true},
{["value"] = 28633, ["offset"] = 136, ["type"] =  gg.TYPE_DWORD,["freeze"]=true},
{["value"] = 8633, ["offset"] = 180, ["type"] =  gg.TYPE_DWORD,["freeze"]=true},
{["value"] = 8633, ["offset"] = 184, ["type"] =  gg.TYPE_DWORD,["freeze"]=true},}
xqmnb(qmnb)
end
while true do
  if gg.isVisible(true) then
    XGCK = 1
    gg.setVisible(false)
  end
  gg.clearResults()
  if XGCK == 1 then
    Main()
  end
end




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

     end

end





if km == nil  then
else
if km ~=""  then
if e==true then
KM_LL(km)
end 
end
end


hak=gg.prompt({
[[全网使用次数：]]..api_total..[[

输入 >1< 解绑卡密
在下方输入你的卡密]],
"是否自动登入",
},{
km,
e
},{
'text',--文字
'checkbox',--多选
})--文本功能



if hak==nil then

elseif hak[2]==true then
io.open(AMI_YDO..'/e.log','w+'):write("2")--写
elseif hak[2]==false then
io.open(AMI_YDO..'/e.log','w+'):write("1")--写
end


if hak==nil then gg.setVisible(false) xxxxxxx=nil
elseif hak[1]== "1" then
G_B=gg.prompt({"输入要解绑的卡密"},{},{"text"})
if  G_B[1]== "" then
gg.alert("空，请填写卡密")--对话框
else
KM_G=json2lua(KM_G(G_B[1]))
if KM_G.code== 200 then
else
gg.alert(KM_G.msg)--对话框
end
end
elseif hak[1]== "2" then

elseif hak[1]== "" then
gg.alert("空，请填写卡密")--对话框
io.open(AMI_YDO..'/e.log','w+'):write("1")--写
else
KM_LL(hak[1])
end

end









while true do
if gg.isVisible(true) then
gg.setVisible(false)
  MIAN()
  else
if xxxxxxx== 999 then
gg.setVisible(true)
else
end
end



end
