Jump to content

Tweak compiles fine, but fails to affect the game.


Mister SirCode

9 posts in this topic

Recommended Posts

Posted

So I made a MSHook app based on this tutorial: 

 

 

I managed to setup my Tweak.xm like so:

#include <substrate.h>

bool showAds()
{
return false;
}

%ctor{
MSHookFunction(((void*)MSFindSymbol(NULL, "__CRVideoPlayerViewController_showAds_")),(void*)showAds, NULL);
}

Based on the tutorial, this should return FALSE for showAds.

In flex 3, this 1 function prevents ALL ads from appearing. It doesnt seem to work when I add it to my tweak.xm

when I did the "make package" command, it compiled fine, no errors,

 

Just for reference. I DID ADD IT TO MY Info.plist!!!

Meaning it should be targetiing Crunchyroll's BID: "com.crunchyroll.iphone"

 

my info.plist (crunch2.plist):

{ Filter = { Bundles = ( "com.crunchyroll.iphone" ); }; }

 

 

Im getting zero errors on compilation, am I doing something wrong here?

Posted
10 hours ago, DADi said:

Have you tried adding a popup to see if it's injecting the dylib?

I dont know how

10 hours ago, Amuyea said:

There is Crunchyroll Hack already.

You don't have to use that method to do a Flex cheat.

Lol I know, this is just a "test" if you will. To see if it works well

This is one of the few apps that will disable their entire Application Advertisement system with just one function ( -(bool)showAds )

Posted
5 hours ago, SkylarSpark said:

I dont know how

Lol I know, this is just a "test" if you will. To see if it works well

This is one of the few apps that will disable their entire Application Advertisement system with just one function ( -(bool)showAds )

To add a popup (just to test) add this code

void showPopup() {
  UIAlertController *msgAlertController =
      [UIAlertController alertControllerWithTitle:@"Test"
                                          message:@"This hook works"
                                   preferredStyle:UIAlertControllerStyleAlert];
  [msgAlertController
      addAction:[UIAlertAction actionWithTitle:@"Close"
                                         style:UIAlertActionStyleDefault
                                       handler:nil]];
  [[[[UIApplication sharedApplication] keyWindow] rootViewController]
      presentViewController:msgAlertController
                   animated:YES
                 completion:nil];
}

And you can call this function any time to show a popup. So you can call this in your hooked function to see if it hooks correctly or if you want to confirm your tweak gets injected do this:

%hook UIViewController

-(void)viewDidLoad {
showPopup();
%orig();
}

%end

 

Posted
11 minutes ago, bR34Kr said:

To add a popup (just to test) add this code


void showPopup() {
  UIAlertController *msgAlertController =
      [UIAlertController alertControllerWithTitle:@"Test"
                                          message:@"This hook works"
                                   preferredStyle:UIAlertControllerStyleAlert];
  [msgAlertController
      addAction:[UIAlertAction actionWithTitle:@"Close"
                                         style:UIAlertActionStyleDefault
                                       handler:nil]];
  [[[[UIApplication sharedApplication] keyWindow] rootViewController]
      presentViewController:msgAlertController
                   animated:YES
                 completion:nil];
}

And you can call this function any time to show a popup. So you can call this in your hooked function to see if it hooks correctly or if you want to confirm your tweak gets injected do this:


%hook UIViewController

-(void)viewDidLoad {
showPopup();
%orig();
}

%end

 

Just freezes the app when opening, then crashes

Posted
9 minutes ago, bR34Kr said:

Try calling %orig before showPopup();

well I tried it again and it still froze and crashed, but I think I have an excess UIKit in my makefile, Ill remove it and see if that fixes it, I had added it to try and make a popup before using an older method

Edit: nope didnt fix it

heres my full tweak.xm now
https://hatebin.com/shybirvrvh

 

like do you know if any CAN or anyone HAS already made a MSHook hack that works, like an example hack

I tend to learn better from seeing examples of things.

If you know of any working hacks with an example tweak.xm I could see, id appreciate it

