Jump to content

MSHOOKING AND FLEX HELP!


Go to solution Solved by AxCE,

53 posts in this topic

Recommended Posts

Posted

get the hole coordinates from another method, store them in variables, and call Set(float32,float32) with those variables.

for example:

float32 x = 0.0f;
float32 y = 0.0f;

//this is a method that I think is in the game, or something like it
- (void)getCoordinates:(b2Vec2)arg0 {
//somehow get x and y of arg0, I assume it would be like arg0[1][0] for x and arg0[0][1] for y but I honestly have no clue, but lets say I do have them and x has a value of -10.0f and y has a value of 20.0f

x = arg0[1][0];
y = arg0[0][1];
}

//then

- (void)player:(id)arg0 hitLaserSprite:(id)arg1 atPoint:(b2Vec2)arg2 {
//these are made up by me but it would be something like that
arg2.setX(x);
arg2.setY(y);
}

Did your mc5 aimbot have a similar method but with IDA? Or it's different?

Did your mc5 aimbot have a similar method but with IDA? Or it's different?

This would make a nice tutorial if anyone knew how to exactly use this method :)

Posted

get the hole coordinates from another method, store them in variables, and call Set(float32,float32) with those variables.

for example:

float32 x = 0.0f;
float32 y = 0.0f;

//this is a method that I think is in the game, or something like it
- (void)getCoordinates:(b2Vec2)arg0 {
//somehow get x and y of arg0, I assume it would be like arg0[1][0] for x and arg0[0][1] for y but I honestly have no clue, but lets say I do have them and x has a value of -10.0f and y has a value of 20.0f

x = arg0[1][0];
y = arg0[0][1];
}

//then

- (void)player:(id)arg0 hitLaserSprite:(id)arg1 atPoint:(b2Vec2)arg2 {
//these are made up by me but it would be something like that
arg2.setX(x);
arg2.setY(y);
}

You gotta use LLDB. GDB sucks for watchpoints but is amazing for breakpoints. I dont use watchpoints anymore takes too much time anyway, but search for LLDB on here

Lldb not working with port. I try to reroute the port to port 23 but lldb doesn't let me in.

Posted

yes I'm guessing that the vector stores the x and y where the ball hit

Bruh, do you think im able to make an aimbot ? xD i just created a gravity field around the hole...

Sure I just want to see what you did so I can use for in future. Thanks

Can I see ur tweak.xm if I could?

Sure,

#define PLIST_PATH @"/var/mobile/Library/Preferences/com.iosgods.fg2.plist"
 
inline bool GetPrefBool(NSString *key) {
return [[[NSDictionary dictionaryWithContentsOfFile:PLIST_PATH] valueForKey:key] boolValue];
}

%hook UserDataManager
 
-(bool)isWorldUnlocked:(id)argument {
if(GetPrefBool(@"key1")) {
argument = NULL;
}
return %orig;
}

%end

%hook DalyChallenge

-(unsigned long long)remainingAttempts {       
if(GetPrefBool(@"key2")) {
return 999999;
}
return %orig;
}

%end

%hook LocalUserData
-(int)currentBux {
if(GetPrefBool(@"key3")) {
return 999999999;
}
return %orig;
}

%end

%hook GamePlayer

-(void)setShieldOn:(bool)argument {
if(GetPrefBool(@"key4")) {
argument = TRUE;
}
return %orig;
}


-(void)setGravityOn:(bool)argument {
if(GetPrefBool(@"key5")) {
argument = TRUE;
}
return %orig;
}

%end

%hook SandTrapSprite
 
-(void)setRectArray:(id)argument {
if(GetPrefBool(@"key6")) {
argument = NULL;
}
return %orig;
}

%end

%hook TrailCard
 
-(bool)isUnlocked {
if(GetPrefBool(@"key7")) {
return TRUE;
}
return %orig;
}

%end

%hook GolferCard
 
-(bool)isUnlocked {
if(GetPrefBool(@"key7")) {
return TRUE;
}
return %orig;
}

%end

%hook GravityFieldSprite

-(void)setWidth:(int)argument {
if(GetPrefBool(@"key8")) {
argument = 9999;
}
return %orig;
}



-(void)setHeight:(int)argument {
if(GetPrefBool(@"key8")) {
argument = 9999;
}
return %orig;
}


-(void)setStrength:(int)argument {
if(GetPrefBool(@"key8")) {
argument = -70;
}
return %orig;
}


