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

    • Genshin Impact Cheats v5.8.0 +3
      Modded/Hacked App: Genshin Impact by miHoYo Limited
      Bundle ID: com.miHoYo.GenshinImpact
      iTunes Store Link: https://apps.apple.com/us/app/genshin-impact/id1517783697?uo=4&at=1010lce4


      Hack Features:
      - Instant Skill
      - Instant Special Skill (Elemental Burst)
      - Infinite Stamina
        + Infinite Sprint Time
        + Infinite Swim Time
        + Infinite Fly Time


      iOS Hack Download Link: https://iosgods.com/topic/134035-genshin-impact-cheat-v101-3-instant-skill-more/
      • 3,651 replies
    • Grow Survivor V8.1.0 [ +3 Cheats ] DMG
      Modded/Hacked App: Grow Survivor By gitae park
      Bundle ID: com.pixelstar.GrowSurvivor
      iTunes Store Link: https://apps.apple.com/us/app/grow-survivor/id1361842156?uo=4

      Hack Features:
      - Ammo Max [ Just Tap To Shoot Enemy ]
      - No Reload [ Just Tap To Shoot Enemy ]
      - DMG [ Just Change Gun ]
      • 8 replies
    • Grow Survivor V8.1.0 [ +3 Jailed ] DMG
      Modded/Hacked App: Grow Survivor By gitae park
      Bundle ID: com.pixelstar.GrowSurvivor
      iTunes Store Link: https://apps.apple.com/us/app/grow-survivor/id1361842156?uo=4


      Hack Features:

      - Ammo Max [ Just Tap To Shoot Enemy ]
      - No Reload [ Just Tap To Shoot Enemy ]
      - DMG [ Just Change Gun ]
      • 11 replies
    • Tiny Legends: RPG War Game v0.2.69 [ +8 Cheats ] Currency Max
      Modded/Hacked App: Tiny Legends: RPG War Game By DynamicNext Technologies Private Limited
      Bundle ID: com.dn.games.mergewars.tinylegends
      App Store Link: https://apps.apple.com/us/app/tiny-legends-rpg-war-game/id6479631220?uo=4

       
      🤩 Hack Features

      - ADS NO [ Rewards Free ]

      - Gems [ Store Open -Deals- [Daily Unit Purchase] Just ADD Then Show Negative Value Buy ] 

      - Energy Refil Cost 0

      - Mana Refil Cost 0

      - Speed UP Cost 0

      - Auto Play Max

      - Trop Card Cost 0 [ In The Battle 1 Buy ]

      - Battle Speed Max 30
      • 31 replies
    • Tiny Legends: RPG War Game v0.2.69 [ +8 Jailed ] Currency Max
      Modded/Hacked App: Tiny Legends: RPG War Game By DynamicNext Technologies Private Limited
      Bundle ID: com.dn.games.mergewars.tinylegends
      App Store Link: https://apps.apple.com/us/app/tiny-legends-rpg-war-game/id6479631220?uo=4


      🤩 Hack Features

      - ADS NO [ Rewards Free ]

      - Gems [ Store Open -Deals- [Daily Unit Purchase] Just ADD Then Show Negative Value Buy ] 

      - Energy Refil Cost 0

      - Mana Refil Cost 0

      - Speed UP Cost 0

      - Auto Play Max

      - Trop Card Cost 0 [ In The Battle 1 Buy ]

      - Battle Speed Max 30
      • 22 replies
    • Skullgirls Fighting RPG V7.4.2 [ +6 Jailed ] Auto Win
      Modded/Hacked App: Skullgirls: Fighting RPG By Autumn Games, LLC
      Bundle ID: com.autumn.skullgirls
      iTunes Store Link: https://apps.apple.com/us/app/skullgirls-fighting-rpg/id1280762571?uo=4


      Hack Features:

      - Auto win

      - Damage [ One HiT WiN ]

      - Energy Max

      - Skill

      - Enemy Disable

      - Goals Claimed [ Free Pass Only ]
      • 48 replies
    • Skullgirls Fighting RPG V7.4.2 [ +6 Cheats ] Auto Win
      Modded/Hacked App: Skullgirls: Fighting RPG By Autumn Games, LLC
      Bundle ID: com.autumn.skullgirls
      iTunes Store Link: https://apps.apple.com/us/app/skullgirls-fighting-rpg/id1280762571?uo=4


      Hack Features:
      - Auto win

      - Damage [ One HiT WiN ]

      - Energy Max

      - Skill

      - Enemy Disable

      - Goals Claimed [ Free Pass Only ]
      • 137 replies
    • Backpacker™ Go! v1.5.11 [ +3 Cheats ] Dice Unlimited
      Modded/Hacked App: Backpacker™ Go! By Qiiwi Games AB
      Bundle ID: com.qiiwi.backpackergo
      iTunes Store Link: https://apps.apple.com/us/app/backpacker-go/id6478389736?uo=4


      Hack Features:
      - ADS NO [ Between Playing ] 
      - Cash Unlimited [ This Hack Linked Other Items - Ticket Exp Etc. Use Only Cash ] Use Another Items Maybe Game Freeze But Works  
      - Dice Unlimited
      • 25 replies
    • Backpacker™ Go! v1.5.11 [ +3 Jailed ] Dice Unlimited
      Modded/Hacked App: Backpacker™ Go! By Qiiwi Games AB
      Bundle ID: com.qiiwi.backpackergo
      iTunes Store Link: https://apps.apple.com/us/app/backpacker-go/id6478389736?uo=4



      Hack Features:
      - ADS NO [ Between Playing ] 
      - Cash Unlimited [ This Hack Linked Other Items - Ticket Exp Etc. Use Only Cash ] Use Another Items Maybe Game Freeze But Works  
      - Dice Unlimited 
      • 32 replies
    • Heroes vs. Hordes: Survivor v5.4.3 [ +11 Cheats ] Currency Max
      Modded/Hacked App: Heroes vs. Hordes: Survivor By Swift Games GmbH
      Bundle ID: com.swiftgames.roguelikesurvival
      iTunes Store Link: https://apps.apple.com/us/app/heroes-vs-hordes-survivor/id1608898173?uo=4

       
      Hack Features

      - Currency

      - Resource

      - Gold Unlimited [ Bonus Wave ]

      - Ch Unlocked [ Play All Off ]

      - Always Last Wave

      - Talents Cost 0

      - Hero DMG Only

      - HP & DMG [ Just Equip & Unequip ]

      - Enemy Freeze

      - Enemy ATK NO

       
      For Non-Jailbroken & No Jailbreak required hacks: https://iosgods.com/forum/79-no-jailbreak-section/
      Modded Android APK(s): https://iosgods.com/forum/68-android-section/
      • 81 replies
    • Heroes vs. Hordes: Survivor v5.4.3 [ +11 Jailed ] Currency Max
      Modded/Hacked App: Heroes vs. Hordes: Survivor By Swift Games GmbH
      Bundle ID: com.swiftgames.roguelikesurvival
      iTunes Store Link: https://apps.apple.com/us/app/heroes-vs-hordes-survivor/id1608898173?uo=4

       

       

      Mod Requirements

      - Non-Jailbroken/Jailed or Jailbroken iPhone or iPad.
      - Sideloadly or alternatives.
      - Computer running Windows/macOS/Linux with iTunes installed.

       

      Hack Features

      - Currency

      - Resource

      - Gold Unlimited [ Bonus Wave ]

      - Ch Unlocked [ Play All Off ]

      - Always Last Wave

      - Talents Cost 0

      - Hero DMG Only

      - HP & DMG [ Just Equip & Unequip ]

      - Enemy Freeze

      - Enemy ATK NO


      Jailbreak required iOS hacks: https://iosgods.com/forum/5-game-cheats-hack-requests/
      Modded Android APKs: https://iosgods.com/forum/68-android-section/

       

      iOS Hack Download IPA Link


      Hidden Content

      Download via the iOSGods App
      • 96 replies
    • Dragon Wings: RPG Shoot em up v1.9.0 [ +5 Cheats ] Currency Max
      Modded/Hacked App: Dragon Wings: RPG Shoot 'em up By Spirit Bomb Company Limited
      Bundle ID: rpg.arcade.space.shooter.dragon.wings
      App Store Link: https://apps.apple.com/us/app/dragon-wings-rpg-shoot-em-up/id6741735947?uo=4

       

      🤩 Hack Features

      - Super Card Active

      - Gems

      - Gold

      - Never Die

      - ATK 
      • 25 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