LunaHook-mirror/LunaHook/engine32/tamasoft.cpp

9 lines
237 B
C++
Raw Normal View History

2024-04-30 17:33:43 +08:00
#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");
}