From baf31c22debe36d2776a89a5c51d33d310f2d7a3 Mon Sep 17 00:00:00 2001 From: Joelrau Date: Sat, 20 Feb 2021 23:17:36 +0200 Subject: [PATCH] update structs and symbols --- src/client/game/structs.hpp | 9 +++++++++ src/client/game/symbols.hpp | 1 + 2 files changed, 10 insertions(+) diff --git a/src/client/game/structs.hpp b/src/client/game/structs.hpp index 6514a71..d23dc54 100644 --- a/src/client/game/structs.hpp +++ b/src/client/game/structs.hpp @@ -973,11 +973,20 @@ namespace game char __pad0[6]; }; + struct RawFile + { + const char* name; + int compressedLen; + int len; + const char* buffer; + }; + union XAssetHeader { void* data; Material* material; Font_s* font; + RawFile* rawfile; }; enum TestClientType diff --git a/src/client/game/symbols.hpp b/src/client/game/symbols.hpp index d95e2b7..50e6106 100644 --- a/src/client/game/symbols.hpp +++ b/src/client/game/symbols.hpp @@ -39,6 +39,7 @@ namespace game WEAK symbol DB_LoadXAssets{ 0x1402F8B50, 0x140270F30 }; WEAK symbol Dvar_FindVar{ 0x140370860, 0x1404BF8B0 }; + WEAK symbol Dvar_ClearModified{ 0x1402FFCF0, 0x1404BF690 }; WEAK symbol Dvar_GetCombinedString{ 0x1402FB590, 0x1403D3290 }; WEAK symbol Dvar_IsValidName{ 0x140370CB0, 0x1404BFF70 }; WEAK symbol Dvar_Reset{ 0x140372950, 0x1404C1DB0 };