Jump to content

MShooking problem


Profq

18 posts in this topic

Recommended Posts

Posted

Hello :D so I've got a new cheat on going but and now when im trying to compile it it says error with one hook i did, here is the hook whats causing problem;

 

%hook Transaction

-(void) setCoins:(long long) fp8 {

fp8 = 1000;

%orig(fp8);

}

%end

 

in terminal it saying:

 modified elsewhere are deprecated at /private/var/theos/bin/lib/aliased.pm line 42. 

 Compiling Tweak.xm...
Tweak.xm:7:141: error: redefinition of 'Transaction'
      as different kind of symbol
  ...@class StatusPanelAgent; @class Transaction; 
                              ^
/var/mobile/holiday/theos/include/QuartzCore/QuartzCore-Structs.h:138:3: note: 
      previous definition is here
} Transaction;
  ^
Tweak.xm:6:129: error: expected function body after
      function declarator
  ...self, SEL _cmd) fp8 {
                     ^
2 errors generated.
make[2]: *** [obj/Tweak.xm.5a107aa2.o] Error 1
make[1]: *** [internal-library-all_] Error 2
make: *** [Holiday.all.tweak.variables] Error 2
g-eazy:/var/mobile/holiday root# 
 
any help is highly appreciated! 
Posted

 

%hook transaction
-(void)setCoins:(long long)fp8 {
%orig;
fp8 = 1000;
}
%end

 

Think it as order. First is void then long long.

Posted

 

%hook transaction-(void)setCoins:(long long)fp8 {%orig;fp8 = 1000;}%end
Think it as order. First is void then long long.
It's whe other way around because after %orig; the function is complete and doesn't execute fp8 anymore

 

 

 

You need to write stuff properly: "Transaction" and not "transaction"

Also remove QuartzCore from tweakname_FRAMEWORKS in your Makefile

Posted
%hook transaction
-(void)setCoins:(long long)fp8 {
%orig;
fp8 = 1000;
}
%end

Think it as order. First is void then long long.

 

still getting an error i can send the tweak 

#import <UIKit/UIKit.h>

#import <substrate.h>

#import <Foundation/Foundation.h>

 

%hook DatabaseSecurityAgent

-(BOOL)hasUserStoreBeenTamperedWhith fp8 {

fp8=false;

%orig(fp8);

}

%end

 

%hook StatusPanelAgent

-(void) setCoins:(long long) fp8{

fp8 = 1000;

%orig(fp8);

}

%end

 

%hook Transaction

-(void)setCoins:(long long)fp8{

%orig

fp8 = 1000;

}

%end

 

%hook LootModel

-(void) setCoins:(long long) fp8{

fp8 = 1000;

%orig(fp8);

}

%end

 

%hook IAPItem

-(id) advertisementDialog fp8{

%orig

fp8=(null);

}

%end

 

%hook SurvivorConfig

-(float) landCoinCostExponent fp8 {

fp8 = 0;

%orig(fp8);

}

 

-(void) setLandCostExponent:(float)fp8 {

fp8 = 0;

%orig(fp8);

}

%end

 

%hook SurvivorAppDelegate

 

- (BOOL)application:(id)fp8 didFinishLaunchingWithOptions:(id)fp12 { // Popup only once at each launch of the app.

UIAlertView *igcredits = [[uIAlertView alloc] initWithTitle:@"Holiday Cheats"

message:@"\nHoliday Cheats by profq for iOSGods.com"

delegate:self

cancelButtonTitle:@"Thanks"

otherButtonTitles:@"Visit Us", nil];

[igcredits show];

[igcredits release];

return %orig();

}

 

%new

-(void)alertView:(UIAlertView *)alertView clickedButtonAtIndex:(NSInteger)buttonIndex {

 

NSString *button = [alertView buttonTitleAtIndex:buttonIndex];

 

if([button isEqualToString:@"Visit Us"])

{

[[uIApplication sharedApplication] openURL:[NSURL URLWithString:@"http://iosgods.com/]];

}

}

%end

this is my second time making a tweak so i guarantee that i've done stuff wrong :(

Posted

It's whe other way around because after %orig; the function is complete and doesn't execute fp8 anymore

 

 

 

You need to write stuff properly: "Transaction" and not "transaction"

Also remove QuartzCore from tweakname_FRAMEWORKS in your Makefile

i dont have QuartzCore in my makefile

Posted

Im getting this after trying all you guys suggestions: Tweak.xm:7:84: error: redefinition of 'Transaction'
as different kind of symbol
...@class SurvivorAppDelegate; @class Transactio...
^
/var/mobile/holiday/theos/include/QuartzCore/QuartzCore-Structs.h:138:3: note:
previous definition is here
} Transaction;
^
Tweak.xm:6:129: error: expected function body after
function declarator
...self, SEL _cmd) fp8 {
^
2 errors generated.
make[2]: *** [obj/Tweak.xm.5a107aa2.o] Error 1
make[1]: *** [internal-library-all_] Error 2
make: *** [Holiday.all.tweak.variables] Error 2
g-eazy:/var/mobile/holiday root#

Archived

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

  • Our picks

    • Lollipop 3: Match 3 Puzzles v25.0401.01 [ +5 Cheats ] Auto Win
      Modded/Hacked App: Lollipop 3: Match 3 Puzzles By Puzzle1Studio,inc.
      Bundle ID: com.puzzle1studio.ap.lollipopsweetheroesmatch3
      iTunes Store Link: https://apps.apple.com/us/app/lollipop-3-match-3-puzzles/id1634326372?uo=4
       

      🤩 Hack Features

      - Coins

      - Lives

      - Booster

      - Moves

      - Auto Win 
      • 4 replies
    • Lollipop 3: Match 3 Puzzles v25.0401.01 [ +5 Jailed ] Auto Win
      Modded/Hacked App: Lollipop 3: Match 3 Puzzles By Puzzle1Studio,inc.
      Bundle ID: com.puzzle1studio.ap.lollipopsweetheroesmatch3
      iTunes Store Link: https://apps.apple.com/us/app/lollipop-3-match-3-puzzles/id1634326372?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

      - Coins

      - Lives

      - Booster

      - Moves

      - Auto Win 

       

      ⬇️ iOS Hack Download IPA Link


      Hidden Content

      Download via the iOSGods App
      • 5 replies
    • Dream Resort - Match 3 Games v1.2.9 [ +7 Jailed ] Auto Win
      Modded/Hacked App: Dream Resort - Match 3 Games By F.O.G LIMITED
      Bundle ID: com.dream.resort.candy.match.mania.ios
      iTunes Store Link: https://apps.apple.com/us/app/dream-resort-match-3-games/id6737011572?uo=4
       

      🚀 Hack Features

      - Auto ADS Disable

      - Coins

      - Diamonds

      - Lives Cost

      - Moves Freeze

      - Booster [ Buy Get Unlimited After use Then work ]

      - Auto win 


      🍏 Jailbreak iOS hacks: https://iosgods.com/forum/5-game-cheats-hack-requests/
      🤖 Modded Android APKs: https://iosgods.com/forum/68-android-section/
      • 7 replies
    • Dream Resort - Match 3 Games v1.2.9 [ +7 Cheats ] Auto Win
      Modded/Hacked App: Dream Resort - Match 3 Games By F.O.G LIMITED
      Bundle ID: com.dream.resort.candy.match.mania.ios
      iTunes Store Link: https://apps.apple.com/us/app/dream-resort-match-3-games/id6737011572?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

      - Auto ADS Disable

      - Coins

      - Diamonds

      - Lives Cost

      - Moves Freeze

      - Booster [ Buy Get Unlimited After use Then work ]

      - Auto win 


      🍏 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/
      • 8 replies
    • Disney Solitaire v0.44.1 [ +7 Cheats ] Auto Win
      Modded/Hacked App: Disney Solitaire By SuperPlay LTD
      Bundle ID: com.superplaystudios.disneysolitairedreams
      iTunes Store Link: https://apps.apple.com/ph/app/disney-solitaire/id6475757306?uo=4
       

      🤩 Hack Features

      - Coins [ Win Match ]

      - Task [ No Need Star ]

      - Stars

      - Undo

      - Wild Card

      - Free Ticket

      - Auto Win
      • 3 replies
    • Disney Solitaire v0.44.1 [ +7 Jailed ] Auto Win
      Modded/Hacked App: Disney Solitaire By SuperPlay LTD
      Bundle ID: com.superplaystudios.disneysolitairedreams
      iTunes Store Link: https://apps.apple.com/ph/app/disney-solitaire/id6475757306?uo=4


      🤩 Hack Features

      - Coins [ Win Match ]

      - Task [ No Need Star ]

      - Stars

      - Undo

      - Wild Card

      - Free Ticket

      - Auto Win
      • 4 replies
    • Matching Story v1.36.02 [ +6 Cheats ] Auto Win
      Modded/Hacked App: Matching Story By VERTEX GAMES PTE. LTD.
      Bundle ID: matching.story
      iTunes Store Link: https://apps.apple.com/ph/app/matching-story/id1558803930?uo=4


      🤩 Hack Features

      - Auto Win

      - Coins

      - Diamonds [ Win Match Linked With Moves ]

      - Lives

      - Booster

      - Moves
      • 13 replies
    • Matching Story v1.36.02 [ +6 Jailed ] Auto Win
      Modded/Hacked App: Matching Story By VERTEX GAMES PTE. LTD.
      Bundle ID: matching.story
      iTunes Store Link: https://apps.apple.com/ph/app/matching-story/id1558803930?uo=4

       
      🤩 Hack Features

      - Auto Win

      - Coins

      - Diamonds [ Win Match Linked With Moves ]

      - Lives

      - Booster

      - Moves
      • 18 replies
    • WAR OF THE VISIONS FFBE Cheats v11.3.6 +3 [ Multiply Damage & Defense ]
      Modded/Hacked App: FINAL FANTASY BE:WOTV By SQUARE ENIX Co., Ltd.
      Bundle ID: com.square-enix.WOTVffbeww
      iTunes Store Link: https://apps.apple.com/us/app/final-fantasy-be-wotv/id1484937345?uo=4


      Hack Features:
      - Multiply Attack
      - Multiply Defense
      - Full Map Movement


      Non-Jailbroken & No Jailbreak required hack(s): https://iosgods.com/topic/173485-final-fantasy-bewotv-v730-jailed-cheats-3/


      iOS Hack Download Link: https://iosgods.com/topic/173483-war-of-the-visions-ffbe-cheats-v740-3-multiply-damage-defense/
      • 210 replies
    • SimCity BuildIt Cheats v1.63.0 +1 [ Freeze Currencies ]
      Modded/Hacked App: SimCity BuildIt By EA Swiss Sarl
      Bundle ID: com.ea.simcitymobile.bv
      iTunes Store Link: https://apps.apple.com/us/app/simcity-buildit/id913292932?uo=4


      Hack Features:
      - Infinite Currencies


      Non-Jailbroken & No Jailbreak required hack(s): https://iosgods.com/topic/124792-arm64-simcity-buildit-v1412-jailed-cheats-1/


      iOS Hack Download Link: https://iosgods.com/topic/157687-simcity-buildit-cheats-v1415-1/
        • Agree
      • 647 replies
    • PewDiePie's Tuber Simulator Cheats v2.48.0 +3
      Modded/Hacked App: PewDiePie's Tuber Simulator By Outerminds Inc.
      Bundle ID: com.outerminds.tubular
      iTunes Store Link: https://apps.apple.com/us/app/pewdiepies-tuber-simulator/id1093190533?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 Subscriber
      - Infinite Views
      - Infinite Bux

      NOTE: Please complete tutorial first before enabling the hacks otherwise it won't work

      NOTe 2: Please make a youtube video to get some views first (without hack) then before enable infinite views

       

      Non-Jailbroken Hack: https://iosgods.com/topic/86411-pewdiepies-tuber-simulator-v2450-jailed-cheats-3/

       

      ⬇️ iOS Hack Download Link: https://iosgods.com/topic/86366-pewdiepies-tuber-simulator-cheats-v2460-3/
      • 1,143 replies
    • [ ArKnights TW ] 明日方舟 v26.3.21 - [ x Player Damage & More ]
      Modded/Hacked App: 明日方舟 By GRYPH FRONTIER PTE. LTD.
      Bundle ID: tw.txwy.ios.arknights
      iTunes Store Link: https://apps.apple.com/tw/app/%E6%98%8E%E6%97%A5%E6%96%B9%E8%88%9F/id1490985322?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

      - x Player Damage - x1 - 1000
      - x Player Defense - x1 - 1000
      - x Player Attack Speed - x1 - 10
      - Frozen Enemies
      - Instant - Kill
      - Instant - Win
      - Unlimited Skills
      - No Deploy Cost

       

      Non-Jailbroken Hack: https://iosgods.com/topic/129722-arknights-tw-%E6%98%8E%E6%97%A5%E6%96%B9%E8%88%9F-v26321-jailed-cheats-8/

       

      ⬇️ iOS Hack Download Link: https://iosgods.com/topic/129583-arknights-tw-%E6%98%8E%E6%97%A5%E6%96%B9%E8%88%9F-v26321-x-player-damage-more/
      • 455 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