MCPcopy Create free account
hub / github.com/ajkhoury/ReClassEx / ReClassOverrideMemoryOperations

Function ReClassOverrideMemoryOperations

ReClass/PluginAPI.cpp:147–161  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

145}
146
147BOOL
148PLUGIN_CC
149ReClassOverrideMemoryOperations(
150 IN PPLUGIN_READ_MEMORY_OPERATION ReadMemoryOperation,
151 IN PPLUGIN_WRITE_MEMORY_OPERATION WriteMemoryOperation
152)
153{
154 if (ReadMemoryOperation == nullptr && WriteMemoryOperation == nullptr)
155 return FALSE;
156 if (ReadMemoryOperation != nullptr)
157 g_PluginOverrideReadMemoryOperation = ReadMemoryOperation;
158 if (WriteMemoryOperation != nullptr)
159 g_PluginOverrideWriteMemoryOperation = WriteMemoryOperation;
160 return TRUE;
161}
162
163BOOL
164PLUGIN_CC

Callers 1

PluginInitFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected