Skip to content
Guest Big Announcement

Just a little help with a flex conversion to hook

Featured Replies

Hey folks can someone look at my flex to hook conversion please ? i am getting error at theos make package thanks!!!

                                  Flex tweak

UNIT NAME

Unit for -(void) setDisplayTitle:(id)
 
TARGET CLASS
UBAddress
 
TARGET METHOD
-(void) setDisplayTitle:(id)
 
RETURN VALUE (void)
pass-through
 
ARGUMENT#1(id)
pass-through
 
 
 
                                     HOOK
%hook UBAddress
-(void)setDisplayTitle:arg1 {
%orig;
arg1 = TRUE;
}
%end
 
Its my conversion right???
Thanks!

Solved by Amuyea

  • Solution
%hook UBAddress

-(void)setDisplayTitle:(id)arg1 {

%orig;

arg1 = xxx;

}

%end

 

xxx must be Null or nothing like

Null



%hook UBAddress
-(void)setDisplayTitle:(id)arg1 {
%orig;
arg1 = null;  // null or nil
}
%end

 

Or

Nothing



%hook UBAddress
-(void)setDisplayTitle:(id)arg1 {
%orig;
}
%end

  • Author

 

%hook UBAddress
-(void)setDisplayTitle:(id)arg1 {
%orig;
arg1 = xxx;
}
%end
 
xxx must be Null or nothing like
Null

%hook UBAddress
-(void)setDisplayTitle:(id)arg1 {
%orig;
arg1 = null;  // null or nil
}
%end
 
Or
Nothing

%hook UBAddress
-(void)setDisplayTitle:(id)arg1 {
%orig;
}
%end

 

 

ok cool i am learning everyday ! ill try it now

%hook UBAddress

-(void)setDisplayTitle:(id)arg1 {

%orig;

arg1 = xxx;

}

%end

 

xxx must be Null or nothing like

Null

 

%hook UBAddress
-(void)setDisplayTitle:(id)arg1 {
%orig;
arg1 = null;  // null or nil
}
%end
 

Or

Nothing

%hook UBAddress
-(void)setDisplayTitle:(id)arg1 {
%orig;
}
%end

The Nothing part doesn't work when there is %orig

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.