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

    • Zombie Fortress: Trap Defense v0.8.0 [+6 Jailed Cheats]
      Modded/Hacked App: Zombie Fortress: Trap Defense By SayGames LTD
      Bundle ID: com.nlabsoft.zombiecrusher.s
      App Store Link: https://apps.apple.com/us/app/zombie-fortress-trap-defense/id6747713523?uo=4



      🤩 Hack Features

      - Add Cash
      - Add Diamond
      - Add Energy
      - Add Parts
      - Never Die
      - Add Battle Gold (Enable inside battle)
        • Winner
      • 3 replies
    • Zombie Fortress: Trap Defense v0.8.0 [+6 Cheats]
      Modded/Hacked App: Zombie Fortress: Trap Defense By SayGames LTD
      Bundle ID: com.nlabsoft.zombiecrusher.s
      App Store Link: https://apps.apple.com/us/app/zombie-fortress-trap-defense/id6747713523?uo=4



      🤩 Hack Features

      - Add Cash
      - Add Diamond
      - Add Energy
      - Add Parts
      - Never Die
      - Add Battle Gold (Enable inside battle)
        • Winner
      • 1 reply
    • Heroes Crew: Strategy Defense v1.1.5 [+6 Cheats]
      Modded/Hacked App: Heroes Crew: Strategy Defense By AlohaFactory
      Bundle ID: com.overdogs.heroes
      App Store Link: https://apps.apple.com/us/app/heroes-crew-strategy-defense/id6744350078?uo=4



      🤩 Hack Features

      - Add Currency
      - Unlimited Items
      - Unlimited Property (Heroes, Relic etc)
      - Activate VVip (Use after tutorial and only in main menu)
      - Activate Premium Hunt Pass (Use after tutorial and only in main menu)
      - Unlimited Battle Currency (Always Will Increase)
        • Winner
        • Like
      • 31 replies
    • Heroes Crew: Strategy Defense v1.1.5 [+6 Jailed Cheats]
      Modded/Hacked App: Heroes Crew: Strategy Defense By AlohaFactory
      Bundle ID: com.overdogs.heroes
      App Store Link: https://apps.apple.com/us/app/heroes-crew-strategy-defense/id6744350078?uo=4



      🤩 Hack Features

      - Add Currency
      - Unlimited Items
      - Unlimited Property (Heroes, Relic etc)
      - Activate VVip (Use after tutorial and only in main menu)
      - Activate Premium Hunt Pass (Use after tutorial and only in main menu)
      - Unlimited Battle Currency (Always Will Increase)
        • Informative
        • Agree
        • Winner
        • Like
      • 15 replies
    • Candy Pop Story : Match 3 v1.23.0722 [ +3 Cheats ] Auto Win
      Modded/Hacked App: Candy Pop Story : Match 3 By F.O.G LIMITED
      Bundle ID: com.gamoper.candysweetstory.ios
      App Store Link: https://apps.apple.com/us/app/candy-pop-story-match-3/id6670773988?uo=4


      🤩 Hack Features

      - Auto Win
      - Coins
      - Moves
      -
        • Thanks
      • 6 replies
    • Candy Pop Story : Match 3 v1.23.0722 [ +3 Jailed ] Auto Win
      Modded/Hacked App: Candy Pop Story : Match 3 By F.O.G LIMITED
      Bundle ID: com.gamoper.candysweetstory.ios
      App Store Link: https://apps.apple.com/us/app/candy-pop-story-match-3/id6670773988?uo=4
       

      🤩 Hack Features

      - Auto Win
      - Coins
      - Moves
        • Winner
        • Like
      • 6 replies
    • Boom Castle Tower Defense TD v1.5.2 [ +7 Jailed ] Easy Win
      Modded/Hacked App: Boom Castle: Tower Defense TD By Terahype s.r.o.
      Bundle ID: castle.heroes.tower.defense.kingdom.magic.battle.archer
      iTunes Store Link: https://apps.apple.com/us/app/boom-castle-tower-defense-td/id6502820312?uo=4


      Hack Features:

      - Enemy Status [ HP DEF ]

      - Base HP 

      - Battle Cost 0 

      - Stage Unlocked [ Play Any Stage ]

      - Battle Pass Unlocked 

      - Battle Pass Claim Unlimited [ Gems Gold ]

      - iGG Speed Hack Max 0 - 10 [ Skill CD - ATK Speed - Animation Speed - Wave Faster ]


      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
        • Winner
        • Like
      • 48 replies
    • Boom Castle Tower Defense TD v1.5.2 [ +7 Cheats ] Easy Win
      Modded/Hacked App: Boom Castle: Tower Defense TD By Terahype s.r.o.
      Bundle ID: castle.heroes.tower.defense.kingdom.magic.battle.archer
      iTunes Store Link: https://apps.apple.com/us/app/boom-castle-tower-defense-td/id6502820312?uo=4


      Hack Features:
      - Enemy Status [ HP DEF ]

      - Base HP 

      - Battle Cost 0 

      -  Stage Unlocked [ Play Any Stage ]

      - Battle Pass Unlocked 

      - Battle Pass Claim Unlimited [ Gems Gold ]

      - iGG Speed Hack Max 0 - 10 [ Skill CD - ATK Speed - Animation Speed - Wave Faster ] 


      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
      • 52 replies
    • Zombie Infinity v1.9.1 [ +5 Cheats ] Currency Max
      Modded/Hacked App: Zombie Infinity By kamasu.jp Inc.
      Bundle ID: jp.kamasu.oread
      App Store Link: https://apps.apple.com/ph/app/zombie-infinity/id6736433765?uo=4


      🤩 Hack Features

      - ADS Pass

      - Energy Pass

      - Premium Pass

      - Currency

      - Hero Status [ HP - DMG ]
        • Thanks
        • Like
      • 4 replies
    • Zombie Infinity v1.9.1 [ +5 Jailed ] Currency Max
      Modded/Hacked App: Zombie Infinity By kamasu.jp Inc.
      Bundle ID: jp.kamasu.oread
      App Store Link: https://apps.apple.com/ph/app/zombie-infinity/id6736433765?uo=4


      🤩 Hack Features

      - ADS Pass

      - Energy Pass

      - Premium Pass

      - Currency

      - Hero Status [ HP - DMG ]
        • Like
      • 3 replies
    • Alien Survivor: Survival Arena v1.40.0 [ +7 Cheats ] Currency Max
      Modded/Hacked App: Alien Survivor: Survival Arena By IMPONILOX LIMITED
      Bundle ID: world.playme.x
      iTunes Store Link: https://apps.apple.com/us/app/alien-survivor-survival-arena/id1669761844?uo=4
       

      🚀 Hack Features

      - ADS NO [ Rewards Free ]

      - Gems [ Achievements Rewards Only One Get ]

      - Energy [ Just Buy ]

      - HP [ Just Equip & Unequip ]

      - ATK [ Just Equip & Unequip ]

      - DEF [ Just Equip & Unequip ]

      - Skill CD [ First Get Then Use ]


      🍏 For Non-Jailbroken & No Jailbreak required hacks: https://iosgods.com/forum/79-no-jailbreak-section/
      🤖 Modded Android APK(s): https://iosgods.com/forum/68-android-section/
        • Informative
        • Agree
        • Haha
        • Winner
        • Like
      • 19 replies
    • Alien Survivor: Survival Arena v1.40.0 [ +7 Jailed ] Currency Max
      Modded/Hacked App: Alien Survivor: Survival Arena By IMPONILOX LIMITED
      Bundle ID: world.playme.x
      iTunes Store Link: https://apps.apple.com/us/app/alien-survivor-survival-arena/id1669761844?uo=4


      🚀 Hack Features

      - ADS NO [ Rewards Free ]

      - Gems [ Achievements Rewards Only One Get ]

      - Energy [ Just Buy ]

      - HP [ Just Equip & Unequip ]

      - ATK [ Just Equip & Unequip ]

      - DEF [ Just Equip & Unequip ]

      - Skill CD [ First Get Then Use ]


      🍏 Jailbreak iOS hacks: https://iosgods.com/forum/5-game-cheats-hack-requests/
      🤖 Modded Android APKs: https://iosgods.com/forum/68-android-section/
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 32 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