Jump to content

9 posts in this topic

Recommended Posts

Posted (edited)
2 minutes ago, Pradeep6868 said:

Can you send me that pic you send before (the ex one you showed in the chat)

It may change depending on number of arguments 

GFrMZRs.jpg

}

Updated by ggAyMe
Posted
6 minutes ago, Pradeep6868 said:

if it was this one how would you hook this  

unit name:
unit for -(bool) debugEnabled

Target Class:
GALogger

Target Method:
-(bool) debugEnabled

Return Value (bool):
(True)

GALogger shouldn't work but here you go:

%hook GALogger
-(bool) debugEnabled {
if(GetPrefBool(@"key1")) {
  return TRUE;
}
  return %orig;
}
%end

 

Posted (edited)
21 minutes ago, ggAyMe said:

GALogger shouldn't work but here you go:


%hook GALogger
-(bool) debugEnabled {
if(GetPrefBool(@"key1")) {
  return TRUE;
}
  return %orig;
}
%end

 

Thanks ill use this pic as a help

Updated by Pradeep6868
  • Like 1

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