Jump to content

[Tutorial] How To Add PSEditTextCell in a Patcher


40 posts in this topic

Recommended Posts

Updated (edited)

kgt3W5o.png?1
 
Hello! In this tutorial I will be showing you how to add a Text Cell with a Switch where the user can choose the amount of currency he/she desires.
 
I will be using the app "Pou" as an example.
 
Alright, let's begin!
 
1. Start a new Patcher.

login as: root
[email protected]'s password:
iOSGods-iPhone:~ root# /var/theos/bin/nic.pl
NIC 2.0 - New Instance Creator
------------------------------
  [1.] iphone/application
  [2.] iphone/library
  [3.] iphone/preference_bundle
  [4.] iphone/tool
  [5.] iphone/tweak
Choose a Template (required): 5
Project Name (required): pouhack
Package Name [com.yourcompany.pouhack]: com.iosgods.pouhack
Author/Maintainer Name [System Administrator]: DiDA
[iphone/tweak] MobileSubstrate Bundle filter [com.apple.springboard]: me.pou.app
[iphone/tweak] List of applications to terminate upon installation (space-separated, '-' for none) [SpringBoard]: -
Instantiating iphone/tweak in pouhack/...
Done.
iOSGods-iPhone:~ root# cd /var/root/pouhack
iOSGods-iPhone:~/pouhack root# /var/theos/bin/nic.pl
NIC 2.0 - New Instance Creator
------------------------------
  [1.] iphone/application
  [2.] iphone/library
  [3.] iphone/preference_bundle
  [4.] iphone/tool
  [5.] iphone/tweak
Choose a Template (required): 3
Project Name (required): poupref
Package Name [com.yourcompany.poupref]: com.iosgods.poupref
Author/Maintainer Name [System Administrator]: DiDA
Instantiating iphone/preference_bundle in poupref/...
Adding 'poupref' as an aggregate subproject in Theos makefile 'Makefile'.
Done.
iOSGods-iPhone:~/pouhack root#

 
2. Open the Tweak.xm file and add these lines to it:

#include <Foundation/Foundation.h>

%hook Coins 

- (int)have {

NSDictionary *iosgods = [NSDictionary dictionaryWithContentsOfFile:[NSString stringWithFormat:@"/var/mobile/Library/Preferences/com.iosgods.poupref.plist"]];
return [[iosgods objectForKey:@"kCoins"] intValue];

}

%end

Copy paste them from here: http://pastebin.com/jN9VV563
 
3. Like I said, I will be using Pou as an example so some stuff will be a bit different with other apps. 
 
 
4.  Go to /pouhack/poupref/Resources/ and edit the poupref.plist file so it looks like this:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
	<key>items</key>
	<array>
		<dict>
			<key>cell</key>
			<string>PSGroupCell</string>
			<key>label</key>
			<string>Pou Hack iOSGods.com</string>
		</dict>
		<dict>
			<key>cell</key>
			<string>PSSwitchCell</string>
			<key>default</key>
			<false/>
			<key>defaults</key>
			<string>com.iosgods.poupref</string>
			<key>key</key>
			<string>kCoins</string> // Button key
			<key>label</key>
			<string>Coins Hack</string> // Button text
		</dict>
		<dict>
			<key>cell</key>
			<string>PSEditTextCell</string>
			<key>defaults</key>
			<string>com.iosgods.poupref</string>
			<key>detail</key>
			<string>PSDetailController</string>
			<key>key</key>
			<string>kCoins</string> // Your key
			<key>label</key>
			<string></string>
			<key>placeholder</key>
			<string>Enter the amount of coins you want.</string> //placeholder text that will appear.
		</dict>
	</array>
	<key>title</key>
	<string>Pou Hack</string> //Hack title
</dict>
</plist>

Copy it from here: http://pastebin.com/r69RsC3s
 
5. Save it and send it back to the poupref folder.

 
6. Now cd into your project folder and build the package.
 
Note: if you get missing header files, download this archive and extract it to /var/theos/include/

Hidden Content

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

 
Once you installed the tweak, go to settings and turn the hack on and enter the amount of coins you'd like.
 
1hmmL4Hl.png yE0t36tl.png
 
You're done!
 
For more information on PSEditTextCell, see the iPhoneDevWiki page: http://iphonedevwiki.net/index.php/Preferences_specifier_plist#PSEditTextCell_.26_PSSecureEditTextCell

 

Project files:

Hidden Content

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

Updated by DiDA
  • Like 20
  • Thanks 2
  • Haha 2
  • Agree 1
Posted

__ZN22CLollipopBoosterFacade10IsUnlockedEP9CSaveData {

 

NSDictionary *iosgods = [NSDictionary dictionaryWithContentsOfFile:[NSString stringWithFormat:@"/var/mobile/Library/Preferences/com.iosgods.poupref.plist"]];
return [[iosgods objectForKey:@"kBooster"] intValue];
 
}
 
