From 0f96ee71433371a1a4f795a0ef742d5039a08f54 Mon Sep 17 00:00:00 2001 From: lightbulblighter <59720715+lightbulblighter@users.noreply.github.com> Date: Sat, 4 Jun 2022 15:43:52 -0700 Subject: [PATCH] final touchups --- PolygonClientUtilities/Http.cpp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/PolygonClientUtilities/Http.cpp b/PolygonClientUtilities/Http.cpp index b6c3eb0..61bd7cd 100644 --- a/PolygonClientUtilities/Http.cpp +++ b/PolygonClientUtilities/Http.cpp @@ -7,10 +7,10 @@ Http__httpGetPostWinInet_t Http__httpGetPostWinInet = (Http__httpGetPostWinInet_ void __fastcall Http__httpGetPostWinInet_hook(Http* _this, void*, bool isPost, int a3, bool compressData, LPCSTR additionalHeaders, int a6) { + Http _changed = *_this; + LUrlParser::ParseURL parsedUrl = LUrlParser::ParseURL::parseURL(_this->url); std::string urlPath = Util::toLower(parsedUrl.path_); - - Http _changed = *_this; if (parsedUrl.host_ == "roblox.com" || parsedUrl.host_ == "www.roblox.com") { @@ -20,8 +20,6 @@ void __fastcall Http__httpGetPostWinInet_hook(Http* _this, void*, bool isPost, i } } - printf("\n"); - _this = &_changed; Http__httpGetPostWinInet(_this, isPost, a3, compressData, additionalHeaders, a6);