Jump to content

[Tutorial] How to get/convert any ARM Instruction to HEX!


94 posts in this topic

Recommended Posts

Updated (edited)

Updated method: https://armconverter.com/

[hr]

This will be able to convert nearly every instruction that you need the hex for. The only annoying thing is that the hex is formatted in the way where you would type it into GDB, but everything else is great! Here's how to do it:

 

Hidden Content

    Requirements: Darwin CC Tools (855), MobileTerminal, iFile

     

    1. In /var/mobile, in iFile, create a new document called "test.s".

    2. Open up that document. Correct formatting is crucial when you do this. Here is what to type in test.s:

    start: <enter>
    <the instruction you want to convert goes here> <enter>
    

    You must make sure that everything is lowercase, there are no spaces after the instruction, and that you tap enter after you are done entering in all of the instructions you want to convert.

     

    3. Save it, and go to MobileTerminal, and log in as root.

    4. Run this command:

    as -arch armv7 test.s -o test.o
    

    Then this one:

    otool -tV test.o
    

    Here is the output if you did it correctly: http://i.imgur.com/fZdz6in.jpg

     

    After all that, otool should disassemble test.o with the hex for the instruction you want. But for some reason the hex is backwards, so you have to "make it correct".

     

    For example, if you converted BX LR and otool gave you E12FFF1E, here is how you convert it:

     

    E1 2F FF 1E
    
    Your new hex would be:
    
    1E FF 2F E1
    
    See how I just reversed the order?
    

    Another example: VSUB.F32.F64

     

    The hex otool gave you: EC 43 2B 30
    
    New hex: 30 2B 43 EC
    
    Reversed.
    

 

