skip AB_DEFAULTNBR_GET
skip AB_GETNBROFITEMS
skip AB_POSITIONNBR_GET
skip AB_READPHONENBR
skip AB_READSTRING
skip Alarm_GetCurrentTypeAndAlarmID
skip Alarm_GetState
skip Alarm_GetTIME
skip Alarm_GetWeekSettings
skip AudioControl_Init
skip AudioControl_Vibrate
skip Audio_Pause
skip Audio_Play
skip Bluetooth_GetPhoneVisibility
skip Bluetooth_GetState
skip Bluetooth_isBusy
skip BookObj_AddGUIObject
skip BookObj_CallPage
skip BookObj_CallSubroutine
skip BookObj_GetBookID
skip BookObj_GetDisplayOrientation
skip BookObj_GetSession
skip BookObj_GetSessionID
skip BookObj_GotoPage
skip BookObj_Hide
skip BookObj_ReturnPage
skip BookObj_SetDisplayOrientation
skip BookObj_SetFocus
skip BookObj_Show
skip BookObj_SoftKeys_SetAction
skip BookObj_StayOnTop
skip BookObj_WindowSetWantsFocus
skip BrowserItem_Get_SUB_EXECUTE
skip Browser_OpenURI
skip Cale_GetSettings
skip CallID_GetCallStatusDesc
skip CallStatusDesc_GetName
skip CANVAS_Get_GviGC
skip CHF_GetState
skip chmod
skip CoCreateInstance
skip ConnectionManager_Connection_GetState
skip current_process
skip DataBrowserDesc_Menu_AddFSFunctions
skip DataBrowserDesc_Menu_AddMarkFiles
skip DataBrowserDesc_Menu_AddNewFolder
skip DataBrowserDesc_SetActions
skip DataBrowserDesc_SetBookID
skip DataBrowserDesc_SetFileExtList
skip DataBrowserDesc_SetFocusToFILEITEM
skip DataBrowserDesc_SetFolders
skip DataBrowserDesc_SetFoldersNumber
skip DataBrowserDesc_SetItemFilter
skip DataBrowserDesc_SetItemStyle
skip DataBrowserDesc_SetOpenEmptyFolder
skip DataBrowserDesc_SetOption
skip DataBrowserDesc_SetSelectAction
skip DataBrowserDesc_SetSelectActionOnFolders
skip DataBrowserDesc_SetViewModeAndSortOrder
skip DataBrowser_Create
skip DataBrowser_isFileInListExt
skip DataBrowser_isFileInListExt_adr
skip DateInput_GetDateInt
skip datetime2unixtime
skip DATE_GetWeekDay
skip debug_printf
skip delay
skip DirHandle_SetFilterStr
skip Display_GetBrightness
skip Display_GetFocusedDispObject
skip Display_GetHeight
skip Display_GetTopBook
skip Display_GetWidth
skip Display_SetBrightness
skip DispObject_GetAbsoluteXPos
skip DispObject_GetAbsoluteYPos
skip DispObject_GetDESC
skip DispObject_GetGUI
skip DispObject_GetMethod04
skip DispObject_GetMethod05
skip DispObject_GetMethod06
skip DispObject_GetMethod07
skip DispObject_GetMethod0A
skip DispObject_GetMethod0B
skip DispObject_GetMethod0C
skip DispObject_GetName
skip DispObject_GetOnClose
skip DispObject_GetOnConfig
skip DispObject_GetOnCreate
skip DispObject_GetOnKey
skip DispObject_GetOnLayout
skip DispObject_GetOnRedraw
skip DispObject_GetonRefresh
skip DispObject_GetRect
skip DispObject_GetVisible
skip DispObject_GetWindowHeight
skip DispObject_GetWindowWidth
skip DispObject_InvalidateRect
skip DispObject_KillRefreshTimer
skip DispObject_SetAnimation
skip DispObject_SetLayerColor
skip DispObject_SetListTextColor
skip DispObject_SetRefreshTimer
skip DispObject_SetScrollBarBackgroundColor
skip DispObject_SetScrollBarColor
skip DispObject_SetSoftkeysColor
skip DispObject_SetTitleTextColor
skip DispObject_Show
skip DispObject_SoftKeys_ExecuteAction
skip DispObject_SoftKeys_Get
skip DispObject_SoftKeys_GetList
skip DispObject_SoftKeys_GetParams
skip DispObject_SoftKeys_RestoreDefaultAction
skip DispObject_WindowSetPosition
skip DispObject_WindowSetSize
skip DISP_DESC_GetSize
skip DISP_DESC_SetMethod04
skip DISP_DESC_SetMethod05
skip DISP_DESC_SetMethod06
skip DISP_DESC_SetMethod07
skip DISP_DESC_SetMethod0A
skip DISP_DESC_SetMethod0B
skip DISP_DESC_SetMethod0C
skip DISP_DESC_SetName
skip DISP_DESC_SetOnClose
skip DISP_DESC_SetOnConfig
skip DISP_DESC_SetOnCreate
skip DISP_DESC_SetOnKey
skip DISP_DESC_SetOnLayout
skip DISP_DESC_SetOnRedraw
skip DISP_DESC_SetOnRefresh
skip DISP_DESC_SetSize
skip Disp_GetTextIDWidth
skip DrawRect
skip DrawString
skip elfload
skip EqualizerGain_Get
skip EqualizerGain_Set
skip Feedback_DispObject_GetText
skip Feedback_SetKeyHook
skip Feedback_SetManualScrollingText
skip Feedback_SetOnClose
skip Feedback_SetTimeout
skip FileCopy
skip FileDelete
skip FILEITEM_Destroy_adr
skip FILEITEM_GetFname
skip FILEITEM_GetPath
skip FILEITEM_SetFname
skip FILEITEM_SetFnameAndContentType
skip FILEITEM_SetPath
skip FILEITEM_SetPathAndContentType
skip FileMove
skip FindBook
skip FindBookByID
skip FindBookEx
skip Find_StandbyBook
skip fread
skip fstat
skip FSX_GetInvalidChar
skip FSX_RemoveIllegalSymbolsName
skip fwrite
skip GC_DrawFRect
skip GC_DrawLine
skip GC_DrawRoundRect
skip GC_GetBrushColor
skip GC_GetPenColor
skip GC_GetRect
skip GC_GetXX
skip GC_PutChar
skip GC_SetBrushColor
skip GC_SetPenColor
skip GC_SetPixel
skip GC_SetXX
skip GC_ValidateRect
skip GC_WritePixels
skip GetABRecNum
skip GetAudioControlPtr
skip GetAudioSettings
skip GetBatteryState
skip GetChipID
skip GetCurrentPID
skip GetDir
skip getFileExtention
skip GetFname
skip GetFontCount
skip GetFontDesc
skip GetFreeBytesOnHeap
skip GetImageHeight
skip GetImageWidth
skip GetIMSI
skip getListMenuOnDescCreate
skip getListMenuOnDispMessage
skip getListMenuOnGuiDestroy
skip getNOfManyOnDescCreate
skip getNOfManyOnDispMessage
skip getNOfManyOnGuiDestroy
skip getOneOfManyOnDescCreate
skip getOneOfManyOnDispMessage
skip getOneOfManyOnGuiDestroy
skip GetOtherExtMethods
skip GetRadioState
skip GetSignalQuality
skip GetSilent
skip getTabMenuBarOnDescCreate
skip getTabMenuBarOnDispMessage
skip getTabMenuBarOnGuiDestroy
skip GetThemeColor
skip GetURIScheme
skip GetVibrator
skip GetVolumeSize
skip get_AB_ITEMS_DESC
skip get_APP_DESC_TABLE
skip get_bid
skip get_CellData
skip get_DisplayGC
skip get_envp
skip get_IsAudioPlayerBook
skip get_IsCameraBook
skip get_IsDataBrowserBook
skip get_IsFmRadioBook
skip get_IsMediaPlayerVideoBook
skip get_IsRightNowBook
skip get_IsScreenSaverBook
skip get_IsSoundRecorderBook
skip get_IsVolumeControllerBook
skip get_mem
skip get_ptype
skip get_Surfaces
skip get_system_langID
skip get_VBUFFER
skip GoMusic
skip GPRS_GetLastSessionInfo
skip GUIObject_GetBook
skip GUIObject_GetDispObject
skip GUIObject_SetBacklightTimeout
skip GUIObject_SetFocus
skip GUIObject_SetListTextColor
skip GUIObject_SetStyle
skip GUIObject_SetTitleTextColor
skip GUIObject_SetTitleType
skip GUIObject_SetZOrder
skip GUIObject_Show
skip GUIObject_SoftKeys_ExecuteAction
skip GUIObject_SoftKeys_Hide
skip GUIObject_SoftKeys_RemoveBackground
skip GUIObject_SoftKeys_RemoveItem
skip GUIObject_SoftKeys_RestoreBackground
skip GUIObject_SoftKeys_SetAction
skip GUIObject_SoftKeys_SetEnable
skip GUIObject_SoftKeys_SetItemAsSubItem
skip GUIObject_SoftKeys_SetVisible
skip GUIObject_SoftKeys_Show
skip GUIObject_SoftKeys_SuppressDefaultAction
skip GUIonMessage_GetBook
skip GUIonMessage_GetCreatedItemIndex
skip GUIonMessage_GetGui
skip GUIonMessage_GetMsg
skip GUIonMessage_GetPrevSelectedItem
skip GUIonMessage_GetSearchString
skip GUIonMessage_GetSearchStringLength
skip GUIonMessage_GetSelectedItem
skip GUIonMessage_SetItemDisabled
skip GUIonMessage_SetLineSeparator
skip GUIonMessage_SetNumberOfSubItems
skip GUIonMessage_SubItem_GetCreatedIndex
skip GUIonMessage_SubItem_GetCreatedParentIndex
skip GUIonMessage_SubItem_GetSelectedIndex
skip GUIonMessage_SubItem_GetSelectedParentIndex
skip GUIonMessage_SubItem_SetDisabled
skip GVI_BitBlt
skip GVI_DrawEllipse
skip GVI_DrawLine
skip GVI_DrawLines
skip GVI_DrawPolyLine
skip GVI_DrawRectangle
skip GVI_DrawRoundRect
skip GVI_DrawSolidLines
skip GVI_DrawSolidPolyLine
skip GVI_DrawSolidRectangle
skip GVI_FillEllipse
skip GVI_FillPolygon
skip GVI_FillRectangle
skip GVI_FillRectangles
skip GVI_FillSolidEllipse
skip GVI_FillSolidRectangle
skip GVI_FillSolidRoundRect
skip GVI_FillSolidTriangle
skip GVI_StretchBlt
skip GVI_TransformBlt
skip iconidname2id
skip IMB
skip IncommingCall_Accept
skip IncommingCall_Mute
skip IncommingCall_Reject
skip IndicationDevice_Backlight_FadeToLevel
skip IrDa_GetState
skip IsAudioPlayerBook
skip IsCameraBook
skip IsDataBrowserBook
skip IsFmRadioBook
skip isKeylocked
skip IsMediaPlayerVideoBook
skip IsRightNowBook
skip IsScreenSaverBook
skip IsSoundRecorderBook
skip IsVolumeControllerBook
skip JavaSession_Manager
skip lang_get_name
skip LastExtDB
skip ListMenu_DestroyItems
skip ListMenu_EnableSearchHeader
skip ListMenu_GetItemCount
skip ListMenu_GetSelectedItem
skip ListMenu_SetCursorToItem
skip ListMenu_SetHotkeyMode
skip ListMenu_SetItemCount
skip ListMenu_SetItemStyle
skip ListMenu_SetItemTextScroll
skip ListMenu_SetOnMessage
skip ListMenu_SetSearchLanguageMode
skip List_DestroyElements
skip List_Find
skip List_Get
skip List_IndexOf
skip List_Insert
skip List_InsertFirst
skip List_InsertLast
skip List_InsertSorted
skip List_RemoveAt
skip longjmp
skip lseek
skip MainInput_getCurPos
skip MainInput_getPNUM
skip MainInput_getVisible
skip MainInput_Hide
skip MainInput_isPlus
skip MainInput_strlen
skip MakeVoiceCall
skip MediaPlayer_ShowNowPlaying
skip MediaPlayer_SoftKeys_SetAction
skip MediaPlayer_SoftKeys_SetItemAsSubItem
skip memcmp
skip memcpy
skip memset
skip MenuBook_Desktop
skip MetaData_Desc_GetCoverInfo
skip MetaData_Desc_GetTags
skip MetaData_Desc_GetTrackNum
skip MissedEvents
skip mkdir
skip MMIPROC
skip MonitorFeedback_SetTimer
skip NOfMany_GetChecked
skip NOfMany_GetCheckedCount
skip NOfMany_SetChecked
skip NOfMany_SetCursor
skip NOfMany_SetOnMessage
skip OneOfMany_GetSelected
skip OneOfMany_SetChecked
skip OneOfMany_SetFocused
skip OneOfMany_SetItemCount
skip OneOfMany_SetOnMessage
skip OrangeLED_Control
skip OSE_GetShell
skip pb_ui_search_bk_create_search_menu
skip PercentInput_GetPercent
skip PHF_GetState
skip PID_MMI
skip PlayerControl
skip PlayFile
skip PlayFileV
skip PlaySystemSound
skip png_get_progressive_ptr
skip png_get_rowbytes
skip png_get_valid
skip png_set_gray_1_2_4_to_8
skip png_set_gray_to_rgb
skip png_set_palette_to_rgb
skip png_set_strip_16
skip png_set_tRNS_to_alpha
skip PNUM2str
skip PNUM_len
skip Profile_SetActive
skip ProgressBar_SetBarDisabled
skip ProgressBar_SetPercentValue
skip RedLED_Off
skip RedLED_On
skip rename
skip REQUEST_ALARMCLOCKSTATUS_GET
skip REQUEST_ALARMCLOCKTIME_GET
skip REQUEST_ALARMDATEANDTIMESTATUS_GET
skip REQUEST_DATEANDTIME_GET
skip REQUEST_DATEFORMAT_GET
skip Request_ICA_ShutdownAllConnections
skip REQUEST_PROFILE_GETACTIVEPROFILE
skip REQUEST_SETTING_ALLOWEDCALLERS_GET
skip REQUEST_SETTING_ALLOWEDCALLERS_SET
skip REQUEST_SETTING_ANSWERINGMODE_SET
skip REQUEST_SETTING_INCREASINGRING_SET
skip REQUEST_SETTING_RINGTYPESOUNDFILE_SET
skip REQUEST_SETTING_RINGVOLUME_SET
skip REQUEST_SETTING_SILENCE_GET
skip REQUEST_SETTING_SILENCE_SET
skip REQUEST_SETTING_VIBRATOR_SET
skip REQUEST_SYSTEM_RESTART
skip REQUEST_SYSTEM_SHUTDOWN
skip REQUEST_TIMEFORMAT_GET
skip REQUEST_UI_OAF_START_APPLICATION
skip RightNow_SetActive
skip rmdir
skip ROOT_APP
skip root_list_get_session
skip root_list_get_session_count
skip SBY_GetMainInput
skip SBY_GetStatusIndication
skip sender
skip SESSION_GetTopBook
skip SetFont
skip setjmp
skip SetLampLevel
skip SetTheme
skip Settings_ShowNumber_Get
skip SetTrayIcon
skip set_envp
skip Shortcut_Run
skip snwprintf
skip SoftKeys_GetLabel
skip SoftKeys_GetSelectedAction
skip SoftKeys_Update
skip SoundRecorderDesc_SetBookID
skip SoundRecorderDesc_SetFname
skip SoundRecorderDesc_SetFolder
skip SoundRecorderDesc_SetRecordSize
skip SoundRecorderDesc_SetType
skip SpeedDial_GetPNUM
skip sprintf
skip sscanf
skip StandbyBackground_SetImage
skip start
skip StartAPP
skip StatusRow_p
skip stop
skip str2PNUM
skip str2wstr
skip strcat
skip strcmp
skip strcpy
skip StringInput_DispObject_SetLanguage
skip StringInput_GetCursorPosition
skip StringInput_GetStringAndLen
skip StringInput_MenuItem_SetPriority
skip StringInput_SetCursorPosition
skip strlen
skip strncmp
skip strncpy
skip strstr
skip SUBPROC
skip SwitchRadioStationFromList
skip swscanf
skip TabMenuBar_GetFocusedTab
skip TabMenuBar_SetFocusedTab
skip TabMenuBar_SetOnTabSwitch
skip TabMenuBar_SetTabCount
skip TabMenuBar_SetTabGui
skip textidname2id
skip TextID_GetLength
skip TextID_GetString
skip TextID_GetWString
skip Theme_DestroyMenuIcons
skip TimeInput_GetTimeInt
skip UIEventName
skip UI_CONTROLLED_SHUTDOWN_RESPONSE
skip UI_Event
skip UI_Event_toBookID
skip UI_Event_toBookIDwData
skip UI_Event_toSID
skip UI_Event_wData
skip unixtime2datetime
skip USB_isConnected
skip VCALL_Init
skip VCALL_SetHZ1
skip VCALL_SetHZ2
skip VCALL_SetName
skip VCALL_SetNumber
skip VideoPlayerControl
skip VideoResize_AllScreenMode
skip VideoResize_AutomateMode
skip Video_ActionBack
skip Video_ExtractFrame
skip Video_GetCurrentSkinID
skip Video_Pause
skip Video_Play
skip Video_Refresh
skip Video_SetPermit
skip Video_SetSkin
skip Video_Stop
skip Video_ZoomOn
skip wstr2strn
skip wstrcat
skip wstrchr
skip wstrcmp
skip wstrcmpi
skip wstrcmpni
skip wstrcpy
skip wstrlen
skip wstrncat
skip wstrncmp
skip wstrncpy
skip wstrnlwr
skip wstrnupr
skip wstrrchr
skip wstrwstr
skip wtoi
skip w_chdir
skip w_dirread
skip w_fread
skip w_fstat
skip w_fwrite
skip w_lseek
skip w_mkdir
skip w_remove
skip w_rename
skip XGUIList_AddGUIObject
skip _REQUEST_OAF_START_APPLICATION




