Jump to content

7 posts in this topic

Recommended Posts

Posted

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

Posted

When you don't understand a single thing.

Maybe pictures would have been better or a video but I never used Flex

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

    • CSR 2 Drag Racing Car Games v5.8.0 - [ Gold, Cash, Keys & More ]
      Modded/Hacked App: CSR 2 - Realistic Drag Racing By Zynga Inc.
      Bundle ID: com.naturalmotion.customstreetracer2
      iTunes Store Link: https://apps.apple.com/us/app/csr-2-realistic-drag-racing/id887947640?uo=4

       

      📌 Mod Requirements

      - Jailbroken iPhone or iPad.
      - iGameGod / Filza / iMazing.
      - Cydia Substrate, ElleKit, Substitute or libhooker depending on your jailbreak (from Sileo, Cydia or Zebra).

       

      🤩 Hack Features

      - Custom Gold Amount -> Enter the amount of gold you want inside the iOSGods Mod Menu!
      - Custom Cash Amount -> Enter the amount of cash you want inside the iOSGods Mod Menu!
      - Custom Keys Amount -> Enter the amount of keys you want inside the iOSGods Mod Menu!
      - Anti-Ban -> Also unbans previously banned accounts and lets you play online according to feedback.
      - No Fuel Consumption
      - Instant Part Delivery
      - Instant Car Delivery
      - Gold Increase
      - Cash Increase
      - Keys Increase
      - Buy Anything For 1 Gold
      - Buy Anything For 1 Cash

       

      Non-Jailbroken Hack: https://iosgods.com/topic/168529-csr-2-drag-racing-car-games-v551-4-jailed-cheats/

       

      ⬇️ iOS Hack Download Link: https://iosgods.com/topic/73095-csr-2-drag-racing-car-games-v561-gold-cash-keys-more/.
        • Haha
        • Like
      • 5,728 replies
    • Genshin Impact Cheats v5.7.0 +3
      Modded/Hacked App: Genshin Impact by miHoYo Limited
      Bundle ID: com.miHoYo.GenshinImpact
      iTunes Store Link: https://apps.apple.com/us/app/genshin-impact/id1517783697?uo=4&at=1010lce4


      Hack Features:
      - Instant Skill
      - Instant Special Skill (Elemental Burst)
      - Infinite Stamina
        + Infinite Sprint Time
        + Infinite Swim Time
        + Infinite Fly Time


      iOS Hack Download Link: https://iosgods.com/topic/134035-genshin-impact-cheat-v101-3-instant-skill-more/
      • 3,637 replies
    • Modern Strike Online: War FPS Cheats v1.76.6 +10
      Modded/Hacked App: Modern Strike Online: War FPS By AZUR INTERACTIVE GAMES LIMITED
      Bundle ID: com.gamedevltd.modernstrikeonline
      iTunes Store Link: https://apps.apple.com/us/app/modern-strike-online-war-fps/id1197441484?uo=4


      Hack Features:
      - Radar Hack
      - Increase FireRate
      - Unlimited Ammo
      - No Spread
      - Night Vision Enabled
      - Instant Kill
      - God Mode
      - No FlashBang
      - Super Speed
      - No MedKit CoolDown

      Note:
      Not Responsible For Any Bans


      Non-Jailbroken & No Jailbreak required hack(s): https://iosgods.com/topic/186634-modern-strike-online-war-fps-v1687-jailed-cheats-10/


      iOS Hack Download Link: https://iosgods.com/topic/186633-modern-strike-online-war-fps-cheats-v1693-10/
      • 89 replies
    • Township: Farm & City Building v28.1.0 Jailed Cheats +2
      Modded/Hacked App: Township by PLR Worldwide Sales Limited
      Bundle ID: com.playrix.township-ios
      iTunes Store Link: https://apps.apple.com/us/app/township/id638689075?uo=4&at=1010lce4


      Hack Features:
      - Freeze Currencies

      EDIT: Please be aware that this maybe cause your account banned, please use with caution and don’t abuse


      iOS Hack Download Link: https://iosgods.com/topic/116584-arm64-township-farm-city-building-v852-jailed-cheats-2/
      • 1,692 replies
    • MergeHeroRoyale v1.0 [+2 Jailed Cheats]
      Modded/Hacked App: MergeHeroRoyale By Ferhat TEPE
      Bundle ID: com.gnarlygamestudio.mergeheroroyale
      App Store Link: https://apps.apple.com/us/app/mergeheroroyale/id6745405612?uo=4



      🤩 Hack Features

      - Add Gold (Enable and spend some)
      - Add Mana (Enable inside battle)
      • 3 replies
    • MergeHeroRoyale v1.0 [+2 Cheats]
      Modded/Hacked App: MergeHeroRoyale By Ferhat TEPE
      Bundle ID: com.gnarlygamestudio.mergeheroroyale
      App Store Link: https://apps.apple.com/us/app/mergeheroroyale/id6745405612?uo=4



      🤩 Hack Features

      - Add Gold (Enable and spend some)
      - Add Mana (Enable inside battle)
       
      • 2 replies
    • Tattoo Studio Simulator v1.11.8 +3 Jailed Cheats [ Unlimited Currencies ]
      Modded/Hacked App: Tattoo Studio Simulator By SKYLOFT YAZILIM BILISIM VE TICARET ANONIM SIRKETI
      Bundle ID: com.dmg.tattoo.studio.simulator
      App Store Link: https://apps.apple.com/us/app/tattoo-studio-simulator/id6743083378?uo=4

       
       

      🤩 Hack Features

      - Unlimited Cash -> Will increase instead of decrease.
      - Unlimited Energy -> Will increase instead of decrease.
      -- No Ads
      • 2 replies
    • Tattoo Studio Simulator v1.11.8 +3 Cheats [ Unlimited Currencies ]
      Modded/Hacked App: Tattoo Studio Simulator By SKYLOFT YAZILIM BILISIM VE TICARET ANONIM SIRKETI
      Bundle ID: com.dmg.tattoo.studio.simulator
      App Store Link: https://apps.apple.com/us/app/tattoo-studio-simulator/id6743083378?uo=4

       
       

      🤩 Hack Features

      - Unlimited Cash -> Will increase instead of decrease.
      - Unlimited Energy -> Will increase instead of decrease.
      -- No Ads
      • 0 replies
    • DC Worlds Collide v1.1.10 [+2 Cheats]
      Modded/Hacked App: DC Worlds Collide By Warner Bros. Entertainment
      Bundle ID: com.wb.dc.dcwc
      App Store Link: https://apps.apple.com/ca/app/dc-worlds-collide/id6469732370?uo=4


      Important


      Use cheat after tutorial stage 1-5

      Also game has server side power check. If your power lower than required you can't win stage.

       

      🤩 Hack Features

      - High Damage & Defense
      - No Energy Consume (Using ultimate not consume energy)
      • 16 replies
    • DC Worlds Collide v1.1.10 [+2 Jailed Cheats]
      Modded/Hacked App: DC Worlds Collide By Warner Bros. Entertainment
      Bundle ID: com.wb.dc.dcwc
      App Store Link: https://apps.apple.com/ca/app/dc-worlds-collide/id6469732370?uo=4



      Important


      Use cheat after tutorial stage 1-5

      Also game has server side power check. If your power lower than required you can't win stage.

       

       

      🤩 Hack Features

      - High Damage & Defense
      - No Energy Consume (Using ultimate not consume energy)

      • 17 replies
    • Merge Studio: Fashion Makeover v3.6.1 +50++ Jailed Cheats [ Debug Menu ]
      Modded/Hacked App: Merge Studio: Fashion Makeover By Paxie Games Oyun ve Yazilim Anonim Sirketi
      Bundle ID: com.paxiegames.mergestudio
      iTunes Store Link: https://apps.apple.com/us/app/merge-studio-fashion-makeover/id1615964753?uo=4


      Hack Features:
      - Debug Menu -> Head over to Settings and toggle the Sound button.


      Jailbreak required hack(s): [Mod Menu Hack] Merge Studio: Fashion Makeover v2.3.0 +50++ 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/
      • 62 replies
    • Merge Studio: Fashion Makeover v3.6.1 +50++ Cheats [ Debug Menu ]
      Modded/Hacked App: Merge Studio: Fashion Makeover By Paxie Games Oyun ve Yazilim Anonim Sirketi
      Bundle ID: com.paxiegames.mergestudio
      iTunes Store Link: https://apps.apple.com/us/app/merge-studio-fashion-makeover/id1615964753?uo=4


      Hack Features:
      - Debug Menu -> Head over to Settings and toggle the Sound button.


      Non-Jailbroken & No Jailbreak required hack(s): [Non-Jailbroken Hack] Merge Studio: Fashion Makeover v2.3.0 +50++ 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/
      • 52 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