Get things to work with the latest steam update

This commit is contained in:
momo5502 2023-03-04 10:41:20 +01:00
parent b8505abef1
commit 2a9c293472
3 changed files with 9 additions and 6 deletions

View File

@ -638,7 +638,7 @@ namespace arxan
// Searching them is quite slow.
// Maybe precomputing that might be better?
/*const auto intact_results = "89 04 8A 83 45 ? FF"_sig;
const auto intact_results = "89 04 8A 83 45 ? FF"_sig;
const auto split_results = "89 04 8A E9"_sig;
for (auto* i : intact_results)
@ -649,9 +649,9 @@ namespace arxan
for (auto* i : split_results)
{
patch_split_basic_block_integrity_check(i);
}*/
}
search_and_patch_integrity_checks_precomputed();
//search_and_patch_integrity_checks_precomputed();
}
LONG WINAPI exception_filter(const LPEXCEPTION_POINTERS info)
@ -800,4 +800,4 @@ namespace arxan
};
}
REGISTER_COMPONENT(arxan::component)
REGISTER_COMPONENT_WORKING(arxan::component)

View File

@ -101,7 +101,8 @@ namespace auth
return 0x110000100000000 | (::utils::cryptography::random::get_integer() & ~0x80000000);
}
return get_key().get_hash();
//return get_key().get_hash();
return 0x110000100000001;
}();
return guid;

View File

@ -38,8 +38,10 @@ namespace component_loader
};
};
#define REGISTER_COMPONENT(name) \
#define REGISTER_COMPONENT_WORKING(name) \
namespace \
{ \
component_loader::installer<name> __component; \
}
#define REGISTER_COMPONENT(name)