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

    • Brave Merge - Battle & Defense v1.6.11 [Currency Hack/Debug Menu +50 Options]
      Modded/Hacked App: Brave Merge - Battle & Defense By SayGames LTD
      Bundle ID: com.brave.merge
      iTunes Store Link: https://apps.apple.com/us/app/brave-merge-battle-defense/id6444832814?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:
      - Debug Menu (Open settings then click support button to open the Debug Menu)


      Jailbreak required hack(s): https://iosgods.com/forum/5-game-cheats-hack-requests/
      Modded Android APK(s): https://iosgods.com/forum/68-android-section/
      For more fun, check out the Club(s): https://iosgods.com/clubs/


        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 65 replies
    • Brave Merge - Battle & Defense v1.6.11 [Currency Hack/Debug Menu +50 Options]
      Modded/Hacked App: Brave Merge - Battle & Defense By SayGames LTD
      Bundle ID: com.brave.merge
      iTunes Store Link: https://apps.apple.com/us/app/brave-merge-battle-defense/id6444832814?uo=4


      Mod Requirements:
      - Jailbroken iPhone/iPad/iPod Touch.
      - iGameGod / Filza / iMazing or any other file managers for iOS.
      - Cydia Substrate, Substitute or libhooker depending on your jailbreak.
      - PreferenceLoader (from Cydia, Sileo or Zebra).


      Hack Features:
      - Debug Menu


      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/


        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 93 replies
    • Gear Clicker v8.7.7 +3 [Free Upgrades]
      Modded/Hacked App: Gear Clicker By Rollic Games Oyun Yazilim ve Pazarlama Anonim Sirketi
      Bundle ID: com.kb.gearclicker
      iTunes Store Link: https://apps.apple.com/us/app/gear-clicker/id6444687282?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:
      - No Popup Ads
      - Free Upgrades
      - Free Gears


      Jailbreak required hack(s): https://iosgods.com/forum/5-game-cheats-hack-requests/
      Modded Android APK(s): https://iosgods.com/forum/68-android-section/
      For more fun, check out the Club(s): https://iosgods.com/clubs/


        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 66 replies
    • Gear Clicker v8.7.7 +3 [Free Upgrades]
      Modded/Hacked App: Gear Clicker By Rollic Games Oyun Yazilim ve Pazarlama Anonim Sirketi
      Bundle ID: com.kb.gearclicker
      iTunes Store Link: https://apps.apple.com/us/app/gear-clicker/id6444687282?uo=4


      Mod Requirements:
      - Jailbroken iPhone/iPad/iPod Touch.
      - iGameGod / Filza / iMazing or any other file managers for iOS.
      - Cydia Substrate, Substitute or libhooker depending on your jailbreak.
      - PreferenceLoader (from Cydia, Sileo or Zebra).


      Hack Features:
      - No Popup Ads
      - Free Upgrades
      - Free Gears


      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/


        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 73 replies
    • Brick Out - Shoot the ball v25.1002.01 +5 Jailed Cheats [Currency Hack]
      Modded/Hacked App: Brick Out - Shoot the ball By Puzzle1Studio,inc.
      Bundle ID: com.puzzle1studio.ap.brickoutshoottheball
      iTunes Store Link: https://apps.apple.com/us/app/brick-out-shoot-the-ball/id1489900957?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:
      - No Ads
      - Free Revives


      Jailbreak required hack(s): https://iosgods.com/forum/5-game-cheats-hack-requests/
      Modded Android APK(s): https://iosgods.com/forum/68-android-section/
      For more fun, check out the Club(s): https://iosgods.com/clubs/


        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 118 replies
    • Brick Out - Shoot the ball v25.1002.01 +5 [Currency Hack]
      Modded/Hacked App: Brick Out - Shoot the ball By Puzzle1Studio,inc.
      Bundle ID: com.puzzle1studio.ap.brickoutshoottheball
      iTunes Store Link: https://apps.apple.com/us/app/brick-out-shoot-the-ball/id1489900957?uo=4


      Mod Requirements:
      - Jailbroken iPhone/iPad/iPod Touch.
      - iGameGod / Filza / iMazing or any other file managers for iOS.
      - Cydia Substrate, Substitute or libhooker depending on your jailbreak.
      - PreferenceLoader (from Cydia, Sileo or Zebra).


      Hack Features:
      - No Ads
      - Add 10000 Rubies
      - Free Revives


      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/


        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 120 replies
    • Hempire v2.42.7 +29 OP Jailed Cheats
      Modded/Hacked App: Hempire - Weed Growing Game By LBC Studios Inc.
      Bundle ID: ca.lbcstudios.hempire
      iTunes Store Link: https://apps.apple.com/us/app/hempire-weed-growing-game/id1139379843?uo=4



      Hack Features:
      - VIP Enabled<br style="background-color:#1e1f25;color:rgba(255,255,255,0.81);font-size:14px;">- Infinite Cash<br style="background-color:#1e1f25;color:rgba(255,255,255,0.81);font-size:14px;">- Infinite Diamonds<br style="background-color:#1e1f25;color:rgba(255,255,255,0.81);font-size:14px;">- Infinite Resources<br style="background-color:#1e1f25;color:rgba(255,255,255,0.81);font-size:14px;">- Buy Property (Any level)<br style="background-color:#1e1f25;color:rgba(255,255,255,0.81);font-size:14px;">- Infinite Storage

      Warning- if you don’t already have an account passed the tutorial you will freeze with the non jailbroken version. To get around this first download from the AppStore, then play the tutorial and then sign in/create a Facebook account to save progress. Re download this hack and your good to go


      Jailbreak required hack(s): 
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 332 replies
    • Hempire v2.42.7 +29 OP Cheats
      Modded/Hacked App: Hempire - Weed Growing Game By LBC Studios Inc.
      Bundle ID: ca.lbcstudios.hempire
      iTunes Store Link: https://apps.apple.com/us/app/hempire-weed-growing-game/id1139379843?uo=4


      Hack Features:
      - VIP Enabled
      - Infinite Cash
      - Infinite Diamonds
      - Infinite Resources
      - Buy Property (Any level)
      - Infinite Storage
      - Add 50 Items
      - Remove 50 Items (To complete quest if storage full)


      Non-Jailbroken & No Jailbreak required hack(s): 
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 291 replies
    • Medieval Merge v1.97.0 [Currency/SRDebug 99+ Options]
      Modded/Hacked App: Medieval Merge: Epic RPG Games By Pixodust Aplicativos LTDA
      Bundle ID: com.pixodust.games.free.rpg.medieval.merge.puzzle.empire
      iTunes Store Link: https://apps.apple.com/us/app/medieval-merge-epic-rpg-games/id1553126598?uo=4

      Hack Features:
      - SRDebugger 99+ Toggles
      Open IGMM first and enable "Open SRDebug" then open settings in game for the UI to popup  


      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/
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 184 replies
    • Pocket Land! v0.117.0 +3 Jailed Cheats [Currency Hack]
      Modded/Hacked App: Pocket Land! By GRAND-ATTIC LIMITED
      Bundle ID: gs.hadi.pocketisland
      iTunes Store Link: https://apps.apple.com/us/app/pocket-land/id6446137216?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:
      - Freeze Currency
      - Freeze Resources


      Jailbreak required hack(s): https://iosgods.com/forum/5-game-cheats-hack-requests/
      Modded Android APK(s): https://iosgods.com/forum/68-android-section/
      For more fun, check out the Club(s): https://iosgods.com/clubs/


        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 79 replies
    • Pocket Land! v0.117.0 +3 [Currency Hack]
      Modded/Hacked App: Pocket Land! By GRAND-ATTIC LIMITED
      Bundle ID: gs.hadi.pocketisland
      iTunes Store Link: https://apps.apple.com/us/app/pocket-land/id6446137216?uo=4


      Mod Requirements:
      - Jailbroken iPhone/iPad/iPod Touch.
      - iGameGod / Filza / iMazing or any other file managers for iOS.
      - Cydia Substrate, Substitute or libhooker depending on your jailbreak.
      - PreferenceLoader (from Cydia, Sileo or Zebra).


      Hack Features:
      - Freeze Currency
      - Freeze Resources
      - Upgrade without Resources (Dont Abuse)


      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/


        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 44 replies
    • Tap Away 3D v162.3.4 +12 Jailed Cheats [Infinite Moves]
      Modded/Hacked App: Tap Away 3D By Popcore GmbH
      Bundle ID: com.jctswbglsm.SwipeAway
      iTunes Store Link: https://apps.apple.com/us/app/tap-away-3d/id1568058543?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:
      - No Ads
      - Infinite Moves
      - Freeze Challenge Moves
      - Disable Timer for Challenge


      Jailbreak required hack(s): https://iosgods.com/forum/5-game-cheats-hack-requests/
      Modded Android APK(s): https://iosgods.com/forum/68-android-section/
      For more fun, check out the Club(s): https://iosgods.com/clubs/

        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 64 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