This source file includes following definitions.
- hook_raw_image_addr
- hook_alt_raw_image_addr
- vid_get_viewport_fb_d
- camera_jpeg_count_str
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
23
24
25 void *vid_get_viewport_fb_d() { return (void*)(*(int*)(0x2ec0+0x54)); }
26 char *camera_jpeg_count_str() { return (char*)0x000dd3b4; }
27
28