Skip to content
Guest Big Announcement

8 ball pool compiling error

Featured Replies

I was trying to compile my tweak and I got this error

 

tweak.xm:

 

 

 

#include <substrate.h>

 

%hook UserInfo

-(int) lowAimRatio {

return -900;

}

%end

 

%hook UserInfo

-(void) setLowAimRatio:(int)arg1 {

arg1 = -900;

return %orig;

}

%end

 

%hook UserInfo

-(void) setHighAimRatio:(int)arg1 {

arg1 = 1300;

return %orig;

}

%end

 

%hook UserInfo

-(int) highAimRatio {

return 1300;

}

%end

 

%hook UserInfo

-(void) setForCue:(int)arg1 aim:(int) {

arg1 = 10;

arg2 = 10;

return %orig;

}

%end

 

%hook UserInfo

-(int) getCueAim:(int)arg1 {

arg1 = 10;

return %orig;

}

%end

 

%hook JailBreakChecks

+(BOOL) isApplicationTamperedWith {

return FALSE;

}

%end

 

%hook JailBreakChecks

+(BOOL) isApplicationCrackd {

return FALSE;

}

%end

 

%hook JailBreakChecks

+(BOOL) isDeviceJailbroken {

return FALSE;

}

%end

 

%hook FlurryUtil

+(BOOL) deviceIsJailbroken {

return FALSE;

}

%end

 

%hook UnityAdsDevice

+(BOOL) isJailbroken {

return FALSE;

}

%end

 

%hook SPJailbreakStatusProvider

+(BOOL) isJailbroken {

return FALSE;

}

%end

 

%hook FlurryUtil

+(BOOL) appIsCracked {

return FALSE;

}

%end

 

%hook VisualCue

-(BOOL) hideGuidelinesMode {

return FALSE;

}

%end

 

%hook VisualGuide

-(BOOL) showSecondaryGuides {

return FALSE;

}

%end

 

%hook VisualGuide

-(BOOL) enabled {

return FALSE;

}

%end

 

%hook AppDelegate

-(void)applicationDidBecomeActive:(id)argument {

UIAlertView *alert = [[uIAlertView alloc] initWithTitle:@"8ballpool cheats" message:@"Made by busmanl30 on iOSGods" delegate:nil cancelButtonTitle:@"Thanks" otherButtonTitles:nil];

[alert show];

[alert release];

}

%end

 

 

Error 15y7twn.jpg

Solved by Pro

try this :

 

%hook UserInfo

-(void) setLowAimRatio:(int)arg1 {

arg1 = -900;

}

%end

 

Do the same for the other voids as well and let me know if it works

Updated by ProNab

  • Solution

You messed up on this:

-(void) setForCue:(int)arg1 aim:(int) {
arg1 = 10; 
arg2 = 10;
return %orig;
}

You didn't put arg2 after the second int

Updated by Pro

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.