Jump to content

Flex 2 Patch Conversation FUM


castix

7 posts in this topic

Recommended Posts

This topic issues the Flex 2 patch conversation for frequently used methods. You are expected to have some basic knowledge of the coding languages Objective-C or Swift or at least have a decent understanding of code and logical thinking. What I mostly see when people in help are trying to convert a patch to a tweak is a simple lack of logical sequence as they progress through methods with only one minor change in the code itself and they get stuck at this point. I hereby want to assist you in converting most frequently used methods and functions alike as those can be applied on every method of its kind.
 
 
 
First some "typedefs" Flex 2 uses:
 
target class - header
units - methods
override type - parameter
override value - return value





void
 
The most commonly used function parameter you will find. void simply calls a method to be executed. There are multiple varities of it and I will be going into detail below. 

void:

- (void)playerCanDie

Here you can see a void function. What is does is, for instance when the players hits an obstacle it calls the method to let the player die. If we make the void execute nothing, our player cannot die.


Flex 2:

Target Method
- (void)playerCanDie

Return Value (void)
pass-through 

Fom my understanding Flex 2 uses pass-through to compansate empty spaces or serves as replacement for NULL/nil.

 

Converted to Objective-C:

- (void)playerCanDie {

} 

As you can see there is nothing between the code brackets to be returned or anything. pass-through really pisses me off since it causes such a fuss when converting.



void with arguments:

- (void)setPlayerMoney:(int)withGold:(int)

It does not matter how many arguments a method has. Keep calm and think logically so you can deal with any amount of arguments coming at you (even when not used in conjunction with void methods).

 

Flex 2

Target Method
- (void)setPlayerMoney:(int)withGold:(int)

Return Value (void)
pass-through

Argument #1 (int)
999999

Argument #2 (int)
999999

Converted to Objective-C:

- (void)setPlayerMoney:(int)fp8 withGold:(int)fp12 {
fp8 = 99999;
fp12 = 999999;
%orig;
}

fp8 is the unique identifier of the int argument allocated to the money. It can literally be anything you want as long you only use it once within a method. %orig calls the original method since we do not want to touch the void here.

- (void)setPlayerMoney:(int)sexyass withGold:(int)drinkyourmilk {
sexyass = 99999;
drinkyourmilk = 999999;
%orig;
}





int
 
integer also known as int are numeric parameters and give a fixed value when the method is called.

int:

- (int)money

Here you can see an int function. It holds your current amount of money in the game. If we set the value really high, we have more cash than we ever need. $_$


Flex 2:

Target Method
- (int)money

Return Value (int)
999999

 
Converted to Objective-C:

- (int)money {
return 999999;
}

double are also typedefs of int.

 

 

int with arguments:
see void with arguments






bool

booleans also known as bool are conditional parameters and determine whether something is true or false

bool:

- (bool)isLevelUnlocked

Here you can see a bool function. It holds the value of the level being unlocked or not (value as in 1=true; 0=false). If we set it to true, the level is unlocked for us.


Flex 2:

Target Method (BOOL)
- (bool)isLevelUnlocked

Return Value (BOOL)
TRUE

Converted to Objective-C:

- (bool)isLevelUnlocked {
return true;
}

There is no actual difference between true/false, TRUE/FALSE, Yes/No it's personal preference.

 

 

 

bool with arguments:

see void with arguments

 

 

 

 

 

 

float

 

float are numeric parameters and give a point value when the method is called.

 

float:

- (float)velocity

Here you can see a float function. For instance it determines how fast our car drives. If we set it to a high value, we will be unbeatable in races.

 

 

Flex 2:

Target Method (float)
- (float)velocity

Return Value (float)
500.00

Converted to Objective-C:

- (float)velocity {
return 500.00f
}

long and long long are also typedefs of float.

 

 

 

float with arguments:

