Jump to content

9 posts in this topic

Recommended Posts

Updated (edited)
Spoiler

 

                                                                                                   WHAT IS HACKS and what is Objective-C   ?

There are many programming languages, some of which are limited in usage, while others are widely used.

To understand how to create code to hack an application or game, you must grasp the nature of the language you desire and the platform it targets, such as iPhone, PC, or even Android.

Let's assume you want to develop a script for the iPhone. The iPhone understands several languages, including Objective-C and Swift, among others. However, most hacking programs are written in Objective-C. So, let's explain the nature of this great language and how you can use it to develop your programs, and even hack some applications, for example, by injecting using MS hook or modifying offsets and hex values.

 

To create a script for hacking programs and games, you first need to have the Theos program for software development and tweaks or maybe your jailbroken phone . Secondly, you must possess the offset for the application you want to hack, for example, the offset for the game Clash of Clans with the value x548461. This offset contains a value called hex. Let's assume the offset's name is "gold" and its value is an integer or numeric value. This offset can be hacked, and the gold can be increased by modifying the hex, for example, to 02008052C0035FD6. This 16-digit number is called the HEX and is commonly used for hacking and changing the values of functions within applications.

How can I determine the offset value? This will be explained later.

And now, let's assume that you have the name of the function you want to hack, for example, PUBLIC GET_GOLD (GET) INT. This function returns an integer value, meaning a number, and gives the player a gold value. You can inject this function using MSHOOK in Theos program. Let's create a new project in Theos and choose TWEAK, then follow these steps.

1-OPEN Tweak.xm or Tweak.x

2-put this code in main fuc

3-you should change PlayerInfo and IsVip

4-You should put the library to useing MS HOOK put this in top of tweak file   #import <substrate.h> 

%hook PlayerInfo
-(BOOL)IsVip {
    // inject your code here
    return YES; // fuc will be  true
}

%end 

or another one like that 


%hook PlayerInfo
-(BOOL)IsVip {
 
    return YES; 
}
%end

 

or If you need to hack int we used

%hook PlayerInfo
-(int)get_gold {
    // Inject your code here
    int get_gold = 1; // Set the get_gold value to 1 as an example
    return get_gold; // The function will return, for example, 1
}
%end

 

In top example this inject will make the player always  VIP

And now, that's all for this moment. There are many upcoming tutorials where we will delve deeper into offsets, how to find them, and create practical examples through videos. Additionally, we'll explore some applications like IDA Pro and even DNSpy, among others, that are useful for this purpose.

 

 

Updated by Lolite
  • Like 5
  • Winner 1
  • Informative 1
Posted
Spoiler
1 hour ago, Lolite said:

%hook PlayerInfo
-(int)get_gold {
    // Inject your code here
    int get_gold = 1; // Set the get_gold value to 1 as an example
    return get_gold; // The function will return, for example, 1
}
%end

 

Could you please advice me - I understood correctly that PlayerInfo is a class and it can be changed for example to PropMng ? And if we want to make a tweak with offset for example 25D0B6C in which is located

public int GetPrice(PropID id)
{
	return 0;
}

do we have to specify this offset somewhere and have it return 00F0271EC0035FD6 in hex ? or do we just write in total like this and convert hex to decimal value 

%hook PropMng
-(int)GetPrice{
	int GetPrice = 144256280972976086;
	return GetPrice;
}
%end

 

Posted (edited)

YOU CA

Just now, MrLusiusi said:
  Reveal hidden contents

 

Could you please advice me - I understood correctly that PlayerInfo is a class and it can be changed for example to PropMng ? And if we want to make a tweak with offset for example 25D0B6C in which is located

public int GetPrice(PropID id)
{
	return 0;
}

do we have to specify this offset somewhere and have it return 00F0271EC0035FD6 in hex ? or do we just write in total like this and convert hex to decimal value 

%hook PropMng
-(int)GetPrice{
	int GetPrice = 144256280972976086;
	return GetPrice;
}
%end

 

