Jump to content

Boolean in ARM64?


Go to solution Solved by Guest,

9 posts in this topic

Recommended Posts

Posted

Hey,

 

So I'm trying to make my hack support arm64 devices too, lazy too use AutoLipo & since most devices are arm64 it's good to understand it I think.

 

So the hack is done for armv7, I got a boolean function which looks like this in armv7:

__text:003D5A58 sub_3D5A58                            
__text:003D5A58                                        
__text:003D5A58                 CMP             R0, #0
__text:003D5A5A                 ITTT EQ
__text:003D5A5C                 MOVEQ           R0, #0
__text:003D5A5E                 SXTBEQ          R0, R0
__text:003D5A60                 BXEQ            LR
__text:003D5A62                 MOV             R1, #(_OBJC_IVAR_$_Something) ; char _somethign;
__text:003D5A6A                 ADD             R1, PC  ; char _something;
__text:003D5A6C                 LDR             R1, [R1] ; char _something;
__text:003D5A6E                 LDRB            R0, [R0,R1]
__text:003D5A70                 SXTB            R0, R0
__text:003D5A72                 BX              LR

 

What I did here was,

Change CMP R0, #0 to MOV R0, #1

and change MOVEQ R0, #0 to MOVEQ R0, #1.

This worked.

 

Now I went to the same function in arm64, and my mind was like :o 

This is the code:

 

sub_10041D8DC                           ; CODE XREF: sub_10031C83C+228�p
__text:000000010041D8DC                                        
__text:000000010041D8DC                 CBZ             X0, locret_10041D8F4
__text:000000010041D8E0                 ADRP            X8, #_OBJC_IVAR_$_something._something@PAGE ; bool _something;
__text:000000010041D8E4                 LDRSW           X8, [X8,#_OBJC_IVAR_$_Something._something@PAGEOFF] ; bool _something;
__text:000000010041D8E8                 LDRB            W8, [X0,X8]
__text:000000010041D8EC                 CMP             W8, #0
__text:000000010041D8F0                 CSET            W0, NE
__text:000000010041D8F4
__text:000000010041D8F4 locret_10041D8F4                        ; CODE XREF: sub_10041D8DC�j
__text:000000010041D8F4                 RET

 

So I was actually looking for a boolean, which I thought was: MOV X0, #0 or MOV W0, #0.

The only function I see which I have to include is the CMP.

 

So my question, what's the boolean function? Is it diffrent named in arm64 binary's?

 

Thankyou in advance :D

  • Solution
Posted (edited)
4 minutes ago, Ted2 said:

Hey,

 

So I'm trying to make my hack support arm64 devices too, lazy too use AutoLipo & since most devices are arm64 it's good to understand it I think.

 

So the hack is done for armv7, I got a boolean function which looks like this in armv7:


__text:003D5A58 sub_3D5A58                            
__text:003D5A58                                        
__text:003D5A58                 CMP             R0, #0
__text:003D5A5A                 ITTT EQ
__text:003D5A5C                 MOVEQ           R0, #0
__text:003D5A5E                 SXTBEQ          R0, R0
__text:003D5A60                 BXEQ            LR
__text:003D5A62                 MOV             R1, #(_OBJC_IVAR_$_Something) ; char _somethign;
__text:003D5A6A                 ADD             R1, PC  ; char _something;
__text:003D5A6C                 LDR             R1, [R1] ; char _something;
__text:003D5A6E                 LDRB            R0, [R0,R1]
__text:003D5A70                 SXTB            R0, R0
__text:003D5A72                 BX              LR

 

What I did here was,

Change CMP R0, #0 to MOV R0, #1

and change MOVEQ R0, #0 to MOVEQ R0, #1.

This worked.

 

Now I went to the same function in arm64, and my mind was like :o 

This is the code:

 


sub_10041D8DC                           ; CODE XREF: sub_10031C83C+228�p
__text:000000010041D8DC                                        
__text:000000010041D8DC                 CBZ             X0, locret_10041D8F4
__text:000000010041D8E0                 ADRP            X8, #_OBJC_IVAR_$_something._something@PAGE ; bool _something;
__text:000000010041D8E4                 LDRSW           X8, [X8,#_OBJC_IVAR_$_Something._something@PAGEOFF] ; bool _something;
__text:000000010041D8E8                 LDRB            W8, [X0,X8]
__text:000000010041D8EC                 CMP             W8, #0
__text:000000010041D8F0                 CSET            W0, NE
__text:000000010041D8F4
__text:000000010041D8F4 locret_10041D8F4                        ; CODE XREF: sub_10041D8DC�j
__text:000000010041D8F4                 RET

 

So I was actually looking for a boolean, which I thought was: MOV X0, #0 or MOV W0, #0.

The only function I see which I have to include is the CMP.

 

So my question, what's the boolean function? Is it diffrent named in arm64 binary's?

 

Thankyou in advance :D

CSET W0, NE is setting W0 to 1 if W8 is not zero. Try modding that to MOV W0, #1

Updated by Guest
Typo
Posted (edited)
6 minutes ago, shmoo said:

CSET W0, NE is setting W0 to zero if W8 is not zero. Try modding that to MOV W0, #1

Crashes :S

 

Edit: did the CMP to MOV W0, #1, should've been MOV W8, #1.

Works fine now, thankyou Shmoo! :D

Updated by Ted2
Posted
2 minutes ago, Ted2 said:

Crashes :S

Refresh I made a typo in the explanation. try changing the LDRB to MOV W8, #1. that way W8 will always be 1 making it so that W0 will always be 1

4 minutes ago, Ted2 said:

Crashes :S

 

Edit: did the CMP to MOV W0, #1, should've been MOV W8, #1.

Works fine now, thankyou Shmoo! :D

Haha good job :)

Posted
8 minutes ago, DiDA said:

In ARM64

MOV X0, #1 = True

 

http://armconverter.com/submissions.php

Yea, I was looking there. But got confused when in the arm64 function wasn't a boolean to false like it was in the armv7 function xD

 

10 minutes ago, shmoo said:

Refresh I made a typo in the explanation. try changing the LDRB to MOV W8, #1. that way W8 will always be 1 making it so that W0 will always be 1

Haha good job :)

