摘要:
1 static int GetStringType(const char *src) 2 { 3 // is '-' or digit ? 4 if (*src == '-' || isdigit(*src)) 5 { 6 // "1" 7 if (isdigit(*src) && !*(src + 1)) 8 ... 阅读全文
摘要:
原文已删除 阅读全文
摘要:
代码来自互联网开源,仅作为收集整理使用。 FastFourierTransform.h FastFourierTransform.cpp 阅读全文
摘要:
1 class CBIKMaterial 2 { 3 public: 4 CBIKMaterial(); 5 ~CBIKMaterial(); 6 7 bool Init(const char *pFileName); 8 void Shutdown(void); 9 bool Update(void); 10 ... 阅读全文
摘要:
1 #include 2 3 struct event_hook_t 4 { 5 event_hook_t *next; 6 char *name; 7 void (*pfnEvent)(event_args_s *args); 8 }; 9 10 #define HO... 阅读全文
摘要:
By Nagi 1 void *SearchPattern(void *pStartSearch, DWORD dwSearchLen, char *pPattern, DWORD dwPatternLen) 2 { 3 DWORD dwStartAddr = (DWORD)pStartSe... 阅读全文
摘要:
Find a non-public function signature, we need a tool "IDA Pro"( You can open picture in a new window :D )Step 1Load your PE file in IDAStep 2Find your... 阅读全文
摘要:
Hook GameUI function. 1 #include 2 3 #include 4 5 IGameUI *g_pGameUI = 0; 6 7 void (__fastcall *g_pfnCGameUI_Initialize)(void *pthis, int ... 阅读全文
摘要:
Hook IBaseUI function. 1 #include 2 3 #include 4 5 IBaseUI *g_pBaseUI = 0; 6 7 void (__fastcall *g_pfnCBaseUI_Initialize)(void *pthis, int... 阅读全文
摘要:
Hook ISurface function. 1 #include 2 #include 3 4 using namespace vgui; 5 6 ISurface *g_pSurface = 0; 7 8 void (__fastcall *g_pfnCSurface... 阅读全文