Code:
_PI->CreateHiHook(0x47BE90, SPLICE_, DIRECT_, THISCALL_, N_DefFrame_Draw);
_PI->CreateHiHook(0x47C300, SPLICE_, DIRECT_, THISCALL_, N_DefFrame_DrawCreature);
_PI->CreateHiHook(0x47C9C0, SPLICE_, DIRECT_, THISCALL_, N_DefFrame_DrawAdvObj);
_PI->CreateHiHook(0x47CE10, SPLICE_, DIRECT_, THISCALL_, N_DefFrame_DrawAdvObjWithFlagAlpha);
_PI->CreateHiHook(0x47D250, SPLICE_, DIRECT_, THISCALL_, N_DefFrame_DrawAdvObjShadow);
_PI->CreateHiHook(0x47D660, SPLICE_, DIRECT_, THISCALL_, N_DefFrame_DrawTile);
_PI->CreateHiHook(0x47E140, SPLICE_, DIRECT_, THISCALL_, N_DefFrame_DrawTileShadow);
_PI->CreateHiHook(0x47E880, SPLICE_, DIRECT_, THISCALL_, N_DefFrame_DrawSpellEffect);
void __fastcall N_DefFrame_Draw(_DefFrame_* this_, _dword_ no_used, int sx, int sy, int sw, int sh, unsigned short* dst, int dx, int dy, int dw, int dh, int dpitch, _Palette16_* pal, bool hflip, bool tblit);
void __fastcall N_DefFrame_DrawCreature(_DefFrame_* this_, _dword_ no_used, int sx, int sy, int sw, int sh, unsigned short* dst, int dx, int dy, int dw, int dh, int dpitch, _Palette16_* pal, bool hflip, unsigned short outcolor, bool alpha);
void __fastcall N_DefFrame_DrawAdvObj(_DefFrame_* this_, _dword_ no_used, int sx, int sy, int sw, int sh, unsigned short* dst, int dx, int dy, int dw, int dh, int dpitch, _Palette16_* pal, bool hflip, unsigned short flagcolor);
void __fastcall N_DefFrame_DrawAdvObjWithFlagAlpha(_DefFrame_* this_, _dword_ no_used, int sx, int sy, int sw, int sh, unsigned short* dst, int dx, int dy, int dw, int dh, int dpitch, _Palette16_* pal, unsigned short flagcolor, bool hflip);
void __fastcall N_DefFrame_DrawAdvObjShadow(_DefFrame_* this_, _dword_ no_used, int sx, int sy, int sw, int sh, unsigned short* dst, int dx, int dy, int dw, int dh, int dpitch, _Palette16_* pal, bool hflip);
void __fastcall N_DefFrame_DrawTile(_DefFrame_* this_, _dword_ no_used, int sx, int sy, int sw, int sh, unsigned short * dst, int dx, int dy, int dw, int dh, int dpitch, _Palette16_* pal, bool hflip, bool vflip);
void __fastcall N_DefFrame_DrawTileShadow(_DefFrame_* this_, _dword_ no_used, int sx, int sy, int sw, int sh, unsigned short * dst, int dx, int dy, int dw, int dh, int dpitch, _Palette16_* pal, bool hflip, bool vflip);
void __fastcall N_DefFrame_DrawSpellEffect(_DefFrame_* this_, _dword_ no_used, int sx, int sy, int sw, int sh, unsigned short* dst, int dx, int dy, int dw, int dh, int dpitch, _Palette16_* pal, bool hflip, bool alpha);