Jump to content

How to hack games using ida pro / ida pro tutorial


13 posts in this topic

Recommended Posts

Updated (edited)

Ida Pro 7.0 + All Decompilers Full Leak-Pass

Ā 

Download link:

Hidden Content

React or reply to this topic to see the hidden content & download link. šŸ‘€

How to hack games using ida pro / ida pro tutorial

Here is a good tutorial for anyone who is willing to learn what the arm assembly language is and how do you understand it.
Steps of doing:
Ā 

1. Check the Game --> What could be hacked? What names the functions could have?

2. Load the Binary(lib file in lib folder) in IDA -->Check if load resources is checked

3. Let the IDA time to load

4. After that open up a Hexeditor and put the Binary in it

______________________________________________

Useful searches:

(the big ones are the key words)


Player's Life: life,health,damage,hp,live,power

e.g: CSoldierHero::takeDamage
e.g: CPlayer::removeHealth

Points: points,score,mp

e.g: Game::UpdatePoints
e.g: Game::AddPoints
e.g: Game::loadScore

Ammo: ammo,shoot,shot,fire,weapon

e.g CPlayer:: ProcessShooting
e.g CPlayer::fire
e.g xxx::subAmmo

If you have other things like 'speed' or 'suns' or something just try different options

Extras:

-level -->level up cheats
-powerups -->megajump,doodlejump
-some keywords depend on the game.. rpg,action,fun,...
-kill -->splinter cell
-Unlock --> Unlock is an important keyword *

______________________________________________

WHAT TO DO...?

ADD(e.g score): set to MOV R0,#480000000*
set the registers or the value after #xx to very high

SUB(e.g ammo): change to ADD,NOP it. Or set the SUB to #0

RSB(reverse subtract --take damage): NOP it or set the registers to low or try to change to an ADD

LDR(e.g score,...): change the Register to Register 7(R7) or to an MOV R0,#480000000*

STR(e.g setLife): Change the register to R7 or MOV R0,#480000000*

SUBS/ADDS (same like SUB and ADD)

______________________________________________

CODES:

ADD R3,R3 #1 -->01 30 83 E2
SUB R3,R3 #1 --> 01 30 43 E2

ADD R1,R3,R3 --> 01 30 83 E0
SUB R1,R3,R3 --> 01 30 43 E0

MOV R0,#48000000 = 12 03 A0 E3 -->very high value (you know the PvZ Hack where the sun turns into 9999? thats a MOV R0, #48000000)

MOV R0,#1 = 01 00 A0 E3 (often used for functions like : isXXX or hasXXX (e.g: player::hasAllWeapons if you use an MOV R0,#1 it always returns the value 1 so you have all Weapons))

MOV R0,#0 = 00 00 A0 E3 (often used for isXXX and hasXXX functions(e.g: player::needFood if you use MOV R0,#0 it always returns 0 , so you do not need food))

2Byte BX LR : 7047 -->deletes a function
2Byte Nop : C046 -->NOP = No operation

4Byte BX LR : 1EFF2FE1 -->deletes a function
4Byte Nop : 0000A0E1 -->NOP = No operation

_____________________________________________________

Branches:

Above mostly all Branch commands there have to be a CMP(compare) and because of this CMP it branches

e.g: BEQ(branch if equal) above: CMP R3,R2

so it doesnt branch because R3 not equal to R2

if CMP R2,R2 and then BEQ then it branches



BEQ = Branch if equal (cmp r2,r2)
BNE = Branch if not equal (cmp r3,r11)
BLT = Branch if lower than(cmp r2,r3)
BGT = Branch if greater than(cmp r3,r1)


_______________________________________________________



ONE SENTENCE IS IMPORTANT: "try it!"

Without trying you can't succeed.

So go ahead and try!

Plist editing - Hex editing - IDA Hacking

Plist: Just download some Games and rehack plists

Hex: Download savefile and Compare and learn with it some hex.

IDA: 1. Use the Offset DB and go with IDA to the Location. Check the function and what was changed. 2. Download some Binarys and Compare them. 3. Read Tutorials

My knowledge:

BX LR - NOP - SUB - ADD - LDR - STR - MOV - RSB


Just one last Thing: GDB isnt the horror. I dont like GDB. I can't work with it.