YOU CAN use your script sec one that one here

 %hook PropMng
-(int)GetPrice{
    int GetPrice = 144256280972976086;
    return GetPrice;
}
%end 

 

you can skip offset for hooking this class  just make sure class name and method is the same in app that you want to hack

Updated by Lolite
Posted
3 minutes ago, Lolite said:

YOU CA

YOU CAN use your script sec one that one here

 %hook PropMng
-(int)GetPrice{
    int GetPrice = 144256280972976086;
    return GetPrice;
}
%end 

 

you can skip offset for hooking this class  just make sure class name and method is the same in app that you want to hack

i see!! thank you so much for help!!

Posted (edited)

Is possible to use this method to hook map hack icon mobile legends? 

Updated by Machine1
  • Like 1

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

    • Glow Tales: Merge & Makeover v1.2.0 +100 Jailed Cheats [ Debug Menu ]
      Modded/Hacked App: Glow Tales: Merge & Makeover By Paxie Games Oyun ve Yazilim Anonim Sirketi
      Bundle ID: com.paxiegames.glowtales
      App Store Link: https://apps.apple.com/us/app/glow-tales-merge-makeover/id6754087834?uo=4

       


      🤩 Hack Features

      - Debug Menu -> Head into Settings and toggle the Inbox button.
      • 9 replies
    • Pickaxe King Island v402 +4 Jailed Cheats [ Unlimited Everything ]
      Modded/Hacked App: Pickaxe King Island By ROGUE UNION GAMES
      Bundle ID: com.rogueuniongames.pickaxekingisland
      App Store Link: https://apps.apple.com/us/app/pickaxe-king-island/id6738040300?uo=4

       


      🤩 Hack Features

      - God Mode
      - One-Hit Kill
      - Unlimited Everything -> Will increase instead of decrease.
      - Free Shopping
      • 18 replies
    • Subway Surfers City v1.29.2 +10 Jailed Cheats [ Unlimited Currencies ]
      Modded/Hacked App: Subway Surfers City By Sybo Games ApS
      Bundle ID: com.sybogames.subway.surfers.game
      iTunes Store Link: https://apps.apple.com/ca/app/subway-surfers-city/id6504188939?uo=4


      Mod Requirements:
      - Non-Jailbroken/Jailed or Jailbroken iPhone/iPad/iPod Touch.
      - Sideloadly / Cydia Impactor or alternatives.
      - A Computer Running Windows/macOS/Linux with iTunes installed.


      Hack Features:
      - Unlimited Coins -> Earn or spend some.
      - Unlimited Keys -> Earn or spend some.
      - Unlimited Revives - Earn or spend some.
      - Unlimited Tokens -> Earn or spend some.
      - All Boards Unlocked
      - All Surfers Unlocked
      - Max Level -> Earn some XP.
      - God Mode
      - Unlimited Score
      - Unlimited Jumps


      Jailbreak required hack(s): [Mod Menu Hack] Subway Surfers City v1.13.2 +7 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/
      • 236 replies
    • Darkest Hero! v0.1.1 [ +4 Cheats ] Currency Max
      Modded/Hacked App: Darkest Hero! By MINIDRAGON LTD
      Bundle ID: com.minidragon.randomdungeon
      App Store Link: https://apps.apple.com/us/app/darkest-hero/id6746927122?uo=4

      🤩 Hack Features

      - Unlimited Gems / Earn
      - Unlimited Red Crystal / Earn
      - Unlimited Gold / Earn
      - Unlimited Keys / Earn
      • 26 replies
    • Darkest Hero! v0.1.1 [ +4 Jailed ] Currency Max
      Modded/Hacked App: Darkest Hero! By MINIDRAGON LTD
      Bundle ID: com.minidragon.randomdungeon
      App Store Link: https://apps.apple.com/us/app/darkest-hero/id6746927122?uo=4

      🤩 Hack Features

      - Unlimited Gems / Earn
      - Unlimited Red Crystal / Earn
      - Unlimited Gold / Earn
      - Unlimited Keys / Earn
      • 22 replies
    • Fairyland - Merge & Match v2.2.1 [ +4 Cheats ] Auto Win
      Modded/Hacked App: Fairyland - Merge & Match By 程程 姚
      Bundle ID: com.mergematch.fairyland
      App Store Link: https://apps.apple.com/us/app/fairyland-merge-match/id6740663230?uo=4
       

      🤩 Hack Features

      - Auto Win
      - Gems
      - Coins
      - Moves 99
      • 19 replies
    • Fairyland - Merge & Match v2.2.1 [ +4 Jailed ] Auto Win
      Modded/Hacked App: Fairyland - Merge & Match By 程程 姚
      Bundle ID: com.mergematch.fairyland
      App Store Link: https://apps.apple.com/us/app/fairyland-merge-match/id6740663230?uo=4


      🤩 Hack Features

      - Auto Win
      - Gems
      - Coins
      - Moves 99
      • 23 replies
    • Cat Crunch - Match 3 Games v2.66 [ +3 Cheats ] Currency Max
      Modded/Hacked App: Cat Crunch - Match 3 Games By Y factory
      Bundle ID: com.yfactorysoft.CatCrunch
      App Store Link: https://apps.apple.com/us/app/cat-crunch-match-3-games/id6471232053?uo=4

      🤩 Hack Features

      - Unlimited Coins
      - Unlimited Stars
      - Unlimited Booster.
      • 7 replies
    • Cat Crunch - Match 3 Games v2.66 [ +3 Jailed ] Currency Max
      Modded/Hacked App: Cat Crunch - Match 3 Games By Y factory
      Bundle ID: com.yfactorysoft.CatCrunch
      App Store Link: https://apps.apple.com/us/app/cat-crunch-match-3-games/id6471232053?uo=4

      🤩 Hack Features

      - Unlimited Coins
      - Unlimited Stars
      - Unlimited Booster
      • 5 replies
    • Wool Craze -Yarn Color Sort 3D v5.1 [ +4 Jailed ] Currency Max
      Modded/Hacked App: Wool Craze -Yarn Color Sort 3D By Hero Linkage Technology Co., Ltd.
      Bundle ID: com.color.wool.blast
      App Store Link: https://apps.apple.com/us/app/wool-craze-yarn-color-sort-3d/id6744317674?uo=4

      🤩 Hack Features

      - Unlimited Coins
      - Unlimited Stars
      - Unlimited Life
      - Unlimited Booster
      • 2 replies
    • Wool Craze -Yarn Color Sort 3D v5.1 [ +4 Cheats ] Currency Max
      Modded/Hacked App: Wool Craze -Yarn Color Sort 3D By Hero Linkage Technology Co., Ltd.
      Bundle ID: com.color.wool.blast
      App Store Link: https://apps.apple.com/us/app/wool-craze-yarn-color-sort-3d/id6744317674?uo=4

      🤩 Hack Features

      - Unlimited Coins
      - Unlimited Stars
      - Unlimited Life
      - Unlimited Booster
      • 4 replies
    • Claw Quest: Roguelike RPG v1.0.10 [ +15 Cheats ] Currency Max
      Modded/Hacked App: Claw Quest: Roguelike RPG By Hexpion Pte. Ltd.
      Bundle ID: com.hexpion.sixpzeroeight
      App Store Link: https://apps.apple.com/us/app/claw-quest-roguelike-rpg/id6749590073?uo=4

      🤩 Hack Features

      - ADS NO / Rewards Free
      - Month Cards Active
      - Daily Rewards
      - Premium Pass Active
      - Unlimited Battle Coins / Use In Battle Store
      - Unlimited Battle Crystal / Use In Battle Store
      - Unlimited Battle Mana / Use In Battle Store
      - Unlimited Gems
      - Unlimited Gold
      - Unlimited Energy
      - Unlimited S Keys
      - Unlimited Legendary Keys
      - Unlimited Golden Keys
      - Unlimited Silver Keys
      - Unlimited Shard
      • 3 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