This is an internal cheat for the game BLOCKADE Classic, a free unity-il2cpp game on Steam. The only point of this project is to learn IL2CPP API and make my wrappers for it. This is why the features are kinda pointless. You can implement your own features by using Il2CppDumper + DnSpy and inspecting the game's assemblies.
- Very buggy aimbot (Right-click, targets everyone and loves to aim at ground)
- Chams
- Speedhack (We go from 0.18 to 0.22 speed)
- Low Gravity
- 2-blocks instant jump when pressing SHIFT
This source code is provided for educational purpose only. I'm not responsible if anyone uses this to cheat in game. (Even tho the game is a cancer p2w)
So from what I understand you have to hook a class's function in order to get its instances, or just get it from static fields. (Il2CppObject*)
Here are some examples of how to use my wrappers:
Initialize
MEMORY memory;
IL2CPP::Initialize(memory);
IL2CPP::Attach();Access the global namespace of Assembly-CSharp
auto assembly_csharp = IL2CPP::Assembly("Assembly-CSharp");
auto global_namespace = assembly_csharp->Namespace("");Access function pointer of a class method
vp_Controller_AddForce = global_namespace->Class("vp_FPController")->Method("AddForce", 1) // 1 is the method's arg count
->FindFunction<vp_Controller_AddForce_t>();Hook a function of a class method
auto update_hook = global_namespace->Class("RemotePlayersController")->Method("Update", 0) // 0 is the method's arg count
->Hook<RemotePlayersController_Update_t>(memory, RemotePlayersController_Update, &RemotePlayersController_Update_original);