Jump to content

18 posts in this topic

Recommended Posts

Posted

What's your current Tweak.xm?

#define PLIST_PATH @"/var/mobile/Library/Preferences/terapref.plist"

#import <UIKit/UIKit.h>

 

inline bool GetPrefBool(NSString *key)

{

return [[[NSDictionary dictionaryWithContentsOfFile:PLIST_PATH] valueForKey:key] boolValue];

}

 

#include <Foundation/Foundation.h>

 

%hook GNGame

-(void) setGenesisPoints:(int)arg1 {

if(GetPrefBool(@"kGenesis")) {

arg1 = 999999;

}

return %orig;

}

%end

 

%hook GNGame

- (void)setMoney:(double)arg1 {

if(GetPrefBool(@"kMoney")) {

arg1 = [NSNumber numberWithInt:GetPrefDouble(@"kMoney")];

}

}

%end

 

%hook AppDelegate

 

-(BOOL)application:(id)fp8 didFinishLaunchingWithOptions:(id)fp12 {

 

UIAlertView *alert = [[uIAlertView alloc] initWithTitle:@"IosGods"

message:@"TeraGenesis Cheat By Crypto" delegate:self cancelButtonTitle:@"Thanks!" otherButtonTitles:@"For more hacks, Click Here!", nil];

[alert show];

[alert release];

return %orig();

%new

}

 

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

if(buttonIndex !=alertView.cancelButtonIndex)

{

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

}

}

 

%end

--------------------------------------------------------

I have like 15 other classes but They all have 1 argument and I need to know how to make 1 PSEditTextCell so I can use it on all the other classes.

Posted (edited)


#define PLIST_PATH @"/var/mobile/Library/Preferences/terapref.plist"

#import <UIKit/UIKit.h>

 

inline double GetPrefDouble(NSString *key)

{

return [[[NSDictionary dictionaryWithContentsOfFile:PLIST_PATH] valueForKey:key] doubleValue];

}

 

inline bool GetPrefBool(NSString *key)

{

return [[[NSDictionary dictionaryWithContentsOfFile:PLIST_PATH] valueForKey:key] boolValue];

}

 

#include <Foundation/Foundation.h>

 

%hook GNGame

- (void)setGenesisPoints:(int)arg1 {

if(GetPrefBool(@"kGenesis")) {

arg1 = 999999;

}

 

return %orig();

}

%end

 

%hook GNGame

- (void)setMoney:(double)arg1 {

if (GetPrefBool(@"kMoney")) {

arg1 = [NSNumber numberWithInt:GetPrefDouble(@"kMoney")];

}

 

return %orig();

}

%end

 

%hook AppDelegate

- (BOOL)application:(id)fp8 didFinishLaunchingWithOptions:(id)fp12 {

UIAlertView *alert = [[UIAlertView alloc] initWithTitle:@"IosGods"

message:@"TeraGenesis Cheat By Crypto" delegate:self cancelButtonTitle:@"Thanks!" otherButtonTitles:@"For more hacks, Click Here!", nil];

[alert show];

[alert release];

 

return %orig();

}

 

%new

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

if (buttonIndex != alertView.cancelButtonIndex)

{

[[UIApplication sharedApplication] openURL:[NSURL URLWithString:@"https://www.iosgods.com"]];

}

}

 

%end

Updated by JustRick
Posted

 

#define PLIST_PATH @"/var/mobile/Library/Preferences/terapref.plist"
#import <UIKit/UIKit.h>

inline double GetPrefDouble(NSString *key)
{
   return [[[NSDictionary dictionaryWithContentsOfFile:PLIST_PATH] valueForKey:key] doubleValue];
}

inline bool GetPrefBool(NSString *key)
{
    return [[[NSDictionary dictionaryWithContentsOfFile:PLIST_PATH] valueForKey:key] boolValue];
}

#include <Foundation/Foundation.h>

%hook GNGame
- (void)setGenesisPoints:(int)arg1 {
    if(GetPrefBool(@"kGenesis")) {
       arg1 = 999999;
    }
    
    return %orig();
}
%end

%hook GNGame
- (void)setMoney:(double)arg1 {
   if (GetPrefBool(@"kMoney")) {
      arg1 = [NSNumber numberWithInt:GetPrefDouble(@"kMoney")];
   }

   return %orig();
}
%end

