/*
Syn's AyyWare Framework 2015
*/
// General shit
#include "DLLMain.h"
#include "Utilities.h"
#include "ReflectiveLoader.h"
#include "ReflectiveDLLInjection.h"
#include "Offsets.h"
#include "Interfaces.h"
#include "Hooks.h"
#include "RenderManager.h"
#include "Hacks.h"
#include "Menu.h"
#include "AntiAntiAim.h"
#include "Dumping.h"
// DllMain
// Entry point for our module
BOOL WINAPI DllMain(
_In_ HINSTANCE hinstDLL,
_In_ DWORD fdwReason,
_In_ LPVOID lpvReserved
)
// Used as part of the reflective DLL injection
{
extern HINSTANCE hAppInstance;
// Our DLL Instance
HINSTANCE HThisModule;
bool DoUnload;
// Our thread we use to setup everything we need
// Everything appart from code in hooks get's called from inside
// here.
int InitialThread();
Utilities::OpenConsole("KallzeHook Private");
//---------------------------------------------------------
// Initialise all our shit
Offsets::Initialise(); // Set our VMT offsets and do any pattern scans
Interfaces::Initialise(); // Get pointers to the valve classes
NetVar.RetrieveClasses(); // Setup our NetVar manager (thanks shad0w bby)
Render::Initialise();
Hacks::SetupHacks();
Menu::SetupMenu();
Hooks::Initialise();
ApplyAAAHooks();
// Dumping
Dump::DumpClassIds();
//---------------------------------------------------------
Utilities::Log("Ready");
}

Utilities::OpenConsole("KallzeHook Private");