/*
header патча. Одолжил у Neo_2kX
*/

.ifdef X100XEDG1
/*
Патч использует область памяти начиная с первого кадра картинки "Уровень громкости",
вкладка Неопознаное
*/
.equ Start_Patch 				0x0077DDB8
.equ Key_case                   0x00084FAE
.equ After_case_trans           0x00084FBA
.equ exit_offset                0x00084FCA
.equ exit_adr					0x00084FD8

@List
.equ CreateList					0x000B2142
.equ AddList					0x000B2190
.equ SetCurList					0x000B677C

@String
.equ GetString					0x000A9564
.equ _sprintf					0x003E1710
.equ strcmp 					0x003E1690
.equ strchr						0x003E228C
.equ lk_get_text				0x002BE700
.equ strcat						0x003E2188
.equ strlen						0x003E1758

@FFS
.equ ffsOpenDir					0x002C1298			@
.equ ffsReadDir					0x002C1370			 @ Dir
.equ ffsCloseDir				0x002C14A4			 @ Func
.equ ffsGetNumOfFiles 			0x002C3604			@
.equ ffsGetFileSize				0x002C1044

.equ ffsOpenFile				0x002C0374	; (int* handle, char* filename, mode):(int)
.equ ffsReadFile				0x002C0684	; (int handle, void* buf, bytestoread, bytesread*):(int)
.equ ffsCloseFile				0x002C060C	; (int handle)
.equ ffsCreateFile				0x002C0418	; (int* handle, char* filename, mode(8)):(int)
.equ ffsWriteFile				0x002C0820  ; (int handle,  void* bufToread, int bytesToRead):(bool)

@other
.equ Reg_Draw_Title				0x000B1A18 	@{Title_Str_Adress, ?(0), ?(0)}
.equ generate_key_tone          0x0009AE84
.equ gv_idle_inout              0x01656DF8
.equ lk2_12start_menu_edit_fsm	0x00098060

@SK
.equ lk_get_sofk				0x002BE774
.equ Reg_Draw_Softkey			0x000A99F6

@Var
.equ v_DefaultDispText 			0x016A2098			@Hint value
.equ DspList 					0x01656E68			@List struct
.equ Ix_pos						0x016A1ED8			@
.equ Iy_pos						0x016A1EDC			 @
.equ Iwidth						0x016A1EE0			  @
.equ Iheight					0x016A1EE4			   @
.equ Isize						0x016A1EE8				@ For Icons
.equ Ibit_size					0x016A1EEC			   @
.equ Iversion					0x016A1EF0			  @
.equ Iduration					0x016A1EF8			 @
.equ IGraphic					0x016A1ED4			@

@Menu functions
.equ sys_buffer                 0x0166B7FC    ;block_phone
.equ hen3_10SendSPPSwitchOffInd 0x00127B48    ;power_off phone тоже тут ошибочка была...было 0x00127B49
.equ mcc_set_quiet_mode_onoff   0x007F0B58	  ;Mute
.equ mmi_quiet_mode_onoff       0x016DF1C4    ;mute_status

@Standart_Icon_Index
.equ Icon_Active 		#0x2E
.equ Icon_DeActive		#0x2F


