Skip to content
Guest Big Announcement

Disable tapjoy in knights and dragons

Featured Replies

  • Author

I guess if you NULL / turn them to false it should work? Give it a try. :)

everything null? Ok i will try

 

So i put false on bool, return NULL to the others, and argument = NULL%orig(argument) to the (void) with arguments?

 

So will this one be ok?

 

 

+ (void)sendSegmentationParams:(id)fp8{

fp8 = NULL

%orig(fp8);

Updated by Theangelofspace15

everything null? Ok i will try

 

So i put false on bool, return NULL to the others, and argument = NULL%orig(argument) to the (void) with arguments?

 

So will this one be ok?

 

 

+ (void)sendSegmentationParams:(id)fp8{

fp8 = NULL

%orig(fp8);

 

+ (void)sendSegmentationParams:(id)fp8{

fp8 = NULL;

%orig(fp8);

%end

 

You can null voids also: http://iosgods.com/topic/831-tutorial-how-to-hack-using-mobile-substrate-method-hooking/

 

But I suggest you try them with Flex 2 so you can test them while you add new functions instead of adding, compiling, installing etc etc. Much easier with flex. :)

  • Author

+ (void)sendSegmentationParams:(id)fp8{

fp8 = NULL;

%orig(fp8);

%end

 

You can null voids also: http://iosgods.com/topic/831-tutorial-how-to-hack-using-mobile-substrate-method-hooking/

 

But I suggest you try them with Flex 2 so you can test them while you add new functions instead of adding, compiling, installing etc etc. Much easier with flex. :)

i tried flex but those header does not show on flex only when i dumped the binary

I didnt get his explanation on how to null the void. So u put a {} and thats it?

 

Like -(void)xxxxxc:{

};

%end

i tried flex but those header does not show on flex only when i dumped the binary

I didnt get his explanation on how to null the void. So u put a {} and thats it?

 

Like -(void)xxxxxc:{

};

%end

If it's just one void you can null it like this:

 

%hook something

-(void)showCoins {

}

%end

This should work also:

 

+ (void)sendSegmentationParams:(id)fp8{

return;

fp8 = NULL;

%orig(fp8);

}

%end

Updated by DiDA

  • Author

If it's just one void you can null it like this:

 

%hook something

-(void)showCoins {

}

%end

 

This should work also:

 

+ (void)sendSegmentationParams:(id)fp8{

return;

fp8 = NULL;

%orig(fp8);

%end

when i close the bracket? i see u put a "{" but didnt close it.

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.