__make malloc
{
	__R ret = __O__;
	if(ret)trace_alloc(trace_memory, (void*)ret, __file__, __line__);
	return ret;
}

void mfree_(void* p)
{
	mfree(p);
}

__make mfree_adr
{
	return (void*)mfree_;
}

__make mfree
{
	trace_free(trace_memory, p, __file__, __line__);
	__O__;
}

__make CreateBook
{
	trace_free(trace_memory, pbook, __file__, __line__);
	trace_alloc(trace_book, pbook, __file__, __line__);
	return __O__;
}

__make FreeBook
{
	trace_free(trace_book, book, __file__, __line__);
	__O__;
}

__make BookObj_KillBook
{
	trace_free(trace_book, book, __file__, __line__);
	__O__;
}

__make List_Create
{
	__R ret = __O__;
	if(ret)trace_alloc(trace_memory, (void*)ret, __file__, __line__);
	return ret;
}

__make List_Destroy
{
	trace_free(trace_memory, lst, __file__, __line__);
	__O__;
}

__make manifest_GetParam
{
	__R ret = __O__;
	if(ret)trace_alloc(trace_memory, (void*)ret, __file__, __line__);
	return ret;
}

__make AllocDirHandle
{
	__R ret = __O__;
	if(ret)trace_alloc(trace_memory, (void*)ret, __file__, __line__);
	return ret;
}

__make DestroyDirHandle
{
	trace_free(trace_memory, handle, __file__, __line__);
	__O__;
}

__make GUIObject_Create
{
	trace_free(trace_memory, __unknwnargname1, __file__, __line__);
	trace_alloc(trace_gui, __unknwnargname1, __file__, __line__);
	return __O__;
}

__make GUIObject_Destroy
{
	trace_free(trace_gui, __unknwnargname1, __file__, __line__);
	return __O__;
}

__make _fopen
{
	__R ret = __O__;
	if(ret!=-1)trace_alloc(trace_file, (void*)ret, __file__, __line__);
	return ret;
}

__make fopen
{
	__R ret = __O__;
	if(ret!=-1)trace_alloc(trace_file, (void*)ret, __file__, __line__);
	return ret;
}

__make fclose
{
	trace_free(trace_file, (void*)file, __file__, __line__);
	return __O__;
}

__make w_fopen
{
	//тот же trace_file?
	__R ret = __O__;
	if(ret!=-1)trace_alloc(trace_file, (void*)ret, __file__, __line__);
	return ret;
}

__make w_fclose
{
	trace_free(trace_file, (void*)f, __file__, __line__);
	return __O__;
}

__make CreateListMenu
{
	__R ret = __O__;
	if(ret)trace_alloc(trace_gui, (void*)ret, __file__, __line__);
	return ret;
}

