Jump to content

Argument Help


Go to solution Solved by Chrizk0,

10 posts in this topic

Recommended Posts

Posted (edited)
-(BOOL)random:(id)fp8 {
return TRUE;
%orig(fp8);
}
%end

I think

Updated by Amuyea
Posted

-(BOOL)random:(id)argument{

argument = (what you want)

}

Easier ^

I don't think that will work :dunno:

  • Solution
Posted (edited)

%hook something

-(BOOL)random:(id)fp8 {

return TRUE;

}

%end

 

fp8 can be anything, it's like you're nulling the 2nd argument.

 

For a function to have extra arguments and if it has no use to you, use this.

Updated by Chrizk0
Posted

%hook something

-(BOOL)random:(id)fp8 {

return TRUE;

}

%end

 

fp8 can be anything, it's like you're nulling the 2nd argument.

 

For a function to have extra arguments and if it has no use to you, use this.

Yours worked thanks man :D

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