Jump to content

12 posts in this topic

Recommended Posts

Posted (edited)

yo guys i just tried to Compile my hack and i got those errors :(

 

jFAGZP7.png

 

http://prntscr.com/62uje1

 

here is the tweak.xm

Hidden Content

    /*
    ---------------------------------------------------
    ---------------------Soda Saga---------------------
    ------Generated by Lawivido | Tweak Generator------
    ---------------------------------------------------
    */
     
    #include <substrate.h>
    #define LawStructor __attribute__((constructor)) static void Constructor()
     
    #define settings @"/var/mobile/Library/Preferences/SodaSaga.plist"
     
    inline bool GetPrefBool(NSString *key) {
        return [[[NSDictionary dictionaryWithContentsOfFile:settings] valueForKey:key] boolValue];
    }
     
    int(*old___ZNK10Plataforma28AppVirtualCurrencyBalanceDto15GetHardCurrencyEv)(void );
    int(*old___ZN5Juego12CLifeManager8GetLivesEv)(void );
    int(*old___ZNK5Juego13AppBoosterDto9GetAmountEv)(void );
    bool(*old___ZN13CProgressUtil15IsLevelUnlockedEiPK19CStritzLevelManager)(void );
    bool(*old___ZN13CProgressUtil17IsEpisodeUnlockedEiPK15CEpisodeManagerPK19CStritzLevelManager)(void );
    int(*old___ZN22CStritzGameModeHudView23SetNumberOfInitialMovesEi)(void );
    bool(*old___ZNK17BubbleGumGameMode11IsCompletedEv)(void );
    bool(*old___ZNK25CChocolateNemesisGameMode11IsCompletedEv)(void );
    bool(*old___ZNK17CFloatingNutsMode11IsCompletedEv)(void );
    bool(*old___ZNK18GiantBearsGameMode11IsCompletedEv)(void );
    bool(*old___ZNK13HoneyGameMode11IsCompletedEv)(void );
    int(*old___ZN18SpawnCandyColorMap11GetColorMapEv)(void );
    int(*old___ZNK15CScoreMergeArea8GetScoreEv)(void );
    int(*old___ZNK5Juego15AppStarLevelDto8GetScoreEv)(void );
    int(*old___ZN11CScoreMeter15SetScoreTargetsERK6CArrayIiE)(void );
    int(*old___ZN23StritzCandyColorSpawner12GetItemColorERKN8Switcher8TileDataE)(void );
     
    int __ZNK10Plataforma28AppVirtualCurrencyBalanceDto15GetHardCurrencyEv(void ) {
        if(GetPrefBool(@"k1")) {
     return 24356875;
        } else {
            old___ZNK10Plataforma28AppVirtualCurrencyBalanceDto15GetHardCurrencyEv();
        }
    }
     
    int __ZN5Juego12CLifeManager8GetLivesEv(void ) {
        if(GetPrefBool(@"k2")) {
     return 24686345;
        } else {
            old___ZN5Juego12CLifeManager8GetLivesEv();
        }
    }
     
    int __ZNK5Juego13AppBoosterDto9GetAmountEv(void ) {
        if(GetPrefBool(@"k3")) {
     return 24675743;
        } else {
            old___ZNK5Juego13AppBoosterDto9GetAmountEv();
        }
    }
     
    bool __ZN13CProgressUtil15IsLevelUnlockedEiPK19CStritzLevelManager(void ) {
        if(GetPrefBool(@"k4")) {
     return true;
        } else {
            old___ZN13CProgressUtil15IsLevelUnlockedEiPK19CStritzLevelManager();
        }
    }
     
    bool __ZN13CProgressUtil17IsEpisodeUnlockedEiPK15CEpisodeManagerPK19CStritzLevelManager(void ) {
        if(GetPrefBool(@"k5")) {
     return true;
        } else {
            old___ZN13CProgressUtil17IsEpisodeUnlockedEiPK15CEpisodeManagerPK19CStritzLevelManager();
        }
    }
     
    int (*orig____ZN22CStritzGameModeHudView23SetNumberOfInitialMovesEi)();
     
    int (__ZN22CStritzGameModeHudView23SetNumberOfInitialMovesEi)() 
    {
      if(GetPrefBool(@"k6"))
      {
            int newVal = GetPrefBool(@"kSlider1");
            return newVal;
      }
      return orig____ZN22CStritzGameModeHudView23SetNumberOfInitialMovesEi();
    }
     
    bool __ZNK17BubbleGumGameMode11IsCompletedEv(void ) {
        if(GetPrefBool(@"k7")) {
     return true;
        } else {
            old___ZNK17BubbleGumGameMode11IsCompletedEv();
        }
    }
     
    bool __ZNK25CChocolateNemesisGameMode11IsCompletedEv(void ) {
        if(GetPrefBool(@"k7")) {
     return true;
        } else {
            old___ZNK25CChocolateNemesisGameMode11IsCompletedEv();
        }
    }
     
    bool __ZNK17CFloatingNutsMode11IsCompletedEv(void ) {
        if(GetPrefBool(@"k7")) {
     return true;
        } else {
            old___ZNK17CFloatingNutsMode11IsCompletedEv();
        }
    }
     
    bool __ZNK18GiantBearsGameMode11IsCompletedEv(void ) {
        if(GetPrefBool(@"k7")) {
     return true;
        } else {
            old___ZNK18GiantBearsGameMode11IsCompletedEv();
        }
    }
     
    bool __ZNK13HoneyGameMode11IsCompletedEv(void ) {
        if(GetPrefBool(@"k7")) {
     return true;
        } else {
            old___ZNK13HoneyGameMode11IsCompletedEv();
        }
    }
     
    int(*old___ZNK5Juego15AppStarLevelDto8GetStarsEv)(void );
     
    int __ZNK5Juego15AppStarLevelDto8GetStarsEv(void ) {
        if(GetPrefBool(@"k8")) {
     return 3;
        } else {
            old___ZNK5Juego15AppStarLevelDto8GetStarsEv();
        }
    }
     
    void (*orig__ZN18SpawnCandyColorMap11GetColorMapEv)();
     
    void (__ZN18SpawnCandyColorMap11GetColorMapEv)() 
    {
      if(GetPrefBool(@"k9"))
      {
            int newVal = GetPrefBool(@"kSlider2");
            return newVal;
      }
      return orig__ZN18SpawnCandyColorMap11GetColorMapEv();
    }
     
    void (*orig__ZN23StritzCandyColorSpawner12GetItemColorERKN8Switcher8TileDataE)();
     
    void (__ZN23StritzCandyColorSpawner12GetItemColorERKN8Switcher8TileDataE)() 
    {
      if(GetPrefBool(@"k9"))
      {
            ain't newVal = GetPrefBool(@"kSlider2");
            return newVal;
      }
      return orig__ZN23StritzCandyColorSpawner12GetItemColorERKN8Switcher8TileDataE();
    }
     
    void (*orig__ZNK15CScoreMergeArea8GetScoreEv)();
     
    void (__ZNK15CScoreMergeArea8GetScoreEv)() 
    {
      if(GetPrefBool(@"k10"))
      {
            int newVal = GetPrefBool(@"kSlider3");
            return newVal;
      }
      return orig__ZNK15CScoreMergeArea8GetScoreEv();
    }
     
    void (*orig__ZNK5Juego15AppStarLevelDto8GetScoreEv)();
     
    void (__ZNK5Juego15AppStarLevelDto8GetScoreEv)() 
    {
      if(GetPrefBool(@"k10"))
      {
            int newVal = GetPrefBool(@"kSlider3");
            return newVal;
      }
      return orig__ZNK5Juego15AppStarLevelDto8GetScoreEv();
    }
     
    void (*orig__ZN11CScoreMeter15SetScoreTargetsERK6CArrayIiE)();
     
    void (__ZN11CScoreMeter15SetScoreTargetsERK6CArrayIiE)() 
    {
      if(GetPrefBool(@"k11"))
      {
            int newVal = GetPrefBool(@"kSlider4");
            return newVal;
      }
      return orig__ZN11CScoreMeter15SetScoreTargetsERK6CArrayIiE();
    }
     
     
    LawStructor {
     
        MSHookFunction((MSFindSymbol(NULL,"__ZNK10Plataforma28AppVirtualCurrencyBalanceDto15GetHardCurrencyEv")),(int *)__ZNK10Plataforma28AppVirtualCurrencyBalanceDto15GetHardCurrencyEv,(void**)&old___ZNK10Plataforma28AppVirtualCurrencyBalanceDto15GetHardCurrencyEv);
        MSHookFunction((MSFindSymbol(NULL,"__ZN5Juego12CLifeManager8GetLivesEv")),(int *)__ZN5Juego12CLifeManager8GetLivesEv,(void**)&old___ZN5Juego12CLifeManager8GetLivesEv);
        MSHookFunction((MSFindSymbol(NULL,"__ZNK5Juego13AppBoosterDto9GetAmountEv")),(int *)__ZNK5Juego13AppBoosterDto9GetAmountEv,(void**)&old___ZNK5Juego13AppBoosterDto9GetAmountEv);
        MSHookFunction((MSFindSymbol(NULL,"__ZN13CProgressUtil15IsLevelUnlockedEiPK19CStritzLevelManager")),(bool *)__ZN13CProgressUtil15IsLevelUnlockedEiPK19CStritzLevelManager,(void**)&old___ZN13CProgressUtil15IsLevelUnlockedEiPK19CStritzLevelManager);
        MSHookFunction((MSFindSymbol(NULL,"__ZN13CProgressUtil17IsEpisodeUnlockedEiPK15CEpisodeManagerPK19CStritzLevelManager")),(bool *)__ZN13CProgressUtil17IsEpisodeUnlockedEiPK15CEpisodeManagerPK19CStritzLevelManager,(void**)&old___ZN13CProgressUtil17IsEpisodeUnlockedEiPK15CEpisodeManagerPK19CStritzLevelManager);
        MSHookFunction((MSFindSymbol(NULL,"__ZN22CStritzGameModeHudView23SetNumberOfInitialMovesEi")),(int *)__ZN22CStritzGameModeHudView23SetNumberOfInitialMovesEi,(void**)&old___ZN22CStritzGameModeHudView23SetNumberOfInitialMovesEi);
        MSHookFunction((MSFindSymbol(NULL,"__ZNK17BubbleGumGameMode11IsCompletedEv")),(bool *)__ZNK17BubbleGumGameMode11IsCompletedEv,(void**)&old___ZNK17BubbleGumGameMode11IsCompletedEv);
        MSHookFunction((MSFindSymbol(NULL,"__ZNK25CChocolateNemesisGameMode11IsCompletedEv")),(bool *)__ZNK25CChocolateNemesisGameMode11IsCompletedEv,(void**)&old___ZNK25CChocolateNemesisGameMode11IsCompletedEv);
        MSHookFunction((MSFindSymbol(NULL,"__ZNK17CFloatingNutsMode11IsCompletedEv")),(bool *)__ZNK17CFloatingNutsMode11IsCompletedEv,(void**)&old___ZNK17CFloatingNutsMode11IsCompletedEv);
        MSHookFunction((MSFindSymbol(NULL,"__ZNK18GiantBearsGameMode11IsCompletedEv")),(bool *)__ZNK18GiantBearsGameMode11IsCompletedEv,(void**)&old___ZNK18GiantBearsGameMode11IsCompletedEv);
        MSHookFunction((MSFindSymbol(NULL,"__ZNK13HoneyGameMode11IsCompletedEv")),(bool *)__ZNK13HoneyGameMode11IsCompletedEv,(void**)&old___ZNK13HoneyGameMode11IsCompletedEv);
        MSHookFunction((MSFindSymbol(NULL,"__ZNK5Juego15AppStarLevelDto8GetStarsEv")),(int *)__ZNK5Juego15AppStarLevelDto8GetStarsEv,(void**)&old___ZNK5Juego15AppStarLevelDto8GetStarsEv);
        MSHookFunction((MSFindSymbol(NULL,"__ZN18SpawnCandyColorMap11GetColorMapEv")),(int *)__ZN18SpawnCandyColorMap11GetColorMapEv,(void**)&old___ZN18SpawnCandyColorMap11GetColorMapEv);
        MSHookFunction((MSFindSymbol(NULL,"__ZNK15CScoreMergeArea8GetScoreEv")),(int *)__ZNK15CScoreMergeArea8GetScoreEv,(void**)&old___ZNK15CScoreMergeArea8GetScoreEv);
        MSHookFunction((MSFindSymbol(NULL,"__ZNK5Juego15AppStarLevelDto8GetScoreEv")),(int *)__ZNK5Juego15AppStarLevelDto8GetScoreEv,(void**)&old___ZNK5Juego15AppStarLevelDto8GetScoreEv);
        MSHookFunction((MSFindSymbol(NULL,"__ZN11CScoreMeter15SetScoreTargetsERK6CArrayIiE")),(int *)__ZN11CScoreMeter15SetScoreTargetsERK6CArrayIiE,(void**)&old___ZN11CScoreMeter15SetScoreTargetsERK6CArrayIiE);
        MSHookFunction((MSFindSymbol(NULL,"__ZN23StritzCandyColorSpawner12GetItemColorERKN8Switcher8TileDataE")),(int *)__ZN23StritzCandyColorSpawner12GetItemColorERKN8Switcher8TileDataE,(void**)&old___ZN23StritzCandyColorSpawner12GetItemColorERKN8Switcher8TileDataE);
     
    }
    
Updated by PHo3niX
Posted

bcos someone could steal the code -_-

They can steal it anyways by replying to the topic...

Do things manually, no generator :3

Posted (edited)

You forgot do do the

return old_someFunction
part in case you want to do a patcher.

 

orig_blaBla doesn't work :facepalm:

Updated by castix

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

    • Ant Colony: Wild Forest Game v7.1.3 +2 Jailed Cheats [ Unlimited Sugar ]
      Modded/Hacked App: Ant Colony: Wild Forest Game By HYPERCELL SIA
      Bundle ID: com.PIXELCELLS.AntColony2
      iTunes Store Link: https://apps.apple.com/us/app/ant-colony-wild-forest-game/id6479996118?uo=4

       


      🤩 Hack Features

      - Unlimited Sugar -> Earn some.
      -- Premium Enabled
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 29 replies
    • Fable Town: Merge Games v1.29.1 +1++ Jailed Cheat [ Unlimited Currencies ]
      Modded/Hacked App: Fable Town: Merge Games By REEF GAMES LTD
      Bundle ID: com.reefgames.fabletown
      iTunes Store Link: https://apps.apple.com/us/app/fable-town-merge-games/id6478150057?uo=4


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


      Jailbreak required hack(s): [Mod Menu Hack] Fable Town: Merge Games v1.6.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/
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 27 replies
    • Business Empire: RichMan v1.25.02 +2 Jailed Cheats [ Unlimited Money ]
      Modded/Hacked App: Business Empire: RichMan By NewPubCo, Inc
      Bundle ID: com.xentech.empire
      iTunes Store Link: https://apps.apple.com/us/app/business-empire-richman/id6451208928?uo=4


      Hack Features:
      - Unlimited Money -> Will increase instead of decrease.
      - No Ads


      Jailbreak required hack(s): [Mod Menu Hack] Business Empire: RichMan v1.12.12 +2 Cheats [ Unlimited Money ] - 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/
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 246 replies
    • Family Life! v1.51.7 +3++ Jailed Cheats [ Cheat Menu ]
      Modded/Hacked App: Family Life! By SUPERSONIC STUDIOS LTD
      Bundle ID: com.xia.familylife
      iTunes Store Link: https://apps.apple.com/us/app/family-life/id6449919224?uo=4


      Hack Features:
      - Cheat Menu -> Head over to Settings and toggle the Privacy button.
      -- Life Pass Purchased
      -- No Ads


      Jailbreak required hack(s): [Mod Menu Hack] Family Life! v1.0.32 +2++ Cheats [ Cheat Menu ] - 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/
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 289 replies
    • Smoq Games 26 v1.80 +1 Jailed Cheat [ Unlimited Coins ]
      Modded/Hacked App: Smoq Games 26 By Edyta Smoktunowicz
      Bundle ID: com.fivedragonsgames.smoqgames26
      iTunes Store Link: https://apps.apple.com/us/app/smoq-games-26/id6751264404

       
       

      🤩 Hack Features

      - Unlimited Coins -> Earn some.
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 26 replies
    • Goal Battle - Soccer Games v4.705 +2 Jailed Cheats [ Dumb Opponents ]
      Modded/Hacked App: Goal Battle - Soccer Games By Mage Oyun Teknolojileri Anonim Sirketi
      Bundle ID: com.mage.goalbattle
      App Store Link: https://apps.apple.com/us/app/goal-battle-soccer-games/id6477293095?uo=4

       
       

      🤩 Hack Features

      - Dumb Opponents
      - All Avatars Unlocked
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 6 replies
    • Blood Kiss: Vampire Romance v1.24.0 +1 Jailed Cheat [ Free Premium Choices ]
      Modded/Hacked App: Blood Kiss: Vampire Romance By Storytaco.inc
      Bundle ID: com.storytaco.bloodkiss.dangerous.ikemen.otome.story
      iTunes Store Link: https://apps.apple.com/us/app/bloodkiss-vampire-romance/id1541117815?uo=4


      Hack Features:
      - Free Premium Choices


      Jailbreak required hack(s): [Mod Menu Hack] Blood Kiss: Vampire Romance v1.22.3 +1 Cheat [ Free Premium Choices ] - 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/
        • Informative
        • Agree
        • Thanks
        • Like
      • 13 replies
    • Linda Brown: Interactive Story v4.0.22 +3 Jailed Cheats [ Unlock All ]
      Modded/Hacked App: Linda Brown: Interactive Story By Gameloft
      Bundle ID: com.otherguys.lindab
      iTunes Store Link: https://apps.apple.com/us/app/linda-brown-interactive-story/id1174041307
       

      Hack Features:
      - Free Premium Choices
      - All Episodes Unlocked
      - All Seasons Unlocked


      Jailbreak required hack(s): [Mod Menu Hack] Linda Brown: Interactive Story v4.0.2 +3 Cheats [ Unlock All ] - 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/
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 52 replies
    • Slots Era - Slot Machines 777 v2.65.0 +100++ Jailed Cheats [ ULTIMATE HACK ]
      Modded/Hacked App: Slots Era - Slot Machines 777 By Murka Games Limited
      Bundle ID: com.murka.slotsera
      iTunes Store Link: https://apps.apple.com/us/app/slots-era-slot-machines-777/id1133138987
       

      Hack Features:
      - Debug Menu -> Head over to Settings and toggle the Privacy Policy button.


      Jailbreak required hack(s): https://iosgods.com/topic/172023-slots-era-slot-machines-777-v2200-100-cheat-srdebugger/
      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
      • 193 replies
    • Cash Masters: Billionaire Life v1.12.1 +2 Jailed Cheats [ Unlimited Cash ]
      Modded/Hacked App: Cash Masters: Billionaire Life By USPEX ARASTIRMA GELISTIRME YAZILIM BILGISAYAR SANAYI VE TICARET ANONIM SIRKETI
      Bundle ID: com.uspex.hts
      iTunes Store Link: https://apps.apple.com/us/app/cash-masters-billionaire-life/id1636818775
       

      Hack Features:
      - Unlimited Cash -> Will increase instead of decrease.
      - Free In-App Purchases


      Jailbreak required hack(s): [Mod Menu Hack] Cash Masters: Billionaire Life v1.0.0 +2 Cheats [ Unlimited Cash ] - 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/
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 81 replies
    • Wagle Squad v1.1.7 +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 
        • Agree
        • Winner
        • Like
      • 5 replies
    • God Breaker: Roguelike ARPG v1.1.4 +3 Jailed Cheats [ Damage + More ]
      Modded/Hacked App: God Breaker: Roguelike ARPG By GrowKing Inc.
      Bundle ID: com.growking.godslayer
      App Store Link: https://apps.apple.com/us/app/god-breaker-roguelike-arpg/id6746064502?uo=4

       

      🤩 Hack Features

      - Damage Multiplier 
      - God Mode
      - Speed Multiplier 
        • Informative
        • Like
      • 13 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