Jump to content

10 posts in this topic

Recommended Posts

Posted (edited)

I've found a string in my game for "HealthRegen" and what I want to do is to change the value of the Health that is regened to a giant number.

So I thought to get the registers of that specific place and change some stuff for an unlinked godmode. (Enemies don't regen)

Spoiler

sub_10145D538                           ; DATA XREF: __const:00000001028F9C50↓o
__text:000000010145D538
__text:000000010145D538 var_10          = -0x10
__text:000000010145D538 var_s0          =  0
__text:000000010145D538
__text:000000010145D538                 STP             X20, X19, [SP,#-0x10+var_10]!
__text:000000010145D53C                 STP             X29, X30, [SP,#0x10+var_s0]
__text:000000010145D540                 ADD             X29, SP, #0x10
__text:000000010145D544                 MOV             X19, X0
__text:000000010145D548                 LDR             X8, [X19,#8]
__text:000000010145D54C                 LDR             X0, [X8]
__text:000000010145D550                 MOV             W1, #0x1B
__text:000000010145D554                 MOV             X2, #0
__text:000000010145D558                 BL              sub_100A732C4
__text:000000010145D55C                 LDR             X8, [X19,#8]
__text:000000010145D560                 LDR             X19, [X8,#8]
__text:000000010145D564                 ADRP            X0, #aHealthregenera@PAGE ; "HealthRegenerated"
__text:000000010145D568                 ADD             X0, X0, #aHealthregenera@PAGEOFF ; "HealthRegenerated"
__text:000000010145D56C                 BL              sub_102089C74
__text:000000010145D570                 MOV             X1, X0
__text:000000010145D574                 MOV             X0, X19
__text:000000010145D578                 MOV             X2, #0
__text:000000010145D57C                 LDP             X29, X30, [SP,#0x10+var_s0]
__text:000000010145D580                 LDP             X20, X19, [SP+0x10+var_10],#0x20
__text:000000010145D584                 B               sub_100AD0780
__text:000000010145D584 ; End of function sub_10145D538

 

 

Updated by bbReakMe
Posted

It is also the same with OHK.

__text:000000010145CEF8 sub_10145CEF8                           ; DATA XREF: __const:00000001028F9BB0↓o
__text:000000010145CEF8
__text:000000010145CEF8 var_10          = -0x10
__text:000000010145CEF8 var_s0          =  0
__text:000000010145CEF8
__text:000000010145CEF8                 STP             X20, X19, [SP,#-0x10+var_10]!
__text:000000010145CEFC                 STP             X29, X30, [SP,#0x10+var_s0]
__text:000000010145CF00                 ADD             X29, SP, #0x10
__text:000000010145CF04                 MOV             X19, X0
__text:000000010145CF08                 LDR             X8, [X19,#8]
__text:000000010145CF0C                 LDR             X20, [X8]
__text:000000010145CF10                 ADRP            X0, #aAttackpower@PAGE ; "AttackPower"
__text:000000010145CF14                 ADD             X0, X0, #aAttackpower@PAGEOFF ; "AttackPower"
__text:000000010145CF18                 BL              sub_102089C74
__text:000000010145CF1C                 MOV             X1, X0
__text:000000010145CF20                 MOV             X0, X20
__text:000000010145CF24                 MOV             X2, #0
__text:000000010145CF28                 BL              sub_100AD0780
__text:000000010145CF2C                 LDR             X8, [X19,#8]
__text:000000010145CF30                 LDR             X0, [X8,#8]
__text:000000010145CF34                 MOV             W1, #7
__text:000000010145CF38                 MOV             X2, #0
__text:000000010145CF3C                 LDP             X29, X30, [SP,#0x10+var_s0]
__text:000000010145CF40                 LDP             X20, X19, [SP+0x10+var_10],#0x20
__text:000000010145CF44                 B               sub_100A732C4
__text:000000010145CF44 ; End of function sub_10145CEF8
__text:000000010145CF44

 

Posted

I think you actually have to xref in order to get to the right function.

 

But to make sure: set a breakpoint on the function & see if it hits, read registers of it & backtrace.

Posted
1 minute ago, Ted2 said:

I think you actually have to xref in order to get to the right function.

 

But to make sure: set a breakpoint on the function & see if it hits, read registers of it & backtrace.

Is putting a breakpoint on a function possible with LLDB?

w s e -- 0xFUNCTIONGOESHERE

 

Posted
Just now, bbReakMe said:

Is putting a breakpoint on a function possible with LLDB?


w s e -- 0xFUNCTIONGOESHERE

 

w s e command is for a watchpoint.

 

Breakpoint is: ' b 0xIDAOffset + Current ASLR slide'

Posted
3 minutes ago, Ted2 said:

w s e command is for a watchpoint.

 

Breakpoint is: ' b 0xIDAOffset + Current ASLR slide'

Just to be sure, ASLR slide is the output of image list?

Posted
Just now, bbReakMe said:

Just to be sure, ASLR slide is the output of image list?

Yes, the value you substract from your watchpoints, but this time you add it.

Posted
5 minutes ago, Ted2 said:

Yes, the value you substract from your watchpoints, but this time you add it.

And the IDA offset is where there is the sub_blablabla

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

    • EndZone: Defend and Survive v1.0.1 [+3 Cheats]
      Modded/Hacked App: EndZone: Defend and Survive By Artemis Aura Limited
      Bundle ID: com.jiujiu.zombiedefense
      App Store Link: https://apps.apple.com/us/app/endzone-defend-and-survive/id6742880291?uo=4



      🤩 Hack Features

      - Never Die
      - Always Can Upgrade
      - No Resource Cost
       
      • 0 replies
    • EndZone: Defend and Survive v1.0.1 [+3 Jailed Cheats]
      Modded/Hacked App: EndZone: Defend and Survive By Artemis Aura Limited
      Bundle ID: com.jiujiu.zombiedefense
      App Store Link: https://apps.apple.com/us/app/endzone-defend-and-survive/id6742880291?uo=4



      🤩 Hack Features

      - Never Die
      - Always Can Upgrade
      - No Resource Cost
      • 0 replies
    • Island War Raid V5.8.2 [ +2 Cheats ] Win Fight
      Modded/Hacked App: Island War: Raid By SamShui Corporation
      Bundle ID: com.addictive.strategy.island.clash
      iTunes Store Link: https://apps.apple.com/us/app/island-war-raid/id1542454536?uo=4

      Hack Features:
      - Die Anyone [ Red & Blue ] Win Fight
      - Destroy Building [ Win Fight ] 



      Note:- Works Only [ Arena ]
      • 29 replies
    • Island War Raid V5.8.2 [ +2 Jailed ] Win Fight
      Modded/Hacked App: Island War: Raid By SamShui Corporation
      Bundle ID: com.addictive.strategy.island.clash
      iTunes Store Link: https://apps.apple.com/us/app/island-war-raid/id1542454536?uo=4


      Hack Features:

      - Die Anyone [ Red & Blue ] Win Fight
      - Destroy Building [ Win Fight ] 



      Note:- Works Only [ Arena ]
      • 9 replies
    • Capy Gears v1.00.001 [ +7 Cheats ] Battle Coin
      Modded/Hacked App: Capy Gears By HARVEST STAR INTERACTIVE LIMITED
      Bundle ID: com.qxgame.gear
      App Store Link: https://apps.apple.com/us/app/capy-gears/id6744058532?uo=4
       

      🤩 Hack Features

      - Battle Coin

      - Enemy ATK No

      - Enemy Delay [ Sometime Issue ]

      - Base HP

      - Moving Speed

      - Capy Hero ATK

      - Capy Hero HP
      • 0 replies
    • Capy Gears v1.00.001 [ +7 Jailed ] Battle Coin
      Modded/Hacked App: Capy Gears By HARVEST STAR INTERACTIVE LIMITED
      Bundle ID: com.qxgame.gear
      App Store Link: https://apps.apple.com/us/app/capy-gears/id6744058532?uo=4
       

      🤩 Hack Features

      - Battle Coin

      - Enemy ATK No

      - Enemy Delay [ Sometime Issue ]

      - Base HP

      - Moving Speed

      - Capy Hero ATK

      - Capy Hero HP
      • 0 replies
    • Cooking Diary Restaurant Game v2.39.1 Jailed Cheats +3
      Modded/Hacked App: Cooking Diary® Restaurant Game by MyTona Pte Ltd
      Bundle ID: com.mytonallc.cookingdiary
      iTunes Store Link: https://apps.apple.com/us/app/cooking-diary-restaurant-game/id1214763610?uo=4&at=1010lce4


      Hack Features:
      - Infinite Currencies (Get some)
      - Freeze Boosters


      iOS Hack Download Link: https://iosgods.com/topic/110310-arm64-cooking-diary-restaurant-game-v1160-3/
      • 672 replies
    • Bunker: Zombie Survival Games v5.1.15 [+4 Cheats]
      Modded/Hacked App: Bunker: Zombie Survival Games By APPWILL COMPANY LTD
      Bundle ID: bunker.zombie.survival.games
      App Store Link: https://apps.apple.com/us/app/bunker-zombie-survival-games/id1642910762?uo=4



      🤩 Hack Features

      - Remove Ads (Not Rewarded)
      - Never Die
      - Unlimited Ammo
      - Add Money (Enable Inside Game)
      • 2 replies
    • Bunker: Zombie Survival Games v5.1.15 [+4 Jailed Cheats]
      Modded/Hacked App: Bunker: Zombie Survival Games By APPWILL COMPANY LTD
      Bundle ID: bunker.zombie.survival.games
      App Store Link: https://apps.apple.com/us/app/bunker-zombie-survival-games/id1642910762?uo=4



      🤩 Hack Features

      - Remove Ads (Not Rewarded)
      - Never Die
      - Unlimited Ammo
      - Add Money (Enable Inside Game)
      • 4 replies
    • Plants vs. Zombies™ 2 v12.2.1 +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
      • 3,681 replies
    • Five Hearts Under One Roof v1.0.6 +3 Jailed Cheats [ All Chapters Unlocked ]
      Modded/Hacked App: Five Hearts Under One Roof By Storytaco.inc
      Bundle ID: com.storytaco.pc01mclient
      iTunes Store Link: https://apps.apple.com/us/app/five-hearts-under-one-roof/id6742767401?uo=4

       


      🤩 Hack Features

      - Unlimited Love Letters & All Scenes Unlocked
      - All Chapters Unlocked
      - All Ranking Characters Unlocked
      • 26 replies
    • Five Hearts Under One Roof v1.0.6 +3 Cheats [ All Chapters Unlocked ]
      Modded/Hacked App: Five Hearts Under One Roof By Storytaco.inc
      Bundle ID: com.storytaco.pc01mclient
      iTunes Store Link: https://apps.apple.com/us/app/five-hearts-under-one-roof/id6742767401?uo=4

       


      🤩 Hack Features

      - Unlimited Love Letters & All Scenes Unlocked
      - All Chapters Unlocked
      - All Ranking Characters Unlocked
      • 10 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