This source file includes following definitions.
- hook_raw_image_addr
- vid_get_viewport_live_fb
- vid_get_bitmap_fb
- vid_get_viewport_fb
1 #include "platform.h"
2
3 char *hook_raw_image_addr()
4 {
5 return (char*) (*(int*)(0x55CC+0x18) ? 0x424F1948 : 0x40F65B18);
6 }
7
8 void *vid_get_viewport_live_fb()
9 {
10 void **fb=(void **)0x227C;
11 unsigned char buff = *((unsigned char*)0x20D0);
12 if (buff == 0) buff = 2; else buff--;
13 return fb[buff];
14 }
15
16 void *vid_get_bitmap_fb()
17 {
18 return (void*)0x403B1000;
19 }
20
21 void *vid_get_viewport_fb()
22 {
23 return (void*)0x4070D9D0;
24 }
25