final touchups
This commit is contained in:
parent
7555fe8f0e
commit
0f96ee7143
|
|
@ -7,11 +7,11 @@ 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)
|
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);
|
LUrlParser::ParseURL parsedUrl = LUrlParser::ParseURL::parseURL(_this->url);
|
||||||
std::string urlPath = Util::toLower(parsedUrl.path_);
|
std::string urlPath = Util::toLower(parsedUrl.path_);
|
||||||
|
|
||||||
Http _changed = *_this;
|
|
||||||
|
|
||||||
if (parsedUrl.host_ == "roblox.com" || parsedUrl.host_ == "www.roblox.com")
|
if (parsedUrl.host_ == "roblox.com" || parsedUrl.host_ == "www.roblox.com")
|
||||||
{
|
{
|
||||||
if (urlPath == "asset" || urlPath == "asset/" || urlPath == "asset/default.ashx")
|
if (urlPath == "asset" || urlPath == "asset/" || urlPath == "asset/default.ashx")
|
||||||
|
|
@ -20,8 +20,6 @@ void __fastcall Http__httpGetPostWinInet_hook(Http* _this, void*, bool isPost, i
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
printf("\n");
|
|
||||||
|
|
||||||
_this = &_changed;
|
_this = &_changed;
|
||||||
|
|
||||||
Http__httpGetPostWinInet(_this, isPost, a3, compressData, additionalHeaders, a6);
|
Http__httpGetPostWinInet(_this, isPost, a3, compressData, additionalHeaders, a6);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue