mirror of
https://github.com/HIllya51/LunaHook.git
synced 2024-11-24 14:25:37 +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");
|
||
|
}
|