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
1 #include "platform.h"
2
3
4
5
6
7
8
9
10 char *hook_raw_image_addr()
11 {
12
13
14
15
16 if (*((int*)(0x2EF8 + 0xC)) != 0)
17 return (char*) 0x46000000;
18 else
19 return (char*) 0x413391A0;
20 }
21
22 char *hook_alt_raw_image_addr()
23 {
24
25
26
27
28 if (*((int*)(0x2EF8 + 0xC)) == 0)
29 return (char*) 0x46000000;
30 else
31 return (char*) 0x413391A0;
32 }
33
34
35 void *vid_get_bitmap_fb()
36 {
37
38 return (void*)0x40471000;
39 }
40
41 void *vid_get_viewport_fb_d()
42 {
43
44 return (void*)(*(int*)(0x2C58+0x58));
45 }
46
47 char *camera_jpeg_count_str()
48 {
49
50 return (void*)0x000B9574;
51 }