From 9bfce603503a8b86d0decbbdc75f931c50eade72 Mon Sep 17 00:00:00 2001 From: Mr-X-GTA <110748953+Mr-X-GTA@users.noreply.github.com> Date: Sun, 22 Jun 2025 15:35:54 +0200 Subject: [PATCH] feat(game_files): update GameDataHash (#5) --- game_files/GameDataHash.hpp | 3 ++- network/CMsgJoinRequest.hpp | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/game_files/GameDataHash.hpp b/game_files/GameDataHash.hpp index fa61b10..1e579d7 100644 --- a/game_files/GameDataHash.hpp +++ b/game_files/GameDataHash.hpp @@ -8,6 +8,7 @@ class GameDataHash public: bool m_is_japanese_version; std::array m_data; + char new_0104[0x18]; // Obf64, This stores the game skeleton hash combined with some other function hashes, added b3570 }; -static_assert(sizeof(GameDataHash) == 0x104); +static_assert(sizeof(GameDataHash) == 0x11C); #pragma pack(pop) \ No newline at end of file diff --git a/network/CMsgJoinRequest.hpp b/network/CMsgJoinRequest.hpp index d7dd73f..150b809 100644 --- a/network/CMsgJoinRequest.hpp +++ b/network/CMsgJoinRequest.hpp @@ -21,5 +21,5 @@ public: rage::rlGamerHandle m_gamer_handle; CNetGamePlayerDataMsg m_player_data_msg; }; -static_assert(sizeof(CMsgJoinRequest) == 0x178); +static_assert(sizeof(CMsgJoinRequest) == 0x190); #pragma pack(pop) \ No newline at end of file