Documentation

Dev

Namespace

Advanced memory access.

uint64 Dev::BaseAddress()
Returns uint64
string Dev::Patch(uint64 ptr, const string&in pattern)

Returns the original bytes as a backup.

Returns string
HookInfo@ Dev::Hook(uint64 ptr, int padding, const string&in func, int pushRegisters = 0, FreeRegister freeRegister = FreeRegister::Rax)

Hooks directly into game code. You should unhook this manually using Dev::Unhook(). The function accepts arbitrarily-ordered parameters named as x86 registers. For example, you could set a parameter CMwNod@ rcx.

Returns Dev::HookInfo@
void Dev::Unhook(HookInfo@ hook)

Unhooks a registered hook. Do not call this from the function itself.

Deprecated
uint8 Dev::ReadUInt8(uint64 ptr)
Returns uint8
Deprecated
uint16 Dev::ReadUInt16(uint64 ptr)
Returns uint16
Deprecated
uint Dev::ReadUInt32(uint64 ptr)
Returns uint
Deprecated
uint64 Dev::ReadUInt64(uint64 ptr)
Returns uint64
string Dev::SafeRead(uint64 ptr, uint64 size)

Safe version of the simpler function. Note that this has significant overhead.

Returns string
int8 Dev::SafeReadInt8(uint64 ptr)

Safe version of the simpler function. Note that this has significant overhead.

Returns int8
int16 Dev::SafeReadInt16(uint64 ptr)

Safe version of the simpler function. Note that this has significant overhead.

Returns int16
int Dev::SafeReadInt32(uint64 ptr)

Safe version of the simpler function. Note that this has significant overhead.

Returns int
int64 Dev::SafeReadInt64(uint64 ptr)

Safe version of the simpler function. Note that this has significant overhead.

Returns int64
Deprecated
uint8 Dev::SafeReadUInt8(uint64 ptr)

Safe version of the simpler function. Note that this has significant overhead.

Returns uint8
Deprecated
uint16 Dev::SafeReadUInt16(uint64 ptr)

Safe version of the simpler function. Note that this has significant overhead.

Returns uint16
Deprecated
uint Dev::SafeReadUInt32(uint64 ptr)

Safe version of the simpler function. Note that this has significant overhead.

Returns uint
Deprecated
uint64 Dev::SafeReadUInt64(uint64 ptr)

Safe version of the simpler function. Note that this has significant overhead.

Returns uint64
uint8 Dev::SafeReadUint8(uint64 ptr)

Safe version of the simpler function. Note that this has significant overhead.

Returns uint8
uint16 Dev::SafeReadUint16(uint64 ptr)

Safe version of the simpler function. Note that this has significant overhead.

Returns uint16
uint Dev::SafeReadUint32(uint64 ptr)

Safe version of the simpler function. Note that this has significant overhead.

Returns uint
uint64 Dev::SafeReadUint64(uint64 ptr)

Safe version of the simpler function. Note that this has significant overhead.

Returns uint64
float Dev::SafeReadFloat(uint64 ptr)

Safe version of the simpler function. Note that this has significant overhead.

Returns float
double Dev::SafeReadDouble(uint64 ptr)

Safe version of the simpler function. Note that this has significant overhead.

Returns double
vec2 Dev::SafeReadVec2(uint64 ptr)

Safe version of the simpler function. Note that this has significant overhead.

Returns vec2
vec3 Dev::SafeReadVec3(uint64 ptr)

Safe version of the simpler function. Note that this has significant overhead.

Returns vec3
vec4 Dev::SafeReadVec4(uint64 ptr)

Safe version of the simpler function. Note that this has significant overhead.

Returns vec4
int2 Dev::SafeReadInt2(uint64 ptr)

Safe version of the simpler function. Note that this has significant overhead.

Returns int2
int3 Dev::SafeReadInt3(uint64 ptr)

Safe version of the simpler function. Note that this has significant overhead.

Returns int3
nat2 Dev::SafeReadNat2(uint64 ptr)

Safe version of the simpler function. Note that this has significant overhead.

Returns nat2
nat3 Dev::SafeReadNat3(uint64 ptr)

Safe version of the simpler function. Note that this has significant overhead.

Returns nat3
iso3 Dev::SafeReadIso3(uint64 ptr)

Safe version of the simpler function. Note that this has significant overhead.

Returns iso3
iso4 Dev::SafeReadIso4(uint64 ptr)

Safe version of the simpler function. Note that this has significant overhead.

Returns iso4
string Dev::SafeReadCString(uint64 ptr, uint length)

Safe version of the simpler function. Note that this has significant overhead.

Returns string
void Dev::SafeWrite(uint64 ptr, const string&in pattern)

Safe version of the simpler function. Note that this has significant overhead.

void Dev::SafeWrite(uint64 ptr, int8 i)

Safe version of the simpler function. Note that this has significant overhead.

void Dev::SafeWrite(uint64 ptr, int16 i)

Safe version of the simpler function. Note that this has significant overhead.

void Dev::SafeWrite(uint64 ptr, int i)

Safe version of the simpler function. Note that this has significant overhead.

void Dev::SafeWrite(uint64 ptr, int64 i)

Safe version of the simpler function. Note that this has significant overhead.

void Dev::SafeWrite(uint64 ptr, uint8 i)

Safe version of the simpler function. Note that this has significant overhead.

void Dev::SafeWrite(uint64 ptr, uint16 i)

Safe version of the simpler function. Note that this has significant overhead.

void Dev::SafeWrite(uint64 ptr, uint i)

Safe version of the simpler function. Note that this has significant overhead.

void Dev::SafeWrite(uint64 ptr, uint64 i)

Safe version of the simpler function. Note that this has significant overhead.

void Dev::SafeWrite(uint64 ptr, float f)

Safe version of the simpler function. Note that this has significant overhead.

void Dev::SafeWrite(uint64 ptr, double f)

Safe version of the simpler function. Note that this has significant overhead.

void Dev::SafeWrite(uint64 ptr, const vec2&in v)

Safe version of the simpler function. Note that this has significant overhead.

void Dev::SafeWrite(uint64 ptr, const vec3&in v)

Safe version of the simpler function. Note that this has significant overhead.

void Dev::SafeWrite(uint64 ptr, const vec4&in v)

Safe version of the simpler function. Note that this has significant overhead.

void Dev::SafeWrite(uint64 ptr, const int2&in v)

Safe version of the simpler function. Note that this has significant overhead.

void Dev::SafeWrite(uint64 ptr, const int3&in v)

Safe version of the simpler function. Note that this has significant overhead.

void Dev::SafeWrite(uint64 ptr, const nat2&in v)

Safe version of the simpler function. Note that this has significant overhead.

void Dev::SafeWrite(uint64 ptr, const nat3&in v)

Safe version of the simpler function. Note that this has significant overhead.

void Dev::SafeWrite(uint64 ptr, const iso3&in v)

Safe version of the simpler function. Note that this has significant overhead.

void Dev::SafeWrite(uint64 ptr, const iso4&in v)

Safe version of the simpler function. Note that this has significant overhead.

void Dev::SafeWriteCString(uint64 ptr, const string&in str)

Safe version of the simpler function. Note that this has significant overhead.

(funcdef)
bool Dev::ProcIntercept(CMwStack&in)
Returns bool