Skip to content
Guest Big Announcement

Convert this flex tweak at deb

Featured Replies

Hi i am trying to make this a deb tweak 3f2e71a2fde78a9a2bbd27ee1c952ee1.jpg

After i install it does nothing. This is the code i used:

 

 

%hook knAdsManager

 

- (bool)getEnabled{

return TRUE;

}

 

- (void)setEnabled:(bool)argument{

argument = TRUE;

}

 

%end

Updated by Theangelofspace15

Solved by Theangelofspace15


%hook ALInterstitialDialogView

- (void)videoPlaybackEndedInAd:(id)fp8 atPlayback:(id)fp12 fullyWatched:(BOOL)fp16 {

return %orig(fp8, fp12, true);

}

%end

  • Author

 

%hook ALInterstitialDialogView
- (void)videoPlaybackEndedInAd:(id)fp8 atPlayback:(id)fp12 fullyWatched:(BOOL)fp16 {
return %orig(fp8, fp12, true);
}
%end
What do fp8, fp12, and fp16 means? Are they variables that u assigned the values of the arguments and then returned the values, keeping fp8, fp12 the same and making f16 true?

Updated by Theangelofspace15

What do fp8, fp12, and fp16 means?

return %orig(fp8, fp12, true);

 

is the same as doing 

 

return %orig(arg1, arg2, arg3);

 

or like the argument you used on the first post:

 

- (void)setEnabled:(bool)argument{

argument = TRUE;

}

 

castix chose to identify them as fp8/fp12/fp16 etc.

Updated by DiDA

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.