Skip to content
This repository was archived by the owner on Aug 22, 2024. It is now read-only.

Commit 905e993

Browse files
author
marqdevx
committed
Update signatures
1 parent bd62144 commit 905e993

File tree

1 file changed

+36
-19
lines changed

1 file changed

+36
-19
lines changed

gamedata/cs2fixes.games.txt

Lines changed: 36 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -100,13 +100,6 @@
100100
"windows" "\x40\x53\x48\x83\xEC\x20\x48\x8B\xD9\x3B\x91\xD0\x00\x00\x00"
101101
"linux" "\x55\x48\x89\xE5\x41\x55\x41\x54\x53\x48\x89\xFB\x48\x83\xEC\x08\x3B\xB7\xE0\x00\x00\x00"
102102
}
103-
// String: "Playing sound on non-networked entity %s"
104-
"CSoundEmitterSystem_EmitSound"
105-
{
106-
"library" "server"
107-
"windows" "\x48\x8B\xC4\x4C\x89\x40\x18\x55\x57"
108-
"linux" "\x48\xB8\x2A\x2A\x2A\x2A\xFF\xFF\xFF\xFF\x55\x48\x89\xE5\x41\x57\x41\x89\xF7"
109-
}
110103
// idk a good way to find this again, i just brute forced the vtable. offset is 133 on CTriggerPush
111104
"TriggerPush_Touch"
112105
{
@@ -326,20 +319,37 @@
326319
"linux" "\x48\x85\xF6\x74\x2A\x48\x8B\x47\x10\xF6\x40\x31\x02\x75\x2A\x48\x8B\x46\x10\xF6\x40\x31\x02\x75\x2A\xB8\x2A\x2A\x2A\x2A"
327320
}
328321

329-
// "CNetChan::SendNetMessage"
330-
"SendNetMessage"
322+
// "Attempted to find unknown particle system \"%s\"\n"
323+
"GetParticleSystemIndex"
331324
{
332-
"library" "networksystem"
333-
"windows" "\x48\x89\x5C\x24\x10\x48\x89\x6C\x24\x18\x48\x89\x74\x24\x20\x57\x41\x56\x41\x57\x48\x83\xEC\x40\x49\x8B\xE8"
334-
"linux" "\x55\x48\x89\xE5\x41\x57\x41\x89\xCF\x41\x56\x4C\x8D\xB7\x90\x76\x00\x00"
325+
"library" "server"
326+
"windows" "\x48\x89\x5C\x24\x08\x48\x89\x74\x24\x10\x57\x48\x81\xEC\x00\x01\x00\x00\x48\x8B\xF2\x48\x8B\xF9"
327+
"linux" "\x55\x48\x89\xE5\x41\x57\x41\x56\x41\x55\x49\x89\xFD\x41\x54\x48\x81\xEC\xE0\x00\x00\x00"
335328
}
336329

337-
// "Discarding pending request"
338-
"HostStateRequest"
330+
// "ParticleEffect", found in a function with 9 arguments
331+
"DispatchParticleEffect"
332+
{
333+
"library" "server"
334+
"windows" "\x48\x89\x5C\x24\x10\x48\x89\x74\x24\x18\x55\x57\x41\x56\x48\x8D\x6C\x24\xE1"
335+
"linux" "\x55\x48\x89\xE5\x41\x57\x41\x56\x49\x89\xFE\x41\x55\x45\x89\xCD\x41\x54\x49\x89\xD4\x53\x89\xCB\x48\x81\xEC\x2A\x2A\x2A\x2A"
336+
}
337+
338+
// search for "land_%s", this is called after that string is referenced (the one with 4 parameters).
339+
// (function that calls it also contains "T_Default.SuitLand").
340+
"CBaseEntity_EmitSoundFilter"
341+
{
342+
"library" "server"
343+
"windows" "\x48\x89\x5C\x24\x08\x48\x89\x6C\x24\x10\x48\x89\x74\x24\x18\x48\x89\x7C\x24\x20\x41\x56\x48\x83\xEC\x30\x48\x8B\xF9"
344+
"linux" "\x55\x48\x89\xE5\x41\x57\x41\x56\x49\x89\xD6\x41\x55\x41\x89\xF5\x41\x54\x49\x89\xFC\x53\x48\x83\xEC\x2A\x48"
345+
}
346+
347+
// "CNetworkStringTable::AddString"
348+
"CNetworkStringTable_AddString"
339349
{
340350
"library" "engine"
341-
"windows" "\x48\x89\x74\x24\x10\x57\x48\x83\xEC\x30\x33\xF6\x48\x8B\xFA"
342-
"linux" "\x55\x48\x89\xE5\x41\x56\x41\x55\x41\x54\x49\x89\xF4\x53\x48\x83\x7F\x30\x00"
351+
"windows" "\x48\x89\x5C\x24\x2A\x55\x56\x57\x48\x83\xEC\x60\x80\x79\x44\x02\x49\x8B\xF9"
352+
"linux" "\x55\x48\x89\xE5\x41\x57\x41\x56\x41\x55\x49\x89\xCD\x41\x54\x49\x89\xFC\x53\x89\xF3\x48\x83\xEC\x28\x80\x7F\x3C\x01"
343353
}
344354
}
345355
"Offsets"
@@ -414,13 +424,20 @@
414424
"windows" "584"
415425
"linux" "584"
416426
}
417-
418-
// "tried to sprint to a non-client", there will be a check above like this: if ( a2 >= *(v5 + 632) )
427+
// engine
428+
// "tried to sprint to a non-client", there will be a check above like this: if ( a2 >= *(v5 + 632) ), note that this is a CUtlVector
419429
"CNetworkGameServer_ClientList"
420430
{
421431
"windows" "77"
422432
"linux" "79"
423433
}
434+
435+
// Called right before printing "Warning: Can't add nullptr string to table %s\n"
436+
"CNetworkStringTable_GetTableName"
437+
{
438+
"windows" "1"
439+
"linux" "2"
440+
}
424441
}
425442
"Patches"
426443
{
@@ -470,4 +487,4 @@
470487
}
471488
}
472489
}
473-
}
490+
}

0 commit comments

Comments
 (0)