Skip to content
Guest Big Announcement

Help with writing Tweak.xm

Featured Replies

Hey guys :D
Another day, Another question pops in my mind so I want to ask something AGAIN for 3 days 

in a row xD

 

Okay, here goes the question. I searched FLEX for some inspiration and I saw some patch on

flex that use code that I don't know how to write it in Tweak.xm, okay here is the screenshots :

 

#1 How to write "-(id)" 

krLYmRD.png

 

#2 How to write -(void) that returns with (id) ?

XLvKozc.png

 

#3 How to write target method that looks like this :

FFv1FWy.png

 

I'm sorry if I make you confuse with my stupid question xD a real noob here

 

If you are not clear with my question I will try to explain it :D

 

Thanks Guys, You're Awesome!

Solved by Rook

  • Solution

1. Take a look at this thread: http://iosgods.com/topic/1280-how-would-i-add-this-to-the-tweakxm/

 

2. Same thread :p

 

3.

 

%hook GMSEntityRendererView

 

-(void)setRegulateFPS {

}

%end

 

Also take a look at these 2 tutorials: http://iosgods.com/topic/831-how-to-hack-using-mobile-substrate-method-hooking/

 

http://iosgods.com/topic/904-how-to-hack-games-with-flex-and-convert-it-to-deb/

  • Author

You cannot alter a void value. You can only null it. :p

 

What I'm saying is, remove that 'return false;' on the void part to null it instead.

 

But on FLEX it's set on false  :confused:

  • Author

No problem. :)

 

 

---

Nice signature. :MeGusta:

Thanks :D

No problem. :)

 

 

---

Nice signature. :MeGusta:

 

Uhm how about writing something like this in Tweak.xm ? :D

BEQy9fS.png

Updated by DeathFork

%hook IHRViewController

 

-(void)addCopyright:(int)fp8 toTable:(id)fp12 {

fp8 = yourvalue;

fp12 = nil;

%orig(fp8, fp12);

}

 

%end

Create an account or sign in to comment

Featured Content

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.