Jump to content

Hackers: what would you prefer


Which option  

27 members have voted

  1. 1. choose

    • use variable arguments with a function called makeOffsets
      7
    • put offsets like this: {0x123456, 0x678954}
      20


20 posts in this topic

Recommended Posts

Posted (edited)

I'm making a mod menu template for practice with inheritance in objective c and after finishing it I realized I wanted to add slider support and a way to have hacks with multiple offsets.

 

focusing on the multiple offsets...

currently I have single offset hacks working. to add a hack to the mod menu, you can call a function called addHack, and so far the parameters are as follows:

addHack(@"Name of hack", @"Font name", offset, hex, originalHex);

and the feature is added to the menu.

 

I don't want to create tons of different addHack functions with support for different number of offsets because that's really really bad and lazy.

 

My first thought was to take advantage of variable lists (see here: https://www.tutorialspoint.com/cprogramming/c_variable_arguments.htm) but I soon realized that if I wanted to do this, I would have to rewrite some parts of the template to support vectors which is fine. What is not fine, however, is that I'd have to create a function to return a vector of the offsets that were passed in as parameters. Its not the fact that it is hard, its just that it could be better. This isn't the only solution, but the reason that I thought of this first was because i like the syntax of the function that would put the offsets into the vector :p

If I were to go with the first thought (and I called the function that made the vector makeVector), the addHack call would look like this:

addHack(@"Name of hack", @"Font name", makeVector(3, 0x443243, 0x837463, 0x283838), makeVector(3, 0x0120, 0x0020, 0x7047), makeVector(3, 0x0028, 0x0128, 0xf0b5));

 

the 3 in all of those calls is the number of arguments (or offsets you have put) so the computer knows how many arguments we are putting into the va_list (va = variable argument), and that is what I don't like. The call itself, to people who haven't had much coding experience, looks really odd.

 

Second thought:

use initializer lists from c++. While I will still have to write something that puts the elements from the list into a vector for use in the mod menu, there isn't any weird syntax, and it is safer than using va_*. If I were to go with this, here is what the call would look like:

addHack(@"Name of hack", @"Font name", {0x443243, 0x837463, 0x283838}, {0x0120, 0x0020, 0x7047}, {0x0028, 0x0128, 0xf0b5});

Looks much cleaner in my opinion, and takes much less code too. So, option 1 or option 2?

 

@ZahirSher

@Battousai

@Mayaxaya

@K1N5 PHo3niX

@DiDA

 

Updated by Guest
Posted
1 minute ago, KFCzZz said:

So much typing :WHY:

If you don't have a choice or a comment please don't respond.

Posted

My thought is that it's up to you. You know your codes more than any of us.

-

I like 2nd one 

Guest
This topic is now closed to further replies.
  • Our picks

    • Life in Adventure v1.2.30 [+3 Jailed Cheats]
      Modded/Hacked App: Life in Adventure By sangil kim
      Bundle ID: com.StudioWheel.Bard
      iTunes Store Link: https://apps.apple.com/us/app/life-in-adventure/id1551617649?uo=4



      🚀 Hack Features

      - Add Gems (Do not Add More Than 900. If your Gem > 1000 You'll get ban)
      - Guild Subscription Activeted
      - Never Die
      • 17 replies
    • Life in Adventure v1.2.30 [+3 Cheats]
      Modded/Hacked App: Life in Adventure By sangil kim
      Bundle ID: com.StudioWheel.Bard
      App Store Link: https://apps.apple.com/us/app/life-in-adventure/id1551617649?uo=4



      🤩 Hack Features

      - Add Gems (Do not Add More Than 900. If your Gem > 1000 You'll get ban)
      - Guild Subscription Activeted
      - Never Die
      • 6 replies
    • Bounce Defense v1.3.5 [+5 Jailed Cheats]
      Modded/Hacked App: Bounce Defense By Voodoo
      Bundle ID: com.minigamelab.bouncedefense
      App Store Link: https://apps.apple.com/us/app/bounce-defense/id6740627201?uo=4



      🤩 Hack Features

      - Add Currency
      - Add Battle Currency (Enable inside battle)
      - Never Die
      - Unlock All Towers
      - Unlimited Tower Cards
      • 11 replies
    • Bounce Defense v1.3.5 [+5 Cheats]
      Modded/Hacked App: Bounce Defense By Voodoo
      Bundle ID: com.minigamelab.bouncedefense
      App Store Link: https://apps.apple.com/us/app/bounce-defense/id6740627201?uo=4



      🤩 Hack Features

      - Add Currency
      - Add Battle Currency (Enable inside battle)
      - Never Die
      - Unlock All Towers
      - Unlimited Tower Cards
      • 8 replies
    • Galaxy Defense: Fortress TD v0.8.9 [+2 Cheats]
      Modded/Hacked App: Galaxy Defense: Fortress TD By CYBERJOY LIMITED
      Bundle ID: com.cyberjoy.galaxydefense
      App Store Link: https://apps.apple.com/us/app/galaxy-defense-fortress-td/id6740189002?uo=4



      🤩 Hack Features

      - One Hit Kill
      - Activate SVIP
       
        • Informative
      • 25 replies
    • Galaxy Defense: Fortress TD v0.8.9 [+2 Jailed Cheats]
      Modded/Hacked App: Galaxy Defense: Fortress TD By CYBERJOY LIMITED
      Bundle ID: com.cyberjoy.galaxydefense
      App Store Link: https://apps.apple.com/us/app/galaxy-defense-fortress-td/id6740189002?uo=4



      🤩 Hack Features

      - One Hit Kill
      - Activate SVIP
        • Agree
      • 5 replies
    • Run! Goddess v1.0.17 [+4 Jailed Cheats]
      Modded/Hacked App: Run! Goddess By TOP GAMES INC.
      Bundle ID: com.topgamesinc.rg
      iTunes Store Link: https://apps.apple.com/us/app/run-goddess/id6667111749?uo=4



      🤩 Hack Features

      - No Skill Cooldown
      - Slow Enemy
      - Enemy Can't Attack (Enemy Can't Do Damage)
      • 76 replies
    • Run! Goddess v1.0.17 [+4 Cheats]
      Modded/Hacked App: Run! Goddess By TOP GAMES INC.
      Bundle ID: com.topgamesinc.rg
      iTunes Store Link: https://apps.apple.com/us/app/run-goddess/id6667111749?uo=4

       

      🤩 Hack Features

      - No Skill Cooldown
      - Slow Enemy
      - Enemy Can't Attack (Enemy Can't Do Damage)
       
      • 68 replies
    • Eternium Cheats v1.37.7 +11
      Modded/Hacked App: Eternium By Making Fun, Inc.
      Bundle ID: com.makingfun.mageandminions
      iTunes Store Link: https://apps.apple.com/us/app/eternium/id579931356?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

      - 5K Gems When Completed Stage
      - Infinite Gold
      - Infinite Cosmetic
      - Infinite Yellow Stone
      - Multiply Attack (Linked with Enemy)
      - No Skills Cooldown
      - No Consumable Cooldown
      - Multiply Attack Speed
      - Instant Regen Health
      - Always Crit
      - Material Drops (When you killed an Enemy it will drop materials for crafts)



      ⬇️ iOS Hack Download Link: https://iosgods.com/topic/194526-eternium-cheats-v13355-6/
      • 75 replies
    • Candy Crush Saga v1.304.1 Jailed Cheats +3
      Modded/Hacked App: Candy Crush Saga By King.com Limited
      Bundle ID: com.midasplayer.apps.candycrushsaga
      iTunes Store Link: https://apps.apple.com/us/app/candy-crush-saga/id553834731?uo=4


      Hack Features:
      - Infinite Life
      - Infinite Booster
      - Infinite Move


      Jailbreak required hack(s): https://iosgods.com/topic/190447-candy-crush-saga-cheats-v12941-3/


      iOS Hack Download IPA Link: https://iosgods.com/topic/190448-candy-crush-saga-v12941-jailed-cheats-3/
      • 98 replies
    • [ JP / Global/ KR] Puzzle & Dragons Cheats v22.3.0 +3
      Modded/Hacked App: Puzzle & Dragons (English) by GungHo Online Entertainment, INC.
      Bundle ID: jp.gungho.padEN
      iTunes Store Link: https://apps.apple.com/us/app/puzzle-dragons-english/id563474464?uo=4&at=1010lce4


      Hack Features:
      - God Mode
      - OHK
      - Frozen Enemies


      iOS Hack Download Link: https://iosgods.com/topic/133984-puzzle-dragons-jp-english-cheats-all-versions-3/
        • Like
      • 454 replies
    • DomiNation Asia By NEXON Company v12.1480.1481 - [ Currencies Freeze & More ]
      Modded/Hacked App: ドミネーションズ -文明創造- (DomiNations) By NEXON Company
      Bundle ID: com.nexon.dominations.asia
      iTunes Store Link: https://itunes.apple.com/jp/app/ドミネーションズ-文明創造-dominations/id1012778321


      Hack Features:
      - Unlimited Crowns/Food/Oil/Gold -> Resources will add instead of subtracting. Works with Crowns. Read note inside the feature for more information! This does not work for speeding up buildings.
      - All Achievements Unlocked 
      - Freeze Crowns/Food/Oil/Gold -> Freezes Resources so they do not decrease when used! This does not work for speeding up buildings.
      - No Citizen Cost 
      - 0 Cost to Speed Up Training Troops
      - 0 Cost to Speed Up Tactics
      - 0 Food Cost to Train Troops
      - 0 Food Cost to Upgrade Troops
      - No Timer to Upgrade Troops
      - 0 Food Cost to Train Spells
      - 0 General Train Cost
      - No General Train CoolDown
      - 0 Food Cost to Build Wonder
      - 0 Food Cost to Research Troops
      - 0 Food Cost to Upgrade Tactics
      - No Timer to Library Research
      - No Timer to Upgrade Spells
      - 0 Cost to Upgrade Buildings
      - 0 Workers Required to Upgrade
      - 0 Crown Cost For Peace

      This hack works on the latest x64 or ARM64 & ARM64e iDevices: iPhone 5s, 6, 6 Plus, 6s, 6s Plus, 7, 7 Plus, 8, 8 Plus, X, Xr, Xs, Xs Max, 11, 11 Pro, 11 Pro Max, 12, 12 Pro, 12 Pro Max, 12 Mini, 13, 13 Pro, 13 Pro Max, 13 Mini, 14, 14 Plus, 14 Pro, 14 Pro Max, SE, iPod Touch 6G, 7G, iPad Air, Air 2, iPad Pro & iPad Mini 2, 3, 4, 5, 6 and later.


      Global hack(s): https://iosgods.com/topic/50401-ultrahack-dominations-v6660661-40-cheats-iosgods-exclusive/?tab=comments#comment-1582742
        • Agree
        • Winner
        • Like
      • 1,101 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