MCPcopy Create free account
hub / github.com/bwapi/bwapi / WriteMem

Function WriteMem

bwapi/BWAPI/Source/NewHackUtil.cpp:156–166  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

154 }
155
156 void WriteMem(void* dest, void* source, u32 size)
157 {
158 memPatch tempPatch;
159 tempPatch.location = dest;
160 tempPatch.patchSize = size;
161 memcpy_s(tempPatch.patch, 128, dest, size);
162 changes.push_back(tempPatch);
163
164 WriteMemRaw(dest, source, size);
165 return;
166 }
167
168 void WriteMemRaw(void* dest, void* source, u32 size)
169 {

Callers 4

PatchImportOldFunction · 0.85
JmpPatchFunction · 0.85
CallPatchFunction · 0.85
ApplyCodePatchesFunction · 0.85

Calls 1

WriteMemRawFunction · 0.85

Tested by

no test coverage detected