Jump to content

[UPDATE 2.2][Template] Custom NIC Code Injection Patcher Template!


Rook

146 posts in this topic

Recommended Posts

Updated

Updated template:


 

To easily generate Tweak.xm and your Preferences Plist, use the new Code Inject generator here: https://iosgods.com/topic/24138-code-inject-generator-online-tweakxm-preferencesplist/

 

 

 

Hey everyone! I wanted to make a custom Patcher template for myself so I could make hacks easily without having to go through editing all the files over and over again... Well, I made the custom New Instance Creator CSCI Patcher Template and thought I'd share it with everyone else. :)

 

What is this?

 

This is a custom patcher template for the New Instance Creator.

 

 

What does this do?

 

 

 

You know how you have to make a tweak project and then cd into that folder and make a subproject of the tweak project to make it into a patcher? This template makes it so all you have to do is press number 1, type in your info and your patcher project folder will be created.

 

 

 

How to use it?

 

 

 

Open up a terminal, type in:

 

/var/theos/bin/nic.pl

and select

[x.] iOSGods CSCI Patcher v2.1

from the list.
 

What are the features?

 

1. The Preference Bundle will look like this by default but you can change anything to whatever you like.

 

ajN8409l.png

 

2. Auto added support for ARM64 architecture.

 

 

3. PROJECTNAME_FRAMEWORKS = UIKit is there.

 

 

4. iOSGods.com link is there also. :p

 

 

6. Some other cool stuff.

 

 

 

Tweak.xm content:

 

 

#import "writeData.h"
#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>
#import <substrate.h>

/* To MSHook Offsets, use https://iosgods.com/topic/22718-mshook-tweakpatcherfunction-tweakpatcher-withwithout-psedittextcellpsslidercell-generator-online/ */
/* To Easily Generate Tweak.xm and Preferences Plist https://iosgods.com/topic/24138-code-inject-generator-online-tweakxm-preferencesplist/ */

#define PLIST_PATH @"/var/mobile/Library/Preferences/@@PACKAGENAME@@.plist"

inline bool GetPrefBool(NSString *key) {
		return [[[NSDictionary dictionaryWithContentsOfFile:PLIST_PATH] valueForKey:key] boolValue];
}

%ctor {
	if(GetPrefBool(@"key1")) {
		writeData(0xOFFSET, 0xHEX);
	} else {
}


	if(GetPrefBool(@"key2")) {
		writeData(0x10963C, 0xC0F8AC70);
	} else {
}


	if(GetPrefBool(@"key3")) {
		writeData(0x10ACEA, 0xC0F8C871);
	} else {
}


	if(GetPrefBool(@"key4")) {
		writeData(0x1806B8, 0x381C);
		writeData(0x2FA51C, 0x381C);
		writeData(0x1806B8, 0x7047);
		writeData(0x1806B8, 0x7047);
	} else {
}

}




/* Popup with a link 

Varieties of a UIAlertView Popup can be found here: https://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:@"https://iosgods.com/"]];                                                                                
	}
}
%end

Download:

Hidden Content

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

 

 

How to install:

 

1. Download the Archive above.

 

2. Copy and paste the archive to /var/theos/templates/iphone

3. Run NIC and select the iOSGods CSCI Patcher v2.1 option.

 

Template patcher can be found here: https://iosgods.com/topic/1907-update2template-custom-nic-patcher-template/

 


Credits:

@DiDA
@Razzile for WriteData

 

 

-

 

 

The template is also on GitHub so if you have ideas on how to improve it. :)

 

https://github.com/iOSGods/CS-Code-Injection-Template

  • Replies 145
  • Created
  • Last Reply

Archived

This topic is now archived and is closed to further replies.

  • Our picks

    • Mama Rescue: Bang Bang Bang! v1.0 [ +3 Cheats ] Gold Max
      Modded/Hacked App: Mama Rescue: Bang Bang Bang! By JINKYU KWON
      Bundle ID: com.purplejam.umtang
      App Store Link: https://apps.apple.com/us/app/mama-rescue-bang-bang-bang/id6756872944?uo=4

      🤩 Hack Features

      - Unlimited Gold
      - ATK MAX
      - ATK Speed
      • 0 replies
    • Mama Rescue: Bang Bang Bang! v1.0 [ +3 Jailed ] Gold Max
      Modded/Hacked App: Mama Rescue: Bang Bang Bang! By JINKYU KWON
      Bundle ID: com.purplejam.umtang
      App Store Link: https://apps.apple.com/us/app/mama-rescue-bang-bang-bang/id6756872944?uo=4

      🤩 Hack Features

      - Unlimited Gold
      - ATK MAX
      - ATK Speed
      • 0 replies
    • Baseball GOAT v3.0.31 [ +2 Cheats ] Energy Max
      Modded/Hacked App: Baseball GOAT By Red Falcon Games Limited
      Bundle ID: com.redfalcon.baseballgoat.ios
      App Store Link: https://apps.apple.com/us/app/baseball-goat/id6677019784?uo=4

      🤩 Hack Features

      - Unlimited Energy
      - ADS Pack Active / Rewards Free
      • 0 replies
    • Baseball GOAT v3.0.31 [ +2 Jailed ] Energy Max
      Modded/Hacked App: Baseball GOAT By Red Falcon Games Limited
      Bundle ID: com.redfalcon.baseballgoat.ios
      App Store Link: https://apps.apple.com/us/app/baseball-goat/id6677019784?uo=4

      🤩 Hack Features

      - Unlimited Energy
      - ADS Pack Active / Rewards Free
      • 0 replies
    • Baseball Rising Star v2.1.0 [ +15 Cheats ] Currency Max
      Modded/Hacked App: Baseball Rising Star By 军 赵
      Bundle ID: com.baseball.rising.star
      App Store Link: https://apps.apple.com/us/app/baseball-rising-star/id6743102148?uo=4

      🤩 Hack Features

      - Gems Freeze
      - Cash Freeze
      - Shard Freeze
      - Maintenance Oil Freeze
      - Talent Point Freeze
      - Energy Freeze
      - Reputation Freeze
      === VIP ===
      - ADS PACK / Active Rewards Free
      - Gems Unlimited
      - Cash Unlimited
      - Shard Unlimited
      - Maintenance Oil Unlimited
      - Talent Point Unlimited
      - Energy Unlimited
      - Reputation Unlimited
      • 1 reply
    • Baseball Rising Star v2.1.0 [ +15 Jailed ] Currency Max
      Modded/Hacked App: Baseball Rising Star By 军 赵
      Bundle ID: com.baseball.rising.star
      App Store Link: https://apps.apple.com/us/app/baseball-rising-star/id6743102148?uo=4

      🤩 Hack Features

      - Gems Freeze
      - Cash Freeze
      - Shard Freeze
      - Maintenance Oil Freeze
      - Talent Point Freeze
      - Energy Freeze
      - Reputation Freeze
      === VIP ===
      - ADS PACK / Active Rewards Free
      - Gems Unlimited
      - Cash Unlimited
      - Shard Unlimited
      - Maintenance Oil Unlimited
      - Talent Point Unlimited
      - Energy Unlimited
      - Reputation Unlimited
      • 1 reply
    • Truckers of Europe 3 v0.70.64 Jailed Cheats +4
      Modded/Hacked App: Truckers of Europe 3 By Yalcin Senturk
      Bundle ID: com.WandaSoftware.TruckersofEurope3
      App Store Link: https://apps.apple.com/us/app/truckers-of-europe-3/id1630315603?uo=4

       

      📌 Mod Requirements

      - Non-Jailbroken/Jailed or Jailbroken iPhone or iPad.
      - Sideloadly or alternatives.
      - Computer running Windows/macOS/Linux with iTunes installed.

       

      🤩 Hack Features

      - Infinite Cash
      - Infinite Gold
      - No Ads
      - Trailers Purchased

       

      Jailbroken Hack: https://iosgods.com/topic/208041-truckers-of-europe-3-cheats-auto-update-4/

       

      ⬇️ iOS Hack Download IPA Link: https://iosgods.com/topic/208040-truckers-of-europe-3-v07064-jailed-cheats-4/
      • 0 replies
    • Shiba Wars: Goddess Link TD +3 Mods [ Damage & Defence ]
      Mod APK Game Name: Shiba Wars: Goddess Link TD By Shibamaru
      Rooted Device: Not Required.
      Google Play Store Link: https://play.google.com/store/apps/details?id=com.shibamaru.shibawars

       

      🤩 Hack Features

      - Damage Multiplier
      - Defence Multiplier
      - God Mode
      • 1 reply
    • Shiba Wars: Tower Defense TD +3 Mods [ Damage & Defence ]
      Mod APK Game Name: Shiba Wars: Tower Defense TD By Shibamaru
      Rooted Device: Not Required.
      Google Play Store Link: https://play.google.com/store/apps/details?id=com.Shibamaru.com.Shibamaru.GoddessDefense

       

      🤩 Hack Features

      - Damage Multiplier
      - Defence Multiplier
      - God Mode
      • 0 replies
    • Shiba Wars: Tower Defense TD +3 Jailed Cheats [ Damage & Defence ]
      Modded/Hacked App: Shiba Wars: Tower Defense TD By Shibamaru, LLC
      Bundle ID: com.Shibamaru.GoddessDefense
      App Store Link: https://apps.apple.com/us/app/shiba-wars-tower-defense-td/id6474090746?uo=4

       

      🤩 Hack Features

      - Damage Multiplier 
      - Defence Multiplier
      - God Mode
      • 3 replies
    • Shiba Wars: Goddess Link TD +3 Jailed Cheats [ Damage & Defence ]
      Modded/Hacked App: Shiba Wars: Goddess Link TD By Shibamaru, LLC
      Bundle ID: com.shibamaru.shibawars
      App Store Link: https://apps.apple.com/us/app/shiba-wars-goddess-link-td/id6752238059?uo=4

       

      🤩 Hack Features

      - Damage Multiplier
      - Defence Multiplier
      - God Mode
      • 0 replies
    • Raising Constellation ( 성좌 키우기 ) +3 Jailed Cheats [ Damage & Defence ]
      Modded/Hacked App: 성좌 키우기 By CodeDragon Co., LTD.
      Bundle ID: com.codedragon.starhunter
      App Store Link: https://apps.apple.com/kr/app/%EC%84%B1%EC%A2%8C-%ED%82%A4%EC%9A%B0%EA%B8%B0/id6757176669?uo=4

       

      🤩 Hack Features

      - Damage Multiplier
      - Defence Multiplier
      - God Mode
      • 7 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