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

    • Joint Blitz v1.0.20 [+5 Jailed Cheats]
      Modded/Hacked App: Joint Blitz By Beijing Dasheng Digital Entertainment Technology Co., Ltd.
      Bundle ID: com.mojo.tuxi.ios
      App Store Link: https://apps.apple.com/us/app/joint-blitz/id6480042435?uo=4



      🤩 Hack Features

      - Add Diamonds
      - Add Money
      - Enemy Can't Attack
      - No Population Limit
      - Higher Energy Gain (From killing enemy)
      • 1 reply
    • Joint Blitz v1.0.20 [+5 Cheats]
      Modded/Hacked App: Joint Blitz By Beijing Dasheng Digital Entertainment Technology Co., Ltd.
      Bundle ID: com.mojo.tuxi.ios
      App Store Link: https://apps.apple.com/us/app/joint-blitz/id6480042435?uo=4



      🤩 Hack Features

      - Add Diamonds
      - Add Money
      - Enemy Can't Attack
      - No Population Limit
      - Higher Energy Gain (From killing enemy)
      • 3 replies
    • Super Stylist Fashion Makeover Cheats v3.6.6 +1
      Modded/Hacked App: Super Stylist Fashion Makeover By CRAZY STYLE LTD
      Bundle ID: com.babyeducationtoys.fashionstyle
      iTunes Store Link: https://apps.apple.com/us/app/super-stylist-fashion-makeover/id1441648201?uo=4


      Hack Features:
      - Free Store (not iAP)


      Non-Jailbroken & No Jailbreak required hack(s): https://iosgods.com/topic/112404-super-stylist-fashion-makeover-v352-jailed-cheats-1/


      iOS Hack Download Link: https://iosgods.com/topic/190368-super-stylist-fashion-makeover-cheats-v352-1/
      • 19 replies
    • AdVenture Capitalist Cheats v9.13.0 +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/
      • 1,192 replies
    • Monster Legends: Collect all Cheats v18.1.1 +8
      Modded/Hacked App: Monster Legends: Merge RPG By Socialpoint
      Bundle ID: es.socialpoint.MonsterCity
      iTunes Store Link: https://apps.apple.com/us/app/monster-legends-merge-rpg/id653508448?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

      - 1 Hit Kill
      - Skip Enemy Turn
      - Multiply Attack
      - Multiply Defense
      - Insane Score (Always 3 Stars)
      - No Skill Cost
      - Auto Win
      - Auto Play Battle Enabled for All Maps


      🍏 For Non-Jailbroken & No Jailbreak required hacks: https://iosgods.com/topic/140543-monster-legends-collect-all-v1778-5-cheats-for-jailed-idevices/

       

      ⬇️ iOS Hack Download Link: https://iosgods.com/topic/176914-monster-legends-collect-all-cheats-v1779-8/
      • 348 replies
    • BitLife - Life Simulator Cheats v3.19.8 +2
      Modded/Hacked App: BitLife - Life Simulator by Candywriter, LLC
      Bundle ID: com.wtfapps.apollo16
      iTunes Store Link: https://apps.apple.com/us/app/bitlife-life-simulator/id1374403536?uo=4&at=1010lce4


      Hack Features:
      - Infinite Cash
      - Free Bitizen Purchase (Press Cancle) - Work for All Versions


      Non-Jailbroken & No Jailbreak required hack(s): https://iosgods.com/topic/84167-arm64-bitlife-life-simulator-v1412-jailed-cheats-2/


      Hack Download Link: https://iosgods.com/topic/84223-arm64-bitlife-life-simulator-cheats-all-versions-2/
      • 3,676 replies
    • [Global / KR] STARSEED: Asnia Trigger Cheats v7.6 +3
      Modded/Hacked App: STARSEED: Asnia Trigger By Com2uS Corp.
      Bundle ID: com.com2us.starseedgl.ios.apple.global.normal
      iTunes Store Link: https://apps.apple.com/us/app/starseed-asnia-trigger/id6504904399?uo=4


      Hack Features:
      - Multiply Attack
      - Multiply Defense
      - Instant Skills


      Non-Jailbroken & No Jailbreak required hack(s): https://iosgods.com/forum/79-no-jailbreak-section/
       


      iOS Hack Download Link: https://iosgods.com/topic/188338-starseed-asnia-trigger-cheats-v115-3/
      • 59 replies
    • Idle MoonRabbit: AFK RPG Cheats v1.124.0 +4
      Modded/Hacked App: Idle MoonRabbit: AFK RPG By Able Games Co. ,Ltd.
      Bundle ID: com.TheAbleGames.DalToKi
      iTunes Store Link: https://apps.apple.com/us/app/idle-moonrabbit-afk-rpg/id1599684924?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

      - Multiply Attack
      - Multiply Defense
      - Infinite Mana
      - Instant Skills


      🍏 For Non-Jailbroken & No Jailbreak required hacks: https://iosgods.com/topic/190116-idle-moonrabbit-afk-rpg-v11130-jailed-cheats-4/

       

      📥 iOS Hack Download Link: https://iosgods.com/topic/167497-idle-moonrabbit-afk-rpg-cheats-v11130-4/
      • 242 replies
    • Hollywood Story: Fashion Star Cheats v13.3 +4
      Modded/Hacked App: Hollywood Story®: Fashion Star By Nanobit d.o.o.
      Bundle ID: com.nanobitsoftware.hollywoodstory
      iTunes Store Link: https://apps.apple.com/us/app/hollywood-story-fashion-star/id876656488?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

      - Infinite Cash
      - Infinite Gems
      - Infinite Golden Tickets
      - Infinite Stars Point

       

      ⬇️ iOS Hack Download Link: https://iosgods.com/topic/73408-hollywood-story-fashion-star-cheats-v1211-4/
      • 808 replies
    • My Talking Angela 2 Cheats v25.2.3 +2
      Modded/Hacked App: My Talking Angela 2 By Outfit7 Limited
      Bundle ID: com.outfit7.mytalkingangela2
      iTunes Store Link: https://apps.apple.com/us/app/my-talking-angela-2/id1536584509?uo=4


      Hack Features:
      - Infinite Currencies
      - No Ads


      Non-Jailbroken & No Jailbreak required hack(s): https://iosgods.com/topic/147072-my-talking-angela-2-v1013-jailed-cheats-2/


      iOS Hack Download Link: https://iosgods.com/topic/147070-my-talking-angela-2-cheats-all-versions-2/
      • 112 replies
    • My Talking Tom Friends Cheats v25.2.3 +2
      Modded/Hacked App: My Talking Tom Friends By Outfit7 Limited
      Bundle ID: com.outfit7.mytalkingtomfriends
      iTunes Store Link: https://apps.apple.com/us/app/my-talking-tom-friends/id1473424857?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

      - Infinite Coins
      - No Ads

      Non-Jailbroken Hack: https://iosgods.com/topic/128377-my-talking-tom-friends-v392-jailed-cheats-2/

       

      ⬇️ iOS Hack Download Link: https://iosgods.com/topic/128376-my-talking-tom-friends-cheats-v2510-2/
      • 154 replies
    • EA SPORTS FC™ (FIFA) MOBILE SOCCER Cheats v25.9.09 +2
      Modded/Hacked App: FIFA Soccer By Electronic Arts
      Bundle ID: com.ea.ios.fifamobile
      iTunes Store Link: https://itunes.apple.com/us/app/fifa-soccer/id1094930513

      Hack Features:
      - Keeper on drugs 
      - stupid AI defense (randomly works lol but funny as hell)
      - EASY WINS BECAUSE OF ABOVE 
       


      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/
      • 1,201 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