Hope it helped :snoop:

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

    • Gossip Harbor®: Merge & Story v3.67.0 [+2 Jailed Cheats]
      Modded/Hacked App: Gossip Harbor®: Merge & Story By Microfun Limited
      Bundle ID: com.mergegame.icookie
      App Store Link: https://apps.apple.com/us/app/gossip-harbor-merge-story/id1623318294?uo=4



      🤩 Hack Features

      - Unlimited Energy
      - Freeze Currency (Never Decrease)
        • Winner
        • Like
      • 12 replies
    • Gossip Harbor®: Merge & Story v3.67.0 [+2 Cheats]
      Modded/Hacked App: Gossip Harbor®: Merge & Story By Microfun Limited
      Bundle ID: com.mergegame.icookie
      App Store Link: https://apps.apple.com/us/app/gossip-harbor-merge-story/id1623318294?uo=4



      🤩 Hack Features

      - Unlimited Energy
      - Freeze Currency (Never Decrease)
       
        • Haha
        • Winner
      • 3 replies
    • Seaside Escape®: Merge & Story v1.73.0 [+2 Jailed Cheats]
      Modded/Hacked App: Seaside Escape®: Merge & Story By Microfun Limited
      Bundle ID: com.mf.cupcake
      App Store Link: https://apps.apple.com/us/app/seaside-escape-merge-story/id6443755785?uo=4

       

      🤩 Hack Features

      - Unlimited Energy
      - Freeze Currency
        • Winner
      • 3 replies
    • Seaside Escape®: Merge & Story v1.73.0 [+2 Cheats]
      Modded/Hacked App: Seaside Escape®: Merge & Story By Microfun Limited
      Bundle ID: com.mf.cupcake
      App Store Link: https://apps.apple.com/us/app/seaside-escape-merge-story/id6443755785?uo=4



      🤩 Hack Features

      - Unlimited Energy
      - Freeze Currency
       
        • Winner
      • 2 replies
    • Night Valley - Tower Defense v1.0.11 [+2 Jailed Cheats]
      Modded/Hacked App: Night Valley - Tower Defense By Pitaya Group, Inc, The
      Bundle ID: com.pitaya.natv
      App Store Link: https://apps.apple.com/us/app/night-valley-tower-defense/id6467846624?uo=4



      🤩 Hack Features

      - Never Die
      - Add Currency
      • 4 replies
    • Night Valley - Tower Defense v1.0.11 [+2 Cheats]
      Modded/Hacked App: Night Valley - Tower Defense By Pitaya Group, Inc, The
      Bundle ID: com.pitaya.natv
      App Store Link: https://apps.apple.com/us/app/night-valley-tower-defense/id6467846624?uo=4



      🤩 Hack Features

      - Never Die
      - Add Currency
       
        • Agree
        • Winner
        • Like
      • 2 replies
    • Disney Solitaire v1.2.3 [ +7 Cheats ] Auto Win
      Modded/Hacked App: Disney Solitaire By SuperPlay LTD
      Bundle ID: com.superplaystudios.disneysolitairedreams
      iTunes Store Link: https://apps.apple.com/ph/app/disney-solitaire/id6475757306?uo=4
       

      🤩 Hack Features

      - Coins [ Win Match ]

      - Task [ No Need Star ]

      - Stars

      - Undo

      - Wild Card

      - Free Ticket

      - Auto Win
        • Thanks
        • Like
      • 14 replies
    • Disney Solitaire v1.2.3 [ +7 Jailed ] Auto Win
      Modded/Hacked App: Disney Solitaire By SuperPlay LTD
      Bundle ID: com.superplaystudios.disneysolitairedreams
      iTunes Store Link: https://apps.apple.com/ph/app/disney-solitaire/id6475757306?uo=4


      🤩 Hack Features

      - Coins [ Win Match ]

      - Task [ No Need Star ]

      - Stars

      - Undo

      - Wild Card

      - Free Ticket

      - Auto Win
        • Thanks
        • Like
      • 18 replies
    • Domino Dreams™ v1.42.3 [ +10 Cheats ] Auto Win
      Modded/Hacked App: Domino Dreams™ By SuperPlay LTD
      Bundle ID: com.superplaystudios.dominodreams
      iTunes Store Link: https://apps.apple.com/us/app/domino-dreams/id6444043291?uo=4



      🤩 Hack Features

      - Coins Unlimited [ LvL Rewards ]

      - Stars Unlimited [ Win LvL Then Back Show Stars Hacked Disable Cheat Close App Again Open Then Work Stars Don't Use Again ] Linked With Some Task

      - Ticket Free Max [ Linked With Stars ] LvL Cost

      - Undo Max [ Linked With Stars ] 

      - Gold Card Max [ Linked With Stars ] 

      - Chapter Next [ Play LvL Quit & Win ]

      - Avatar Unlocked [ Play LvL Win After Unlocked Don"t Use Again ]

      - Auto Win LvL [ Play LvL Move Anything ] 

      - Bonus Mod LvL [ ON-OFF ] 

      - Spin Free [ Need One Point only Open Play LvL ]
        • Winner
        • Like
      • 10 replies
    • Domino Dreams™ v1.42.3 [ +10 Jailed ] Auto Win
      Modded/Hacked App: Domino Dreams™ By SuperPlay LTD
      Bundle ID: com.superplaystudios.dominodreams
      iTunes Store Link: https://apps.apple.com/us/app/domino-dreams/id6444043291?uo=4


      🤩 Hack Features

      - Coins Unlimited [ LvL Rewards ]
      - Stars Unlimited [ Win LvL Then Back Show Stars Hacked Disable Cheat Close App Again Open Then Work Stars Don't Use Again ] Linked With Some Task
      - Ticket Free Max [ Linked With Stars ] LvL Cost
      - Undo Max [ Linked With Stars ] 
      - Gold Card Max [ Linked With Stars ] 
      - Chapter Next [ Play LvL Quit & Win ]
      - Avatar Unlocked [ Play LvL Win After Unlocked Don"t Use Again ]
      - Auto Win LvL [ Play LvL Move Anything ] 
      - Bonus Mod LvL [ ON-OFF ] 
      - Spin Free [ Need One Point only Open Play LvL ]
        • Informative
        • Like
      • 17 replies
    • Pop Island v1.0.5 [ +1 Cheats ] Coins Max
      Modded/Hacked App: Pop Island By HISTAR INTERACTIVE PTE. LTD.
      Bundle ID: com.hmbdgames.match
      iTunes Store Link: https://apps.apple.com/us/app/pop-island/id6505047210?uo=4


      🤩 Hack Features

      - Coins [ Win Match Disable After Hack ]


        • Agree
        • Like
      • 10 replies
    • Pop Island v1.0.5 [ +1 Jailed ] Coins Max
      Modded/Hacked App: Pop Island By HISTAR INTERACTIVE PTE. LTD.
      Bundle ID: com.hmbdgames.match
      iTunes Store Link: https://apps.apple.com/us/app/pop-island/id6505047210?uo=4


      🤩 Hack Features

      - Coins [ Win Match Disable After Hack ]


        • Winner
        • Like
      • 9 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