root/platform/s110/sub/103a/lib.c

/* [<][>][^][v][top][bottom][index][help] */

DEFINITIONS

This source file includes following definitions.
  1. hook_raw_image_addr
  2. hook_alt_raw_image_addr
  3. camera_jpeg_current_filename
  4. vid_get_bitmap_fb
  5. vid_get_viewport_fb
  6. vid_get_viewport_fb_d
  7. camera_jpeg_count_str

   1 #include "platform.h"
   2 
   3 char *hook_raw_image_addr()
   4 {
   5         if (*((int*)(0x3F3C + 0xC)) != 0) // 0x3F3C (@F80C5EF8) + 0xC (@F80C5F28)
   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) // 0x3F3C (@F80C5EF8) + 0xC (@F80C5F28)
  14         return (char*) 0x4ad65bc0;
  15     else
  16         return (char*) 0x44000000;
  17 }
  18 
  19 char *camera_jpeg_current_filename() {
  20      return (void*)0x1ADE4C;                 // @F83401D4
  21 }
  22 
  23 void *vid_get_bitmap_fb()        { return (void*)0x406c5000; }             // Found @0xf8074fa0
  24 void *vid_get_viewport_fb()      { return (void*)0x4081ab80; }             // Found @0xf8519358
  25 void *vid_get_viewport_fb_d()    { return (void*)(*(int*)(0x3838+0x54)); } // Found @0xf8095da8 & 0xf8095de0
  26 char *camera_jpeg_count_str()    { return (char*)0x001ad150; }             // Found @0xf8319350
  27 

/* [<][>][^][v][top][bottom][index][help] */