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

    • Graveyard Empire v1.0.6 Debug Menu [+3 Cheats]
      Modded/Hacked App: Graveyard Empire By 24 HIT Riga SIA
      Bundle ID: com.graveyard.empire
      iTunes Store Link: https://apps.apple.com/us/app/graveyard-empire/id6680186576?uo=4

       

      🤩 Hack Features

      - Debug Menu (Enable and Click Settings Button)
        • Like
      • 1 reply
    • Graveyard Empire v1.0.6 Debug Menu [+3 Jailed Cheats]
      Modded/Hacked App: Graveyard Empire By 24 HIT Riga SIA
      Bundle ID: com.graveyard.empire
      iTunes Store Link: https://apps.apple.com/us/app/graveyard-empire/id6680186576?uo=4

       

      🤩 Hack Features

      - Debug Menu (Enable and Click Settings Button)
      • 2 replies
    • Hex Warriors v2.2.1 Cheat Menu [+10 Jailed Cheats]
      Modded/Hacked App: Hex Warriors By Voodoo
      Bundle ID: com.dong.hexwarriors
      App Store Link: https://apps.apple.com/us/app/hex-warriors/id6736930021?uo=4


       

      🤩 Hack Features

      Cheat Menu (Currency, Auto Win, Cards and more)
        • Like
      • 9 replies
    • Hex Warriors v2.2.1 Cheat Menu [+10 Cheats]
      Modded/Hacked App: Hex Warriors By Voodoo
      Bundle ID: com.dong.hexwarriors
      App Store Link: https://apps.apple.com/us/app/hex-warriors/id6736930021?uo=4



      🤩 Hack Features

      - Cheat Menu (Currency, Auto Win, Cards and more)
        • Winner
        • Like
      • 7 replies
    • Draft Showdown v1.1.4 [+3 Jailed Cheats]
      Modded/Hacked App: Draft Showdown By Quest Lab Games Korlatolt Felelossegu Tarsasag
      Bundle ID: com.questlab.draftwar
      App Store Link: https://apps.apple.com/us/app/draft-showdown/id6743368869?uo=4



      🤩 Hack Features

      - Unlimited Resources
      - Never Die
      - One Hit Kill
        • Winner
        • Like
      • 2 replies
    • Draft Showdown v1.1.4 [+3 Cheats]
      Modded/Hacked App: Draft Showdown By Quest Lab Games Korlatolt Felelossegu Tarsasag
      Bundle ID: com.questlab.draftwar
      App Store Link: https://apps.apple.com/us/app/draft-showdown/id6743368869?uo=4



      🤩 Hack Features

      - Unlimited Resources
      - Never Die
      - One Hit Kill
       
        • Agree
        • Winner
        • Like
      • 3 replies
    • Endless Wander - Roguelike RPG v2.4.15 [+3 Jailed Cheats]
      Modded/Hacked App: Endless Wander - Roguelike RPG By First Pick Studios
      Bundle ID: com.FirstPickStudios.Endless-Wander
      App Store Link: https://apps.apple.com/us/app/endless-wander-roguelike-rpg/id6473157705?uo=4



      🤩 Hack Features

      - Never Die
      - Always Enough Currency
      - Unlimited Currency (Will Always Increase)
        • Winner
        • Like
      • 4 replies
    • Endless Wander - Roguelike RPG v2.4.15 [+3 Cheats]
      Modded/Hacked App: Endless Wander - Roguelike RPG By First Pick Studios
      Bundle ID: com.FirstPickStudios.Endless-Wander
      App Store Link: https://apps.apple.com/us/app/endless-wander-roguelike-rpg/id6473157705?uo=4



      🤩 Hack Features

      - Never Die
      - Always Enough Currency
      - Unlimited Currency (Will Always Increase)
       
        • Like
      • 5 replies
    • Pal Go: Tower Defense TD v0.3.73 [+7 Cheats]
      Modded/Hacked App: Pal Go: Tower Defense TD By Playwind Ltd
      Bundle ID: com.playwindgames.freedefender
      iTunes Store Link: https://apps.apple.com/us/app/pal-go-tower-defense-td/id6479316663?uo=4


       

      🚀 Hack Features

      - [VIP] Freeze Currency (Currency will not decrease when used)

      - [VIP] Currency Always Enough (Buy even when you don't have enough currency)

      - [Free] Higher Recruit Energy (Gives 500 Recruit Energy Every Wave)

      - [Free] Always Can Drag Hero

      - [Free] Skip Ads

      - [Free] No Attack Cooldown

      - [Free] Global Speed Multiplier (Enable Inside Battle)

       

      Warning


      Do not use on main account. There is a chance of ban. Not responsible for any bans.

       


      🍏 For Non-Jailbroken & No Jailbreak required hacks: https://iosgods.com/forum/79-no-jailbreak-section/
      🤖 Modded Android APK(s): https://iosgods.com/forum/68-android-section/
        • Informative
        • Agree
        • Thanks
        • Winner
        • Like
      • 46 replies
    • Pal Go: Tower Defense TD v0.3.73 [+7 Jailed Cheats]
      Modded/Hacked App: Pal Go: Tower Defense TD By Playwind Ltd
      Bundle ID: com.playwindgames.freedefender
      iTunes Store Link: https://apps.apple.com/us/app/pal-go-tower-defense-td/id6479316663?uo=4


       

      Hack Features

      - [VIP] Freeze Currency (Currency will not decrease when used)

      - [VIP] Currency Always Enough (Buy even when you don't have enough currency)

      - [Free] Higher Recruit Energy (Gives 500 Recruit Energy Every Wave)

      - [Free] Always Can Drag Hero

      - [Free] Skip Ads

      - [Free] No Attack Cooldown

      - [Free] Global Speed Multiplier (Enable Inside Battle)

       

      Warning


      Do not use on main account. There is a chance of ban. Not responsible for any bans.

       

      Jailbreak required iOS hacks: https://iosgods.com/forum/5-game-cheats-hack-requests/
      Modded Android APKs: https://iosgods.com/forum/68-android-section/
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 71 replies
    • Derailed: Survival Adventure v1.8.0 [+3 Jailed Cheats]
      Modded/Hacked App: Derailed: Survival Adventure By Kwalee Ltd
      Bundle ID: com.kwalee.derailed
      iTunes Store Link: https://apps.apple.com/us/app/derailed-survival-adventure/id6670252580?uo=4



      🤩 Hack Features

      - Free Shop (IAP, No Ads, Chest)
      - Never Die
      - Always Can Unlock Tiles
        • Agree
        • Winner
        • Like
      • 8 replies
    • Derailed: Survival Adventure v1.8.0 [+3 Cheats]
      Modded/Hacked App: Derailed: Survival Adventure By Kwalee Ltd
      Bundle ID: com.kwalee.derailed
      iTunes Store Link: https://apps.apple.com/us/app/derailed-survival-adventure/id6670252580?uo=4

       

      🤩 Hack Features

      - Free Shop (IAP, No Ads, Chest)
      - Never Die
      - Always Can Unlock Tiles
        • Haha
        • Like
      • 7 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