Jump to content

Assistance in True or False in IDA ARM64


Go to solution Solved by Rook,

3 posts in this topic

Recommended Posts

Posted (edited)

Hello every one,

i'm new to ida pro & and i always using flex to patch some apps

but i wanted to change to ida for better experience 

i have a question about Boolean ( True / False ) in ida

as you see below i have this function which i can change it to true of false in flex easily

but i want to know how to make This Function TRUE in ida

 

STP             X20, X19, [SP,#-0x10+var_10]!
STP             X29, X30, [SP,#0x10+var_s0]
ADD             X29, SP, #0x10
ADRP            X8, #_OBJC_IVAR_$_TitleModel.titleTextView@PAGE ; TextViewWithColor *titleTextView;
LDRSW           X8, [X8,#_OBJC_IVAR_$_TitleModel.titleTextView@PAGEOFF] ; TextViewWithColor *titleTextView;
LDR             X0, [X0,X8] ; void *
ADRP            X8, #selRef_font@PAGE
LDR             X1, [X8,#selRef_font@PAGEOFF] ; char *
BL              _objc_msgSend
MOV             X29, X29
BL              _objc_retainAutoreleasedReturnValue
MOV             X19, X0
ADRP            X8, #selRef_familyName@PAGE
LDR             X1, [X8,#selRef_familyName@PAGEOFF] ; char *
BL              _objc_msgSend
MOV             X29, X29
BL              _objc_retainAutoreleasedReturnValue
MOV             X20, X0
MOV             X0, X19
BL              _objc_release
ADRP            X8, #classRef_TitleModel@PAGE
LDR             X0, [X8,#classRef_TitleModel@PAGEOFF] ; void *
ADRP            X8, #selRef_fontFantasyIncludesFontFamilyName_@PAGE
LDR             X1, [X8,#selRef_fontFantasyIncludesFontFamilyName_@PAGEOFF] ; char *
MOV             X2, X20
BL              _objc_msgSend
MOV             X19, X0
MOV             X0, X20
BL              _objc_release
MOV             X0, X19
LDP             X29, X30, [SP,#0x10+var_s0]
LDP             X20, X19, [SP+0x10+var_10],#0x20
RET
; End of function -[TitleModel IsPremium]
Updated by Haidar92
explain more
  • Like 1
  • Solution
Posted

To return this whole function to TRUE or FALSE, you need to write

20 00 80 52 C0 03 5F D6 -> TRUE

00 00 80 52 C0 03 5F D6 -> FALSE

At the beginning of the function. In your case: STP             X20, X19, [SP,#-0x10+var_10]!

Live Offset Patcher may be able to help you with testing!

  • Like 1
Posted (edited)
5 hours ago, Rook said:

To return this whole function to TRUE or FALSE, you need to write

20 00 80 52 C0 03 5F D6 -> TRUE

00 00 80 52 C0 03 5F D6 -> FALSE

At the beginning of the function. In your case: STP             X20, X19, [SP,#-0x10+var_10]!

Live Offset Patcher may be able to help you with testing!

Thanks for reply

I solve the issue FINALLY with your method 

but there is some functions don't start with STP Like this one :

ADRP            X8, #selRef_ownsSubscription_@PAGE
LDR             X1, [X8,#selRef_ownsSubscription_@PAGEOFF]
ADRP            X2, #cfstr_Oneyearunlockv@PAGE ; "Unlock"
ADD             X2, X2, #cfstr_Oneyearunlockv@PAGEOFF ; "Unlock"
B               _objc_msgSend


And this one also :

SUB             SP, SP, #0x140
STP             X28, X27, [SP,#0x130+var_50]
STP             X26, X25, [SP,#0x130+var_40]
STP             X24, X23, [SP,#0x130+var_30]
STP             X22, X21, [SP,#0x130+var_20]
STP             X20, X19, [SP,#0x130+var_10]
STP             X29, X30, [SP,#0x130+var_s0]
ADD             X29, SP, #0x130
MOV             X19, X0
ADRP            X8, #___stack_chk_guard_ptr@PAGE
LDR             X8, [X8,#___stack_chk_guard_ptr@PAGEOFF]
LDR             X8, [X8]
ADRP            X9, #cfstr_Oneyearunlockv@PAGE ; "OneYearUnlock"
ADD             X9, X9, #cfstr_Oneyearunlockv@PAGEOFF ; "OneYearUnlock"
STUR            X8, [X29,#var_58]
ADRP            X8, #cfstr_Halfyearunlock@PAGE ; "HalfYearUnlock"
ADD             X8, X8, #cfstr_Halfyearunlock@PAGEOFF ; "HalfYearUnlock"
ADRP            X10, #cfstr_Monthlyunlockv@PAGE ; "MonthlyUnlock"
ADD             X10, X10, #cfstr_Monthlyunlockv@PAGEOFF ; "MonthlyUnlock"
STP             X9, X8, [X29,#var_70]
STUR            X10, [X29,#var_60]
ADRP            X8, #classRef_NSArray@PAGE
LDR             X0, [X8,#classRef_NSArray@PAGEOFF] ; void *
ADRP            X8, #selRef_arrayWithObjects_count_@PAGE
LDR             X1, [X8,#selRef_arrayWithObjects_count_@PAGEOFF] ; char *
SUB             X2, X29, #-var_70
MOV             W3, #3
BL              _objc_msgSend
MOV             X29, X29
BL              _objc_retainAutoreleasedReturnValue
MOVI            V0.16B, #0
STP             Q0, Q0, [SP,#0x130+var_130]
STP             Q0, Q0, [SP,#0x130+var_110]
BL              _objc_retain
MOV             X20, X0
ADRP            X8, #selRef_countByEnumeratingWithState_objects_count_@PAGE
LDR             X21, [X8,#selRef_countByEnumeratingWithState_objects_count_@PAGEOFF]
MOV             X2, SP
ADD             X3, SP, #0x130+var_F0
MOV             X1, X21 ; char *
MOV             W4, #0x10
BL              _objc_msgSend
CBZ             X0, loc_1001631D0

What should i edit ?

Updated by Haidar92
i solve the issue ,, but there is more

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

    • Astra Squad +3 Cheats [ Unlimited Currencies ]
      Mod APK Game Name: Astra Squad By MEGAGIGA GAMES BILISIM A.S.
      Rooted Device: Not Required.
      Google Play Store Link: https://play.google.com/store/apps/details?id=com.astra.squad

       

      🤩 Hack Features

      - Currency Modifier -> Earn some. 
      - Tool Damage Multiplier
      - No Tool Level Requirement
      • 0 replies
    • Crunchyroll: Asdivine Saga +1 Jailed Cheat [ Full Game Unlocked ]
      Modded/Hacked App: Crunchyroll: Asdivine Saga By Crunchyroll, LLC
      Bundle ID: com.crunchyroll.gv.asdivinesaga
      App Store Link: https://apps.apple.com/us/app/crunchyroll-asdivine-saga/id6762117251?uo=4

       


      🤩 Hack Features

      -- Full Game Unlocked
      • 0 replies
    • Idle Berserker legend of kali +3 Jailed Cheats
      Modded/Hacked App: 버서커 키우기 By A1GAMES Co,. Ltd.
      Bundle ID: com.a1gamesstudio.berserker
      App Store Link: https://apps.apple.com/kr/app/%EB%B2%84%EC%84%9C%EC%BB%A4-%ED%82%A4%EC%9A%B0%EA%B8%B0/id6746774731?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
      - Reward Multiplier

       

      ⬇️ iOS Hack Download IPA Link


      Hidden Content

      Download via the iOSGods App







       

      📖 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
        • Like
      • 14 replies
    • Idle Berserker legend of kali +3 Cheats
      Modded/Hacked App: 버서커 키우기 By A1GAMES Co,. Ltd.
      Bundle ID: com.a1gamesstudio.berserker
      App Store Link: https://apps.apple.com/kr/app/%EB%B2%84%EC%84%9C%EC%BB%A4-%ED%82%A4%EC%9A%B0%EA%B8%B0/id6746774731?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
      - Reward Multiplier

       

      ⬇️ 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

      - 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.
      • 0 replies
    • Reactor 2: Nuclear Tycoon v1.0.0 [ +3 APK MOD ] Currency Max
      Mod APK Game Name: Reactor 2: Nuclear Tycoon
      Rooted Device: Not Required.
      Google Play Store Link: https://play.google.com/store/apps/details?id=com.rsgapps.reactor.two&hl=en

      🤩 Hack Features

      - Radioactive Coins / Freeze
      - Unlimited Cash
      - Bank Capacity / Cash

      Note:- Tut Skip For Cash
        • Agree
      • 0 replies
    • Reactor 2: Nuclear Tycoon v1.0.1 [ +3 Cheats ] Currency Max
      Modded/Hacked App: Reactor 2: Nuclear Tycoon By Robert Grzybek
      Bundle ID: com.rsgapps.reactor.two
      App Store Link: https://apps.apple.com/us/app/reactor-2-nuclear-tycoon/id6761125316?uo=4

      🤩 Hack Features

      - Radioactive Coins / Freeze
      - Unlimited Cash
      - Bank Capacity / Cash
        • Haha
      • 0 replies
    • Reactor 2: Nuclear Tycoon v1.0.1 [ +3 Jailed ] Currency Max
      Modded/Hacked App: Reactor 2: Nuclear Tycoon By Robert Grzybek
      Bundle ID: com.rsgapps.reactor.two
      App Store Link: https://apps.apple.com/us/app/reactor-2-nuclear-tycoon/id6761125316?uo=4

      🤩 Hack Features

      - Radioactive Coins / Freeze
      - Unlimited Cash
      - Bank Capacity / Cash
        • Like
      • 1 reply
    • Meow Knights: Idle RPG (Auto Update) Jailed Cheats +4
      Modded/Hacked App: Meow Knights: Idle RPG By MONSTER PLANET Corp.
      Bundle ID: com.MonsterPlanet.CatIdleRpg
      App Store Link: https://apps.apple.com/us/app/meow-knights-idle-rpg/id6760513582?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

      - God Mode
      - Multiply Attack
      - Free Store (not iAP)
      - PREMIUM

       

      ⬇️ iOS Hack Download IPA Link: https://iosgods.com/topic/215640-meow-knights-idle-rpg-auto-update-jailed-cheats-4/
        • Informative
        • Winner
        • Like
      • 5 replies
    • Empire Defense: Rome TD v1.0.5 [ +3 Jailed ] Currency Max
      Modded/Hacked App: Empire Defense: Rome TD By Gokraft Games Ltd
      Bundle ID: com.gokraftgames.rome
      App Store Link: https://apps.apple.com/us/app/empire-defense-rome-td/id6760978980?uo=4

      🤩 Hack Features

      - Unlimited Gems
      - Unlimited Coins
      - Unlimited Meat
        • Like
      • 0 replies
    • Empire Defense: Rome TD v1.0.5 [ +3 Cheats ] Currency Max
      Modded/Hacked App: Empire Defense: Rome TD By Gokraft Games Ltd
      Bundle ID: com.gokraftgames.rome
      App Store Link: https://apps.apple.com/us/app/empire-defense-rome-td/id6760978980?uo=4

      🤩 Hack Features

      - Unlimited Gems
      - Unlimited Coins
      - Unlimited Meat
      • 1 reply
    • Ariana and the Elder Codex +1 Jailed Cheat [ Full Game Unlocked ]
      Modded/Hacked App: Ariana and the Elder Codex By Crunchyroll, LLC
      Bundle ID: com.crunchyroll.gv.arianaandtheeldercodex
      App Store Link: https://apps.apple.com/us/app/ariana-and-the-elder-codex/id6760456190?uo=4

       


      🤩 Hack Features

      -- Full Game Unlocked
        • Thanks
        • Winner
      • 2 replies
    • Lost Twins 2 +2 Mods [ Full Game Unlocked ]
      Mod APK Game Name: Lost Twins 2 By Playdew
      Rooted Device: Not Required.
      Google Play Store Link: https://play.google.com/store/apps/details?id=com.playdew.losttwins2

       

      🤩 Hack Features

      - Unlock Full Game -> Head into Settings, tap on the J icon, then tap on the star icon.
      - Unlock x10 Coins -> Head into Settings, tap on the J icon, then tap on the speech bubble icon.
      • 0 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