Jump to content

[ARM64] IDA + LLDB Tutorial [Noob Friendly]


140 posts in this topic

Recommended Posts

Posted
26 minutes ago, Ted2 said:

Could you post full stack trace?

27 minutes ago, Ted2 said:

Could you post full stack trace?

i dont really know how to post a screenshot on here lol so i copied and pasted the whole thing

> Making all for tweak bloodyharry…
make[2]: Nothing to be done for 'internal-library-compile'.
> Making all in bloodyharrySettings…
> Making all for bundle bloodyharry…
==> Copying resource directories into the bundle wrapper…
==> Compiling bloodyharry.mm (armv7)…
While building module 'Preferences' imported from bloodyharry.mm:1:
In file included from <module-includes>:1:
In file included from /var/theos/include/Preferences/Preferences.h:2:
In file included from /var/theos/include/Preferences/NSArray+PreferencesAddition.h:1:
In file included from /var/theos/include/Preferences/PSSpecifier.h:2:
/var/theos/include/Preferences/PSTableCell.h:53:18: error: expected ';' after method prototype
- (BOOL)isChecked API_AVAILABLE(ios(6.0));
                 ^
                 ;
/var/theos/include/Preferences/PSTableCell.h:55:47: error: expected ':'
- (void)setChecked:(BOOL)checked API_AVAILABLE(ios(6.0));
                                              ^
                                              :
/var/theos/include/Preferences/PSTableCell.h:55:47: error: expected ';' after method prototype
- (void)setChecked:(BOOL)checked API_AVAILABLE(ios(6.0));
                                              ^
                                              ;
While building module 'Preferences' imported from bloodyharry.mm:1:
In file included from <module-includes>:1:
In file included from /var/theos/include/Preferences/Preferences.h:2:
In file included from /var/theos/include/Preferences/NSArray+PreferencesAddition.h:1:
/var/theos/include/Preferences/PSSpecifier.h:123:66: error: expected ':'
+ (instancetype)groupSpecifierWithID:(NSString *)ID API_AVAILABLE(ios(8.0));
                                                                 ^
                                                                 :
/var/theos/include/Preferences/PSSpecifier.h:123:66: error: expected ';' after method prototype
+ (instancetype)groupSpecifierWithID:(NSString *)ID API_AVAILABLE(ios(8.0));
                                                                 ^
                                                                 ;
bloodyharry.mm:1:9: fatal error: could not build module 'Preferences'
#import <Preferences/PSListController.h>
 ~~~~~~~^
6 errors generated.
make[4]: *** [/var/theos/makefiles/instance/rules.mk:201: /var/root/bloodyharry/.theos/obj/armv7/bloodyharry.mm.c520ca07.o] Error 1
==> Compiling bloodyharry.mm (arm64)…
While building module 'Preferences' imported from bloodyharry.mm:1:
In file included from <module-includes>:1:
In file included from /var/theos/include/Preferences/Preferences.h:2:
In file included from /var/theos/include/Preferences/NSArray+PreferencesAddition.h:1:
In file included from /var/theos/include/Preferences/PSSpecifier.h:2:
/var/theos/include/Preferences/PSTableCell.h:53:18: error: expected ';' after method prototype
- (BOOL)isChecked API_AVAILABLE(ios(6.0));
                 ^
                 ;
/var/theos/include/Preferences/PSTableCell.h:55:47: error: expected ':'
- (void)setChecked:(BOOL)checked API_AVAILABLE(ios(6.0));
                                              ^
                                              :
/var/theos/include/Preferences/PSTableCell.h:55:47: error: expected ';' after method prototype
- (void)setChecked:(BOOL)checked API_AVAILABLE(ios(6.0));
                                              ^
                                              ;
While building module 'Preferences' imported from bloodyharry.mm:1:
In file included from <module-includes>:1:
In file included from /var/theos/include/Preferences/Preferences.h:2:
In file included from /var/theos/include/Preferences/NSArray+PreferencesAddition.h:1:
/var/theos/include/Preferences/PSSpecifier.h:123:66: error: expected ':'
+ (instancetype)groupSpecifierWithID:(NSString *)ID API_AVAILABLE(ios(8.0));
                                                                 ^
                                                                 :
/var/theos/include/Preferences/PSSpecifier.h:123:66: error: expected ';' after method prototype
+ (instancetype)groupSpecifierWithID:(NSString *)ID API_AVAILABLE(ios(8.0));
                                                                 ^
                                                                 ;
bloodyharry.mm:1:9: fatal error: could not build module 'Preferences'
#import <Preferences/PSListController.h>
 ~~~~~~~^
6 errors generated.
make[4]: *** [/var/theos/makefiles/instance/rules.mk:201: /var/root/bloodyharry/.theos/obj/arm64/bloodyharry.mm.cda5af5f.o] Error 1
make[3]: *** [/var/theos/makefiles/instance/bundle.mk:37: /var/root/bloodyharry/.theos/obj/armv7/bloodyharry.bundle/bloodyharry] Error 2
make[3]: *** Waiting for unfinished jobs....
make[3]: *** [/var/theos/makefiles/instance/bundle.mk:37: /var/root/bloodyharry/.theos/obj/arm64/bloodyharry.bundle/bloodyharry] Error 2
make[2]: *** [/var/theos/makefiles/instance/bundle.mk:26: internal-bundle-all_] Error 2
make[1]: *** [/var/theos/makefiles/master/rules.mk:117: bloodyharry.all.bundle.variables] Error 2
make: *** [/var/theos/makefiles/master/aggregate.mk:12: internal-all] Error 2

 

 

Posted
1 hour ago, Ted2 said:

How did you install theos? And which SDK did you download?

I got Theos by following the rook tutorial and using putty on windows and I’m using the iphoneos9.3 sdk

Posted
11 hours ago, Wwvk said:

I got Theos by following the rook tutorial and using putty on windows and I’m using the iphoneos9.3 sdk

Try these sdks: https://github.com/theos/sdks, download them and extract in the sdks folder. Then run: make clean package and see if that works.

Posted
6 hours ago, Ted2 said:

Try these sdks: https://github.com/theos/sdks, download them and extract in the sdks folder. Then run: make clean package and see if that works.

after doing that i get 55 errors but i think it might have something to do with me being on ios 13, does that have something to do with it maybe?

Posted
On 2/18/2022 at 8:21 PM, Wwvk said:

after doing that i get 55 errors but i think it might have something to do with me being on ios 13, does that have something to do with it maybe?

It might be that the template I used in this guide is outdated for theos. You could try to make a menu instead with this template:

https://github.com/joeyjurjens/iOS-Mod-Menu-Template-for-Theos

Posted (edited)

Hey, really nice tutorial, it gave me a nice motivation to start hacking on iOS devices too!

I've been trying to reverse engineer Head Soccer as my first proper project but I really did not understand how ASLR works on ARM64.

 

(lldb) image list "headsoccer"

[  0] 177C24B9-537F-3B7A-ACDF-74DDC1B4D35B 0x00000001022d8000 /private/var/containers/Bundle/Application/028CC5F9-515B-4E52-8380-ED4D992353B8/headsoccer.app/headsoccer

(lldb)

According to the guide I need to take the last 5 hex digits of the address 0x1022d8000, aka d8000 but I wonder if this is always the case or if the ASLR slide could include more or less digits (like 0x4000 or 0x100000).

Many thanks for publishing this guide!

