Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local memFrom, memTo, lib, num, lim, results, src, ok = 0, -1, nil, 0, 32, {}, nil, false
- function name(n)
- if lib ~= n then lib = n
- local ranges = gg.getRangesList(lib)
- if #ranges == 0 then
- else memFrom = ranges[1].start memTo = ranges[#ranges]["end"]end end
- end
- function hex2tbl(hex)
- local ret = {} hex:gsub("%S%S",
- function (ch) ret[#ret + 1] = ch return ""end)return ret
- end
- function original(orig)
- local tbl = hex2tbl(orig)
- local len = #tbl
- if len == 0 then return end
- local used = len
- if len > lim then used = lim end
- local s = '' for i = 1, used do
- if i ~= 1 then s = s..";" end
- local v = tbl[i]
- if v == "??" or v == "**" then v = "0~~0" end s = s..v.."r"end s = s.."::"..used
- gg.searchNumber(s, gg.TYPE_BYTE, false, gg.SIGN_EQUAL, memFrom, memTo)
- if len > used then for i = used + 1, len do
- local v = tbl[i]
- if v == "??" or v == "**" then v = 256 else v = ("0x"..v) + 0
- if v > 127 then v = v - 256 end end tbl[i] = v end end
- local found = gg.getResultCount(); results = {}
- local count = 0
- local checked = 0
- while true do
- if checked >= found then break end
- local all = gg.getResults(8)
- local total = #all
- local start = checked
- if checked + used > total then break end for i, v in ipairs(all) do v.address = v.address + myoffset end
- gg.loadResults(all)while start < total do
- local gORIGINd = true
- local offset = all[1 + start].address - 1
- if used < len then
- local get = {} for i = lim + 1, len do get[i - lim] = {address = offset + i, flags = gg.TYPE_BYTE, value = 0}end
- get = gg.getValues(get) for i = lim + 1, len do
- local ch = tbl[i]
- if ch ~= 256 and get[i - lim].value ~= ch then gORIGINd = false break end end end
- if gORIGINd then count = count + 1 results[count] = offset checked = checked + used else
- local del = {} for i = 1, used do del[i] = all[i + start]end
- gg.removeResults(del)end start = start + used end end
- end
- function replaced(repl)
- num = num + 1
- local tbl = hex2tbl(repl)
- if src ~= nil then
- local source = hex2tbl(src) for i, v in ipairs(tbl) do
- if v ~= "??" and v ~= "**" and v == source[i] then tbl[i] = "**" end end src = nil end
- local cnt = #tbl
- local set = {}
- local s = 0 for _, addr in ipairs(results) do for i, v in ipairs(tbl) do
- if v ~= "??" and v ~= "**" then s = s + 1 set[s] = {["address"] = addr + i,["value"] = v.."r",["flags"] = gg.TYPE_BYTE,}end end end
- if s ~= 0 then
- gg.setValues(set) end
- ok = true
- end
- gg.alert(os.date("Youtube YELLOWHAX\n\nNgay: %d-%m-%Y\nTime: %H:%M:%S\n\n "))
- function Main()
- SN = gg.multiChoice({
- "Magic Bullet",
- "Headling & Clear Mind",
- "Bypass",
- "Thoat"
- }, nil,'Walker x YellowHax')
- 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
- Exit()
- end
- end
- XGCK = -1
- end
- function a1()
- 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
- so=gg.getRangesList('libil2cpp.so')[1].start
- py=0x7ED2DBC
- setvalue(so+py,16,1.2)
- gg.toast("Magic Bullet")
- end
- function a2()
- gg.setRanges(32)
- gg.searchNumber("75D;5F;4F::30", 16, false, 536870912, 0, -1)
- gg.refineNumber("4", 16, false, 536870912, 0, -1)
- gg.getResults(1)
- gg.editAll("3", 16)
- gg.clearResults()
- gg.toast("Healing 3s")
- gg.setVisible(false)
- gg.setRanges(gg.REGION_ANONYMOUS)
- gg.searchNumber("0.84705883265;0.5;0.5", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1)
- gg.processResume()
- gg.refineNumber("0.5", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1)
- revert = gg.getResults(52000, nil, nil, nil, nil, nil, nil, nil, nil)
- gg.editAll("10", gg.TYPE_FLOAT)
- gg.processResume()
- gg.toast("Clear Mind")
- gg.clearResults()
- end
- function a3()
- gg.setRanges(gg.REGION_CODE_APP | gg.REGION_C_DATA)
- name("libil2cpp.so")
- myoffset = 21950752
- original("7F 45 4C 46 01 01 01 00")
- replaced("00 00 A0 E3 1E FF 2F E1")
- gg.clearResults()
- gg.clearResults()
- gg.setRanges(gg.REGION_C_ALLOC)
- gg.searchNumber("R_R({800C90C0rD;7A01A801rD;58011B01rD;39016001rD;7101A901rD;FC013402rD;7402D902rD;19032203rD;5103D003rD;46044E04rD;FB03DC03rD;38046804rD;CB030503rD;FF024003rD;D102FF01rD;AC01C901rD;C0016901rD;E8006200rD;F6FF7EFFrD;B4FEC4FDrD:4089})", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1)
- gg.refineNumber("R_R({8})", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1)
- gg.getResults(73)
- gg.editAll("R_R({192,158,121})", gg.TYPE_FLOAT)
- gg.clearResults()
- gg.searchNumber("R_R({1,6,7,8,9,0,0,6,6,7,7,10,7,777,10})", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1)
- gg.refineNumber("R_R({61})", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1)
- gg.getResults(40)
- gg.editAll("R_R({192,158,121})", gg.TYPE_FLOAT)
- gg.clearResults()
- gg.setRanges(32)
- gg.searchNumber("R_R({83,65,103,40,11,249,31,224,203,177,215,152,126,127,143,80,52,36,71,8,236,220,255,192,164,152,183,120,94,94,111,47,29,9})", 1, false, 536870912, 0, -1)
- gg.refineNumber("R_R({83,65,103,40,11,249,31,224,203,177,215,152,126,127,143,79,61,37})", 1, false, 536870912, 0, -1)
- gg.getResults(10000)
- gg.editAll("R_R({83,65,103,40,11,249,31,224,199,185,215,152,127,108,143})", 1)
- gg.clearResults()
- gg.setRanges(gg.REGION_ANONYMOUS)
- gg.searchNumber("R_R({165,211,57,58,93,139,241,242,29,67,169,170,208,17,97,98,134,182,25,26,62,110,209,210,246,42,137,138,176,240,65,65,111,155})", gg.TYPE_BYTE, false, gg.SIGN_EQUAL, 0, -1)
- gg.refineNumber("R_R({165,211,57,58,93,139,241,242,29,67,169,170,208,17,97,97,143,183})", gg.TYPE_BYTE, false, gg.SIGN_EQUAL, 0, -1)
- gg.getResults(10000)
- gg.editAll("R_R({165,211,57,58,93,139,241,242,25,75,169,170,209,254,97})", gg.TYPE_BYTE)
- gg.setRanges(gg.REGION_ANONYMOUS)
- gg.searchNumber("R_R({165,211,57,58,93,139,241,242,29,67,169,170,208,17,97,98,141,184,25,26,68,125,209,210,11,41,137,138,176,240,65,65,111,155})", gg.TYPE_BYTE, false, gg.SIGN_EQUAL, 0, -1)
- gg.refineNumber("R_R({165,211,57,58,93,139,241,242,29,67,169,170,208,17,97,97,143,183})", gg.TYPE_BYTE, false, gg.SIGN_EQUAL, 0, -1)
- gg.getResults(10000)
- gg.editAll("R_R({165,211,57,58,93,139,241,242,25,75,169,170,209,254,97})", gg.TYPE_BYTE)
- gg.clearResults()
- gg.setRanges(gg.REGION_ANONYMOUS)
- gg.searchNumber("R_R({165,211,57,58,93,139,241,242,29,67,169,170,208,17,97,98,134,182,25,26,62,110,209,210,246,42,137,138,176,240,65,65,111,155})", gg.TYPE_BYTE, false, gg.SIGN_EQUAL, 0, -1)
- gg.refineNumber("R_R({165,211,57,58,93,139,241,242,29,67,169,170,208,17,97,97,143,183})", gg.TYPE_BYTE, false, gg.SIGN_EQUAL, 0, -1)
- gg.getResults(10000)
- gg.editAll("R_R({165,211,57,58,93,139,241,242,25,75,169,170,209,254,97})", gg.TYPE_BYTE)
- gg.setRanges(gg.REGION_ANONYMOUS)
- gg.searchNumber("R_R({165,211,57,58,93,139,241,242,29,67,169,170,208,17,97,98,141,184,25,26,68,125,209,210,11,41,137,138,176,240,65,65,111,155})", gg.TYPE_BYTE, false, gg.SIGN_EQUAL, 0, -1)
- gg.refineNumber("R_R({165,211,57,58,93,139,241,242,29,67,169,170,208,17,97,97,143,183})", gg.TYPE_BYTE, false, gg.SIGN_EQUAL, 0, -1)
- gg.getResults(10000)
- gg.editAll("R_R({165,211,57,58,93,139,241,242,25,75,169,170,209,254,97})", gg.TYPE_BYTE)
- gg.clearResults()
- gg.setRanges(gg.REGION_C_ALLOC | gg.REGION_OTHER)
- gg.searchNumber("620,137,442,967,552", gg.TYPE_QWORD, nil, nil, nil, nil)
- gg.refineNumber("620,137,442,967,552", gg.TYPE_QWORD)
- gg.getResults(500)
- gg.editAll("288233678981562368", gg.TYPE_QWORD)
- gg.clearResults()
- gg.setRanges(gg.REGION_C_ALLOC | gg.REGION_OTHER)
- gg.searchNumber("620,137,442,967,552", gg.TYPE_QWORD, nil, nil, nil, nil)
- gg.refineNumber("620,137,442,967,552", gg.TYPE_QWORD)
- gg.getResults(5000)
- gg.editAll("288233678981562368", gg.TYPE_QWORD)
- gg.clearResults()
- gg.setRanges(gg.REGION_C_ALLOC | gg.REGION_OTHER)
- gg.searchNumber("578351706144768;564058054983680", gg.TYPE_QWORD, nil, nil, nil, nil)
- gg.refineNumber("578351706144768", gg.TYPE_QWORD)
- gg.getResults(5000)
- gg.editAll("288233678981562368", gg.TYPE_QWORD)
- gg.setRanges(gg.REGION_C_ALLOC | gg.REGION_OTHER)
- gg.searchNumber("577252194516992;288233678981562368", gg.TYPE_QWORD, nil, nil, nil, nil)
- gg.refineNumber("577252194516992", gg.TYPE_QWORD)
- gg.getResults(5000)
- gg.editAll("288233678981562368", gg.TYPE_QWORD)
- gg.clearResults()
- gg.setRanges(gg.REGION_C_ALLOC | gg.REGION_OTHER)
- gg.searchNumber("132098;133635", gg.TYPE_DWORD, nil, nil, nil, nil)
- gg.refineNumber("132098", gg.TYPE_DWORD)
- gg.getResults(39)
- gg.editAll("288233678981562368", gg.TYPE_QWORD)
- gg.setRanges(gg.REGION_C_ALLOC | gg.REGION_OTHER)
- gg.searchNumber("133634;134914", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1)
- gg.refineNumber("133634", gg.TYPE_DWORD)
- gg.getResults(39)
- gg.editAll("288233678981562368", gg.TYPE_QWORD)
- gg.setRanges(gg.REGION_C_ALLOC | gg.REGION_OTHER)
- gg.searchNumber("134,914;135,682", gg.TYPE_DWORD, nil, nil, nil, nil)
- gg.refineNumber("134,914", gg.TYPE_DWORD)
- gg.getResults(50000)
- gg.editAll("135682", gg.TYPE_DWORD)
- gg.setRanges(gg.REGION_C_ALLOC | gg.REGION_OTHER)
- gg.searchNumber("131,842;134,658", gg.TYPE_DWORD, nil, nil, nil, nil)
- gg.refineNumber("131,842", gg.TYPE_DWORD)
- gg.getResults(5000)
- gg.editAll("135682", gg.TYPE_DWORD)
- gg.setRanges(gg.REGION_C_ALLOC)
- gg.searchNumber("132,098;131,586", gg.TYPE_DWORD, nil, nil, nil, nil)
- gg.refineNumber("132,098", gg.TYPE_DWORD)
- gg.getResults(5000)
- gg.editAll("135682", gg.TYPE_DWORD)
- gg.setRanges(gg.REGION_C_ALLOC | gg.REGION_OTHER)
- gg.searchNumber("1.87978584e-40", gg.TYPE_FLOAT, nil, nil, nil, nil)
- gg.getResults(22)
- gg.editAll("1504770736", gg.TYPE_FLOAT)
- gg.clearResults()
- gg.setRanges(gg.REGION_C_ALLOC | gg.REGION_OTHER)
- gg.searchNumber("1.87619851e-40", gg.TYPE_FLOAT, nil, nil, nil, nil)
- gg.getResults(31)
- gg.editAll("1504770736", gg.TYPE_FLOAT)
- gg.clearResults()
- gg.setRanges(gg.REGION_C_ALLOC | gg.REGION_OTHER)
- gg.searchNumber("768", gg.TYPE_DWORD, nil, nil, nil, nil)
- gg.refineNumber("768", gg.TYPE_DWORD)
- gg.refineNumber("768", gg.TYPE_DWORD)
- gg.getResults(39)
- gg.editAll("288233678981562368", gg.TYPE_QWORD)
- gg.getListItems()
- os.remove(gg.EXT_STORAGE .. '/Android/data/com.dts.freefireth/files/reportnew.db', gg.LOAD_APPEND)
- os.remove(gg.EXT_STORAGE .. '/Android/data/com.dts.freefireth/files/ymrtc_log.txt', gg.LOAD_APPEND)
- os.remove("/Android/data/com.dts.libil2cpp.soth/files/reportnew.db")
- os.remove("/Android/data/com.dts.libil2cpp.soth/files/ymrtc_log.txt")
- os.remove("/storage/emulated/0/Android/data/com.dts.freefireth/files/ymrtc_log_bak.txt")
- gg.searchNumber("-1.1888024e-10F;-0.00883197878F;-9,004,122,112.0F;4.8888483e24F;-0.0079164654F;1.0865689e-19F;1.0879452e-19F;4.1778991e34F:29", 16, false, 536870912, 0, -1)
- gg.refineNumber("-1.1888024e-10;-0.00883197878", 16, false, 536870912, 0, -1)
- gg.getResults(100)
- gg.editAll("120", 16)
- os.remove(gg.EXT_STORAGE .."/Android/data/com.dts.freefireth/files/reportnew.db", gg.LOAD_APPEND)
- os.remove(gg.EXT_STORAGE .."/Android/data/com.dts.freefireth/files/ymrtc_log.txt", gg.LOAD_APPEND)
- gg.searchNumber("-1.1888024e-10F;-0.00883197878F;-9,004,122,112.0F;4.8888483e24F;-0.0079164654F;1.0865689e-19F;1.0879452e-19F;4.1778991e34F:29", 16, false, 536870912, 0, -1)
- gg.refineNumber("-1.1888024e-10;-0.00883197878", 16, false, 536870912, 0, -1)
- gg.getResults(100)
- gg.editAll("120", 16)
- gg.clearResults()
- gg.toast("Bypass Complete")
- end
- function Exit()
- os.exit()
- end
- while true do
- if gg.isVisible(true) then
- XGCK = 1
- gg.setVisible(false)
- end
- gg.clearResults()
- if XGCK == 1 then
- Main()
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement