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

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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below. For more information, please read our Posting Guidelines.
Reply to this topic... Posting Guidelines

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Our picks

    • Man of War! v0.1.0 [+3 Jailed Cheats]
      Modded/Hacked App: Man of War! By EpiCoro d.o.o.
      Bundle ID: com.epicoro.manofwar
      iTunes Store Link: https://apps.apple.com/us/app/man-of-war/id6483865641?uo=4



      🤩 Hack Features

      - Never Die
      - Auto Win (Enable inside battle)
      - Add Currency
      • 0 replies
    • Man of War! v0.1.0 [+3 Cheats]
      Modded/Hacked App: Man of War! By EpiCoro d.o.o.
      Bundle ID: com.epicoro.manofwar
      iTunes Store Link: https://apps.apple.com/us/app/man-of-war/id6483865641?uo=4



      🤩 Hack Features

      - Never Die
      - Auto Win (Enable inside battle)
      - Add Currency
       
      • 0 replies
    • Boomerang RPG 1st Anniversary! v2.0.3 +4 Jailed Cheats
      Modded/Hacked App: Boomerang RPG By SuperPlanet corp.
      Bundle ID: com.superplanet.boomerang
      iTunes Store Link: https://apps.apple.com/us/app/boomerang-rpg/id6472151756?uo=4


      Mod Requirements:
      - Non-Jailbroken/Jailed or Jailbroken iPhone/iPad/iPod Touch.
      - Sideloadly / Cydia Impactor or alternatives.
      - A Computer Running Windows/macOS/Linux with iTunes installed.


      Hack Features:
      - God mode
      - High damage
      - Fast attack
      • 58 replies
    • Boomerang RPG 1st Anniversary! v2.0.3 +4 Cheats
      Modded/Hacked App: Boomerang RPG By SuperPlanet corp.
      Bundle ID: com.superplanet.boomerang
      iTunes Store Link: https://apps.apple.com/us/app/boomerang-rpg/id6472151756?uo=4


      Mod Requirements:
      - Jailbroken iPhone/iPad/iPod Touch.
      - iGameGod / Filza / iMazing or any other file managers for iOS.
      - Cydia Substrate, ElleKit, Substitute or libhooker depending on your jailbreak.
      - PreferenceLoader (from Cydia, Sileo or Zebra).


      Hack Features:
      - God mode
      - Fast attack
      - High damage
      • 90 replies
    • Prince of Persia Lost Crown v1.0.0 +9 Cheats [ God / O-HK ]
      Modded/Hacked App: Prince of Persia Lost Crown By Ubisoft
      Bundle ID: com.ubisoft.princeofpersia.thelostcrown.mobile.action.adventure.platform
      iTunes Store Link: https://apps.apple.com/us/app/prince-of-persia-lost-crown/id6504011865?uo=4

       
       

      🤩 Hack Features

      - God Mode
      - One-Hit Kill -> Linked. Use with God Mode.
      -- Full Game Unlocked
      • 12 replies
    • Crashlands 2 v100.1.372 +2 Jailed Cheats [ One-Hit Kill ]
      Modded/Hacked App: Crashlands 2 By Butterscotch Shenanigans, Inc.
      Bundle ID: com.bscotch.crashlands2
      iTunes Store Link: https://apps.apple.com/us/app/crashlands-2/id1528199331?uo=4

       


      🤩 Hack Features

      - One-Hit Kill
      - No Skill Cooldown
      • 4 replies
    • Scolopendra v1.0.0 Debug Menu [+4 Cheats]
      Modded/Hacked App: Scolopendra By 24 HIT Riga SIA
      Bundle ID: com.game.scolopendra
      iTunes Store Link: https://apps.apple.com/us/app/scolopendra/id6742407695?uo=4



      🤩 Hack Features

      - Debug Menu (Enable and Debug Menu Will Appear)

      • 2 replies
    • Scolopendra v1.0.0 Debug Menu [+4 Jailed Cheats]
      Modded/Hacked App: Scolopendra By 24 HIT Riga SIA
      Bundle ID: com.game.scolopendra
      iTunes Store Link: https://apps.apple.com/us/app/scolopendra/id6742407695?uo=4



      🤩 Hack Features

      - Debug Menu (Enable and Debug Menu Will Appear)

      • 0 replies
    • Towers Survivors v0.1.1 [+3 Cheats]
      Modded/Hacked App: Towers Survivors By Martin Quinones
      Bundle ID: com.Pizia.Towers-Survivors
      iTunes Store Link: https://apps.apple.com/us/app/towers-survivors/id6738764422?uo=4


      🤩 Hack Features

      - Never Die
      - Unlimited Currency (Will Always Increase)
      - Unlimited Energy (Will Always Increase)
      • 1 reply
    • Towers Survivors v0.1.1 [+3 Jailed Cheats]
      Modded/Hacked App: Towers Survivors By Martin Quinones
      Bundle ID: com.Pizia.Towers-Survivors
      iTunes Store Link: https://apps.apple.com/us/app/towers-survivors/id6738764422?uo=4



      🤩 Hack Features

      - Never Die
      - Unlimited Currency (Will Always Increase)
      - Unlimited Energy (Will Always Increase)
      • 0 replies
    • Fun Run 3 - Multiplayer Games Cheats v4.47.1 +1
      Modded/Hacked App: Fun Run 3: Arena Running Game By Dirtybit
      Bundle ID: com.dirtybit.fra
      iTunes Store Link: https://itunes.apple.com/us/app/fun-run-3-arena-running-game/id1118878857?mt=8&uo=4&at=1010lce4


      Hack Features:
      - God Mode
       

      Hack Download Link: https://iosgods.com/topic/75790-arm64-fun-run-3-arena-running-game-cheats-v210-1/
      • 1,280 replies
    • Super Arrow Online Cheats v1.56.1 +3
      Modded/Hacked App: Super Arrow Idle By MOBIRIX
      Bundle ID: com.mobirix.sao
      iTunes Store Link: https://apps.apple.com/us/app/super-arrow-idle/id1635307668?uo=4


      Hack Features:
      - Infinite Currencies ( Read NOTE )
      - God Mode
      - Weak Enemies ( Enable before start )


      This cheat is fully tested on my device JB ( Odyssey/ Odsseyra1n/ Taurine). If your jailbreak is not supported you will get detection error and do not ask me. AGAIN DO NOT BUY VIP FOR JUST THIS CHEAT

      iOS Hack Download Link: https://iosgods.com/topic/167081-super-arrow-idle-cheats-v154-3/
      • 505 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