%hook AppDelegate
- (BOOL)application:(id)fp8 didFinishLaunchingWithOptions:(id)fp12 {
     UIAlertView *alert = [[UIAlertView alloc] initWithTitle:@"IosGods"
     message:@"TeraGenesis Cheat By Crypto" delegate:self cancelButtonTitle:@"Thanks!" otherButtonTitles:@"For more hacks, Click Here!", nil]; 
     [alert show];
     [alert release]; 

     return %orig();
}

%new
-(void)alertView:(UIAlertView *)alertView clickedButtonAtIndex:(NSInteger)buttonIndex {
   if (buttonIndex != alertView.cancelButtonIndex) 
   { 
        [[UIApplication sharedApplication] openURL:[NSURL URLWithString:@"https://www.iosgods.com"]]; 
   }
}

%end 

Compiling Tweak.xm...

Tweak.xm:29:12: error: assigning to 'double' from incompatible

type 'NSNumber * _Nonnull'

...= [NSNumber numberWithInt:GetPrefDouble(@"kMoney")];

^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

1 error generated.

Posted


#define PLIST_PATH @"/var/mobile/Library/Preferences/terapref.plist"

#import <UIKit/UIKit.h>

 

inline double GetPrefDouble(NSString *key)

{

return [[[NSDictionary dictionaryWithContentsOfFile:PLIST_PATH] valueForKey:key] doubleValue];

}

 

inline bool GetPrefBool(NSString *key)

{

return [[[NSDictionary dictionaryWithContentsOfFile:PLIST_PATH] valueForKey:key] boolValue];

}

 

#include <Foundation/Foundation.h>

 

%hook GNGame

- (void)setGenesisPoints:(int)arg1 {

if(GetPrefBool(@"kGenesis")) {

arg1 = 999999;

}

 

return %orig();

}

%end

 

%hook GNGame

- (void)setMoney:(double)arg1 {

if (GetPrefBool(@"kMoney")) {

arg1 = [NSNumber numberWithDouble:GetPrefDouble(@"kMoney")];

}

 

return %orig();

}

%end

 

%hook AppDelegate

- (BOOL)application:(id)fp8 didFinishLaunchingWithOptions:(id)fp12 {

UIAlertView *alert = [[UIAlertView alloc] initWithTitle:@"IosGods"

message:@"TeraGenesis Cheat By Crypto" delegate:self cancelButtonTitle:@"Thanks!" otherButtonTitles:@"For more hacks, Click Here!", nil];

[alert show];

[alert release];

 

return %orig();

}

 

%new

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

if (buttonIndex != alertView.cancelButtonIndex)

{

[[UIApplication sharedApplication] openURL:[NSURL URLWithString:@"https://www.iosgods.com"]];

}

}

 

%end

Posted

 

#define PLIST_PATH @"/var/mobile/Library/Preferences/terapref.plist"
#import <UIKit/UIKit.h>

inline double GetPrefDouble(NSString *key)
{
   return [[[NSDictionary dictionaryWithContentsOfFile:PLIST_PATH] valueForKey:key] doubleValue];
}

inline bool GetPrefBool(NSString *key)
{
    return [[[NSDictionary dictionaryWithContentsOfFile:PLIST_PATH] valueForKey:key] boolValue];
}

#include <Foundation/Foundation.h>

%hook GNGame
- (void)setGenesisPoints:(int)arg1 {
    if(GetPrefBool(@"kGenesis")) {
       arg1 = 999999;
    }
    
    return %orig();
}
%end

%hook GNGame
- (void)setMoney:(double)arg1 {
   if (GetPrefBool(@"kMoney")) {
      arg1 = [NSNumber numberWithDouble:GetPrefDouble(@"kMoney")];
   }

   return %orig();
}
%end

%hook AppDelegate
- (BOOL)application:(id)fp8 didFinishLaunchingWithOptions:(id)fp12 {
     UIAlertView *alert = [[UIAlertView alloc] initWithTitle:@"IosGods"
     message:@"TeraGenesis Cheat By Crypto" delegate:self cancelButtonTitle:@"Thanks!" otherButtonTitles:@"For more hacks, Click Here!", nil]; 
     [alert show];
     [alert release]; 

     return %orig();
}

