Jump to content

memoryTools.h | HEADER FOR WRITING/READING MEMORY


59 posts in this topic

Recommended Posts

Updated (edited)

Hello, I want to share my memory manager for iOS, it can read and write from memory, sharing it because I haven't seen anything else that lets you read memory and it's also nicer to have a templated function so you can pass a struct with 5 ints instead of having to call write_mem 5 times (CPU and code efficient) .

 

1. Create a file called memoryTools.h(doesn't matter what you call it) and paste the source to that file.

2. Place it in theos/include

3. Include it in your cheat with "#include <memoryTools.h>"

Hidden Content

React or reply to this topic to see the hidden content & download link. 👀

Usage: 

write_mem<data_type>(address, whattowrite, size(IF LEFT OUT, IT WILL USE sizeof(data_type));
data_type variable = read_mem<data_type>(address);
                     

You can pass whatever data type you want to the function so if you'd want to make a teleport cheat you could easily write a Vector3 to where your position is in memory. Saving current position could also be done with read_mem<Vector3>.

Masskill aimbots can be done by looping through all enemies and placing them infront of you.

struct Vector3
{
  public:
  float x;
  float y;
  float z;
}

Vector3 my_pos;
Vector3 teleport_pos;

teleport_pos.x = 123; teleport_pos.y = 123; teleport_pos.z = 123;

write_mem<Vector3>(get_slide() + localplayer + position_offset, teleport_pos); //Teleports you to (123,123,123)
my_pos = read_mem<Vector3>(get_slide() +  + localplayer + position_offset); //Saves your location to my_pos

Example:

#import <memoryTools.h>
#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>
#import <substrate.h>
  
%ctor 
{
	port = mach_task_self();
	write_mem<int>(get_slide() + 0x100AF9654, CFSwapInt32(0x0ED0671E));
	write_mem<int>(get_slide() + 0x100AF87AC, CFSwapInt32(0xE803679E));
}
//Final Fantasy Awakening hack. https://iosgods.com/topic/65503-final-fantasy-awakening-en-v1134-arm64-god-mod-damage-offset/

@intell Used your hack as an example, should be fine as you uploaded it? Tell me if not.

 

IMPORTANT NOTE: Before contacting me and saying "this sh!t isn't working watdefuk". Look at the example above, you need to add slide to offset and if you're writing bytes you need them in reversed order (if I remember correctly), so you need to use CFSwapInt16/32/64.

 https://developer.apple.com/documentation/corefoundation/1425262-cfswapint32?language=objc

I could've included it but when writing an integer to let's say health you wouldn't want to do it.

 

Updated by Affe2626
hide tags
  • Like 82
  • Winner 5
  • Thanks 11
  • Haha 2
  • Agree 7
  • Informative 5

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
  • Our picks

    • Temple Run 3 v0.1.0 [ +4 Cheats ] Score Multiplier
      Modded/Hacked App: Temple Run 3 By Imangi Studios, LLC
      Bundle ID: com.imangi.tr3
      App Store Link: https://apps.apple.com/ph/app/temple-run-3/id6748088379?uo=4

      🤩 Hack Features

      - Currency / No Need
      - Resources / No Need
      - Score Multiplier 
      - Jump
      • 0 replies
    • Meow Tower - Nonogram Puzzle v3.3.601 [ +3 Cheats ] Currency Max
      Modded/Hacked App: Meow Tower - Nonogram Puzzle By HyperBeard Inc.
      Bundle ID: com.grapetree.meowtower
      iTunes Store Link: https://apps.apple.com/us/app/meow-tower-nonogram-puzzle/id1579122980?uo=4


      🚀 Hack Features

      - ADS NO
      - Gold CANS
      - Pencil Max 
      - Hints Max
      • 12 replies
    • Meow Tower - Nonogram Puzzle v3.3.601 [ +3 Jailed ] Currency Max
      Modded/Hacked App: Meow Tower - Nonogram Puzzle By HyperBeard Inc.
      Bundle ID: com.grapetree.meowtower
      iTunes Store Link: https://apps.apple.com/us/app/meow-tower-nonogram-puzzle/id1579122980?uo=4
       

      🚀 Hack Features

      - ADS NO
      - Gold CANS
      - Pencil Max 
      - Hints Max 
      • 19 replies
    • Travel Merge Family v2.725 [ +1++ Cheats ] Currency Max
      Travel Merge Family

      🤩 Hack Features

      - Currency Max 
      • 9 replies
    • Travel Merge Family v2.725 [ +1++ Jailed ] Currency Max
      Modded/Hacked App: Travel Merge Family By Arruga Corp.
      Bundle ID: com.ArrugaCorp.TravelMergeFamily
      App Store Link: https://apps.apple.com/us/app/travel-merge-family/id6553995556?uo=4


      🤩 Hack Features

      - Currency Max
      • 9 replies
    • Archer Hunter: Roguelike Game v1.33.500 [ +4 Jailed ] Currency Max
      Modded/Hacked App: Archer Hunter: Roguelike Game By Suga Pte. Ltd.
      Bundle ID: co.imba.archero
      iTunes Store Link: https://apps.apple.com/us/app/archer-hunter-roguelike-game/id1543119725?uo=4


      🤩 Hack Features

      - Gems [ Revive To Get Disable After Hack ]
      - Coins [ Weapon Up To Get Disable After Hack ]
      - HP [ Check Status ]
      - ATK [ Check Status ]


      🍏 Jailbreak iOS hacks: https://iosgods.com/forum/5-game-cheats-hack-requests/
      🤖 Modded Android APKs: https://iosgods.com/forum/68-android-section/
      • 38 replies
    • Archer Hunter: Roguelike Game v1.33.500 [ +4 Cheats ] Currency Max
      Modded/Hacked App: Archer Hunter: Roguelike Game By Suga Pte. Ltd.
      Bundle ID: co.imba.archero
      iTunes Store Link: https://apps.apple.com/us/app/archer-hunter-roguelike-game/id1543119725?uo=4



      🤩 Hack Features

      - Gems [ Revive To Get Disable After Hack ]
      - Coins [ Weapon Up To Get Disable After Hack ]
      - HP [ Check Status ]
      - ATK [ Check Status ] 


      🍏 For Non-Jailbroken & No Jailbreak required hacks: https://iosgods.com/forum/79-no-jailbreak-section/
      🤖 Modded Android APKs: https://iosgods.com/forum/68-android-section/

       

      ⬇️ iOS Hack Download Link


      Hidden Content

      Download Hack
      • 24 replies
    • Jolly Match 3 - Puzzle Game v1.0.2090 [ +5 Cheats ] Auto Win
      Modded/Hacked App: Jolly Match 3 - Puzzle Game By Jollyco LLC
      Bundle ID: com.jollyco.jollybattlematch3
      App Store Link: https://apps.apple.com/us/app/jolly-match-3-puzzle-game/id1554274735?uo=4


      🤩 Hack Features

      - Auto Win

      - Coins

      - Stars

      - Lives

      - Booster
      • 7 replies
    • Jolly Match 3 - Puzzle Game v1.0.2090 [ +5 Jailed ] Auto Win
      Modded/Hacked App: Jolly Match 3 - Puzzle Game By Jollyco LLC
      Bundle ID: com.jollyco.jollybattlematch3
      App Store Link: https://apps.apple.com/us/app/jolly-match-3-puzzle-game/id1554274735?uo=4


      🤩 Hack Features

      - Auto Win

      - Coins

      - Stars

      - Lives

      - Booster
      • 8 replies
    • Pop Island v1.2.4 [ +1 Cheats ] Coins Max
      Modded/Hacked App: Pop Island By HISTAR INTERACTIVE PTE. LTD.
      Bundle ID: com.hmbdgames.match
      iTunes Store Link: https://apps.apple.com/us/app/pop-island/id6505047210?uo=4


      🤩 Hack Features

      - Coins [ Win Match Disable After Hack ]


      • 25 replies
    • Pop Island v1.2.4 [ +1 Jailed ] Coins Max
      Modded/Hacked App: Pop Island By HISTAR INTERACTIVE PTE. LTD.
      Bundle ID: com.hmbdgames.match
      iTunes Store Link: https://apps.apple.com/us/app/pop-island/id6505047210?uo=4


      🤩 Hack Features

      - Coins [ Win Match Disable After Hack ]


      • 25 replies
    • Domino Dreams™ v1.45.3 [ +10 Cheats ] Auto Win
      Modded/Hacked App: Domino Dreams™ By SuperPlay LTD
      Bundle ID: com.superplaystudios.dominodreams
      iTunes Store Link: https://apps.apple.com/us/app/domino-dreams/id6444043291?uo=4



      🤩 Hack Features

      - Coins Unlimited [ LvL Rewards ]

      - Stars Unlimited [ Win LvL Then Back Show Stars Hacked Disable Cheat Close App Again Open Then Work Stars Don't Use Again ] Linked With Some Task

      - Ticket Free Max [ Linked With Stars ] LvL Cost

      - Undo Max [ Linked With Stars ] 

      - Gold Card Max [ Linked With Stars ] 

      - Chapter Next [ Play LvL Quit & Win ]

      - Avatar Unlocked [ Play LvL Win After Unlocked Don"t Use Again ]

      - Auto Win LvL [ Play LvL Move Anything ] 

      - Bonus Mod LvL [ ON-OFF ] 

      - Spin Free [ Need One Point only Open Play LvL ]
      • 28 replies
×
  • Create New...

Important Information

We would like to place cookies on your device to help make this website better. The website cannot give you the best user experience without cookies. You can accept or decline our cookies. You may also adjust your cookie settings. Privacy Policy - Guidelines