Jump to content

Universal ESP hack for all FPS Games (Unity3D) - H5GG - [No JB]


599 posts in this topic

Recommended Posts

On 3/3/2023 at 9:33 PM, 𓄼 . f v c k . 𓄹 said:

Oh okay, yeah afaik Unity5D do not have such features.

Tho if you could manage to do something like this, it would be insane PepeStop

I am getting good progress on it but got stuck on Javascript cannot pass primitive type as reference .

In cpp, we can do following

      void* fieldValue;

      IL2CPP_.il2cpp_field_get_value(objectIL_, fieldInfo, &fieldValue);

while, fieldValue will store the result.

But in Javascript, I can’t do primitive type passing by reference. fieldValue suppose will store an Integer. 
but in JavaScript, I will always get 0.

Is it possible to write a wrapper function in cpp and package as Dylib for H5GG to use?

What I need is a simple function that wrap the IL2CPP_.il2cpp_field_get_value and return fieldValue as usual.

I actually found something similar online.

Spoiler
#include <exception>
#include "GameObject.h"
 
/******************** External API ********************/
 
/******************** Module Typedefs ********************/
 
/******************** Module Constants ********************/
 
/******************** Module Variables ********************/
 
/* Declare the static reference to the IL2CPP object. */
IL2CPP GameObject::IL2CPP_ = IL2CPP();
 
/******************** Module Prototypes ********************/
 
/******************** Public Code ********************/
 
GameObject::GameObject(Il2CppObject* objectIL)
	:	objectIL_(objectIL), className_(getIL2CPPClassName(objectIL))
{
	/* Constructor that sets the objects base address. */
}
 
std::unique_ptr<GameObject> GameObject::getStaticGameObjectFromClass(const char* nameSpace, const char* className, const char* fieldName)
{
	std::unique_ptr<GameObject> result = nullptr;
 
	/* Get the IL2CPP object. */
	auto ilObject = (Il2CppObject*)getIL2CPPStaticFieldFromClass(nameSpace, className, fieldName);
	if (NULL != ilObject)
	{
		result = std::make_unique<GameObject>(ilObject);
	}
 
	return result;
}
 
void* GameObject::getStaticValueFromClass(const char* nameSpace, const char* className, const char* fieldName)
{
	return getIL2CPPStaticFieldFromClass(nameSpace, className, fieldName);
}
 
std::unique_ptr<GameObject> GameObject::getGameObjectFromField(const char* fieldName)
{
	std::unique_ptr<GameObject> result = nullptr;
 
	auto ilObject = (Il2CppObject*)getIL2CPPFieldFromObject(fieldName);
	if (NULL != ilObject)
	{
		result = std::make_unique<GameObject>(ilObject);
	}
 
	return result;
}
 
void* GameObject::getValueFromField(const char* fieldName)
{
	return getIL2CPPFieldFromObject(fieldName);
}
 
/******************** Private Code ********************/
 
std::string GameObject::getIL2CPPClassName(Il2CppObject* objectIL)
{
	TypeInfo* typeInfo = IL2CPP_.il2cpp_object_get_class(objectIL);
	if (NULL == typeInfo)
	{
		throw std::exception("Unable to get TypeInfo of object.");
	}
 
	return std::string(typeInfo->namespaze) + "::" + typeInfo->name;
}
 
void* GameObject::getIL2CPPStaticFieldFromClass(const char* nameSpace, const char* className, const char* fieldName)
{
	void* result = NULL;
 
	/* Attempt to find typeinfo of the class in all of the loaded assemblies. */
	TypeInfo* classTypeInfo = NULL;
 
	Il2CppDomain* domain = IL2CPP_.il2cpp_domain_get();
	if (NULL == domain)
	{
		throw std::exception("Unable to get domain.");
	}
 
	size_t assemblyListLength = 0;
	Il2CppAssembly** assemblyList = IL2CPP_.il2cpp_domain_get_assemblies(domain, &assemblyListLength);
 
	for (size_t i = 0; i < assemblyListLength; i++)
	{
		Il2CppAssembly* assembly = assemblyList[i];
 
		if (NULL != assembly)
		{
			Il2CppImage* image = IL2CPP_.il2pp_assembly_get_image(assembly);
			if (NULL != image)
			{
				classTypeInfo = IL2CPP_.il2cpp_class_from_name(image, nameSpace, className);
 
				if (NULL != classTypeInfo)
				{
					/* Class has been found, break from the loop. */
					break;
				}
			}
		}
	}
 
	/* If we managed to get the type information of the class, continue. */
	if (NULL != classTypeInfo)
	{
		/* Get the field information of the class. */
		FieldInfo* classFieldInfo = IL2CPP_.il2cpp_class_get_field_from_name(classTypeInfo, fieldName);
		if (NULL == classFieldInfo)
		{
			throw std::exception("Unable to get FieldInfo of the requested field.");
		}
 
		/* Retrieve the static value. */
		IL2CPP_.il2cpp_field_static_get_value(classFieldInfo, &result);
	}
	else
	{
		throw std::exception("Unable to get type information of class.");
	}
 
	return result;
}
 