%new
-(void)alertView:(UIAlertView *)alertView clickedButtonAtIndex:(NSInteger)buttonIndex {
   if (buttonIndex != alertView.cancelButtonIndex) 
   { 
        [[UIApplication sharedApplication] openURL:[NSURL URLWithString:@"https://www.iosgods.com"]]; 
   }
}

%end 

Same error

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Our picks

    • Cash King: Tycoon Earn Money v1.17.3 +4 Jailed Cheats [ Unlimited Currencies ]
      Modded/Hacked App: Cash King: Tycoon Earn Money By BFK ARASTIRMA GELISTIRME YAZILIM BILGISAYAR SANAYI VE TICARET ANONIM SIRKETI
      Bundle ID: com.tcn.cking
      iTunes Store Link: https://apps.apple.com/us/app/cash-king-tycoon-earn-money/id6479973614?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:
      - Unlimited Cash -> Will increase instead of decrease.
      - Unlimited Tickets -> Will increase instead of decrease.
      - Unlimited Health & Happiness -> Will not decrease.
      -- No Ads


      Jailbreak required hack(s): [Mod Menu Hack] Cash King: Tycoon Earn Money v0.7.2 +4 Cheats [ Unlimited Currencies ] - Free Jailbroken Cydia Cheats - iOSGods
      Modded Android APK(s): https://iosgods.com/forum/68-android-section/
      For more fun, check out the Club(s): https://iosgods.com/clubs/
      • 59 replies
    • Ninja Scroll Rush v0.2.3 [ +8 Cheats ] Currency Max
      Modded/Hacked App: Ninja Scroll Rush By Yso Corp
      Bundle ID: com.YsoCorp.NinjaScrollRush
      App Store Link: https://apps.apple.com/us/app/ninja-scroll-rush/id6755685134?uo=4

      🤩 Hack Features

      - Unlimited Gems
      - Unlimited Keys +3
      - Unlimited Coins
      - Unlimited EXP / Faster LvL UP
      - HP MAX
      - ATK MAX
      - DEF MAX
      - Skill CD
      • 0 replies
    • Ninja Scroll Rush v0.2.3 [ +8 Jailed ] Currency Max
      Modded/Hacked App: Ninja Scroll Rush By Yso Corp
      Bundle ID: com.YsoCorp.NinjaScrollRush
      App Store Link: https://apps.apple.com/us/app/ninja-scroll-rush/id6755685134?uo=4

      🤩 Hack Features

      - Unlimited Gems
      - Unlimited Keys +3
      - Unlimited Coins
      - Unlimited EXP / Faster LvL UP
      - HP MAX
      - ATK MAX
      - DEF MAX
      - Skill CD
      • 0 replies
    • Wagle Squad v1.3.0 +5 Jailed Cheats [ Damage & Defence ]
      Modded/Hacked App: Wagle Squad By EK GAMES
      Bundle ID: net.ekgames.projectz
      App Store Link: https://apps.apple.com/us/app/wagle-squad/id6752973592?uo=4

       

      🤩 Hack Features

      - Damage Multiplier
      - Defence Multiplier
      - God Mode
      - Auto Win -> Quit the level.
      - No Summon Cost/Cooldown 
      • 13 replies
    • Dragon Village Rumble v1.008.021 +3 Jailed Cheats [ God Mode + More ]
      Modded/Hacked App: Dragon Village Rumble By Highbrow
      Bundle ID: com.highbrow.games.dvb.apple
      App Store Link: https://apps.apple.com/us/app/dragon-village-rumble/id6754904783?uo=4

       


      🤩 Hack Features

      - God Mode
      - One-Hit Kill
      - Game Speed Multiplier
      • 45 replies
    • Love Eden: Chapters of Romance v2.0.3 +10++ Jailed Cheats [ Debug Menu ]
      Modded/Hacked App: Love Eden: Chapters of Romance By NODERNO LIMITED
      Bundle ID: com.noderno.loveeden
      App Store Link: https://apps.apple.com/us/app/love-eden-chapters-of-romance/id6471411677?uo=4

       


      🤩 Hack Features

      - Debug Menu -> Head over to your profile and then tap on Settings.
      • 8 replies
    • Hello Kitty Friends Match v1.0.25 +1 Jailed Cheat [ Auto Win ]
      Modded/Hacked App: Hello Kitty Friends Match By LINE Games
      Bundle ID: com.linegames.hkfm
      App Store Link: https://apps.apple.com/us/app/hello-kitty-friends-match/id6742533643?uo=4

       
       

      🤩 Hack Features

      - Auto Win -> Move a block.
      • 15 replies
    • Goblins Wood: Tycoon Idle Sim v2.57.0 +1++ Jailed Cheat [ Unlimited Currencies ]
      Modded/Hacked App: Goblins Wood: Tycoon Idle Sim By ProGamesLab LTD
      Bundle ID: idle.goblins.wood.tycoon
      iTunes Store Link: https://apps.apple.com/us/app/goblins-wood-tycoon-idle-sim/id6446766326?uo=4


      Hack Features:
      - Unlimited Currencies -> Will increase instead of decrease.


      Jailbreak required hack(s): [Mod Menu Hack] Goblins Wood: Tycoon Idle Sim v2.42.0 +1++ Cheat [ Unlimited Currencies ] - Free Jailbroken Cydia Cheats - iOSGods
      Modded Android APK(s): https://iosgods.com/forum/68-android-section/
      For more fun, check out the Club(s): https://iosgods.com/clubs/
      • 71 replies
    • Octopus Feast v2.15.11 +1++ Jailed Cheat [ Unlimited Currencies ]
      Modded/Hacked App: Octopus Feast By Rollic Games Oyun Yazilim ve Pazarlama Anonim Sirketi
      Bundle ID: com.twodestudios.octopusfeast
      iTunes Store Link: https://apps.apple.com/us/app/octopus-feast/id6499421924?uo=4


      Hack Features:
      - Unlimited Currencies -> Will increase instead of decrease.


      Jailbreak required hack(s): [Mod Menu Hack] Octopus Feast v1.2.4 +1++ Cheat [ Unlimited Currencies ] - Free Jailbroken Cydia Cheats - iOSGods
      Modded Android APK(s): https://iosgods.com/forum/68-android-section/
      For more fun, check out the Club(s): https://iosgods.com/clubs/
      • 58 replies
    • Gumslinger 2: Ducks & Nukes v1.0.7 +5 Jailed Cheats [ Unlimited Currencies ]
      Modded/Hacked App: Gumslinger 2: Ducks & Nukes By Itatake AB
      Bundle ID: se.itatake.gumslinger2
      App Store Link: https://apps.apple.com/us/app/gumslinger-2-ducks-nukes/id6755482784?uo=4

       


      🤩 Hack Features

      - Dumb Enemies
      - One-Hit Kill -> Linked. Use with Dumb Enemies.
      - Unlimited Currencies -> Earn some.
      - All Accessories Unlocked
      - All Weapons Unlocked
      • 3 replies
    • Ghost Invasion: Idle Hunter v2.1 +5 Jailed Cheats [ Damage & Defence ]
      Modded/Hacked App: Ghost Invasion: Idle Hunter By Miniclip SA
      Bundle ID: com.miniclip.ghostinvasion
      App Store Link: https://apps.apple.com/us/app/ghost-invasion-idle-hunter/id6502696892?uo=4

       


      🤩 Hack Features

      - Damage Multiplier
      - Defence Multiplier
      - God Mode
      - Freeze Currencies
      - XP Multiplier
      • 22 replies
    • Planet Crusher - Dig & Drill v0.26.1 +8 Jailed Cheats [ Unlimited Currencies ]
      Modded/Hacked App: Planet Crusher - Dig & Drill By Gryphon Games UG (haftungsbeschrankt)
      Bundle ID: com.gryphongames.planetcrusher
      App Store Link: https://apps.apple.com/us/app/planet-crusher-dig-drill/id6738657101?uo=4

       
       

      🤩 Hack Features

      - God Mode
      - Damage Multiplier
      - Drill Damage Multiplier
      - No Knockback
      - Unlimited Currencies -> Will increase instead of decrease.
      - All Planets Unlocked
      - Battle Pass Unlocked
      -- No Ads
      • 49 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