local n, startAddress, endAddress = nil, 0, 0 local function name(lib) if n == lib then return startAddress, endAddress end local ranges = gg.getRangesList(lib or 'libil2cpp.so','libanogs.so') for i, v in ipairs(ranges) do if v.state == "Xa" then startAddress = v.start endAddress = ranges[#ranges]['end'] break end end return startAddress, endAddress end local function arm(libname, offset, hex) name(libname) local t, total = {}, 0 for h in string.gmatch(hex, "%S%S") do table.insert(t, { address = startAddress + offset + total, flags = gg.TYPE_BYTE, value = h .. "r" }) total = total + 1 end local res = gg.setValues(t) if type(res) ~= 'string' then return true else gg.alert(res) return false end end arm('libanogs.so', 0x13F178, '00 00 80 D2 C0 03 5F D6') arm('libil2cpp.so', 0x3AB65C0, '00 00 80 D2 C0 03 5F D6') arm('libil2cpp.so', 0x3AB6698, '00 00 80 D2 C0 03 5F D6') arm('libil2cpp.so', 0x3AB67A0, '00 00 80 D2 C0 03 5F D6') arm('libil2cpp.so', 0x3AB68DC, '00 00 80 D2 C0 03 5F D6') arm('libil2cpp.so', 0x3AB698C, '00 00 80 D2 C0 03 5F D6') arm('libil2cpp.so', 0x3AB6A3C, '00 00 80 D2 C0 03 5F D6') arm('libil2cpp.so', 0x3AB6DB8, '00 00 80 D2 C0 03 5F D6') arm('libil2cpp.so', 0x3AB6EB0, '00 00 80 D2 C0 03 5F D6') arm('libil2cpp.so', 0x3AB706C, '00 00 80 D2 C0 03 5F D6') arm('libil2cpp.so', 0x3AB72BC, '00 00 80 D2 C0 03 5F D6') arm('libil2cpp.so', 0x3AB740C, '00 00 80 D2 C0 03 5F D6') arm('libil2cpp.so', 0x3AB76D4, '00 00 80 D2 C0 03 5F D6') arm('libil2cpp.so', 0x3AB7724, '00 00 80 D2 C0 03 5F D6') arm('libil2cpp.so', 0x3AB6C14, '00 00 80 D2 C0 03 5F D6') arm('libil2cpp.so', 0x3AB6618, '00 00 80 D2 C0 03 5F D6') arm('libil2cpp.so', 0x3AB66FC, '00 00 80 D2 C0 03 5F D6') arm('libil2cpp.so', 0x3AB681C, '00 00 80 D2 C0 03 5F D6') arm('libil2cpp.so', 0x3AB691C, '00 00 80 D2 C0 03 5F D6') arm('libil2cpp.so', 0x3AB69CC, '00 00 80 D2 C0 03 5F D6') arm('libil2cpp.so', 0x3AB6BA0, '00 00 80 D2 C0 03 5F D6') arm('libil2cpp.so', 0x3AB6FF8, '00 00 80 D2 C0 03 5F D6') arm('libil2cpp.so', 0x3AB71C8, '00 00 80 D2 C0 03 5F D6') arm('libil2cpp.so', 0x3AB6D38, '00 00 80 D2 C0 03 5F D6') arm('libil2cpp.so', 0x3AB723C, '00 00 80 D2 C0 03 5F D6') arm('libil2cpp.so', 0x3AB6E18, '00 00 80 D2 C0 03 5F D6') arm('libil2cpp.so', 0x3AB75A0, '00 00 80 D2 C0 03 5F D6') arm('libil2cpp.so', 0x3AB7654, '00 00 80 D2 C0 03 5F D6') arm('libil2cpp.so', 0x3AB7344, '00 00 80 D2 C0 03 5F D6') arm('libil2cpp.so', 0x2150A34, '20 00 80 D2 C0 03 5F D6') arm('libil2cpp.so', 0x2150964, '20 00 80 D2 C0 03 5F D6') function Main() menu = gg.multiChoice({ "Hack Map", "Camera", "EXIT" }, nil, "Name Package com.levelinfinite.sgameGlobal \n\n Version \n\n Arm : arm64-v8a") if menu == nil then else if menu[1] == true then HackMap() end if menu[2] == true then Camera() end if menu[3] == true then exit() end end XGCK = -1 end function HackMap() tot = gg.alert("【Hack Map】\n\n ", "Disable", "Enable") if tot == 1 then arm("libil2cpp.so", 0x2EE5830, "F6 03 02 2A") gg.toast("Disable") end if tot == 2 then arm("libil2cpp.so", 0x2EE5830,"F6 03 FF 2A") gg.toast("Enable") end end function Camera() tot = gg.alert(" Camera \n\n\n\n ", "×1","×2","×3","×4") if tot == 1 then arm("libil2cpp.so", 0x2718A00, "F4 4F BE A9 FD 7B 01 A9") gg.toast("×1") end if tot == 2 then arm("libil2cpp.so", 0x2718A00, "00 10 20 1E C0 03 5F D6") gg.toast("×2") end if tot == 3 then arm("libil2cpp.so", 0x2718A00, "00 10 21 1E C0 03 5F D6") gg.toast("×3") end if tot == 4 then arm("libil2cpp.so", 0x2718A00, "00 10 22 1E C0 03 5F D6") gg.toast("×4") end 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