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

    • Skullgirls Fighting RPG V7.5.3 [ +6 Jailed ] Auto Win
      Modded/Hacked App: Skullgirls: Fighting RPG By Autumn Games, LLC
      Bundle ID: com.autumn.skullgirls
      iTunes Store Link: https://apps.apple.com/us/app/skullgirls-fighting-rpg/id1280762571?uo=4


      Hack Features:

      - Auto win

      - Damage [ One HiT WiN ]

      - Energy Max

      - Skill

      - Enemy Disable

      - Goals Claimed [ Free Pass Only ]
        • Informative
        • Agree
        • Thanks
        • Winner
        • Like
      • 58 replies
    • Skullgirls Fighting RPG V7.5.3 [ +6 Cheats ] Auto Win
      Modded/Hacked App: Skullgirls: Fighting RPG By Autumn Games, LLC
      Bundle ID: com.autumn.skullgirls
      iTunes Store Link: https://apps.apple.com/us/app/skullgirls-fighting-rpg/id1280762571?uo=4


      Hack Features:
      - Auto win

      - Damage [ One HiT WiN ]

      - Energy Max

      - Skill

      - Enemy Disable

      - Goals Claimed [ Free Pass Only ]
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 150 replies
    • Legend of Slime: Idle RPG War v4.2.2 Jailed Cheats +28
      Modded/Hacked App: Legend of Slime: Idle RPG By LoadComplete Co., Ltd
      Bundle ID: com.loadcomplete.slimeidle
      iTunes Store Link: https://apps.apple.com/us/app/legend-of-slime-idle-rpg/id1618701110?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:

      - High Attack (Upgrade Skill)<br style="background-color:#1e1f25;color:rgba(255,255,255,0.81);font-size:14px;">- High Hp (Upgrade Skill)<br style="background-color:#1e1f25;color:rgba(255,255,255,0.81);font-size:14px;">- High HP Recovery (Upgrade Skill)<br style="background-color:#1e1f25;color:rgba(255,255,255,0.81);font-size:14px;">- High Critical Hit Chance (Upgrade Skill)<br style="background-color:#1e1f25;color:rgba(255,255,255,0.81);font-size:14px;">- High Critical Hit Damage (Upgrade Skill)<br style="background-color:#1e1f25;color:rgba(255,255,255,0.81);font-size:14px;">- High ASPD (Upgrade Skill)<br style="background-color:#1e1f25;color:rgba(255,255,255,0.81);font-size:14px;">- High Double Shot (Upgrade Skill)<br style="background-color:#1e1f25;color:rgba(255,255,255,0.81);font-size:14px;">- High Triple Shot (Upgrade Skill)


      Jailbreak required hack(s): https://iosgods.com/forum/5-game-cheats-hack-requests/
      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 IPA Link:

      Hidden Content
      Download via the iOSGods App







        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 501 replies
    • Solitaire Grand Harvest v2.399.1 [ +4 Cheats ] Currency Max
      Modded/Hacked App: Solitaire Grand Harvest By Supertreat GmbH
      Bundle ID: net.supertreat.solitaire
      App Store Link: https://apps.apple.com/us/app/solitaire-grand-harvest/id1223338261?uo=4


      🤩 Hack Features

      - Coins
      - Free Ticket
      - Free Undo
      - Wild Card
        • Haha
        • Thanks
        • Winner
        • Like
      • 27 replies
    • Solitaire Grand Harvest v2.399.1 [ +4 Jailed ] Currency Max
      Modded/Hacked App: Solitaire Grand Harvest By Supertreat GmbH
      Bundle ID: net.supertreat.solitaire
      App Store Link: https://apps.apple.com/us/app/solitaire-grand-harvest/id1223338261?uo=4


      🤩 Hack Features

      - Coins
      - Free Ticket
      - Free Undo
      - Wild Card
        • Informative
        • Agree
        • Like
      • 27 replies
    • Galaxiga - Classic 80s Arcade v10.99 [ +7 Jailed ] Energy Max
      Modded/Hacked App: Galaxiga - Classic 80s Arcade By ONESOFT GLOBAL PTE. LTD.
      Bundle ID: com.os.space.force.galaxy.alien
      iTunes Store Link: https://apps.apple.com/us/app/galaxiga-classic-80s-arcade/id1519367184?uo=4


      Hack Features:

      - Premium Pass [ Rewards Only ]

      - Energy Unlimited [ Linked Premium Pass ]

      - Plane Unlocked [ Tire 1 Tire 2 ] 

      - Drone Unlocked [ Tire 1 Tire 2 ]

      - Stone Unlocked [ Tire 1 Tire 2 ] 

      - Unlock Gem Cost 0 [ Plane Drone Stone ]

      - Easy Kill [ Only SP - No PVP ] 

      - Win PvP Select Higher Rank [ Plane Drone Stone ] Easy To Win PvP NO Bannnn


      Jailbreak required hack(s): https://iosgods.com/forum/5-game-cheats-hack-requests/
      Modded Android APK(s): https://iosgods.com/forum/68-android-section/
      For more fun, check out the Club(s): https://iosgods.com/clubs/
        • Agree
        • Thanks
        • Winner
        • Like
      • 57 replies
    • Galaxiga - Classic 80s Arcade v10.99 [ +7 Cheats ] Energy Max
      Modded/Hacked App: Galaxiga - Classic 80s Arcade By ONESOFT GLOBAL PTE. LTD.
      Bundle ID: com.os.space.force.galaxy.alien
      iTunes Store Link: https://apps.apple.com/us/app/galaxiga-classic-80s-arcade/id1519367184?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:
      - Premium Pass [ Rewards Only ]

      - Energy Unlimited [ Linked Premium Pass ]

      - Plane Unlocked [ Tire 1 Tire 2 ] 

      - Drone Unlocked [ Tire 1 Tire 2 ]

      - Stone Unlocked [ Tire 1 Tire 2 ] 

      - Unlock Gem Cost 0 [ Plane Drone Stone ] Maybe Effect PvP 

      - Easy Kill [ Only SP - No PVP ] 

      - Win PvP Select Higher Rank [ Plane Drone Stone ]

      Not3:- Don't Abuse The Hack Incase Banned Lower Chances Maybe


      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
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 91 replies
    • Shiba Story Go! RPG Idle Game v1.1.116 [ +12 Jailed ] Always Win
      Modded/Hacked App: Shiba Story Go! RPG Idle Game By Proof of Play, Inc.
      Bundle ID: com.proofofplay.shibastorygo
      App Store Link: https://apps.apple.com/ph/app/shiba-story-go-rpg-idle-game/id6749783343?uo=4 

      🤩 Hack Features

      - Gems

      - Gold

      - Energy

      - Keys+3

      - Enhance Items

      - Pet Egg

      - Chest Max [ Server Error Show Some Time But Works ]

      - Fast Travel Energy Cost 1

      - Enemy Easy Kill [ Both Of Linked ] Server Error Show Some Time

      - Alway My Turn

      - HP [ Enemy Easy Kill + Alway My Turn ] Disable Then Use This Feature

      - ATK

      - DEF
        • Like
      • 6 replies
    • Shiba Story Go! RPG Idle Game v1.1.116 [ +12 Cheats ] Always Win
      Modded/Hacked App: Shiba Story Go! RPG Idle Game By Proof of Play, Inc.
      Bundle ID: com.proofofplay.shibastorygo
      App Store Link: https://apps.apple.com/ph/app/shiba-story-go-rpg-idle-game/id6749783343?uo=4

      🤩 Hack Features

      - Gems

      - Gold

      - Energy

      - Keys+3

      - Enhance Items

      - Pet Egg

      - Chest Max [ Server Error Show Some Time But Works ]

      - Fast Travel Energy Cost 1

      - Enemy Easy Kill [ Both Of Linked ] Server Error Show Some Time

      - Alway My Turn

      - HP [ Enemy Easy Kill + Alway My Turn ] Disable Then Use This Feature

      - ATK

      - DEF
        • Like
      • 7 replies
    • Rick and Morty: Pocket Mortys Cheats v2.40.0 +1
      Modded/Hacked App: Rick and Morty: Pocket Mortys By Turner Broadcasting System, Inc.
      Bundle ID: com.turner.pocketmorties
      iTunes Store Link: https://apps.apple.com/us/app/rick-and-morty-pocket-mortys/id992640880?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

      - Freeze Currencies

       

      Non-Jailbroken Hack: https://iosgods.com/topic/86695-rick-and-morty-pocket-mortys-v2380-jailed-cheats-1/

       

      ⬇️ iOS Hack Download Link: https://iosgods.com/topic/89871-rick-and-morty-pocket-mortys-cheats-v2380-1/
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 629 replies
    • Hello Town: Merge & Succeed v2.7 [ +3 Cheats ] Currency Max
      Modded/Hacked App: Hello Town By Springcomes Co., Ltd.
      Bundle ID: com.spcomes.hellotown
      iTunes Store Link: https://apps.apple.com/us/app/hello-town/id6737850281?uo=4


      Hack Features

      - Diamonds
      - Gold
      - Energy Freeze



      For Non-Jailbroken & No Jailbreak required hacks: https://iosgods.com/forum/79-no-jailbreak-section/
      Modded Android APK(s): https://iosgods.com/forum/68-android-section/
        • Agree
        • Thanks
        • Winner
        • Like
      • 22 replies
    • Hello Town: Merge & Succeed v2.7 [ +3 Jailed ] Currency Max
      Modded/Hacked App: Hello Town By Springcomes Co., Ltd.
      Bundle ID: com.spcomes.hellotown
      iTunes Store Link: https://apps.apple.com/us/app/hello-town/id6737850281?uo=4

       

      Hack Features

      - Diamonds
      - Gold
      - Energy Freeze



      Jailbreak required iOS hacks: https://iosgods.com/forum/5-game-cheats-hack-requests/
      Modded Android APKs: https://iosgods.com/forum/68-android-section/
        • Informative
        • Agree
        • Thanks
        • Winner
        • Like
      • 23 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