local v0_1, v1_1 v0_1 = "split" function v1_1(a0_2, a1_2) local v0_2, v1_2, v2_2, v3_2 v0_2 = 1 v1_2 = 1 v2_2 = {} while true do v3_2 = string.find(a0_2, a1_2, v0_2) if not v3_2 then break end v2_2[v1_2] = string.sub(a0_2, v0_2, v3_2 - 1) v0_2 = v3_2 + string.len(a1_2) v1_2 = v1_2 + 1 end v2_2[v1_2] = string.sub(a0_2, v0_2, string.len(a0_2)) return v2_2 end _ENV[v0_1] = v1_1 v0_1 = "xgxc" function v1_1(a0_2, a1_2) local v0_2, v1_2, v2_2, v3_2 v1_2 = #a1_2 v2_2 = 1 v0_2 = 1 - v2_2 while true do v0_2 = v0_2 + v2_2 if not (v0_2 <= v1_2) then break end v3_2 = v0_2 xgpy = a0_2 + a1_2[v3_2].offset xglx = a1_2[v3_2].type xgsz = a1_2[v3_2].value xgdj = a1_2[v3_2].freeze if xgdj ~= nil and xgdj ~= "" then gg.addListItems({ [1] = { address = xgpy, flags = xglx, freeze = xgdj, value = xgsz } }) else gg.setValues({ [1] = { address = xgpy, flags = xglx, value = xgsz } }) end xgsl = xgsl + 1 xgjg = true end return end _ENV[v0_1] = v1_1 v0_1 = "xqmnb" function v1_1(a0_2) local v0_2, v1_2, v2_2, v3_2, v4_2, v5_2, v6_2, v7_2 gg.clearResults() gg.setRanges(a0_2[1].memory) gg.searchNumber(a0_2[3].value, a0_2[3].type) if gg.getResultCount() == 0 then gg.toast(a0_2[2].name .. "开启失败") else gg.refineNumber(a0_2[3].value, a0_2[3].type) gg.refineNumber(a0_2[3].value, a0_2[3].type) gg.refineNumber(a0_2[3].value, a0_2[3].type) if gg.getResultCount() == 0 then gg.toast(a0_2[2].name .. "开启失败") else sl = gg.getResults(999999) sz = gg.getResultCount() xgsl = 0 if 999999 < sz then sz = 999999 end v0_2 = 1 v1_2 = sz v2_2 = 1 v0_2 = v0_2 - v2_2 while true do v0_2 = v0_2 + v2_2 if not (v0_2 <= v1_2) then break end v3_2 = v0_2 pdsz = true v5_2 = #a0_2 v6_2 = 1 v4_2 = 4 - v6_2 while true do v4_2 = v4_2 + v6_2 if not (v4_2 <= v5_2) then break end v7_2 = v4_2 if pdsz == true then pysz = { [1] = {} } pysz[1].address = sl[v3_2].address + a0_2[v7_2].offset pysz[1].flags = a0_2[v7_2].type szpy = gg.getValues(pysz) pdpd = a0_2[v7_2].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[v3_2].address xgxc(szpy, qmxg) end end if xgjg == true then gg.toast(a0_2[2].name .. "开启成功,一共修改" .. xgsl .. "条数据") else gg.toast(a0_2[2].name .. "未搜索到数据,开启失败") end end end return end _ENV[v0_1] = v1_1 v0_1 = "SearchWrite" function v1_1(a0_2, a1_2, a2_2) local v0_2, v1_2, v2_2, v3_2, v4_2, v5_2, v6_2, v7_2, v8_2, v9_2, v10_2, v11_2, v12_2, v13_2, v14_2, v15_2 gg.clearResults() gg.setVisible(false) gg.searchNumber(a0_2[1][1], a2_2) v0_2 = gg.getResultCount() v1_2 = gg.getResults(v0_2) gg.clearResults() v2_2 = {} v3_2 = a0_2[1][2] if 0 < v0_2 then v4_2, v5_2, v6_2 = ipairs(v1_2) while true do v7_2, v8_2 = v4_2(v5_2, v6_2) if v7_2 == nil then break end v6_2 = v7_2 v8_2.isUseful = true end v5_2 = #a0_2 v6_2 = 1 v4_2 = 2 - v6_2 while true do v4_2 = v4_2 + v6_2 if not (v4_2 <= v5_2) then break end v7_2 = v4_2 v8_2 = {} v9_2 = a0_2[v7_2][2] - v3_2 v10_2 = a0_2[v7_2][1] v11_2, v12_2, v13_2 = ipairs(v1_2) while true do v14_2, v15_2 = v11_2(v12_2, v13_2) if v14_2 == nil then break end v13_2 = v14_2 v8_2[#v8_2 + 1] = {} v8_2[#v8_2].address = v15_2.address + v9_2 v8_2[#v8_2].flags = v15_2.flags end v11_2, v12_2, v13_2 = ipairs((gg.getValues(v8_2))) while true do v14_2, v15_2 = v11_2(v12_2, v13_2) if v14_2 == nil then break end v13_2 = v14_2 if tostring(v15_2.value) ~= tostring(v10_2) then v1_2[v14_2].isUseful = false end end end v4_2, v5_2, v6_2 = ipairs(v1_2) while true do v7_2, v8_2 = v4_2(v5_2, v6_2) if v7_2 == nil then break end v6_2 = v7_2 if v8_2.isUseful then v2_2[#v2_2 + 1] = v8_2.address end end if 0 < #v2_2 then v4_2 = {} v5_2 = a0_2[1][2] v7_2 = #v2_2 v8_2 = 1 v6_2 = 1 - v8_2 while true do v6_2 = v6_2 + v8_2 if not (v6_2 <= v7_2) then break end v9_2 = v6_2 v10_2, v11_2, v12_2 = ipairs(a1_2) while true do v13_2, v14_2 = v10_2(v11_2, v12_2) if v13_2 == nil then break end v12_2 = v13_2 offset = v14_2[2] - v5_2 v4_2[#v4_2 + 1] = {} v4_2[#v4_2].address = v2_2[v9_2] + offset v4_2[#v4_2].flags = a2_2 v4_2[#v4_2].value = v14_2[1] if v14_2[3] == true then v15_2 = { [#v15_2 + 1] = v4_2[#v4_2] } v15_2[#v15_2].freeze = true gg.addListItems(v15_2) end end end gg.setValues(v4_2) gg.toast("开启成功,一共修改" .. #v4_2 .. "条数据") gg.addListItems(v4_2) return end gg.toast("未搜索到数据,开启失败", false) return false end gg.toast("Not Found") return false end _ENV[v0_1] = v1_1 v0_1 = "HaoGe" function v1_1(a0_2, a1_2, a2_2, a3_2) local v0_2, v1_2, v2_2, v3_2, v4_2, v5_2, v6_2, v7_2, v8_2, v9_2, v10_2, v11_2, v12_2, v13_2, v14_2, v15_2 gg.clearResults() gg.setRanges(a0_2) gg.setVisible(false) gg.searchNumber(a2_2[1][1], a1_2) v0_2 = gg.getResultCount() v1_2 = gg.getResults(v0_2) gg.clearResults() v2_2 = {} v3_2 = a2_2[1][2] if not (0 < v0_2) then return false end v4_2, v5_2, v6_2 = ipairs(v1_2) while true do v7_2, v8_2 = v4_2(v5_2, v6_2) if v7_2 == nil then break end v6_2 = v7_2 v8_2.isUseful = true end v5_2 = #a2_2 v6_2 = 1 v4_2 = 2 - v6_2 while true do v4_2 = v4_2 + v6_2 if not (v4_2 <= v5_2) then break end v7_2 = v4_2 v8_2 = {} v9_2 = a2_2[v7_2][2] - v3_2 v10_2 = a2_2[v7_2][1] v11_2, v12_2, v13_2 = ipairs(v1_2) while true do v14_2, v15_2 = v11_2(v12_2, v13_2) if v14_2 == nil then break end v13_2 = v14_2 v8_2[#v8_2 + 1] = {} v8_2[#v8_2].address = v15_2.address + v9_2 v8_2[#v8_2].flags = v15_2.flags end v11_2, v12_2, v13_2 = ipairs((gg.getValues(v8_2))) while true do v14_2, v15_2 = v11_2(v12_2, v13_2) if v14_2 == nil then break end v13_2 = v14_2 if tostring(v15_2.value) ~= tostring(v10_2) then v1_2[v14_2].isUseful = false end end end v4_2, v5_2, v6_2 = ipairs(v1_2) while true do v7_2, v8_2 = v4_2(v5_2, v6_2) if v7_2 == nil then break end v6_2 = v7_2 if v8_2.isUseful then v2_2[#v2_2 + 1] = v8_2.address end end if not (0 < #v2_2) then return false end v4_2 = {} v5_2 = a2_2[1][2] v7_2 = #v2_2 v8_2 = 1 v6_2 = 1 - v8_2 while true do v6_2 = v6_2 + v8_2 if not (v6_2 <= v7_2) then break end v9_2 = v6_2 v10_2, v11_2, v12_2 = ipairs(a3_2) while true do v13_2, v14_2 = v10_2(v11_2, v12_2) if v13_2 == nil then break end v12_2 = v13_2 offset = v14_2[2] - v5_2 v4_2[#v4_2 + 1] = {} v4_2[#v4_2].address = v2_2[v9_2] + offset v4_2[#v4_2].flags = a1_2 v4_2[#v4_2].value = v14_2[1] if v14_2[3] == true then v15_2 = { [#v15_2 + 1] = v4_2[#v4_2] } v15_2[#v15_2].freeze = true gg.addListItems(v15_2) end end end gg.setValues(v4_2) gg.sleep(400) return end _ENV[v0_1] = v1_1 v0_1 = "PS" function v1_1() return end _ENV[v0_1] = v1_1 v0_1 = "setvalue" function v1_1(a0_2, a1_2, a2_2) local v0_2 PS("修改地址数值(地址,数值类型,要修改的值)") v0_2 = { [1] = {} } v0_2[1].address = a0_2 v0_2[1].flags = a1_2 v0_2[1].value = a2_2 gg.setValues(v0_2) return end _ENV[v0_1] = v1_1 gg.clearResults() gg.setRanges(gg.REGION_ANONYMOUS) gg.searchNumber("4,752,423,507,886,342,144", gg.TYPE_QWORD, false, gg.SIGN_EQUAL, 0, -1, 0) gg.getResults(100) gg.editAll("4,752,423,507,916,455,936", gg.TYPE_QWORD) gg.clearResults() gg.setRanges(gg.REGION_ANONYMOUS) gg.searchNumber("1,106,509,824", gg.TYPE_QWORD, false, gg.SIGN_EQUAL, 0, -1, 0) gg.getResults(100) gg.editAll("1,138,425,856", gg.TYPE_QWORD) gg.clearResults() gg.setRanges(gg.REGION_ANONYMOUS) gg.searchNumber("10.0F;10.0F;10.0F;10.0F;45:193", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) gg.searchNumber("10", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) gg.getResults(100) gg.editAll("250", gg.TYPE_FLOAT) gg.alert("开启成功") gg.clearResults() gg.setRanges(gg.REGION_BAD) gg.searchNumber("-88.66608428955;26:512", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) gg.searchNumber("26", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) gg.getResults(2) gg.editAll("-460", gg.TYPE_FLOAT) gg.searchNumber("-88.73961639404;28:512", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) gg.searchNumber("28", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) gg.getResults(2) gg.editAll("-560", gg.TYPE_FLOAT)