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

Method GetThreadFromThreadCode

Source/Client/NM_Engine/ThreadManagerHelper.cpp:205–212  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

203}
204
205std::shared_ptr <CThread> CThreadManager::GetThreadFromThreadCode(int iThreadCode)
206{
207 for (const auto & thread : m_vThreadList)
208 if (thread->iThreadCode == iThreadCode)
209 return thread->customThread;
210
211 return nullptr;
212}
213
214std::shared_ptr <CThread> CThreadManager::GetThreadFromId(DWORD dwThreadId)
215{

Callers 12

WindowCheckRoutineFunction · 0.80
AntiMacroExFunction · 0.80
SoftBPCheckRoutineFunction · 0.80
NetworkRoutineFunction · 0.80
TimerCheckThreadRoutineFunction · 0.80
NoMercyClientMainRoutineFunction · 0.80
NetQueueWorkerRoutineMethod · 0.80
InitializeWatchdogExFunction · 0.80
ThreadRoutineMethod · 0.80
CheckSectionsHashRoutineFunction · 0.80
InitExThreadTickCheckFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected