bug/chore: more assorted fixes :P
This commit is contained in:
parent
a2e379d41a
commit
862e97bdea
|
|
@ -6,10 +6,9 @@
|
|||
#include <discord_register.h>
|
||||
#include <rapidjson/document.h>
|
||||
|
||||
#include "Globals.hpp"
|
||||
|
||||
#include "Hooks/CRoblox.hpp"
|
||||
|
||||
#include "Globals.hpp"
|
||||
|
||||
class Discord {
|
||||
public:
|
||||
|
|
|
|||
|
|
@ -1,5 +1,9 @@
|
|||
#pragma once
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
#include <curl/curl.h>
|
||||
|
||||
#include "Globals.hpp"
|
||||
|
|
|
|||
|
|
@ -8,6 +8,10 @@
|
|||
#include "Helpers.hpp"
|
||||
#include "Discord.hpp"
|
||||
|
||||
#ifdef SERVER
|
||||
#include "Server.hpp"
|
||||
#endif
|
||||
|
||||
class CWorkspace;
|
||||
|
||||
const auto CWorkspace__ExecUrlScript = (HRESULT(__stdcall*)(CWorkspace * workspace, LPCWSTR, VARIANTARG, VARIANTARG, VARIANTARG, VARIANTARG, LPVOID))ADDRESS_CWORKSPACE__EXECURLSCRIPT;
|
||||
|
|
|
|||
|
|
@ -1,8 +1,12 @@
|
|||
#pragma once
|
||||
|
||||
#include <string>
|
||||
|
||||
#include <wincrypt.h>
|
||||
|
||||
#include "Globals.hpp"
|
||||
#include "Helpers.hpp"
|
||||
#include "Patcher.hpp"
|
||||
|
||||
typedef void(__thiscall* Crypt__verifySignatureBase64_t)(HCRYPTPROV* _this, int a2, BYTE* pbData, int a4, int a5, int a6, DWORD dwDataLen, int a8, int a9, int a10, int a11, int a12, int a13, int a14, int a15);
|
||||
void __fastcall Crypt__verifySignatureBase64_hook(HCRYPTPROV* _this, void*, int a2, BYTE* pbData, int a4, int a5, int a6, DWORD dwDataLen, int a8, int a9, int a10, int a11, int a12, int a13, int a14, int a15);
|
||||
|
|
|
|||
|
|
@ -1,3 +1,7 @@
|
|||
#pragma once
|
||||
|
||||
#include <string>
|
||||
|
||||
#include <curl/curl.h>
|
||||
#include <rapidjson/document.h>
|
||||
|
||||
|
|
|
|||
|
|
@ -1,5 +1,8 @@
|
|||
#pragma once
|
||||
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
|
||||
#include <detours/detours.h>
|
||||
|
||||
namespace Patcher
|
||||
|
|
|
|||
|
|
@ -2,11 +2,11 @@
|
|||
|
||||
#pragma once
|
||||
|
||||
#include "Hooks/StandardOut.hpp"
|
||||
|
||||
#include "Globals.hpp"
|
||||
#include "Helpers.hpp"
|
||||
|
||||
#include "Hooks/StandardOut.hpp"
|
||||
|
||||
enum class RequestType {
|
||||
POST,
|
||||
GET
|
||||
|
|
|
|||
|
|
@ -4,9 +4,9 @@
|
|||
#define VERSION_MAJOR_MINOR_PATCH_STR "1.0.0"
|
||||
#define VERSION_FULL_STR "1.0.0.0"
|
||||
#define VERSION_RESOURCE 1, 0, 0, 0
|
||||
#define VERSION_RESOURCE_STR VERSION_FULL_STR "\0"
|
||||
#define VERSION_RESOURCE_STR VERSION_FULL_STR
|
||||
|
||||
#define APP_NAME "Kiseki.Patcher"
|
||||
#define APP_DESCRIPTION "Client Functionality Library"
|
||||
#define APP_ORGANIZATION "Kiseki"
|
||||
#define APP_COPYRIGHT "Copyright (c) Kiseki 2023"
|
||||
#define APP_COPYRIGHT "Copyright (c) Kiseki 2023"
|
||||
|
|
|
|||
|
|
@ -2,10 +2,6 @@
|
|||
|
||||
#include "Hooks/CRoblox.hpp"
|
||||
|
||||
#ifdef SERVER
|
||||
#include "Server.h"
|
||||
#endif
|
||||
|
||||
bool hasAuthenticationUrl = false;
|
||||
bool hasAuthenticationTicket = false;
|
||||
bool hasJoinScriptUrl = false;
|
||||
|
|
|
|||
|
|
@ -1,8 +1,5 @@
|
|||
#include "Hooks/Crypt.hpp"
|
||||
|
||||
#include "Helpers.hpp"
|
||||
#include "Patcher.hpp"
|
||||
|
||||
Crypt::Crypt()
|
||||
{
|
||||
if (!CryptAcquireContext(&context, NULL, MS_ENH_RSA_AES_PROV, PROV_RSA_AES, CRYPT_VERIFYCONTEXT))
|
||||
|
|
|
|||
|
|
@ -1,4 +1,6 @@
|
|||
|
||||
#include <windows.h>
|
||||
|
||||
#include "Globals.hpp"
|
||||
#include "Patcher.hpp"
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue