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

    • Super Heavy Iron Tank v1.0.10 [ +7 Jailed ] Auto Win
      Modded/Hacked App: Super Heavy Iron Tank By Game Duo Co.,Ltd.
      Bundle ID: net.gameduo.vg
      App Store Link: https://apps.apple.com/ph/app/super-heavy-iron-tank/id6757405833?uo=4

      🤩 Hack Features

      - ADS NO / Rewards Free
      - DMG
      - ATK Speed
      ::::: ViP :::::
      - Auto Win
      - Energy Unlimited
      - Auto Skip Wave
      - Quick Supply
      • 5 replies
    • Super Heavy Iron Tank v1.0.10 [ +7 Cheats ] Auto Win
      Modded/Hacked App: Super Heavy Iron Tank By Game Duo Co.,Ltd.
      Bundle ID: net.gameduo.vg
      App Store Link: https://apps.apple.com/ph/app/super-heavy-iron-tank/id6757405833?uo=4

      🤩 Hack Features

      - ADS NO / Rewards Free
      - DMG
      - ATK Speed
      ::::: ViP :::::
      - Energy Unlimited
      - Auto Skip Wave
      - Auto Win
      - Quick Supply
      • 4 replies
    • Super Heavy Iron Tank +3 Jailed Cheats [ Damage + More ]
      Modded/Hacked App: Super Heavy Iron Tank By Game Duo Co.,Ltd.
      Bundle ID: net.gameduo.vg
      App Store Link: https://apps.apple.com/ph/app/super-heavy-iron-tank/id6757405833?uo=4

       


      🤩 Hack Features

      - Damage Multiplier
      - God Mode -> You will take damage but you won't die.
      - XP Multiplier
      • 0 replies
    • Match Squad v1.91 [ +3 Cheats ] Currency Max
      Modded/Hacked App: Match Squad By CYPHER GAMES YAZILIM PAZARLAMA ANONIM SIRKETI
      Bundle ID: com.cyphergames.cityclash
      App Store Link: https://apps.apple.com/us/app/match-squad/id6473704944?uo=4

      🤩 Hack Features

      - Unlimited Coins
      - Unlimited Dice
      - Unlimited Cash
      • 1 reply
    • Match Squad v1.91 [ +3 Jailed ] Currency Max
      Modded/Hacked App: Match Squad By CYPHER GAMES YAZILIM PAZARLAMA ANONIM SIRKETI
      Bundle ID: com.cyphergames.cityclash
      App Store Link: https://apps.apple.com/us/app/match-squad/id6473704944?uo=4

      🤩 Hack Features

      - Unlimited Coins
      - Unlimited Dice
      - Unlimited Cash
      • 0 replies
    • Dungeons and Bags v1.1.0 [ +4 Cheats ] Currency Max
      Modded/Hacked App: Dungeons and Bags By Roshka S.A.
      Bundle ID: play.roshka.minibackpack
      App Store Link: https://apps.apple.com/us/app/dungeons-and-bags/id6752716609?uo=4

      🤩 Hack Features

      - Unlimited Gems
      - Unlimited Battle Stars
      - HP MAX
      - ATK MAX
      • 1 reply
    • Dungeons and Bags v1.1.0 [ +4 Jailed ] Currency Max
      Modded/Hacked App: Dungeons and Bags By Roshka S.A.
      Bundle ID: play.roshka.minibackpack
      App Store Link: https://apps.apple.com/us/app/dungeons-and-bags/id6752716609?uo=4

      🤩 Hack Features

      - Unlimited Gems
      - Unlimited Battle Stars
      - HP MAX
      - ATK MAX
      • 0 replies
    • Domino Stories v1.0.04 [ +8 APK MOD ] Currency Max
      Mod APK Game Name: Domino Stories
      Rooted Device: Not Required.
      Google Play Store Link: https://play.google.com/store/apps/details?id=com.domino.stories.casual.game&hl=en

       

      🤩 Hack Features

      - Unlimited Coins
      - Unlimited Stars
      - Unlimited Ticket
      - Unlimited Undo
      - Unlimited Gold Bar
      - Unlimited Free Tiles
      - Unlimited Event Currency
      - Unlimited Tokens / Event & Quest

      ⬇️ Android Mod APK Download Link


      Hidden Content

      iOSGods App for Android







       

      📖 Android Installation Instructions

      STEP 1: Download the modded APK file from the link above using your preferred Android browser or download manager.
      STEP 2: Once the download is complete, open your file manager and locate the downloaded .apk file (usually in the Downloads folder).
      STEP 3: Tap the APK file, then select Install. If prompted, enable Install from Unknown Sources in your device settings.
      STEP 3A: If the mod includes an OBB file, extract it if it’s inside an archive. Then move the folder to: /Android/obb/
      STEP 3B: If the mod includes a DATA file, extract it if it’s archived. Then move the folder to: /Android/data/
      STEP 4: Once installed, open the game and toggle your desired cheats & features through the APK mod menu. Enjoy!

       

      NOTE: If you have any questions or issues, read our Frequently Asked Questions topic. If you still need help, post your issue below and we’ll assist you as soon as possible. If the mod works for you, please share your feedback to help other members!

       

      🙌 Credits

      - IK_IK

       

      📷 Cheat Video/Screenshots

      N/A

       

       iOS & iPadOS 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.
      • 0 replies
    • Dead Watcher +3 Mods [ Damage & Defence ]
      Mod APK Game Name: Dead Watcher By Entiz Game Studio
      Rooted Device: Not Required.
      Google Play Store Link: https://play.google.com/store/apps/details?id=com.entizgames.deadwatch

       

      🤩 Hack Features

      - Damage Multiplier
      - Defence Multiplier
      - God Mode
      • 1 reply
    • Domino Stories v1.0.04 [ +8 Jailed ] Currency Max
      Modded/Hacked App: Domino Stories By PERLTEC LTD
      Bundle ID: com.domino.stories.casual.game
      App Store Link: https://apps.apple.com/ph/app/domino-stories/id6754849199?uo=4

      🤩 Hack Features

      - Unlimited Coins
      - Unlimited Stars
      - Unlimited Ticket
      - Unlimited Undo
      - Unlimited Gold Bar
      - Unlimited Free Tiles
      - Unlimited Event Currency
      - Unlimited Tokens / Event & Quest
      • 0 replies
    • Domino Stories v1.0.04 [ +8 Cheats ] Currency Max
      Modded/Hacked App: Domino Stories By PERLTEC LTD
      Bundle ID: com.domino.stories.casual.game
      App Store Link: https://apps.apple.com/ph/app/domino-stories/id6754849199?uo=4

      🤩 Hack Features

      - Unlimited Coins
      - Unlimited Stars
      - Unlimited Ticket
      - Unlimited Undo
      - Unlimited Gold Bar
      - Unlimited Free Tiles
      - Unlimited Event Currency
      - Unlimited Tokens / Event & Quest
      • 1 reply
    • Food Gang v2.0.4 +6 OFFSET
      Modded/Hacked App: Food Gang By Bloop
      Bundle ID: com.bloop.food
      App Store Link: https://apps.apple.com/us/app/food-gang/id1497116240?uo=4


      Hack Feature

      - AI ATK NO
      - VIP Active
      - ADS NO / Rewards Free
      - Unlimited Gems
      - Unlimited Coins
      - Unlimited Tokens Upgrade
      - HP / Just Upgrade Hero
      - ATK / Just Upgrade Hero
      • 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