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

    • Tower of God: NEW WORLD Cheats v3.01.01 +4
      Modded/Hacked App: Tower of God: NEW WORLD By Netmarble Corporation
      Bundle ID: com.netmarble.tog
      iTunes Store Link: https://apps.apple.com/us/app/tower-of-god-new-world/id1599435437?uo=4


      Hack Features:
      - Multiply Attack
      - Multiply Defense
      - Always Critical
      - Skip Battle Intro


      Non-Jailbroken & No Jailbreak required hack(s): 
       

      iOS Hack Download Link: https://iosgods.com/topic/186202-tower-of-god-new-world-cheats-v20101-4/
      • 110 replies
    • Go Go Wolf! Cheats v7.0 +4
      Modded/Hacked App: Go Go Wolf! By MONSTER PLANET Corp.
      Bundle ID: com.MonsterPlanet.WolfGame
      App Store Link: https://apps.apple.com/us/app/go-go-wolf/id6572283560?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

      - God Mode
      - Multiply Attack
      - Instant Skills
      - Freeze Currencies

       

      Non-Jailbroken Hack: https://iosgods.com/topic/198033-go-go-wolf-v52-jailed-cheats-4/

       

      ⬇️ iOS Hack Download Link: https://iosgods.com/topic/198032-go-go-wolf-cheats-v52-4/
      • 28 replies
    • The Seven Deadly Sins: Idle Cheats v1.18.0 +4
      Modded/Hacked App: The Seven Deadly Sins: Idle By Netmarble Corporation
      Bundle ID: com.netmarble.nanarise
      iTunes Store Link: https://apps.apple.com/us/app/the-seven-deadly-sins-idle/id6469305531?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

      - Multiply Attack
      - Multiply Defense
      - Modify Range
      - No Ads


      DO NOT BUY VIP FOR THIS CHEAT

      ONLY WORK in PvE so you can farm faster

      Non-Jailbroken Hack: https://iosgods.com/topic/185162-the-seven-deadly-sins-idle-v1120-jailed-cheats-3/

      ⬇️ iOS Hack Download Link: https://iosgods.com/topic/185131-the-seven-deadly-sins-idle-cheats-v1120-4/
      • 159 replies
    • Monster Legends: Collect all Cheats v18.1.3 +8
      Modded/Hacked App: Monster Legends: Merge RPG By Socialpoint
      Bundle ID: es.socialpoint.MonsterCity
      iTunes Store Link: https://apps.apple.com/us/app/monster-legends-merge-rpg/id653508448?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

      - 1 Hit Kill
      - Skip Enemy Turn
      - Multiply Attack
      - Multiply Defense
      - Insane Score (Always 3 Stars)
      - No Skill Cost
      - Auto Win
      - Auto Play Battle Enabled for All Maps


      🍏 For Non-Jailbroken & No Jailbreak required hacks: https://iosgods.com/topic/140543-monster-legends-collect-all-v1778-5-cheats-for-jailed-idevices/

       

      ⬇️ iOS Hack Download Link: https://iosgods.com/topic/176914-monster-legends-collect-all-cheats-v1779-8/
      • 356 replies
    • Shadow Fight 3 Cheats v1.42.1 +5
      Modded/Hacked App: Shadow Fight 3 - RPG Fighting By Nekki Limited
      Bundle ID: com.nekki.shadowfight3
      iTunes Store Link: https://apps.apple.com/us/app/shadow-fight-3-rpg-fighting/id964827011?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

      - Freeze Enemy
      - Freeze Battle Time

      ViP Features:
      - God Mode
      - High Damage
      - Always in Special Mode

       

      Non-Jailbroken Hack: https://iosgods.com/topic/73264-shadow-fight-3-v1402-jailed-cheats-4/

       

      ⬇️ iOS Hack Download Link: https://iosgods.com/topic/81752-shadow-fight-3-cheats-v1405-4/
      • 3,813 replies
    • Cooking Diary Restaurant Game v2.43.0 Jailed Cheats +3
      Modded/Hacked App: Cooking Diary® Restaurant Game by MyTona Pte Ltd
      Bundle ID: com.mytonallc.cookingdiary
      iTunes Store Link: https://apps.apple.com/us/app/cooking-diary-restaurant-game/id1214763610?uo=4&at=1010lce4


      Hack Features:
      - Infinite Currencies (Get some)
      - Freeze Boosters


      iOS Hack Download Link: https://iosgods.com/topic/110310-arm64-cooking-diary-restaurant-game-v1160-3/
        • Agree
      • 691 replies
    • Summoners War Cheats v8.8.1 +7
      Hacked App: Summoners War By Com2uS Corp.
      iTunes Link: https://itunes.apple.com/us/app/summoners-war/id852912420?mt=8&uo=4&at=1010lce4
      Bundle ID: com.com2us.smon.normal.freefull.apple.kr.ios.universal

      Hack Features:
      - Damage Multiplier 
      - Godmode
      - Monster Count Unlink
      - Max Accuracy
      - No Skill Cooldown
      - First Turn
      - Build buildings without having required level
      - Antiban
      • 6,890 replies
    • Jewel Manor - Home Design Game v3.2.0 [ +3 Cheats ] Currency Max
      Modded/Hacked App: Jewel Manor - Home Design By Hangzhou Mengku Technology Co., Ltd.
      Bundle ID: com.bigcool.puzzle.jewel
      App Store Link: https://apps.apple.com/us/app/jewel-manor-home-design/id1602231440?uo=4

       
      🤩 Hack Features

      - Coins [ Linked With Moves Disable After Hack ] Don't Use [ Moves Freeze ] After Hack [ Moves Freeze ] Use
      - Moves Freeze
      - Booster Freeze
      • 1 reply
    • Jewel Manor - Home Design Game v3.2.0 [ +3 Jailed ] Currency Max
      Modded/Hacked App: Jewel Manor - Home Design By Hangzhou Mengku Technology Co., Ltd.
      Bundle ID: com.bigcool.puzzle.jewel
      App Store Link: https://apps.apple.com/us/app/jewel-manor-home-design/id1602231440?uo=4


      🤩 Hack Features

      - Coins [ Linked With Moves Disable After Hack ] Don't Use [ Moves Freeze ] After Hack [ Moves Freeze ] Use
      - Moves Freeze
      - Booster Freeze
      • 1 reply
    • Elysia: The Astral Fall v1.0.2 +4 Jailed Cheats [ Damage & Defence ]
      Modded/Hacked App: Elysia: The Astral Fall By Panthera Joint Stock Company
      Bundle ID: com.pantheraplay.projecth
      App Store Link: https://apps.apple.com/us/app/elysia-the-astral-fall/id6737166302?uo=4

       


      🤩 Hack Features

      - Damage Multiplier
      - Defence Multiplier
      - God Mode
      - Unlimited Currencies -> Will increase instead of decrease.
      • 9 replies
    • Elysia: The Astral Fall v1.0.2 +4 Cheats [ Damage & Defence ]
      Modded/Hacked App: Elysia: The Astral Fall By Panthera Joint Stock Company
      Bundle ID: com.pantheraplay.projecth
      App Store Link: https://apps.apple.com/us/app/elysia-the-astral-fall/id6737166302?uo=4

       


      🤩 Hack Features

      - Damage Multiplier
      - Defence Multiplier
      - God Mode
      - Unlimited Currencies -> Will increase instead of decrease.
      • 5 replies
    • Crunchyroll: Two Strikes v1.0.1 +2 Jailed Cheats [ Unlocked ]
      Modded/Hacked App: Crunchyroll: Two Strikes By Crunchyroll, LLC
      Bundle ID: com.crunchyroll.gv.twostrikes
      App Store Link: https://apps.apple.com/us/app/crunchyroll-two-strikes/id6742846993?uo=4

       


      🤩 Hack Features

      - God Mode *Online Untested*
      -- Full Game Unlocked
      • 3 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