I just sometimes use it for checking a functions and their registers(e.g when I don't know what registers are low in there and what high).


Unlock:

In Brothers in Arm: Hour of Heroes

CSoldierHero UnlockAllWeapons

Double click on it..

Make an XRef from the Ttle of the function (highlight the function and press X)

Then there should be an BNE(branch not equal) it branches if not equal

If you change it to and B(branch no conditions) it always branches and you have your weapons unlocked..

This means yo can't change the function directly.. you have to check from where it comes

BNE,BLT,BGT,BEQ --> B = Change the last byte to an EA if it is 4 Byte XX XX XX EA
BNE,BLT,BGT,BEQ --> B = Change the last byte to an E0 if it is 2 Byte XX E0



CMP

If you hack ammo and you know there is a SUB Rx, Rx #1 which sumtracts your ammo the look above there should be a CMP.
If there is a CMP which compares thesame register as the SUB subtracts then you are right and it could be the CMP that compares if Rx = 0

IF Rx = 0 it reloads your gun

so if you NOP (0100A0E1) the CMP it doesnt reload as it doesnt compare if Rx is equal 0



You often find CMPs above Branches. This means you have two options: Either you make the BXX to only aB so it branches all the time(look at branches). Or you set the CMP as neede: e.g:

BNE(BranchNotEqual) so it branches when the comparison result isnt equal --> CMP R2,R3 if R2 and R3 have different values it branches as they aren't equal.

Ā 

CREDITS-

ME

Ā 

Updated by DiDA
  • Like 149
  • Winner 10
  • Thanks 15
  • Haha 2
  • Agree 12
  • Informative 7
Posted

:)