see void with arguments

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

  • Our picks

    • Polygon Arena: Online Shooter v0.593 +2 Jailed Cheats [ Unlimited Ammo ]
      Modded/Hacked App: Polygon Arena: Online Shooter By SIRIUS GAMES YAZILIM ANONIM SIRKETI
      Bundle ID: com.polygon.arena
      iTunes Store Link: https://apps.apple.com/ph/app/polygon-arena-online-shooter/id6451040780?uo=4


      Hack Features:
      - Unlimited Ammo -> Will not decrease.
      - No Camera Shake


      Jailbreak required hack(s): [Mod Menu Hack] Polygon Arena: Online Shooter v0.365 +5 Cheats [ Damage & Defence ] - Free Jailbroken Cydia Cheats - iOSGods
      VIP version: [No Jailbreak Required] Polygon Arena v0.365 [+5] - No JB - ViP Non-Jailbroken Hacks & 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/
      • 10 replies
    • Polygon Arena: Online Shooter v0.593 +5 Cheats [ Damage & Defence ]
      Modded/Hacked App: Polygon Arena: Online Shooter By SIRIUS GAMES YAZILIM ANONIM SIRKETI
      Bundle ID: com.polygon.arena
      iTunes Store Link: https://apps.apple.com/ph/app/polygon-arena-online-shooter/id6451040780?uo=4


      Hack Features:
      - Unlimited Ammo -> Will not decrease.
      - No Camera Shake
      - Damage Multiplier
      - Defence Multiplier
      - Speed Multiplier


      Non-Jailbroken & No Jailbreak required hack(s): [Non-Jailbroken Hack] Polygon Arena: Online Shooter v0.365 +2 Jailed Cheats [ Unlimited Ammo ] - 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/
        • Haha
      • 48 replies
    • Mini Soccer Star 2024 v1.20 +3 Jailed Cheats [ Unlimited Currencies ]
      Modded/Hacked App: Mini Soccer Star 2024 By VIVA GAMES S.L.
      Bundle ID: com.touch2goal.soccer
      iTunes Store Link: https://apps.apple.com/us/app/mini-soccer-star-2023/id1636072966
       

      Hack Features:
      - Unlimited Coins -> Earn or spend some.
      - Unlimited Gems -> Earn or spend some.
      - Unlimited Energy -> Will not decrease.


      Jailbreak required hack(s): https://iosgods.com/topic/169059-mini-soccer-star-2023-all-versions-3-cheats-unlimited-currencies/
      Modded Android APK(s): https://iosgods.com/forum/68-android-section/
      For more fun, check out the Club(s): https://iosgods.com/clubs/
      • 93 replies
    • Disney Emoji Blitz Game v62.0.3 +1++ Jailed Cheat [ Unlimited Currencies ]
      Modded/Hacked App: Disney Emoji Blitz Game By Jam City, Inc.
      Bundle ID: com.disney.emojimatch
      iTunes Store Link: https://apps.apple.com/us/app/disney-emoji-blitz-game/id1017551780
       

      Hack Features:
      - Unlimited Currencies -> Earn some.


      Jailbreak required hack(s): https://iosgods.com/topic/168886-disney-emoji-blitz-game-all-versions-1-cheats-unlimited-currencies/
      Modded Android APK(s): https://iosgods.com/forum/68-android-section/
      For more fun, check out the Club(s): https://iosgods.com/clubs/
      • 88 replies
    • Disney Emoji Blitz Game ( All Versions ) +1++ Cheat [ Unlimited Currencies ]
      Modded/Hacked App: Disney Emoji Blitz Game By Jam City, Inc.
      Bundle ID: com.disney.emojimatch
      iTunes Store Link: https://apps.apple.com/us/app/disney-emoji-blitz-game/id1017551780
       

      Hack Features:
      - Unlimited Currencies -> Earn some.


      Non-Jailbroken & No Jailbreak required hack(s): https://iosgods.com/topic/168888-disney-emoji-blitz-game-v5320-1-jailed-cheat-unlimited-currencies/
      Modded Android APK(s): https://iosgods.com/forum/68-android-section/
      For more fun, check out the Club(s): https://iosgods.com/clubs/
      • 29 replies
    • Hunter Assassin v1.974 +1 Jailed Cheat [ Unlimited Gems ]
      Modded/Hacked App: Hunter Assassin By RUBY OYUN VE YAZILIM DANISMANLIK
      Bundle ID: com.rubygames.assassin
      iTunes Store Link: https://apps.apple.com/us/app/hunter-assassin/id1479587574
       

      Hack Features:
      - Unlimited Gems -> Earn some by watching an ad.


      Jailbreak required hack(s): https://iosgods.com/topic/173239-hunter-assassin-all-versions-1-cheat-unlimited-gems/
      Modded Android APK(s): https://iosgods.com/forum/68-android-section/
      For more fun, check out the Club(s): https://iosgods.com/clubs/
      • 22 replies
    • Hunter Assassin ( All Versions ) +1 Cheat [ Unlimited Gems ]
      Modded/Hacked App: Hunter Assassin By RUBY OYUN VE YAZILIM DANISMANLIK
      Bundle ID: com.rubygames.assassin
      iTunes Store Link: https://apps.apple.com/us/app/hunter-assassin/id1479587574
       

      Hack Features:
      - Unlimited Gems -> Earn some from watching an ad.


      Non-Jailbroken & No Jailbreak required hack(s): https://iosgods.com/forum/79-no-jailbreak-section/
      Modded Android APK(s): https://iosgods.com/forum/68-android-section/
      For more fun, check out the Club(s): https://iosgods.com/clubs/
      • 17 replies
    • House Flipper Home Design v1.390 +2 Jailed Cheats [ Unlimited Currencies ]
      Modded/Hacked App: House Flipper Home Design By PLAYWAY SPOLKA AKCYJNA
      Bundle ID: com.imaginalis.HouseFlipperMobile
      iTunes Store Link: https://apps.apple.com/us/app/house-flipper-home-design/id1517373437
       

      Hack Features:
      - Unlimited Cash -> Exchange Flipcoins for Cash to earn an unlimited amount.
      - Unlimited Flipcoins -> Exchange Flipcoins for Cash to earn an unlimited amount.


      Jailbreak required hack(s): https://iosgods.com/topic/169137-exclusive-house-flipper-home-design-all-versions-2-cheats-unlimited-currencies/
      Modded Android APK(s): https://iosgods.com/forum/68-android-section/
      For more fun, check out the Club(s): https://iosgods.com/clubs/
        • Agree
        • Thanks
        • Winner
        • Like
      • 61 replies
    • [ Exclusive ] House Flipper Home Design ( All Versions ) +2 Cheats [ Unlimited Currencies ]
      Modded/Hacked App: House Flipper Home Design By PLAYWAY SPOLKA AKCYJNA
      Bundle ID: com.imaginalis.HouseFlipperMobile
      iTunes Store Link: https://apps.apple.com/us/app/house-flipper-home-design/id1517373437
       

      Hack Features:
      - Unlimited Cash -> Exchange Flipcoins for Cash to earn an unlimited amount.
      - Unlimited Flipcoins -> Exchange Flipcoins for Cash to earn an unlimited amount. 


      Non-Jailbroken & No Jailbreak required hack(s): https://iosgods.com/forum/79-no-jailbreak-section/
      Modded Android APK(s): https://iosgods.com/forum/68-android-section/
      For more fun, check out the Club(s): https://iosgods.com/clubs/
        • Thanks
        • Like
      • 67 replies
    • Mini Soccer Star 2024 ( All Versions ) +3 Cheats [ Unlimited Currencies ]
      Modded/Hacked App: Mini Soccer Star 2024 By VIVA GAMES S.L.
      Bundle ID: com.touch2goal.soccer
      iTunes Store Link: https://apps.apple.com/us/app/mini-soccer-star-2023/id1636072966
       

      Hack Features:
      - Unlimited Coins -> Earn or spend some.
      - Unlimited Gems -> Earn or spend some.
      - Unlimited Energy -> Will not decrease.


      Non-Jailbroken & No Jailbreak required hack(s): https://iosgods.com/forum/79-no-jailbreak-section/
      Modded Android APK(s): https://iosgods.com/forum/68-android-section/
      For more fun, check out the Club(s): https://iosgods.com/clubs/
        • Like
      • 47 replies
    • Merge 2 Survive: Zombie Game v1.1.1 +3 Jailed Cheats [ Unlimited Currencies ]
      Modded/Hacked App: Merge 2 Survive: Zombie Game By Pixodust Aplicativos LTDA
      Bundle ID: com.pixodust.games.merge.survive.puzzle.game
      iTunes Store Link: https://apps.apple.com/us/app/merge-2-survive-zombie-game/id6468487156?uo=4


      Hack Features:
      - Unlimited Coins
      - Unlimited Diamonds
      - Unlimited Energy


      Jailbreak required hack(s): [Mod Menu Hack] Merge 2 Survive: Zombie Game v1.0.3 +3 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/
      • 9 replies
    • Merge 2 Survive: Zombie Game v1.1.1 +3 Cheats [ Unlimited Currencies ]
      Modded/Hacked App: Merge 2 Survive: Zombie Game By Pixodust Aplicativos LTDA
      Bundle ID: com.pixodust.games.merge.survive.puzzle.game
      iTunes Store Link: https://apps.apple.com/us/app/merge-2-survive-zombie-game/id6468487156?uo=4


      Hack Features:
      - Unlimited Coins
      - Unlimited Diamonds
      - Unlimited Energy


      Non-Jailbroken & No Jailbreak required hack(s): [Non-Jailbroken Hack] Merge 2 Survive: Zombie Game v1.0.3 +3 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/
      • 15 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