mirror of
https://github.com/qwertyuiop3/Storm.git
synced 2025-07-18 09:27:56 +08:00
Commit
This commit is contained in:
15
Draw_Effect.hpp
Executable file
15
Draw_Effect.hpp
Executable file
@ -0,0 +1,15 @@
|
||||
void* Original_Draw_Effect_Caller;
|
||||
|
||||
__int8 __thiscall Redirected_Draw_Effect(void* Effect, void* Unknown_Parameter_1, void* Unknown_Parameter_2)
|
||||
{
|
||||
using Get_Effect_Name_Type = char*(__thiscall*)(void* a1);
|
||||
|
||||
char* Effect_Name = Get_Effect_Name_Type((unsigned __int32)Client_Module + 1423008)((void*)((unsigned __int32)Effect - 8));
|
||||
|
||||
if (__builtin_strstr(Effect_Name, "ecloud_") == nullptr)
|
||||
{
|
||||
return (decltype(&Redirected_Draw_Effect)(Original_Draw_Effect_Caller))(Effect, Unknown_Parameter_1, Unknown_Parameter_2);
|
||||
}
|
||||
|
||||
return 0;
|
||||
}
|
Reference in New Issue
Block a user