You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/hooks_misc.cpp
+35Lines changed: 35 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -5,6 +5,41 @@
5
5
#include"plugin.hpp"
6
6
#include"game_addrs.hpp"
7
7
8
+
classFixC2CRankings : publicHook
9
+
{
10
+
// A lot of the C2C ranking code has a strange check that tries to OpenEventA an existing named event based on current process ID
11
+
// However no code is included in the game to actually create this event first, so the OpenEventA call fails, and game skips the ranking code body
12
+
//
13
+
// The only hit for that 0x19EA3FD3 magic number on google is a semi-decompiled Razor1911 crack, which contains code that creates this event
14
+
//
15
+
// Guess it's probably something that gets created by the SecuROM stub code, and then game devs can add some kind of "if(SECUROM_CHECK) { do stuff }" which inserts the OpenEventA stuff
16
+
// For the Steam release it seems they repacked the original pre-securom-wrapper 2006 game EXE without any changes, guess they forgot these checks were included?
0 commit comments