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

    • Planet Miner: Idle Action Game v0.13.0 [ +18 Cheats ] Currency Max
      Modded/Hacked App: Planet Miner: Idle Action Game By Gryphon Games UG (haftungsbeschrankt)
      Bundle ID: com.gryphongames.planetminer
      App Store Link: https://apps.apple.com/us/app/planet-miner-idle-action-game/id6755299482?uo=4

      🤩 Hack Features

      - ADS NO / Rewards Free
      - Unlimited Gems
      - Unlimited Coins / Linked DMG
      - Unlimited Skill Token / Linked DMG & Prestige
      - Lucky Draw Cost 0
      :: Status ViP ::
      - Faster Remove Planet / Linked DMG
      - Unlimited Rocket Spawn
      - Unlimited DMG
      - Unlimited HP
      - Unlimited DEF
      - Unlimited Life steal
      - Unlimited DMG Reduction
      - Unlimited Criti DMG
      - Unlimited Criti Chance
      - Unlimited Elite Ship DMG
      - Unlimited Elite Ship HP
      - Unlimited Elite Ship Chance
      - Muliti Ship Chance

      Note:- Just One Upgrade Status
      • 11 replies
    • Planet Miner: Idle Action Game v0.13.0 [ +18 Jailed ] Currency Max
      Modded/Hacked App: Planet Miner: Idle Action Game By Gryphon Games UG (haftungsbeschrankt)
      Bundle ID: com.gryphongames.planetminer
      App Store Link: https://apps.apple.com/us/app/planet-miner-idle-action-game/id6755299482?uo=4

      🤩 Hack Features

      - ADS NO / Rewards Free
      - Unlimited Gems
      - Unlimited Coins / Linked DMG
      - Unlimited Skill Token / Linked DMG & Prestige
      - Lucky Draw Cost 0
      :: Status ViP ::
      - Faster Remove Planet / Linked DMG
      - Unlimited Rocket Spawn
      - Unlimited DMG
      - Unlimited HP
      - Unlimited DEF
      - Unlimited Life steal
      - Unlimited DMG Reduction
      - Unlimited Criti DMG
      - Unlimited Criti Chance
      - Unlimited Elite Ship DMG
      - Unlimited Elite Ship HP
      - Unlimited Elite Ship Chance
      - Muliti Ship Chance

      Note:- Just One Upgrade Status
      • 13 replies
    • Tower And Swords v2.502 [ +5 Jailed ] Currency Max
      Modded/Hacked App: Tower And Swords By Jisu Im
      Bundle ID: com.Jaems.ProjectCreationRPG
      iTunes Store Link: https://apps.apple.com/us/app/tower-and-swords/id1660251779?uo=4


      🤩 Hack Features

      - IAP Free

      - Gems

      - Coins

      - Never Die

      - DMG

      - Crit Hit
      • 32 replies
    • Tower And Swords v2.502 [ +5 Cheats ] Currency Max
      Modded/Hacked App: Tower And Swords By Jisu Im
      Bundle ID: com.Jaems.ProjectCreationRPG
      iTunes Store Link: https://apps.apple.com/us/app/tower-and-swords/id1660251779?uo=4
       

      🤩 Hack Features

      - IAP Free

      - Gems

      - Coins

      - Never Die

      - DMG

      - Crit Hit
      • 24 replies
    • Forest Cabin: Survive v2.00.019 [ +4 Cheats ] Battle Coins
      Modded/Hacked App: Forest Cabin: Survive By HARVEST STAR INTERACTIVE LIMITED
      Bundle ID: com.qxgame.gmerge
      App Store Link: https://apps.apple.com/us/app/forest-cabin-survive/id6755801812?uo=4

      🤩 Hack Features

      - Speed 2X Active
      - Unlimited Battle Coin
      - Unlimited Battle Energy
      - ATK Speed
      • 9 replies
    • Forest Cabin: Survive v2.00.019 [ +4 Jailed ] Battle Coins
      Modded/Hacked App: Forest Cabin: Survive By HARVEST STAR INTERACTIVE LIMITED
      Bundle ID: com.qxgame.gmerge
      App Store Link: https://apps.apple.com/us/app/forest-cabin-survive/id6755801812?uo=4

      🤩 Hack Features

      - Speed 2X Active
      - Unlimited Battle Coin
      - Unlimited Battle Energy
      - ATK Speed
      • 5 replies
    • Michi Café: Cat Café v1.3.92 [ +1 Cheats ] Coin Unlimited
      Modded/Hacked App: Michi Café: Cat Café By Juan Bustos
      Bundle ID: com.Pintordenubes.Michi-Cafe
      App Store Link: https://apps.apple.com/vn/app/michi-caf%C3%A9-cat-caf%C3%A9/id6756552185?uo=4

      🤩 Hack Features

      - Unlimited Coins
      • 3 replies
    • Michi Café: Cat Café v1.3.92 [ +1 Jailed ] Coin Unlimited
      Modded/Hacked App: Michi Café: Cat Café By Juan Bustos
      Bundle ID: com.Pintordenubes.Michi-Cafe
      App Store Link: https://apps.apple.com/vn/app/michi-caf%C3%A9-cat-caf%C3%A9/id6756552185?uo=4
      🤩 Hack Features

      - Unlimited Coins
      • 2 replies
    • World of Artillery Tank Fire v2.0.26 [ +7 Cheats ] Easy Win
      Modded/Hacked App: World of Artillery: Tank Fire By CHEELY APPS TOO
      Bundle ID: com.battle.worldofartillery
      iTunes Store Link: https://apps.apple.com/us/app/world-of-artillery-tank-fire/id1660614297?uo=4
      Hack Features:
      - Anti Cheat
      - Premium
      - Damage
      - Ammo
      - No Reload
      - Energy
      - 1 Kill To Win
      • 38 replies
    • World of Artillery Tank Fire v2.0.26 [ +7 Jailed ] Easy Win
      Modded/Hacked App: World of Artillery: Tank Fire By CHEELY APPS TOO
      Bundle ID: com.battle.worldofartillery
      App Store Link: https://apps.apple.com/us/app/world-of-artillery-tank-fire/id1660614297?uo=4

      🤩 Hack Features

      - Anti Cheat
      - Premium
      - Damage
      - Ammo
      - No Reload
      - Energy
      - 1 Kill To Win
      • 3 replies
    • UnderGuild: Offense v1.4.8 [ +3 Cheats ] Currency Max
      Modded/Hacked App: UnderGuild: Offense By SeungHo Chung
      Bundle ID: com.FreeDust.UnderDarkOffense
      App Store Link: https://apps.apple.com/us/app/underguild-offense/id6752882356?uo=4

      🤩 Hack Features

      - Unlimited Diamond
      - Unlimited Gold
      - Max Trop
      • 47 replies
    • UnderGuild: Offense v1.4.8 [ +3 Jailed ] Currency Max
      Modded/Hacked App: UnderGuild: Offense By SeungHo Chung
      Bundle ID: com.FreeDust.UnderDarkOffense
      App Store Link: https://apps.apple.com/us/app/underguild-offense/id6752882356?uo=4

      🤩 Hack Features

      - Unlimited Diamond
      - Unlimited Gold
      - Max Trop
      • 37 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