fix eos on like 28+ maybe?

This commit is contained in:
Sarah
2025-03-16 13:30:41 -04:00
parent c37879d890
commit 9405bfcfe4
2 changed files with 4 additions and 9 deletions
+4 -8
View File
@@ -16,13 +16,6 @@ namespace Unreal {
{
return ((FString&(*)(FCurlHttpRequest*, FString)) VTable[0])(this, FString());
}
__forceinline void FCurlHttpRequest::SetURL(URL& URL)
{
FString str = URL;
((void (*)(FCurlHttpRequest*, FString)) VTable[SetURLIdx])(this, str);
free(str.String);
}
}
namespace Starfall {
@@ -90,7 +83,10 @@ def:
else {
__URL_SetHost(url, Backend);
}
Request->SetURL(*url);
FString str = *url;
((void (*)(FCurlHttpRequest*, FString)) Request->VTable[OG == EOSProcessRequestOG ? 10 : FCurlHttpRequest::SetURLIdx])(Request, str);
free(str.String);
UseBackendParam ? url->Dealloc() : url->DeallocPathQuery();
}
-1
View File
@@ -14,7 +14,6 @@ namespace Unreal {
static inline void** ProcessRequestVT = nullptr;
FString GetURL();
void SetURL(URL& URL);
};
}