This source file includes following definitions.
- hook_raw_image_addr
- hook_alt_raw_image_addr
- vid_get_bitmap_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
6
7
8
9 if (*((int*)0x2E3C) != 0)
10 return (char*) 0x46000000;
11 else
12 return (char*) 0x413391A0;
13
14 }
15
16 char *hook_alt_raw_image_addr()
17 {
18
19 if (*((int*)0x2E3C) == 0)
20 return (char*) 0x46000000;
21 else
22 return (char*) 0x413391A0;
23
24 }
25
26
27 void *vid_get_bitmap_fb()
28 {
29
30
31 return (void*)0x40471000;
32 }
33
34 void *vid_get_viewport_fb_d()
35 {
36
37
38 return (void*)(*(int*)(0x2BA0+0x58));
39
40 }
41
42 char *camera_jpeg_count_str()
43 {
44
45 return (void*)0xBB3A8;
46
47 }
48
49 void *vid_get_bitmap_active_buffer()
50 {
51 return (void*)(*(int*)(0x5AC4+0x18));
52 }