The LDRB to MOV W8, #1 doesn't seem to work, but I'll just keep it with the other ine xD

Posted (edited)

10041D8DC =

mov w0,#1

ret

 

acts as mov r0,#1 bxlr

Updated by MRS14T3R
Posted
4 minutes ago, MRS14T3R said:

mov w0,#1

ret

You mean from the begin of the function?

If yes, that will crash the game xD

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

    • Call of Antia: Match 3 RPG v4.0.21 +2 Jailed Cheats
      Modded/Hacked App: Call of Antia: Match 3 RPG By FunPlus International AG
      Bundle ID: com.funplus.coa
      App Store Link: https://apps.apple.com/us/app/call-of-antia-match-3-rpg/id1583719419?uo=4

       

       

      📌 Mod Requirements

      - Non-Jailbroken/Jailed or Jailbroken iPhone or iPad.
      - Sideloadly or alternatives.
      - Computer running Windows/macOS/Linux with iTunes installed.

       

      🤩 Hack Features

      - Damage Multiplier
      - Defense Multiplier

       

      ⬇️ iOS Hack Download IPA Link


      Hidden Content
      React or reply to this topic to see the <a href='https://iosgods.com/topic/3762-info-how-to-unlockview-the-hidden-content-on-iosgods/#findComment-78119'>hidden content & download link</a>. 👀







       

      📖 PC Installation Instructions

      STEP 1: Download the pre-hacked .IPA file from the link above to your computer. To download from the iOSGods App, see our iOSGods App IPA Download Tutorial which includes a video example.
      STEP 2: Download Sideloadly and install it on your Windows or Mac.
      STEP 3: Open Sideloadly on your computer, connect your iOS device, and wait until your device name appears in Sideloadly.
      STEP 4: Once your iDevice is recognized, drag the modded .IPA file you downloaded and drop it into the Sideloadly application.
      STEP 5: Enter your Apple Account email, then press “Start.” You’ll then be asked to enter your password. Go ahead and provide the required information.
      STEP 6: Wait for Sideloadly to finish sideloading/installing the hacked IPA. If there are issues during installation, please read the note below.
      STEP 7: Once the installation is complete and you see the app on your Home Screen, you will need to go to Settings -> General -> Profiles / VPN & Device Management. Once there, tap on the email you entered from step 6, and then tap on 'Trust [email protected]'.
      STEP 8: Now go to your Home Screen and open the newly installed app and everything should work fine. You may need to follow further per app instructions inside the hack's popup in-game.

      NOTE: iOS/iPadOS 16 and later, you must enable Developer Mode. For free Apple Developer accounts, you will need to repeat this process every 7 days. If you have any questions or problems, read our Sideloadly FAQ section of the topic and if you don't find a solution, please post your issue below and we'll do our best to help! If the hack does work for you, post your feedback below and help out other fellow members that are encountering issues.

       

      🙌 Credits

      - AlyssaX64

       

      📷 Cheat Video/Screenshots

      N/A
      • 7 replies
    • Call of Antia: Match 3 RPG v4.0.21 +2 Cheats
      Modded/Hacked App: Call of Antia: Match 3 RPG By FunPlus International AG
      Bundle ID: com.funplus.coa
      App Store Link: https://apps.apple.com/us/app/call-of-antia-match-3-rpg/id1583719419?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

      - Damage Multiplier
      - Defense Multiplier

       

      ⬇️ iOS Hack Download Link


      Hidden Content
      React or reply to this topic to see the <a href='https://iosgods.com/topic/3762-info-how-to-unlockview-the-hidden-content-on-iosgods/#findComment-78119'>hidden content & download link</a>. 👀







       

      📖 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

      - AlyssaX64

       

      📷 Cheat Video/Screenshots

      N/A

       

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

      Modded Android APKs
      Need modded apps or games for Android? Check out the latest custom APK mods, cheats & more in our Android Section.
      • 8 replies
    • Superhero Idle: Strike League v0.11.2 [+6 Jailed Cheats]
      Modded/Hacked App: Superhero Idle: Strike League By Midnite SRL
      Bundle ID: games.midnite.sid
      App Store Link: https://apps.apple.com/us/app/superhero-idle-strike-league/id6449540121?uo=4



      🤩 Hack Features

      - Never Die
      - One Hit Kill
      - Freeze Currency (Always Will Increase Cash, Gem)
      - Unlimited Skip Ads
      - Activate ViP
      - No Ads
      • 0 replies
    • Superhero Idle: Strike League v0.11.2 [+6 Cheats]
      Modded/Hacked App: Superhero Idle: Strike League By Midnite SRL
      Bundle ID: games.midnite.sid
      App Store Link: https://apps.apple.com/us/app/superhero-idle-strike-league/id6449540121?uo=4



      🤩 Hack Features

      - Never Die
      - One Hit Kill
      - Freeze Currency (Always Will Increase Cash, Gem)
      - Unlimited Skip Ads
      - Activate ViP
      - No Ads
      • 1 reply
    • Smash Hit v1.5.6 Jailed Cheats +2
      Modded/Hacked App: Smash Hit By Mediocre AB
      Bundle ID: com.mediocre.smashhit
      iTunes Store Link: https://apps.apple.com/us/app/smash-hit/id603527166?uo=4


      Hack Features:
      - Unlimited Balls
      - Free iAP (Turn on inside iOSGods Mod Menu first)


      Jailbreak required hack(s): https://iosgods.com/topic/74991-smash-hit-cheats-v142-1/


      Hack Download Link: https://iosgods.com/topic/74993-smash-hit-v150-jailed-cheats-2/
      • 297 replies
    • Gangstar Vegas Cheats v8.4.0 +4
      Modded/Hacked App: Gangstar Vegas - Mafia action By Gameloft
      Bundle ID: com.gameloft.gangstar4
      iTunes Store Link: https://apps.apple.com/us/app/gangstar-vegas-mafia-action/id571393580?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

      - Infinite Currencies
      - Infinite Run ( To stop running turn off in menu then click run again )
      - Infinite Ammo / No Reload ( Required re-launching the game after purchasing new gun and enabled in menu before load into the game )
      - No Cops


      NOTE: Turn off wifi before playing


      🍏 For Non-Jailbroken & No Jailbreak required hacks: https://iosgods.com/topic/166702-gangstar-vegas-mafia-action-v791-jailed-cheats-3/

       

      ⬇️ iOS Hack Download Link: https://iosgods.com/topic/147734-gangstar-vegas-cheats-v800-4/
        • Winner
      • 1,003 replies
    • Into The Dead 2 Cheats v1.78.0 +11
      Modded/Hacked App: Into the Dead 2 By Prodigy Design Limited T/A Sidhe Interactive
      Bundle ID: com.pikpok.dr2.iosstore
      iTunes Store Link: https://itunes.apple.com/us/app/into-the-dead-2/id1151220243?mt=8&uo=4&at=1010lce4



      Hack Features:
      - Infinite Ammo
      - No Reload
      - One Shot Kill
      - Infinite Grenade
      - No Grenade Cooldown
      - Insane Explotion Radius after Throw Grenade
      - No Collision (God Mode)
      - Infinite Stamnia
      - ViP Services
      - Infinite Silver
      - Infinite Gold


      Hack Download Link: https://iosgods.com/topic/73337-arm64-into-the-dead-2-cheats-v1141-11/
      • 1,576 replies
    • Candy Crush Soda Saga Cheats v1.294.2 +3
      Modded/Hacked App: Candy Crush Soda Saga By King.com Limited
      Bundle ID: com.midasplayer.apps.candycrushsodasaga
      iTunes Store Link: https://apps.apple.com/us/app/candy-crush-soda-saga/id850417475?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

      - Freeze Moves
      - Freeze Lives
      - Freeze Boosters


      🍏 For Non-Jailbroken & No Jailbreak required hacks: https://iosgods.com/topic/191667-candy-crush-soda-saga-v12861-jailed-cheats-3/

       

      📥 iOS Hack Download Link: https://iosgods.com/topic/191666-candy-crush-soda-saga-cheats-v12873-3/
      • 15 replies
    • My Hot Pot Story Cheats v4.7.3 +1
      Modded/Hacked App: My Hotpot Story By 冲 于
      Bundle ID: com.lxqd.hotpotiver
      iTunes Store Link: https://apps.apple.com/us/app/my-hotpot-story/id1623328997?uo=4


      Hack Features:
      - Infinite Currencies


      Non-Jailbroken & No Jailbreak required hack(s): https://iosgods.com/topic/166067-my-hotpot-story-v145-jailed-cheats-1/


      iOS Hack Download Link: https://iosgods.com/topic/166065-my-hotpot-story-cheats-all-versions-1/
      • 150 replies
    • Nonstop Knight 2 Cheats v3.2.9 +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/
      • 1,606 replies
    • Hollywood Story: Fashion Star Cheats v13.2 +4
      Modded/Hacked App: Hollywood Story®: Fashion Star By Nanobit d.o.o.
      Bundle ID: com.nanobitsoftware.hollywoodstory
      iTunes Store Link: https://apps.apple.com/us/app/hollywood-story-fashion-star/id876656488?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

      - Infinite Cash
      - Infinite Gems
      - Infinite Golden Tickets
      - Infinite Stars Point

       

      ⬇️ iOS Hack Download Link: https://iosgods.com/topic/73408-hollywood-story-fashion-star-cheats-v1211-4/
        • Agree
        • Like
      • 790 replies
    • Duolingo - Language Lessons v7.77.0 Jailed Mod +1
      Modded/Hacked App: Duolingo By Duolingo
      Bundle ID: com.duolingo.DuolingoMobile
      iTunes Store Link: https://itunes.apple.com/us/app/duolingo/id570060128?mt=8&uo=4&at=1010lce4


      Hack Features:
      - PREMIUM
       

      Hack Download Link: https://iosgods.com/topic/78624-arm64-duolingo-v5248-jailed-mod-2/


      Credits:
      - @Laxus
        • Agree
        • Winner
        • Like
      • 2,783 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