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

    • Zooba: Zoo Battle Royale Game v6.0.0 Jailed Cheats +2
      Modded/Hacked App: Zooba: Zoo Battle Royale Games By Wildlife Studios Limited
      Bundle ID: com.fungames.battleroyale
      iTunes Store Link: https://apps.apple.com/us/app/zooba-zoo-battle-royale-games/id1459402952?uo=4


      Hack Features:
      - Map Hacks
      - Allow Shoot in Water


      Jailbreak required hack(s): https://iosgods.com/topic/131104-arm64-zooba-zoo-battle-royale-game-cheats-all-versions-2/


      iOS Hack Download Link: https://iosgods.com/topic/131134-arm64-zooba-zoo-battle-royale-game-v320-jailed-cheats-2/
        • Winner
      • 1,369 replies
    • Cat Game - The Cats Collector! v1.98.29 Jailed Cheats +2
      Modded/Hacked App: Cat Game - The Cats Collector! By MinoMonsters Inc.
      Bundle ID: com.minogames.cats.beta
      App Store Link: https://apps.apple.com/us/app/cat-game-the-cats-collector/id1125011102?uo=4

       

      📌 Mod Requirements

      - Non-Jailbroken/Jailed or Jailbroken iPhone or iPad.
      - Sideloadly or alternatives.
      - Computer running Windows/macOS/Linux with iTunes installed.

       

      🤩 Hack Features

      - Infinite Currencies

       

      Jailbroken Hack: https://iosgods.com/topic/105377-cat-game-the-cats-collector-cheats-auto-update-1/

       

      ⬇️ iOS Hack Download IPA Link: https://iosgods.com/topic/105379-cat-game-the-cats-collector-v19829-jailed-cheats-2/
      • 126 replies
    • [ ReDive TW ] 超異域公主連結!Re:Dive Cheats v5.5.0 +2
      Modded/Hacked App: 超異域公主連結!Re:Dive By So-net Entertainment Taiwan Limited
      Bundle ID: tw.sonet.princessconnect
      iTunes Store Link: https://apps.apple.com/tw/app/%E8%B6%85%E7%95%B0%E5%9F%9F%E5%85%AC%E4%B8%BB%E9%80%A3%E7%B5%90-re-dive/id1390473317?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

       

      Non-Jailbroken Hack: https://iosgods.com/topic/186660-redive-tw-%E8%B6%85%E7%95%B0%E5%9F%9F%E5%85%AC%E4%B8%BB%E9%80%A3%E7%B5%90%EF%BC%81redive-hack/

       

      ⬇️ iOS Hack Download Link: https://iosgods.com/topic/134431-redive-tw-%E8%B6%85%E7%95%B0%E5%9F%9F%E5%85%AC%E4%B8%BB%E9%80%A3%E7%B5%90%EF%BC%81redive-cheats-v500-3/
      • 285 replies
    • Match Factory! v1.59.46 +3 Jailed Cheats [ Unlimited Everything ]
      Modded/Hacked App: Match Factory! By Peak Games
      Bundle ID: net.peakgames.match
      iTunes Store Link: https://apps.apple.com/gb/app/match-factory/id6449094229?uo=4


      Hack Features:
      - Unlimited Everything -> Will increase instead of decrease. Use coins for energy.
      - Auto Win -> Pick up an item.
      - Unlimited Time -> Will not decrease.
      • 73 replies
    • Good Pizza, Great Pizza v5.43.0 +8 Jailed Cheats [ Unlimited Currencies ]
      Modded/Hacked App: Good Pizza, Great Pizza By TAPBLAZE, LLC
      Bundle ID: com.tapblaze.pizzabusiness
      iTunes Store Link: https://apps.apple.com/us/app/good-pizza-great-pizza/id911121200?uo=4


      Hack Features:
      - Unlimited Cash
      - Unlimited Diamonds
      - Unlimited Ad Tickets

      VIP
      -̶ ̶U̶n̶l̶i̶m̶i̶t̶e̶d̶ ̶P̶i̶z̶z̶a̶ ̶P̶a̶s̶s̶ ̶T̶o̶k̶e̶n̶s̶
      ̶-̶ ̶C̶h̶e̶f̶ ̶P̶a̶s̶s̶ ̶U̶n̶l̶o̶c̶k̶e̶d̶
      ̶-̶ ̶M̶a̶x̶ ̶P̶i̶z̶z̶a̶ ̶P̶a̶s̶s̶ ̶L̶e̶v̶e̶l̶
       ̶-̶ ̶S̶t̶a̶r̶t̶e̶r̶ ̶B̶u̶n̶d̶l̶e̶ ̶U̶n̶l̶o̶c̶k̶e̶d̶
      - Unlimited Paint Tickets
      - Unlimited Event Currency
      - Max Event Level
      - Unlimited Event Score
      - All Achievements Completed
      • 453 replies
    • Disney Emoji Blitz Game v74.0.0 +1++ Jailed Cheat [ Unlimited Currencies ]
      Modded/Hacked App: Disney Emoji Blitz Game By Jam City, Inc.
      Bundle ID: com.disney.emojimatch
      iTunes Store Link: https://apps.apple.com/us/app/disney-emoji-blitz-game/id1017551780
       

      Hack Features:
      - Unlimited Currencies -> Earn some.


      Jailbreak required hack(s): https://iosgods.com/topic/168886-disney-emoji-blitz-game-all-versions-1-cheats-unlimited-currencies/
      Modded Android APK(s): https://iosgods.com/forum/68-android-section/
      For more fun, check out the Club(s): https://iosgods.com/clubs/
        • Like
      • 224 replies
    • Tsukuyomi: The Divine Hunter v1.1.3 +3 Jailed Cheats [ Damage & Defence ]
      Modded/Hacked App: Tsukuyomi: The Divine Hunter By COLOPL, Inc.
      Bundle ID: jp.colopl.mask
      App Store Link: https://apps.apple.com/us/app/tsukuyomi-the-divine-hunter/id6505051119?uo=4

       
       

      🤩 Hack Features

      - Damage Multiplier
      - Defence Multiplier
      - God Mode
      • 12 replies
    • EverMerge: Merge & Match Game v1.67.5 +30 Jailed Cheats [ Cheat Menu ]
      Modded/Hacked App: EverMerge: Merge & Match Game By Big Fish Games, Inc
      Bundle ID: com.bigfishgames.mergetalesios
      iTunes Store Link: https://apps.apple.com/us/app/evermerge-merge-match-game/id1446344746?uo=4

       


      🚀 Hack Features

      - Cheat Menu -> Head into Settings and toggle the Support button.
      • 9 replies
    • Dungeon's Call: Into the Abyss v1.0.7 +4 Jailed Cheats [ Damage & Defence ]
      Modded/Hacked App: Dungeon's Call: Into the Abyss By Satoshi Masui
      Bundle ID: com.seg-soft.dungeonscall
      iTunes Store Link: https://apps.apple.com/us/app/dungeons-call-into-the-abyss/id6739310989?uo=4

       


      🤩 Hack Features

      - Damage Multiplier
      - Defence Multiplier
      - Unlimited Gold -> Will increase instead of decrease.
      - Unlimited Gems -> Will increase instead of decrease.
      • 8 replies
    • Arcane Knight : Idle RPG v1.0.45 +6 Jailed Cheats [ Damage & Defence ]
      Modded/Hacked App: Arcane Knight : Idle RPG By DongSik Moon
      Bundle ID: com.eastmoon.gk2live
      App Store Link: https://apps.apple.com/us/app/arcane-knight-idle-rpg/id6744289685?uo=4

       


      🤩 Hack Features

      - Damage Multiplier
      - Defence Multiplier
      - God Mode
      - Move Speed Multiplier
      - Freeze Coins
      - Freeze Gems
      • 14 replies
    • Super Marine Defense v1.4.0 +1 Jailed Cheat [ Damage ]
      Modded/Hacked App: Super Marine Defense By Game Duo Co.,Ltd.
      Bundle ID: net.gameduo.smd
      App Store Link: https://apps.apple.com/us/app/super-marine-defense/id6749679878?uo=4

       


      🤩 Hack Features

      - Damage Multiplier
      • 2 replies
    • OnceWorld v1.2.1 +2 Jailed Cheats [ Damage + More ]
      Modded/Hacked App: OnceWorld By PONIX LLC
      Bundle ID: work.ponix.onceworld
      App Store Link: https://apps.apple.com/us/app/onceworld/id6753948618?uo=4

       


      🤩 Hack Features

      - Damage Multiplier
      - God Mode
      • 35 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