#include "pch.h" #include "l2d.h" #include "hooks/hooks.h" DWORD WINAPI DllThread( LPVOID lpvParam ); void L2D_ThreadStart() { unsigned int tid = 0; HANDLE h = (HANDLE)_beginthreadex( NULL, 0, (unsigned int (__stdcall *)(void *)) DllThread, NULL, 0, &tid ); if( h ) CloseHandle( h ); } void test_hooks( int maxLoops, int delay ) { int i = 0; for( i=0; i