This source file includes following definitions.
- hook_raw_image_addr
- hook_alt_raw_image_addr
- vid_get_viewport_fb_d
- camera_jpeg_count_str
- camera_jpeg_current_filename
- camera_jpeg_current_gps
1 #include "platform.h"
2
3 char *hook_raw_image_addr()
4 {
5
6
7
8
9 if (*((int*)(0x3188 + 0xC)) != 0)
10 return (char*) 0x4ADB54A0;
11 else
12 return (char*) 0x44000000;
13 }
14
15 char *hook_alt_raw_image_addr() {
16 if (*((int*)(0x3188 + 0xC)) == 0)
17 return (char*) 0x4ADB54A0;
18 else
19 return (char*) 0x44000000;
20 }
21
22 void *vid_get_viewport_fb_d() {
23 return (void*)(*(int*)(0x2ec0+0x54));
24 }
25
26 char *camera_jpeg_count_str() {
27 return (void*)0xDD3B4;
28 }
29
30 #ifdef CAM_HAS_GPS
31 char *camera_jpeg_current_filename() {
32 return (void*)0xD922C;
33 }
34
35 char *camera_jpeg_current_gps() {
36 return (void*)0xD92A0;
37 }
38 #endif