-(void)setTintColor:(id)argument {
if(GetPrefBool(@"key8")) {
argument = NULL;
}
return %orig;
}

%end

%hook ShieldAnimation

-(void)setRadius:(int)argument {
if(GetPrefBool(@"key9")) {
argument = -70;
}
return %orig;
}

%end



/* Popup with a link 

Varieties of a UIAlertView Popup can be found here: http://iosgods.com/topic/13988-varieties-of-uialertview-types-to-use-in-your-tweaks-patchers/

*/


%hook AppDelegate // Change this with your Application's Delegate. AppController, UnityAppController, GameDelegate etc.

- (BOOL)application:(id)fp8 didFinishLaunchingWithOptions:(id)fp12 { // Popup only once at each launch of the app.
UIAlertView *igcredits = [[UIAlertView alloc] initWithTitle:@"FlappyGolf2 Cheats" 
                                                  message:@"\nFlappyGolf2 Cheats by AxCE for iOSGods.com"
                                                 delegate:self 
                                                                                cancelButtonTitle:@"Thanks" 
                                                                                otherButtonTitles:@"Visit Us", nil]; 
[igcredits show];
[igcredits release]; 
return %orig();
}
 
%new
-(void)alertView:(UIAlertView *)alertView clickedButtonAtIndex:(NSInteger)buttonIndex {
 
NSString *button = [alertView buttonTitleAtIndex:buttonIndex];
 
        if([button isEqualToString:@"Visit Us"])
        {
                [[UIApplication sharedApplication] openURL:[NSURL URLWithString:@"http://iosgods.com/"]];                                                                                
        }
}
%end 
Posted

Lldb not working with port. I try to reroute the port to port 23 but lldb doesn't let me in.

Try a different port and @@AxCE no I do not

Posted

Try a different port and @@AxCE no I do not

Still not working

Bruh, do you think im able to make an aimbot ? xD i just created a gravity field around the hole...Sure,

#define PLIST_PATH @"/var/mobile/Library/Preferences/com.iosgods.fg2.plist"
 
inline bool GetPrefBool(NSString *key) {
return [[[NSDictionary dictionaryWithContentsOfFile:PLIST_PATH] valueForKey:key] boolValue];
}

%hook UserDataManager
 
-(bool)isWorldUnlocked:(id)argument {
if(GetPrefBool(@"key1")) {
argument = NULL;
}
return %orig;
}

%end

%hook DalyChallenge

-(unsigned long long)remainingAttempts {       
if(GetPrefBool(@"key2")) {
return 999999;
}
return %orig;
}

%end

%hook LocalUserData
-(int)currentBux {
if(GetPrefBool(@"key3")) {
return 999999999;
}
return %orig;
}

%end

%hook GamePlayer

-(void)setShieldOn:(bool)argument {
if(GetPrefBool(@"key4")) {
argument = TRUE;
}
return %orig;
}


-(void)setGravityOn:(bool)argument {
if(GetPrefBool(@"key5")) {
argument = TRUE;
}
return %orig;
}

%end

%hook SandTrapSprite
 
-(void)setRectArray:(id)argument {
if(GetPrefBool(@"key6")) {
argument = NULL;
}
return %orig;
}

%end

%hook TrailCard
 
-(bool)isUnlocked {
if(GetPrefBool(@"key7")) {
return TRUE;
}
return %orig;
}

%end

%hook GolferCard
 
-(bool)isUnlocked {
if(GetPrefBool(@"key7")) {
return TRUE;
}
return %orig;
}

%end

%hook GravityFieldSprite

-(void)setWidth:(int)argument {
if(GetPrefBool(@"key8")) {
argument = 9999;
}
return %orig;
}



-(void)setHeight:(int)argument {
if(GetPrefBool(@"key8")) {
argument = 9999;
}
return %orig;
}


-(void)setStrength:(int)argument {
if(GetPrefBool(@"key8")) {
argument = -70;
}
return %orig;
}


-(void)setTintColor:(id)argument {
if(GetPrefBool(@"key8")) {
argument = NULL;
}
return %orig;
}

%end

%hook ShieldAnimation

-(void)setRadius:(int)argument {
if(GetPrefBool(@"key9")) {
argument = -70;
}
return %orig;
}

%end



/* Popup with a link 

Varieties of a UIAlertView Popup can be found here: http://iosgods.com/topic/13988-varieties-of-uialertview-types-to-use-in-your-tweaks-patchers/

*/


