Jump to content

Candy Crush (original) Tweak.xm


166 posts in this topic

Recommended Posts

Posted

this is for the original game not soda saga

 

Features:

-all episodes unlocked

-all levels unlocked

-chocolate does not spawn

-infinite moves

-infinite lives

-all boosters enabled

 

Hidden Content

    #include <substrate.h>
    
    bool worldUnlocked()
    {
    return TRUE;
    }
    
    bool episodeUnlocked()
    {
    return TRUE;
    }
    
    bool spawnChoco()
    {
    return FALSE;
    }
    
    int numLivesDW()
    {
    return 5;
    }
    
    int numLives()
    {
    return 5;
    }
    
    int maxMoves()
    {
    return 999;
    }
    
    int movesLeft()
    {
    return 999;
    }
    
    bool enableAllBoosters()
    {
    return TRUE;
    }
    
    %ctor{
    MSHookFunction(((void*)MSFindSymbol(NULL, "__ZN10CWorldMenu15IsLevelUnlockedEi")),(void*)worldUnlocked, NULL);
    
    MSHookFunction(((void*)MSFindSymbol(NULL, "__ZN10CWorldMenu17IsEpisodeUnlockedEi")),(void*)episodeUnlocked, NULL);
    
    MSHookFunction(((void*)MSFindSymbol(NULL, "__ZNK11CBoardScene19IsSpawningChocolateEv")),(void*)spawnChoco, NULL);
    
    MSHookFunction(((void*)MSFindSymbol(NULL, "__ZN9CSaveData13SetNumLivesDWEi")),(void*)numLivesDW, NULL);
    
    MSHookFunction(((void*)MSFindSymbol(NULL, "__ZN9CSaveData11SetNumLivesEi")),(void*)numLives, NULL);
    
    MSHookFunction(((void*)MSFindSymbol(NULL, "__ZN10CGameLogic19IncreaseNumMaxMovesEib")),(void*)maxMoves, NULL);
    
    MSHookFunction(((void*)MSFindSymbol(NULL, "__ZNK10CGameState15GetNumMovesLeftEv")),(void*)movesLeft, NULL);
    
    MSHookFunction(((void*)MSFindSymbol(NULL, "__ZN18CInGameBoosterMenu17EnableAllBoostersEb")),(void*)enableAllBoosters, NULL);
    }
    
×
  • 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