Skip to content
This repository was archived by the owner on Mar 30, 2026. It is now read-only.

Commit a4f1da6

Browse files
committed
Merge branch 'dev'
2 parents 722d94b + da96353 commit a4f1da6

7 files changed

Lines changed: 24 additions & 17 deletions

File tree

AUMInjector/AUMInjector.rc

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -51,8 +51,8 @@ END
5151
//
5252

5353
VS_VERSION_INFO VERSIONINFO
54-
FILEVERSION 1,0,0,21
55-
PRODUCTVERSION 1,0,0,21
54+
FILEVERSION 1,0,0,22
55+
PRODUCTVERSION 1,0,0,22
5656
FILEFLAGSMASK 0x3fL
5757
#ifdef _DEBUG
5858
FILEFLAGS 0x1L
@@ -69,12 +69,12 @@ BEGIN
6969
BEGIN
7070
VALUE "CompanyName", "Team ESDG"
7171
VALUE "FileDescription", "Among Us to Mumble VoIP adapter"
72-
VALUE "FileVersion", "1.0.0.21"
72+
VALUE "FileVersion", "1.0.0.22"
7373
VALUE "InternalName", "winhttp.dll"
7474
VALUE "LegalCopyright", "Copyright (C) Team ESDG 2021"
7575
VALUE "OriginalFilename", "winhttp.dll"
7676
VALUE "ProductName", "AmongUs-Mumble"
77-
VALUE "ProductVersion", "1.0.0.21"
77+
VALUE "ProductVersion", "1.0.0.22"
7878
END
7979
END
8080
BLOCK "VarFileInfo"

AUMInjector/deobfuscate/deobfuscate.h

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -30,12 +30,6 @@ using namespace app;
3030
#include "2021_4_12s.h"
3131
#elif GAME_VERSION == GAME_VERSION_2021_4_14s
3232
#include "2021_4_14s.h"
33-
#elif GAME_VERSION == GAME_VERSION_2021_5_10s
34-
#include "unobfuscated.h"
35-
#elif GAME_VERSION == GAME_VERSION_2021_5_25s
36-
#include "unobfuscated.h"
37-
#elif GAME_VERSION == GAME_VERSION_2021_6_15s
38-
#include "unobfuscated.h"
3933
#else
40-
#error Unknown game version!
34+
#include "unobfuscated.h"
4135
#endif

AUMInjector/deobfuscate/unobfuscated.h

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ using HudOverrideTask = HudOverrideTask;
1212
using ChatController = ChatController;
1313
using AmongUsClient = AmongUsClient;
1414
using PlayerInfo = GameData_PlayerInfo;
15+
using ModManager = ModManager;
1516
#define PlayerControl_GetTruePosition_Trampoline PlayerControl_GetTruePosition
1617
#define PlayerControl_Die_Trampoline PlayerControl_Die
1718
#define PlayerControl_GetData_Trampoline PlayerControl_get_Data
@@ -42,4 +43,6 @@ __declspec(selectany) LightSource* PlayerControl__Fields::* MyLight = &PlayerCon
4243
#define HudOverrideTask_Initialize_Trampoline HudOverrideTask_Initialize
4344
#define HudOverrideTask_Complete_Trampoline HudOverrideTask_Complete
4445
#define MessageWriter_Write_Byte_Trampoline MessageWriter_Write_1
45-
#define AmongUsClient_OnPlayerJoined_Trampoline AmongUsClient_OnPlayerJoined
46+
#define AmongUsClient_OnPlayerJoined_Trampoline AmongUsClient_OnPlayerJoined
47+
#define ModManager_LateUpdate ModManager_LateUpdate
48+
#define ModManager_ShowModStamp ModManager_ShowModStamp