%hook AppDelegate // Change this with your Application's Delegate. AppController, UnityAppController, GameDelegate etc.

- (BOOL)application:(id)fp8 didFinishLaunchingWithOptions:(id)fp12 { // Popup only once at each launch of the app.
UIAlertView *igcredits = [[UIAlertView alloc] initWithTitle:@"FlappyGolf2 Cheats" 
                                                  message:@"\nFlappyGolf2 Cheats by AxCE for iOSGods.com"
                                                 delegate:self 
                                                                                cancelButtonTitle:@"Thanks" 
                                                                                otherButtonTitles:@"Visit Us", nil]; 
[igcredits show];
[igcredits release]; 
return %orig();
}
 
%new
-(void)alertView:(UIAlertView *)alertView clickedButtonAtIndex:(NSInteger)buttonIndex {
 
NSString *button = [alertView buttonTitleAtIndex:buttonIndex];
 
        if([button isEqualToString:@"Visit Us"])
        {
                [[UIApplication sharedApplication] openURL:[NSURL URLWithString:@"http://iosgods.com/"]];                                                                                
        }
}
%end 

Thanks man! I can use this for future reference.

Posted

No Problem.

So how would I add setShieldOn and setGravityOn in MY tweak.xm? Here's mine...

 

 

#include <UIKit/UIKit.h>

 

%hook UserDataManager

 

-(bool)isTrailUnlocked:(int)fp8 {

return TRUE;

fp8 = %orig;

 

}

 

-(bool)isCharacterUnlocked:(int)fp8 {

return TRUE;

fp8 = %orig;

 

}

 

 

-(bool)isHatUnlocked:(int)fp8 {

return TRUE;

fp8 = %orig;

 

}

 

 

-(bool)isPowerupUnlocked:(int)fp8 {

return TRUE;

fp8 = %orig;

 

}

 

 

-(bool)isWorldUnlocked:(int)fp8 {

return TRUE;

fp8 = %orig;

 

}

 

%end

 

%hook GamePlayer

 

-(void)setGravityOn:(bool)

 

-(void)setShieldOn:(bool)

 

%end

 

%hook AppDelegate

-(void)applicationDidBecomeActive:(id)argument {

UIAlertView *alert = [[uIAlertView alloc] initWithTitle:@"FlappyGolf2Hack" message:@"Hacked by Sunny Patel" delegate:nil cancelButtonTitle:@"Thanks" otherButtonTitles:nil];

[alert show];

[alert release];

}

%end

Posted

So how would I add setShieldOn and setGravityOn in MY tweak.xm? Here's mine...

#include <UIKit/UIKit.h>

%hook UserDataManager

-(bool)isTrailUnlocked:(int)fp8 {

return TRUE;

fp8 = %orig;

}

-(bool)isCharacterUnlocked:(int)fp8 {

return TRUE;

fp8 = %orig;

}

-(bool)isHatUnlocked:(int)fp8 {

return TRUE;

fp8 = %orig;

}

-(bool)isPowerupUnlocked:(int)fp8 {

return TRUE;

fp8 = %orig;

}

-(bool)isWorldUnlocked:(int)fp8 {

return TRUE;

fp8 = %orig;

}

%end

%hook GamePlayer

-(void)setGravityOn:(bool)

-(void)setShieldOn:(bool)

%end

%hook AppDelegate

-(void)applicationDidBecomeActive:(id)argument {

UIAlertView *alert = [[uIAlertView alloc] initWithTitle:@"FlappyGolf2Hack" message:@"Hacked by Sunny Patel" delegate:nil cancelButtonTitle:@"Thanks" otherButtonTitles:nil];

[alert show];

[alert release];

}

%end

Why don't you have it like me, i mean why do you have fp8 n stuff?
Posted

Why don't you have it like me, i mean why do you have fp8 n stuff?