Archived

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

  • Our picks

    • HAWK: Airplane Space games Cheats v42.6 +3
      Modded/Hacked App: HAWK: Airplane Fighter jet sky By My.com B.V.
      Bundle ID: com.my.hawk.air.shooter
      iTunes Store Link: https://apps.apple.com/us/app/hawk-airplane-fighter-jet-sky/id1145878423?uo=4


      Hack Features:
      - God Mode
      - OHK
      - Instant Win


      Non-Jailbroken & No Jailbreak required hack(s): https://iosgods.com/topic/89813-arm64-hawk-bullet-hell-jet-shooter-v33-jailed-cheats-1/


      Hack Download Link: https://iosgods.com/topic/142184-hawk-airplane-fighter-jet-sky-cheats-v33-3/
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 1,053 replies
    • June’s Journey: Hidden Objects v3.39.1 Jailed Cheats +2
      Modded/Hacked App: June’s Journey: Hidden Objects By wooga gmbh
      Bundle ID: net.wooga.junes-journey-hidden-object-mystery-game
      iTunes Store Link: https://apps.apple.com/us/app/junes-journey-hidden-objects/id1200391796?uo=4


      Hack Features:
      - Infinite Currencies
      - Instant Hint


      iOS Hack Download IPA Link: https://iosgods.com/topic/176104-june%E2%80%99s-journey-hidden-objects-v2946-jailed-cheats-2/
        • Informative
        • Agree
        • Thanks
        • Winner
        • Like
      • 52 replies
    • Hex Warriors v2.4.4 Cheat Menu [+10 Jailed Cheats]
      Modded/Hacked App: Hex Warriors By Voodoo
      Bundle ID: com.dong.hexwarriors
      App Store Link: https://apps.apple.com/us/app/hex-warriors/id6736930021?uo=4


       

      🤩 Hack Features

      Cheat Menu (Currency, Auto Win, Cards and more)
        • Like
      • 14 replies
    • Hex Warriors v2.4.4 Cheat Menu [+10 Cheats]
      Modded/Hacked App: Hex Warriors By Voodoo
      Bundle ID: com.dong.hexwarriors
      App Store Link: https://apps.apple.com/us/app/hex-warriors/id6736930021?uo=4



      🤩 Hack Features

      - Cheat Menu (Currency, Auto Win, Cards and more)
        • Winner
        • Like
      • 11 replies
    • Gangster Universe! v6.0.0 [+2 Cheats]
      Modded/Hacked App: Gangster Universe! By Supercent Inc.
      Bundle ID: io.supercent.beachamp2
      iTunes Store Link: https://apps.apple.com/us/app/gangster-universe/id6742225641?uo=4


      🤩 Hack Features

      - Never Die
      - Add Currency (Toggle on/off gives you currency use only in game)
       
        • Agree
        • Winner
        • Like
      • 4 replies
    • Gangster Universe! v6.0.0 [+2 Jailed Cheats]
      Modded/Hacked App: Gangster Universe! By Supercent Inc.
      Bundle ID: io.supercent.beachamp2
      iTunes Store Link: https://apps.apple.com/us/app/gangster-universe/id6742225641?uo=4



      🤩 Hack Features

      - Never Die
      - Add Currency (Toggle on/off gives you currency use only in game)
        • Agree
        • Like
      • 8 replies
    • Endless Wander - Roguelike RPG v2.4.29 [+3 Jailed Cheats]
      Modded/Hacked App: Endless Wander - Roguelike RPG By First Pick Studios
      Bundle ID: com.FirstPickStudios.Endless-Wander
      App Store Link: https://apps.apple.com/us/app/endless-wander-roguelike-rpg/id6473157705?uo=4



      🤩 Hack Features

      - Never Die
      - Always Enough Currency
      - Unlimited Currency (Will Always Increase)
        • Agree
        • Thanks
        • Winner
        • Like
      • 17 replies
    • Endless Wander - Roguelike RPG v2.4.29 [+3 Cheats]
      Modded/Hacked App: Endless Wander - Roguelike RPG By First Pick Studios
      Bundle ID: com.FirstPickStudios.Endless-Wander
      App Store Link: https://apps.apple.com/us/app/endless-wander-roguelike-rpg/id6473157705?uo=4



      🤩 Hack Features

      - Never Die
      - Always Enough Currency
      - Unlimited Currency (Will Always Increase)
       
        • Winner
        • Like
      • 14 replies
    • Hero Hunters - 3D Shooter wars v9.5 +5 Jailed Cheats
      Modded/Hacked App: Hero Hunters - 3D Shooter wars By Supercharge Mobile Corp.
      Bundle ID: com.hotheadgames.ios.survivors
      iTunes Store Link: https://apps.apple.com/us/app/hero-hunters-3d-shooter-wars/id1110217724?uo=4


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


      Hack Features:
      - 1 Hit Kill
      - Unlimited Ammo
      - No Reload
      - Higher Fire Rate
      - Disable Enemy Attacks

      Note: Finish tutorial using original game first from here. Only in singleplayer.


      Jailbreak required hack(s): 


      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/?do=findComment&comment=78119'>hidden content & download link</a>.








      PC Installation Instructions:
      STEP 1: If necessary, uninstall the app if you have it installed on your iDevice. Some hacked IPAs will install as a duplicate app. Make sure to back it up so you don't lose your progress.
      STEP 2: Download the pre-hacked .IPA file from the link above to your computer. To download from the iOSGods App, see this tutorial topic.
      STEP 3: Download Sideloadly and install it on your PC.
      STEP 4: Open/Run Sideloadly on your computer then connect your iOS Device and wait until your device name shows up.
      STEP 5: Once your iDevice appears, drag the modded .IPA file you downloaded and drop it inside the Sideloadly application.
      STEP 6: You will now have to enter your iTunes/Apple ID email login & then your password. Go ahead and enter the required information.
      STEP 7: Wait for Sideloadly to finish sideloading/installing the hacked IPA.
      STEP 8: Once the installation is complete and you see the app on your Home Screen, you will now need to go to Settings -> General -> Profiles & Device Management. Once there, tap on the email you entered from step 6, and then tap on 'Trust [email protected]'.
      STEP 9: 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: For free Apple Developer accounts you will need to repeat this process every 7 days. Using a disposable Apple ID for this process is suggested but not required. Jailbroken iDevices can also use Sideloadly to install the IPA with AppSync. Filza & IPA Installer (or alternatives) from Cydia also work. If you have any questions or problems, read our Sideloadly FAQ section of the topic and if you don't find a solution, post your issue down 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:
      - Zahir


      Cheat Video/Screenshots:

      N/A
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 85 replies
    • Fortias Saga: Idle RPG v1.0.86 +5 Jailed Cheats
      Modded/Hacked App: Fortias Saga: Action Adventure By ONDI TECHNOLOGY JOINT STOCK COMPANY
      Bundle ID: com.ondi.fortias.saga
      iTunes Store Link: https://apps.apple.com/us/app/fortias-saga-action-adventure/id6475805032?uo=4


      Mod Requirements:
      - Non-Jailbroken/Jailed or Jailbroken iPhone/iPad/iPod Touch.
      - Sideloadly / Cydia Impactor or alternatives.
      - A Computer Running Windows/macOS/Linux with iTunes installed.


      Hack Features:
      - Damage Multiplier
      - Defense Multiplier
      - Shards & Items Multiplier*
      - Freeze Resources
      - No Ads

      *Turn Off When You Get Enough So It Don't Go Negative


      Jailbreak required hack(s): 


      iOS Hack Download IPA Link:

      Hidden Content

      Download via the iOSGods App








      PC Installation Instructions:
      STEP 1: If necessary, uninstall the app if you have it installed on your iDevice. Some hacked IPAs will install as a duplicate app. Make sure to back it up so you don't lose your progress.
      STEP 2: Download the pre-hacked .IPA file from the link above to your computer. To download from the iOSGods App, see this tutorial topic.
      STEP 3: Download Sideloadly and install it on your PC.
      STEP 4: Open/Run Sideloadly on your computer, connect your iOS Device, and wait until your device name shows up.
      STEP 5: Once your iDevice appears, drag the modded .IPA file you downloaded and drop it inside the Sideloadly application.
      STEP 6: You will now have to enter your iTunes/Apple ID email login, press "Start" & then you will be asked to enter your password. Go ahead and enter the required information.
      STEP 7: Wait for Sideloadly to finish sideloading/installing the hacked IPA. If there are issues during installation, please read the note below.
      STEP 8: 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 9: 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. Jailbroken iDevices can also use Sideloadly/Filza/IPA Installer to normally install the IPA with AppSync. 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 down 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
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 188 replies
    • Fortias Saga: Idle RPG v1.0.86 +5 Cheats
      Modded/Hacked App: Fortias Saga: Action Adventure By ONDI TECHNOLOGY JOINT STOCK COMPANY
      Bundle ID: com.ondi.fortias.saga
      iTunes Store Link: https://apps.apple.com/us/app/fortias-saga-action-adventure/id6475805032?uo=4


      Mod Requirements:
      - Jailbroken iPhone/iPad/iPod Touch.
      - iGameGod / Filza / iMazing or any other file managers for iOS.
      - Cydia Substrate, ElleKit, Substitute or libhooker depending on your jailbreak.
      - PreferenceLoader (from Cydia, Sileo or Zebra).


      Hack Features:
      - Damage Multiplier
      - Defense Multiplier
      - Shards & Items Multiplier*
      - Freeze Resources
      - No Ads
      *Turn Off When You Get Enough So It Don't Go Negative


      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/


      iOS Hack Download Link:

      Hidden Content
      Download Hack







      Installation Instructions:
      STEP 1: Download the .deb Cydia 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 necessary, tap on the downloaded file, and then, you will need to press 'Install' from the options on your screen.
      STEP 4: Let iGameGod/Filza finish the cheat installation. Make sure it successfully installs, otherwise see the note below.
      STEP 5: If the hack is a Mod Menu — which is usually the case nowadays — the cheat features can be toggled in-game. Some cheats have options that can be enabled from your iDevice settings.
      STEP 6: Turn on the features you want and play the game. You may need to follow further instructions inside the hack's popup in-game.

       

      NOTE: If you have any questions or problems, read our Troubleshooting topic & Frequently Asked Questions & Answers topic. If you still haven't found a solution, post your issue down 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
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 236 replies
    • Hero Hunters - 3D Shooter wars v9.5 +4 Cheats
      Modded/Hacked App: Hero Hunters By Hothead Games
      Bundle ID: com.hotheadgames.ios.survivors
      iTunes Store Link: https://apps.apple.com/us/app/hero-hunters/id1110217724?uo=4


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


      Hack Features:
      - 1 Hit Kill
      - Unlimited Ammo
      - No Reload
      - Higher Fire Rate
      - Disable Enemy Attacks
      Note: Finish tutorial first. Only in singleplayer.


      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/


      iOS Hack Download Link:

      Hidden Content
      Download Hack







      Installation Instructions:
      STEP 1: Download the .deb Cydia hack file from the link above.
      STEP 2: Copy the file over to your iDevice using any of the file managers mentioned above or skip this step if you're downloading from your iDevice.
      STEP 3: Using Filza or iFile, browse to where you saved the downloaded .deb file and tap on it.
      STEP 4: Once you tap on the file, you will then need to press on 'Install' or 'Installer' from the options on your screen.
      STEP 5: Let Filza / iFile finish the cheat installation. Make sure it successfully installs, otherwise see the note below.
      STEP 6: If the hack is a Mod Menu, which is usually the case nowadays, the cheat features can be toggled in-game. Some cheats have options that can be enabled from your iDevice settings.
      STEP 7: Turn on the features you want and play the game. You may need to follow further instructions inside the hack's popup in-game.

       

      NOTE: If you have any questions or problems, read our Troubleshooting topic & Frequently Asked Questions topic. If you still haven't found a solution, post your issue down 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:
      - @Ted2


      Cheat Video/Screenshots:

      N/A
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 353 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