Jump to content

[IDA Tutorial] How to deal with/hack vectors


474 posts in this topic

Recommended Posts

Posted

This is a tutorial that is pretty advanced and because of that, I expect you to have a grip on regular IDA (normal instructions I mean, MOV, SUB, STR, etc). Of course it is not a requirement, you could just be viewing this tutorial out of curiosity. But it would really help to know some basic IDA before trying to hack vectors.

 

But what the hell is a vector? A vector is an instruction prefixed with "V". For example: VSTR, VMOV, VSUB, VCVT (convert), VLDR, etc. It is the instruction that you get when you set a watchpoint on a memory address that holds a float value. You will know that it is a float when iGameGuardian displays the number like "500.000000". Most of the time you be hacking VSTR, VSUB, and VCVT, at least in my experience.

 

Hidden Content

    Since there is no R7 type register for vectors, we have to find different ways to hack them. If IDA drops you off at a

    VSTR S0, [R0, #20]
    you cannot just change it to

    VSTR S7, [R0, #20]
    because in most cases, it would just make the game crash.

     

    So what the hell can we do? The best way to hack a VSTR is to NOP it (except for when hacking cooldown, but I will get to that). This is extremely effective when hacking your health because instead of storing your health value in a normal, unhacked game, the game won't be able to store your health at all which results in infinite health for you :snoop: But sometimes both enemy health and your health are linked and you have to unlink them. I'll cover that at the end of this tutorial.

     

    If you are hacking cooldown for some sort of skill, you cannot just NOP the VSTR (instructions for cooldown are most always VSTR) because once the timer starts, it will never count down, resulting in an infinite timer for skills. To combat this, either you can:

    1. Find a register that holds the value of zero and store that register into R0+20 or

    2. Move zero into an already existing register and store that register into R0+20.

     

    If you are going with option one, you'll have to set a breakpoint on your offset and examine the registers to see what they hold (reg re for LLDB and info r for GDB). Just for the sake of this tutorial, we'll say that R3 holds the value of zero. Now that you know that, you can change

    VSTR S0, [R0, #20]
    to a regular
    STR R3, [R0, #20]
    . If you know basic IDA, you should understand why/how that works.

     

    If you are going with option two, it will be just a tiny bit more complicated. You'll have to hack the instruction above the VSTR with a MOV R0, #0. Then you'll have to store R0 into R0+20. If that is confusing, look at this:

     

    Here are the instructions before any modification:

    VCVT.F32.F64 S0, D2
    VSTR S0, [R0, #20]
    
    And change that to:

    MOV R0, #0
    STR R0, [R0, #20]
    
    What this does is instead of the game converting a 64 bit float value into a 32 bit float value then store that value into R0+20, the game will now move the value of zero into R0 then store R0 (zero) into R0+20, resulting in a timer of zero seconds, which means instant cooldown. This is what you might know as "no skill cooldown".

     

    VSTR's are really the only instructions that you hack differently than everything else. You hack VSUB's with NOP's, you can hack VMOV's the normal way you hack a MOV (but with common sense), etc. It is not really hard once you get the hang of it.

     

    About unlinking vectors:

    I'm not entirely sure about this, but to unlink vectors you could try this:

    1. Set a breakpoint on your offset.

    2. Let the enemy hit you, and your breakpoint should hit. Now type "bt", which means "backtrace". Copy the backtrace onto notepad or something convienent and label it "my health backtrace".

    3. Now continue, but this time you hurt the enemy, and your breakpoint should hit. Do a backtrace again and copy it onto notepad and label it "enemy health backtrace".

    4. See which frame first differs between the two backtraces (you'll know what I mean by frame when you backtrace) and NOP the branch that connects them.

     

    That's it! :) If you want to see some examples of me hacking vectors, check these links out: http://iosgods.com/topic/7615-offsetsdragon-slayer-v110/

    http://iosgods.com/topic/7152-offsets-not-str-r7-for-everything-pindestructible-v301/

    http://iosgods.com/topic/7501-offsetsblood-and-glory-immortals-v110/

 

Please let me know if you have any questions. :)

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

    • Iron knight : Nonstop Idle RPG v1.4.0 [+7 Jailed Cheats]
      Modded/Hacked App: Iron knight : Nonstop Idle RPG By SUPERBOX. Inc
      Bundle ID: com.superbox.ios.ironknightmaker
      iTunes Store Link: https://apps.apple.com/us/app/iron-knight-nonstop-idle-rpg/id1587861608?uo=4

       

      🤩 Hack Features

      -  High Damage

      -  Unlimited Diamond

      -  Increased Coin Gain (Don't Abuse)

      -  Increased Exp Gain (Don't Abuse)

      -  Free Weapon Upgrade

      -  Free Necklace Upgrade

      -  Free Accessory Upgrade
      • 11 replies
    • Iron knight : Nonstop Idle RPG v1.4.0 [+7 Cheats]
      Modded/Hacked App: Iron knight : Nonstop Idle RPG By SUPERBOX. Inc
      Bundle ID: com.superbox.ios.ironknightmaker
      iTunes Store Link: https://apps.apple.com/us/app/iron-knight-nonstop-idle-rpg/id1587861608?uo=4

       

      🤩 Hack Features

      -  High Damage

      -  Unlimited Diamond

      -  Increased Coin Gain (Don't Abuse)

      -  Increased Exp Gain (Don't Abuse)

      -  Free Weapon Upgrade

      -  Free Necklace Upgrade

      -  Free Accessory Upgrade
      • 18 replies
    • Modded/Hacked App: Iron knight : Nonstop Idle RPG By SUPERBOX. Inc
      Bundle ID: com.superbox.ios.ironknightmaker
      iTunes Store Link: https://apps.apple.com/us/app/iron-knight-nonstop-idle-rpg/id1587861608?uo=4

       

      📌 Mod Requirements

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

       

      🤩 Hack Features

      -  High Damage

      -  Unlimited Diamond

      -  Increased Coin Gain (Don't Abuse)

      -  Increased Exp Gain (Don't Abuse)

      -  Free Weapon Upgrade

      -  Free Necklace Upgrade

      -  Free Accessory Upgrade


      🍏 For Non-Jailbroken & No Jailbreak required hacks: https://iosgods.com/forum/79-no-jailbreak-section/
      🤖 Modded Android APKs: https://iosgods.com/forum/68-android-section/

       

      ⬇️ iOS Hack Download Link


      Hidden Content

      Download Hack







       

      📖 iOS Installation Instructions

      STEP 1: Download the .deb hack file from the link above. Use Safari, Google Chrome or other iOS browsers to download.
      STEP 2: Once the file has downloaded, tap on it and then you will be prompted on whether you want to open the deb with iGameGod or copy it to Filza.
      STEP 3: If needed, tap on the downloaded file again, then select ‘Normal Install’ from the options on your screen.
      STEP 4: Let iGameGod/Filza finish the cheat installation. If it doesn’t install successfully, see the note below.
      STEP 5: Open the game, log in to your iOSGods account when asked, then toggle on the features you want and enjoy!

       

      NOTE: If you have any questions or problems, read our Jailbreak iOS Hack Troubleshooting & Frequently Asked Questions & Answers topic. If you still haven't found a solution, post your issue below and we'll do our best to help! If the hack does work for you, please post your feedback below and help out other fellow members that are encountering issues.

       

      🙌 Credits

      - Cashlaz

       

      📷 Cheat Video/Screenshots

      N/A

       

      🔗 More iOS App Hacks & Android Modded APKs

      If you’re looking for Non-Jailbroken & No Jailbreak required iOS IPA hacks, visit the iOSGods No Jailbreak Section for a variety of modded games and apps for non-jailbroken iOS devices.

      Need Modded Android APKs too? Head over to the iOSGods Android Section for custom APK mods, cheats, and more.
      • 18 replies
    • Margonem Adventures v2.2.3 [+3 Jailed Cheats]
      Modded/Hacked App: Margonem Adventures By GARMORY sp. z o.o. sp. k.
      Bundle ID: pl.Garmory.MargonemAdventures
      iTunes Store Link: https://apps.apple.com/us/app/margonem-adventures/id6444410609?uo=4

       

      🤩 Hack Features

      - Enemy Can't Move
      - Enemy Can't Attack
      - Unlimited Mana
      • 21 replies
    • Margonem Adventures v2.2.3 [+3 Cheats]
      Modded/Hacked App: Margonem Adventures By GARMORY sp. z o.o. sp. k.
      Bundle ID: pl.Garmory.MargonemAdventures
      iTunes Store Link: https://apps.apple.com/us/app/margonem-adventures/id6444410609?uo=4



      🤩 Hack Features

      - Enemy Can't Move
      - Enemy Can't Attack
      - Unlimited Mana
        • Winner
      • 14 replies
    • Guns Arena: PvP Shooting Games v1.32.47 [+5 Cheats]
      Modded/Hacked App: Guns Arena: PvP Shooting Games By VIVA GAMES S.L.
      Bundle ID: com.vivastudios.gunsatdawn.shooter
      iTunes Store Link: https://apps.apple.com/us/app/guns-arena-pvp-shooting-games/id1613912708?uo=4

       

      🚀 Hack Features

      - [VIP] Enemy Can't Attack

      - [VIP] High Damage / OHK

      - [VIP] Enemy Can't Attack Battle Royale

      - [VIP] Always can Enter Battle Royale (Enable go Royale tab and click get dawn pass)

      - Inf Coins (Can't use on Characters, Weapons and Dawnpass)

      - Inf Gold (Can't use on Characters, Weapons and Dawnpass)


      🍏 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/
      • 53 replies
    • Guns Arena: PvP Shooting Games v1.32.47 [+5 Jailed Cheats]
      Modded/Hacked App: Guns Arena: PvP Shooting Games By VIVA GAMES S.L.
      Bundle ID: com.vivastudios.gunsatdawn.shooter
      iTunes Store Link: https://apps.apple.com/us/app/guns-arena-pvp-shooting-games/id1613912708?uo=4
       

      🚀 Hack Features

      - [VIP] Enemy Can't Attack

      - [VIP] High Damage / OHK

      - [VIP] Enemy Can't Attack Battle Royale

      - [VIP] Always can Enter Battle Royale (Enable go Royale tab and click get dawn pass)

      - Inf Coins (Can't use on Characters, Weapons and Dawnpass)

      - Inf Gold (Can't use on Characters, Weapons and Dawnpass)


      🍏 Jailbreak iOS hacks: https://iosgods.com/forum/5-game-cheats-hack-requests/
      🤖 Modded Android APKs: https://iosgods.com/forum/68-android-section/
      • 45 replies
    • Mafia Empire: Crime Tycoon v1.12.2 Cheat Menu [+10 Cheats]
      Modded/Hacked App: Mafia Empire: Crime Tycoon By PINPIN TEAM SARL
      Bundle ID: mafia.empire.tycoon
      App Store Link: https://apps.apple.com/us/app/mafia-empire-crime-tycoon/id6738845139?uo=4



      🤩 Hack Features

      - Cheat Menu (Enable and Cheat Menu Will Appear)
        • Thanks
      • 15 replies
    • Mafia Empire: Crime Tycoon v1.12.2 Cheat Menu [+10 Jailed Cheats]
      Modded/Hacked App: Mafia Empire: Crime Tycoon By PINPIN TEAM SARL
      Bundle ID: mafia.empire.tycoon
      App Store Link: https://apps.apple.com/us/app/mafia-empire-crime-tycoon/id6738845139?uo=4



      🤩 Hack Features

      - Cheat Menu (Enable and Cheat Menu Will Appear)
      • 16 replies
    • Knights of Pen and Paper 3 v1.5.11 [+5 Cheats]
      Modded/Hacked App: Knights of Pen and Paper 3 By Northica Oy
      Bundle ID: com.northicagames.kopp3
      App Store Link: https://apps.apple.com/us/app/knights-of-pen-and-paper-3/id6462194230?uo=4



      🤩 Hack Features

      - High Gold Gain (Enable and Win Fight)
      - Always Can Claim Achievements
      - Auto Win (Enable inside battle)
      - Level Up Characters (Enable and your heroes levels up)
      - Max Level Equipments (Enable and all equipments will be max level)

      • 6 replies
    • Knights of Pen and Paper 3 v1.5.11 [+5 Jailed Cheats]
      Modded/Hacked App: Knights of Pen and Paper 3 By Northica Oy
      Bundle ID: com.northicagames.kopp3
      App Store Link: https://apps.apple.com/us/app/knights-of-pen-and-paper-3/id6462194230?uo=4



      🤩 Hack Features

      - High Gold Gain (Enable and Win Fight)
      - Always Can Claim Achievements
      - Auto Win (Enable inside battle)
      - Level Up Characters (Enable and your heroes levels up)
      - Max Level Equipments (Enable and all equipments will be max level)

      • 10 replies
    • Neon Wings v20.1.51 [+4 Cheats]
      Modded/Hacked App: Neon Wings By Voodoo
      Bundle ID: games.omicron.neonflight
      App Store Link: https://apps.apple.com/us/app/neon-wings/id6741190842?uo=4



      🤩 Hack Features

      - Never Die
      - Unlimited Currency
      - Always Can Level Modules
      - Free Upgrades (Enable inside upgrade menu) 
      • 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