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

    • RuPaul's Drag Race Match Queen v3.3.33 +8 Jailed Cheats [ Unlimited Everything ]
      Modded/Hacked App: RuPaul's Drag Race Match Queen By East Side Games Inc
      Bundle ID: com.eastsidegames.rupaulmatch
      App Store Link: https://apps.apple.com/us/app/rupauls-drag-race-match-queen/id6476321629?uo=4

       
       

      🤩 Hack Features

      - Freeze Coins
      - Freeze Cash
      - Freeze Lives
      - Freeze Tokens
      - Freeze Pre-Level Boosters
      - Freeze In-Level Boosters
      - Freeze Moves
      - Auto Win
        • Thanks
        • Winner
        • Like
      • 10 replies
    • RuPaul's Drag Race Match Queen v3.3.33 +8 Cheats [ Unlimited Everything ]
      Modded/Hacked App: RuPaul's Drag Race Match Queen By East Side Games Inc
      Bundle ID: com.eastsidegames.rupaulmatch
      App Store Link: https://apps.apple.com/us/app/rupauls-drag-race-match-queen/id6476321629?uo=4

       
       

      🤩 Hack Features

      - Freeze Coins
      - Freeze Cash
      - Freeze Lives
      - Freeze Tokens
      - Freeze Pre-Level Boosters
      - Freeze In-Level Boosters
      - Freeze Moves
      - Auto Win
        • Informative
        • Thanks
        • Like
      • 9 replies
    • Dynasty Warriors ( 真・三國無双 覇 ) v1.0.19 +3 Jailed Cheats [ Damage & Defence ]
      Modded/Hacked App: 真・三國無双 覇 By SUPERNOVA OVERSEAS LIMITED
      Bundle ID: com.supernova.ssgms.jp.ios
      App Store Link: https://apps.apple.com/jp/app/%E7%9C%9F-%E4%B8%89%E5%9C%8B%E7%84%A1%E5%8F%8C-%E8%A6%87/id6461309538?uo=4

       


      🤩 Hack Features

      - Damage Multiplier
      - Defence Multiplier
      - God Mode
      • 1 reply
    • Dead Ahead: Roadside v0.3.651 +5 Jailed Cheats [ Damage & Defence ]
      Modded/Hacked App: Dead Ahead: Roadside By ABE Entertainment Limited
      Bundle ID: com.mobirate.deadaheadgo
      App Store Link: Join the Dead Ahead: Roadside beta - TestFlight - Apple

       


      🤩 Hack Features

      - Damage Multiplier
      - Defence Multiplier
      - God Mode
      - Gold Multiplier
      - XP Multiplier
      • 0 replies
    • Dead Ahead: Roadside v0.3.651 +5 Cheats [ Damage & Defence ]
      Modded/Hacked App: Dead Ahead: Roadside By ABE Entertainment Limited
      Bundle ID: com.mobirate.deadaheadgo
      App Store Link: Join the Dead Ahead: Roadside beta - TestFlight - Apple

       
       

      🤩 Hack Features

      - Damage Multiplier
      - Defence Multiplier
      - God Mode
      - Gold Multiplier
      - XP Multiplier
      • 1 reply
    • Plants vs. Zombies™ 2 v12.5.2 +4 Cheats [Unlimited Currencies]
      Modded/Hacked App: Plants vs. Zombies™ 2 By PopCap
      Bundle ID: com.popcap.ios.PvZ2
      iTunes Store Link: https://itunes.apple.com/us/app/plants-vs-zombies-2/id597986893
       

      Mod Requirements:
      - Non-Jailbroken/Jailed or Jailbroken iPhone/iPad/iPod Touch.
      - Cydia Impactor.
      - A Computer Running Windows/Mac/Linux.


      Hack Features:
      - Unlimited Coins
      - Unlimited Gems
      - Unlimited Mints
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 3,792 replies
    • Fitness RPG: Hero health game v5.6 [ +6 Cheats ] ADS NO
      Modded/Hacked App: Fitness RPG: Hero health game By Shikudo Co., Ltd.
      Bundle ID: com.shikudo.fitrpg
      App Store Link: https://apps.apple.com/ca/app/fitness-rpg-hero-health-game/id1252580641?uo=4

      🤩 Hack Features

      - ADS NO / Rewards Free
      - Super Card Active
      - Normal Card Active
      - Currency / NO Need
      - Resources / NO Need
      - DMG / When Opp Turn OFF
        • Thanks
        • Like
      • 1 reply
    • Fitness RPG: Hero health game v5.6 [ +6 Jailed ] ADS NO
      Modded/Hacked App: Fitness RPG: Hero health game By Shikudo Co., Ltd.
      Bundle ID: com.shikudo.fitrpg
      App Store Link: https://apps.apple.com/ca/app/fitness-rpg-hero-health-game/id1252580641?uo=4

      🤩 Hack Features

      - ADS NO / Rewards Free
      - Super Card Active
      - Normal Card Active
      - Currency / NO Need
      - Resources / NO Need
      - DMG / When Opp Turn OFF
      • 1 reply
    • Travel Town - Merge Adventure v2.12.1231 Jailed Cheats +1
      Modded/Hacked App: Travel Town - Merge Adventure By Magmatic Games Ltd
      Bundle ID: io.randomco.travel
      iTunes Store Link: https://apps.apple.com/us/app/travel-town-merge-adventure/id1521236603?uo=4


      Hack Features:
      - Infinite Currencies


      iOS Hack Download Link: https://iosgods.com/topic/148953-travel-town-merge-adventure-v212287-jailed-cheats-1/
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 816 replies
    • SuperStar SMTOWN Cheats v3.26.8 +3
      Modded/Hacked App: SuperStar SMTOWN By Dalcomsoft Inc.
      Bundle ID: kr.co.dalcomsoft.superstar.i
      iTunes Store Link: https://apps.apple.com/us/app/superstar-smtown/id890937532?uo=4


      Hack Features:
      - Auto Dance
      - Never Lose Combo


      iOS Hack Download Link: https://iosgods.com/topic/161038-superstar-smtown-cheats-v378-2/
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 199 replies
    • Soul Huntress: Dungeon Crawler v1.0.9 [+3 Jailed Cheats]
      Modded/Hacked App: Soul Huntress: Dungeon Crawler By Panthera Joint Stock Company
      Bundle ID: com.pantheraplay.soulhuntress
      App Store Link: https://apps.apple.com/ph/app/soul-huntress-dungeon-crawler/id6743422594?uo=4


      🤩 Hack Features

      - Never Die
      - Unlimited Currency (Always Will Increase Spend)
      - Always Can Use Items (Even when has cooldown)
        • Informative
        • Agree
        • Thanks
        • Winner
        • Like
      • 36 replies
    • Soul Huntress: Dungeon Crawler v1.0.9 [+3 Cheats]
      Modded/Hacked App: Soul Huntress: Dungeon Crawler By Panthera Joint Stock Company
      Bundle ID: com.pantheraplay.soulhuntress
      App Store Link: https://apps.apple.com/ph/app/soul-huntress-dungeon-crawler/id6743422594?uo=4



      🤩 Hack Features

      - Never Die
      - Unlimited Currency (Always Will Increase Spend)
      - Always Can Use Items (Even when has cooldown)
        • Agree
        • Thanks
        • Winner
        • Like
      • 40 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