This source file includes following definitions.
- hook_raw_image_addr
- hook_alt_raw_image_addr
- camera_jpeg_current_filename
- vid_get_bitmap_fb
- vid_get_viewport_fb
- vid_get_viewport_fb_d
- camera_jpeg_count_str
1 #include "platform.h"
2
3 char *hook_raw_image_addr()
4 {
5 if (*((int*)(0x3F3C + 0xC)) != 0)
6 return (char*) 0x4ad65bc0;
7 else
8 return (char*) 0x44000000;
9 }
10
11 char *hook_alt_raw_image_addr()
12 {
13 if (*((int*)(0x3F3C + 0xC)) == 0)
14 return (char*) 0x4ad65bc0;
15 else
16 return (char*) 0x44000000;
17 }
18
19 char *camera_jpeg_current_filename() {
20 return (void*)0x1ADE4C;
21 }
22
23 void *vid_get_bitmap_fb() { return (void*)0x406c5000; }
24 void *vid_get_viewport_fb() { return (void*)0x4081ab80; }
25 void *vid_get_viewport_fb_d() { return (void*)(*(int*)(0x3838+0x54)); }
26 char *camera_jpeg_count_str() { return (char*)0x001ad150; }
27