Guest
This topic is now closed to further replies.
  • Our picks

    • Nonstop Knight 2 Cheats v3.3.0 +7 [ God Mode & More ]
      Modded/Hacked App: Nonstop Knight 2 - Action RPG By Flaregames GmbH
      Bundle ID: com.koplagames.kopla02
      iTunes Store Link: https://apps.apple.com/us/app/nonstop-knight-2-action-rpg/id1444887980?uo=4

      Ā 

      šŸ“ŒĀ Mod Requirements

      - Jailbroken iPhone or iPad.
      - iGameGod /Ā FilzaĀ / iMazing.
      - Cydia Substrate, ElleKit, Substitute or libhookerĀ depending on your jailbreak (from Sileo, Cydia or Zebra).

      Ā 

      🤩 Hack Features

      - God Mode
      - One Hit Kill
      - Custom Move Speed
      - Custom Attack Speed
      - Custom Attack Range
      - Instant Skill
      - Infinite MP

      Ā 

      Non-Jailbroken Hack:Ā https://iosgods.com/topic/99785-nonstop-knight-2-v323-jailed-cheats-2/

      Ā 

      ā¬‡ļøĀ iOS Hack Download Link: https://iosgods.com/topic/99783-nonstop-knight-2-cheats-v324-7-god-mode-more/
        • Agree
        • Haha
        • Like
      • 1,610 replies
    • MARVEL Contest of Champions v52.1.0 +11++ Amazing Cheats!
      Modded/Hacked App: MARVEL Contest of Champions By Kabam
      Bundle ID: com.kabam.marvelbattle
      iTunes Link: https://itunes.apple.com/us/app/marvel-contest-of-champions/id896112560?mt=8&uo=4&at=1010lce4


      Hack Features
      - Enemy/AI Doesn't Attack
      - Special Attack/Skill Always Available
      - No Knockbacks When Hit
      - No Knockdowns When Hit
      - Enemy Doesn't Block
      - Auto Win - Whoever Attacks first, loses. Disable AI Doesn't Attack for this to work.
      - One Hit Kill / High Damage - Linked. Attack first or use with Enemy Doesn't Attack.

      Non-Jailbroken version of this hack:Ā https://iosgods.com/topic/44075-marvel-contest-of-champions-v1311-2-cheats-for-jailed-devices/
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 3,522 replies
    • Ultimate Golf! v4.23.01 +1 Jailed Cheat [ Perfect Shot ]
      Modded/Hacked App:Ā Ultimate Golf! By Miniclip.com
      Bundle ID: com.hypgames.ultimategolf
      iTunes Store Link: https://apps.apple.com/us/app/ultimate-golf/id1475163222
      Ā 

      Hack Features:
      -Ā Perfect ShotĀ -> Every ball hit will go straight.


      Jailbreak required hack(s):Ā [Mod Menu Hack] Ultimate Golf! v4.4.3 +1 Cheat [ Perfect Shot ] - 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/
        • Like
      • 182 replies
    • Ultimate Golf! v4.23.01 +1 Cheat [ Perfect Shot ]
      Modded/Hacked App:Ā Ultimate Golf! By Miniclip.com
      Bundle ID:Ā com.hypgames.ultimategolf
      iTunes Store Link: https://apps.apple.com/us/app/ultimate-golf/id1475163222


      Hack Features:
      -Ā Perfect ShotĀ ->Ā Every ball hit will go straight.


      Non-Jailbroken & No Jailbreak requiredĀ hack(s):Ā https://iosgods.com/forum/79-no-jailbreak-section/
      Modded Android APK(s):Ā https://iosgods.com/forum/68-android-section/
      For more fun, check out the Club(s):Ā https://iosgods.com/clubs/
        • Informative
        • Like
      • 298 replies
    • Creatures of the Deep v2.93 +6 Jailed Cheats [ VIP + More ]
      Modded/Hacked App: Creatures of the Deep By Infinite Dreams
      Bundle ID: pl.idreams.cotd
      iTunes Store Link: https://apps.apple.com/us/app/creatures-of-the-deep/id1556204048?uo=4


      Hack Features:
      -Ā VIP
      -Ā Alpha User
      -Ā Free Lottery Spin
      -Ā 100 Inventory Size
      -Ā Negative Upgrade Cost
      -Ā 0 Upgrade Cost


      Jailbreak required hack(s):Ā [Mod Menu Hack] Creatures of the Deep v2.33 +6 Cheats [ VIP + More ] - 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/
      • 105 replies
    • Creatures of the Deep v2.93 +6 Cheats [ VIP + More ]
      Modded/Hacked App: Creatures of the Deep By Infinite Dreams
      Bundle ID: pl.idreams.cotd
      iTunes Store Link: https://apps.apple.com/us/app/creatures-of-the-deep/id1556204048?uo=4


      Hack Features:
      -Ā VIP
      -Ā Alpha User
      -Ā Free Lottery Spin
      -Ā 100 Inventory Size
      -Ā Negative Upgrade Cost
      -Ā 0 Upgrade Cost


      Non-Jailbroken & No Jailbreak requiredĀ hack(s):Ā [IPA Mod Menu] Creatures of the Deep v2.33 +6 Jailed Cheats [ VIP + More ] - 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/
      • 40 replies
    • eFootballā„¢ v10.0.1 +3 Cheats [ Dumb AI ]
      Modded/Hacked App:Ā eFootballā„¢ 2023 By KONAMI
      Bundle ID:Ā jp.konami.pesactionmobile
      iTunes Store Link:Ā https://apps.apple.com/us/app/efootball-2023/id1117270703


      Hack Features:
      - Dumb ai 50% 99% (use either one)
      - No pass (turn off when enemy kick)
      - No catch (dumb goalie)


      Non-Jailbroken & No Jailbreak requiredĀ hack(s):Ā https://iosgods.com/forum/79-no-jailbreak-section/
      Modded Android APK(s):Ā https://iosgods.com/forum/68-android-section/
      For more fun, check out the Club(s):Ā https://iosgods.com/clubs/
        • Agree
        • Like
      • 617 replies
    • Barbieā„¢ Merge Mystery v54 +3 Jailed Cheats [ Unlimited Currencies ]
      Modded/Hacked App: Barbieā„¢ Merge Mystery By Rollic Games Oyun Yazilim ve Pazarlama Anonim Sirketi
      Bundle ID: com.rollic.barbiemerge
      iTunes Store Link: https://apps.apple.com/ph/app/barbie-merge-mystery/id6736395270?uo=4

      Ā 


      🤩 Hack Features

      -Ā Unlimited CoinsĀ -> Earn or spend some.
      -Ā Unlimited GemsĀ -> Earn or spend some.
      -Ā Unlimited EnergyĀ -> Earn or spend some.
      • 6 replies
    • Adorable Garden v1.2.3 +1++ Jailed Cheat [ Unlimited Currencies ]
      Modded/Hacked App: Adorable Garden By Skyborne Games Inc
      Bundle ID: com.skybornegames.adorablegarden
      iTunes Store Link: https://apps.apple.com/us/app/adorable-garden/id6503631437?uo=4

      Ā 


      🤩 Hack Features

      -Ā Freeze Currencies
      • 4 replies
    • Adorable Garden v1.2.3 +1++ Cheat [ Unlimited Currencies ]
      Modded/Hacked App: Adorable Garden By Skyborne Games Inc
      Bundle ID: com.skybornegames.adorablegarden
      iTunes Store Link: https://apps.apple.com/us/app/adorable-garden/id6503631437?uo=4

      Ā 
      Ā 

      🤩 Hack Features

      - FreezeĀ Currencies
      • 2 replies
    • Barbieā„¢ Merge Mystery v54 +3 Cheats [ Unlimited Currencies ]
      Modded/Hacked App: Barbieā„¢ Merge Mystery By Rollic Games Oyun Yazilim ve Pazarlama Anonim Sirketi
      Bundle ID: com.rollic.barbiemerge
      iTunes Store Link: https://apps.apple.com/ph/app/barbie-merge-mystery/id6736395270?uo=4

      Ā 
      Ā 

      🤩 Hack Features

      -Ā Unlimited CoinsĀ -> Earn or spend some.
      -Ā Unlimited GemsĀ -> Earn or spend some.
      -Ā Unlimited EnergyĀ -> Earn or spend some.
      • 4 replies
    • Grimguard Tactics: Fantasy RPG v1.17.1 +3 Jailed Cheats [ Auto Win ]
      Modded/Hacked App: Grimguard Tactics: Fantasy RPG By Outerdawn Limited
      Bundle ID: com.outerdawn.grimguard
      iTunes Store Link: https://apps.apple.com/us/app/grimguard-tactics-fantasy-rpg/id1496893856?uo=4


      Hack Features:
      -Ā Auto Win
      -Ā Unlimited Daily Rewards
      -Ā No Stamina Cost


      Jailbreak required hack(s):Ā [Mod Menu Hack] Grimguard Tactics: Fantasy RPG v1.1.10 +3 Cheats [ Auto Win ] - ViP 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/
      • 131 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