摘要: 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 ... 阅读全文
posted @ 2016-05-23 13:28 Akatsuki- 阅读(528) 评论(0) 推荐(0) 编辑
摘要: 原文已删除 阅读全文
posted @ 2016-05-12 14:32 Akatsuki- 阅读(2509) 评论(3) 推荐(0) 编辑
摘要: 代码来自互联网开源,仅作为收集整理使用。 FastFourierTransform.h FastFourierTransform.cpp 阅读全文
posted @ 2016-04-07 02:20 Akatsuki- 阅读(588) 评论(0) 推荐(0) 编辑
摘要: 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 ... 阅读全文
posted @ 2016-04-06 15:49 Akatsuki- 阅读(503) 评论(0) 推荐(0) 编辑
摘要: 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... 阅读全文
posted @ 2015-12-13 04:51 Akatsuki- 阅读(641) 评论(0) 推荐(0) 编辑
摘要: By Nagi 1 void *SearchPattern(void *pStartSearch, DWORD dwSearchLen, char *pPattern, DWORD dwPatternLen) 2 { 3 DWORD dwStartAddr = (DWORD)pStartSe... 阅读全文
posted @ 2015-09-06 20:58 Akatsuki- 阅读(235) 评论(0) 推荐(0) 编辑
摘要: 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... 阅读全文
posted @ 2015-09-06 20:55 Akatsuki- 阅读(374) 评论(0) 推荐(0) 编辑
摘要: Hook GameUI function. 1 #include 2 3 #include 4 5 IGameUI *g_pGameUI = 0; 6 7 void (__fastcall *g_pfnCGameUI_Initialize)(void *pthis, int ... 阅读全文
posted @ 2015-08-19 13:09 Akatsuki- 阅读(719) 评论(0) 推荐(0) 编辑
摘要: Hook IBaseUI function. 1 #include 2 3 #include 4 5 IBaseUI *g_pBaseUI = 0; 6 7 void (__fastcall *g_pfnCBaseUI_Initialize)(void *pthis, int... 阅读全文
posted @ 2015-08-19 12:13 Akatsuki- 阅读(448) 评论(0) 推荐(0) 编辑
摘要: Hook ISurface function. 1 #include 2 #include 3 4 using namespace vgui; 5 6 ISurface *g_pSurface = 0; 7 8 void (__fastcall *g_pfnCSurface... 阅读全文
posted @ 2015-08-19 11:37 Akatsuki- 阅读(719) 评论(0) 推荐(0) 编辑