-- -- if gg.getTargetPackage() ~= "com.je.skgame" then gg.alert("请选择官方版太空杀进程\n不然脚本会出现报错或某些功能无效\n要进游戏再打开脚本") end gg.setVisible(false) D=gg.TYPE_DWORD E=gg.TYPE_DOUBLE F=gg.TYPE_FLOAT W=gg.TYPE_WORD B=gg.TYPE_BYTE X=gg.TYPE_XOR Q=gg.TYPE_QWORD KQ="开启成功" HF="恢复成功" SB="开启失败" csf=function() gg.sleep(800) gg.setRanges(16384) gg.clearResults() gg.searchNumber(68,F) if gg.getResultCount()==0 then gg.toast("特征码搜索失败") return csf() else sda=gg.getResults(1)[1].address end gg.clearResults() gg.searchNumber(2400,F) if gg.getResultCount()==0 then gg.toast("特征码搜索失败") return csf() else tsa=gg.getResults(1)[1].address end gg.clearResults() gg.searchNumber(116,F) if gg.getResultCount()==0 then gg.toast("特征码搜索失败") return csf() else suy=gg.getResults(1)[1].address end gg.clearResults() gg.toast("特征码搜索成功") end csf() function S_Pointer(t_So, t_Offset, _bit) local function getRanges() local ranges = {} local tt = {} local t = gg.getRangesList('^/data/*.so*$') for i in pairs(t) do if t[i].type:sub(2, 2) == 'w' then if not tt[t[i].internalName] then tt[t[i].internalName] = {} end if not tt[t[i].internalName][t[i].state] then tt[t[i].internalName][t[i].state] = 0 end tt[t[i].internalName][t[i].state] = tt[t[i].internalName][t[i].state] + 1 t[i].So_Count = tt[t[i].internalName][t[i].state] table.insert(ranges, t[i]) end end return ranges end local function Get_Address(N_So, Offset, ti_bit) local ti = gg.getTargetInfo() local S_list = getRanges() local t = {} local _t local _S = nil if ti_bit then _t = 32 else _t = 4 end for i in pairs(S_list) do local _N = S_list[i].internalName:gsub('^.*/', '') if N_So[1] == _N and N_So[2] == S_list[i].state and N_So[3] == S_list[i].So_Count then _S = S_list[i] break end end if _S then t[#t + 1] = {} t[#t].address = _S.start + Offset[1] t[#t].flags = _t if #Offset ~= 1 then for i = 2, #Offset do local S = gg.getValues(t) t = {} for _ in pairs(S) do if not ti.x64 then S[_].value = S[_].value & 0xFFFFFFFF end t[#t + 1] = {} t[#t].address = S[_].value + Offset[i] t[#t].flags = _t end end end _S = t[#t].address end return _S end local _A = string.format('0x%X', Get_Address(t_So, t_Offset, _bit)) return _A end function mm() srrz=gg.getValues({{address=S_Pointer({"libil2cpp.so:bss", "Cb",1}, {0x89CA10, 0xA8, 0x170, 0x1EC}, true),flags=4}})[1].value sj=os.date("%Y年%m月%d日%H时%M分",os.time()) local a=gg.choice({"必开功能","危险功能","其他功能","娱乐功能","基址传送","退出脚本"},nil,"太空行动辅助v3.2\n当前时间:"..sj.."\n死亡人数:"..srrz.."人") if a==nil then else if a==1 then mm1() end if a==2 then mm2() end if a==3 then mm3() end if a==4 then mm4() end if a==5 then mm5() end if a==7 then os.exit() end end sf=1 end function mm1() if qjj==nil then qjs="[关闭]" else qjs="[开启]" end if tst==nil then tss="[关闭]" else tss="[开启]" end if zts==nil then zss="[关闭]" else zss="[开启]" end if yys==nil then yys=1 end if hll==nil then hls="[关闭]" else hls="[开启]" end if gycv==nil then gys="[关闭]" else gys="[开启]" end local b=gg.multiChoice({"大厅防封"..gys,"死人提示[单局]","视角自调"..zss,"全局透视"..tss,"全局加速"..qjs,"移速自定["..yys.."倍]","透视灵魂"..hls},nil,"滑稽脚本\n当前时间"..sj) if b==nil then return end if b[1]==true then gyc() end if b[2]==true then sr() end if b[3]==true then sd() end if b[4]==true then ts() end if b[5]==true then wjs() end if b[6]==true then yy() end if b[7]==true then hl() end end function mm2() if cqq==nil then cqs="[关闭]" else cqs="[开启]" end if cjs==nil then cjx="[关闭]" else cjx="[开启]" end if hww==nil then hws="[关闭]" else hws="[开启]" end local c=gg.multiChoice({"拉胯穿墙"..cqs,"狙击移动[单局]","中立范围[全局]","道具范围[单局]","道具速度[单局]","超级速度"..cjx,"减少拉回[全局]"},nil,"滑稽脚本\n当前时间"..sj) if c==nil then return end if c[1]==true then cq() end if c[2]==true then jy() end if c[3]==true then hw() end if c[4]==true then dh() end if c[5]==true then ds() end if c[6]==true then cjj() end if c[7]==true then jl() end end function mm3() if bgg==nil then bgs="[关闭]" else bgs="[开启]" end if syy==nil then sys="[关闭]" else sys="[开启]" end if qxh==nil then qxs="[关闭]" else qxs="[开启]" end if syx==nil then syz="[关闭]" else syz="[开启]" end if sdd==nil then sds="[关闭]" else sds="[开启]" end if mtt==nil then mts="[关闭]" elseif mtt==1 then mts="[蓝队]" elseif mtt==2 then mts="[红队]" end if uyy==nil then uys="[关闭]" else uys="[开启]" end local b=gg.multiChoice({"猫猫透视"..mts,"报告常亮"..bgs,"使用常亮"..sys,"自改使用"..syz,"剧本透视[单局]","去小雪花"..qxs,"隐身显形[单局]","上帝视角"..sds,"侦探脚印[单局]","地图高亮[飞船]","瞬移速度"..uys},nil,"滑稽脚本\n当前时间"..sj) if b==nil then return end if b[1]==true then mt() end if b[2]==true then bg() end if b[3]==true then ancl() end if b[4]==true then sy() end if b[5]==true then jt() end if b[6]==true then xf() end if b[7]==true then sx() end if b[8]==true then jd() end if b[9]==true then bz() end if b[10]==true then dg() end if b[11]==true then uy() end end function mm4() if hpp==nil then hps="[关闭]" else hps="[开启]" end if qpp==nil then qps="[关闭]" else qps="[开启]" end if ftt==nil then fts="[关闭]" elseif ftt==1 then fts="[飞天]" elseif ftt==2 then fts="[遁地]" end if txx==nil then txs="[关闭]" else txs="[开启]" end if dtt==nil then dts="[关闭]" else dts="[开启]" end local a=gg.multiChoice({"一键黑屏"..hps,"无限资源[全局]","奇葩人物"..qps,"悟空变球[单局]","无限举报[单局]","游戏变速[全局]","变成幽灵[单局]","飞天遁地"..fts,"粒子增强"..txs,"人物模型[单局]","动作不断"..dts,"自动走路[单局]"},nil,"滑稽脚本\n当前时间"..sj) if a==nil then return end if a[1]==true then hn() end if a[2]==true then js() end if a[3]==true then pf() end if a[4]==true then bq() end if a[5]==true then jb() end if a[6]==true then bs() end if a[7]==true then by() end if a[8]==true then ft() end if a[9]==true then tx() end if a[10]==true then rd() end if a[11]==true then dt() end if a[12]==true then zdd() end end function sr() local t = {"libil2cpp.so:bss", "Cb",1} local tt = {0x4AC98, 0x100, 0x0, 0x60} local ttt = S_Pointer(t, tt, true) gg.setValues({{address = ttt, flags = 4, value = 39}}) gg.toast(KQ) end function ancl() local t = {"libil2cpp.so:bss", "Cb",1} local tt = {0xA9418, 0x100, 0x0, 0x68} local ttt = S_Pointer(t, tt, true) if syy==nil then gg.addListItems({{address = ttt-0x38, flags = 4, value = 1, freeze = true}}) gg.toast(KQ) syy=1 elseif syy==1 then gg.addListItems({{address = ttt-0x38, flags = 4, value = 0, freeze = false}}) gg.toast(HF) syy=nil end end function sy() local a=gg.prompt({"远程开会230\n秒做任务42\n体检2200\n远程换装820\n清理陨石2130\n查看死亡人数6240","恢复使用"},{[1]=42,nil,},{"number","checkbox"}) if a==nil then return end local t = {"libil2cpp.so:bss", "Cb",1} local tt = {0xA9418, 0x100, 0x0, 0x68} local ttt = S_Pointer(t, tt, true) if a[2]==false then gg.addListItems({{address = ttt, flags = 4, value = a[1], freeze = true}}) gg.toast(KQ) syx=1 end if a[2]==true then gg.addListItems({{address = ttt, flags = 4, value = 0, freeze = false}}) gg.toast(HF) syx=nil end end function bg() local t = {"libil2cpp.so:bss", "Cb",1} local tt = {0xA9418, 0x100, 0x0, 0x68} local ttt = S_Pointer(t, tt, true) if bgg==nil then gg.addListItems({{address = ttt+0x338, flags = 4, value = 1, freeze = true}}) gg.toast(KQ) bgg=1 elseif bgg==1 then gg.addListItems({{address = ttt+0x338, flags = 4, value = 0, freeze = false}}) gg.toast(HF) bgg=nil end end function js() local t = {"libil2cpp.so:bss", "Cb",1} local tt = {0xA3348, 0x100, 0x8, 0x168} local ttt = S_Pointer(t, tt, true) gg.addListItems({{address = ttt, flags = 4, value = 114514, freeze = true}}) gg.setValues({{address = ttt-0x10, flags = 4, value = 114514},{address = ttt-0x14, flags = 4, value = 114514},{address = ttt-0x18, flags = 4, value = 114514}}) gg.toast(KQ) end function sd() local a=gg.prompt({"上帝视角[3;25]","恢复原值"},{[1]="10",[2]=false},{"number","checkbox"}) if a==nil then return end local t = {"libunity.so:bss", "Cb",1} local tt = {0xB8910, 0x78, 0x0, 0x8A} local ttt = S_Pointer(t, tt, true) if a[2]==false then gg.setValues({{address = ttt, flags = 16, value = a[1]}}) gg.toast(KQ) zts=1 end if a[2]==true then gg.setValues({{address = ttt, flags = 16, value = 3.14159267101}}) gg.toast(HF) zts=nil end end function ts() if tst==nil then gg.setValues({{address=tsa+0x10,flags=16,value=1000},{address=tsa+0x20,flags=16,value=0}}) gg.toast(KQ) tst=1 elseif tst==1 then gg.setValues({{address=tsa+0x10,flags=16,value=7},{address=tsa+0x20,flags=16,value=0.80000001192}}) gg.toast(HF) tst=nil end end function pf() local t = {"libunity.so:bss", "Cb",1} local tt = {0x739D8, 0x12D} local ttt = S_Pointer(t, tt, true) if qpp==nil then gg.setValues({{address = ttt, flags = 16, value = 0}}) gg.setValues({{address = ttt+0x4, flags = 16, value = 0}}) gg.setValues({{address = ttt+0x8, flags = 16, value = 0}}) gg.toast(KQ) qpp=1 elseif qpp==1 then gg.setValues({{address = ttt, flags = 16, value = 2}}) gg.setValues({{address = ttt+0x4, flags = 16, value = 2}}) gg.setValues({{address = ttt+0x8, flags = 16, value = -2}}) gg.toast(HF) qpp=nil end end function wjs() local t = {"libil2cpp.so", "Cd",1} local tt = {0x1FB9E0, 0x150} local ttt = S_Pointer(t, tt, true) if qjj==nil then gg.setValues({{address=ttt+0x8,flags=16,value=0.46}}) gg.toast(KQ) qjj=1 elseif qjj==1 then gg.setValues({{address=ttt+0x8,flags=16,value=0.3}}) gg.toast(HF) qjj=nil end end function gyc() if gycv==nil then gg.clearResults() gg.setRanges(16) gg.searchNumber(67108864,D) gg.getResults(1) gg.editAll(0,D) gg.clearResults() gg.toast(KQ) gycv=1 else gg.toast("不可关闭") end end function bq() local t = {"libil2cpp.so:bss", "Cb",1} local tt = {0xBA448, 0x240, 0x20, 0x170, 0x128} local ttt = S_Pointer(t, tt, true) gg.addListItems({{address = ttt, flags = 4, value = 241, freeze = true}}) gg.toast(KQ) end function gdh(ss,tz) gg.clearResults() gg.setRanges(32) gg.searchNumber(ss,4) local n=gg.getResultCount() local b=gg.getResults(n) gg.clearResults() if n==0 then gg.toast(SB) else for i=1,n do local a=gg.getValues({{address=b[i].address+0x4,flags=4},{address=b[i].address+0x38,flags=4}}) if a[1].value==tz and a[2].value==-858993459 then gg.setValues({{address=b[i].address+0x3C,flags=16,value=100}}) end end end gg.toast(KQ) end function hw() local a=gg.multiChoice({"怪盗全图","蜜蜂全图","大胃微范","丘比特范","摄魂全图"},nil,"技能范围") if a==nil then return end if a[1]==true then gdh(71001,71) end if a[2]==true then gdh(72001,72) end if a[3]==true then gdh(65001,65) end if a[4]==true then gdh(77001,77) end if a[5]==true then gdh(62001,62) end end function cq() if qjcq==nil then gg.clearResults() gg.setRanges(32) gg.searchNumber(1083975926,4) local n=gg.getResultCount() local b=gg.getResults(n) gg.clearResults() for i=1,n do local a=gg.getValues({{address=b[i].address+0x8,flags=4}}) if a[1].value==1053609165 then cqa=gg.getValues({{address=b[i].address,flags=4}}) end end qjcq=1 end if cqq==nil then gg.setValues({{address=cqa[1].address+0x50,flags=4,value=0}}) gg.toast(KQ) cqq=1 elseif cqq==1 then gg.setValues({{address=cqa[1].address+0x50,flags=4,value=65537}}) gg.toast(HF) cqq=nil end end function hn() local t = {"libunity.so:bss", "Cb",1} local tt = {0x77B88, 0xB8, 0x38, 0x95} local ttt = S_Pointer(t, tt, true) if hpp==nil then gg.setValues({{address = ttt, flags = 4, value = 0}}) gg.setValues({{address = ttt-0x4, flags = 16, value = 0}}) gg.toast(KQ) hpp=1 elseif hpp==1 then gg.setValues({{address = ttt, flags = 4, value = 1}}) gg.setValues({{address = ttt-0x4, flags = 16, value = 1}}) gg.toast(HF) hpp=nil end end function jy() local t = {"libil2cpp.so:bss", "Cb",1} local tt = {0xA3348, 0x100, 0x18, 0x138, 0x190} local ttt = S_Pointer(t, tt, true) gg.addListItems({{address = ttt, flags = 4, value = 1, freeze = true}}) gg.toast(KQ) end function dh() local t = {"libil2cpp.so:bss", "Cb",1} local tt = {0x2C1BB0, 0x548, 0x210, 0x4C} local ttt = S_Pointer(t, tt, true) gg.setValues({{address = ttt, flags = 16, value = 2.4}}) gg.toast(KQ) end function ds() local t = {"libil2cpp.so:bss", "Cb",1} local tt = {0x2C1BB0, 0x548, 0x210, 0x4C} local ttt = S_Pointer(t, tt, true) gg.setValues({{address = ttt+0x18, flags = 16, value = 0}}) gg.toast(KQ) end function jt() gg.clearResults() gg.setRanges(32) gg.searchNumber(1073322394,4) local n=gg.getResultCount() local b=gg.getResults(n) gg.clearResults() if n==0 then gg.toast(SB) else for i=1,n do local a=gg.getValues({{address=b[i].address-0x4,flags=4},{address=b[i].address-0x8,flags=4},{address=b[i].address+0x14,flags=4}}) if a[1].value==1069547520 and a[2].value==1084227584 and a[3].value==1044079706 then gg.addListItems({{address=b[i].address+0x4,flags=4,value=0,freeze=true}}) end end end gg.toast(KQ) end function mt() local t = {"libil2cpp.so:bss", "Cb",1} local tt = {0xABCA0, 0x100, 0x0, 0xAC} local ttt = S_Pointer(t, tt, true) mta=gg.getValues({{address = ttt, flags = 4}}) if mta[1].address==0x000000AC then gg.toast(SB) return end if mta[1].value==0 or mta[1].value==2 then gg.addListItems({{address = ttt, flags = 4, value = 1, freeze = true}}) mtt=1 elseif mta[1].value==1 then gg.addListItems({{address = ttt, flags = 4, value = 2, freeze = true}}) mtt=2 end gg.toast(KQ) end function yy() local aa=gg.prompt({"移速自定义"},{[1]="1.1"},{number}) if aa==nil then return end if qjcq==nil then gg.clearResults() gg.setRanges(32) gg.searchNumber(1083975926,4) local n=gg.getResultCount() local b=gg.getResults(n) gg.clearResults() for i=1,n do local a=gg.getValues({{address=b[i].address+0x8,flags=4}}) if a[1].value==1053609165 then cqa=gg.getValues({{address=b[i].address,flags=4}}) end end qjcq=1 end gg.setValues({{address=cqa[1].address+0x14,flags=16,value=aa[1]}}) yys=gg.getValues({{address=cqa[1].address+0x14,flags=16}})[1].value gg.toast(KQ) end function mm5() local a=gg.choice({"贝壳飞船","火星实验","米拉总部","时光小镇","魔法城堡"},nil,"滑稽脚本\n传送区域") if a==nil then return end if a==1 then bks() end if a==2 then hxs() end if a==3 then mls() end if a==4 then cxz() end if a==5 then mfc() end end function cs(x,z,y) local t = {"libil2cpp.so:bss", "Cb",1} local tt = {0x16408, 0x88, 0x258, 0x138, 0x2D0} local ttt = S_Pointer(t, tt, true) gg.addListItems({{address = ttt, flags = 4, value = x, freeze = true},{address = ttt+0x4, flags = 4, value = z, freeze = true},{address = ttt+0x8, flags = 4, value = y, freeze = true}}) gg.toast(KQ) gg.sleep(700) gg.addListItems({{address = ttt, flags = 4, value = 0 , freeze = false},{address = ttt+0x4, flags = 4, value = 0, freeze = false},{address = ttt+0x8, flags = 4, value = 0, freeze = false}}) end function bks() local a=gg.multiChoice({"餐厅","主控台","仓库","电力间","下引擎","监控室","反应堆","上引擎","医疗间","武器舱","氧气舱","驾驶舱","护盾舱","通讯中心"},nil,"贝壳传送\n传送时不要动") if a==nil then return end if a[1]==true then cs(1113231569,nil,1109967193) end if a[2]==true then cs(1115808440,nil,1104090324) end if a[3]==true then cs(1111777316,nil,1098646764) end if a[4]==true then cs(1109654306,nil,1101185802) end if a[5]==true then cs(1104764676,nil,1101493990) end if a[6]==true then cs(1106313669,nil,1108293931) end if a[7]==true then cs(1098380599,nil,1108487278) end if a[8]==true then cs(1104701853,nil,1111854531) end if a[9]==true then cs(1108766017,nil,1108703178) end if a[10]==true then cs(1117578619,nil,1111897306) end if a[11]==true then cs(1116607226,nil,1108984656) end if a[12]==true then cs(1119209094,nil,1108000379) end if a[13]==true then cs(1117530461,nil,1100417905) end if a[14]==true then cs(1115454500,nil,1095900144) end end function hxs() local a=gg.multiChoice({"着落舱","仓库","电力间","监控室","氧气室","通讯室","武器库","办公室","主控室","标本室","实验室"},nil,"火星实验室传送\n传送时不要动") if a==nil then return end if a[1]==true then cs(1110984320,nil,1115802939) end if a[2]==true then cs(1112567205,nil,1110412068) end if a[3]==true then cs(1103565473,nil,1112178038) end if a[4]==true then cs(1096300599,nil,1110558690) end if a[5]==true then cs(1096068474,nil,1105849099) end if a[6]==true then cs(1108586755,nil,1106554090) end if a[7]==true then cs(1108038981,nil,1092918590) end if a[8]==true then cs(1111819943,nil,1105142500) end if a[9]==true then cs(1114044726,nil,1095468931) end if a[10]==true then cs(1119960816,nil,1100891441) end if a[11]==true then cs(1119371988,nil,1113307477) end end function mls() local a=gg.multiChoice({"停机坪","医疗间","通讯室","储物柜室","反应堆","实验室","餐厅","阳台","仓库","通讯室","办公室","温室"},nil,"米拉总部传送\n传送时不要动") if a==nil then return end if a[1]==true then cs(1099441327,nil,1101572496) end if a[2]==true then cs(1112471733,nil,1093866053) end if a[3]==true then cs(1112620365,nil,1102163409) end if a[4]==true then cs(1109409278,nil,1096855887) end if a[5]==true then cs(1104951453,nil,1109349643) end if a[6]==true then cs(1109401951,nil,1110708933) end if a[7]==true then cs(1116725978,nil,1103116517) end if a[8]==true then cs(1116742493,nil,1086382757) end if a[9]==true then cs(1114787046,nil,1102612464) end if a[10]==true then cs(1115165789,nil,1115679096) end if a[11]==true then cs(1112226919,nil,1115395899) end if a[12]==true then cs(1114627314,nil,1116986157) end end function cxz() local a=gg.multiChoice({"小卖部","食堂","电玩城","街机厅","漫展","咖啡厅","车厢","菜市场","便利店","书报亭"},nil,"时光小镇传送\n传送时不要动") if a==nil then return end if a[1]==true then cs(1111058004,nil,1117331071) end if a[2]==true then cs(1115689916,nil,1117354372) end if a[3]==true then cs(1118519621,nil,1109540728) end if a[4]==true then cs(1118519621,nil,1116764897) end if a[5]==true then cs(1118698916,nil,1102526215) end if a[6]==true then cs(1115739272,nil,1104501167) end if a[7]==true then cs(1116568332,nil,1113425325) end if a[8]==true then cs(1117663647,nil,1118250334) end if a[9]==true then cs(1110838073,nil,1106178879) end if a[10]==true then cs(1119893015,nil,1116991946) end end function mfc() local a=gg.multiChoice({"宴会厅","厨房","中庭","酒窖","种植园","庭院","空中花园","洗浴室","书房","占仆室","天文室","杂物室","魔法实验室","迷宫","藏宝室"},nil,"魔法城堡传送\n传送时不要动") if a==nil then return end if a[1]==true then cs(1115887676,1048576983,1111109540) end if a[2]==true then cs(1114411680,1048576983,1108827404) end if a[3]==true then cs(1108211749,1048578376,1113292527) end if a[4]==true then cs(1109867655,-1097355538,1107697556) end if a[5]==true then cs(1116514768,1048476952,1106572438) end if a[6]==true then cs(1117648993,1048535563,1110891046) end if a[7]==true then cs(1115683720,1087614642,1117627208) end if a[8]==true then cs(1108687623,1048546687,1117878543) end if a[9]==true then cs(1106565877,1048567217,1116365424) end if a[10]==true then cs(1100083377,1028448305,1116143682) end if a[11]==true then cs(1100706183,1028448305,1117937838) end if a[12]==true then cs(1105416078,1028448305,1118020185) end if a[13]==true then cs(1101065679,1048080757,1112691620) end if a[14]==true then cs(1096769191,1048568990,1108574557) end if a[15]==true then cs(1100509106,-1082127453,1100737759) end end function jb() gg.clearResults() gg.setRanges(32) gg.searchNumber(1696578338,4) local n=gg.getResultCount() local b=gg.getResults(n) gg.clearResults() if n==0 then gg.toast(SB) else for i=1,n do local a=gg.getValues({{address=b[i].address+0x10,flags=4},{address=b[i].address+0x14,flags=4}}) if a[1].value==5 and a[2].value==6 then gg.setValues({{address=b[i].address+0x18,flags=4,value=100}}) end end end gg.toast(KQ) end function cjj() if cjs==nil then gg.setValues({{address=sda-0x4,flags=16,value=6},{address=sda-0x24,flags=16,value=0.0088}}) gg.toast(KQ) cjs=1 elseif cjs==1 then gg.setValues({{address=sda-0x4,flags=16,value=0.10000000149},{address=sda-0x24,flags=16,value=0.00999999978}}) gg.toast(HF) cjs=nil end end function jl() local xhjj=0 local t = {"libil2cpp.so", "Cd",1} local tt = {0x399858, 0x8, 0x0, 0x44} local ttt = S_Pointer(t, tt, true) gg.sleep(50) gg.toast("打开悬浮窗关闭") while true do gg.setValues({{address=ttt,flags=16,value=-10}}) gg.sleep(1000) gg.setValues({{address=ttt,flags=16,value=100}}) gg.sleep(200) xhjj=xhjj+1 gg.toast("循环"..xhjj.."次") if gg.isVisible(true) then gg.toast("循环关闭") break end end end function jd() if sdd==nil then gg.setValues({{address=sda+0x4,flags=16,value=0.0017}}) gg.toast(KQ) sdd=1 elseif sdd==1 then gg.setValues({{address=sda+0x4,flags=16,value=0.001}}) gg.toast(HF) sdd=nil end end function xf() local t = {"libunity.so", "Cd",1} local tt = {0x33D8, 0x1B5} local ttt = S_Pointer(t, tt, true) if qxh==nil then gg.setValues({{address=ttt-0x10,flags=16,value=0}}) gg.toast(KQ) qxh=1 elseif qxh==1 then gg.setValues({{address=ttt-0x10,flags=16,value=1}}) gg.toast(HF) qxh=nil end end function sx() gg.clearResults() gg.setRanges(32) gg.searchNumber(4287426845256712192,32) local n=gg.getResultCount() local b=gg.getResults(n) gg.clearResults() if n==0 then gg.toast(SB) else for i=1,n do local a=gg.getValues({{address=b[i].address-0x1C,flags=4},{address=b[i].address-0x14,flags=4}}) if a[1].value==-1073741824 and a[2].value==2 then gg.setValues({{address=b[i].address+0x24,flags=16,value=1000}}) end end end gg.toast(KQ) end function bs() local a=gg.prompt({"游戏变速[1;50]"},{[1]="10"},{"number"}) if a==nil then return end local aa=a[1]*0.1 local t = {"libunity.so:bss", "Cb",1} local tt = {0x253B8, 0xFC} local ttt = S_Pointer(t, tt, true) gg.addListItems({{address=ttt,flags=16,value=aa,freeze=true}}) gg.toast(KQ) end function by() gg.clearResults() gg.setRanges(32) gg.searchNumber(275052347040727040,32) local n=gg.getResultCount() local b=gg.getResults(n) gg.clearResults() if n==0 then gg.toast(SB) else for i=1,n do local a=gg.getValues({{address=b[i].address+0xC,flags=4}}) if a[1].value==65793 then gg.setValues({{address=b[i].address+0x14,flags=4,value=1}}) end end end gg.toast(KQ) end function ft() local t = {"libil2cpp.so", "Cd",1} local tt = {0x816CA8, 0x1F4} local ttt = S_Pointer(t, tt, true) if ftt==nil then gg.setValues({{address=ttt-0x8,flags=16,value=15}}) gg.toast(KQ) ftt=1 elseif ftt==1 then gg.setValues({{address=ttt-0x8,flags=16,value=-15}}) gg.toast(KQ) ftt=2 elseif ftt==2 then gg.setValues({{address=ttt-0x8,flags=16,value=2}}) gg.sleep(100) gg.setValues({{address=ttt-0x8,flags=16,value=0.05000000075}}) gg.toast(HF) ftt=nil end end function tx() local t = {"libunity.so:bss", "Cb",1} local tt = {0x25488, 0x70, 0x179} local ttt = S_Pointer(t, tt, true) if txx==nil then gg.setValues({{address = ttt, flags = 16, value = 20}}) gg.toast(KQ) txx=1 elseif txx==1 then gg.setValues({{address = ttt, flags = 16, value = 0.0001}}) gg.toast(HF) txx=nil end end function rd() local x=gg.prompt({"模型大小[1;8]"},{nil},{"number"}) if x==nil then return end gg.clearResults() gg.setRanges(32) gg.searchNumber(1057236787,4) local n=gg.getResultCount() local b=gg.getResults(n) gg.clearResults() for i=1,n do local a=gg.getValues({{address=b[i].address+0x4,flags=4},{address=b[i].address+0x8,flags=4},{address=b[i].address+0x24,flags=4}}) if a[1].value==1057236853 and a[2].value==-1091081801 and a[3].value==-1297363850 then gg.addListItems({{address=b[i].address+0x10,flags=16,value=x[1],freeze=true},{address=b[i].address+0x14,flags=16,value=x[1],freeze=true},{address=b[i].address+0x18,flags=16,value=x[1],freeze=true}}) end end gg.toast(KQ) end function bz() gg.clearResults() gg.setRanges(32) gg.searchNumber(4369572501429157888,32) local n=gg.getResultCount() local b=gg.getResults(n) gg.clearResults() if n==0 then gg.toast(SB) else for i=1,n do local a=gg.getValues({{address=b[i].address+0x10,flags=4},{address=b[i].address+0x18,flags=4},{address=b[i].address+0x38,flags=4}}) if a[1].value==1056964608 and a[2].value==-1090519040 and a[3].value==2 then gg.setValues({{address=b[i].address+0x20,flags=16,value=1},{address=b[i].address+0x24,flags=16,value=1}}) end end end gg.toast(KQ) end function dg() gg.clearResults() gg.setRanges(32) gg.searchNumber(1061786938,4) local n=gg.getResultCount() local b=gg.getResults(n) gg.clearResults() if n==0 then gg.toast(SB) else for i=1,n do local a=gg.getValues({{address=b[i].address+0x10,flags=4}}) if a[1].value==-1052665446 then gg.setValues({{address=b[i].address+0xC,flags=16,value=10}}) end end end gg.toast(KQ) end function hl() if qjhl==nil then gg.clearResults() gg.setRanges(32) gg.searchNumber(1094713345,4) local n=gg.getResultCount() local b=gg.getResults(n) gg.clearResults() if n==0 then gg.toast(SB) else for i=1,n do local a=gg.getValues({{address=b[i].address-0x28,flags=4},{address=b[i].address-0x2C,flags=4}}) if a[1].value==1069547520 and a[2].value==1065353216 then gg.addListItems({{address=b[i].address-0x1C,flags=4,value=1081011,freeze=true}}) hla=gg.getValues({{address=b[i].address-0x20,flags=4}})[1].address end end end qjhl=1 end if hla==nil then gg.toast(SB) qjhl=nil else if hll==nil then gg.setValues({{address=hla,flags=4,value=0}}) gg.toast(KQ) hll=1 elseif hll==1 then gg.setValues({{address=hla,flags=4,value=2}}) gg.toast(HF) hll=nil end end end function dt() if qjdt==nil then gg.clearResults() gg.setRanges(32) gg.searchNumber(-823668238,4) local n=gg.getResultCount() local b=gg.getResults(n) gg.clearResults() if n==0 then gg.toast(SB) else for i=1,n do local a=gg.getValues({{address=b[i].address+0xC,flags=4}}) if a[1].value==20298039 then dta=gg.getValues({{address=b[i].address+0x4,flags=4}})[1].address end end end qjdt=1 end if dta==nil then gg.toast(SB) qjdt=nil else if dtt==nil then gg.setValues({{address=dta,flags=4,value=2}}) gg.setValues({{address=dta-0x8,flags=4,value=8}}) gg.toast(KQ) dtt=1 elseif dtt==1 then gg.setValues({{address=dta,flags=4,value=1}}) gg.setValues({{address=dta-0x8,flags=4,value=1}}) gg.toast(HF) dtt=nil end end end function uy() if uyy==nil then gg.setValues({{address=suy-0x24,flags=16,value=2}}) gg.toast(KQ) uyy=1 elseif uyy==1 then gg.setValues({{address=suy-0x24,flags=16,value=0.69999998808}}) gg.toast(HF) uyy=nil end end function zdd() local a=gg.prompt({"x","z","y"},{[1]=1,[2]=1,[3]=1},{"number","number","number"}) if a==nil then return end local t = {"libil2cpp.so:bss", "Cb",1} local tt = {0xA3348, 0x100, 0x18, 0x138, 0x2A4} local ttt = S_Pointer(t, tt, true) gg.setValues({{address = ttt, flags = 16, value = a[1]},{address = ttt+0x4, flags = 16, value = a[2]},{address = ttt+0x8, flags = 16, value = a[3]}}) gg.toast(KQ) end while true do if gg.isVisible(true) then sf = nil gg.setVisible(false) end if sf == nil then mm() end end