Temporarily disable hooks

This commit is contained in:
Maurice Heumann 2023-04-04 20:40:20 +02:00
parent 34eca16e16
commit fcd41ddca8

View File

@ -155,8 +155,8 @@ namespace auth
void post_unpack() override
{
// Skip connect handler
utils::hook::set<uint8_t>(game::select(0x142253EFA, 0x14053714A), 0xEB);
network::on("connect", handle_connect_packet);
//utils::hook::set<uint8_t>(game::select(0x142253EFA, 0x14053714A), 0xEB);
//network::on("connect", handle_connect_packet);
// Patch steam id bit check
std::vector<std::pair<size_t, size_t>> patches{};
@ -203,7 +203,7 @@ namespace auth
p(0x141EB5992_g, 0x141EB59D5_g);
p(0x141EB74D2_g, 0x141EB7515_g); // ?
utils::hook::call(0x14134BF7D_g, send_connect_data_stub);
//utils::hook::call(0x14134BF7D_g, send_connect_data_stub);
}
for (const auto& patch : patches)