This source file includes following definitions.
- hook_raw_image_addr
- vid_get_viewport_live_fb
- vid_get_bitmap_fb
- vid_get_viewport_fb
- vid_get_viewport_fb_d
- camera_jpeg_count_str
- vid_get_bitmap_active_buffer
1 #include "platform.h"
2
3 char *hook_raw_image_addr()
4 {
5 return (char*)0x424ad900;
6 }
7
8 void *vid_get_viewport_live_fb()
9 {
10
11
12
13 void **fb=(void **)0x479c;
14 unsigned char buff = *((unsigned char*)0x45f4);
15 if (buff == 0) {
16 buff = 2;
17 }
18 else {
19 buff--;
20 }
21 return fb[buff];
22
23
24 }
25
26 void *vid_get_bitmap_fb()
27 {
28
29 return (void*)0x403f1000;
30 }
31
32 void *vid_get_viewport_fb()
33 {
34 return (void *)0x415f3570;
35 }
36
37 void *vid_get_viewport_fb_d()
38 {
39 return (void*)(*(int*)(0x2764 + 0x58));
40 }
41
42 char *camera_jpeg_count_str()
43 {
44 return (char *)0x35278;
45 }
46
47
48
49
50
51
52
53
54
55 void *vid_get_bitmap_active_buffer()
56 {
57 return (void*)(*(int*)(0x5068+0x14));
58 }