Sorry man I figured it out. I rewrote the code to look like yours and it was a big help man. I really appreciate it! Thanks

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
  • Our picks

    • Good Pizza, Great Pizza v5.32.2 +8 Jailed Cheats [ Unlimited Currencies ]
      Modded/Hacked App: Good Pizza, Great Pizza By TAPBLAZE, LLC
      Bundle ID: com.tapblaze.pizzabusiness
      iTunes Store Link: https://apps.apple.com/us/app/good-pizza-great-pizza/id911121200?uo=4


      Hack Features:
      - Unlimited Cash
      - Unlimited Diamonds
      - Unlimited Pizza Pass Claim -> Only works if you haven't claimed that reward yet.

      VIP
      - Unlimited Pizza Pass Tokens
      - Chef Pass Unlocked
      - Max Pizza Pass Level
      - Starter Bundle Unlocked
      - All Achievements Completed
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 354 replies
    • Good Pizza, Great Pizza v5.32.2 +8 Cheats [ Unlimited Currencies ]
      Modded/Hacked App: Good Pizza, Great Pizza By TAPBLAZE, LLC
      Bundle ID: com.tapblaze.pizzabusiness
      iTunes Store Link: https://apps.apple.com/us/app/good-pizza-great-pizza/id911121200?uo=4


      Hack Features:
      - Unlimited Cash
      - Unlimited Diamonds
      - Unlimited Pizza Pass Claim -> Only works if you haven't claimed that reward yet. 

      VIP
      - Unlimited Pizza Pass Tokens 
      - Chef Pass Unlocked 
      - Max Pizza Pass Level 
      - Starter Bundle Unlocked 
      - All Achievements Completed
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 186 replies
    • Project Makeover v2.117.1 +4 Jailed Cheats [ Unlimited Currencies ]
      Modded/Hacked App: Project Makeover By Magic Tavern, Inc.
      Bundle ID: com.bgg.jump
      App Store Link: https://apps.apple.com/us/app/project-makeover/id1483058899?uo=4

       
       

      🤩 Hack Features

      - Unlimited Cash
      - Unlimited Coins
      - Unlimited Gems
      - Unlimited Lives

      This hack was made by @Cashlaz. Give him all your love & appreciation! ❤️
        • Thanks
        • Like
      • 9 replies
    • Project Makeover ( All Versions ) +4 Cheats [ Unlimited Currencies ]
      Modded/Hacked App: Project Makeover By Magic Tavern, Inc.
      Bundle ID: com.bgg.jump
      App Store Link: https://apps.apple.com/us/app/project-makeover/id1483058899?uo=4

       
       

      🤩 Hack Features

      - Unlimited Cash
      - Unlimited Coins
      - Unlimited Gems
      - Unlimited Lives

      This hack was made by @Cashlaz. Give him all your love & appreciation! ❤️
        • Thanks
        • Like
      • 9 replies
    • Classroom of the Elite v1.0.1 +8 Jailed Cheats [ Unlimited Currencies ]
      Modded/Hacked App: Classroom of the Elite By Crunchyroll, LLC
      Bundle ID: com.crunchyroll.gv.classroomoftheelite
      App Store Link: https://apps.apple.com/us/app/classroom-of-the-elite/id6670073323?uo=4

       
       

      🤩 Hack Features

      - Freeze Energy
      - Freeze Gems
      - Auto Win
      -- Full Game Unlocked

      VIP
      - Unlimited Coins -> Earn some.
      - Unlimited Gems -> Spend some.
      - Unlimited Energy - Earn some.
      - Unlimited XP -> Earn some.
      • 1 reply
    • Classroom of the Elite v1.0.1 +8 Cheats [ Unlimited Currencies ]
      Modded/Hacked App: Classroom of the Elite By Crunchyroll, LLC
      Bundle ID: com.crunchyroll.gv.classroomoftheelite
      App Store Link: https://apps.apple.com/us/app/classroom-of-the-elite/id6670073323?uo=4

       


      🤩 Hack Features

      - Freeze Energy
      - Freeze Gems
      - Auto Win
      -- Full Game Unlocked

      VIP
      - Unlimited Coins -> Earn some.
      - Unlimited Gems -> Spend some.
      - Unlimited Energy - Earn some.
      - Unlimited XP -> Earn some.
        • Like
      • 0 replies
    • Zombie Infinity v1.8.1 [ +5 Cheats ] Currency Max
      Modded/Hacked App: Zombie Infinity By kamasu.jp Inc.
      Bundle ID: jp.kamasu.oread
      App Store Link: https://apps.apple.com/ph/app/zombie-infinity/id6736433765?uo=4


      🤩 Hack Features

      - ADS Pass

      - Energy Pass

      - Premium Pass

      - Currency

      - Hero Status [ HP - DMG ]
      • 1 reply
    • Zombie Infinity v1.8.1 [ +5 Jailed ] Currency Max
      Modded/Hacked App: Zombie Infinity By kamasu.jp Inc.
      Bundle ID: jp.kamasu.oread
      App Store Link: https://apps.apple.com/ph/app/zombie-infinity/id6736433765?uo=4


      🤩 Hack Features

      - ADS Pass

      - Energy Pass

      - Premium Pass

      - Currency

      - Hero Status [ HP - DMG ]
      • 1 reply
    • GrandChase Cheats v1.91.2 +4 [ Multiply Attack & More ]
      Modded/Hacked App: GrandChase By KOG co., Ltd
      Bundle ID: com.kog.grandchaseglobal
      iTunes Store Link: https://itunes.apple.com/us/app/grandchase/id1385904294?mt=8&uo=4&at=1010lce4

      Mod Requirements:
      - Jailbroken iPhone/iPad/iPod Touch.
      - iFile / Filza / iFunBox / iTools or any other file managers for iOS.
      - Cydia Substrate or Substitute.
      - PreferenceLoader (from Cydia or Sileo).


      Hack Features:
      - x Player Damage - x1 - 100
      - x Player HP - x1 - 100
      - Auto-Win
      - Unlimited Skills

      All features are unlinked and only for player, you!

      This hack is an In-Game Mod Menu (iGMM). In order to activate the Mod Menu, tap on the iOSGods button found inside the app. This hack works on the latest x64 or ARM64 iDevices: iPhone 5s, 6, 6 Plus, 6s, 6s Plus, 7, 7 Plus, 8, 8 Plus, X, Xr, Xs, Xs Max, SE, iPod Touch 6G, iPad Air, Air 2, Pro & iPad Mini 2, 3, 4 and later.
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 1,466 replies
    • Earn to Die Rogue v1.14.178 +15 Jailed Cheats [ Unlimited Currencies ]
      Modded/Hacked App: Earn to Die Rogue By Not Doppler Pty Limited
      Bundle ID: com.notdoppler.earntodierogue
      iTunes Store Link: https://apps.apple.com/us/app/earn-to-die-rogue/id1564024870?uo=4


      Hack Features:
      - Unlimited Cash
      - Unlimited Gold
      - Unlimited Skill Tree Tokens


      Jailbreak required hack(s): [Mod Menu Hack] Earn to Die Rogue v1.00.96 +2 Cheats [ Unlimited Currencies ] - Free Jailbroken Cydia Cheats - iOSGods
      Modded Android APK(s): https://iosgods.com/forum/68-android-section/
      For more fun, check out the Club(s): https://iosgods.com/clubs/
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 266 replies
    • Earn to Die Rogue v1.14.178 +15 Cheats [ Unlimited Currencies ]
      Modded/Hacked App: Earn to Die Rogue By Not Doppler Pty Limited
      Bundle ID: com.notdoppler.earntodierogue
      iTunes Store Link: https://apps.apple.com/us/app/earn-to-die-rogue/id1564024870?uo=4


      Hack Features:
      - Unlimited Cash
      - Unlimited Gold
      - Unlimited Skill Tree Tokens


      Non-Jailbroken & No Jailbreak required hack(s): [Non-Jailbroken Hack] Earn to Die Rogue v1.00.96 +2 Jailed Cheats [ Unlimited Currencies ] - Free Non-Jailbroken IPA Cheats - iOSGods
      Modded Android APK(s): https://iosgods.com/forum/68-android-section/
      For more fun, check out the Club(s): https://iosgods.com/clubs/
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 156 replies
    • Virtual Villagers 6 v1.9.7 +100 Jailed Cheats [ Cheats Menu ]
      Modded/Hacked App: Virtual Villagers 6 By LDW Software, LLC
      Bundle ID: com.ldw.vv6
      iTunes Store Link: https://apps.apple.com/us/app/virtual-villagers-6/id6566193928?uo=4

       
       

      Hack Features

      - Cheats Menu -> Head into Settings, toggle the Help button, close settings then re-open to show a Cheats button.*
      - Unlimited Food*
      - Unlimited Wood*
      - Unlimited Stone*
      - Unlimited Tech Points*
      - Unlimited Lavastone*

      * - Head into Settings and toggle the Help button. Only enable 1 feature at a time.


      Jailbreak required iOS hacks: [Mod Menu Hack] Virtual Villagers 6 v1.3.23 +100 Cheats [ Cheats Menu ] - Free Jailbroken Cydia Cheats - iOSGods
      Modded Android APKs: https://iosgods.com/forum/68-android-section/
        • Agree
        • Like
      • 8 replies
×
  • 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