Jump to content

function


 Share

Recommended Posts

function getBaseAddr(Lib)

  for i, v in ipairs(gg.getRangesList(Lib)) do

    if v.state=="Xa" then return v.start end

  end

end

 

lib, offset = "ur lib name", 0x1234

base= getBaseAddr(lib)

 

t = {}

t[1]={address=base+offset, flags=gg.TYPE_DWORD, value=123}

gg.setValues(t)

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.