Jump to content

How do I make an OHK


Go to solution Solved by Ted2,

2 posts in this topic

Recommended Posts

Posted (edited)

I have this function which has the string "TotalDamage" in it. I know to godmode it's to RET the lose health, etc. But for OHK I actually have to change the values so it's big. So can I just change the values stored in the registers by not changing the flow of the script?

__text:000000010145D448 sub_10145D448                           ; DATA XREF: __const:00000001028F9C38↓o
__text:000000010145D448
__text:000000010145D448 var_10          = -0x10
__text:000000010145D448 var_s0          =  0
__text:000000010145D448
__text:000000010145D448                 STP             X20, X19, [SP,#-0x10+var_10]!
__text:000000010145D44C                 STP             X29, X30, [SP,#0x10+var_s0]
__text:000000010145D450                 ADD             X29, SP, #0x10
__text:000000010145D454                 MOV             X19, X0
__text:000000010145D458                 LDR             X8, [X19,#8]
__text:000000010145D45C                 LDR             X0, [X8]
__text:000000010145D460                 MOV             W1, #0x18
__text:000000010145D464                 MOV             X2, #0
__text:000000010145D468                 BL              sub_100A732C4
__text:000000010145D46C                 LDR             X8, [X19,#8]
__text:000000010145D470                 LDR             X19, [X8,#8]
__text:000000010145D474                 ADRP            X0, #aTotaldamagedon@PAGE ; "TotalDamageDone"
__text:000000010145D478                 ADD             X0, X0, #aTotaldamagedon@PAGEOFF ; "TotalDamageDone"
__text:000000010145D47C                 BL              sub_102089C74
__text:000000010145D480                 MOV             X1, X0
__text:000000010145D484                 MOV             X0, X19
__text:000000010145D488                 MOV             X2, #0
__text:000000010145D48C                 LDP             X29, X30, [SP,#0x10+var_s0]
__text:000000010145D490                 LDP             X20, X19, [SP+0x10+var_10],#0x20
__text:000000010145D494                 B               sub_100AD0780
__text:000000010145D494 ; End of function sub_10145D448

 

 

Updated by bbReakMe
  • Like 1
  • Solution
Posted

Try in this function

MOV W0, W29 //Huge Value
RET //Skip the rest

But maybe you have to xref the sub_x functions.

 

You can also set a breakpoint on this function to figure out which register holds the damage value.

Also, for godmode it's not always just RET.

Mostly health is stored as a float, which means you mostly hack floats.

 

But on unity games everything is diffrent LUL

  • Thanks 1

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

    • Conquer Countries v9.30 +5 Jailed Cheats [ Unlimited Currencies ]
      Modded/Hacked App: Conquer Countries By SUPERSONIC STUDIOS LTD
      Bundle ID: com.ridgge.conquercountries
      iTunes Store Link: https://apps.apple.com/us/app/conquer-countries/id6480472116?uo=4

       
       

      Hack Features

      - Add Money*
      - Add People*
      - Add Knowledge*
      - Unlimited Gems -> Earn some.
      -- Gold Pass Purchased

      * - Head into Settings and toggle the Sound button. Only enable 1 feature at a time.


      Jailbreak required iOS hacks: [Mod Menu Hack] Conquer Countries v9.0 +5 Cheats [ Unlimited Currencies ] - Free Jailbroken Cydia Cheats - iOSGods
      Modded Android APKs: https://iosgods.com/forum/68-android-section/
      • 36 replies
    • Conquer Countries v9.30 +5 Cheats [ Unlimited Currencies ]
      Modded/Hacked App: Conquer Countries By SUPERSONIC STUDIOS LTD
      Bundle ID: com.ridgge.conquercountries
      iTunes Store Link: https://apps.apple.com/us/app/conquer-countries/id6480472116?uo=4

       
       

      Hack Features

      - Add Money*
      - Add People*
      - Add Knowledge*
      - Unlimited Gems -> Earn some.
      -- Gold Pass Purchased

      * - Head into Settings and toggle the Sound button. Only enable 1 feature at a time.


      For Non-Jailbroken & No Jailbreak required hacks: [IPA Mod Menu] Conquer Countries v9.0 +5 Jailed Cheats [ Unlimited Currencies ] - Free Non-Jailbroken IPA Cheats - iOSGods
      Modded Android APK(s): https://iosgods.com/forum/68-android-section/
      • 17 replies
    • Idle Zombie Miner: Gold Tycoon v2.243.1940 +1++ Jailed Cheat [ Currencies ]
      Modded/Hacked App: Idle Zombie Miner: Gold Tycoon By VISTREX LIMITED
      Bundle ID: com.zombie.idleminertycoon
      iTunes Store Link: https://apps.apple.com/us/app/idle-zombie-miner-gold-tycoon/id6471983323?uo=4


      Hack Features:
      - Unlimited Currencies -> Will increase instead of decrease.


      Jailbreak required hack(s): [Mod Menu Hack] Idle Zombie Miner: Gold Tycoon v2.53.1001 +1++ Cheat [ Unlimited Currencies ] - Free Jailbroken Cydia Cheats - iOSGods
      Modded Android APK(s): https://iosgods.com/forum/68-android-section/
      For more fun, check out the Club(s): https://iosgods.com/clubs/
      • 109 replies
    • Idle Zombie Miner: Gold Tycoon v2.243.1940 +1++ Cheat [ Currencies ]
      Modded/Hacked App: Idle Zombie Miner: Gold Tycoon By VISTREX LIMITED
      Bundle ID: com.zombie.idleminertycoon
      iTunes Store Link: https://apps.apple.com/us/app/idle-zombie-miner-gold-tycoon/id6471983323?uo=4


      Hack Features:
      - Unlimited Currencies -> Will increase instead of decrease.


      Non-Jailbroken & No Jailbreak required hack(s): [Non-Jailbroken Hack] Idle Zombie Miner: Gold Tycoon v2.53.1001 +1++ Jailed Cheat [ Unlimited Currencies ] - Free Non-Jailbroken IPA Cheats - iOSGods
      Modded Android APK(s): https://iosgods.com/forum/68-android-section/
      For more fun, check out the Club(s): https://iosgods.com/clubs/
      • 72 replies
    • Disney Emoji Blitz Game v70.2.1 +1++ Jailed Cheat [ Unlimited Currencies ]
      Modded/Hacked App: Disney Emoji Blitz Game By Jam City, Inc.
      Bundle ID: com.disney.emojimatch
      iTunes Store Link: https://apps.apple.com/us/app/disney-emoji-blitz-game/id1017551780
       

      Hack Features:
      - Unlimited Currencies -> Earn some.


      Jailbreak required hack(s): https://iosgods.com/topic/168886-disney-emoji-blitz-game-all-versions-1-cheats-unlimited-currencies/
      Modded Android APK(s): https://iosgods.com/forum/68-android-section/
      For more fun, check out the Club(s): https://iosgods.com/clubs/
      • 181 replies
    • Eterspire - Fantasy MMORPG v55.0 +2 Jailed Cheats [ Damage & Defence ]
      Modded/Hacked App: Eterspire - Fantasy MMORPG By Stonehollow Workshop LLC
      Bundle ID: com.stonehollow-workshop.Eterspire
      iTunes Store Link: https://apps.apple.com/us/app/eterspire-fantasy-mmorpg/id1658183817?uo=4

       
       

      🤩 Hack Features

      - Damage Multiplier
      - Defence Multiplier
      • 26 replies
    • Eterspire - Fantasy MMORPG v55.0 +2 Cheats [ Damage & Defence ]
      Modded/Hacked App: Eterspire - Fantasy MMORPG By Stonehollow Workshop LLC
      Bundle ID: com.stonehollow-workshop.Eterspire
      iTunes Store Link: https://apps.apple.com/us/app/eterspire-fantasy-mmorpg/id1658183817?uo=4

       
       

      🤩 Hack Features

      - Damage Multiplier
      - Defence Multiplier
      • 106 replies
    • Love Sparks: Make Me Blush v2.46.0 +2++ Jailed Cheats [ Unlimited Currencies ]
      Modded/Hacked App: Love Sparks: Make Me Blush By SVEG MASHA, OOO
      Bundle ID: com.swagmasha.lovespark
      iTunes Store Link: https://apps.apple.com/us/app/love-sparks-make-me-blush/id1580105392?uo=4
       

      Hack Features:
      - Unlimited Gems -> Earn some.
      - VIP Enabled


      Jailbreak required hack(s): [Mod Menu Hack] Love Sparks: My Secret Fantasy v2.17.0 +2 Cheats [ Unlimited Gems ] - Free Jailbroken Cydia Cheats - iOSGods
      Modded Android APK(s): https://iosgods.com/forum/68-android-section/
      For more fun, check out the Club(s): https://iosgods.com/clubs/
      • 911 replies
    • Love Sparks: Make Me Blush v2.46.0 +2++ Cheats [ Unlimited Currencies ]
      Modded/Hacked App: Love Sparks: Make Me Blush By SVEG MASHA, OOO
      Bundle ID: com.swagmasha.lovespark
      iTunes Store Link: https://apps.apple.com/us/app/love-sparks-make-me-blush/id1580105392?uo=4
       

      Hack Features:
      - Unlimited Gems -> Earn some.
      - VIP Enabled


      Non-Jailbroken & No Jailbreak required hack(s): [Non-Jailbroken Hack] Love Sparks: My Secret Fantasy v2.17.0 +3 Jailed Cheats [ Unlimited Gems ] - Free Non-Jailbroken IPA Cheats - iOSGods
      Modded Android APK(s): https://iosgods.com/forum/68-android-section/
      For more fun, check out the Club(s): https://iosgods.com/clubs/
      • 393 replies
    • Disney Emoji Blitz Game v70.2.1 +1++ Cheat [ Unlimited Currencies ]
      Modded/Hacked App: Disney Emoji Blitz Game By Jam City, Inc.
      Bundle ID: com.disney.emojimatch
      iTunes Store Link: https://apps.apple.com/us/app/disney-emoji-blitz-game/id1017551780
       

      Hack Features:
      - Unlimited Currencies -> Earn some.


      Non-Jailbroken & No Jailbreak required hack(s): https://iosgods.com/topic/168888-disney-emoji-blitz-game-v5320-1-jailed-cheat-unlimited-currencies/
      Modded Android APK(s): https://iosgods.com/forum/68-android-section/
      For more fun, check out the Club(s): https://iosgods.com/clubs/
      • 60 replies
    • Train Attack: Merge War v1.0.5 [+4 Jailed Cheats]
      Modded/Hacked App: Train Attack: Merge War By MAD PIXEL GAMES LTD
      Bundle ID: adventure.train.battle.survive
      App Store Link: https://apps.apple.com/us/app/train-attack-merge-war/id6747774853?uo=4



      🤩 Hack Features

      - Remove Ads (Can crash game open again)
      - Activate Vip
      - Add Currency
      - Never Die
      • 2 replies
    • Train Attack: Merge War v1.0.5 [+4 Cheats]
      Modded/Hacked App: Train Attack: Merge War By MAD PIXEL GAMES LTD
      Bundle ID: adventure.train.battle.survive
      App Store Link: https://apps.apple.com/us/app/train-attack-merge-war/id6747774853?uo=4



      🤩 Hack Features

      - Remove Ads (Can crash game open again)
      - Activate Vip
      - Add Currency
      - Never Die
      • 4 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