|  | #pragma once
 | 
						
						
						
							|  | 
 | 
						
						
						
							|  | class hook
 | 
						
						
						
							|  | {
 | 
						
						
						
							|  | private:
 | 
						
						
						
							|  | 
 | 
						
						
						
							|  | 
 | 
						
						
						
							|  | public:
 | 
						
						
						
							|  | 
 | 
						
						
						
							|  | 	//HOOK_NUT的替换函数
 | 
						
						
						
							|  | 	static uint32_t H_Register_Nut(uint32_t v, void* f, int freeVarsCnt);
 | 
						
						
						
							|  | 	//HOOK_收包的替换函数
 | 
						
						
						
							|  | 	static void H_Register_Pack(void* Ecx);
 | 
						
						
						
							|  | 	//总HOOK
 | 
						
						
						
							|  | 	static int RegisterHook();
 | 
						
						
						
							|  | 
 | 
						
						
						
							|  | 	static void bbbb();
 | 
						
						
						
							|  | 	//插件执行Nut
 | 
						
						
						
							|  | 	static int InitGameScript();
 | 
						
						
						
							|  | };
 | 
						
						
						
							|  | 
 |