void* GameObject::getIL2CPPFieldFromObject(const char* fieldName)
{
	/* Get the type info of the current object. */
	TypeInfo* thisType = IL2CPP_.il2cpp_object_get_class(objectIL_);
	if (NULL == thisType)
	{
		throw std::exception("Unable to get TypeInfo of current object.");
	}
 
	/* Then get the field info from the type info. */
	FieldInfo* fieldInfo = IL2CPP_.il2cpp_class_get_field_from_name(thisType, fieldName);
	if (NULL != fieldInfo)
	{
		throw std::exception("Unable to get FieldInfo of the requested field.");
	}
 
	/* Then get the value from the object. */
	void* fieldValue;
	IL2CPP_.il2cpp_field_get_value(objectIL_, fieldInfo, &fieldValue);
 
	return fieldValue;
}

 

But I have no idea how to compile it as Dylib that H5GG can consume. Not much experience in cpp

  • Like 2

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below. For more information, please read our Posting Guidelines.
Reply to this topic... Posting Guidelines

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Our picks

    • (Resonance Solstice China) 雷索纳斯 v1.4.0 +2 Jailed Cheats
      Modded/Hacked App: 雷索纳斯 By Shanghai Leiyu Network Technology Co.,Ltd.
      Bundle ID: com.shanghaileiyu.lsns
      iTunes Store Link: https://apps.apple.com/cn/app/%E9%9B%B7%E7%B4%A2%E7%BA%B3%E6%96%AF/id6466783172?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:
      - Damage Multiplier
      - Defense Multiplier


      Jailbreak required hack(s): 


      iOS Hack Download IPA Link:

      Hidden Content

      Download via the iOSGods App








      PC Installation Instructions:
      STEP 1: If necessary, uninstall the app if you have it installed on your iDevice. Some hacked IPAs will install as a duplicate app. Make sure to back it up so you don't lose your progress.
      STEP 2: Download the pre-hacked .IPA file from the link above to your computer. To download from the iOSGods App, see this tutorial topic.
      STEP 3: Download Sideloadly and install it on your PC.
      STEP 4: Open/Run Sideloadly on your computer, connect your iOS Device, and wait until your device name shows up.
      STEP 5: Once your iDevice appears, drag the modded .IPA file you downloaded and drop it inside the Sideloadly application.
      STEP 6: You will now have to enter your iTunes/Apple ID email login, press "Start" & then you will be asked to enter your password. Go ahead and enter the required information.
      STEP 7: Wait for Sideloadly to finish sideloading/installing the hacked IPA. If there are issues during installation, please read the note below.
      STEP 8: Once the installation is complete and you see the app on your Home Screen, you will need to go to Settings -> General -> Profiles/VPN & Device Management. Once there, tap on the email you entered from step 6, and then tap on 'Trust [email protected]'.
      STEP 9: Now go to your Home Screen and open the newly installed app and everything should work fine. You may need to follow further per app instructions inside the hack's popup in-game.

      NOTE: iOS/iPadOS 16 and later, you must enable Developer Mode. For free Apple Developer accounts, you will need to repeat this process every 7 days. Jailbroken iDevices can also use Sideloadly/Filza/IPA Installer to normally install the IPA with AppSync. If you have any questions or problems, read our Sideloadly FAQ section of the topic and if you don't find a solution, please post your issue down below and we'll do our best to help! If the hack does work for you, post your feedback below and help out other fellow members that are encountering issues.


      Credits:
      - AlyssaX64


      Cheat Video/Screenshots:

      N/A
      • 1 reply
    • (Resonance Solstice China) 雷索纳斯 v1.4.0 +2 Cheats
      Modded/Hacked App: 雷索纳斯 By Shanghai Leiyu Network Technology Co.,Ltd.
      Bundle ID: com.shanghaileiyu.lsns
      iTunes Store Link: https://apps.apple.com/cn/app/%E9%9B%B7%E7%B4%A2%E7%BA%B3%E6%96%AF/id6466783172?uo=4


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


      Hack Features:
      - Damage Multiplier
      - Defense Multiplier


      Non-Jailbroken & No Jailbreak required hack(s): 


      iOS Hack Download Link:

      Hidden Content

      Download Hack








      Installation Instructions:
      STEP 1: Download the .deb Cydia hack file from the link above. Use Safari/Google Chrome or other iOS browsers to download.
      STEP 2: Once the file has downloaded, tap on it and then you will be prompted on whether you want to open the deb with iGameGod or copy it to Filza.
      STEP 3: If necessary, tap on the downloaded file, and then, you will need to press 'Install' from the options on your screen.
      STEP 4: Let iGameGod/Filza finish the cheat installation. Make sure it successfully installs, otherwise see the note below.
      STEP 5: If the hack is a Mod Menu — which is usually the case nowadays — the cheat features can be toggled in-game. Some cheats have options that can be enabled from your iDevice settings.
      STEP 6: Turn on the features you want and play the game. You may need to follow further instructions inside the hack's popup in-game.

       

      NOTE: If you have any questions or problems, read our Troubleshooting topic & Frequently Asked Questions & Answers topic. If you still haven't found a solution, post your issue down below and we'll do our best to help! If the hack does work for you, please post your feedback below and help out other fellow members that are encountering issues.


      Credits:
      - AlyssaX64


      Cheat Video/Screenshots:

      N/A
      • 2 replies
    • Cat Snack Bar Cheats v1.0.153 +1
      Modded/Hacked App: Cat Snack Bar By treeplla Inc.
      Bundle ID: com.tree.idle.catsnackbar
      iTunes Store Link: https://apps.apple.com/us/app/cat-snack-bar/id6443895159?uo=4


      Hack Features:
      - Freeze Currencies


      Non-Jailbroken & No Jailbreak required hack(s): https://iosgods.com/topic/170232-cat-snack-bar-v1036-jailed-cheats-1/


      iOS Hack Download Link: https://iosgods.com/topic/170233-cat-snack-bar-cheats-v1036-1/
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 66 replies
    • Cats & Soup Cheats v2.59.1 +2
      Modded/Hacked App: Cats & Soup By HIDEA Co.,Ltd
      Bundle ID: com.hidea.cat
      iTunes Store Link: https://apps.apple.com/us/app/cats-soup/id1581431235?uo=4


      Hack Features:
      - Infinite Currencies


      Non-Jailbroken & No Jailbreak required hack(s): https://iosgods.com/topic/157486-cats-soup-v196-jailed-cheats-1/


      iOS Hack Download Link: https://iosgods.com/topic/157484-cats-soup-cheats-v196-1/
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 277 replies
    • Toca Boca World Modded v1.100.1 +1
      Modded/Hacked App: Toca Boca World By Toca Boca AB
      Bundle ID: com.tocaboca.tocalifeworld
      iTunes Store Link: https://apps.apple.com/us/app/toca-boca-world/id1208138685?uo=4


      Mod Requirements:
      - Jailbroken iPhone/iPad/iPod Touch.
      - iFile / Filza / iFunBox / iTools or any other file managers for iOS.
      - Cydia Substrate (from Cydia).
      - PreferenceLoader (from Cydia).


      Hack Features:
      - Everything Purchased


      Non-Jailbroken & No Jailbreak required hack(s): 


      Hack Download Link:

      Hidden Content

      Download Hack








      Installation Instructions:
      STEP 1: Download the .deb Cydia hack file from the link above.
      STEP 2: Copy the file over to your iDevice using any of the file managers mentioned above or skip this step if you're downloading from your iDevice.
      STEP 3: Using iFile or Filza, browse to where you saved the downloaded .deb file and tap on it.
      STEP 4: Once you tap on the file, you will then need to press on 'Installer' or 'Install' from the options on your screen.
      STEP 5: Let iFile / Filza finish the cheat installation. Make sure it successfully installs, otherwise see the note below.
      STEP 6: Now open your iDevice settings and scroll down until you see the settings for this cheat and tap on it. If the hack is a Mod Menu, the cheat features can be toggled in-game.
      STEP 7: Turn on the features you want and play the game. You may need to follow further instructions inside the hack's popup in-game.

       

      NOTE: If you have any questions or problems, read our Troubleshooting topic & Frequently Asked Questions topic. If you still haven't found a solution, post your issue down below and we'll do our best to help! If the hack does work for you, post your feedback below and help out other fellow members that are encountering issues.


      Credits:
      - @Laxus


      Cheat Video/Screenshots:

      N/A

       
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 1,324 replies
    • Alien Invasion: RPG Idle Space Cheats v4.01.00 +2
      Modded/Hacked App: Alien Invasion: RPG Idle Space By MULTICAST GAMES LIMITED
      Bundle ID: com.multicastgames.venomSurvive
      iTunes Store Link: https://apps.apple.com/us/app/alien-invasion-rpg-idle-space/id6443697602?uo=4


      Hack Features:
      - Infinite Currencies


      Non-Jailbroken & No Jailbreak required hack(s): https://iosgods.com/topic/167591-alien-invasion-rpg-idle-space-v204-jailed-cheats-1/


      iOS Hack Download Link: https://iosgods.com/topic/167589-alien-invasion-rpg-idle-space-cheats-v204-1/
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 383 replies
    • Idle MoonRabbit: AFK RPG Cheats v1.109.2 +4
      Modded/Hacked App: Idle MoonRabbit: AFK RPG By Able Games Co. ,Ltd.
      Bundle ID: com.TheAbleGames.DalToKi
      iTunes Store Link: https://apps.apple.com/us/app/idle-moonrabbit-afk-rpg/id1599684924?uo=4


      Hack Features:
      - Multiply Attack
      - Multiply Defense
      - Multiply Stats
      - Instant Kill


      iOS Hack Download Link: https://iosgods.com/topic/167497-idle-moonrabbit-afk-rpg-cheats-v1629-4/
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 214 replies
    • Prison Empire Tycoon-Idle Game Cheats v3.01 +2
      Modded/Hacked App: Prison Empire Tycoon-Idle Game by Digital Things Sociedad Limitada
      Bundle ID: com.codigames.idle.prison.empire.manager.tycoon
      iTunes Store Link: https://apps.apple.com/us/app/prison-empire-tycoon-idle-game/id1508490923?uo=4&at=1010lce4


      Hack Features:
      - Infinite Cash
      - No Ads


      Non-Jailbroken & No Jailbreak required hack(s):  https://iosgods.com/topic/128324-arm64-prison-empire-tycoon%EF%BC%8Didle-game-v102-jailed-cheats-2/

       
      iOS Hack Download Link: https://iosgods.com/topic/128322-arm64-prison-empire-tycoon%EF%BC%8Didle-game-cheats-all-versions-2/
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 1,140 replies
    • Into The Dead 2 Cheats v1.74.1 +11
      Modded/Hacked App: Into the Dead 2 By Prodigy Design Limited T/A Sidhe Interactive
      Bundle ID: com.pikpok.dr2.iosstore
      iTunes Store Link: https://itunes.apple.com/us/app/into-the-dead-2/id1151220243?mt=8&uo=4&at=1010lce4



      Hack Features:
      - Infinite Ammo
      - No Reload
      - One Shot Kill
      - Infinite Grenade
      - No Grenade Cooldown
      - Insane Explotion Radius after Throw Grenade
      - No Collision (God Mode)
      - Infinite Stamnia
      - ViP Services
      - Infinite Silver
      - Infinite Gold


      Hack Download Link: https://iosgods.com/topic/73337-arm64-into-the-dead-2-cheats-v1141-11/
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 1,562 replies
    • Arcana Tactics v5.0.0 Jailed Cheats +3
      Modded/Hacked App: Arcana Tactics By Com2uS Holdings Corporation
      Bundle ID: com.gamevil.arcanatactics.ios.apple.global.normal
      iTunes Store Link: https://apps.apple.com/us/app/arcana-tactics/id1521412306?uo=4

      Hack Features:
      - Multiply Attack
      - Multiply Defense
      - Auto Win


      iOS Hack Download IPA Link: https://iosgods.com/topic/185737-arcana-tactics-v480-jailed-cheats-3/
        • Agree
        • Thanks
        • Like
      • 24 replies
    • Idle Lumber Empire - Wood Game Cheats v1.11.2 +2
      Modded/Hacked App: Lumber Empire: Idle Tycoon By ADQUANTUM LTD
      Bundle ID: com.lumber.inc
      iTunes Store Link: https://apps.apple.com/us/app/lumber-empire-idle-tycoon/id1552153525?uo=4


      Hack Features:
      - Freeze Currencies


      Non-Jailbroken & No Jailbreak required hack(s): https://iosgods.com/topic/150641-lumber-empire-idle-tycoon-v135-jailed-cheats-1/


      iOS Hack Download Link: https://iosgods.com/topic/150640-lumber-empire-idle-tycoon-cheats-v135-1/
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 617 replies
    • [ ArKnights TW ] 明日方舟 v24.2.22 - [ x Player Damage & More ]
      Modded/Hacked App: 明日方舟 By Longcheng Ltd.
      Bundle ID: tw.txwy.ios.arknights
      iTunes Store Link: https://apps.apple.com/tw/app/明日方舟/id1490985322?uo=4&at=1010lce4


      Hack Features:
      - x Player Damage - x1 - 1000
      - x Player Defense - x1 - 1000
      - x Player Attack Speed - x1 - 10
      - Frozen Enemies
      - Instant - Kill
      - Instant - Win
      - Unlimited Skills
      - No Deploy Cost


      iOS Hack Download Link: https://iosgods.com/topic/129583-arknights-tw-%E6%98%8E%E6%97%A5%E6%96%B9%E8%88%9F-v0902-x-player-damage-more/
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 448 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