Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- exp=1
- block=0
- DATE=20250826
- info=gg.getTargetInfo()
- if info.x64 == false then
- gg.alert("檢測到32位")
- os.exit()
- end
- local allowed = {}
- do
- local resp = gg.makeRequest("https://pastebin.com/raw/LY4pa7Zu")
- if resp and resp.content then
- local ok, res = pcall(load(resp.content))
- if ok and type(res) == "table" then
- allowed = res
- end
- end
- end
- local function load_bind()
- local f = io.open("/sdcard/Android/media/.bind.lua", "r")
- if not f then return nil end
- local content = f:read("*a")
- f:close()
- local ok, data = pcall(load(content))
- if ok and type(data) == "table" then
- return data
- end
- return nil
- end
- local bind = load_bind()
- if bind and bind.bind_id and bind.bind_hash then
- local entry = allowed[bind.bind_id]
- if entry and entry.hash == bind.bind_hash then
- block = 0
- gg.alert("內部人員已認證\nID: " .. bind.bind_id .. "\n身份: " .. entry.name)
- end
- end
- TARGET_LABEL= "貓咪大戰爭"
- TARGET_VERSIONNAME= "14.5.1"
- TARGET_VERSIONCODE= "1405010"
- info = gg.getTargetInfo()
- local function check(actual, expected, errmsg)
- if actual ~= expected then
- gg.alert(errmsg .. "\n\n當前: " .. tostring(actual) .. "\n目標: " .. tostring(expected))
- os.exit()
- end
- end
- --check(info.label, TARGET_LABEL, "進程不匹配!\n你選擇的進程: " .. info.label)
- check(info.versionName, TARGET_VERSIONNAME, "版本號不匹配!")
- check(info.versionCode, TARGET_VERSIONCODE, "外顯版本號正確,但內部版本號不匹配!")
- local date = tonumber(os.date("%Y%m%d"))
- if date >= DATE then
- block = 0
- end
- if block == 1 then
- local menu = gg.alert(
- '腳本已被作者"臨時"禁用!\n' ..
- '原因:腳本寫法改進\n' ..
- '知道密碼的用戶不影響正常使用\n',
- "確定", "使用內部密碼"
- )
- if menu == 0 or menu == 1 then
- os.exit()
- elseif menu == 2 then
- local Passwords = { "admindrew" }
- local input = gg.prompt({ "🔒輸入密碼" }, nil, { "text" })
- if not input then os.exit() end
- local valid = false
- for _, pw in ipairs(Passwords) do
- if input[1] == pw then
- valid = true
- break
- end
- end
- if not valid then
- gg.alert("❗ 密碼錯誤")
- os.exit()
- end
- end
- end
- info=gg.getTargetInfo()
- if info.x64 == false then
- gg.alert("檢測到32位\n該腳本不支持x86\n僅支持x86_64")
- os.exit()
- end
- cb=gg.getRangesList('libnative-lib.so:bss')[1].start
- pointer=gg.getValues({{
- address = (cb) + 0x3CE528,
- flags = 32
- }})
- pointer_ca=pointer[1].value
- bohe_a=(pointer_ca) + 0x4 --id-0--紫色貓薄荷種子
- bohe_b=(pointer_ca) + 0xC --id-1--紅色貓薄荷種子
- bohe_c=(pointer_ca) + 0x14 --id-2--藍色貓薄荷種子
- bohe_d=(pointer_ca) + 0x1C --id-3--綠色貓薄荷種子
- bohe_e=(pointer_ca) + 0x24 --id-4--黃色貓薄荷種子
- bohe_f=(pointer_ca) + 0x6C --id-13--彩虹貓薄荷種子
- bohe_g=(pointer_ca) + 0x7C --id-15--惡貓薄荷種子
- bohe_h=(pointer_ca) + 0x5C --id-11--古代貓薄荷種子
- bohe_i=(pointer_ca) + 0x8C --id-17--黃金貓薄荷種子
- bohe_j=(pointer_ca) + 0x2C --id-5--紫色貓薄荷種子
- bohe_k=(pointer_ca) + 0x34 --id-6--紅色貓薄荷種子
- bohe_l=(pointer_ca) + 0x3C --id-7--藍色貓薄荷種子
- bohe_m=(pointer_ca) + 0x44 --id-8--綠色貓薄荷種子
- bohe_n=(pointer_ca) + 0x4C --id-9--黃色貓薄荷種子
- bohe_o=(pointer_ca) + 0x54 --id-10--彩虹貓薄荷種子
- bohe_p=(pointer_ca) + 0x84 --id-16--惡貓薄荷種子
- bohe_q=(pointer_ca) + 0x64 --id-12--古代貓薄荷種子
- bohe_r=(pointer_ca) + 0x74 --id-14--黃金貓薄荷種子
- shoushi_a=(pointer_ca) + 0x94 --id-18--紫獸石
- shoushi_b=(pointer_ca) + 0x9C --id-19--紅獸石
- shoushi_c=(pointer_ca) + 0xA4 --id-20--蒼獸石
- shoushi_d=(pointer_ca) + 0xAC --id-21--翠獸石
- shoushi_e=(pointer_ca) + 0xB4 --id-22--黃獸石
- shoushi_f=(pointer_ca) + 0xE4 --id-28--彩虹獸石
- shoushi_g=(pointer_ca) + 0xBC --id-23--紫獸結晶
- shoushi_h=(pointer_ca) + 0xC4 --id-24--紅獸結晶
- shoushi_i=(pointer_ca) + 0xCC --id-25--蒼獸結晶
- shoushi_j=(pointer_ca) + 0xD4 --id-26--翠獸結晶
- shoushi_k=(pointer_ca) + 0xDC --id-27--黃獸結晶
- shoulingqi=0x28e8
- baijinquan=0x3050
- chuanshuoheiquan=(baijinquan)+0x8--no need to modified
- baijinquanshuipian=(chuanshuoheiquan)+0x8--no need to modified
- zhaofuquan=0x3f28
- zhaofuquanG=(zhaofuquan)+0x8--no need to modified
- bennengbox=(zhaofuquanG)+0x8--no need to modified
- maoguantou=0xc1c0
- xp=(maoguantou)+0x158--no need to modified
- np=(xp)+0x8--no need to modified
- zhandoudaoju=0x4a0d8
- yinquan=0x2ff6d4
- jinquan=(yinquan)+8--no need to modified
- playedtime=0x38c514
- maoyanshi=0x40a6c4
- miaolida=(maoyanshi)+0x30--no need to modified
- sucai=(miaolida)+0x18--no need to modified
- function setvalue(address,flags,value) local tt={} tt[1]={} tt[1].address=address tt[1].flags=flags tt[1].value=value gg.setValues(tt) end
- function Start()
- MAIN = gg.choice({
- "首領旗",
- "XP",
- "NP",
- "猫罐頭",
- "戰鬥道具",
- "喵力達",
- "遊戲時數",
- "貓眼石",
- "抽獎券",
- "素材",
- "貓薄荷",
- "獸石",
- "本能寶箱",
- "腳本資訊",
- "離開",
- })
- if MAIN == nil then
- gg.toast("功能表已收起")
- else
- if MAIN == 1 then A1() end
- if MAIN == 2 then A2() end
- if MAIN == 3 then A3() end
- if MAIN == 4 then A4() end
- if MAIN == 5 then A5() end
- if MAIN == 6 then A6() end
- if MAIN == 7 then A7() end
- if MAIN == 8 then A8() end
- if MAIN == 9 then A9() end
- if MAIN == 10 then A10() end
- if MAIN == 11 then A11() end
- if MAIN == 12 then A12() end
- if MAIN == 13 then A13() end
- if MAIN == 14 then UP() end
- if MAIN == 15 then End() end
- end
- FMXR=-1
- end
- function A1()
- value=gg.prompt({'首領旗'},{"9999"},{"number"})
- if value == nil then
- gg.toast('已取消')
- else
- b=value[1]
- c=65536
- d=b*c
- value=d
- so=gg.getRangesList('libnative-lib.so:bss')[1].start
- py=(shoulingqi)
- setvalue(so+py,4,''..value..'')
- gg.toast('修改成功')
- end
- end
- function A2()
- value=gg.prompt({'XP'},{"99999999"},{"number"})
- if value == nil then
- gg.toast('已取消')
- else
- so=gg.getRangesList('libnative-lib.so:bss')[1].start
- py=(xp)
- setvalue(so+py,4,value[1])
- so=gg.getRangesList('libnative-lib.so:bss')[1].start
- py=(xp)+0x4
- setvalue(so+py,4,0)
- gg.toast('修改成功')
- end
- end
- function A3()
- value=gg.prompt({'NP'},{"9999"},{"number"})
- if value == nil then
- gg.toast('已取消')
- else
- so=gg.getRangesList('libnative-lib.so:bss')[1].start
- py=(np)
- setvalue(so+py,4,value[1])
- so=gg.getRangesList('libnative-lib.so:bss')[1].start
- py=(np)+0x4
- setvalue(so+py,4,0)
- gg.toast('修改成功')
- end
- end
- function A4()
- value=gg.prompt({'貓罐頭'},{"50000"},{"number"})
- if value == nil then
- gg.toast('已取消')
- else
- so=gg.getRangesList('libnative-lib.so:bss')[1].start
- py=(maoguantou)
- setvalue(so+py,4,value[1])
- so=gg.getRangesList('libnative-lib.so:bss')[1].start
- py=(maoguantou)+0x4
- setvalue(so+py,4,0)
- gg.toast('修改成功')
- end
- end
- function A5()
- ZDDJ = gg.choice({
- "加速",
- "寶物雷達",
- "土豪貓",
- "貓形電腦",
- "洞悉先機",
- "狙擊手",
- "一鍵全改",
- "返回上级目录",
- },nil,(([[
- 戰鬥道具修改
- ]])))
- if ZDDJ == nil then
- gg.toast('已取消')
- else
- if ZDDJ == 1 then A501() end
- if ZDDJ == 2 then A502() end
- if ZDDJ == 3 then A503() end
- if ZDDJ == 4 then A504() end
- if ZDDJ == 5 then A505() end
- if ZDDJ == 6 then A506() end
- if ZDDJ == 7 then A507() end
- if ZDDJ == 8 then Start() end
- end
- FMXR=-1
- end
- function A501()
- value=gg.prompt({'戰鬥道具-加速'},{"9999"},{"number"})
- if value == nil then
- gg.toast('已取消')
- else
- so=gg.getRangesList('libnative-lib.so:bss')[1].start
- py=(zhandoudaoju)
- setvalue(so+py,4,value[1])
- so=gg.getRangesList('libnative-lib.so:bss')[1].start
- py=(zhandoudaoju)+0x4
- setvalue(so+py,4,0)
- gg.toast('修改成功')
- end
- end
- function A502()
- value=gg.prompt({'戰鬥道具-寶物雷達'},{"9999"},{"number"})
- if value == nil then
- gg.toast('已取消')
- else
- so=gg.getRangesList('libnative-lib.so:bss')[1].start
- py=(zhandoudaoju)+0x8
- setvalue(so+py,4,value[1])
- so=gg.getRangesList('libnative-lib.so:bss')[1].start
- py=(zhandoudaoju)+0x8+0x4
- setvalue(so+py,4,0)
- gg.toast('修改成功')
- end
- end
- function A503()
- value=gg.prompt({'戰鬥道具-土豪貓'},{"9999"},{"number"})
- if value == nil then
- gg.toast('已取消')
- else
- so=gg.getRangesList('libnative-lib.so:bss')[1].start
- py=(zhandoudaoju)+0x10
- setvalue(so+py,4,value[1])
- so=gg.getRangesList('libnative-lib.so:bss')[1].start
- py=(zhandoudaoju)+0x10+0x4
- setvalue(so+py,4,0)
- gg.toast('修改成功')
- end
- end
- function A504()
- value=gg.prompt({'戰鬥道具-貓型電腦'},{"9999"},{"number"})
- if value == nil then
- gg.toast('已取消')
- else
- so=gg.getRangesList('libnative-lib.so:bss')[1].start
- py=(zhandoudaoju)+0x18
- setvalue(so+py,4,value[1])
- so=gg.getRangesList('libnative-lib.so:bss')[1].start
- py=(zhandoudaoju)+0x18+0x4
- setvalue(so+py,4,0)
- gg.toast('修改成功')
- end
- end
- function A505()
- value=gg.prompt({'戰鬥道具-洞悉先機'},{"9999"},{"number"})
- if value == nil then
- gg.toast('已取消')
- else
- so=gg.getRangesList('libnative-lib.so:bss')[1].start
- py=(zhandoudaoju)+0x20
- setvalue(so+py,4,value[1])
- so=gg.getRangesList('libnative-lib.so:bss')[1].start
- py=(zhandoudaoju)+0x20+0x4
- setvalue(so+py,4,0)
- gg.toast('修改成功')
- end
- end
- function A506()
- value=gg.prompt({'戰鬥道具-狙擊手'},{"9999"},{"number"})
- if value == nil then
- gg.toast('已取消')
- else
- so=gg.getRangesList('libnative-lib.so:bss')[1].start
- py=(zhandoudaoju)+0x28
- setvalue(so+py,4,value[1])
- so=gg.getRangesList('libnative-lib.so:bss')[1].start
- py=(zhandoudaoju)+0x28+0x4
- setvalue(so+py,4,0)
- gg.toast('修改成功')
- end
- end
- function A507()
- value=gg.prompt({'戰鬥道具(一鍵全改)'},{"9999"},{"number"})
- if value == nil then
- gg.toast('已取消')
- else
- so=gg.getRangesList('libnative-lib.so:bss')[1].start
- py=(zhandoudaoju)
- setvalue(so+py,4,value[1])
- so=gg.getRangesList('libnative-lib.so:bss')[1].start
- py=(zhandoudaoju)+0x4
- setvalue(so+py,4,0)
- so=gg.getRangesList('libnative-lib.so:bss')[1].start
- py=(zhandoudaoju)+0x8
- setvalue(so+py,4,value[1])
- so=gg.getRangesList('libnative-lib.so:bss')[1].start
- py=(zhandoudaoju)+0x8+0x4
- setvalue(so+py,4,0)
- so=gg.getRangesList('libnative-lib.so:bss')[1].start
- py=(zhandoudaoju)+0x10
- setvalue(so+py,4,value[1])
- so=gg.getRangesList('libnative-lib.so:bss')[1].start
- py=(zhandoudaoju)+0x10+0x4
- setvalue(so+py,4,0)
- so=gg.getRangesList('libnative-lib.so:bss')[1].start
- py=(zhandoudaoju)+0x18
- setvalue(so+py,4,value[1])
- so=gg.getRangesList('libnative-lib.so:bss')[1].start
- py=(zhandoudaoju)+0x18+0x4
- setvalue(so+py,4,0)
- so=gg.getRangesList('libnative-lib.so:bss')[1].start
- py=(zhandoudaoju)+0x20
- setvalue(so+py,4,value[1])
- so=gg.getRangesList('libnative-lib.so:bss')[1].start
- py=(zhandoudaoju)+0x20+0x4
- setvalue(so+py,4,0)
- so=gg.getRangesList('libnative-lib.so:bss')[1].start
- py=(zhandoudaoju)+0x28
- setvalue(so+py,4,value[1])
- so=gg.getRangesList('libnative-lib.so:bss')[1].start
- py=(zhandoudaoju)+0x28+0x4
- setvalue(so+py,4,0)
- gg.toast('修改成功')
- end
- end
- function A6()
- MLD = gg.choice({
- "喵力達-A",
- "喵力達-B",
- "喵力達-C",
- "一鍵全改",
- "返回上级目录",
- },nil,(([[
- 喵力達修改
- ]])))
- if MLD == nil then
- gg.toast('已取消')
- else
- if MLD == 1 then A601() end
- if MLD == 2 then A602() end
- if MLD == 3 then A603() end
- if MLD == 4 then A604() end
- if MLD == 5 then Start() end
- end
- FMXR=-1
- end
- function A601()
- value=gg.prompt({'喵力達-A'},{"9999"},{"number"})
- if value == nil then
- gg.toast('已取消')
- else
- so=gg.getRangesList('libnative-lib.so:bss')[1].start
- py=(miaolida)
- setvalue(so+py,4,value[1])
- so=gg.getRangesList('libnative-lib.so:bss')[1].start
- py=(miaolida)+0x4
- setvalue(so+py,4,0)
- gg.toast('修改成功')
- end
- end
- function A602()
- value=gg.prompt({'喵力達-B'},{"9999"},{"number"})
- if value == nil then
- gg.toast('已取消')
- else
- so=gg.getRangesList('libnative-lib.so:bss')[1].start
- py=(miaolida)+0x8
- setvalue(so+py,4,value[1])
- so=gg.getRangesList('libnative-lib.so:bss')[1].start
- py=(miaolida)+0x8+0x4
- setvalue(so+py,4,0)
- gg.toast('修改成功')
- end
- end
- function A603()
- value=gg.prompt({'喵力達-C'},{"9999"},{"number"})
- if value == nil then
- gg.toast('已取消')
- else
- so=gg.getRangesList('libnative-lib.so:bss')[1].start
- py=(miaolida)+0x10
- setvalue(so+py,4,value[1])
- so=gg.getRangesList('libnative-lib.so:bss')[1].start
- py=(miaolida)+0x10+0x4
- setvalue(so+py,4,0)
- gg.toast('修改成功')
- end
- end
- function A604()
- value=gg.prompt({'喵力達(一鍵全改)'},{"9999"},{"number"})
- if value == nil then
- gg.toast('已取消')
- else
- so=gg.getRangesList('libnative-lib.so:bss')[1].start
- py=(miaolida)
- setvalue(so+py,4,value[1])
- so=gg.getRangesList('libnative-lib.so:bss')[1].start
- py=(miaolida)+0x4
- setvalue(so+py,4,0)
- so=gg.getRangesList('libnative-lib.so:bss')[1].start
- py=(miaolida)+0x8
- setvalue(so+py,4,value[1])
- so=gg.getRangesList('libnative-lib.so:bss')[1].start
- py=(miaolida)+0x8+0x4
- setvalue(so+py,4,0)
- so=gg.getRangesList('libnative-lib.so:bss')[1].start
- py=(miaolida)+0x10
- setvalue(so+py,4,value[1])
- so=gg.getRangesList('libnative-lib.so:bss')[1].start
- py=(miaolida)+0x10+0x4
- setvalue(so+py,4,0)
- gg.toast('修改成功')
- end
- end
- function A7()
- value=gg.prompt({'遊戲時數'},{"9999"},{"number"})
- if value == nil then
- gg.toast('已取消')
- else
- a=value[1]
- b=3600
- c=30
- d=a*b*c
- so=gg.getRangesList('libnative-lib.so:bss')[1].start
- py=(playedtime)
- setvalue(so+py,4,''..d..'')
- gg.toast('修改成功')
- end
- end
- function A8()
- MYS = gg.choice({
- "貓眼石(EX)",
- "貓眼石(稀有)",
- "貓眼石(激稀有)",
- "貓眼石(超激稀有)",
- "貓眼石(傳說)",
- "貓眼石(闇)",
- "一鍵全改",
- "返回上级目录",
- },nil,(([[
- 貓眼石修改
- ]])))
- if MYS == nil then
- gg.toast('已取消')
- else
- if MYS == 1 then A801() end
- if MYS == 2 then A802() end
- if MYS == 3 then A803() end
- if MYS == 4 then A804() end
- if MYS == 5 then A805() end
- if MYS == 6 then A806() end
- if MYS == 7 then A807() end
- if MYS == 8 then Start() end
- end
- FMXR=-1
- end
- function A801()
- value=gg.prompt({'貓眼石(EX)'},{"999"},{"number"})
- if value == nil then
- gg.toast('已取消')
- else
- so=gg.getRangesList('libnative-lib.so:bss')[1].start
- py=(maoyanshi)
- setvalue(so+py,4,value[1])
- so=gg.getRangesList('libnative-lib.so:bss')[1].start
- py=(maoyanshi)+0x4
- setvalue(so+py,4,0)
- gg.toast('修改成功')
- end
- end
- function A802()
- value=gg.prompt({'貓眼石(稀有)'},{"999"},{"number"})
- if value == nil then
- gg.toast('已取消')
- else
- so=gg.getRangesList('libnative-lib.so:bss')[1].start
- py=(maoyanshi)+0x8
- setvalue(so+py,4,value[1])
- so=gg.getRangesList('libnative-lib.so:bss')[1].start
- py=(maoyanshi)+0x8+0x4
- setvalue(so+py,4,0)
- gg.toast('修改成功')
- end
- end
- function A803()
- value=gg.prompt({'貓眼石(激稀有)'},{"999"},{"number"})
- if value == nil then
- gg.toast('已取消')
- else
- so=gg.getRangesList('libnative-lib.so:bss')[1].start
- py=(maoyanshi)+0x10
- setvalue(so+py,4,value[1])
- so=gg.getRangesList('libnative-lib.so:bss')[1].start
- py=(maoyanshi)+0x10+0x4
- setvalue(so+py,4,0)
- gg.toast('修改成功')
- end
- end
- function A804()
- value=gg.prompt({'貓眼石(超激稀有)'},{"999"},{"number"})
- if value == nil then
- gg.toast('已取消')
- else
- so=gg.getRangesList('libnative-lib.so:bss')[1].start
- py=(maoyanshi)+0x18
- setvalue(so+py,4,value[1])
- so=gg.getRangesList('libnative-lib.so:bss')[1].start
- py=(maoyanshi)+0x18+0x4
- setvalue(so+py,4,0)
- gg.toast('修改成功')
- end
- end
- function A805()
- value=gg.prompt({'貓眼石(傳說)'},{"999"},{"number"})
- if value == nil then
- gg.toast('已取消')
- else
- so=gg.getRangesList('libnative-lib.so:bss')[1].start
- py=(maoyanshi)+0x20
- setvalue(so+py,4,value[1])
- so=gg.getRangesList('libnative-lib.so:bss')[1].start
- py=(maoyanshi)+0x20+0x4
- setvalue(so+py,4,0)
- gg.toast('修改成功')
- end
- end
- function A806()
- value=gg.prompt({'貓眼石(闇)'},{"999"},{"number"})
- if value == nil then
- gg.toast('已取消')
- else
- so=gg.getRangesList('libnative-lib.so:bss')[1].start
- py=(maoyanshi)+0x28
- setvalue(so+py,4,value[1])
- so=gg.getRangesList('libnative-lib.so:bss')[1].start
- py=(maoyanshi)+0x28+0x4
- setvalue(so+py,4,0)
- gg.toast('修改成功')
- end
- end
- function A807()
- value=gg.prompt({'貓眼石(一鍵全改)'},{"999"},{"number"})
- if value == nil then
- gg.toast('已取消')
- else
- so=gg.getRangesList('libnative-lib.so:bss')[1].start
- py=(maoyanshi)
- setvalue(so+py,4,value[1])
- so=gg.getRangesList('libnative-lib.so:bss')[1].start
- py=(maoyanshi)+4
- setvalue(so+py,4,0)
- so=gg.getRangesList('libnative-lib.so:bss')[1].start
- py=(maoyanshi)+8
- setvalue(so+py,4,value[1])
- so=gg.getRangesList('libnative-lib.so:bss')[1].start
- py=(maoyanshi)+8+4
- setvalue(so+py,4,0)
- so=gg.getRangesList('libnative-lib.so:bss')[1].start
- py=(maoyanshi)+16
- setvalue(so+py,4,value[1])
- so=gg.getRangesList('libnative-lib.so:bss')[1].start
- py=(maoyanshi)+16+4
- setvalue(so+py,4,0)
- so=gg.getRangesList('libnative-lib.so:bss')[1].start
- py=(maoyanshi)+24
- setvalue(so+py,4,value[1])
- so=gg.getRangesList('libnative-lib.so:bss')[1].start
- py=(maoyanshi)+24+4
- setvalue(so+py,4,0)
- so=gg.getRangesList('libnative-lib.so:bss')[1].start
- py=(maoyanshi)+32
- setvalue(so+py,4,value[1])
- so=gg.getRangesList('libnative-lib.so:bss')[1].start
- py=(maoyanshi)+32+4
- setvalue(so+py,4,0)
- so=gg.getRangesList('libnative-lib.so:bss')[1].start
- py=(maoyanshi)+40
- setvalue(so+py,4,value[1])
- so=gg.getRangesList('libnative-lib.so:bss')[1].start
- py=(maoyanshi)+40+4
- setvalue(so+py,4,0)
- gg.toast('修改成功')
- end
- end
- function A9()
- CJQ = gg.choice({
- "銀券",
- "金券",
- "招福券",
- "招福券G",
- "白金券",
- "白金券碎片",
- "傳說黑券",
- "活動-傳說的入場券",
- "返回上级目录",
- },nil,(([[
- 抽獎券修改
- ]])))
- if CJQ == nil then
- gg.toast('已取消')
- else
- if CJQ == 1 then A901() end
- if CJQ == 2 then A902() end
- if CJQ == 3 then A903() end
- if CJQ == 4 then A904() end
- if CJQ == 5 then A905() end
- if CJQ == 6 then A906() end
- if CJQ == 7 then A907() end
- if CJQ == 8 then A908() end
- if CJQ == 9 then Start() end
- end
- FMXR=-1
- end
- function A901()
- value=gg.prompt({'银券-理論最大值>2999'},{"999"},{"number"})
- if value == nil then
- gg.toast('已取消')
- else
- so=gg.getRangesList('libnative-lib.so:bss')[1].start
- py=(yinquan)
- setvalue(so+py,4,value[1])
- so=gg.getRangesList('libnative-lib.so:bss')[1].start
- py=(yinquan)+0x4
- setvalue(so+py,4,0)
- gg.toast('修改成功')
- end
- end
- function A902()
- value=gg.prompt({'金券-安全值>299'},{"299"},{"number"})
- if value == nil then
- gg.toast('已取消')
- else
- so=gg.getRangesList('libnative-lib.so:bss')[1].start
- py=(jinquan)
- setvalue(so+py,4,value[1])
- so=gg.getRangesList('libnative-lib.so:bss')[1].start
- py=(jinquan)+0x4
- setvalue(so+py,4,0)
- gg.toast('修改成功')
- end
- end
- function A903()
- value=gg.prompt({'招福抽奖券'},{"999"},{"number"})
- if value == nil then
- gg.toast('已取消')
- else
- so=gg.getRangesList('libnative-lib.so:bss')[1].start
- py=(zhaofuquan)
- setvalue(so+py,4,value[1])
- so=gg.getRangesList('libnative-lib.so:bss')[1].start
- py=(zhaofuquan)+0x4
- setvalue(so+py,4,0)
- gg.toast('修改成功')
- end
- end
- function A904()
- value=gg.prompt({'招福G抽獎券'},{"999"},{"number"})
- if value == nil then
- gg.toast('已取消')
- else
- so=gg.getRangesList('libnative-lib.so:bss')[1].start
- py=(zhaofuquanG)
- setvalue(so+py,4,value[1])
- so=gg.getRangesList('libnative-lib.so:bss')[1].start
- py=(zhaofuquanG)+0x4
- setvalue(so+py,4,0)
- gg.toast('修改成功')
- end
- end
- function A905()
- value=gg.prompt({'白金抽獎券'},{"9"},{"number"})
- if value == nil then
- gg.toast('已取消')
- else
- so=gg.getRangesList('libnative-lib.so:bss')[1].start
- py=(baijinquan)
- setvalue(so+py,4,value[1])
- so=gg.getRangesList('libnative-lib.so:bss')[1].start
- py=(baijinquan)+0x4
- setvalue(so+py,4,0)
- gg.toast('修改成功')
- end
- end
- function A906()
- value=gg.prompt({'白金抽獎券碎片'},{"9"},{"number"})
- if value == nil then
- gg.toast('已取消')
- else
- so=gg.getRangesList('libnative-lib.so:bss')[1].start
- py=(baijinquanshuipian)
- setvalue(so+py,4,value[1])
- so=gg.getRangesList('libnative-lib.so:bss')[1].start
- py=(baijinquanshuipian)+0x4
- setvalue(so+py,4,0)
- gg.toast('修改成功')
- end
- end
- function A907()
- value=gg.prompt({'黑金券'},{"4"},{"number"})
- if value == nil then
- gg.toast('已取消')
- else
- so=gg.getRangesList('libnative-lib.so:bss')[1].start
- py=(chuanshuoheiquan)
- setvalue(so+py,4,value[1])
- so=gg.getRangesList('libnative-lib.so:bss')[1].start
- py=(chuanshuoheiquan)+0x4
- setvalue(so+py,4,0)
- gg.toast('修改成功')
- end
- end
- function A908()
- if(exp) == 1 then
- gg.alert("該活動抽獎券已過期!")
- else
- value=gg.prompt({'活動-傳說的入場券'},{"999"},{"number"})
- if value == nil then
- gg.toast('已取消')
- else
- so=gg.getRangesList('libnative-lib.so:bss')[1].start
- py=0x3000E8
- setvalue(so+py,4,value[1])
- gg.toast('修改成功')
- end
- end
- end
- function A10()
- SC = gg.choice({
- "紅磚",
- "羽毛",
- "備長炭",
- "鋼製齒輪",
- "黃金",
- "宇宙石",
- "神秘骨頭",
- "菊石",
- "紅磚Z",
- "羽毛Z",
- "備長炭Z",
- "鋼製齒輪Z",
- "黃金Z",
- "宇宙石Z",
- "神秘骨頭Z",
- "菊石Z",
- "一鍵全改",
- "返回上级目录",
- },nil,(([[
- 素材修改
- ]])))
- if SC == nil then
- gg.toast('已取消')
- else
- if SC == 1 then A1001() end
- if SC == 2 then A1002() end
- if SC == 3 then A1003() end
- if SC == 4 then A1004() end
- if SC == 5 then A1005() end
- if SC == 6 then A1006() end
- if SC == 7 then A1007() end
- if SC == 8 then A1008() end
- if SC == 9 then A1009() end
- if SC == 10 then A1010() end
- if SC == 11 then A1011() end
- if SC == 12 then A1012() end
- if SC == 13 then A1013() end
- if SC == 14 then A1014() end
- if SC == 15 then A1015() end
- if SC == 16 then A1016() end
- if SC == 17 then A1017() end
- if SC == 18 then Start() end
- end
- FMXR=-1
- end
- function A1001()
- value=gg.prompt({'素材-紅磚'},{"9999"},{"number"})
- if value == nil then
- gg.toast('已取消')
- else
- so=gg.getRangesList('libnative-lib.so:bss')[1].start
- py=(sucai)
- setvalue(so+py,4,value[1])
- so=gg.getRangesList('libnative-lib.so:bss')[1].start
- py=(sucai)+0x4
- setvalue(so+py,4,0)
- gg.toast('修改成功')
- end
- end
- function A1002()
- value=gg.prompt({'素材-羽毛'},{"9999"},{"number"})
- if value == nil then
- gg.toast('已取消')
- else
- so=gg.getRangesList('libnative-lib.so:bss')[1].start
- py=(sucai)+0x8
- setvalue(so+py,4,value[1])
- so=gg.getRangesList('libnative-lib.so:bss')[1].start
- py=(sucai)+0x8+0x4
- setvalue(so+py,4,0)
- gg.toast('修改成功')
- end
- end
- function A1003()
- value=gg.prompt({'素材-備長炭'},{"9999"},{"number"})
- if value == nil then
- gg.toast('已取消')
- else
- so=gg.getRangesList('libnative-lib.so:bss')[1].start
- py=(sucai)+0x10
- setvalue(so+py,4,value[1])
- so=gg.getRangesList('libnative-lib.so:bss')[1].start
- py=(sucai)+0x10+0x4
- setvalue(so+py,4,0)
- gg.toast('修改成功')
- end
- end
- function A1004()
- value=gg.prompt({'素材-鋼製齒輪'},{"9999"},{"number"})
- if value == nil then
- gg.toast('已取消')
- else
- so=gg.getRangesList('libnative-lib.so:bss')[1].start
- py=(sucai)+0x18
- setvalue(so+py,4,value[1])
- so=gg.getRangesList('libnative-lib.so:bss')[1].start
- py=(sucai)+0x18+0x4
- setvalue(so+py,4,0)
- gg.toast('修改成功')
- end
- end
- function A1005()
- value=gg.prompt({'素材-黃金'},{"9999"},{"number"})
- if value == nil then
- gg.toast('已取消')
- else
- so=gg.getRangesList('libnative-lib.so:bss')[1].start
- py=(sucai)+0x20
- setvalue(so+py,4,value[1])
- so=gg.getRangesList('libnative-lib.so:bss')[1].start
- py=(sucai)+0x20+0x4
- setvalue(so+py,4,0)
- gg.toast('修改成功')
- end
- end
- function A1006()
- value=gg.prompt({'素材-宇宙石'},{"9999"},{"number"})
- if value == nil then
- gg.toast('已取消')
- else
- so=gg.getRangesList('libnative-lib.so:bss')[1].start
- py=(sucai)+0x28
- setvalue(so+py,4,value[1])
- so=gg.getRangesList('libnative-lib.so:bss')[1].start
- py=(sucai)+0x28+0x4
- setvalue(so+py,4,0)
- gg.toast('修改成功')
- end
- end
- function A1007()
- value=gg.prompt({'素材-神秘骨頭'},{"9999"},{"number"})
- if value == nil then
- gg.toast('已取消')
- else
- so=gg.getRangesList('libnative-lib.so:bss')[1].start
- py=(sucai)+0x30
- setvalue(so+py,4,value[1])
- so=gg.getRangesList('libnative-lib.so:bss')[1].start
- py=(sucai)+0x30+0x4
- setvalue(so+py,4,0)
- gg.toast('修改成功')
- end
- end
- function A1008()
- value=gg.prompt({'素材-菊石'},{"9999"},{"number"})
- if value == nil then
- gg.toast('已取消')
- else
- so=gg.getRangesList('libnative-lib.so:bss')[1].start
- py=(sucai)+0x38
- setvalue(so+py,4,value[1])
- so=gg.getRangesList('libnative-lib.so:bss')[1].start
- py=(sucai)+0x38+0x4
- setvalue(so+py,4,0)
- gg.toast('修改成功')
- end
- end
- function A1009()
- value=gg.prompt({'素材-紅磚Z'},{"9999"},{"number"})
- if value == nil then
- gg.toast('已取消')
- else
- so=gg.getRangesList('libnative-lib.so:bss')[1].start
- py=(sucai)+0x40
- setvalue(so+py,4,value[1])
- so=gg.getRangesList('libnative-lib.so:bss')[1].start
- py=(sucai)+0x40+0x4
- setvalue(so+py,4,0)
- gg.toast('修改成功')
- end
- end
- function A1010()
- value=gg.prompt({'素材-羽毛Z'},{"9999"},{"number"})
- if value == nil then
- gg.toast('已取消')
- else
- so=gg.getRangesList('libnative-lib.so:bss')[1].start
- py=(sucai)+0x48
- setvalue(so+py,4,value[1])
- so=gg.getRangesList('libnative-lib.so:bss')[1].start
- py=(sucai)+0x48+0x4
- setvalue(so+py,4,0)
- gg.toast('修改成功')
- end
- end
- function A1011()
- value=gg.prompt({'素材-備長炭Z'},{"9999"},{"number"})
- if value == nil then
- gg.toast('已取消')
- else
- so=gg.getRangesList('libnative-lib.so:bss')[1].start
- py=(sucai)+0x50
- setvalue(so+py,4,value[1])
- so=gg.getRangesList('libnative-lib.so:bss')[1].start
- py=(sucai)+0x50+0x4
- setvalue(so+py,4,0)
- gg.toast('修改成功')
- end
- end
- function A1012()
- value=gg.prompt({'素材-鋼製齒輪Z'},{"9999"},{"number"})
- if value == nil then
- gg.toast('已取消')
- else
- so=gg.getRangesList('libnative-lib.so:bss')[1].start
- py=(sucai)+0x58
- setvalue(so+py,4,value[1])
- so=gg.getRangesList('libnative-lib.so:bss')[1].start
- py=(sucai)+0x58+0x4
- setvalue(so+py,4,0)
- gg.toast('修改成功')
- end
- end
- function A1013()
- value=gg.prompt({'素材-黃金Z'},{"9999"},{"number"})
- if value == nil then
- gg.toast('已取消')
- else
- so=gg.getRangesList('libnative-lib.so:bss')[1].start
- py=(sucai)+0x60
- setvalue(so+py,4,value[1])
- so=gg.getRangesList('libnative-lib.so:bss')[1].start
- py=(sucai)+0x60+0x4
- setvalue(so+py,4,0)
- gg.toast('修改成功')
- end
- end
- function A1014()
- value=gg.prompt({'素材-宇宙石Z'},{"9999"},{"number"})
- if value == nil then
- gg.toast('已取消')
- else
- so=gg.getRangesList('libnative-lib.so:bss')[1].start
- py=(sucai)+0x68
- setvalue(so+py,4,value[1])
- so=gg.getRangesList('libnative-lib.so:bss')[1].start
- py=(sucai)+0x68+0x4
- setvalue(so+py,4,0)
- gg.toast('修改成功')
- end
- end
- function A1015()
- value=gg.prompt({'素材-神秘骨頭Z'},{"9999"},{"number"})
- if value == nil then
- gg.toast('已取消')
- else
- so=gg.getRangesList('libnative-lib.so:bss')[1].start
- py=(sucai)+0x70
- setvalue(so+py,4,value[1])
- so=gg.getRangesList('libnative-lib.so:bss')[1].start
- py=(sucai)+0x70+0x4
- setvalue(so+py,4,0)
- gg.toast('修改成功')
- end
- end
- function A1016()
- value=gg.prompt({'素材-菊石Z'},{"9999"},{"number"})
- if value == nil then
- gg.toast('已取消')
- else
- so=gg.getRangesList('libnative-lib.so:bss')[1].start
- py=(sucai)+0x78
- setvalue(so+py,4,value[1])
- so=gg.getRangesList('libnative-lib.so:bss')[1].start
- py=(sucai)+0x78+0x4
- setvalue(so+py,4,0)
- gg.toast('修改成功')
- end
- end
- function A1017()
- value=gg.prompt({'素材(一鍵全改)'},{"9999"},{"number"})
- if value == nil then
- gg.toast('已取消')
- else
- so=gg.getRangesList('libnative-lib.so:bss')[1].start
- py=(sucai)
- setvalue(so+py,4,value[1])
- so=gg.getRangesList('libnative-lib.so:bss')[1].start
- py=(sucai)+0x4
- setvalue(so+py,4,0)
- so=gg.getRangesList('libnative-lib.so:bss')[1].start
- py=(sucai)+0x8
- setvalue(so+py,4,value[1])
- so=gg.getRangesList('libnative-lib.so:bss')[1].start
- py=(sucai)+0x8+0x4
- setvalue(so+py,4,0)
- so=gg.getRangesList('libnative-lib.so:bss')[1].start
- py=(sucai)+0x10
- setvalue(so+py,4,value[1])
- so=gg.getRangesList('libnative-lib.so:bss')[1].start
- py=(sucai)+0x10+0x4
- setvalue(so+py,4,0)
- so=gg.getRangesList('libnative-lib.so:bss')[1].start
- py=(sucai)+0x18
- setvalue(so+py,4,value[1])
- so=gg.getRangesList('libnative-lib.so:bss')[1].start
- py=(sucai)+0x18+0x4
- setvalue(so+py,4,0)
- so=gg.getRangesList('libnative-lib.so:bss')[1].start
- py=(sucai)+0x20
- setvalue(so+py,4,value[1])
- so=gg.getRangesList('libnative-lib.so:bss')[1].start
- py=(sucai)+0x20+0x4
- setvalue(so+py,4,0)
- so=gg.getRangesList('libnative-lib.so:bss')[1].start
- py=(sucai)+0x28
- setvalue(so+py,4,value[1])
- so=gg.getRangesList('libnative-lib.so:bss')[1].start
- py=(sucai)+0x28+0x4
- setvalue(so+py,4,0)
- so=gg.getRangesList('libnative-lib.so:bss')[1].start
- py=(sucai)+0x30
- setvalue(so+py,4,value[1])
- so=gg.getRangesList('libnative-lib.so:bss')[1].start
- py=(sucai)+0x30+0x4
- setvalue(so+py,4,0)
- so=gg.getRangesList('libnative-lib.so:bss')[1].start
- py=(sucai)+0x38
- setvalue(so+py,4,value[1])
- so=gg.getRangesList('libnative-lib.so:bss')[1].start
- py=(sucai)+0x38+0x4
- setvalue(so+py,4,0)
- so=gg.getRangesList('libnative-lib.so:bss')[1].start
- py=(sucai)+0x40
- setvalue(so+py,4,value[1])
- so=gg.getRangesList('libnative-lib.so:bss')[1].start
- py=(sucai)+0x40+0x4
- setvalue(so+py,4,0)
- so=gg.getRangesList('libnative-lib.so:bss')[1].start
- py=(sucai)+0x48
- setvalue(so+py,4,value[1])
- so=gg.getRangesList('libnative-lib.so:bss')[1].start
- py=(sucai)+0x48+0x4
- setvalue(so+py,4,0)
- so=gg.getRangesList('libnative-lib.so:bss')[1].start
- py=(sucai)+0x50
- setvalue(so+py,4,value[1])
- so=gg.getRangesList('libnative-lib.so:bss')[1].start
- py=(sucai)+0x50+0x4
- setvalue(so+py,4,0)
- so=gg.getRangesList('libnative-lib.so:bss')[1].start
- py=(sucai)+0x58
- setvalue(so+py,4,value[1])
- so=gg.getRangesList('libnative-lib.so:bss')[1].start
- py=(sucai)+0x58+0x4
- setvalue(so+py,4,0)
- so=gg.getRangesList('libnative-lib.so:bss')[1].start
- py=(sucai)+0x60
- setvalue(so+py,4,value[1])
- so=gg.getRangesList('libnative-lib.so:bss')[1].start
- py=(sucai)+0x60+0x4
- setvalue(so+py,4,0)
- so=gg.getRangesList('libnative-lib.so:bss')[1].start
- py=(sucai)+0x68
- setvalue(so+py,4,value[1])
- so=gg.getRangesList('libnative-lib.so:bss')[1].start
- py=(sucai)+0x68+0x4
- setvalue(so+py,4,0)
- so=gg.getRangesList('libnative-lib.so:bss')[1].start
- py=(sucai)+0x70
- setvalue(so+py,4,value[1])
- so=gg.getRangesList('libnative-lib.so:bss')[1].start
- py=(sucai)+0x70+0x4
- setvalue(so+py,4,0)
- so=gg.getRangesList('libnative-lib.so:bss')[1].start
- py=(sucai)+0x78
- setvalue(so+py,4,value[1])
- so=gg.getRangesList('libnative-lib.so:bss')[1].start
- py=(sucai)+0x78+0x4
- setvalue(so+py,4,0)
- gg.toast('修改成功')
- end
- end
- function A11()
- MBH = gg.choice({
- "紫色貓薄荷種子",
- "紅色貓薄荷種子",
- "藍色貓薄荷種子",
- "綠色貓薄荷種子",
- "黃色貓薄荷種子",
- "彩色貓薄種子",
- "惡貓薄荷種子",
- "古代貓薄荷種子",
- "黄金貓薄荷種子",
- "紫色貓薄荷",
- "紅色貓薄荷",
- "藍色貓薄荷",
- "綠色貓薄荷",
- "黃色貓薄荷",
- "彩色貓薄荷",
- "惡貓貓薄荷",
- "古代貓薄荷",
- "黃金貓薄荷",
- "一鍵全改",
- "返回上级目录",
- },nil,(([[
- 貓薄荷修改
- ]])))
- if MBH == nil then
- gg.toast('已取消')
- else
- if MBH == 1 then A1101() end
- if MBH == 2 then A1102() end
- if MBH == 3 then A1103() end
- if MBH == 4 then A1104() end
- if MBH == 5 then A1105() end
- if MBH == 6 then A1106() end
- if MBH == 7 then A1107() end
- if MBH == 8 then A1108() end
- if MBH == 9 then A1109() end
- if MBH == 10 then A1110() end
- if MBH == 11 then A1111() end
- if MBH == 12 then A1112() end
- if MBH == 13 then A1113() end
- if MBH == 14 then A1114() end
- if MBH == 15 then A1115() end
- if MBH == 16 then A1116() end
- if MBH == 17 then A1117() end
- if MBH == 18 then A1118() end
- if MBH == 19 then A1119() end
- if MBH == 20 then Start() end
- end
- FMXR=-1
- end
- function A1101()
- value=gg.prompt({'紫色貓薄荷種子'},{"998"},{"number"})
- if value == nil then
- gg.toast('已取消')
- else
- gg.setValues({{
- address = (bohe_a),
- flags = 4,
- value= value[1]
- }})
- gg.toast('修改成功')
- end
- end
- function A1102()
- value=gg.prompt({'紅色貓薄荷種子'},{"998"},{"number"})
- if value == nil then
- gg.toast('已取消')
- else
- gg.setValues({{
- address = (bohe_b),
- flags = 4,
- value= value[1]
- }})
- gg.toast('修改成功')
- end
- end
- function A1103()
- value=gg.prompt({'藍色貓薄荷種子'},{"998"},{"number"})
- if value == nil then
- gg.toast('已取消')
- else
- gg.setValues({{
- address = (bohe_c),
- flags = 4,
- value= value[1]
- }})
- gg.toast('修改成功')
- end
- end
- function A1104()
- value=gg.prompt({'綠色貓薄荷種子'},{"998"},{"number"})
- if value == nil then
- gg.toast('已取消')
- else
- gg.setValues({{
- address = (bohe_d),
- flags = 4,
- value= value[1]
- }})
- gg.toast('修改成功')
- end
- end
- function A1105()
- value=gg.prompt({'黃色貓薄荷種子'},{"998"},{"number"})
- if value == nil then
- gg.toast('已取消')
- else
- gg.setValues({{
- address = (bohe_e),
- flags = 4,
- value= value[1]
- }})
- gg.toast('修改成功')
- end
- end
- function A1106()
- value=gg.prompt({'彩色貓薄種子'},{"998"},{"number"})
- if value == nil then
- gg.toast('已取消')
- else
- gg.setValues({{
- address = (bohe_f),
- flags = 4,
- value= value[1]
- }})
- gg.toast('修改成功')
- end
- end
- function A1107()
- value=gg.prompt({'惡貓薄荷種子'},{"998"},{"number"})
- if value == nil then
- gg.toast('已取消')
- else
- gg.setValues({{
- address = (bohe_g),
- flags = 4,
- value= value[1]
- }})
- gg.toast('修改成功')
- end
- end
- function A1108()
- value=gg.prompt({'古代貓薄荷種子'},{"998"},{"number"})
- if value == nil then
- gg.toast('已取消')
- else
- gg.setValues({{
- address = (bohe_h),
- flags = 4,
- value= value[1]
- }})
- gg.toast('修改成功')
- end
- end
- function A1109()
- value=gg.prompt({'黄金貓薄荷種子'},{"998"},{"number"})
- if value == nil then
- gg.toast('已取消')
- else
- gg.setValues({{
- address = (bohe_i),
- flags = 4,
- value= value[1]
- }})
- gg.toast('修改成功')
- end
- end
- function A1110()
- value=gg.prompt({'紫色貓薄荷'},{"998"},{"number"})
- if value == nil then
- gg.toast('已取消')
- else
- gg.setValues({{
- address = (bohe_j),
- flags = 4,
- value= value[1]
- }})
- gg.toast('修改成功')
- end
- end
- function A1111()
- value=gg.prompt({'紅色貓薄荷'},{"998"},{"number"})
- if value == nil then
- gg.toast('已取消')
- else
- gg.setValues({{
- address = (bohe_k),
- flags = 4,
- value= value[1]
- }})
- gg.toast('修改成功')
- end
- end
- function A1112()
- value=gg.prompt({'藍色貓薄荷'},{"998"},{"number"})
- if value == nil then
- gg.toast('已取消')
- else
- gg.setValues({{
- address = (bohe_l),
- flags = 4,
- value= value[1]
- }})
- gg.toast('修改成功')
- end
- end
- function A1113()
- value=gg.prompt({'綠色貓薄荷'},{"998"},{"number"})
- if value == nil then
- gg.toast('已取消')
- else
- gg.setValues({{
- address = (bohe_m),
- flags = 4,
- value= value[1]
- }})
- gg.toast('修改成功')
- end
- end
- function A1114()
- value=gg.prompt({'黃色貓薄荷'},{"998"},{"number"})
- if value == nil then
- gg.toast('已取消')
- else
- gg.setValues({{
- address = (bohe_n),
- flags = 4,
- value= value[1]
- }})
- gg.toast('修改成功')
- end
- end
- function A1115()
- value=gg.prompt({'彩色貓薄荷'},{"998"},{"number"})
- if value == nil then
- gg.toast('已取消')
- else
- gg.setValues({{
- address = (bohe_o),
- flags = 4,
- value= value[1]
- }})
- gg.toast('修改成功')
- end
- end
- function A1116()
- value=gg.prompt({'惡貓貓薄荷'},{"998"},{"number"})
- if value == nil then
- gg.toast('已取消')
- else
- gg.setValues({{
- address = (bohe_p),
- flags = 4,
- value= value[1]
- }})
- gg.toast('修改成功')
- end
- end
- function A1117()
- value=gg.prompt({'古代貓薄荷'},{"998"},{"number"})
- if value == nil then
- gg.toast('已取消')
- else
- gg.setValues({{
- address = (bohe_q),
- flags = 4,
- value= value[1]
- }})
- gg.toast('修改成功')
- end
- end
- function A1118()
- value=gg.prompt({'黃金貓薄荷'},{"998"},{"number"})
- if value == nil then
- gg.toast('已取消')
- else
- gg.setValues({{
- address = (bohe_r),
- flags = 4,
- value= value[1]
- }})
- gg.toast('修改成功')
- end
- end
- function A1119()
- value=gg.prompt({'貓薄荷(一鍵全改)'},{"998"},{"number"})
- if value == nil then
- gg.toast('已取消')
- else
- gg.setValues({{
- address = (bohe_a),
- flags = 4,
- value= value[1]
- }})
- gg.setValues({{
- address = (bohe_b),
- flags = 4,
- value= value[1]
- }})
- gg.setValues({{
- address = (bohe_c),
- flags = 4,
- value= value[1]
- }})
- gg.setValues({{
- address = (bohe_d),
- flags = 4,
- value= value[1]
- }})
- gg.setValues({{
- address = (bohe_e),
- flags = 4,
- value= value[1]
- }})
- gg.setValues({{
- address = (bohe_f),
- flags = 4,
- value= value[1]
- }})
- gg.setValues({{
- address = (bohe_g),
- flags = 4,
- value= value[1]
- }})
- gg.setValues({{
- address = (bohe_h),
- flags = 4,
- value= value[1]
- }})
- gg.setValues({{
- address = (bohe_i),
- flags = 4,
- value= value[1]
- }})
- gg.setValues({{
- address = (bohe_j),
- flags = 4,
- value= value[1]
- }})
- gg.setValues({{
- address = (bohe_k),
- flags = 4,
- value= value[1]
- }})
- gg.setValues({{
- address = (bohe_l),
- flags = 4,
- value= value[1]
- }})
- gg.setValues({{
- address = (bohe_m),
- flags = 4,
- value= value[1]
- }})
- gg.setValues({{
- address = (bohe_n),
- flags = 4,
- value= value[1]
- }})
- gg.setValues({{
- address = (bohe_o),
- flags = 4,
- value= value[1]
- }})
- gg.setValues({{
- address = (bohe_p),
- flags = 4,
- value= value[1]
- }})
- gg.setValues({{
- address = (bohe_q),
- flags = 4,
- value= value[1]
- }})
- gg.setValues({{
- address = (bohe_r),
- flags = 4,
- value= value[1]
- }})
- gg.toast('修改成功')
- end
- end
- function A12()
- SS = gg.choice({
- "紫獸石",
- "紅獸石",
- "蒼獸石",
- "翠獸石",
- "黃獸石",
- "彩色獸石",
- "紫獸結晶",
- "紅獸結晶",
- "蒼獸結晶",
- "翠獸結晶",
- "黃獸結晶",
- "一鍵全改",
- "返回上级目录",
- },nil,(([[
- 獸石修改
- ]])))
- if SS == nil then
- gg.toast('已取消')
- else
- if SS == 1 then A1201() end
- if SS == 2 then A1202() end
- if SS == 3 then A1203() end
- if SS == 4 then A1204() end
- if SS == 5 then A1205() end
- if SS == 6 then A1206() end
- if SS == 7 then A1207() end
- if SS == 8 then A1208() end
- if SS == 9 then A1209() end
- if SS == 10 then A1210() end
- if SS == 11 then A1211() end
- if SS == 12 then A1212() end
- if SS == 13 then Start() end
- end
- FMXR=-1
- end
- function A1201()
- value=gg.prompt({'紫獸石'},{"998"},{"number"})
- if value == nil then
- gg.toast('已取消')
- else
- gg.setValues({{
- address = (shoushi_a),
- flags = 4,
- value= value[1]
- }})
- gg.toast('修改成功')
- end
- end
- function A1202()
- value=gg.prompt({'紅獸石'},{"998"},{"number"})
- if value == nil then
- gg.toast('已取消')
- else
- gg.setValues({{
- address = (shoushi_b),
- flags = 4,
- value= value[1]
- }})
- gg.toast('修改成功')
- end
- end
- function A1203()
- value=gg.prompt({'蒼獸石'},{"998"},{"number"})
- if value == nil then
- gg.toast('已取消')
- else
- gg.setValues({{
- address = (shoushi_c),
- flags = 4,
- value= value[1]
- }})
- gg.toast('修改成功')
- end
- end
- function A1204()
- value=gg.prompt({'翠獸石'},{"998"},{"number"})
- if value == nil then
- gg.toast('已取消')
- else
- gg.setValues({{
- address = (shoushi_d),
- flags = 4,
- value= value[1]
- }})
- gg.toast('修改成功')
- end
- end
- function A1205()
- value=gg.prompt({'黃獸石'},{"998"},{"number"})
- if value == nil then
- gg.toast('已取消')
- else
- gg.setValues({{
- address = (shoushi_e),
- flags = 4,
- value= value[1]
- }})
- gg.toast('修改成功')
- end
- end
- function A1206()
- value=gg.prompt({'彩色獸石'},{"998"},{"number"})
- if value == nil then
- gg.toast('已取消')
- else
- gg.setValues({{
- address = (shoushi_f),
- flags = 4,
- value= value[1]
- }})
- gg.toast('修改成功')
- end
- end
- function A1207()
- value=gg.prompt({'紫獸結晶'},{"998"},{"number"})
- if value == nil then
- gg.toast('已取消')
- else
- gg.setValues({{
- address = (shoushi_g),
- flags = 4,
- value= value[1]
- }})
- gg.toast('修改成功')
- end
- end
- function A1208()
- value=gg.prompt({'紅獸結晶'},{"998"},{"number"})
- if value == nil then
- gg.toast('已取消')
- else
- gg.setValues({{
- address = (shoushi_h),
- flags = 4,
- value= value[1]
- }})
- gg.toast('修改成功')
- end
- end
- function A1209()
- value=gg.prompt({'蒼獸結晶'},{"998"},{"number"})
- if value == nil then
- gg.toast('已取消')
- else
- gg.setValues({{
- address = (shoushi_i),
- flags = 4,
- value= value[1]
- }})
- gg.toast('修改成功')
- end
- end
- function A1210()
- value=gg.prompt({'翠獸結晶'},{"998"},{"number"})
- if value == nil then
- gg.toast('已取消')
- else
- gg.setValues({{
- address = (shoushi_j),
- flags = 4,
- value= value[1]
- }})
- gg.toast('修改成功')
- end
- end
- function A1211()
- value=gg.prompt({'黃獸結晶'},{"998"},{"number"})
- if value == nil then
- gg.toast('已取消')
- else
- gg.setValues({{
- address = (shoushi_k),
- flags = 4,
- value= value[1]
- }})
- gg.toast('修改成功')
- end
- end
- function A1212()
- value=gg.prompt({'獸石(一鍵全改)'},{"998"},{"number"})
- if value == nil then
- gg.toast('已取消')
- else
- gg.setValues({{
- address = (shoushi_a),
- flags = 4,
- value= value[1]
- }})
- gg.setValues({{
- address = (shoushi_b),
- flags = 4,
- value= value[1]
- }})
- gg.setValues({{
- address = (shoushi_c),
- flags = 4,
- value= value[1]
- }})
- gg.setValues({{
- address = (shoushi_d),
- flags = 4,
- value= value[1]
- }})
- gg.setValues({{
- address = (shoushi_e),
- flags = 4,
- value= value[1]
- }})
- gg.setValues({{
- address = (shoushi_f),
- flags = 4,
- value= value[1]
- }})
- gg.setValues({{
- address = (shoushi_g),
- flags = 4,
- value= value[1]
- }})
- gg.setValues({{
- address = (shoushi_h),
- flags = 4,
- value= value[1]
- }})
- gg.setValues({{
- address = (shoushi_i),
- flags = 4,
- value= value[1]
- }})
- gg.setValues({{
- address = (shoushi_j),
- flags = 4,
- value= value[1]
- }})
- gg.setValues({{
- address = (shoushi_k),
- flags = 4,
- value= value[1]
- }})
- gg.toast('修改成功')
- end
- end
- function A13()
- BN = gg.choice({
- "銅",
- "銀",
- "金",
- "一鍵全改",
- "返回",
- },nil,(([[
- 本能寶箱修改
- ]])))
- if BN == nil then
- gg.toast('已取消')
- else
- if BN == 1 then A1301() end
- if BN == 2 then A1302() end
- if BN == 3 then A1303() end
- if BN == 4 then A1304() end
- if BN == 5 then Start() end
- end
- FMXR=-1
- end
- function A1301()
- value=gg.prompt({'本能寶箱-銅'},{"998"},{"number"})
- if value == nil then
- gg.toast('已取消')
- else
- so=gg.getRangesList('libnative-lib.so:bss')[1].start
- py=(bennengbox)
- setvalue(so+py,4,value[1])
- so=gg.getRangesList('libnative-lib.so:bss')[1].start
- py=(bennengbox)+0x4
- setvalue(so+py,4,0)
- so=gg.getRangesList('libnative-lib.so:bss')[1].start
- py=(bennengbox)+0x18
- setvalue(so+py,4,value[1])
- so=gg.getRangesList('libnative-lib.so:bss')[1].start
- py=(bennengbox)+0x18+0x4
- setvalue(so+py,4,0)
- gg.toast('修改成功')
- end
- end
- function A1302()
- value=gg.prompt({'本能寶箱-銀'},{"998"},{"number"})
- if value == nil then
- gg.toast('已取消')
- else
- so=gg.getRangesList('libnative-lib.so:bss')[1].start
- py=(bennengbox)+0x8
- setvalue(so+py,4,value[1])
- so=gg.getRangesList('libnative-lib.so:bss')[1].start
- py=(bennengbox)+0x8+0x4
- setvalue(so+py,4,0)
- so=gg.getRangesList('libnative-lib.so:bss')[1].start
- py=(bennengbox)+0x20
- setvalue(so+py,4,value[1])
- so=gg.getRangesList('libnative-lib.so:bss')[1].start
- py=(bennengbox)+0x20+0x4
- setvalue(so+py,4,0)
- gg.toast('修改成功')
- end
- end
- function A1303()
- value=gg.prompt({'本能寶箱-金'},{"998"},{"number"})
- if value == nil then
- gg.toast('已取消')
- else
- so=gg.getRangesList('libnative-lib.so:bss')[1].start
- py=(bennengbox)+0x10
- setvalue(so+py,4,value[1])
- so=gg.getRangesList('libnative-lib.so:bss')[1].start
- py=(bennengbox)+0x10+0x4
- setvalue(so+py,4,0)
- so=gg.getRangesList('libnative-lib.so:bss')[1].start
- py=(bennengbox)+0x28
- setvalue(so+py,4,value[1])
- so=gg.getRangesList('libnative-lib.so:bss')[1].start
- py=(bennengbox)+0x28+0x4
- setvalue(so+py,4,0)
- gg.toast('修改成功')
- end
- end
- function A1304()
- value=gg.prompt({'本能寶箱(一鍵全改)'},{"998"},{"number"})
- if value == nil then
- gg.toast('已取消')
- else
- so=gg.getRangesList('libnative-lib.so:bss')[1].start
- py=(bennengbox)
- setvalue(so+py,4,value[1])
- so=gg.getRangesList('libnative-lib.so:bss')[1].start
- py=(bennengbox)+0x4
- setvalue(so+py,4,0)
- so=gg.getRangesList('libnative-lib.so:bss')[1].start
- py=(bennengbox)+0x18
- setvalue(so+py,4,value[1])
- so=gg.getRangesList('libnative-lib.so:bss')[1].start
- py=(bennengbox)+0x18+0x4
- setvalue(so+py,4,0)
- so=gg.getRangesList('libnative-lib.so:bss')[1].start
- py=(bennengbox)+0x8
- setvalue(so+py,4,value[1])
- so=gg.getRangesList('libnative-lib.so:bss')[1].start
- py=(bennengbox)+0x8+0x4
- setvalue(so+py,4,0)
- so=gg.getRangesList('libnative-lib.so:bss')[1].start
- py=(bennengbox)+0x20
- setvalue(so+py,4,value[1])
- so=gg.getRangesList('libnative-lib.so:bss')[1].start
- py=(bennengbox)+0x20+0x4
- setvalue(so+py,4,0)
- so=gg.getRangesList('libnative-lib.so:bss')[1].start
- py=(bennengbox)+0x10
- setvalue(so+py,4,value[1])
- so=gg.getRangesList('libnative-lib.so:bss')[1].start
- py=(bennengbox)+0x10+0x4
- setvalue(so+py,4,0)
- so=gg.getRangesList('libnative-lib.so:bss')[1].start
- py=(bennengbox)+0x28
- setvalue(so+py,4,value[1])
- so=gg.getRangesList('libnative-lib.so:bss')[1].start
- py=(bennengbox)+0x28+0x4
- setvalue(so+py,4,0)
- gg.toast('修改成功')
- end
- end
- function A14()
- AUTOKILL = gg.choice({
- "開",
- "關",
- "返回",
- },nil,(([[
- 自動爆塔
- ]])))
- if AUTOKILL == nil then
- gg.toast('已取消')
- else
- if AUTOKILL == 1 then A1401() end
- if AUTOKILL == 2 then A1402() end
- if AUTOKILL == 3 then Start() end
- end
- FMXR=-1
- end
- function A1401()
- so=(xa)
- py=(autowin)
- setvalue(so+py,4,'~A8 MOV W8, XZR')
- gg.toast('修改成功')
- end
- function A1402()
- so=(xa)
- py=(autowin)
- setvalue(so+py,4,'~A8 LDR W8, [X8,#0x14]')
- gg.toast("已關閉")
- end
- function A15()
- DH = gg.choice({
- "開",
- "關",
- "返回",
- },nil,(([[
- 關閉抽獎動畫
- ]])))
- if DH == nil then
- gg.toast('已取消')
- else
- if DH == 1 then A1501() end
- if DH == 2 then A1502() end
- if DH == 3 then Start() end
- end
- FMXR=-1
- end
- function A1501()
- so=(xa)
- py=(animation)
- setvalue(so+py,4,'~A8 MOV X8, XZR')
- gg.toast('修改成功')
- end
- function A1502()
- so=(xa)
- py=(animation)
- setvalue(so+py,4,'~A8 MOV W8, #0x1')
- gg.toast("已關閉")
- end
- function A16()
- XZ = gg.choice({
- "青銅勳章",
- "白銀勳章",
- "黃金勳章",
- "白金勳章",
- "一鍵全改",
- "返回",
- },nil,(([[
- 勳章修改
- ]])))
- if XZ == nil then
- gg.toast('已取消')
- else
- if XZ == 1 then A1601() end
- if XZ == 2 then A1602() end
- if XZ == 3 then A1603() end
- if XZ == 4 then A1604() end
- if XZ == 5 then A1605() end
- if XZ == 6 then Start() end
- end
- FMXR=-1
- end
- function A1601()
- value=gg.prompt({'青銅勳章'},{"9999"},{"number"})
- if value == nil then
- gg.toast('已取消')
- else
- so=gg.getRangesList('libnative-lib.so:bss')[1].start
- py=(medal)
- setvalue(so+py,4,value[1])
- gg.toast('修改成功')
- end
- end
- function A1602()
- value=gg.prompt({'白銀勳章'},{"9999"},{"number"})
- if value == nil then
- gg.toast('已取消')
- else
- so=gg.getRangesList('libnative-lib.so:bss')[1].start
- py=(medal)+0x4
- setvalue(so+py,4,value[1])
- gg.toast('修改成功')
- end
- end
- function A1603()
- value=gg.prompt({'黃金勳章'},{"9999"},{"number"})
- if value == nil then
- gg.toast('已取消')
- else
- so=gg.getRangesList('libnative-lib.so:bss')[1].start
- py=(medal)+0x8
- setvalue(so+py,4,value[1])
- gg.toast('修改成功')
- end
- end
- function A1604()
- value=gg.prompt({'白金勳章'},{"9999"},{"number"})
- if value == nil then
- gg.toast('已取消')
- else
- so=gg.getRangesList('libnative-lib.so:bss')[1].start
- py=(medal)+0xC
- setvalue(so+py,4,value[1])
- gg.toast('修改成功')
- end
- end
- function A1605()
- value=gg.prompt({'勳章(一鍵全改)'},{"9999"},{"number"})
- if value == nil then
- gg.toast('已取消')
- else
- so=gg.getRangesList('libnative-lib.so:bss')[1].start
- py=(medal)
- setvalue(so+py,4,value[1])
- so=gg.getRangesList('libnative-lib.so:bss')[1].start
- py=(medal)+0x4
- setvalue(so+py,4,value[1])
- so=gg.getRangesList('libnative-lib.so:bss')[1].start
- py=(medal)+0x8
- setvalue(so+py,4,value[1])
- so=gg.getRangesList('libnative-lib.so:bss')[1].start
- py=(medal)+0xC
- setvalue(so+py,4,value[1])
- gg.toast('修改成功')
- end
- end
- function UP()
- gg.alert('版本號:1.1\n\n遊戲版本號 : '..info.versionName..'\n遊戲內部版本號 : '..info.versionCode..'\n遊戲包名 : '..info.packageName..'\n\n如有BUG請聯繫腳本作者\n特別鳴謝:\n感謝用戶Cheney Liu提供相關數據')
- end
- function End()
- gg.setVisible(true)
- print('Script ended\n腳本已退出')
- os.exit()
- end
- while(true)do
- gg.sleep(1)
- if gg.isVisible(true) then
- FMXR=1
- gg.setVisible(false)
- end
- if FMXR==1 then
- Start()
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment