Search the Community
Showing results for tags 'LoadResults'.
-
How can i load the addresses from new allocated memory pages. When i use gg.loadResults it only loads the addresses from the already existing memory pages. The script is supposed to load the table 'q'. Which are addresses from new allocated memory pages. I want to edit all the bytes to some UTF16 characters using gg.editAll. But do let me know if there is other way. menu = {} menu[1] = {address = gg.allocatePage(gg.PROT_WRITE) + 0x10, flags = gg.TYPE_QWORD} strings = {} loop = 0 for i, v in ipairs(menu) do for i= 1, 118 do strings[#strings + 1] = {address = menu[1].address + loop, flags = gg.TYPE_BYTE} loop = loop + 1 end end q = gg.getValues(strings) gg.loadResults(q)