__make CreateNOfMany
{
	__R ret = __O__;
	if(ret)trace_alloc(trace_gui, (void*)ret, __file__, __line__);
	return ret;
}

__make CreateOneOfMany
{
	__R ret = __O__;
	if(ret)trace_alloc(trace_gui, (void*)ret, __file__, __line__);
	return ret;
}

__make CreateTabMenuBar
{
	__R ret = __O__;
	if(ret)trace_alloc(trace_gui, (void*)ret, __file__, __line__);
	return ret;
}

__make CreateProgressBar
{
	__R ret = __O__;
	if(ret)trace_alloc(trace_gui, (void*)ret, __file__, __line__);
	return ret;
}

__make TextID_Create
{
	__R ret = __O__;
	if(isallocatedstrid(ret))
	{
		trace_alloc(trace_strid, (void*)ret, __file__, __line__);
		if(flag==ENC_TEXTID)
		{
			for(int i=0;i<len;i++)
				trace_free(trace_strid, (void*)((TEXTID*)wstr)[i], __file__, __line__);
		}
	}
	return ret;
}

__make TextID_Copy
{
	__R ret = __O__;
	if(isallocatedstrid(ret))
		trace_alloc(trace_strid, (void*)ret, __file__, __line__);
	return ret;
}

__make TextID_CreateIntegerID
{
	__R ret = __O__;
	if(isallocatedstrid(ret))
		trace_alloc(trace_strid, (void*)ret, __file__, __line__);
	return ret;
}

__make TextID_Destroy
{
	if(isallocatedstrid(__unknwnargname1))trace_free(trace_strid, (void*)__unknwnargname1, __file__, __line__ );
	return __O__;
}

__make GUIObject_SetTitleText
{
	if(isallocatedstrid(__unknwnargname2))trace_free(trace_strid, (void*)__unknwnargname2, __file__, __line__ );
	return __O__;
}

__make GUIObject_SoftKeys_SetText
{
	if(isallocatedstrid(__unknwnargname3))trace_free(trace_strid, (void*)__unknwnargname3, __file__, __line__ );
	return __O__;
}

__make GUIonMessage_SetMenuItemText
{
	if(isallocatedstrid(__unknwnargname2))trace_free(trace_strid, (void*)__unknwnargname2, __file__, __line__ );
	return __O__;
}

__make GUIonMessage_SetMenuItemSecondLineText
{
	if(isallocatedstrid(__unknwnargname2))trace_free(trace_strid, (void*)__unknwnargname2, __file__, __line__ );
	return __O__;
}

__make GUIonMessage_SetMenuItemInfoText
{
	if(isallocatedstrid(__unknwnargname2))trace_free(trace_strid, (void*)__unknwnargname2, __file__, __line__ );
	return __O__;
}

__make GUIonMessage_SetMenuItemUnavailableText
{
	if(isallocatedstrid(__unknwnargname2))trace_free(trace_strid, (void*)__unknwnargname2, __file__, __line__ );
	return __O__;
}

__make MessageBox
{
	if(isallocatedstrid(header_text))trace_free(trace_strid, (void*)header_text, __file__, __line__ );
	if(isallocatedstrid(message_text))trace_free(trace_strid, (void*)message_text, __file__, __line__ );
	if(isallocatediconid(__unknwnargname3))trace_free(trace_iconid, (void*)__unknwnargname3, __file__, __line__ );
	return __O__;
}

__make BookObj_SoftKeys_SetText
{
	if(isallocatedstrid(__unknwnargname3))trace_free(trace_strid, (void*)__unknwnargname3, __file__, __line__ );
	return __O__;
}

__make DataBrowserDesc_SetHeaderText
{
	if(isallocatedstrid(__unknwnargname2))trace_free(trace_strid, (void*)__unknwnargname2, __file__, __line__ );
	return __O__;
}

__make DataBrowserDesc_SetOKSoftKeyText
{
	if(isallocatedstrid(__unknwnargname2))trace_free(trace_strid, (void*)__unknwnargname2, __file__, __line__ );
	return __O__;
}

__make DispObject_SetTitleText
{
	if(isallocatedstrid(__unknwnargname2))trace_free(trace_strid, (void*)__unknwnargname2, __file__, __line__ );
	return __O__;
}

__make GUIObject_SoftKeys_AddErrorStr
{
	if(isallocatedstrid(__unknwnargname3))trace_free(trace_strid, (void*)__unknwnargname3, __file__, __line__ );
	return __O__;
}

__make ProgressBar_SetText
{
	if(isallocatedstrid(text))trace_free(trace_strid, (void*)text, __file__, __line__ );
	return __O__;
}

__make StatusIndication_Item8_SetText
{
	if(isallocatedstrid(__unknwnargname1))trace_free(trace_strid, (void*)__unknwnargname1, __file__, __line__ );
	return __O__;
}

__make StatusIndication_SetItemText
{
	if(isallocatedstrid(__unknwnargname3))trace_free(trace_strid, (void*)__unknwnargname3, __file__, __line__ );
	return __O__;
}

__make StatusIndication_ShowNotes
{
	if(isallocatedstrid(__unknwnargname1))trace_free(trace_strid, (void*)__unknwnargname1, __file__, __line__ );
	return __O__;
}