maybe like this xD ?

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

    • Strongest Knight Cheats v1.43 +4
      Modded/Hacked App: Strongest Knight By Superlink Ltd.
      Bundle ID: com.idlemaster.hero
      iTunes Store Link: https://apps.apple.com/us/app/strongest-knight/id6738113239?uo=4


      Hack Features:
      - Multiply Attack
      - Multiply Defense
      - Freeze Currencies
      - No Ads (Don't use the deb cheat unless you complete tutorial -- Finish use 4 ads boost quest)
       


      Non-Jailbroken & No Jailbreak required hack(s): https://iosgods.com/topic/190406-strongest-knight-v106-jailed-cheats-4/


      iOS Hack Download Link: https://iosgods.com/topic/190404-strongest-knight-cheats-v106-4/
      • 32 replies
    • Hot Wheels Unlimited Modded v2025.2.0 +1
      Modded/Hacked App: Hot Wheels Unlimited By Budge Studios
      Bundle ID: com.budgestudios.HotWheelsUnlimited
      App Store Link: https://apps.apple.com/us/app/hot-wheels-unlimited/id1523486249?uo=4

       

      📌 Mod Requirements

      - Jailbroken iPhone or iPad.
      - iGameGod / Filza / iMazing.
      - Cydia Substrate, ElleKit, Substitute or libhooker depending on your jailbreak (from Sileo, Cydia or Zebra).

       

      🤩 Hack Features

      - PREMIUM

       

      Non-Jailbroken Hack: https://iosgods.com/topic/135064-hot-wheels-unlimited-v202512-jailed-mod-1/

       

      ⬇️ iOS Hack Download Link: https://iosgods.com/topic/135061-hot-wheels-unlimited-modded-v202512-1/
      • 68 replies
    • SUPERSTAR JYPNATION Cheats v3.26.8 +3
      Modded/Hacked App: SUPERSTAR JYPNATION By Dalcomsoft Inc.
      Bundle ID: com.dalcomsoft.ss.jyp
      iTunes Store Link: https://apps.apple.com/us/app/superstar-jypnation/id1086866467?uo=4


      Hack Features:
      - Auto Dance
      - Never Lose Combo
      - Always S.Perfect


      iOS Hack Download Link: https://iosgods.com/topic/184872-superstar-jypnation-cheats-v3180-3/
      • 26 replies
    • Subway Surfers Cheats v3.52.1 +5
      Modded/Hacked App: Subway Surfers By Sybo Games ApS
      Bundle ID: com.kiloo.subwaysurfers
      iTunes Store Link: https://apps.apple.com/us/app/subway-surfers/id512939461?uo=4

       

      📌 Mod Requirements

      - Jailbroken iPhone or iPad.
      - iGameGod / Filza / iMazing.
      - Cydia Substrate, ElleKit, Substitute or libhooker depending on your jailbreak (from Sileo, Cydia or Zebra).

       

      🤩 Hack Features

      - Free Store (not Free iAP)
      - Free iAP (ViP Only)
      - Unlock Characters Outfit
      - Custom Jump Height
      - No Clip (To end level swipe to left til you get dizzy, swipe again and you will lose)

       

      Non-Jailbroken Hack: https://iosgods.com/topic/119795-subway-surfers-v3425-jailed-cheats-5/

       

      ⬇️ iOS Hack Download Link: https://iosgods.com/topic/119793-subway-surfers-cheats-v3430-5/
      • 2,361 replies
    • Sniper 3D: Gun Shooting Games Cheats v5.32.0 +7
      Modded/Hacked App: Sniper 3D Assassin: FPS Battle By Fun Games For Free
      Bundle ID: com.fungames.sniper3d
      iTunes Store Link: https://itunes.apple.com/us/app/sniper-3d-assassin-fps-battle/id930574573?mt=8&uo=4&at=1010lce4



      Hack Features:
      - Infinite Coins Only (Upgrade Weapon and Speed up Delivery with Coins)
      - Infinite Energy
      - Infinite Ammo / No Reload
      - No Spread
      - Unlock Premium Weapon - Semi

      NOTE: The game diamond currency is completely server-sided so do not request


      Hack Download Link: https://iosgods.com/topic/74114-arm64-sniper-3d-fps-battle-shoot-to-kill-2018-cheats-all-versions-7/

      Credits:
      - @Laxus
      • 3,918 replies
    • Subway Surfers v3.52.1 +23 Jailed Cheats [ Currencies + More ]
      Modded/Hacked App: Subway Surfers By Sybo Games ApS
      Bundle ID: com.kiloo.subwaysurfers
      iTunes Store Link: https://apps.apple.com/us/app/subway-surfers/id512939461?uo=4


      Hack Features:
      - Unlimited Currencies
      - Freeze Currencies
      - Free In-App Purchases
      - All Characters Unlocked
      - All Boards Unlocked
      - God Mode
      - No Stumble
      - Score Multiplier
      - Speed Multiplier
      - Gravity Multiplier
      - Jump Height Multiplier
      - Air Jump Height Multiplier
      - Unlimited Jumps
      - Unlimited Powers
      - Instant Lane Change
      - Freeze Trains
      - No Clip
      - Disable All Pickup
      - No Revive Cost
      - Unlimited Jetpack Time
      - Camera Stops
      - Camera Follows


      Jailbreak required hack(s): [Mod Menu Hack] Subway Surfers v3.40.0 +20 Cheats [ Currencies + More ] - ViP Cheats - iOSGods
      Modded Android APK(s): https://iosgods.com/forum/68-android-section/
      For more fun, check out the Club(s): https://iosgods.com/clubs/
        • Like
      • 74 replies
    • Subway Surfers v3.52.1 +23 Cheats [ Currencies + More ]
      Modded/Hacked App: Subway Surfers By Sybo Games ApS
      Bundle ID: com.kiloo.subwaysurfers
      iTunes Store Link: https://apps.apple.com/us/app/subway-surfers/id512939461?uo=4


      Hack Features:
      - Unlimited Currencies
      - Freeze Currencies
      - Free In-App Purchases
      - All Characters Unlocked
      - All Boards Unlocked
      - God Mode
      - No Stumble
      - Score Multiplier
      - Speed Multiplier
      - Gravity Multiplier
      - Jump Height Multiplier
      - Air Jump Height Multiplier
      - Unlimited Jumps
      - Unlimited Powers
      - Instant Lane Change
      - Freeze Trains
      - No Clip
      - Disable All Pickup
      - No Revive Cost
      - Unlimited Jetpack Time
      - Camera Stops
      - Camera Follows


      Non-Jailbroken & No Jailbreak required hack(s): [IPA Mod Menu] Subway Surfers v3.40.0 +20 Jailed Cheats [ Currencies + More ] - ViP Non-Jailbroken Hacks & Cheats - iOSGods
      Modded Android APK(s): https://iosgods.com/forum/68-android-section/
      For more fun, check out the Club(s): https://iosgods.com/clubs/
      • 72 replies
    • Heroes Crew: Strategy Defense v1.3.51 [+12 Cheats]
      Modded/Hacked App: Heroes Crew: Strategy Defense By AlohaFactory
      Bundle ID: com.overdogs.heroes
      App Store Link: https://apps.apple.com/us/app/heroes-crew-strategy-defense/id6744350078?uo=4



      🤩 Hack Features

      - Add Currency
      - Unlimited Items
      - Unlimited Property (Heroes, Relic etc)
      - Activate VVip (Use after tutorial and only in main menu)
      - Activate Premium Hunt Pass (Use after tutorial and only in main menu)
      - Unlimited Battle Currency (Always Will Increase)
      • 113 replies
    • Heroes Crew: Strategy Defense v1.3.51 [+12 Jailed Cheats]
      Modded/Hacked App: Heroes Crew: Strategy Defense By AlohaFactory
      Bundle ID: com.overdogs.heroes
      App Store Link: https://apps.apple.com/us/app/heroes-crew-strategy-defense/id6744350078?uo=4



      🤩 Hack Features

      - Add Currency
      - Unlimited Items
      - Unlimited Property (Heroes, Relic etc)
      - Activate VVip (Use after tutorial and only in main menu)
      - Activate Premium Hunt Pass (Use after tutorial and only in main menu)
      - Unlimited Battle Currency (Always Will Increase)
      • 48 replies
    • Crunchyroll: Two Strikes v1.1.2 +2 Jailed Cheats [ Unlocked ]
      Modded/Hacked App: Crunchyroll: Two Strikes By Crunchyroll, LLC
      Bundle ID: com.crunchyroll.gv.twostrikes
      App Store Link: https://apps.apple.com/us/app/crunchyroll-two-strikes/id6742846993?uo=4

       


      🤩 Hack Features

      - God Mode *Online Untested*
      -- Full Game Unlocked
      • 7 replies
    • Crunchyroll: Two Strikes v1.1.2 +2 Cheats [ Unlocked ]
      Modded/Hacked App: Crunchyroll: Two Strikes By Crunchyroll, LLC
      Bundle ID: com.crunchyroll.gv.twostrikes
      App Store Link: https://apps.apple.com/us/app/crunchyroll-two-strikes/id6742846993?uo=4

       
       

      🤩 Hack Features

      - God Mode *Online Untested*
      -- Full Game Unlocked
      • 4 replies
    • Avalar: Raid of Shadow v02.76.10 +3 Jailed Cheats [ Damage & Defence ]
      Modded/Hacked App: Avalar: Raid of Shadow By Enigma Publishing Limited
      Bundle ID: com.vtwo.atwo.epl.as
      App Store Link: https://apps.apple.com/us/app/avalar-raid-of-shadow/id6745590551?uo=4

       
       

      🤩 Hack Features

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