Jump to content

9 posts in this topic

Recommended Posts

Posted

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

Posted (edited)

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
Posted

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. :)

Posted

+ (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

Posted (edited)

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
Posted

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.
Posted

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

Nice eye! Forgot to put it. :)

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
×
  • 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