Param 47 (currently 53748416) increases by 16 each shot
For S3 IS
Parameter #52, page 5 increases by 16 each shot without changeing mode.
Hey people, this is wrong parameter! It contain both current file and directory number (see PARAM_FILE_COUNTER and get_file_counter() in platform/generic/shooting.c) - for example 103 in '103CANON' and 1234 in 'IMG_1234.JPG'.
How to find correct parameter in IDA (example for S3IS):
1. Search for "Total Shoot :%ld" string
2. Jump to reference for this string:
ROM:FFA52E20 MOV R0, #0x4000 <<<<<<<<<
must be 0x4000 + our parameter numberROM:FFA52E24 ADD R1, SP, #0x80+var_70
ROM:FFA52E28 ADD R0, R0,
#1 <<<<<<<< our parameter number (i.e. 1)
ROM:FFA52E2C MOV R2, #4
ROM:FFA52E30 BL sub_FF992358 ( PTM_RestoreUIProperty )
ROM:FFA52E34 LDR R1, =
aTotalShootLd <<<<<<<<<< reference to string "Total shoot"
ROM:FFA52E38 LDR R2, [SP,#0x80+var_70]
ROM:FFA52E3C MOV R0, R5
ROM:FFA52E40 BL sprintf
So, for S3IS this parameter = 1.
One minute per camera (if .idb database exists) and no trouble
P.S. For A560 also 1