About This File
A simple, somewhat useless script to convert an offset to a function for patching "hookOne" offsets:
function hookOne(library, flag, offset, value)
list = gg.getRangesList(library)
for i in pairs(list) do
if list[i].state == "Xa" then
start = list[i].start
break
end
end
local t = {}
t[1] = {}
t[1].address = start + offset
t[1].value = value
t[1].flags = flag
gg.setValues(t)
end