Jump to content

[Theos] Tweak doesn't do anything


ubyt3x

6 posts in this topic

Recommended Posts

Posted

I've set up a theos project and wrote some hooks into the Tweak.x. It compiles fine and gives no errors.

But nothing wants to change inside the target app I'm trying to hook into - I'm using both MS Hooking and the method with MSHookFunction and MSFindSymbol.

I also have a hook written that should show an alert after a certain view gets loaded, but I won't get an alert either. UIKit is imported inside the Makefile.

 

For example, IDA gives me "___TtC5Untis6Person_firstName_" as function name, so I'm calling MSFindSymbol for that. It's an NSString so I return @"something". The default text still remains inside the app.

ARxZ561.png

This is my Tweak.x:

@interface InfoCenterViewController : UIViewController
@end

NSString* firstName()
{
    return @"lol";
}

%ctor {
    MSHookFunction(
        ((void*) MSFindSymbol(NULL, "___TtC5Untis6Person_firstName_")),
        (void*) firstName,
        NULL);
}

%hook InfoCenterViewController

-(void) viewDidLoad {
    %orig;
    
    UIAlertView *alert = [[UIAlertView alloc]
        initWithTitle: @"UntisPro"
        message: @"yo this should show up bruh"
        delegate: self
        cancelButtonTitle: @"lol"
        otherButtonTitles: nil
    ];

    [alert show];
}

%end

Is something wrong? Is it even hooking correctly into the app?

 

I've made another project, tried hooking into SBLockScreenViewController and showing the same alert. It works fine there.

The bundle identifier is correct, I also tried it without any. Still doesn't do much.

 

Thanks!

Posted

Why use mshookfunc when you can just simple mshook?

Posted
1 hour ago, Laxus said:

Why use mshookfunc when you can just simple mshook?

Haloo

Posted
11 hours ago, Laxus said:

Why use mshookfunc when you can just simple mshook?

As said, I already tried it with the MS Hooking with taking a look on the pinned tutorial about it here. It didn't work either.

AFAIK, this should look like this:

%hook Profile
 
-(bool) isPremium
{
    return true; # or YES?
}

%end
  
%hook Person

-(id) firstName # or -(NSString*) firstName
{
    return @"test";
}

%end

 

Just tested it in Flex 3, overriding methods there doesn't do anything either. One thing that is noticable is that when I override a name (there is a shortened name and the full name after you open the table item), the full name is not loaded and the short name will stay there. But it does not show the name I'm overriding it with.

Also, I tried hooking into different viewDidLoads, none of them shows my alert.

I think Theos will not do anything here. Overriding simple strings or booleans doesn't affect anything in-app. Maybe it is server loaded?

Posted
On 10/25/2019 at 7:51 PM, Aarivex said:

push

 

Archived

