Jump to content

[Update 1.3][Template] Custom CS/CSCI NIC/Theos Template!


Rook

93 posts in this topic

Recommended Posts

Updated

Updated template: 

 


 

Made this for myself but someone requested it also and I thought I'd share this with everyone else who wants it. :)
 
Tweak.xm content:

/* Code Injection Example
More CSCI examples can be found here: http://iosgods.com/forum/48-coding-center/
*/
#include "writeData.h"

%ctor {
writeData(0xOFFSET, 0xHACKEDHEX);
writeData(0x15BE04, 0x78708AE5);
}





/* Normal Tweak Example
Visit this thread for more information: http://iosgods.com/topic/831-tutorial-how-to-hack-using-mobile-substrate-method-hooking/
*/


%hook Coins
- (int)have {
return 999999; //Return any amount
}
%end





/* MSHook Tweak Example
Read this thread for more help: http://iosgods.com/topic/4295-tutorial-how-to-hack-with-mshook-new-way/
*/

int getMoney()
{
return 9999;
}

%ctor{
MSHookFunction(((void*)MSFindSymbol(NULL, "__ZN10Characters5Money8GetValueEv")),(void*)getMoney, NULL);
}





/* Popup with a link 

Varieties of a UIAlertView Popup can be found here: http://iosgods.com/topic/13988-varieties-of-uialertview-types-to-use-in-your-tweaks-patchers/

*/


%hook AppDelegate // Change this with your Application's Delegate. AppController, UnityAppController, GameDelegate etc.

- (BOOL)application:(id)fp8 didFinishLaunchingWithOptions:(id)fp12 { // Popup only once at each launch of the app.
UIAlertView *igcredits = [[UIAlertView alloc] initWithTitle:@"@@PROJECTNAME@@ Cheats" 
                                                  message:@"\n@@PROJECTNAME@@ Cheats by @@[member='User']@@ for iOSGods.com"
                                                 delegate:self 
										cancelButtonTitle:@"Thanks" 
										otherButtonTitles:@"Visit Us", nil]; 
[igcredits show];
[igcredits release]; 
return %orig();
}
 
%new
-(void)alertView:(UIAlertView *)alertView clickedButtonAtIndex:(NSInteger)buttonIndex {
 
NSString *button = [alertView buttonTitleAtIndex:buttonIndex];
 
	if([button isEqualToString:@"Visit Us"])
	{
		[[UIApplication sharedApplication] openURL:[NSURL URLWithString:@"http://iosgods.com/"]];                                                                                
	}
}
%end

How to use/install:
1. Download the template here:
 

Hidden Content

React or reply to this topic to see the hidden content & download link. 👀

 
2. Send the iosgods_tweak.nic.tar to /var/theos/templates/iphone/
 
3. Start a new project and select iOSGods Tweak v1.3 from the options.
 
Done! Enjoy! :)

  • Replies 92
  • Created
  • Last Reply
Posted

This will actually be really useful, I make everything on my phone, even my topics and I hate having to type the same thing over and over again in iFile :)

Posted

This will actually be really useful, I make everything on my phone, even my topics and I hate having to type the same thing over and over again in iFile :)

Make a topic template and post it in general the whenever you make a new topic, copy paste that template and just fill in the info. :)

 

We can also set an option to auto fill cheats posted in Cydia Substrate btw. Just like the template in requests. :D

Posted

Make a topic template and post it in general the whenever you make a new topic, copy paste that template and just fill in the info. :)

 

We can also set an option to auto fill cheats posted in Cydia Substrate btw. Just like the template in requests. :D

I've thought of that, too lazy to make one :p

Posted

I've thought of that, too lazy to make one :p

But you write the topic from scratch every time and you're lazy to copy paste it? :facepalm::lol:

Posted

But you write the topic from scratch every time and you're lazy to copy paste it? :facepalm::lol:

yeah :lol: I have the image, deb, and tweak.xm url in my notes tho :p

Archived

This topic is now archived and is closed to further 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