mirror of
https://github.com/HIllya51/LunaTranslator.git
synced 2024-12-29 00:24:13 +08:00
anim
This commit is contained in:
parent
c2baf116c7
commit
4064340410
@ -99,10 +99,21 @@ namespace
|
|||||||
return NewHook(hp, "Anim3");
|
return NewHook(hp, "Anim3");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
namespace
|
||||||
|
{
|
||||||
|
bool gdi()
|
||||||
|
{
|
||||||
|
HookParam hp;
|
||||||
|
hp.address = (DWORD)::GetGlyphOutlineA;
|
||||||
|
hp.offset = get_stack(2);
|
||||||
|
hp.type = CODEC_ANSI_BE;
|
||||||
|
return NewHook(hp, "Anim");
|
||||||
|
}
|
||||||
|
}
|
||||||
bool Anim::attach_function()
|
bool Anim::attach_function()
|
||||||
{
|
{
|
||||||
|
|
||||||
auto b1 = InsertAnimHook() || InsertAnim2Hook();
|
auto b1 = InsertAnimHook() || InsertAnim2Hook();
|
||||||
b1 = InsertAnim3Hook() || b1;
|
b1 = InsertAnim3Hook() || b1;
|
||||||
return b1;
|
return gdi() || b1;
|
||||||
}
|
}
|
Loading…
x
Reference in New Issue
Block a user