This topic is now archived and is closed to further replies.

  • Our picks

    • Tap Ninja - Idle Game +4 Jailed Cheats
      Modded/Hacked App: Tap Ninja - Idle Game By Davis Bogdanovs
      Bundle ID: com.BrokenGlass.TapNinja
      App Store Link: https://apps.apple.com/us/app/tap-ninja-idle-game/id1586558847?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
      - Currency Multiplier
      - Attack Speed Multiplier
      - No ADS

       

      ⬇️ 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
      • 0 replies
    • ANOTHER EDEN +8 Jailed Cheats
      Modded/Hacked App: ANOTHER EDEN By WFS, Inc.
      Bundle ID: games.wfs.anothereden
      App Store Link: https://apps.apple.com/us/app/another-eden/id1439565347?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
      - Never Die
      - Unlimited MP
      - Instant Force Gauge
      - Battle EXP Multiplier
      - Gil Multiplier
      - Pick Up Items Multiplier
      - Fishing Rod Fast Level

       

      ⬇️ 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
        • Winner
        • Like
      • 11 replies
    • Another Eden Japan / アナザーエデン 時空を超える猫 +7 Jailed Cheats
      Modded/Hacked App: アナザーエデン 時空を超える猫 By WFS, Inc.
      Bundle ID: net.wrightflyer.anothereden
      App Store Link: https://apps.apple.com/jp/app/%E3%82%A2%E3%83%8A%E3%82%B6%E3%83%BC%E3%82%A8%E3%83%87%E3%83%B3-%E6%99%82%E7%A9%BA%E3%82%92%E8%B6%85%E3%81%88%E3%82%8B%E7%8C%AB/id1160578459?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
      - Never Die
      - Unlimited MP
      - Instant Force Gauge
      - Battle Exp Multiplier
      - Gil Multiplier
      - Pick Up Items Multiplier
      - Fishing Rod Fast Level

       

      ⬇️ 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
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 15 replies
    • Idle Defenders: Military TD +7 Mods [ Damage & Defence ]
      Mod APK Game Name: Idle Defenders: Military TD By Freeplay Inc
      Rooted Device: Not Required.
      Google Play Store Link: https://play.google.com/store/apps/details?id=com.payge.idledefenders

       

      🤩 Hack Features

      - Damage Multiplier 
      - Defence Multiplier
      - God Mode
      - One-Hit Kill
      - Skip Wave Delay
      - Freeze Enemies
      - Kill All Enemies
      • 0 replies
    • DIGIMON UP +4 Jailed Cheats
      Modded/Hacked App: DIGIMON UP By Bandai Namco Entertainment Inc.
      Bundle ID: jp.co.bandainamcoent.BNEI0442
      App Store Link: https://apps.apple.com/us/app/digimon-up/id6756247787?uo=4

       

      🤩 Hack Features

      - Damage Multiplier 
      - Defence Multiplier
      - God Mode
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 154 replies
    • Idle Defenders: Military TD +6 Jailed Cheats [ Damage & Defence ]
      Modded/Hacked App: Idle Defenders: Military TD By Freeplay LLC
      Bundle ID: com.payge.idledefenders
      App Store Link: https://apps.apple.com/us/app/idle-defenders-military-td/id6815740300?uo=4

       


      🤩 Hack Features

      - Damage Multiplier
      - Defence Multiplier
      - God Mode
      - One-Hit Kill
      - Auto Win
      - Freeze Enemies
      • 0 replies
    • Mobile Royale: Kingdom Defense +4 Jailed Cheats
      Modded/Hacked App: Mobile Royale: Kingdom Defense By IGG SINGAPORE PTE. LTD.
      Bundle ID: com.igg.ios.mobileroyale
      App Store Link: https://apps.apple.com/us/app/mobile-royale-kingdom-defense/id1442047697?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

      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
      • 13 replies
    • Raising a Martial Arts Girl: Revive KR / 무림소녀 키우기: 리바이브 +7 Jailed Cheats
      Modded/Hacked App: 무림소녀 키우기: 리바이브 By Game2Gather Corporation
      Bundle ID: com.game2gather.mgr
      App Store Link: https://apps.apple.com/kr/app/%EB%AC%B4%EB%A6%BC%EC%86%8C%EB%85%80-%ED%82%A4%EC%9A%B0%EA%B8%B0-%EB%A6%AC%EB%B0%94%EC%9D%B4%EB%B8%8C/id6807325506?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
      - Attack Speed Multiplier
      - Move Speed Multiplier
      - Unlock All Content 
      - Game Speed Multiplier
      - No ADS

       

      ⬇️ 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
      • 1 reply
    • Hero’s Underground Shift +1 Jailed [ Damage Multiplier ]
      Modded/Hacked App: Hero’s Underground Shift By Game Duo Co.,Ltd.
      Bundle ID: net.gameduo.lb
      App Store Link: https://apps.apple.com/us/app/heros-underground-shift/id6815304121?uo=4

        

      🤩 Hack Features

      - Damage Multiplier
        • Informative
        • Like
      • 0 replies
    • Hero’s Underground Shift +1 Mod [ Damage Multiplier ]
      Mod APK Game Name: Hero’s Underground Shift By Gameduo
      Rooted Device: Not Required.
      Google Play Store Link: https://play.google.com/store/apps/details?id=net.gameduo.lb

       

      🤩 Hack Features

      - Damage Multiplier
        • Agree
        • Haha
        • Thanks
        • Like
      • 7 replies
    • (Disgea RPG Japan) 魔界戦記ディスガイアRPG ~最凶魔王決定戦!~ +5 Jailed Cheats
      Modded/Hacked App: 魔界戦記ディスガイアRPG ~最凶魔王決定戦!~ By Drecom Co., Ltd.
      Bundle ID: com.disgaearpg.forwardworks
      App Store Link: https://apps.apple.com/jp/app/%E9%AD%94%E7%95%8C%E6%88%A6%E8%A8%98%E3%83%87%E3%82%A3%E3%82%B9%E3%82%AC%E3%82%A4%E3%82%A2rpg-%E6%9C%80%E5%87%B6%E9%AD%94%E7%8E%8B%E6%B1%BA%E5%AE%9A%E6%88%A6/id1410021916?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
      - Unlimited SP
      - Always Our Turn
      - Auto Win

       

      ⬇️ 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
        • Informative
        • Like
      • 18 replies
    • Mr Autofire v5.1.1 [ +190 Cheats ] Currency Max
      Modded/Hacked App: Mr Autofire By Lightheart Entertainment Oy
      Bundle ID: games.lightheart.mrautofire
      iTunes Store Link: https://apps.apple.com/us/app/mr-autofire/id1483457500?uo=4


      Hack Features:
      - N0 ADS [ Reward Free ]

      - Damage 

      - Health 

      - Pet Damage

      - Rome Clear [ 1 Wave Clear ]

      Level Rearwards 

      [ Gems - Silver - Pet Card - Hero Card - Guns Card ]
        • Informative
        • Agree
        • Thanks
        • Winner
        • Like
      • 65 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