mirror of
https://github.com/HIllya51/LunaHook.git
synced 2024-12-26 21:24:12 +08:00
15 lines
504 B
C
15 lines
504 B
C
|
#include"engine.h"
|
||
|
|
||
|
class Suika2:public ENGINE{
|
||
|
public:
|
||
|
Suika2(){
|
||
|
is_engine_certain=false;
|
||
|
check_by=CHECK_BY::CUSTOM;
|
||
|
check_by_target=[](){
|
||
|
if(wcscmp(processName_lower,L"suika.exe")==0)return true;
|
||
|
char suika2copyright[]="Suika2: Copyright";
|
||
|
return 0!=MemDbg::findBytes(suika2copyright,sizeof(suika2copyright)-1,processStartAddress,min(processStopAddress,processStartAddress+0x200000));
|
||
|
};
|
||
|
};
|
||
|
bool attach_function();
|
||
|
};
|