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

    • Hello Kitty Friends Match v1.0.11 +1 Jailed Cheat [ Auto Win ]
      Modded/Hacked App: Hello Kitty Friends Match By LINE Games
      Bundle ID: com.linegames.hkfm
      App Store Link: https://apps.apple.com/us/app/hello-kitty-friends-match/id6742533643?uo=4

       
       

      🤩 Hack Features

      - Auto Win -> Move a block.
      • 8 replies
    • Hello Kitty Friends Match v1.0.11 +1 Cheat [ Auto Win ]
      Modded/Hacked App: Hello Kitty Friends Match By LINE Games
      Bundle ID: com.linegames.hkfm
      App Store Link: https://apps.apple.com/us/app/hello-kitty-friends-match/id6742533643?uo=4

       
       

      🤩 Hack Features

      - Auto Win -> Move a block.
      • 4 replies
    • Hunt Royale: Action RPG Battle v3.12.1 +3 Jailed Cheats [ Damage & Defence ]
      Modded/Hacked App: Hunt Royale: Action RPG Battle By BoomBit, Inc.
      Bundle ID: com.hunt.royale
      iTunes Store Link: https://apps.apple.com/us/app/hunt-royale-action-rpg-battle/id1537379121?uo=4

       
       

      🚀 Hack Features

      - Dumb Enemies

      VIP
      - Damage Multiplier
      - Defence Multiplier
      • 143 replies
    • Hunt Royale: Action RPG Battle v3.12.1 +3 Cheats [ Damage & Defence ]
      Modded/Hacked App: Hunt Royale: Action RPG Battle By BoomBit, Inc.
      Bundle ID: com.hunt.royale
      iTunes Store Link: https://apps.apple.com/us/app/hunt-royale-action-rpg-battle/id1537379121?uo=4

       


      🚀 Hack Features

      - Dumb Enemies

      VIP
      - Damage Multiplier
      - Defence Multiplier
      • 24 replies
    • Grand War: Rome Strategy Games v2.2.4 +5 Jailed Cheats [ Damage & Defence ]
      Modded/Hacked App: Grand War: Rome Strategy Games By HangZhouCaiLingTechnology.Co., Limited
      Bundle ID: com.rome.caesar.war.strategy.conqueror.games.2021
      iTunes Store Link: https://apps.apple.com/us/app/grand-war-rome-strategy-games/id1593989305?uo=4

       


      🤩 Hack Features

      - Damage Multiplier
      - Defence Multiplier
      - Unlimited Silver
      - Unlimited Gold
      - Unlimited Medals
      • 40 replies
    • Loot Heroes v1.9.2 +28 Jailed Cheats [ Unlimited Everything ]
      Modded/Hacked App: Loot Heroes: Fantasy RPG Games By BoomBit, Inc.
      Bundle ID: com.bbp.lootheroes
      iTunes Store Link: https://apps.apple.com/us/app/loot-heroes-fantasy-rpg-games/id6642699678?uo=4


      Hack Features:
      - Freeze Everything -> Currencies, Hero Cards, Hero Skill Points will all freeze.
      - God Mode -> Traps still cause damage.
      - One-Hit Kill
      - No Attack Delay
      - All Critical Hits
      - All Heroes Unlocked
      - All Skins Unlocked
      - No Skill Cooldown
      - Nickname Edit Unlocked
      - No Nickname Filter
      - No Guild Name Filter
      - No Dash Cooldown
      - Unlimited Boosters
      - Auto Play
      - No Camp Upgrade Cost
      - Unlimited Bolts
      - No Ads

      VIP
      - Unlimited Everything -> Currencies, Hero Cards, Hero Skill Points will all increase instead of decrease.
      - Currency Modifier -> Earn or spend some.
      - Unlimited Hero Cards -> Earn some.
      - Unlimited Hero Skill Points -> Earn some.
      - Trophy Modifier -> Earn or lose some to stick to the leaderboard.
      - Guild Score Modifier -> Earn some.
      - Unlimited Event Score -> Earn some.
      - Max Hero Mastery Level
      - Auto Win
      - Battle Pass Unlocked
      - VIP Enabled
      • 153 replies
    • Loot Heroes v1.9.2 +28 Cheats [ Unlimited Everything ]
      Modded/Hacked App: Loot Heroes By BoomBit, Inc.
      Bundle ID: com.bbp.lootheroes
      iTunes Store Link: https://apps.apple.com/us/app/loot-heroes/id6642699678?uo=4


      Hack Features:
      - Freeze Everything -> Currencies, Hero Cards, Hero Skill Points will all freeze.
      - God Mode -> Traps still cause damage.
      - One-Hit Kill
      - No Attack Delay
      - All Critical Hits
      - All Heroes Unlocked
      - All Skins Unlocked
      - No Skill Cooldown
      - Nickname Edit Unlocked
      - No Nickname Filter
      - No Guild Name Filter
      - No Dash Cooldown
      - Unlimited Boosters
      - Auto Play
      - No Camp Upgrade Cost
      - Unlimited Bolts
      - No Ads

      VIP
      - Unlimited Everything -> Currencies, Hero Cards, Hero Skill Points will all increase instead of decrease.
      - Currency Modifier -> Earn or spend some.
      - Unlimited Hero Cards -> Earn some.
      - Unlimited Hero Skill Points -> Earn some.
      - Trophy Modifier -> Earn or lose some to stick to the leaderboard.
      - Guild Score Modifier -> Earn some.
      - Unlimited Event Score -> Earn some.
      - Max Hero Mastery Level
      - Auto Win
      - Battle Pass Unlocked
      - VIP Enabled
      • 309 replies
    • Grand War: Rome Strategy Games v2.2.4 +5 Cheats [ Damage & Defence ]
      Modded/Hacked App: Grand War: Rome Strategy Games By HangZhouCaiLingTechnology.Co., Limited
      Bundle ID: com.rome.caesar.war.strategy.conqueror.games.2021
      iTunes Store Link: https://apps.apple.com/us/app/grand-war-rome-strategy-games/id1593989305?uo=4

       


      🤩 Hack Features

      - Damage Multiplier
      - Defence Multiplier
      - Unlimited Silver
      - Unlimited Gold
      - Unlimited Medals
      • 64 replies
    • DREDGE v1.5.16 +3 Jailed Cheats [ Unlocked ]
      Modded/Hacked App: DREDGE By Black Salt Games Limited
      Bundle ID: com.blacksaltgames.dredge
      iTunes Store Link: https://apps.apple.com/us/app/dredge/id6526463862?uo=4

       
       

      🤩 Hack Features

      - Full Game & All DLC Unlocked
      - Sell Value Multiplier
      - All Cabin Items Unlocked -> Head into Settings > Controls and toggle the Reset All Controls button.
      • 80 replies
    • DREDGE v1.5.16 +3 Cheats [ Unlocked ]
      Modded/Hacked App: DREDGE By Black Salt Games Limited
      Bundle ID: com.blacksaltgames.dredge
      iTunes Store Link: https://apps.apple.com/us/app/dredge/id6526463862?uo=4

       
       

      🤩 Hack Features

      - Full Game & All DLC Unlocked
      - Sell Value Multiplier
      - All Cabin Items Unlocked -> Head into Settings > Controls and toggle the Reset All Controls button.
      • 27 replies
    • Amikin Village: Magic Sim RPG v1.1.0 +5 Jailed Cheats [ Damage + More ]
      Modded/Hacked App: Amikin Village: Magic Sim RPG By HELIO LTD
      Bundle ID: com.heliogames.amikin.survival
      App Store Link: https://apps.apple.com/us/app/amikin-village-magic-sim-rpg/id6478102304?uo=4

       


      🤩 Hack Features

      - Damage Multiplier
      - God Mode
      - Speed Multiplier
      - Unlimited Weapon Durability
      - Split Hack
      • 326 replies
    • Amikin Village: Magic Sim RPG v1.1.0 +5 Cheats [ Damage + More ]
      Modded/Hacked App: Amikin Village: Magic Sim RPG By HELIO LTD
      Bundle ID: com.heliogames.amikin.survival
      App Store Link: https://apps.apple.com/us/app/amikin-village-magic-sim-rpg/id6478102304?uo=4

       
       

      🤩 Hack Features

      - Damage Multiplier
      - God Mode
      - Speed Multiplier
      - Unlimited Weapon Durability
      - Split Hack
      • 111 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