Skip to content

Commit

Permalink
[skip ci] x86 Windows Gamedata Update for 4/18/2024 TF2 Update (#51)
Browse files Browse the repository at this point in the history
This fixes the following Windows signatures that were changed:

- Studio_LookupSequence
- Studio_SelectWeightedSequence
- SimThink_EntityChanged
- CBaseEntity::PhysicsMarkEntitiesAsTouching
- CBaseEntity::TakeDamage
- CBaseAnimating::SetPoseParameter

---------

Co-authored-by: Kit o' Rifty <[email protected]>
  • Loading branch information
CookieCat45 and KitRifty authored Apr 19, 2024
1 parent 3a638b7 commit 297c057
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions gamedata/cbasenpc.txt
Original file line number Diff line number Diff line change
Expand Up @@ -209,13 +209,13 @@
"Studio_LookupSequence"
{
"library" "server"
"windows" "\x55\x8B\xEC\x56\x8B\x75\x08\x85\xF6\x75\x2A\x33\xC0\x5E\x5D\xC3\x8B\xCE\xE8\x2A\x2A\x2A\x2A\x84\xC0\x74\x2A\x53"
"windows" "\x55\x8B\xEC\x56\x8B\x75\x2A\x85\xF6\x0F\x84\x2A\x2A\x2A\x2A\x8B\xCE"
"linux" "@_Z14LookupSequenceP10CStudioHdrPKc"
}
"Studio_SelectWeightedSequence"
{
"library" "server"
"windows" "\x55\x8B\xEC\x56\x8B\x75\x08\x85\xF6\x75\x2A\x33\xC0\x5E\x5D\xC3\x8B\xCE\xE8\x2A\x2A\x2A\x2A\x84\xC0\x74\x2A\x8B\xCE"
"windows" "\x55\x8B\xEC\x83\xEC\x10\x53\x8B\x5D\x08\x56\x57\x53"
"linux" "@_Z22SelectWeightedSequenceP10CStudioHdrii"
}
// Find "placementOrigin" first subroutine call below it
Expand All @@ -229,7 +229,7 @@
"SimThink_EntityChanged"
{
"library" "server"
"windows" "\x55\x8B\xEC\x56\x57\x8B\x7D\x08\x8B\xF1\xF6\x87\x3C\x01\x00\x00\x01"
"windows" "\x55\x8B\xEC\x51\x53\x8B\x5D\x08\x56\x8B\xF1\xF6\x83\x3C\x01\x00\x00\x01"
"linux" "@_Z22SimThink_EntityChangedP11CBaseEntity"
}
// Find ".?AVCRallyPoint@@" to get to CRallyPoint's type descriptor -> complete object locator -> vtable
Expand All @@ -246,7 +246,7 @@
"CBaseEntity::PhysicsMarkEntitiesAsTouching"
{
"library" "server"
"windows" "\x55\x8B\xEC\x56\x8B\x75\x0C\x57\x8B\xF9\xB9\x2A\x2A\x2A\x2A\x56\xE8\x2A\x2A\x2A\x2A\xF3\x0F\x10\x46\x38\x8B\xCF\xF3\x0F\x11\x05\x2A\x2A\x2A\x2A\x8B\x46\x3C\xA3\x2A\x2A\x2A\x2A\x8B\x46\x40\xA3\x2A\x2A\x2A\x2A\x8B\x46\x44\xA3\x2A\x2A\x2A\x2A\x66\x8B\x46\x48\x66\xA3\x2A\x2A\x2A\x2A\x8B\x46\x4C\xA3\x2A\x2A\x2A\x2A\x8B\x46\x50\x8B\x75\x08\x56\xA3\x2A\x2A\x2A\x2A\xE8\x2A\x2A\x2A\x2A"
"windows" "\x55\x8B\xEC\x57\xFF\x75\x2A\x8B\xF9\xB9"
"linux" "@_ZN11CBaseEntity29PhysicsMarkEntitiesAsTouchingEPS_R10CGameTrace"
}
// Find "m_CalcAbsolutePositionMutex" to find CBaseEntity::CalcAbsolutePosition
Expand All @@ -272,7 +272,7 @@
"CBaseEntity::TakeDamage"
{
"library" "server"
"windows" "\x55\x8B\xEC\x81\xEC\x98\x00\x00\x00\x53\x8B\xD9"
"windows" "\x55\x8B\xEC\x81\xEC\x98\x00\x00\x00\x53\x56\x57\x8B\xF9\x8B\x0D\x2A\x2A\x2A\x2A"
"linux" "@_ZN11CBaseEntity10TakeDamageERK15CTakeDamageInfo"
}
// "g_EntityListPool"
Expand All @@ -285,7 +285,7 @@
"CBaseAnimating::SetPoseParameter"
{
"library" "server"
"windows" "\x55\x8B\xEC\x8B\x45\x08\xD9\x45\x10"
"windows" "\x55\x8B\xEC\x51\x8B\x45\x2A\xD9\x45"
"linux" "@_ZN14CBaseAnimating16SetPoseParameterEP10CStudioHdrif"
}
"CBaseAnimating::GetPoseParameter"
Expand All @@ -297,7 +297,7 @@
"CBaseAnimating::LookupPoseParameter"
{
"library" "server"
"windows" "\x55\x8B\xEC\x57\x8B\x7D\x08\x85\xFF\x75\x2A\x33\xC0\x5F\x5D\xC2\x08\x00"
"windows" "\x55\x8B\xEC\x57\x8B\x7D\x08\x85\xFF\x74\x2A\x8B\xCF\xE8\x2A\x2A\x2A\x2A\x84\xC0"
"linux" "@_ZN14CBaseAnimating19LookupPoseParameterEP10CStudioHdrPKc"
}
"CBaseAnimating::SequenceDuration"
Expand All @@ -309,7 +309,7 @@
"CBaseAnimating::ResetSequence"
{
"library" "server"
"windows" "\x55\x8B\xEC\xA1\x2A\x2A\x2A\x2A\x53\x56\x57\x83\x78\x30\x00\x8B\xD9\x8B\x7D\x08"
"windows" "\x55\x8B\xEC\x51\xA1\x2A\x2A\x2A\x2A\x53\x56\x57\x83\x78\x2A\x00\x8B\xD9\x8B\x7D"
"linux" "@_ZN14CBaseAnimating13ResetSequenceEi"
}
"NextBotGroundLocomotion::NextBotGroundLocomotion"
Expand Down Expand Up @@ -340,4 +340,4 @@
}
}
}
}
}

0 comments on commit 297c057

Please sign in to comment.