This source file includes following definitions.
- hook_raw_image_addr
- vid_get_bitmap_fb
- vid_get_viewport_live_fb
- vid_get_viewport_fb
- vid_get_viewport_fb_d
1 #include "platform.h"
2
3 char *hook_raw_image_addr()
4 {
5 return (char*)0x4219D120;
6
7 }
8
9
10 void *vid_get_bitmap_fb()
11 {
12 return (void*)0x403F1000;
13 }
14
15 void *vid_get_viewport_live_fb()
16 {
17
18
19 void **fb=(void **)0x4B34;
20 unsigned char buff = *((unsigned char*)0x497C);
21 if (buff == 0) {
22 buff = 2;
23 }
24 else {
25 buff--;
26 }
27 return fb[buff];
28 }
29
30 void *vid_get_viewport_fb()
31 {
32 return (void*)0x4088B700;
33
34 }
35
36 void *vid_get_viewport_fb_d()
37 {
38 return (void*)(*(int*)(0x2790+0x58));
39 }