/**
 * Do not edit this file.  Any changes will be overwritten by the gamedata
 * updater or by upgrading your SourceMod install.
 *
 * To override data in this file, create a subdirectory named "custom" and
 * place your own gamedata file(s) inside of it.  Such files will be parsed
 * after SM's own.
 *
 * For more information, see http://wiki.alliedmods.net/Gamedata_Updating_(SourceMod)
 */

"Games"
{
	/* Counter-Strike: Source */
	"cstrike"
	{
		"Keys"
		{
			"SlapSoundCount"	"3"
			"SlapSound1"		"player/damage1.wav"
			"SlapSound2"		"player/damage2.wav"
			"SlapSound3"		"player/damage3.wav"
			
			"GameRulesProxy"		"CCSGameRulesProxy"
			"GameRulesDataTable"	"cs_gamerules_data"
		}

		"Offsets"
		{
			"SetOwnerEntity"
			{
				"windows"	"18"
				"windows64"	"18"
				"linux"		"19"
				"linux64"	"19"
			}
			"GiveNamedItem"
			{
				"windows"	"409"
				"windows64"	"409"
				"linux"		"410"
				"linux64"	"410"
			}
			"RemovePlayerItem"
			{
				"windows"	"277"
				"windows64"	"277"
				"linux"		"278"
				"linux64"	"278"
			}
			"Weapon_GetSlot"
			{
				"windows"	"275"
				"windows64"	"275"
				"linux"		"276"
				"linux64"	"276"
			}
			"Ignite"
			{
				"windows"	"216"
				"windows64"	"216"
				"linux"		"217"
				"linux64"	"217"
			}
			"Extinguish"
			{
				"windows"	"220"
				"windows64"	"220"
				"linux"		"221"
				"linux64"	"221"
			}
			"Teleport"
			{
				"windows"	"111"
				"windows64"	"111"
				"linux"		"112"
				"linux64"	"112"
			}
			"CommitSuicide"
			{
				"windows"	"448"
				"windows64"	"448"
				"linux"		"448"
				"linux64"	"448"
			}
			"GetVelocity"
			{
				"windows"	"144"
				"windows64"	"144"
				"linux"		"145"
				"linux64"	"145"
			}
			"EyeAngles"
			{
				"windows"	"135"
				"windows64"	"135"
				"linux"		"136"
				"linux64"	"136"
			}
			"AcceptInput"
			{
				"windows"	"38"
				"windows64"	"38"
				"linux"		"39"
				"linux64"	"39"
			}
			"SetEntityModel"
			{
				"windows"	"26"
				"windows64"	"26"
				"linux"		"27"
				"linux64"	"27"
			}
			"WeaponEquip"
			{
				"windows"	"268"
				"windows64"	"268"
				"linux"		"269"
				"linux64"	"269"
			}
			"Activate"
			{
				"windows"	"35"
				"windows64"	"35"
				"linux"		"36"
				"linux64"	"36"
			}
			"PlayerRunCmd"
			{
				"windows"	"427"
				"windows64"	"427"
				"linux"		"428"
				"linux64"	"428"
			}
			"GiveAmmo"
			{
				"windows"	"259"
				"windows64"	"259"
				"linux"		"260"
				"linux64"	"260"
			}
			"GetAttachment"
			{
				"windows"	"212"
				"windows64"	"212"
				"linux"		"213"
				"linux64"	"213"
			}
		}

		"Signatures"
		{
			"LookupAttachment"
			{
				/* CBaseAnimating::LookupAttachment */
				/* String: "vehicle_driver_eyes", middle length top function, with 4 calls, pick the first one. */
				"library"	"server"
				"windows"	"\x55\x8B\xEC\x56\x8B\xF1\x80\xBE\x2A\x03\x00\x00\x00\x75\x2A\x83\xBE\x2A\x04\x00\x00\x00\x75\x2A\xE8\x2A\x2A\x2A\x2A\x85\xC0\x74\x2A\x8B\xCE\xE8\x2A\x2A\x2A\x2A\x8B\x86\x2A\x04\x00\x00\x85\xC0\x74\x2A\x83\x38\x00\x74\x2A\xFF\x75\x08\x50\xE8\x2A\x2A\x2A\x2A\x83\xC4\x08\x40"
				"windows64"	"\x48\x89\x5C\x24\x08\x57\x48\x83\xEC\x20\x80\xB9\x55\x04\x00\x00\x00\x48\x8B\xFA\x48\x8B\xD9\x75\x2A\x48\x83\xB9\xB0\x05\x00\x00\x00\x75\x2A\xE8\x2A\x2A\x2A\x2A\x48\x85\xC0\x74\x2A\x48\x8B\xCB\xE8\x2A\x2A\x2A\x2A\x48\x8B\x8B\xB0\x05\x00\x00\x48\x85\xC9\x74\x2A\x48\x83\x39\x00\x74\x2A\x48\x8B\xD7\xE8"
				"linux"		"@_ZN14CBaseAnimating16LookupAttachmentEPKc"
				"linux64"	"@_ZN14CBaseAnimating16LookupAttachmentEPKc"
			}
		}
	}
}
