Jump to content

Flex to Tweak.xm - AppZapp -Ads (Fix code)


Go to solution Solved by Pro,

6 posts in this topic

Recommended Posts

Posted (edited)

I need to build tweak for AppZapp, my code:

 

#import <UIKit/UIKit.h>


%hook GADAdView
-(id) initWithFrame {
     return nil;
}
%end


%hook SettingsMenuViewController
-(int) numberOfSectionsInTableView {
     return 1;
}
%end
 

----------------------------------------------------

 

Flex Tweak

 

 

mTdzpQn.jpg

 

BgTwOLP.jpg

 

WP721a1.jpg

 

 

 

 

 

-----------------------------------------------------

Error log

 

x8ZLWp9.png

 

 

Please help me for fix this Tweak.xm, and verify if code is correct.

 

Thanks.

Updated by Amuyea
Posted

%hook SettingsViewMenuController

-(int) numberofSectionsInTableView:(id)fp8
 {
%ORIG(999999999);
}

%end

That might be wrong.. I forgot to do arguments for MS.

  • Solution
Posted
%hook GADAdView
-(id)initWithFrame:(CGRect)arg {
return nil;
}
%end

%hook SettingsMenuViewController
-(int)numberOfSectionsInTableView:(id)arg {
return 1;
}
%end

Try this? I haven't messed with MS in a while, so no gurantees that it will work.

Posted
%hook SettingsViewMenuController
-(int)numberofSectionsInTableView:(id)fp8{
return 1;
fp8 = nil;
}
%end

or

 

%hook SettingsViewMenuController
-(int)numberofSectionsInTableView:(id)fp8{
return 1;
}
%end
Posted
%hook GADAdView
-(id)initWithFrame:(CGRect)arg {
return nil;
}
%end

%hook SettingsMenuViewController
-(int)numberOfSectionsInTableView:(id)arg {
return 1;
}
%end

Try this? I haven't messed with MS in a while, so no gurantees that it will work.

 

 

 

 

This code worked perfect. I'm Happy
 
Thanks friends for this help.
Posted

This code worked perfect. I'm Happy

 

Thanks friends for this help.

i have two questions for you to use theos do I have to download big boss recommended tools. 2nd question when I'm about to make tweaks do I have to import UiKit

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