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

    • (18+) Ark ReCode v2.0.0.107528 +2 Cheats
      Modded/Hacked App: Ark ReCode By EroLabs
      Bundle ID: com.nerversoft.ark.recode
      iTunes Store Link: https://www.ero-labs.com/en/game.html?id=32


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


      Hack Features:
      - Damage Multiplier
      - Defense Multiplier


      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
        • Haha
        • Thanks
        • Winner
        • Like
      • 553 replies
    • (18+) Ark ReCode +2 Jailed Cheats
      Modded/Hacked App: Ark ReCode By EroLabs
      Bundle ID: com.nerversoft.ark.recode
      iTunes Store Link: https://www.ero-labs.com/en/game.html?id=32


      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


      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
        • Like
      • 270 replies
    • Pew Pew Slime - Idle RPG v28 Jailed Cheats +2
      Modded/Hacked App: Pew Pew Slime - Idle RPG By X-LEGEND ENTERTAINMENT CO., LTD.
      Bundle ID: com.xlegend.pewpewslime.global
      App Store Link: https://apps.apple.com/us/app/pew-pew-slime-idle-rpg/id6739420338?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

      After in-game press Activate Cheat 1 time, then turn it off. Now you can use, if it not work after you relaunch the game next time, repeat the process

      For Multiply Attack do not set max value ortherwise it will revert back to default value, example max value is 10 set 9.8 or 9.9

       

      ⬇️ iOS Hack Download IPA Link: https://iosgods.com/topic/202589-pew-pew-slime-idle-rpg-v26-jailed-cheats-2/
      • 9 replies
    • SuperStar STARSHIP Cheats v3.28.0 +3
      Modded/Hacked App: SuperStar STARSHIP By Dalcomsoft Inc.
      Bundle ID: com.dalcomsoft.sss
      iTunes Store Link: https://apps.apple.com/us/app/superstar-starship/id1480181152?uo=4


      Hack Features:
      - Never Lose
      - Auto Dance
      - Always S.Perfect


      iOS Hack Download Link: https://iosgods.com/topic/164185-superstar-starship-cheats-v378-3/
        • Like
      • 149 replies
    • TAP! DIG! MY MUSEUM! v1.10.8 [ +6 Cheats ] Currency Max
      Modded/Hacked App: TAP! DIG! MY MUSEUM! By ORIDIO, INC.
      Bundle ID: jp.oridio.museum
      App Store Link: https://apps.apple.com/us/app/tap-dig-my-museum/id1460645640?uo=4

      🤩 Hack Features

      - ADS NO / Rewards Free
      - Premium Active
      - Unlimited Gems
      - Unlimited Coins
      - Unlimited Coins Earn / Upgrade Tool
      - Unlimited Coins Earn / Sell Fossil
      • 0 replies
    • TAP! DIG! MY MUSEUM! v1.10.8 [ +6 Jailed ] Currency Max
      Modded/Hacked App: TAP! DIG! MY MUSEUM! By ORIDIO, INC.
      Bundle ID: jp.oridio.museum
      App Store Link: https://apps.apple.com/us/app/tap-dig-my-museum/id1460645640?uo=4

      🤩 Hack Features

      - ADS NO / Rewards Free
      - Premium Active
      - Unlimited Gems
      - Unlimited Coins
      - Unlimited Coins Earn / Upgrade Tool
      - Unlimited Coins Earn / Sell Fossil
      • 2 replies
    • Renovation Day: House Makeover v2.16.0 Jailed Cheats +2
      Modded/Hacked App: Renovation Day: House Makeover By SayGames LTD
      Bundle ID: com.playfocus.renovation
      App Store Link: https://apps.apple.com/us/app/renovation-day-house-makeover/id6741324757?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

      - Free / Freeze Resources (not iAP)
      - No Ads

       

      ⬇️ iOS Hack Download IPA Link: https://iosgods.com/topic/202977-renovation-day-house-makeover-v2160-jailed-cheats-2/
        • Winner
      • 2 replies
    • Pocket Champs PVP Racing Games Cheats v7.2.10 +2
      Modded/Hacked App: Pocket Champs: 3D Racing Games By MADBOX
      Bundle ID: com.pocketchamps.game
      iTunes Store Link: https://apps.apple.com/us/app/pocket-champs-3d-racing-games/id1542776143?uo=4


      Hack Features:
      - Free Store (not Free iAP) -- Negative value will reset to 0 on launch
      - Infinite Coins & Gems

      iOS Hack Download Link: https://iosgods.com/topic/165006-pocket-champs-3d-racing-games-cheats-v318-2/
        • Agree
        • Like
      • 212 replies
    • Potion Punch 2 Cheats v2.9.92 +1
      Modded/Hacked App: Potion Punch 2 by Monstronauts Inc.
      Bundle ID: com.monstronauts.potionpunch2
      iTunes Store Link: https://apps.apple.com/us/app/potion-punch-2/id1463550435?uo=4&at=1010lce4


      Hack Features:
      - Infinite Currencies
      - Free iAP (Turn this on and use with Free iAP Tweak)


      iOS Hack Download Link: https://iosgods.com/topic/112395-arm64-potion-punch-2-cheats-v102-2/
      • 98 replies
    • Cooking Craze: Restaurant Game Cheats v2.10.0 +1
      Modded/Hacked App: Cooking Craze: Restaurant Game By Big Fish Games, Inc
      Bundle ID: com.bigfishgames.cookingempireuniversalf2p
      iTunes Store Link: https://apps.apple.com/us/app/cooking-craze-restaurant-game/id1029094059?uo=4

       

      🔧 Mod Requirements

      - Jailbroken iPhone or iPad.
      - iGameGod / Filza / iMazing.
      - Cydia Substrate, ElleKit, Substitute or libhooker depending on your jailbreak (from Cydia, Sileo or Zebra).

       

      🚀 Hack Features

      - Free Store (not Free iAP)


      🍏 For Non-Jailbroken & No Jailbreak required hacks: https://iosgods.com/topic/191693-cooking-craze-restaurant-game-v240-jailed-cheats-1/

       

      📥 iOS Hack Download Link: https://iosgods.com/topic/191694-cooking-craze-restaurant-game-cheats-v250-1/
      • 8 replies
    • Demon Hunter Idle Cheats v1.17.1 +3
      Modded/Hacked App: Demon Hunter Idle By MOBIRIX
      Bundle ID: com.mobirix.mbpdh
      iTunes Store Link: https://apps.apple.com/us/app/demon-hunter-idle/id6472879858?uo=4


      Hack Features:
      - Multiply Attack
      - Multiply Defense
      - Freeze Currencies*

      *NOTE: Do not abuse or buy ViP for just this cheat


      iOS Hack Download Link: https://iosgods.com/topic/183710-demon-hunter-idle-cheats-v102-3/
        • Agree
        • Haha
      • 193 replies
    • AdVenture Capitalist Cheats v9.18.1 +1
      Modded/Hacked App: AdVenture Capitalist By Hyper Hippo Publishing Ltd.
      Bundle ID: com.kongregate.mobile.adventurecapitalist
      iTunes Store Link: https://apps.apple.com/us/app/adventure-capitalist/id927006017?uo=4


      Hack Features:
      - Freeze Currencies

       
      Free Non-Jailbroken Hack:  https://iosgods.com/topic/82751-adventure-capitalist-v940-jailed-cheats-1/


      Hack Download Link: https://iosgods.com/topic/78370-adventure-capitalist-cheats-v940-1/
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 1,197 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