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 4
  • 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

    • MeChat - Interactive Stories v4.36.0 +5 Cheats [ Unlimited Gems ]
      Modded/Hacked App: MeChat - Interactive Stories By IMPONILOX LIMITED
      Bundle ID: world.playme.mechat
      App Store Link: https://apps.apple.com/us/app/mechat-interactive-stories/id1536157979?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

      - Unlimited Gems -> Will increase instead of decrease.
      - Unlock All Photos
      - Unlock All Audio Clips
      -- VIP Enabled

      VIP
      - Unlimited Gems -> Earn some then disable this feature. DO NOT SPEND ANY GEMS WHILST THIS FEATURE IS ENABLED!
      • 320 replies
    • Ultimate Golf! v4.21.04 +1 Jailed Cheat [ Perfect Shot ]
      Modded/Hacked App: Ultimate Golf! By Miniclip.com
      Bundle ID: com.hypgames.ultimategolf
      iTunes Store Link: https://apps.apple.com/us/app/ultimate-golf/id1475163222
       

      Hack Features:
      - Perfect Shot -> Every ball hit will go straight.


      Jailbreak required hack(s): [Mod Menu Hack] Ultimate Golf! v4.4.3 +1 Cheat [ Perfect Shot ] - 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/
      • 177 replies
    • Ultimate Golf! v4.21.04 +1 Cheat [ Perfect Shot ]
      Modded/Hacked App: Ultimate Golf! By Miniclip.com
      Bundle ID: com.hypgames.ultimategolf
      iTunes Store Link: https://apps.apple.com/us/app/ultimate-golf/id1475163222


      Hack Features:
      - Perfect Shot -> Every ball hit will go straight.


      Non-Jailbroken & No Jailbreak required hack(s): https://iosgods.com/forum/79-no-jailbreak-section/
      Modded Android APK(s): https://iosgods.com/forum/68-android-section/
      For more fun, check out the Club(s): https://iosgods.com/clubs/
      • 288 replies
    • Airport Simulator: Plane City v2.00.321 +1 Jailed Cheat [ Unlimited Currencies ]
      Modded/Hacked App: Airport Simulator: Plane City By Playrion SARL
      Bundle ID: com.playrion.airportmanager
      iTunes Store Link: https://apps.apple.com/us/app/airport-simulator-plane-city/id1572244031?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 Currencies -> Earn or spend some.


      Jailbreak required hack(s): [Mod Menu Hack] Airport Simulator: First Class v1.01.0202 +1++ Cheat [ 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/
      • 359 replies
    • Airport Simulator: Plane City v2.00.321 +1 Cheat [ Unlimited Currencies ]
      Modded/Hacked App: Airport Simulator: Plane City By Playrion SARL
      Bundle ID: com.playrion.airportmanager
      iTunes Store Link: https://apps.apple.com/us/app/airport-simulator-plane-city/id1572244031?uo=4


      Mod Requirements:
      - Jailbroken iPhone/iPad/iPod Touch.
      - iGameGod / Filza / iMazing or any other file managers for iOS.
      - Cydia Substrate, Substitute or libhooker depending on your jailbreak.
      - PreferenceLoader (from Cydia, Sileo or Zebra).


      Hack Features:
      - Unlimited Currencies -> Earn or spend some.


      Non-Jailbroken & No Jailbreak required hack(s): [Non-Jailbroken Hack] Airport Simulator: First Class v1.01.0202 +1++ Cheat [ Unlimited Currencies ] - 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/
      • 245 replies
    • Royal Kingdom v19683 +4 Jailed Cheats [ Coins + More ]
      Modded/Hacked App: Royal Kingdom By Dream Games
      Bundle ID: com.dreamgames.royalkingdom
      iTunes Store Link: https://apps.apple.com/ph/app/royal-kingdom/id1606549505
       

      Hack Features:
      - Freeze Coins
      - Freeze Lives
      - Freeze Boosters
      - Freeze Moves


      Jailbreak required hack(s): [Mod Menu Hack] Royal Kingdom v3987 +4 Cheats [ Unlimited Coins ] - 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/
      • 137 replies
    • Royal Kingdom v19683 +4 Cheats [ Coins + More ]
      Modded/Hacked App: Royal Kingdom By Dream Games
      Bundle ID: com.dreamgames.royalkingdom
      iTunes Store Link: https://apps.apple.com/ph/app/royal-kingdom/id1606549505
       

      Hack Features:
      - Freeze Coins
      - Freeze Lives
      - Freeze Boosters
      - Freeze Moves


      Non-Jailbroken & No Jailbreak required hack(s): [Non-Jailbroken Hack] Royal Kingdom v3987 +4 Jailed Cheats [ Unlimited Coins ] - 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/
      • 88 replies
    • League of Dreamers - My Story v2.1.4 +3 Jailed Cheats [ Unlimited Currencies ]
      Modded/Hacked App: League of Dreamers - My Story By Story Inc. Company
      Bundle ID: com.storyincorporate.leagueofdreamers
      iTunes Store Link: https://apps.apple.com/us/app/league-of-dreamers-my-story/id1591679538
       

      Hack Features:
      - 666 Gems -> Earn some then restart the game.
      - 666 Keys -> Earn some then restart the game.
      - Free In-App Purchases -> Allows free in-app purchases.


      Jailbreak required hack(s): [Mod Menu Hack] League of Dreamers - My Story v1.54 +3 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/
      • 172 replies
    • League of Dreamers - My Story v2.1.4 +3 Cheats [ Unlimited Currencies ]
      Modded/Hacked App: League of Dreamers - My Story By Story Inc. Company
      Bundle ID: com.storyincorporate.leagueofdreamers
      iTunes Store Link: https://apps.apple.com/us/app/league-of-dreamers-my-story/id1591679538
       

      Hack Features:
      - 666 Gems -> Earn some then restart the game.
      - 666 Keys -> Earn some then restart the game.
      - Free In-App Purchases


      Non-Jailbroken & No Jailbreak required hack(s): https://iosgods.com/forum/79-no-jailbreak-section/
      Modded Android APK(s): https://iosgods.com/forum/68-android-section/
      For more fun, check out the Club(s): https://iosgods.com/clubs/
      • 81 replies
    • Power Slap v7.2.6 +2++ Jailed Cheats [ Unlimited Everything ]
      Modded/Hacked App: Power Slap By Rollic Games Oyun Yazilim ve Pazarlama Anonim Sirketi
      Bundle ID: com.uncosoft.powerslap
      iTunes Store Link: https://apps.apple.com/us/app/power-slap/id6449244841?uo=4


      Hack Features:
      - Unlimited Everything -> Will increase instead of decrease.
      - Pro Pass Unlocked


      Jailbreak required hack(s): [Mod Menu Hack] Power Slap v0.4.1 +4 Cheats [ Damage & Defence ] - 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/
      • 160 replies
    • Idle Breaker v1.4.0 +5++ Jailed Cheats [ Unlimited Everything ]
      Modded/Hacked App: Idle Breaker By Estoty LLC
      Bundle ID: com.idlesurvivor.game
      iTunes Store Link: https://apps.apple.com/us/app/idle-breaker/id6448195469?uo=4


      Hack Features:
      - Unlimited Everything -> Earn some.
      - Damage Multiplier
      - Health Multiplier
      - Tool Damage Multiplier
      - Move Speed Multiplier


      Jailbreak required hack(s): [Mod Menu Hack] Idle Breaker v1.0.31 +5++ Cheats [ Unlimited Everything ] - 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/
      • 58 replies
    • Power Slap v7.2.6 +2++ Cheats [ Unlimited Everything ]
      Modded/Hacked App: Power Slap By Rollic Games Oyun Yazilim ve Pazarlama Anonim Sirketi
      Bundle ID: com.uncosoft.powerslap
      iTunes Store Link: https://apps.apple.com/us/app/power-slap/id6449244841?uo=4


      Hack Features:
      - Unlimited Everything -> Will increase instead of decrease.
      - Pro Pass Unlocked


      Non-Jailbroken & No Jailbreak required hack(s): [Non-Jailbroken Hack] Power Slap v0.4.1 +2 Jailed Cheats [ Unlimited Currencies ] - 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/
      • 113 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