Jump to content

9 posts in this topic

Recommended Posts

Posted

so eveyrtime i go to compile i get this error

 

 

Tweak.xm:126:1: error: use of undeclared identifier 'fp8'
fp8();
^
Tweak.xm:138:1: error: use of undeclared identifier 'fp8'
fp8();
 

 

can anybody help

Posted

Can I see your Tweak.xm

 

 

I think you leave a space. I may be wrong because I haven't touched MS for a while.

 

#import <CoreFoundation/CoreFoundation.h>

#import <substrate.h>

#import <Foundation/Foundation.h>

#import <writeData.h>

#import <dlfcn.h>

#import <sys/types.h>

#define prefs @"/var/mobile/Library/Preferences/CandyCrushSodaSaga.plist"

inline bool GetPrefBool(NSString *key){

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

}

 

typedef int (*ptrace_ptr_t)(int _request, pid_t _pid, caddr_t _addr, int _data);

#if !defined(PT_DENY_ATTACH)

#define PT_DENY_ATTACH 31

#endif

 

 

%hook StritzAppDelegate

- (void)applicationDidBecomeActive:(id)non {

UIAlertView *alert = [[uIAlertView alloc] initWithTitle:@"Candy Crush Soda Saga" message:@"Hacked by JohnKittz" delegate:nil cancelButtonTitle:@"Thank You!" otherButtonTitles:nil];

[alert show];

[alert release];

}

%end

 

bool (*orig__ZN13CProgressUtil15IsLevelUnlockedEiPK19CStritzLevelManager)(void *self, unsigned i1);

bool __ZN13CProgressUtil15IsLevelUnlockedEiPK19CStritzLevelManager(void *self, unsigned int i1) {

if(GetPrefBool(@"kLevelUnlocker"))

{

return true;

}

else

{

return orig__ZN13CProgressUtil15IsLevelUnlockedEiPK19CStritzLevelManager(self,i1);

}

}

 

bool (*orig__ZN13CProgressUtil17IsEpisodeUnlockedEiPK15CEpisodeManagerPK19CStritzLevelManager)(void *self, unsigned int i1);

bool __ZN13CProgressUtil17IsEpisodeUnlockedEiPK15CEpisodeManagerPK19CStritzLevelManager(void *self, unsigned int i1) {

if(GetPrefBool(@"kEpisodeUnlocker"))

{

return true;

}

else

{

return orig__ZN13CProgressUtil17IsEpisodeUnlockedEiPK15CEpisodeManagerPK19CStritzLevelManager(self,i1);

}

}

 

int (*orig__ZN5Juego12CLifeManager8GetLivesEv)(void *self, unsigned int i1);

int __ZN5Juego12CLifeManager8GetLivesEv(void *self, unsigned int i1) {

if(GetPrefBool(@"kLives"))

{

return 999;

}

else

{

return orig__ZN5Juego12CLifeManager8GetLivesEv(self,i1);

}

}

 

int (*orig__ZN22CStritzGameModeHudView25DecreaseNumberOfMovesLeftEi)(void *self, unsigned int i1);

int __ZN22CStritzGameModeHudView25DecreaseNumberOfMovesLeftEi(void *self, unsigned int i1) {

if(GetPrefBool(@"kMoves"))

{

NSDictionary *Soda = [NSDictionary dictionaryWithContentsOfFile:[NSString stringWithFormat:@"/var/mobile/Library/Preferences/com.zahirsher.soda.plist"]]; return [[soda objectForKey:@"kMoves"] intValue];

}

else

{

return orig__ZN22CStritzGameModeHudView25DecreaseNumberOfMovesLeftEi(self,i1);

}

}

 

bool (*orig__ZNK25CChocolateNemesisGameMode11IsCompletedEv)(void *self, unsigned int i1);

bool __ZNK25CChocolateNemesisGameMode11IsCompletedEv(void *self, unsigned int i1) {

if(GetPrefBool(@"kChocolate"))

{

return true;

}

else

{

return orig__ZNK25CChocolateNemesisGameMode11IsCompletedEv(self,i1);

}

}

 

bool (*orig__ZNK17CFloatingNutsMode11IsCompletedEv)(void *self, unsigned int i1);

bool __ZNK17CFloatingNutsMode11IsCompletedEv(void *self, unsigned int i1) {

if(GetPrefBool(@"kNut"))

{

return true;

}

else

{

return orig__ZNK17CFloatingNutsMode11IsCompletedEv(self,i1);

}

}

 

bool (*orig__ZNK18GiantBearsGameMode11IsCompletedEv)(void *self, unsigned int i1);

bool __ZNK18GiantBearsGameMode11IsCompletedEv(void *self, unsigned int i1) {

if(GetPrefBool(@"kBear"))

{

return true;

}

else

{

return orig__ZNK18GiantBearsGameMode11IsCompletedEv(self,i1);

}

}

 

bool (*orig__ZNK21SodaToTheBrimGameMode11IsCompletedEv)(void *self, unsigned int i1);

bool __ZNK21SodaToTheBrimGameMode11IsCompletedEv(void *self, unsigned int i1) {

if(GetPrefBool(@"kBrim"))

{

return true;

}

else

{

return orig__ZNK21SodaToTheBrimGameMode11IsCompletedEv(self,i1);

}

}

 

 

 

__attribute__((constructor)) void DylibMain()

{

gold ();

MSHookFunction(((void*)MSFindSymbol(NULL,"__ZN13CProgressUtil15IsLevelUnlockedEiPK19CStritzLevelManager")),(void *)__ZN13CProgressUtil15IsLevelUnlockedEiPK19CStritzLevelManager,(void**)&orig__ZN13CProgressUtil15IsLevelUnlockedEiPK19CStritzLevelManager);

MSHookFunction(((void*)MSFindSymbol(NULL,"__ZN13CProgressUtil17IsEpisodeUnlockedEiPK15CEpisodeManagerPK19CStritzLevelManager")),(void *)__ZN13CProgressUtil17IsEpisodeUnlockedEiPK15CEpisodeManagerPK19CStritzLevelManager,(void**)&orig__ZN13CProgressUtil17IsEpisodeUnlockedEiPK15CEpisodeManagerPK19CStritzLevelManager);

MSHookFunction(((void*)MSFindSymbol(NULL,"__ZN5Juego12CLifeManager8GetLivesEv")),(void *)__ZN5Juego12CLifeManager8GetLivesEv,(void**)&orig__ZN5Juego12CLifeManager8GetLivesEv);

MSHookFunction(((void*)MSFindSymbol(NULL,"__ZN22CStritzGameModeHudView25DecreaseNumberOfMovesLeftEi")),(void *)__ZN22CStritzGameModeHudView25DecreaseNumberOfMovesLeftEi,(void**)&orig__ZN22CStritzGameModeHudView25DecreaseNumberOfMovesLeftEi);

MSHookFunction(((void*)MSFindSymbol(NULL,"__ZNK25CChocolateNemesisGameMode11IsCompletedEv")),(void *)__ZNK25CChocolateNemesisGameMode11IsCompletedEv,(void**)&orig__ZNK25CChocolateNemesisGameMode11IsCompletedEv);

MSHookFunction(((void*)MSFindSymbol(NULL,"__ZNK17CFloatingNutsMode11IsCompletedEv")),(void *)__ZNK17CFloatingNutsMode11IsCompletedEv,(void**)&orig__ZNK17CFloatingNutsMode11IsCompletedEv);

MSHookFunction(((void*)MSFindSymbol(NULL,"__ZNK18GiantBearsGameMode11IsCompletedEv")),(void *)__ZNK18GiantBearsGameMode11IsCompletedEv,(void**)&orig__ZNK18GiantBearsGameMode11IsCompletedEv);

MSHookFunction(((void*)MSFindSymbol(NULL,"__ZNK21SodaToTheBrimGameMode11IsCompletedEv")),(void *)__ZNK21SodaToTheBrimGameMode11IsCompletedEv,(void**)&__ZNK21SodaToTheBrimGameMode11IsCompletedEv);

}

 

%ctor {

gold ();

writeData(0x1CBFC0, 0x381C7047); /*Gold*/

writeData(0x1CBFBC, 0x381C7047); /*Gold*/

}

thats it im just trying to make a hack for my gf xD lol

Posted

Try this...

 

 

#import <CoreFoundation/CoreFoundation.h>
#import <substrate.h>
#import <Foundation/Foundation.h>

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

inline bool GetPrefBool(NSString *key)

{

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

}

int (*orig__ZN5Juego12CLifeManager8GetLivesEv)(int *self, int il);

int $__ZN5Juego12CLifeManager8GetLivesEv(int *self, int il) {
if(GetPrefBool(@"kgetLives"))
{
return 99;
}
else
{
return
orig__ZN5Juego12CLifeManager8GetLivesEv(self,il);
}
}

 

 

__attribute__((constructor)) void DylibMain()
{

MSHookFunction(((int*)MSFindSymbol(NULL, "__ZN5Juego12CLifeManager8GetLivesEv")),(int*)$__ZN5Juego12CLifeManager8GetLivesEv,(int**)&orig__ZN5Juego12CLifeManager8GetLivesEv);

}

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

    • Attack and Defense TD v2.2.2 [ +12 Cheats ] Auto Win
      Modded/Hacked App: Attack and Defense TD By HONGKONG FANGQU NETWORK CO., LIMITED
      Bundle ID: com.fanqu.b6
      App Store Link: https://apps.apple.com/us/app/attack-and-defense-td/id6746465771?uo=4
       

      🤩 Hack Features

      - Diamond Card Active [ ViP ]

      - Ad Card Active

      - Diamond [ Max 10000 Earn With Battle Chest Cost ]

      - Avatar Unlocked

      - Frame unlocked

      - Battle Chest ADS Max [ Easy To Unlock ]

      - Daily Bundle [ Claim Unlimited Free Only ]

      - Weekly Bundle [ Claim Unlimited Free Only ]

      - Monthly Bundle [ Claim Unlimited Free Only ]

      - Golden Silver Premium Keys [ Easy To Get With Bundle ]

      - Attack [ Linked ] Auto Win Both Of Use

      - Auto Win
      • 1 reply
    • Attack and Defense TD v2.2.2 [ +12 Jailed ] Auto Win
      Modded/Hacked App: Attack and Defense TD By HONGKONG FANGQU NETWORK CO., LIMITED
      Bundle ID: com.fanqu.b6
      App Store Link: https://apps.apple.com/us/app/attack-and-defense-td/id6746465771?uo=4
       

      🤩 Hack Features

      - Diamond Card Active [ ViP ]

      - Ad Card Active

      - Diamond [ Max 10000 Earn With Battle Chest Cost ]

      - Avatar Unlocked

      - Frame unlocked

      - Battle Chest ADS Max [ Easy To Unlock ]

      - Daily Bundle [ Claim Unlimited Free Only ]

      - Weekly Bundle [ Claim Unlimited Free Only ]

      - Monthly Bundle [ Claim Unlimited Free Only ]

      - Golden Silver Premium Keys [ Easy To Get With Bundle ]

      - Attack [ Linked ] Auto Win Both Of Use

      - Auto Win
      • 0 replies
    • Grand Tour : Classic RPG v1.1.6 +4 Jailed Cheats [ Damage & Defence ]
      Modded/Hacked App: Grand Tour : Classic RPG By PLUMERIA Inc.
      Bundle ID: com.plumeriagames.msr
      iTunes Store Link: https://apps.apple.com/us/app/grand-tour-classic-rpg/id6499002136?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:
      - Damage Multiplier
      - Defence Multiplier
      - Unlimited Gold -> Will increase instead of decrease.
      - Unlimited Gems -> Will increase instead of decrease.


      Jailbreak required hack(s): [Mod Menu Hack] Grand Tour : Classic RPG v1.0.0 +4 Cheats [ Damage & Defence ] - 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/
      • 32 replies
    • Grand Tour : Classic RPG v1.1.6 +4 Cheats [ Damage & Defence ]
      Modded/Hacked App: Grand Tour : Classic RPG By PLUMERIA Inc.
      Bundle ID: com.plumeriagames.msr
      iTunes Store Link: https://apps.apple.com/us/app/grand-tour-classic-rpg/id6499002136?uo=4


      Hack Features:
      - Damage Multiplier
      - Defence Multiplier
      - Unlimited Gold -> Will increase instead of decrease.
      - Unlimited Gems -> Will increase instead of decrease.


      Non-Jailbroken & No Jailbreak required hack(s): [Non-Jailbroken Hack] Grand Tour : Classic RPG v1.0.0 +4 Jailed Cheats [ God / O-HK ] - Free Non-Jailbroken IPA 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/
      • 45 replies
    • Monster Hunter Puzzles v2.18.00 +7 Jailed Cheats [ Unlimited Currencies ]
      Modded/Hacked App: Monster Hunter Puzzles By CAPCOM Co., Ltd
      Bundle ID: jp.co.capcom.mhpuzzle
      iTunes Store Link: https://apps.apple.com/us/app/monster-hunter-puzzles/id1591864714?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 Acorns -> Earn or spend some.
      - Unlimited Gems -> Earn or spend some.
      - Unlimited Tickets -> Earn or spend some.
      - Unlimited Lives -> Will not decrease.
      - Unlimited Boosters -> Will not decrease.
      - Unlimited Moves -> Will not decrease.
      - Auto Win


      Jailbreak required hack(s): [Mod Menu Hack] Monster Hunter Puzzles v2.01.02 +7 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/
      • 53 replies
    • Monster Hunter Puzzles v2.18.00 +7 Cheats [ Unlimited Currencies ]
      Modded/Hacked App: Monster Hunter Puzzles By CAPCOM Co., Ltd
      Bundle ID: jp.co.capcom.mhpuzzle
      iTunes Store Link: https://apps.apple.com/us/app/monster-hunter-puzzles/id1591864714?uo=4


      Hack Features:
      - Unlimited Acorns -> Earn or spend some.
      - Unlimited Gems -> Earn or spend some.
      - Unlimited Tickets -> Earn or spend some.
      - Unlimited Lives -> Will not decrease.
      - Unlimited Boosters -> Will not decrease.
      - Unlimited Moves -> Will not decrease.
      - Auto Win


      Non-Jailbroken & No Jailbreak required hack(s): [Non-Jailbroken Hack] Monster Hunter Puzzles v2.01.02 +5 Jailed Cheats [ Unlimited Currencies ] - Free Non-Jailbroken IPA 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/
      • 33 replies
    • Idle Outpost: Business Game v1.21.17 +6 Jailed Cheats [ Unlimited Currencies ]
      Modded/Hacked App: Idle Outpost: Business Game By AppQuantum Publishing Ltd
      Bundle ID: com.rockbite.zombieoutpost
      App Store Link: https://apps.apple.com/us/app/idle-outpost-business-game/id6463128982?uo=4

       
       

      🤩 Hack Features

      - Freeze Coins
      - Freeze Gems
      - Cheap Upgrades

      VIP
      - 10k Gems -> Spend some.
      - Unlimited Gems -> Spend some.
      - Free Shopping -> Currencies will go negative.
        • Like
      • 121 replies
    • Amikin Village: Magic Sim RPG v1.0.4 +5 Jailed Cheats [ Damage + More ]
      Modded/Hacked App: Amikin Village: Magic Sim RPG By HELIO LTD
      Bundle ID: com.heliogames.amikin.survival
      App Store Link: https://apps.apple.com/us/app/amikin-village-magic-sim-rpg/id6478102304?uo=4

       


      🤩 Hack Features

      - Damage Multiplier
      - God Mode
      - Speed Multiplier
      - Unlimited Weapon Durability
      - Split Hack
      • 319 replies
    • Amikin Village: Magic Sim RPG v1.0.4 +5 Cheats [ Damage + More ]
      Modded/Hacked App: Amikin Village: Magic Sim RPG By HELIO LTD
      Bundle ID: com.heliogames.amikin.survival
      App Store Link: https://apps.apple.com/us/app/amikin-village-magic-sim-rpg/id6478102304?uo=4

       
       

      🤩 Hack Features

      - Damage Multiplier
      - God Mode
      - Speed Multiplier
      - Unlimited Weapon Durability
      - Split Hack
      • 106 replies
    • Idle Outpost: Business Game v1.21.17 +6 Cheats [ Unlimited Currencies ]
      Modded/Hacked App: Idle Outpost: Business Game By AppQuantum Publishing Ltd
      Bundle ID: com.rockbite.zombieoutpost
      App Store Link: https://apps.apple.com/us/app/idle-outpost-business-game/id6463128982?uo=4

       
       

      🤩 Hack Features

      - Freeze Coins
      - Freeze Gems
      - Cheap Upgrades

      VIP
      - 10k Gems -> Spend some.
      - Unlimited Gems -> Spend some.
      - Free Shopping -> Currencies will go negative.
        • Like
      • 112 replies
    • Idle Zombie Miner: Gold Tycoon v2.240.1870 +1++ Jailed Cheat [ Currencies ]
      Modded/Hacked App: Idle Zombie Miner: Gold Tycoon By VISTREX LIMITED
      Bundle ID: com.zombie.idleminertycoon
      iTunes Store Link: https://apps.apple.com/us/app/idle-zombie-miner-gold-tycoon/id6471983323?uo=4


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


      Jailbreak required hack(s): [Mod Menu Hack] Idle Zombie Miner: Gold Tycoon v2.53.1001 +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/
        • Like
      • 97 replies
    • Idle Zombie Miner: Gold Tycoon v2.240.1870 +1++ Cheat [ Currencies ]
      Modded/Hacked App: Idle Zombie Miner: Gold Tycoon By VISTREX LIMITED
      Bundle ID: com.zombie.idleminertycoon
      iTunes Store Link: https://apps.apple.com/us/app/idle-zombie-miner-gold-tycoon/id6471983323?uo=4


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


      Non-Jailbroken & No Jailbreak required hack(s): [Non-Jailbroken Hack] Idle Zombie Miner: Gold Tycoon v2.53.1001 +1++ Jailed Cheat [ Unlimited Currencies ] - Free Non-Jailbroken IPA 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/
      • 68 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