Jump to content

[Cydia Substrate Code Injection]SAS 3 Tweak.xm


209 posts in this topic

Recommended Posts

Updated (edited)

HACK HERE: http://iosgods.com/topic/4311-sas-zombie-assault-3-v300-hacks-7/

Features:
-infinite turrets
-turrets never run out of ammo
-noclip (you can walk through walls)
-every gun unlocked
-infinite money
-all armor unlocked

-zombies never unfreeze once frozen

The code injection is towards the bottom of the code.

Holy crap the code was messed up but I fixed it :p

Hidden Content

    #include <substrate.h>
    #include <Foundation/Foundation.h>
    #include "writeData.h" 
    
    int setTurrets()
    {  
    return 999999999;
    } 
    
    void updateAmmo()
    {  
    //nulled
    } 
    
    int numWalls()
    { 
    return 0;
    } 
    
    bool weaponPurchased()
    {  
    return TRUE;
    } 
    
    bool armorPurchased()
    {  
    return TRUE;
    } 
    
    void unfreeze()
    {  
    //nulled
    } 
    
    %ctor{
    MSHookFunction(((void*)MSFindSymbol(NULL, "__ZN7profile13setNumTurretsEii")),(void*)setTurrets, NULL); 
    
    MSHookFunction(((void*)MSFindSymbol(NULL, "__ZN6Turret17updateAmmoCounterEv")),(void*)updateAmmo, NULL); 
    
    MSHookFunction(((void*)MSFindSymbol(NULL, "__ZN3map11getNumWallsEv")),(void*)numWalls, NULL); 
    
    MSHookFunction(((void*)MSFindSymbol(NULL, "__ZN7profile17isWeaponPurchasedEib")),(void*)weaponPurchased, NULL); 
    
    MSHookFunction(((void*)MSFindSymbol(NULL, "__ZN7profile16isArmorPurchasedEib")),(void*)armorPurchased, NULL); 
    
    MSHookFunction(((void*)MSFindSymbol(NULL, "__ZN6Zombie8unfreezeEv")),(void*)unfreeze, NULL); 
    
    writeData(0x29B18, 0x381C); //infinite money, write MOVS R0, R7 at offset 0x29B18
    writeData(0x29B1A, 0x7047); //infinite money, write BX LR at offset 0x29B1A
    }



I will be adding this to make current SAS 3 hack. I hope this helped a little :snoop:

Updated by Guest
Posted

MSHook = All versions.

You should probably edit your topic title then. :3

 

There are some features which yours doesn't have from what I can see?

Posted

MSHook = All versions.

Yours does not have noclip and it also does not have infinite turret ammo so I'll keep it there

Posted

You should probably edit your topic title then. :3There are some features which yours doesn't have from what I can see?

i don't wanna take down his thread i just wanted to let him know.
Posted

i don't wanna take down his thread i just wanted to let him know.

:thumbsup: :p

  • Like 1
×
  • 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