This commit is contained in:
恍兮惚兮 2024-11-14 16:53:39 +08:00
parent c2baf116c7
commit 4064340410

View File

@ -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;
} }