mirror of
https://github.com/HIllya51/LunaHook.git
synced 2024-12-01 01:25:38 +08:00
9 lines
237 B
C++
9 lines
237 B
C++
|
#include"tamasoft.h"
|
||
|
bool tamasoft::attach_function() {
|
||
|
HookParam hp;
|
||
|
hp.address=(DWORD)TextOutA;
|
||
|
hp.offset=get_stack(4);
|
||
|
hp.split=get_stack(4);
|
||
|
hp.type=USING_STRING|USING_SPLIT;
|
||
|
return NewHook(hp,"tamasoft");
|
||
|
}
|