Updated by cinderace
fixed some bad grammar

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

    • Summoners War Cheats v9.0.0 +7
      Hacked App: Summoners War By Com2uS Corp.
      iTunes Link: https://itunes.apple.com/us/app/summoners-war/id852912420?mt=8&uo=4&at=1010lce4
      Bundle ID: com.com2us.smon.normal.freefull.apple.kr.ios.universal

      Hack Features:
      - Damage Multiplier 
      - Godmode
      - Monster Count Unlink
      - Max Accuracy
      - No Skill Cooldown
      - First Turn
      - Build buildings without having required level
      - Antiban
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 6,924 replies
    • My Cafe — Restaurant game Cheats v2025111.0.791 +3
      Modded/Hacked App: My Cafe — Restaurant Game By Melsoft
      Bundle ID: com.Melesta.MyCafe
      iTunes Store Link: https://apps.apple.com/us/app/my-cafe-restaurant-game/id1068204657?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

      - Increase Game Speed
      - No Timer to Buy Energy
      - Custom Dice Value


      Notes:
      - DO NOT BUY VIP FOR OTHER FEATURES, IT HAS BEEN PATCHED AND NO LONGER WORK

       

      Non-Jailbroken Hack: https://iosgods.com/topic/134272-my-cafe-%E2%80%94-restaurant-game-v20250205684-3-cheats/

       

      ⬇️ iOS Hack Download Link: https://iosgods.com/topic/130634-my-cafe-%E2%80%94-restaurant-game-cheats-v20250300691-3/
        • Informative
        • Agree
        • Haha
        • Winner
        • Like
      • 669 replies
    • Big Brother - The Game v2.2.6 +3 Cheats [ Unlimited Currencies ]
      Modded/Hacked App: Big Brother - The Game By Fusebox Games
      Bundle ID: com.fuseboxgames.bigbrother
      iTunes Store Link:https://apps.apple.com/au/app/big-brother-the-game/id6740625561

       
       

      🤩 Hack Features

      - Unlimited Gems -> Earn or spend some.
      - Unlimited Tickets -> Earn or spend some.
        • Winner
      • 14 replies
    • Big Brother - The Game v2.2.6 +3 Jailed Cheats [ Unlimited Currencies ]
      Modded/Hacked App: Big Brother - The Game By Fusebox Games
      Bundle ID: com.fuseboxgames.bigbrother
      iTunes Store Link:https://apps.apple.com/au/app/big-brother-the-game/id6740625561

       


      🤩 Hack Features

      - Unlimited Gems -> Earn or spend some.
      - Unlimited Tickets -> Earn or spend some.
        • Thanks
        • Like
      • 42 replies
    • Last Legion: Tower Defense TD v1.1.1 [ +13 Cheats ] Currency Max
      Modded/Hacked App: Last Legion: Tower Defense TD By Antares Games s.r.o.
      Bundle ID: last.legion.tower.defense.survival.war.fortress.idle.td
      App Store Link: https://apps.apple.com/us/app/last-legion-tower-defense-td/id6753672104?uo=4

      🤩 Hack Features

      - Unlimited Gems
      - Unlimited Coins
      - Unlimited Energy
      - Unlimited Dice
      - Unlimited Blueprint
      - Unlimited Silver Core
      - Unlimited Gold Core
      - Unlimited Silver Module
      - Unlimited Card / For Weapon UP
      - Unlimited EXP / Battle Rewards
      - Unlimited Battle Rewards / Coins Blueprint EXP
      - Equip Status / ATK
      - Weapon Status / ATK / Area DMG Linked Weapon
      • 2 replies
    • Last Legion: Tower Defense TD v1.1.1 [ +13 Jailed ] Currency Max
      Modded/Hacked App: Last Legion: Tower Defense TD By Antares Games s.r.o.
      Bundle ID: last.legion.tower.defense.survival.war.fortress.idle.td
      App Store Link: https://apps.apple.com/us/app/last-legion-tower-defense-td/id6753672104?uo=4

      🤩 Hack Features

      - Unlimited Gems
      - Unlimited Coins
      - Unlimited Energy
      - Unlimited Dice
      - Unlimited Blueprint
      - Unlimited Silver Core
      - Unlimited Gold Core
      - Unlimited Silver Module
      - Unlimited Card / For Weapon UP
      - Unlimited EXP / Battle Rewards
      - Unlimited Battle Rewards / Coins Blueprint EXP
      - Equip Status / ATK
      - Weapon Status / ATK / Area DMG Linked Weapon
      • 2 replies
    • Sunday City: Sim Life v1.8.2 +1 Jailed Cheat [ Speed Hack ]
      Modded/Hacked App: Sunday City: Sim Life By AP KEFIR LTD
      Bundle ID: adventure.party.real.life
      App Store Link: https://apps.apple.com/us/app/sunday-city-sim-life/id6450834358?uo=4

       


      🤩 Hack Features

      - Move Speed Multiplier
        • Like
      • 27 replies
    • Sunday City: Sim Life v1.8.2 +1 Cheat [ Speed Hack ]
      Modded/Hacked App: Sunday City: Sim Life By AP KEFIR LTD
      Bundle ID: adventure.party.real.life
      App Store Link: https://apps.apple.com/us/app/sunday-city-sim-life/id6450834358?uo=4

       


      🤩 Hack Features

      - Move Speed Multiplier
        • Agree
      • 26 replies
    • Days After: Zombie Survival v12.8 +17 Cheats
      Modded/Hacked App: Days After: Zombie Survival By REACTGAMES STUDIO LIMITED
      Bundle ID: games.alternativa.zombie.survival.shooter
      iTunes Store Link: https://apps.apple.com/us/app/days-after-zombie-survival/id1498731586?uo=4

      Hack Features:
      - Disable Enemy Attacks
      - Custom Damage
      - Unlimited Durability
      - Stupid AI

      * more to come when I get more motivation

      Non-Jailbroken & No Jailbreak required hack(s): https://iosgods.com/forum/79-no-jailbreak-section/
      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
        • Winner
        • Like
      • 893 replies
    • Assassin's Creed Rebellion v3.7.2 +4 Jailed Cheats [Godmode & O-HK]
      Modded/Hacked App: Assassin's Creed Rebellion by Ubisoft
      Bundle ID: com.ubisoft.accovenant
      iTunes Store Link: https://itunes.apple.com/us/app/assassins-creed-rebellion/id1164056434


      Mod Requirements:
      - Non-Jailbroken/Jailed or Jailbroken iPhone/iPad/iPod Touch.
      - Cydia Impactor.
      - A Computer Running Windows/Mac/Linux.


      Hack Features:
      - Godmode - Health will not decrease.
      - One-Hit Kill - The damage you deal will be normal but the enemies will die.
      -- "Region Not Supported" Security Alert Bypassed
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 534 replies
    • Assassin's Creed Rebellion v3.7.2 Cheats [Godmode/O-HK]
      Modded/Hacked App: Assassin's Creed Rebellion by Ubisoft
      Bundle ID: com.ubisoft.accovenant
      iTunes Store Link: https://itunes.apple.com/us/app/assassins-creed-rebellion/id1164056434


      Mod Requirements:
      - Jailbroken iPhone/iPad/iPod Touch.
      - iFile / Filza / iFunBox / iTools or any other file managers for iOS.
      - Cydia Substrate (from Cydia).
      - PreferenceLoader (from Cydia).


      Hack Features:
      - Godmode - Health will not decrease.
      - One-Hit Kill - The damage you deal will be normal but the enemies will die.
      - All Assassin's Unlocked - Will unlock all assassin's and let you use all of them.
      -- "Region Not Supported" Security Alert Bypassed
        • Informative
        • Haha
        • Thanks
        • Winner
        • Like
      • 2,067 replies
    • Crunchyroll: Gift v1.0.2 +5 Jailed Cheats [ Unlocked ]
      Modded/Hacked App: Crunchyroll: Gift By Crunchyroll, LLC
      Bundle ID: com.crunchyroll.gv.gift
      App Store Link: https://apps.apple.com/us/app/crunchyroll-gift/id6747459734?uo=4

       
       

      🤩 Hack Features

      - God Mode
      - Unlock All Tools -> Head into Settings in-game and toggle the License button.*
      - Unlock All Passengers -> Head into Settings in-game and toggle the License button.*
      - Unlock All Memories -> Head into Settings in-game and toggle the License button.*
      -- Full Game Unlocked

      * - Only use 1 feature at a time.
      • 1 reply
×
  • 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