final touchups

This commit is contained in:
lightbulblighter 2022-06-04 15:43:52 -07:00
parent 7555fe8f0e
commit 0f96ee7143
No known key found for this signature in database
GPG Key ID: 0B2452F9DE0E2D01
1 changed files with 2 additions and 4 deletions

View File

@ -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);