#pragma once #include "RobloxMFCClasses.h" // Type Definitions // typedef BOOL(__thiscall* Http__trustCheck_t)(const char* url); typedef void(__thiscall* Crypt__verifySignatureBase64_t)(HCRYPTPROV* _this, char a2, int a3, int a4, int a5, int a6, int a7, int a8, char a9, int a10, int a11, int a12, int a13, int a14, int a15); #ifdef ARBITERBUILD typedef INT(__thiscall* DataModel__getJobId_t)(DataModel* _this, int a2); typedef void(__thiscall* StandardOut__print_t)(int _this, int type, std::string* message); // typedef std::string(__thiscall* Network__RakNetAddressToString_t)(const int raknetAddress, char portDelineator); #ifdef PLAYER2012 typedef BOOL(__thiscall* Application__ParseArguments_t)(int _this, int a2, const char* argv); #endif #endif #if defined(MFC2010) || defined(MFC2011) // typedef INT(__thiscall* CApp__CreateGame_t)(CApp* _this, int *a2, LPCWSTR a3); typedef BOOL(__thiscall* CRobloxApp__InitInstance_t)(CRobloxApp* _this); typedef void(__thiscall* CRobloxCommandLineInfo__ParseParam_t)(CRobloxCommandLineInfo* _this, const char* pszParam, BOOL bFlag, BOOL bLast); #endif // Externals // extern Http__trustCheck_t Http__trustCheck; extern Crypt__verifySignatureBase64_t Crypt__verifySignatureBase64; #ifdef ARBITERBUILD extern DataModel__getJobId_t DataModel__getJobId; extern StandardOut__print_t StandardOut__print; // extern Network__RakNetAddressToString_t Network__RakNetAddressToString; #ifdef PLAYER2012 extern Application__ParseArguments_t Application__ParseArguments; #endif #endif #if defined(MFC2010) || defined(MFC2011) // extern CApp__CreateGame_t CApp__CreateGame; extern CRobloxApp__InitInstance_t CRobloxApp__InitInstance; extern CRobloxCommandLineInfo__ParseParam_t CRobloxCommandLineInfo__ParseParam; #endif // Hook Declarations // BOOL __fastcall Http__trustCheck_hook(const char* url); void __fastcall Crypt__verifySignatureBase64_hook(HCRYPTPROV* _this, void*, char a2, int a3, int a4, int a5, int a6, int a7, int a8, char a9, int a10, int a11, int a12, int a13, int a14, int a15); #ifdef ARBITERBUILD INT __fastcall DataModel__getJobId_hook(DataModel* _this, void*, int a2); void __fastcall StandardOut__print_hook(int _this, void*, int type, std::string* message); // std::string __fastcall Network__RakNetAddressToString_hook(const int raknetAddress, char portDelineator); #ifdef PLAYER2012 BOOL __fastcall Application__ParseArguments_hook(int _this, void*, int a2, const char* argv); #endif #endif #if defined(MFC2010) || defined(MFC2011) // INT __fastcall CApp__CreateGame_hook(CApp* _this, void*, int *a2, LPCWSTR a3); BOOL __fastcall CRobloxApp__InitInstance_hook(CRobloxApp* _this); void __fastcall CRobloxCommandLineInfo__ParseParam_hook(CRobloxCommandLineInfo* _this, void*, const char* pszParam, BOOL bFlag, BOOL bLast); #endif