__make StringInput_DispObject_SetText
{
	if(isallocatedstrid(__unknwnargname2))trace_free(trace_strid, (void*)__unknwnargname2, __file__, __line__ );
	return __O__;
}

__make GUIObject_SoftKeys_SetInfoText
{
	if(isallocatedstrid(__unknwnargname3))trace_free(trace_strid, (void*)__unknwnargname3, __file__, __line__ );
	return __O__;
}

__make ListMenu_SetItemSecondLineText
{
	if(isallocatedstrid(__unknwnargname3))trace_free(trace_strid, (void*)__unknwnargname3, __file__, __line__ );
	return __O__;
}

__make GUIonMessage_SubItem_SetText
{
	if(isallocatedstrid(__unknwnargname2))trace_free(trace_strid, (void*)__unknwnargname2, __file__, __line__ );
	return __O__;
}

__make Feedback_SetTextExtended
{
	if(isallocatedstrid(text))trace_free(trace_strid, (void*)text, __file__, __line__ );
	return __O__;
}

__make GUIObject_SoftKeys_SetTexts
{
	if(isallocatedstrid(short_text))trace_free(trace_strid, (void*)short_text, __file__, __line__ );
	if(isallocatedstrid(full_text))trace_free(trace_strid, (void*)full_text, __file__, __line__ );
	return __O__;
}

__make PNUM2Name
{
	__R ret = __O__;
	if(isallocatedstrid(ret))
		trace_alloc(trace_strid, (void*)ret, __file__, __line__);
	return ret;
}

__make Date2ID
{
	__R ret = __O__;
	if(isallocatedstrid(ret))
		trace_alloc(trace_strid, (void*)ret, __file__, __line__);
	return ret;
}

__make Time2ID
{
	__R ret = __O__;
	if(isallocatedstrid(ret))
		trace_alloc(trace_strid, (void*)ret, __file__, __line__);
	return ret;
}

__make KeyCode2Name
{
	__R ret = __O__;
	if(isallocatedstrid(ret))trace_alloc(trace_strid, (void*)ret, __file__, __line__);
	return ret;
}

__make NOfMany_SetTexts
{
	for(int i=0;i<items_count;i++)
		if(isallocatedstrid(strids[i]))trace_free(trace_strid, (void*)strids[i], __file__, __line__ );
	__O__;
}

__make OneOfMany_SetTexts
{
	for(int i=0;i<Count;i++)
		if(isallocatedstrid(strids[i]))trace_free(trace_strid, (void*)strids[i], __file__, __line__ );
	__O__;
}

__make Feedback_SetText
{
	if(isallocatedstrid(__unknwnargname2))trace_free(trace_strid, (void*)__unknwnargname2, __file__, __line__ );
	return __O__;
}

__make Gif2ID
{//проверить код ошибки
	__R ret = __O__;
	if(ret)trace_alloc(trace_iconid, (void*)*__unknwnargname4, __file__, __line__);
	return ret;
}

__make GUIObject_SetTitleIcon
{
	if(isallocatediconid(__unknwnargname2))trace_free(trace_iconid, (void*)__unknwnargname2, __file__, __line__ );
	__O__;
}

__make GUIInput_SetIcon
{
	if(isallocatediconid(__unknwnargname2))trace_free(trace_iconid, (void*)__unknwnargname2, __file__, __line__ );
	__O__;
}

__make ProgressBar_SetIcon
{
	if(isallocatediconid(__unknwnargname2))trace_free(trace_iconid, (void*)__unknwnargname2, __file__, __line__ );
	__O__;
}

__make GUIonMessage_SetMenuItemIcon
{
	if(isallocatediconid(__unknwnargname3))trace_free(trace_iconid, (void*)__unknwnargname3, __file__, __line__ );
	__O__;
}

__make TabMenuBar_SetTabIcon
{
	if(isallocatediconid(__unknwnargname3))trace_free(trace_iconid, (void*)__unknwnargname3, __file__, __line__ );
	__O__;
}

__make VCALL_SetNameIcon
{
	if(isallocatediconid(__unknwnargname2))trace_free(trace_iconid, (void*)__unknwnargname2, __file__, __line__ );
	__O__;
}

__make ModifyKeyHook
{
	__R ret = __O__;
	if(mode==KEY_HOOK_REMOVE)trace_free(trace_hook, (void*)proc, __file__, __line__ );
	if(mode==KEY_HOOK_ADD)trace_alloc(trace_hook, (void*)proc, __file__, __line__);
	return ret;
}

__make ModifyUIPageHook
{
	__R ret = __O__;
	if(mode==PAGE_HOOK_REMOVE)trace_free(trace_hook, (void*)proc, __file__, __line__ );
	if(mode==PAGE_HOOK_ADD_BEFORE || mode==PAGE_HOOK_ADD_AFTER)trace_alloc(trace_hook, (void*)proc, __file__, __line__);
	return ret;
}

__make ImageID_Get
{
	__R ret = __O__;
	if(ret>=0 && isallocatediconid(*__unknwnargname3))
		trace_alloc(trace_iconid, (void*)(*__unknwnargname3), __file__, __line__);
	return ret;
}

__make ImageID_GetIndirect
{//проверить возвращаемое значение
	__R ret = __O__;
	trace_free(trace_memory, buf_image, __file__, __line__);
	trace_alloc(trace_iconid, (void*)(*__unknwnargname5), __file__, __line__);
	return ret;
}

