--土豆云 AGG对接模板 local http=require("http") local json=require("json") local APPID="10302" local APPKEY="ZzEr6rMiEWRUMg67" local RC4KEY="Yr152sFOZYc10302" local function CheckAuth() local res=http.get(string.format("https://api.tudouyun.cn/api/auth?appid=%s&appkey=%s",APPID,APPKEY)) if not res then gg.alert("网络请求失败") os.exit() end local data=json.decode(res) if data.code~=200 then gg.alert("验证失败:"..data.msg) os.exit() end return true end --执行云验证 CheckAuth() --============================= -- 验证成功 业务代码区 --============================= d() e() f() --你的函数写在这里 function d() local ranges repeat ranges = gg.getRangesList("libPxKit3.so") gg.sleep(100) until #ranges>0 local base = ranges[1]["start"] local addr = base + 0x632CF4 gg.addListItems({ { address = addr, flags = 4, value = 403046400, freeze = true, } }) gg.toast("开启成功") end function e() local ranges repeat ranges = gg.getRangesList("libUE4.so") gg.sleep(100) until #ranges>0 local base = ranges[1]["start"] local addr = base + 0x8 gg.toast("基址:"..base.." 目标:"..addr) gg.addListItems({ { address = addr, flags = 4, value = 0, freeze = true } }) gg.toast("开启成功") end function f() gg.toast("f功能开启") end