Jump to content

How to write an 8 byte MOV instruction


131 posts in this topic

Recommended Posts

Posted

Have you ever had the issue of needing to move something bigger than 65535 into R0, and you needed to use a literal number (MOV R0, #255) instead of a register (MOV R0, R7)? Well I did to make a custom floating point return value to separate the field of view function for Bullet Force so I would still be able to get the zoomed in field of view when I aim down sights.

 

This is a very good when you want to move a floating point value into R0, like 1120403456. Additionally, I'll use 1120403456 for this tutorial.

 

Hidden Content

    Step 1:

    Convert your number to hexadecimal. Go to http://www.binaryhexconverter.com/decimal-to-hex-converter.

     

    1120403456 is 42C80000 in hexadecimal. Cool.

     

    Step 2:

    Break your hexadecimal value in half, and that will leave you with two "sections". For 42C80000:

     

    The first section would be 0000.

    The second section would be 42C8.

     

    Step 3

    Use ARM Converter (http://armconverter.com) to generate the instructions we need. They will always be in this format:

     

    MOVW R0, #/*section 1*/
    MOVT R0, #/*section 2*/

    In my case, my instructions would be:

     

    MOVW R0, #0x0000
    MOVT R0, #0x42C8

    Convert those two instructions, and write the hex down somewhere.

     

    Step 4:

    Time to make the hex string!

     

    I used ARM Converter to convert these and it gave me these hexes:

     

    MOVW R0, #0x0000 = 40F20000

    MOVT R0, #0x42C8 = C4F2C820

     

    Combine the two, and the final hex of MOV R0, #0x42C80000 is:

    40F20000C4F2C820

    Keep in mind this is 8 bytes, so you'll need to find 4 bytes of extra space before the instruction you are overwriting is.

  • Replies 130
  • Created
  • Last Reply

Top Posters In This Topic

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below. For more information, please read our Posting Guidelines.
Reply to this topic... Posting Guidelines

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Our picks

    • Nickelodeon Card Clash v1.5.0 +2 Jailed Cheats [ Unlimited Currencies ]
      Modded/Hacked App: Nickelodeon Card Clash By Monumental, LLC
      Bundle ID: io.monumental.cardclash
      iTunes Store Link: https://apps.apple.com/us/app/nickelodeon-card-clash/id6503707285?uo=4


      Hack Features:
      - Unlimited Coins
      - Unlimited Gems


      Jailbreak required hack(s): [Mod Menu Hack] Nickelodeon Card Clash v1.0.3 +2 Cheats [ Unlimited Currencies ] - 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/
        • Informative
        • Agree
        • Like
      • 7 replies
    • Nickelodeon Card Clash v1.5.0 +2 Cheats [ Unlimited Currencies ]
      Modded/Hacked App: Nickelodeon Card Clash By Monumental, LLC
      Bundle ID: io.monumental.cardclash
      iTunes Store Link: https://apps.apple.com/us/app/nickelodeon-card-clash/id6503707285?uo=4


      Hack Features:
      - Unlimited Coins
      - Unlimited Gems


      Non-Jailbroken & No Jailbreak required hack(s): [IPA Mod Menu] Nickelodeon Card Clash v1.0.3 +2 Jailed Cheats [ Unlimited Currencies ] - 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/
        • Thanks
        • Winner
        • Like
      • 23 replies
    • Kitty’s Kitchen Diary v1.0.8 +3 Jailed Cheats [ Unlimited Currencies ]
      Modded/Hacked App: Kitty’s Kitchen Diary By SuperPlanet corp.
      Bundle ID: com.superplanet.catrecipe
      iTunes Store Link: https://apps.apple.com/us/app/kittys-kitchen-diary/id6496345774?uo=4

       


      🤩 Hack Features

      - Unlimited Currencies -> Head into Settings and toggle the Notifications button.
      - Unlock All -> Head into Settings and toggle the Nightly Notifications button.
      - Freeze Diamonds
      • 4 replies
    • Kitty’s Kitchen Diary v1.0.8 +3 Cheats [ Unlimited Currencies ]
      Modded/Hacked App: Kitty’s Kitchen Diary By SuperPlanet corp.
      Bundle ID: com.superplanet.catrecipe
      iTunes Store Link: https://apps.apple.com/us/app/kittys-kitchen-diary/id6496345774?uo=4

       


      🤩 Hack Features

      - Unlimited Currencies -> Head into Settings and toggle the Notifications button.
      - Unlock All -> Head into Settings and toggle the Nightly Notifications button.
      - Freeze Diamonds
        • Thanks
        • Like
      • 8 replies
    • Perfect Kick 2 v2.0.61 [ +4 Cheats ] AI Freeze
      Modded/Hacked App: Perfect Kick 2 By Gamegou Limited
      Bundle ID: com.gamegou.perfectkick2
      iTunes Store Link: https://apps.apple.com/us/app/perfect-kick-2/id1475459866?uo=4
       

      🤩 Hack Features

      - Auto ADS OFF
      - Ball Speed 999x
      - AI Freeze
      - No Wind Effect
      • 0 replies
    • Perfect Kick 2 v2.0.61 [ +4 Jailed ] AI Freeze
      Modded/Hacked App: Perfect Kick 2 By Gamegou Limited
      Bundle ID: com.gamegou.perfectkick2
      iTunes Store Link: https://apps.apple.com/us/app/perfect-kick-2/id1475459866?uo=4


      🤩 Hack Features

      - Auto ADS OFF
      - Ball Speed 999x
      - AI Freeze
      - No Wind Effect
      • 1 reply
    • Nightfall: Kingdom Frontier TD v1.0.350 +8 Jailed Cheats [ Currencies ]
      Modded/Hacked App: Nightfall: Kingdom Frontier TD By Fansipan Limited
      Bundle ID: com.fansipan.nightfall.tower.simulation.strategy.td.game
      iTunes Store Link: https://apps.apple.com/us/app/nightfall-kingdom-frontier-td/id6621272416?uo=4


      Hack Features:
      - God Mode
      - Unlimited In-Game Coins -> Will increase instead of decrease.
      - Unlimited Currencies -> Will increase instead of decrease.
      - No Ads
      - Add 1K Currency -> Head over to Settings and toggle the Discord button. [ VIP ]
      - Unlock All Features -> Head over to Settings and toggle the Discord button. [ VIP ]
      - Unlock All / Everything ->  Head over to Settings and toggle the Discord button. [ VIP ]
      - Complete Tutorial -> Head over to Settings and toggle the Discord button. [ VIP ]


      Jailbreak required hack(s): [Mod Menu Hack] Nightfall: Kingdom Frontier TD v1.0.41 +8 Cheats [ Unlimited Currencies ] - 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/
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 79 replies
    • Nightfall: Kingdom Frontier TD v1.0.350 +8 Cheats [ Currencies ]
      Modded/Hacked App: Nightfall: Kingdom Frontier TD By Fansipan Limited
      Bundle ID: com.fansipan.nightfall.tower.simulation.strategy.td.game
      iTunes Store Link: https://apps.apple.com/us/app/nightfall-kingdom-frontier-td/id6621272416?uo=4


      Hack Features:
      - God Mode
      - Unlimited In-Game Coins -> Will increase instead of decrease.
      - Unlimited Currencies -> Will increase instead of decrease.
      - No Ads
      - Add 1K Currency -> Head over to Settings and toggle the Discord button. [ VIP ]
      - Unlock All Features -> Head over to Settings and toggle the Discord button. [ VIP ]
      - Unlock All / Everything ->  Head over to Settings and toggle the Discord button. [ VIP ]
      - Complete Tutorial -> Head over to Settings and toggle the Discord button. [ VIP ]


      Non-Jailbroken & No Jailbreak required hack(s): [IPA Mod Menu] Nightfall: Kingdom Frontier TD v1.0.41 +8 Jailed Cheats [ Unlimited Currencies ] - 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/
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 94 replies
    • Longleaf Valley v1.32.22 +1++ Jailed Cheats [ Unlimited Currencies ]
      Modded/Hacked App: Longleaf Valley: Merge & Match By TreesPlease Games Ltd
      Bundle ID: com.treespleasegames.merge1
      iTunes Store Link: https://apps.apple.com/us/app/longleaf-valley-merge-match/id1573565989?uo=4


      Hack Features:
      - Unlimited Currencies -> Spend some.


      Jailbreak required hack(s): [Mod Menu Hack] Longleaf Valley: Merge & Plant ( All Versions ) +1++ Cheats [ Unlimited Currencies ] - 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/
        • Informative
        • Agree
        • Haha
        • Winner
        • Like
      • 32 replies
    • Longleaf Valley v1.32.22 +1++ Cheats [ Unlimited Currencies ]
      Modded/Hacked App: Longleaf Valley: Merge & Match By TreesPlease Games Ltd
      Bundle ID: com.treespleasegames.merge1
      iTunes Store Link: https://apps.apple.com/us/app/longleaf-valley-merge-match/id1573565989?uo=4


      Hack Features:
      - Unlimited Currencies -> Spend some.


      Non-Jailbroken & No Jailbreak required hack(s): [Non-Jailbroken Hack] Longleaf Valley: Merge & Plant v1.10.48 +1++ Jailed Cheats [ Unlimited Currencies ] - 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/
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 15 replies
    • Dinosaur Universe v39.0.0 +4 Jailed Cheats [ Unlimited Currencies ]
      Modded/Hacked App: Dinosaur Universe By Supercent Inc.
      Bundle ID: io.supercent.ageofdinosaurs
      iTunes Store Link: https://apps.apple.com/us/app/dinosaur-universe/id6448496802?uo=4

       


      🤩 Hack Features

      - Unlimited Currencies
      - Damage Multiplier
      - God Mode
      - Free In-App Purchases
        • Like
      • 0 replies
    • Dinosaur Universe v39.0.0 +4 Cheats [ Unlimited Currencies ]
      Modded/Hacked App: Dinosaur Universe By Supercent Inc.
      Bundle ID: io.supercent.ageofdinosaurs
      iTunes Store Link: https://apps.apple.com/us/app/dinosaur-universe/id6448496802?uo=4

       
       

      🤩 Hack Features

      - Unlimited Currencies
      - Damage Multiplier
      - God Mode
      - Free In-App Purchases
        • Agree
      • 3 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