__make ImageID_Free
{
	if(isallocatediconid(__unknwnargname1))trace_free(trace_iconid, (void*)__unknwnargname1, __file__, __line__);
	__O__;
}

__make GC_CreateMemoryGC
{
	__R ret = __O__;
	if(ret)trace_alloc(trace_gc, (void*)ret, __file__, __line__);
	return ret;
}

__make GC_FreeGC
{
	trace_free(trace_gc, gc, __file__, __line__);
	__O__;
}

__make GVI_CreateDashedPen
{
	__R ret = __O__;
	if(ret)trace_alloc(trace_gvi, (void*)ret, __file__, __line__);
	return ret;
}

__make GVI_CreatePen
{
	__R ret = __O__;
	if(ret)trace_alloc(trace_gvi, (void*)ret, __file__, __line__);
	return ret;
}

__make GVI_CreateSolidBrush
{
	__R ret = __O__;
	if(ret)trace_alloc(trace_gvi, (void*)ret, __file__, __line__);
	return ret;
}

__make GVI_CreateBitmap
{
	__R ret = __O__;
	if(ret)trace_alloc(trace_gvi, (void*)ret, __file__, __line__);
	return ret;
}

__make GVI_CreateMemoryGC
{
	__R ret = __O__;
	if(ret)trace_alloc(trace_gvi, (void*)ret, __file__, __line__);
	return ret;
}

__make GVI_Delete_GVI_Object
{
	trace_free(trace_gvi, *__unknwnargname1, __file__, __line__);
	return __O__;
}

__make GVI_DeleteMemoryGC
{
	trace_free(trace_gvi, gc, __file__, __line__);
	return __O__;
}

__make TextFeedbackWindow
{
	__R ret = __O__;
	if(ret)trace_alloc(trace_gui, (void*)ret, __file__, __line__);
	return ret;
}

__make DataBrowserDesc_Create
{
	__R ret = __O__;
	if(ret)trace_alloc(trace_memory, (void*)ret, __file__, __line__);
	return ret;
}

__make DataBrowserDesc_Destroy
{
	trace_free(trace_memory, DataBrowserDesc, __file__, __line__);
	return __O__;
}

__make CreateMonitorFeedback
{
	__R ret = __O__;
	if(ret)trace_alloc(trace_gui, (void*)ret, __file__, __line__);
	return ret;
}

__make LoadDLL
{
	__R ret = __O__;
	if(ret)trace_alloc(trace_dll, (void*)ret, __file__, __line__);
	return ret;
}

__make UnLoadDLL
{
	trace_free(trace_dll, DllData, __file__, __line__);
	return __O__;
}

__make GUIObject_SetSecondRowTitleText
{
	if(isallocatedstrid(__unknwnargname2))trace_free(trace_strid, (void*)__unknwnargname2, __file__, __line__ );
	return __O__;
}

__make ListMenu_SetNoItemText
{
	if(isallocatedstrid(str))trace_free(trace_strid, (void*)str, __file__, __line__ );
	return __O__;
}

__make TabMenuBar_SetTabTitle
{
	if(isallocatedstrid(__unknwnargname3))trace_free(trace_strid, (void*)__unknwnargname3, __file__, __line__ );
	return __O__;
}

__make DispObject_SetBackgroundImage
{
	if(isallocatediconid(__unknwnargname2))trace_free(trace_iconid, (void*)__unknwnargname2, __file__, __line__ );
	__O__;
}

__make DispObject_SetCursorImage
{
	if(isallocatediconid(__unknwnargname2))trace_free(trace_iconid, (void*)__unknwnargname2, __file__, __line__ );
	__O__;
}

__make DispObject_SetTitleBackgroundImage
{
	if(isallocatediconid(__unknwnargname2))trace_free(trace_iconid, (void*)__unknwnargname2, __file__, __line__ );
	__O__;
}

__make GUIObject_SetBackgroundImage
{
	if(isallocatediconid(__unknwnargname2))trace_free(trace_iconid, (void*)__unknwnargname2, __file__, __line__ );
	__O__;
}

__make GUIObject_SetCursorImage
{
	if(isallocatediconid(__unknwnargname2))trace_free(trace_iconid, (void*)__unknwnargname2, __file__, __line__ );
	__O__;
}

__make GUIObject_SetTitleBackgroundImage
{
	if(isallocatediconid(__unknwnargname2))trace_free(trace_iconid, (void*)__unknwnargname2, __file__, __line__ );
	__O__;
}

__make Shortcut_Get_MenuItemName
{
	__R ret = __O__;
	trace_alloc(trace_strid, (void*)ret, __file__, __line__);
	return ret;
}

__make YesNoQuestion_SetIcon
{
	if(isallocatediconid(__unknwnargname2))trace_free(trace_iconid, (void*)__unknwnargname2, __file__, __line__ );
	__O__;
}

__make ListMenu_SetItemIcon
{
	//!!!unknown arg unk_FFFF
	if(isallocatediconid(__unknwnargname5))trace_free(trace_iconid, (void*)__unknwnargname5, __file__, __line__ );
	return __O__;
}

__make Shortcut_Get_MenuItemIconID
{
	__R ret = __O__;
	if(isallocatediconid(ret))trace_alloc(trace_iconid, (void*)ret, __file__, __line__);
	return ret;
}

