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

    • Jurassic World Alive v3.15.42 - [ Dino Don't Move & More ]
      Modded/Hacked App: Jurassic World Alive By Ludia
      Bundle ID: com.ludia.jw2
      iTunes Store Link: https://apps.apple.com/us/app/jurassic-world-alive/id1231085864

      Hack Features:
      - Dino Don't Move
      - Inf.Battery
      - VIP Enabled

      This hack works on the latest x64 or ARM64 iDevices: iPhone 5s, 6, 6 Plus, 6s, 6s Plus, 7, 7 Plus, 8, 8 Plus, X, Xr, Xs, Xs Max, SE, iPod Touch 6G, iPad Air, Air 2, Pro & iPad Mini 2, 3, 4 and later.


      Jailbreak required hack(s): https://iosgods.com/topic/103431-jurassic-world-alive-v1829-dino-dont-move-more/?tab=comments#comment-3107135
      • 2,063 replies
    • Jurassic World Alive v3.15.42 - [ Dino Don't Move & More ]
      Modded/Hacked App: Jurassic World Alive By Ludia
      Bundle ID: com.ludia.jw2
      iTunes Store Link: https://apps.apple.com/us/app/jurassic-world-alive/id1231085864


      Hack Features:
      - Dino Don't Move
      - Inf. Battery
      - VIP Enabled

      This hack is an In-Game Mod Menu (iGMM). In order to activate the Mod Menu, tap on the iOSGods button found inside the app. This hack works on the latest x64 or ARM64 iDevices: iPhone 5s, 6, 6 Plus, 6s, 6s Plus, 7, 7 Plus, 8, 8 Plus, X, Xr, Xs, Xs Max, SE, iPod Touch 6G, iPad Air, Air 2, Pro & iPad Mini 2, 3, 4 and later.
        • Like
      • 1,701 replies
    • Lost Sword v1.3.1 +1 Jailed Cheat [ Auto Win ]
      Modded/Hacked App: Lost Sword By Wemade Connect Co., Ltd.
      Bundle ID: com.wemadeconnect.ios.lostdgl
      App Store Link: https://apps.apple.com/us/app/lost-sword/id6482099823?uo=4

       
       

      🤩 Hack Features

      - Auto Win
      • 7 replies
    • Lost Sword v1.3.1 +1 Cheat [ Auto Win ]
      Modded/Hacked App: Lost Sword By Wemade Connect Co., Ltd.
      Bundle ID: com.wemadeconnect.ios.lostdgl
      App Store Link: https://apps.apple.com/us/app/lost-sword/id6482099823?uo=4

       


      🤩 Hack Features

      - Auto Win
      • 3 replies
    • Legend of Avatar v1.3.3 +3 Jailed Cheats [ Damage & Defence ]
      Modded/Hacked App: Legend of Avatar By billionairegames
      Bundle ID: com.billionairegames.serares
      App Store Link: https://apps.apple.com/us/app/legend-of-avatar/id6746192853?uo=4

       
       

      🤩 Hack Features

      - Damage Multiplier
      - Defence Multiplier
      - God Mode
      • 23 replies
    • Legend of Avatar v1.3.3 +3 Cheats [ Damage & Defence ]
      Modded/Hacked App: Legend of Avatar By billionairegames
      Bundle ID: com.billionairegames.serares
      App Store Link: https://apps.apple.com/us/app/legend-of-avatar/id6746192853?uo=4

       
       

      🤩 Hack Features

      - Damage Multiplier
      - Defence Multiplier
      - God Mode
      • 19 replies
    • Grimguard Tactics: Fantasy RPG v1.16.5 +3 Jailed Cheats [ Auto Win ]
      Modded/Hacked App: Grimguard Tactics: Fantasy RPG By Outerdawn Limited
      Bundle ID: com.outerdawn.grimguard
      iTunes Store Link: https://apps.apple.com/us/app/grimguard-tactics-fantasy-rpg/id1496893856?uo=4


      Hack Features:
      - Auto Win
      - Unlimited Daily Rewards
      - No Stamina Cost


      Jailbreak required hack(s): [Mod Menu Hack] Grimguard Tactics: Fantasy RPG v1.1.10 +3 Cheats [ Auto Win ] - ViP 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/
      • 130 replies
    • Grimguard Tactics: Fantasy RPG v1.16.5 +3 Cheats [ Auto Win ]
      Modded/Hacked App: Grimguard Tactics: Fantasy RPG By Outerdawn Limited
      Bundle ID: com.outerdawn.grimguard
      iTunes Store Link: https://apps.apple.com/us/app/grimguard-tactics-fantasy-rpg/id1496893856?uo=4


      Hack Features:
      - Auto Win
      - Unlimited Daily Rewards
      - No Stamina Cost


      Non-Jailbroken & No Jailbreak required hack(s): [IPA Mod Menu] Grimguard Tactics: Fantasy RPG v1.1.10 +3 Jailed Cheats [ Auto Win ] - ViP Non-Jailbroken Hacks & 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/
        • Like
      • 110 replies
    • Earn to Die Rogue v1.15.185 +15 Jailed Cheats [ Unlimited Currencies ]
      Modded/Hacked App: Earn to Die Rogue By Not Doppler Pty Limited
      Bundle ID: com.notdoppler.earntodierogue
      iTunes Store Link: https://apps.apple.com/us/app/earn-to-die-rogue/id1564024870?uo=4


      Hack Features:
      - Unlimited Cash
      - Unlimited Gold
      - Unlimited Skill Tree Tokens


      Jailbreak required hack(s): [Mod Menu Hack] Earn to Die Rogue v1.00.96 +2 Cheats [ 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/
        • Haha
        • Like
      • 284 replies
    • Earn to Die Rogue v1.15.185 +15 Cheats [ Unlimited Currencies ]
      Modded/Hacked App: Earn to Die Rogue By Not Doppler Pty Limited
      Bundle ID: com.notdoppler.earntodierogue
      iTunes Store Link: https://apps.apple.com/us/app/earn-to-die-rogue/id1564024870?uo=4


      Hack Features:
      - Unlimited Cash
      - Unlimited Gold
      - Unlimited Skill Tree Tokens


      Non-Jailbroken & No Jailbreak required hack(s): [Non-Jailbroken Hack] Earn to Die Rogue v1.00.96 +2 Jailed Cheats [ Unlimited Currencies ] - Free Non-Jailbroken IPA 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/
        • Agree
      • 165 replies
    • Candy Critters: Idle Merge v1.2.6 +3++ Jailed Cheats [ Unlimited Currencies ]
      Modded/Hacked App: Candy Critters: Idle Merge By PlaySide Studios PTY LTD
      Bundle ID: com.playsidestudios.candycritters
      App Store Link: https://apps.apple.com/us/app/candy-critters-idle-merge/id6480020380?uo=4

       


      🤩 Hack Features

      - Unlimited Currencies -> Will increase instead of decrease.
      - All Cards Unlocked
      - No Card Upgrade Cost
      - Free In-App Purchases
      • 10 replies
    • Candy Critters: Idle Merge v1.2.6 +3++ Cheats [ Unlimited Currencies ]
      Modded/Hacked App: Candy Critters: Idle Merge By PlaySide Studios PTY LTD
      Bundle ID: com.playsidestudios.candycritters
      App Store Link: https://apps.apple.com/us/app/candy-critters-idle-merge/id6480020380?uo=4

       


      🤩 Hack Features

      - Unlimited Currencies -> Will increase instead of decrease.
      - All Cards Unlocked
      - No Card Upgrade Cost
      - Free In-App Purchases
      • 6 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