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

    • Unfolded: Webtoon Stories v1.1.1 +21 Jailed Cheats [ Debug Menu ]
      Modded/Hacked App: Unfolded: Webtoon Stories By Nanobit d.o.o.
      Bundle ID: com.nanobitsoftware.webtoon
      App Store Link: https://apps.apple.com/us/app/unfolded-webtoon-stories/id6741916006?uo=4

       


      🤩 Hack Features

      - Freeze Currencies

      VIP
      - Debug Menu -> Head into Settings and toggle the Support button.
      • 0 replies
    • OnceWorld v1.0.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
      • 18 replies
    • Hunt Royale: Action RPG Battle v3.22.1 +3 Jailed Cheats [ Damage & Defence ]
      Modded/Hacked App: Hunt Royale: Action RPG Battle By BoomBit, Inc.
      Bundle ID: com.hunt.royale
      iTunes Store Link: https://apps.apple.com/us/app/hunt-royale-action-rpg-battle/id1537379121?uo=4

       
       

      🚀 Hack Features

      - Dumb Enemies

      VIP
      - Damage Multiplier
      - Defence Multiplier
      • 224 replies
    • Wittle Defender v1.1.8.3 [+2 Cheats]
      Modded/Hacked App: Wittle Defender By HABBY PTE. LTD.
      Bundle ID: com.game.kingrush
      App Store Link: https://apps.apple.com/us/app/wittle-defender/id6502815032?uo=4

       

      Important


      Do not Abuse. Not responsible for any bans.

      Visual damage not represent real damage

       

      🤩 Hack Features

      - Damage Multiplier
      - Defense Multiplier

      • 61 replies
    • Wittle Defender v1.1.8.3 [+2 Jailed Cheats]
      Modded/Hacked App: Wittle Defender By HABBY PTE. LTD.
      Bundle ID: com.game.kingrush
      App Store Link: https://apps.apple.com/us/app/wittle-defender/id6502815032?uo=4


       

      🤩 Hack Features

      - Damage Multiplier
      - Defense Multiplier
       
        • Thanks
        • Like
      • 116 replies
    • Truck Simulator Big Rigs v1.5.4 [ +1 Cheats ] Currency
      Modded/Hacked App: Truck Simulator Big Rigs By DualCarbon Ltd
      Bundle ID: com.dualcarbon.bigrigstruckadventure
      App Store Link: https://apps.apple.com/us/app/truck-simulator-big-rigs/id6752597004?uo=4

      🤩 Hack Features

      - Cash / Increase Instead Of Decrease
      • 1 reply
    • Truck Simulator Big Rigs v1.5.4 [ +1 Jailed ] Currency
      Modded/Hacked App: Truck Simulator Big Rigs By DualCarbon Ltd
      Bundle ID: com.dualcarbon.bigrigstruckadventure
      App Store Link: https://apps.apple.com/us/app/truck-simulator-big-rigs/id6752597004?uo=4

      🤩 Hack Features

      - Cash / Increase Instead Of Decrease
      • 2 replies
    • One Punch Man World v1.2.0 +2 Cheats
      Mod APK Game Name: One Punch Man World By Crunchyroll Games, LLC
      Rooted Device: Not Required.
      Google Play Store Link: https://play.google.com/store/apps/details?id=com.crunchyroll.opm

       

      🤩 Hack Features

      - Damage Multiplier
      - Defense Multiplier

       

      ⬇️ Android Mod APK Download Link


      Hidden Content

      Download Modded APK







       

      📖 Android Installation Instructions

      STEP 1: Download the modded APK file from the link above using your preferred Android browser or download manager.
      STEP 2: Once the download is complete, open your file manager and locate the downloaded .apk file (usually in the Downloads folder).
      STEP 3: Tap the APK file, then select Install. If prompted, enable Install from Unknown Sources in your device settings.
      STEP 3A: If the mod includes an OBB file, extract it if it’s inside an archive. Then move the folder to: /Android/obb/
      STEP 3B: If the mod includes a DATA file, extract it if it’s archived. Then move the folder to: /Android/data/
      STEP 4: Once installed, open the game and toggle your desired cheats & features through the APK mod menu. Enjoy!

       

      NOTE: If you have any questions or issues, read our Frequently Asked Questions topic. If you still need help, post your issue below and we’ll assist you as soon as possible. If the mod works for you, please share your feedback to help other members!

       

      🙌 Credits

      - AlyssaX64

       

      📷 Cheat Video/Screenshots

      N/A

       

       iOS & iPadOS App Hacks
      If you’re looking for Non-Jailbroken & No Jailbreak required iOS IPA hacks, visit the iOS Game Cheats & Hacks or the iOSGods App for a variety of modded games and apps for non-jailbroken iOS devices.
      • 0 replies
    • Only Grind: Loot & Fight v1.3.2 [ +8 APK MOD ] Currency Max
      Mod APK Game Name: Only Grind: Loot & Fight
      Rooted Device: Not Required.
      Google Play Store Link: https://play.google.com/store/apps/details?id=io.onlychads.onlygrind&hl=en

      🤩 Hack Features

      - Success Rate Gems [ Upgrade Then Get ]
      - Gold [ Sell Then Get ]
      - Gold [ Merge Gems Then Get ]
      - Gold [ Upgrade Then Get ]
      - HP
      - DEF
      - ATK
      - Criti DMG
      • 1 reply
    • DEAD TARGET: FPS Zombie Games v6.166.0 [ +10 Cheats ] Currency Max
      Modded/Hacked App: DEAD TARGET: FPS Zombie Games By VNG SINGAPORE PTE LTD
      Bundle ID: com.vng.g6.a.zombie
      iTunes Store Link: https://apps.apple.com/us/app/dead-target-fps-zombie-games/id901793885?uo=4
       

      Hack Features

      - Unlimited Gold
      - Unlimited Cash

      - Unlimited Diamonds
      - Unlimited Grenades
      - Unlimited MedKits
      - Unlimited Ammo
      - One Hit Kill
      - God Mode
      - High Accuracy

      - ADS NO
      • 37 replies
    • DEAD TARGET: FPS Zombie Games v6.166.0 [ +10 Jailed ] Currency Max
      Modded/Hacked App: DEAD TARGET: FPS Zombie Games By VNG SINGAPORE PTE LTD
      Bundle ID: com.vng.g6.a.zombie
      iTunes Store Link: https://apps.apple.com/us/app/dead-target-fps-zombie-games/id901793885?uo=4
       

      Hack Features

      - Unlimited Gold
      - Unlimited Cash

      - Unlimited Diamonds
      - Unlimited Grenades
      - Unlimited MedKits
      - Unlimited Ammo
      - One Hit Kill
      - God Mode
      - High Accuracy

      - ADS NO
      • 59 replies
    • Only Grind: Loot & Fight v1.3.2 [ +11 Cheats ] Currency Max
      Modded/Hacked App: Only Grind: Loot & Fight By Chi Ngo
      Bundle ID: io.onlychads.onlygrind
      App Store Link: https://apps.apple.com/us/app/only-grind-loot-fight/id6499444042?uo=4

       
      🤩 Hack Features

      - IAP FREE [ Buy Anything ] ADS

      - Gems [ Earn Then Get ]

      - Success Rate Gems [ UP Then Get ]

      - Chest +5

      - Gold [ Sell Then Get ]

      - Gold [ Merge Gems Then Get ]

      - Gold [ Up Then Get ]

      - HP

      - DEF

      - ATK

      - Criti DMG
      • 5 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