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
Recommended Comments
There are no comments to display.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now