__make create_process
{
	__R ret = __O__;
	trace_alloc(trace_process, (void*)ret, __file__, __line__);
	return ret;
}

__make kill_proc
{
	trace_free(trace_process, (void*)pid, __file__, __line__);
	return __O__;
}

__make MediaPlayer_SoftKeys_AddHelpStr
{
	if(isallocatedstrid(__unknwnargname3))trace_free(trace_strid, (void*)__unknwnargname3, __file__, __line__ );
	__O__;
}

__make MediaPlayer_SoftKeys_SetText
{
	if(isallocatedstrid(__unknwnargname3))trace_free(trace_strid, (void*)__unknwnargname3, __file__, __line__ );
	__O__;
}

__make MenuBook_Desktop_GetSelectedItemID
{
	__R ret = __O__;
	if(ret)trace_alloc(trace_memory, (void*)ret, __file__, __line__);
	return ret;
}

__make CreateURI
{
	__R ret = __O__;
	if(ret)trace_alloc(trace_memory, (void*)ret, __file__, __line__);
	return ret;
}

__make Timer_Kill
{
	trace_free(trace_timer, (void*)*timerID, __file__, __line__);
	trace_timerkill(timerID);
}

__make Timer_Set
{
	__R ret = trace_timerset(time,(void(*)(u16,LPARAM))onTimer,(LPARAM)lparam);
	if(ret)trace_alloc(trace_timer, (void*)ret, __file__, __line__);
	return ret;
}

__make Timer_ReSet
{
	trace_free(trace_timer, (void*)*timer, __file__, __line__);
	trace_timerkill(timer);

	u16 ret = trace_timerset(time,(void(*)(u16,LPARAM))onTimer,(LPARAM)lparam);
	if(ret)trace_alloc(trace_timer, (void*)ret, __file__, __line__);
	*timer=ret;
}

__make alloc
{
	__R ret = __O__;
	if(ret)trace_alloc(trace_osebuff, ret, __file__, __line__);
	return ret;
}

__make receive
{
	__R ret = __O__;
	if(ret)trace_alloc(trace_osebuff, ret, __file__, __line__);
	return ret;
}

__make receive_w_tmo
{
	__R ret = __O__;
	if(ret)trace_alloc(trace_osebuff, ret, __file__, __line__);
	return ret;
}

__make free_buf
{
	trace_free(trace_osebuff, *sig, __file__, __line__);
	__O__;
}

__make send
{
	trace_free(trace_osebuff, *sig, __file__, __line__);
	__O__;
}

__make hunt
{
	if(hunt_sig)
		trace_free(trace_osebuff, *hunt_sig, __file__, __line__);
	return __O__;
}

__make JavaApp_LogoImageID_Get
{
	__R ret = __O__;
	if(ret>=0 && isallocatediconid(*__unknwnargname2))
		trace_alloc(trace_iconid, (void*)(*__unknwnargname2), __file__, __line__);
	return ret;
}

__make ObexSendFile
{
	if(isallocatedstrid(__unknwnargname1->send))trace_free(trace_strid, (void*)__unknwnargname1->send, __file__, __line__ );
	if(isallocatedstrid(__unknwnargname1->sent))trace_free(trace_strid, (void*)__unknwnargname1->sent, __file__, __line__ );
	__O__;
}

__make JavaSession_GetName
{
	__R ret = __O__;
	if(isallocatedstrid(ret))
		trace_alloc(trace_strid, (void*)ret, __file__, __line__);
	return ret;
}

__make MetaData_Desc_Create
{
	__R ret = __O__;
	if(ret)trace_alloc(trace_metadatadesc, ret, __file__, __line__);
	return ret;
}

__make MetaData_Desc_Destroy
{
	trace_free(trace_metadatadesc, MetaData_Desc, __file__, __line__);
	__O__;
}

__make FILEITEM_Create
{
	__R ret = __O__;
	if(ret)trace_alloc(trace_fileitemstruct, ret, __file__, __line__);
	return ret;
}

__make FILEITEM_CreateCopy
{
	__R ret = __O__;
	if(ret)trace_alloc(trace_fileitemstruct, ret, __file__, __line__);
	return ret;
}

__make FILEITEM_Destroy
{
	trace_free(trace_fileitemstruct, __unknwnargname1, __file__, __line__);
	__O__;
}

__make w_dirclose
{
	trace_free(trace_w_dir, __unknwnargname1, __file__, __line__);
	return __O__;
}

__make w_diropen
{
	__R ret = __O__;
	if(ret)trace_alloc(trace_w_dir, ret, __file__, __line__);
	return ret;
}

__make SoundRecorderDesc_Create
{
	__R ret = __O__;
	if(ret)trace_alloc(trace_memory, ret, __file__, __line__);
	return ret;
}

__make SoundRecorderDesc_Destroy
{
	trace_free(trace_memory, desc, __file__, __line__);
	__O__;
}

__make AB_NAME_ITEM2TextID
{
	__R ret = __O__;
	if(isallocatedstrid(ret))
		trace_alloc(trace_strid, (void*)ret, __file__, __line__);
	return ret;
}

__make AB_NUM_ITEM2TextID
{
	__R ret = __O__;
	if(isallocatedstrid(ret))
		trace_alloc(trace_strid, (void*)ret, __file__, __line__);
	return ret;
}
