• Reading Memory Wrong Offset
    0 replies, posted
Trying to learn how internals of gmod work, and use debugger in general. Wrote a small module to show where state and luabase pointers are located. [IMG]http://i.imgur.com/qyErDlI.png[/IMG] The luabase pointer should be located at 0F900205 (0x0F9001C0 + [URL="https://github.com/Facepunch/gmod-module-base/blob/master/include/GarrysMod/Lua/Interface.h#L14"]69[/URL]), but then reading in memory viewer, its off by 3 bytes. [IMG]http://i.imgur.com/yy9bEI8.png[/IMG] I've spent hours just trying to figure why its off by 3 bytes, with no success. [editline]20th March 2017[/editline] [IMG]http://i.imgur.com/mBJdEBw.png[/IMG]
Sorry, you need to Log In to post a reply to this thread.