From 06566962515fc2cb344d5d3392afab85c646d382 Mon Sep 17 00:00:00 2001 From: Rain Date: Mon, 25 Sep 2023 22:19:47 +0000 Subject: [PATCH] Neotokyo: Add gamedata for LookupEntityAttachment & GetEntityAttachment (#2049) Add the "LookupAttachment" and "GetAttachment" signature and offsets for Neotokyo, which adds game support for the SM LookupEntityAttachment and GetEntityAttachment natives. --- gamedata/sdktools.games/game.neotokyo.txt | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/gamedata/sdktools.games/game.neotokyo.txt b/gamedata/sdktools.games/game.neotokyo.txt index c38ac798..947975e4 100644 --- a/gamedata/sdktools.games/game.neotokyo.txt +++ b/gamedata/sdktools.games/game.neotokyo.txt @@ -72,6 +72,10 @@ { "windows" "348" } + "GetAttachment" + { + "windows" "185" + } } "Signatures" { @@ -100,6 +104,11 @@ "library" "server" "windows" "\x53\x55\x56\x8B\xF1\x8B\x4C\x24\x10\x57\x85\xC9\x74\x2A\x8B\x01\x8B\x50\x08\xFF\xD2\x8B\x00\x25\xFF\x0F\x00\x00\x40\xC1\xE0\x04\x8B\x3C\x30\xEB\x2A\x8B\xBE\x04\x00\x01\x00\x85\xFF\x74\x2A\x8B\x5C\x24\x18\x8B\x2D\x2A\x2A\x2A\x2A\x8D\xA4\x24\x00\x00\x00\x00\x8B\x37\x85\xF6\x75\x2A\x68\x2A\x2A\x2A\x2A\xFF\xD5\x83\xC4\x04\xEB\x2A\x39\x5E\x0C" } + "LookupAttachment" + { + "library" "server" + "windows" "\xE8\x2A\x2A\x2A\x2A\x85\xC0\x75\x2A\xC2\x04\x00\x8B\x4C\x24\x04" + } } "Keys" {