Jump to content

Challenges in Creating a Mod Menu for Free Fire: Sensitivity Settings as a PC Player


4 posts in this topic

Recommended Posts

Posted

and well, I'm having problems with creating a hack for free fire due to its peculiarity and I want to make a mod menu that allows you to configure the sensitivity of the game as if you were a PC player, the problem is that I have no experience and I don't know of codes, who could create or help me create a code for this hack?

I hope you can help me although I know that this task is quite a challenge.

Posted

My code so far: 

#import "MyTweak.h"

%hook SBLaunchAlert

- (void)alertViewWillShow:(UIAlertView*)alertView {
    %orig;
    
    UIAlertView *customAlert = [[UIAlertView alloc] initWithTitle:@"¡Hola!"
                                                         message:@"Esta es tu alerta personalizada"
                                                        delegate:nil
                                               cancelButtonTitle:@"OK"
                                               otherButtonTitles:nil];
    [customAlert show];
}

%end

%hook SBTouchHandler

- (void)touchesBegan:(NSSet<UITouch *> *)touches withEvent:(UIEvent *)event {
    %orig;
    
    UIActionSheet *sensitivityMenu = [[UIActionSheet alloc] initWithTitle:@"Sensibilidad"
                                                                delegate:nil
                                                       cancelButtonTitle:@"Cancelar"
                                                  destructiveButtonTitle:nil
                                                       otherButtonTitles:@"Opción 1", @"Opción 2", nil];
    [sensitivityMenu showFromRect:[touches.anyObject locationInView:touches.anyObject.window]
                             inView:touches.anyObject.window
                        animated:YES];
    
    if ([sensitivityMenu clickedButtonIndex] == 0) {
        // Acción para la opción 1
    } else if ([sensitivityMenu clickedButtonIndex] == 1) {
        // Acción para la opción 2
    }
}

%end

Posted (edited)

Update version :

#import "MyTweak.h"


%hook GarenaFreeFire

- (void)showAlert {
    %orig;
    
    // Muestro mi alerta personalizada
    UIAlertController *customAlert = [UIAlertController alertControllerWithTitle:@"¡Hola!"
                                                                         message:@"Esta es tu alerta personalizada"
                                                                  preferredStyle:UIAlertControllerStyleAlert];
    UIAlertAction *okAction = [UIAlertAction actionWithTitle:@"OK" style:UIAlertActionStyleDefault handler:nil];
    [customAlert addAction:okAction];
    [self presentViewController:customAlert animated:YES completion:nil];
}

- (void)showSensitivityMenu {
    %orig;
    
    // Muestro mi menú de sensibilidad personalizado
    UIAlertController *sensitivityMenu = [UIAlertController alertControllerWithTitle:@"Sensibilidad"
                                                                             message:nil
                                                                      preferredStyle:UIAlertControllerStyleActionSheet];
    UIAlertAction *option1 = [UIAlertAction actionWithTitle:@"Opción 1" style:UIAlertActionStyleDefault handler:^(UIAlertAction * _Nonnull action) {
        // Acción para la opción 1
    }];
    UIAlertAction *option2 = [UIAlertAction actionWithTitle:@"Opción 2" style:UIAlertActionStyleDefault handler:^(UIAlertAction * _Nonnull action) {
        // Acción para la opción 2
    }];
    UIAlertAction *cancelAction = [UIAlertAction actionWithTitle:@"Cancelar" style:UIAlertActionStyleCancel handler:nil];
    
    [sensitivityMenu addAction:option1];
    [sensitivityMenu addAction:option2];
    [sensitivityMenu addAction:cancelAction];
    
    [self presentViewController:sensitivityMenu animated:YES completion:nil];
}

%end
 

Updated by Danny Dariel
Posted

Update my code :

#import <UIKit/UIKit.h>
#import <GarenaFreeFire/GarenaFreeFire.h>

%hook GarenaFreeFire

- (void)showAlert {
    %orig; // Original call to showAlert function

    dispatch_async(dispatch_get_main_queue(), ^{
        [self showAlertCustom];
    });
}

- (void)showAlertCustom {
    UIAlertController *customAlert = [UIAlertController alertControllerWithTitle:@"Hello!"
                                                                        message:@"Hacks for everyone"
                                                                 preferredStyle:UIAlertControllerStyleActionSheet];

    UIAlertAction *customAction = [UIAlertAction actionWithTitle:@"Custom Option"
                                                           style:UIAlertActionStyleDefault
                                                         handler:^(UIAlertAction *action) {
                                                             [self showSensitivityMenu];
                                                         }];
    [customAlert addAction:customAction];
    [self presentViewController:customAlert animated:YES completion:nil];
}

