-
Posts
2,379 -
Joined
-
Last visited
Everything posted by castix
-
Help/Support how to transfer my account clash of clans
castix replied to hannah54's topic in Help & Support
From Andoid to computer you need to login with your Google account. Android to iOS doesn't work because Android doesn't have Gamecenter -
In the first step you have your function method which is - (void)vungleViewDidDisappear:(id)fp8 willShowProductView:(BOOL)fp12 See how I already added fp8 and fp12 after the argument type? You can write there anything you want instead fp8 etc. Just note that you can't use the same name more than once in a method. That's why I've named it fp12 and then fp16, fp20 etc... So let's have a look what you want to hack here. Like I said, changing id doesn't work with NSNumber or NSArray however as you have already seen it in custom alertviews, you can use NSString for it if you are 100% sure what the id does in the game. So what's left is the last boolean. Since we named it fp12 here in this example it also has the same name if you want to return it so always keep it in mind. - (void)vungleViewDidDisappear:(id)fp8 willShowProductView:(BOOL)fp12 { return %orig(fp8, fp12); } This is the default return if we wouldn't change anything but you can clearly see here how the function method is built. We have our %orig for the void, fp8 for the id and also our boolean fp12. As you guessed right, the arguments are indeed in brackets. What I will show you now does not fit to that term you know here. We are going to assign fp12 to a custom value. - (void)vungleViewDidDisappear:(id)fp8 willShowProductView:(BOOL)fp12 { fp12 = true; return %orig(fp8, fp12); } Now we set the value of fp12 (BOOl) to true the first time. You can continue like this depending on the argument count: fp8 = fp12 = fp16 = fp20 = ... You can also hack it your way - (void)vungleViewDidDisappear:(id)fp8 willShowProductView:(BOOL)fp12 { return %orig(fp8, true); } Please note that this way leads to more mismatches within the arguments so I recommend you doing it the first way. A common error would be ".. is not a function pointer ~ return 999(true, 999). The two integers would conflict with each other because iOS thinks you are giving an address. You can do whatever you want, it's up to you According to what I said above it is - (BOOL)hasDailyCapReachedForProvider:(id)fp8 zone:(id)fp12 { return true; } If you don't hack the arguments, ignore them.
-
@@dzcracker Add #include <Foundation/Foundation.h> and replace return [[unlocktext objectForKey:@"kKey"] intValue]; with return [unlocktext objectForKey:@"kKey"];
-
%hook SBLockScreenView - (id)_defaultSlideToUnlockText { NSDictionary *unlocktext = [NSDictionary dictionaryWithContentsOfFile:[NSString stringWithFormat:@"/var/mobile/Library/Preferences/preference.plist"]]; return [[unlocktext objectForKey:@"kKey"] intValue]; NSLog(unlocktext); return 0; } %end <dict> <key>cell</key> <string>PSGroupCell</string> <key>label</key> <string>Custom Unlock Text</string> </dict> <dict> <key>cell</key> <string>PSEditTextCell</string <key>default</key> <integer>preference</integer> <key>defaults</key> <string>preference</string> <key>key</key> <string>kKey</string> <key>label</key> <string></string> <key>isNumeric</key> <false/> <key>noAutoCorrect</key> <true/> </dict>
-
I can give you 4 other ways to return an NSString if you're not satisfied with my code
-
The class is the same. I used another method because his was outdated and not for iOS 8 ( He found it on Google).
-
%hook SBLockScreenView - (id)_defaultSlideToUnlockText { NSString *unlocktext = @"Slide me hard"; NSLog(unlocktext); return 0; } %end
-
That comment is even worse. 1. There is no thing such as a preferencepatcher, also not a preference patcher. 2. It's a Preference Bundle (Preference pane in your Preferences.app) 3. Your code has nothing to do with a Preference Bundle 4. Nothing you said above has to do with a Preference Bundle
-
1. If it's a Tweak there is no need for returns. Have you ever developed a real Tweak? I don't think so 2. You can't assign return fp8 to hey madafaka like this. It's not a valid string neither you declared it 3. If you close a code block by } you should open it before 4. Returning fp12 doesn't make sense because it does nothing in the method 5. That's bor your idea. Ideas lead to good things
-
5 Mistakes in just 2 returns. Ouch
-
Shut up stubborn kid. He tried to help you and if the solution is buying the program you don't need to show your balls and play the smartass. Indeed using a cracked version doesn't work yet so f**kin buy it already or hack it yourself as you said it's no problem
-
You can put it in the directory but opening the camera or photo app, only png and jpg/jpeg will be shown The path is /var/mobile/Media/DCIM/100Apple
-
General May be giving away a very good Call of Duty account
castix replied to z-BaByLoN-z's topic in General Talk
Since this is not a support thread anymore I want to share my opinion towards all of Duty.. I've got 2 Black Ops 2 accounts. Both prestige master and one of them has every gun in diamond camo. Stats are 3.3 KD or so Playing Advanced Warfare is fun and the new guns and Exo abilities are so sick but I haven't got any luck in Supply Drops yet. So far I play the BAL 27 Obsi. Steed, MK14 Eagle Eye, AK12 Finger Tap and the normal ASM1 and HBRa3 you unlock by killing 500 people. My MD dropped madly because of all the weird spawns and also get shot in the back a lot because of the Exo.. I would really like to play a few games on the account you are giving away -
Don't listen to the newbies above me. iGameGuardian is the best memory editor ever since GamePlayer focused on Android and not iOS anymore. GameGem is a blunt copy with less features and incompatibilities. Consider buying it if you wan to hack your games on your own. It works on 90% of all games.
-
Push{r4-r3, lr} Mov r0, #FF Mov r3, #FF Muls r0, r3 Pop{r4-r7, pc}
-
Hack [sub_x]Call of Mini Zombies 2 v2.1.2 Hacks +2
castix replied to a topic in Free Jailbreak Cheats
Try that -
AutoTouch 3.1.2 has been released. It fixes the crash and many other bugs. Also some helper shortcuts have been added Add http://autotouch.me/repofor the latest AuroTouch versions
-
Help/Support Couldn't Create Output Directory
castix replied to Jeanne Arthez's topic in Help & Support
-
Help/Support Appstore Bug-used my money but i got no gems
castix replied to Entzockt_'s topic in Help & Support
We are not Apple Support. They have an extra section just for Purchase issues -
Help/Support Any other way to crack In-App Purchases?
castix replied to xC3FFF0E's topic in Help & Support
iAPFree has that but idk what the dev did to prevent that >.< -
This is one of the easiest games to hack i suggest you hack it yourself
-
Patcher Angry Birds Go! Cheats +8 (All Versions)
castix replied to castix's topic in Free Jailbreak Cheats
It's always All Versions if not specified