Spellforce-Spell-framework
Loading...
Searching...
No Matches
sf_asi.cpp File Reference
#include "sf_asi.h"
Include dependency graph for sf_asi.cpp:

Go to the source code of this file.

Namespaces

namespace  ASI
 

Functions

bool ASI::BeginRewrite (MemoryRegion &mem_region)
 allows rewriting code in a given memory region by overwriting permissions for that memory region
 
bool ASI::EndRewrite (MemoryRegion &mem_region)
 ends rewriting by restoring old permissions in a given memory region
 
void ASI::SetGameBase ()
 
bool ASI::Init (HMODULE lib_module)
 required for everything to work... why?
 
bool __stdcall ASI::CheckSFVersion (SF_Version sf_version)
 check version of the game that was hooked into
 

Variables

unsigned int ASI::GAME_BASE
 
int ASI::WINDOW_OFFSET
 
unsigned int ASI::APPMAIN_OFFSET