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