AUMInjector/deobfuscate/version.h

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,9 @@
1313
#define GAME_VERSION_2021_5_10s 202105100
1414
#define GAME_VERSION_2021_5_25s 202105250
1515
#define GAME_VERSION_2021_6_15s 202106150
16+
#define GAME_VERSION_2021_6_30s 202106300
1617
#ifndef GAME_VERSION
17-
#define GAME_VERSION GAME_VERSION_2021_6_15s
18+
#define GAME_VERSION GAME_VERSION_2021_6_30s
1819
#endif
1920

2021
#if GAME_VERSION == GAME_VERSION_2020_9_22s
@@ -47,6 +48,8 @@
4748
#define version_text "2021.5.25s"
4849
#elif GAME_VERSION == GAME_VERSION_2021_6_15s
4950
#define version_text "2021.6.15s"
51+
#elif GAME_VERSION == GAME_VERSION_2021_6_30s
52+
#define version_text "2021.6.30s"
5053
#else
5154
#error Unknown game version!
5255
#endif

AUMInjector/user/main.cpp

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -419,6 +419,12 @@ void InnerNetClient_HandleGameData_Hook(InnerNetClient* __this, MessageReader* r
419419
InnerNetClient_HandleGameData_Trampoline(__this, reader, method);
420420
}
421421

422+
// Show mod stamp to conform to policy
423+
void ModManager_LateUpdate_Hook(ModManager* __this, MethodInfo* method)
424+
{
425+
ModManager_LateUpdate(__this, method);
426+
ModManager_ShowModStamp(__this, NULL);
427+
}
422428

423429
// Entrypoint of the injected thread
424430
void Run()
@@ -501,6 +507,7 @@ void Run()
501507
DetourAttach(&(PVOID&)HudOverrideTask_Complete_Trampoline, HudOverrideTask_Complete_Hook);
502508
DetourAttach(&(PVOID&)AmongUsClient_OnPlayerJoined_Trampoline, AmongUsClient_OnPlayerJoined_Hook);
503509
DetourAttach(&(PVOID&)InnerNetClient_HandleGameData_Trampoline, InnerNetClient_HandleGameData_Hook);
510+
DetourAttach(&(PVOID&)ModManager_LateUpdate, ModManager_LateUpdate_Hook);
504511

505512
//dynamic_analysis_attach();
506513
LONG errDetour = DetourTransactionCommit();

decompile.bat

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@ REM Decompile game data
1212
REM Copy c++ signatures to project
1313
XCOPY "cpp\appdata\*.*" "..\AUMInjector\appdata\" /K /D /H /Y
1414

15-
REM Generate deobfuctation map
16-
dotnet build "..\AUMDeobfuscator\AUMDeobfuscator.csproj" -c "Release"
17-
"..\AUMDeobfuscator\bin\Release\net5.0\AUMDeobfuscator.exe" "cs" --gameversion "%AMONGUS_VERSION%" -o "..\AUMInjector\deobfuscate\generated_%AMONGUS_VERSION%.h"
15+
@REM REM Generate deobfuctation map
16+
@REM dotnet build "..\AUMDeobfuscator\AUMDeobfuscator.csproj" -c "Release"
17+
@REM "..\AUMDeobfuscator\bin\Release\net5.0\AUMDeobfuscator.exe" "cs" --gameversion "%AMONGUS_VERSION%" -o "..\AUMInjector\deobfuscate\generated_%AMONGUS_VERSION%.h"
1818

1919
CD ..
2020
DEL /s /q tmp\* >NUL 2>&1

setup.bat.example

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ REM set the path to your game folder
44
SET "AMONGUS=C:\Steam\steamapps\common\Among Us"
55

66
REM set the version of the generated deobfuscations
7-
SET "AMONGUS_VERSION=2021_6_15s"
7+
SET "AMONGUS_VERSION=2021_6_30s"
88

99
REM set the path of tools
1010
SET "IL2CPPINSPECTOR=C:\Users\Christoph\Documents\GitHub\Il2CppInspector\Il2CppInspector.CLI\bin\Release\netcoreapp3.1\win-x64\publish\Il2CppInspector.exe"

0 commit comments

Comments
 (0)