char *hook_raw_image_addr(){ return (char*) (*(int*)0x5684 ? 0x11F6B740 : 0x108057C0); // return (char*)0x108057C0;}
I print get_raw_image_addr() value at each pass in raw.c and got alternate values as per:=== pass number: 0, raw buffer:1f6b740=== pass number: 1, raw buffer:8057c0=== pass number: 2, raw buffer:1f6b740=== pass number: 3, raw buffer:8057c0=== pass number: 4, raw buffer:1f6b740=== pass number: 5, raw buffer:8057c0I have a A650is and get_alt_raw_image_addr() equal to get_raw_image_addr().Some one has an explanation ?
That was my interrogation !I saw the conditional under "hook_raw_image_addr" and the reusability of mem space under "get_alt_raw_image_addr".So, are these mem spaces ( raw buffer:1f6b740 and raw buffer:8057c0 ) usefull as alternate raw buffer ?Means, if actual raw buffer (1f6b740) then alt raw buffer (8057c0) could be use to small-endianeese bytes before writing it ?P.S.: currently, I skip unreverse and save the useless reversed jpg
char *hook_raw_image_addr(){ return ( char * ) ( * ( int * ) 0x5684 ? 0x11F6B740 : 0x108057C0 );}char *hook_alt_raw_image_addr(){ return ( char * ) ( * ( int * ) 0x5684 ? 0x108057C0 : 0x11F6B740 );}/* old function single buffer functionchar *hook_raw_image_addr(){ return ( char * ) ( * ( int * ) 0x5684 ? 0x11F6B740 : 0x108057C0 ); // return (char*)0x108057C0;}*/
Started by mattkime Script Writing
Started by reyalp « 1 2 ... 12 13 » General Discussion and Assistance
Started by CanonBlue General Help and Assistance on using CHDK stable releases
Started by dvip General Discussion and Assistance
Started by 74prof General Discussion and Assistance