Update checksums for HSR 1.4.0

This commit is contained in:
mkrsym1 2023-10-09 19:22:07 +03:00
parent 66e51c6d9a
commit bc09349b8e

View File

@ -9,7 +9,7 @@ const char *HSR_ASSEMBLY_PATH = "GameAssembly.dll";
const char *HSR_TXS_SECTION_NAME = ".ace";
const char *HSR_TVM_SECTION_NAME = ".tvm0";
#define HSR_VERSION "1.3.0"
#define HSR_VERSION "1.4.0"
enum hsr_region {
HSR_INVALID,
@ -23,14 +23,14 @@ struct crc_region_pair {
};
const struct crc_region_pair HSR_REGIONS[] = {
{ 0x748c8f9c, HSR_OS }, // os v1.3.0
{ 0x76e85a40, HSR_CN } // cn v1.3.0
{ 0xbae3646f, HSR_OS }, // os v1.4.0
{ 0x9e5c2f80, HSR_CN } // cn v1.4.0
};
#define JUMP_SIZE (6 + sizeof(void*))
// Temporarily hardcoded offset
// v1.3.0, same for os and cn
// v1.4.0, same for os and cn
#define WTSUD_PATCH_OFFSET 0x16430
char wtsud_original_bytes[JUMP_SIZE];