Fixed a few offsets to get correct gadget addresses.