- (void)showSensitivityMenu {
    // Put your sensitivity menu code here (make sure it uses %orig; if needed)
    %orig; // calling original `showSensitivityMenu` method
    
    // Add custom logic for sensitivity menu, independent settings for vertical and horizontal sensitivity
}

// Assuming showSensibilityVertical and showSensibilityHorizontal are needed methods
- (void)showSensibilityVertical {
    // Put your vertical sensitivity logic here
    %orig; // calling original `showSensibilityVertical` method
}

- (void)showSensibilityHorizontal {
    // Put your horizontal sensitivity logic here
    %orig; // calling original `showSensibilityHorizontal` method
}

%end

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

    • Astrea: Six-Sided Oracles v1.2.778 +5 Jailed Cheats [ Damage & Defence ]
      Modded/Hacked App: Astrea: Six-Sided Oracles By Akupara Games
      Bundle ID: com.littleleogames.astreasixsidedoracles
      iTunes Store Link: https://apps.apple.com/us/app/astrea-six-sided-oracles/id6746136017

       
       

      🤩 Hack Features

      - Damage Multiplier
      - Defence Multiplier
      - God Mode
      - Freeze Hearts
      - Unlimited Star Shards -> Earn some.
      • 9 replies
    • Astrea: Six-Sided Oracles v1.2.778 +5 Cheats [ Damage & Defence ]
      Modded/Hacked App: Astrea: Six-Sided Oracles By Akupara Games
      Bundle ID: com.littleleogames.astreasixsidedoracles
      iTunes Store Link: https://apps.apple.com/us/app/astrea-six-sided-oracles/id6746136017

       
       

      🤩 Hack Features

      - Damage Multiplier
      - Defence Multiplier
      - God Mode
      - Freeze Hearts
      - Unlimited Star Shards -> Earn some.
      • 4 replies
    • EvoCreo 2: Monster Trainer RPG v1.5.1 +8 Jailed Cheats [ Damage + More ]
      Modded/Hacked App: EvoCreo 2: Monster Trainer RPG By Ilmfinity Studios LLC
      Bundle ID: com.ilmfinity.evocreo2
      iTunes Store Link: https://apps.apple.com/us/app/evocreo-2-monster-trainer-rpg/id1499001662?uo=4

       


      🤩 Hack Features

      - Unlimited Money -> Will increase instead of decrease.
      - Unlimited Skill Points
      - Unlimited Bag Items -> Will increase instead of decrease.
      - Prestige Cleo Allowed
      - Max Creo Level -> Earn some XP.
      - Damage Multiplier - Linked -> Affects both you and enemy. Use carefully.
      - Free In-App Purchases
      - Unlock All Achievements/Badges
      • 38 replies
    • EvoCreo 2: Monster Trainer RPG v1.5.1 +8 Cheats [ Damage + More ]
      Modded/Hacked App: EvoCreo 2: Monster Trainer RPG By Ilmfinity Studios LLC
      Bundle ID: com.ilmfinity.evocreo2
      iTunes Store Link: https://apps.apple.com/us/app/evocreo-2-monster-trainer-rpg/id1499001662?uo=4

       


      🤩 Hack Features

      - Unlimited Money -> Will increase instead of decrease.
      - Unlimited Skill Points
      - Unlimited Bag Items -> Will increase instead of decrease.
      - Prestige Cleo Allowed
      - Max Creo Level -> Earn some XP.
      - Damage Multiplier - Linked -> Affects both you and enemy. Use carefully.
      - Free In-App Purchases
      - Unlock All Achievements/Badges
      • 24 replies
    • Planet Crusher - Dig & Drill v0.13.2 +8 Jailed Cheats [ Unlimited Currencies ]
      Modded/Hacked App: Planet Crusher - Dig & Drill By Gryphon Games UG (haftungsbeschrankt)
      Bundle ID: com.gryphongames.planetcrusher
      App Store Link: https://apps.apple.com/us/app/planet-crusher-dig-drill/id6738657101?uo=4

       
       

      🤩 Hack Features

      - God Mode
      - Damage Multiplier
      - Drill Damage Multiplier
      - No Knockback
      - Unlimited Currencies -> Will increase instead of decrease.
      - All Planets Unlocked
      - Battle Pass Unlocked
      -- No Ads
      • 30 replies
    • Planet Crusher - Dig & Drill v0.13.2 +8 Cheats [ Unlimited Currencies ]
      Modded/Hacked App: Planet Crusher - Dig & Drill By Gryphon Games UG (haftungsbeschrankt)
      Bundle ID: com.gryphongames.planetcrusher
      App Store Link: https://apps.apple.com/us/app/planet-crusher-dig-drill/id6738657101?uo=4

       
       

      🤩 Hack Features

      - God Mode
      - Damage Multiplier
      - Drill Damage Multiplier
      - No Knockback
      - Unlimited Currencies -> Will increase instead of decrease.
      - All Planets Unlocked
      - Battle Pass Unlocked
      -- No Ads
      • 11 replies
    • Darts Club v6.2.6 +28 Jailed Cheats [ Debug Menu ]
      Modded/Hacked App: Darts Club By BoomBit, Inc.
      Bundle ID: com.boombitgames.DartsClub
      iTunes Store Link: https://apps.apple.com/us/app/darts-club/id1389760587?uo=4


      Hack Features:
      - Unlimited Currencies
      - Debug Menu -> Head into Settings and toggle the DEBUG button. [ VIP ]
      -> Add Soft
      -> Add Hard
      -> Add Trophies
      -> Unlock All Parts/Emotes/Vanities/Wild Items
      + More!


      Jailbreak required hack(s): [Mod Menu Hack] Darts Club v5.8.6 +28 Cheats [ Debug Menu ] - 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/
      • 26 replies
    • Darts Club v6.2.6 +28 Cheats [ Debug Menu ]
      Modded/Hacked App: Darts Club By BoomBit, Inc.
      Bundle ID: com.boombitgames.DartsClub
      iTunes Store Link: https://apps.apple.com/us/app/darts-club/id1389760587?uo=4


      Hack Features:
      - Unlimited Currencies
      - Debug Menu -> Head into Settings and toggle the DEBUG button. [ VIP ]
      -> Add Soft
      -> Add Hard
      -> Add Trophies
      -> Unlock All Parts/Emotes/Vanities/Wild Items
      + More!


      Non-Jailbroken & No Jailbreak required hack(s): [IPA Mod Menu] Darts Club v5.8.6 +28 Jailed Cheats [ Debug Menu ] - 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/
      • 25 replies
    • Tiny Tower: Tap Idle Evolution v6.9.1 +2++ Jailed Cheats [ Currencies ]
      Modded/Hacked App: Tiny Tower: Tap Idle Evolution By NimbleBit LLC
      Bundle ID: com.eeenmachine.tinytowers
      iTunes Store Link: https://apps.apple.com/us/app/tiny-tower-tap-idle-evolution/id422667065?uo=4


      Hack Features:
      - Unlimited Currencies -> Will increase instead of decrease.
      - VIP Enabled


      Jailbreak required hack(s): [Mod Menu Hack] Tiny Tower: Tap Idle Evolution v5.8.0 +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/
      • 23 replies
    • Mystery Matters v3.2.1 +6 Jailed Cheats [ Unlimited Currencies ]
      Modded/Hacked App: Mystery Matters By Playrix
      Bundle ID: com.playrix.mystery-matters
      iTunes Store Link: https://apps.apple.com/us/app/mystery-matters/id6450447751
       

      Hack Features:
      - Freeze Coins
      - Freeze Stars
      - Freeze Lives
      - Freeze Moves

      VIP
      Note - These features will get you banned from teams/clans.
      - Unlimited Coins -> Earn or spend some.
      - Unlimited Stars -> Earn some.
      • 57 replies
    • Mystery Matters v3.2.1 +6 Cheats [ Unlimited Currencies ]
      Modded/Hacked App: Mystery Matters By Playrix
      Bundle ID: com.playrix.mystery-matters
      iTunes Store Link: https://apps.apple.com/us/app/mystery-matters/id6450447751
       

      Hack Features:
      - Freeze Coins
      - Freeze Stars
      - Freeze Lives
      - Freeze Moves

      VIP
      Note - These features will get you banned from teams/clans.
      - Unlimited Coins -> Earn or spend some.
      - Unlimited Stars -> Earn some.
      • 53 replies
    • Elysia: The Astral Fall v1.1.1 +4 Jailed Cheats [ Damage & Defence ]
      Modded/Hacked App: Elysia: The Astral Fall By Panthera Joint Stock Company
      Bundle ID: com.pantheraplay.projecth
      App Store Link: https://apps.apple.com/us/app/elysia-the-astral-fall/id6737166302?uo=4

       


      🤩 Hack Features

      - Damage Multiplier
      - Defence Multiplier
      - God Mode
      - Unlimited Currencies -> Will increase instead of decrease.
      • 54 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