Finding a static pointer in mono compile (ll2cpp) is very simple.
Just use the Cheat Engine mono dissector Feature :)
All structure/pointer offset can be found like this! Very easy!
- open cheat engine, and select among us proccess.
- Mono -> Activate mono features In CheatEngine(top menu)
- Mono -> Dissect Mono In CheatEngine (top menu)
- Goto Assembly-Chsarp.dll -> PlayerControl and RightClick -> Find Instance Of Class
- Copy any instance and add your cheat table
- Copy value and search 4bytes value type
- Good, Now you can find instance static pointer offset in searched list :)
- Update EngineOffset.cs
Same as PlayerControl. Find the ship status on the mono dissector!
(But, Must be try ingame. can't find a static offset in the lobby.)
(Previously, I used it by dumping with il2cpp, so I use signature search.)
- open cheat engine, and select among us proccess.
- Mono -> Activate mono features (top menu)
- Mono -> Dissect Mono (top men
- Goto Assembly-Chsarp.dll -> PlayerControl -> methods -> get_data() right click and Click Jit
- Ctrl+C And Copy Address.
- Goto Copied Address in HexViewer and Copy 7bytes, and Update EngineOffset.cs
Very Easy :)
namespace HamsterCheese.AmongUsMemory
{
public sealed class Pattern
{
/// <summary>
/// Get PlayerControl
/// </summary>
public static string PlayerControl_Pointer = "GameAssembly.dll+DA5A84"; //GameAssembly.dll+E22AE8
public static string ShipStatus_Pointer = "GameAssembly.dll+DA5A50";
public static string AmongusClient_Pointer = "GameAssembly.dll+DA5ACC";
/// <summary>
/// Get PlayerControl.Get_Data();
/// </summary>
public static string PlayerControl_GetData = "55 8B EC 80 3D BD B0 ??";
}
}