MCPcopy Create free account
hub / github.com/NoMercy-ac/NoMercy / GetThreadFuncSize

Method GetThreadFuncSize

Source/Client/NM_Engine/ThreadManagerHelper.cpp:182–198  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

180}
181
182std::size_t CThreadManager::GetThreadFuncSize(LPBYTE lpFunc)
183{
184 return 10; // temp
185
186#if 0 // FIXME
187 auto ulLength = std::size_t(0);
188#ifdef _M_IX86
189 auto dwStart = (DWORD)lpFunc;
190 while (*(DWORD *)dwStart != 0xAAAAAAAA)
191 {
192 dwStart++;
193 ulLength++;
194 }
195#endif
196 return ulLength;
197#endif
198}
199
200const std::vector < std::shared_ptr <SSelfThreads> > & CThreadManager::GetThreadList()
201{

Callers 12

InitWindowCheckMethod · 0.80
InitAntiMacroMethod · 0.80
InitAntiSoftBPMethod · 0.80
InitSocketConnectionMethod · 0.80
OnClientInitMethod · 0.80
InitializeWatchdogMethod · 0.80
InitWMIWatcherMethod · 0.80
InitChecksumScanMethod · 0.80
InitThreadTickCheckerMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected