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

    • Gear Truck! v1.0.23 [+3 Jailed Cheats]
      Modded/Hacked App: Gear Truck! By treeplla Inc.
      Bundle ID: com.tree.hybrid.geartank
      App Store Link: https://apps.apple.com/us/app/gear-truck/id6747216965?uo=4



      🤩 Hack Features

      - Never Die
      - High Wheel Speed Gain
      - One Hit Kill
      • 5 replies
    • Gear Truck! v1.0.23 [+3 Cheats]
      Modded/Hacked App: Gear Truck! By treeplla Inc.
      Bundle ID: com.tree.hybrid.geartank
      App Store Link: https://apps.apple.com/us/app/gear-truck/id6747216965?uo=4



      🤩 Hack Features

      - Never Die
      - High Wheel Speed Gain
      - One Hit Kill
       
        • Thanks
      • 5 replies
    • Soul Huntress: Dungeon Crawler v1.1.4 [+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)
        • Winner
        • Like
      • 45 replies
    • Soul Huntress: Dungeon Crawler v1.1.4 [+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)
        • Like
      • 45 replies
    • Cannon Heroes X v1.2.27 [+2 Jailed Cheats]
      Modded/Hacked App: Cannon Heroes X By Zego Global Pte Ltd
      Bundle ID: com.ig.cannon.heroes
      App Store Link: https://apps.apple.com/us/app/cannon-heroes-x/id6744356657?uo=4



      🤩 Hack Features

      - Free IAP
      - Never Die
      - Debug Menu (Enable once then restart game. Enable again you'll see debug menu)
      • 10 replies
    • Cannon Heroes X v1.2.27 [+2 Cheats]
      Modded/Hacked App: Cannon Heroes X By Zego Global Pte Ltd
      Bundle ID: com.ig.cannon.heroes
      App Store Link: https://apps.apple.com/us/app/cannon-heroes-x/id6744356657?uo=4



      🤩 Hack Features

      - Free IAP
      - Never Die
      - Debug Menu (Enable once then restart game. Enable again you'll see debug menu)
       
      • 7 replies
    • Slay Quest v1.3.13 [+3 Cheats]
      Modded/Hacked App: Slay Quest By Quest Lab Games Korlatolt Felelossegu Tarsasag
      Bundle ID: com.questlab.slayquest
      App Store Link: https://apps.apple.com/us/app/slay-quest/id6670221918?uo=4



      🤩 Hack Features

      - Unlimited Resources
      - Never Die
      - One Hit Kill
       
      • 8 replies
    • Slay Quest v1.3.13 [+3 Jailed Cheats]
      Modded/Hacked App: Slay Quest By Quest Lab Games Korlatolt Felelossegu Tarsasag
      Bundle ID: com.questlab.slayquest
      App Store Link: https://apps.apple.com/us/app/slay-quest/id6670221918?uo=4

       

      🤩 Hack Features

      - Unlimited Resources
      - Never Die
      - One Hit Kill
      • 6 replies
    • Endless Wander - Roguelike RPG v3.0.4 [+3 Jailed Cheats]
      Modded/Hacked App: Endless Wander - Roguelike RPG By First Pick Studios
      Bundle ID: com.FirstPickStudios.Endless-Wander
      App Store Link: https://apps.apple.com/us/app/endless-wander-roguelike-rpg/id6473157705?uo=4



      🤩 Hack Features

      - Never Die
      - Always Enough Currency
      - Unlimited Currency (Will Always Increase)
      • 22 replies
    • Endless Wander - Roguelike RPG v3.0.4 [+3 Cheats]
      Modded/Hacked App: Endless Wander - Roguelike RPG By First Pick Studios
      Bundle ID: com.FirstPickStudios.Endless-Wander
      App Store Link: https://apps.apple.com/us/app/endless-wander-roguelike-rpg/id6473157705?uo=4



      🤩 Hack Features

      - Never Die
      - Always Enough Currency
      - Unlimited Currency (Will Always Increase)
       
        • Like
      • 17 replies
    • Bounce Defense v1.10.2 [+5 Jailed Cheats]
      Modded/Hacked App: Bounce Defense By Voodoo
      Bundle ID: com.minigamelab.bouncedefense
      App Store Link: https://apps.apple.com/us/app/bounce-defense/id6740627201?uo=4



      🤩 Hack Features

      - Add Currency
      - Add Battle Currency (Enable inside battle)
      - Never Die
      - Unlock All Towers
      - Unlimited Tower Cards
      • 22 replies
    • Bounce Defense v1.10.2 [+5 Cheats]
      Modded/Hacked App: Bounce Defense By Voodoo
      Bundle ID: com.minigamelab.bouncedefense
      App Store Link: https://apps.apple.com/us/app/bounce-defense/id6740627201?uo=4



      🤩 Hack Features

      - Add Currency
      - Add Battle Currency (Enable inside battle)
      - Never Die
      - Unlock All Towers
      - Unlimited Tower Cards
        • Like
      • 15 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