;Imports of ui_shared_obj:
	extern _Z18PC_ReadTokenHandleiP10pc_token_s
	extern _Z12String_AllocPKc
	extern _Z18FS_FOpenFileByModePKcPi8fsMode_t
	extern _Z7FS_ReadPvii
	extern _Z13FS_FCloseFilei
	extern _Z14Com_PrintErroriPKcz
	extern _Z21Window_SetStaticFlagsP11windowDef_ti
	extern _Z18Item_GetListBoxDefP9itemDef_s
	extern _Z17PC_ReadLineHandleiP10pc_token_s
	extern _Z9I_stricmpPKcS0_
	extern _Z22Window_SetDynamicFlagsiP11windowDef_ti
	extern Z_MallocInternal
	extern _Z16parse_expressioniP11statement_si
	extern atoi
	extern _Z10I_strncpyzPcPKci
	extern _Z8I_strlwrPc
	extern _Z23Material_RegisterHandlePKci
	extern _Z19Item_IsEditFieldDefP9itemDef_s
	extern _Z20Item_GetEditFieldDefP9itemDef_s
	extern _Z18Com_FindSoundAliasPKc
	extern _Z16Item_GetMultiDefP9itemDef_s
	extern _Z8UI_Allocii
	extern memset
	extern tolower
	extern _Z15free_expressionP11statement_s
	extern vsnprintf
	extern _Z20PC_SourceFileAndLineiPcPi
	extern _Z21Eval_OperatorForTokenPKcP16EvalOperatorType
	extern _Z17Eval_PushOperatorP4Eval16EvalOperatorType
	extern _Z16Eval_PushIntegerP4Evali
	extern _Z23Eval_AnyMissingOperandsPK4Eval
	extern _Z10Eval_SolveP4Eval
	extern _Z2vaPKcz
	extern _Z9I_strncatPciPKc
	extern _Z19DB_FindXAssetHeader10XAssetTypePKc
	extern _Z12Com_CompressPc
	extern _Z21Com_BeginParseSessionPKc
	extern _Z9Com_ParsePPKc
	extern _Z19Com_EndParseSessionv
	extern _Z10Com_PrintfiPKcz
	extern _Z9Com_Error11errorParm_tPKcz
	extern _Z16Com_PrintWarningiPKcz
	extern _Z15Eval_PushNumberP4Evald
	extern _Z19PC_LoadSourceHandlePKcPS0_
	extern memcpy
	extern _Z19Menu_UpdatePositioniP9menuDef_t
	extern _Z19PC_FreeSourceHandlei
	extern _Z18Menu_SetCursorItemiP9menuDef_ti
	extern useFastFile
	extern FS_ReadFile
	extern _Z10Com_SetCSVi
	extern _Z15Com_ParseOnLinePPKc
	extern _Z11Com_sprintfPciPKcz
	extern _Z18Material_DuplicateP8MaterialPKc
	extern FS_FreeFile

;Exports of ui_shared_obj:
	global menuBuf
	global menuParseKeywordHash
	global itemParseKeywordHash
	global itemParseKeywords
	global _Z14ItemParse_nameP9itemDef_si
	global _Z14ItemParse_textP9itemDef_si
	global _Z18ItemParse_textfileP9itemDef_si
	global _Z22ItemParse_textsavegameP9itemDef_si
	global _Z31ItemParse_textcinematicsubtitleP9itemDef_si
	global _Z15ItemParse_groupP9itemDef_si
	global _Z14ItemParse_rectP9itemDef_si
	global _Z16ItemParse_originP9itemDef_si
	global _Z15ItemParse_styleP9itemDef_si
	global _Z20ItemParse_decorationP9itemDef_si
	global _Z23ItemParse_notselectableP9itemDef_si
	global _Z22ItemParse_noScrollBarsP9itemDef_si
	global _Z19ItemParse_usePagingP9itemDef_si
	global _Z21ItemParse_autowrappedP9itemDef_si
	global _Z26ItemParse_horizontalscrollP9itemDef_si
	global _Z14ItemParse_typeP9itemDef_si
	global _Z22ItemParse_elementwidthP9itemDef_si
	global _Z23ItemParse_elementheightP9itemDef_si
	global _Z16ItemParse_feederP9itemDef_si
	global _Z21ItemParse_elementtypeP9itemDef_si
	global _Z17ItemParse_columnsP9itemDef_si
	global _Z16ItemParse_borderP9itemDef_si
	global _Z20ItemParse_bordersizeP9itemDef_si
	global _Z17ItemParse_visibleP9itemDef_si
	global _Z19ItemParse_ownerdrawP9itemDef_si
	global _Z15ItemParse_alignP9itemDef_si
	global _Z19ItemParse_textalignP9itemDef_si
	global _Z20ItemParse_textalignxP9itemDef_si
	global _Z20ItemParse_textalignyP9itemDef_si
	global _Z19ItemParse_textscaleP9itemDef_si
	global _Z19ItemParse_textstyleP9itemDef_si
	global _Z18ItemParse_textfontP9itemDef_si
	global _Z19ItemParse_backcolorP9itemDef_si
	global _Z19ItemParse_forecolorP9itemDef_si
	global _Z21ItemParse_bordercolorP9itemDef_si
	global _Z22ItemParse_outlinecolorP9itemDef_si
	global _Z20ItemParse_backgroundP9itemDef_si
	global _Z17ItemParse_onFocusP9itemDef_si
	global _Z20ItemParse_leaveFocusP9itemDef_si
	global _Z20ItemParse_mouseEnterP9itemDef_si
	global _Z19ItemParse_mouseExitP9itemDef_si
	global _Z24ItemParse_mouseEnterTextP9itemDef_si
	global _Z23ItemParse_mouseExitTextP9itemDef_si
	global _Z16ItemParse_actionP9itemDef_si
	global _Z16ItemParse_acceptP9itemDef_si
	global _Z17ItemParse_specialP9itemDef_si
	global _Z14ItemParse_dvarP9itemDef_si
	global _Z18ItemParse_maxCharsP9itemDef_si
	global _Z27Item_Parse_maxCharsGotoNextP9itemDef_si
	global _Z23ItemParse_maxPaintCharsP9itemDef_si
	global _Z20ItemParse_focusSoundP9itemDef_si
	global _Z19ItemParse_dvarFloatP9itemDef_si
	global _Z21ItemParse_dvarStrListP9itemDef_si
	global _Z23ItemParse_dvarFloatListP9itemDef_si
	global _Z22ItemParse_dvarEnumListP9itemDef_si
	global _Z23ItemParse_ownerdrawFlagP9itemDef_si
	global _Z20ItemParse_enableDvarP9itemDef_si
	global _Z18ItemParse_dvarTestP9itemDef_si
	global _Z21ItemParse_disableDvarP9itemDef_si
	global _Z18ItemParse_showDvarP9itemDef_si
	global _Z18ItemParse_hideDvarP9itemDef_si
	global _Z19ItemParse_focusDvarP9itemDef_si
	global _Z21ItemParse_doubleClickP9itemDef_si
	global _Z17ItemParse_execKeyP9itemDef_si
	global _Z20ItemParse_execKeyIntP9itemDef_si
	global _Z17ItemParse_execExpP9itemDef_si
	global _Z28ItemParse_gameMsgWindowIndexP9itemDef_si
	global _Z27ItemParse_gameMsgWindowModeP9itemDef_si
	global _Z22ItemParse_selectBorderP9itemDef_si
	global _Z22ItemParse_disableColorP9itemDef_si
	global _Z20ItemParse_selectIconP9itemDef_si
	global menuBuf1
	global menuParseKeywords
	global _Z14MenuParse_nameP9menuDef_ti
	global _Z20MenuParse_fullscreenP9menuDef_ti
	global _Z14MenuParse_rectP9menuDef_ti
	global _Z15MenuParse_styleP9menuDef_ti
	global _Z17MenuParse_visibleP9menuDef_ti
	global _Z16MenuParse_onOpenP9menuDef_ti
	global _Z17MenuParse_onCloseP9menuDef_ti
	global _Z15MenuParse_onESCP9menuDef_ti
	global _Z16MenuParse_borderP9menuDef_ti
	global _Z20MenuParse_borderSizeP9menuDef_ti
	global _Z19MenuParse_backcolorP9menuDef_ti
	global _Z19MenuParse_forecolorP9menuDef_ti
	global _Z21MenuParse_bordercolorP9menuDef_ti
	global _Z20MenuParse_focuscolorP9menuDef_ti
	global _Z22MenuParse_disablecolorP9menuDef_ti
	global _Z22MenuParse_outlinecolorP9menuDef_ti
	global _Z20MenuParse_backgroundP9menuDef_ti
	global _Z19MenuParse_ownerdrawP9menuDef_ti
	global _Z23MenuParse_ownerdrawFlagP9menuDef_ti
	global _Z21MenuParse_outOfBoundsP9menuDef_ti
	global _Z19MenuParse_soundLoopP9menuDef_ti
	global _Z17MenuParse_itemDefP9menuDef_ti
	global _Z17MenuParse_execExpP9menuDef_ti
	global _Z15MenuParse_popupP9menuDef_ti
	global _Z19MenuParse_fadeClampP9menuDef_ti
	global _Z19MenuParse_fadeCycleP9menuDef_ti
	global _Z20MenuParse_fadeAmountP9menuDef_ti
	global _Z22MenuParse_fadeInAmountP9menuDef_ti
	global _Z17MenuParse_execKeyP9menuDef_ti
	global _Z20MenuParse_execKeyIntP9menuDef_ti
	global _Z19MenuParse_blurWorldP9menuDef_ti
	global _Z32MenuParse_legacySplitScreenScaleP9menuDef_ti
	global _Z27MenuParse_hiddenDuringScopeP9menuDef_ti
	global _Z31MenuParse_hiddenDuringFlashbangP9menuDef_ti
	global _Z24MenuParse_hiddenDuringUIP9menuDef_ti
	global _Z24MenuParse_allowedBindingP9menuDef_ti
	global _Z19Menu_FreeItemMemoryP9itemDef_s
	global _ZZ14PC_SourceErroriPczE6string
	global _Z14PC_SourceErroriPcz
	global _Z23PC_Int_Expression_ParseiPi
	global _Z15PC_Script_ParseiPPKc
	global _Z21Item_ValidateTypeDataP9itemDef_si
	global _Z20UI_LoadMenu_FastFilePKci
	global _Z21UI_LoadMenus_FastFilePKci
	global _Z20UI_LoadMenus_LoadObjPKci
	global _Z19UI_LoadMenu_LoadObjPKci
	global _Z25PC_Float_Expression_ParseiPf
	global _Z13PC_Rect_ParseiP9rectDef_s
	global _Z20UI_ParseMenuInternalPKci
	global _Z11UI_LoadMenuPKci
	global _Z12UI_LoadMenusPKci
	global _Z14UI_MapLoadInfoPKc
	global _Z19Menus_FreeAllMemoryP9UiContext
	global _Z21Item_SetupKeywordHashv
	global _Z21Menu_SetupKeywordHashv


SECTION .text


;ItemParse_name(itemDef_s*, int)
_Z14ItemParse_nameP9itemDef_si:
	push ebp
	mov ebp, esp
	sub esp, 0x428
	lea eax, [ebp-0x418]
	mov [esp+0x4], eax
	mov eax, [ebp+0xc]
	mov [esp], eax
	call _Z18PC_ReadTokenHandleiP10pc_token_s
	test eax, eax
	jnz _Z14ItemParse_nameP9itemDef_si_10
	leave
	ret
_Z14ItemParse_nameP9itemDef_si_10:
	lea eax, [ebp-0x408]
	mov [esp], eax
	call _Z12String_AllocPKc
	mov edx, [ebp+0x8]
	mov [edx], eax
	mov eax, 0x1
	leave
	ret


;ItemParse_text(itemDef_s*, int)
_Z14ItemParse_textP9itemDef_si:
	push ebp
	mov ebp, esp
	sub esp, 0x428
	lea eax, [ebp-0x418]
	mov [esp+0x4], eax
	mov eax, [ebp+0xc]
	mov [esp], eax
	call _Z18PC_ReadTokenHandleiP10pc_token_s
	test eax, eax
	jnz _Z14ItemParse_textP9itemDef_si_10
	leave
	ret
_Z14ItemParse_textP9itemDef_si_10:
	lea eax, [ebp-0x408]
	mov [esp], eax
	call _Z12String_AllocPKc
	mov edx, [ebp+0x8]
	mov [edx+0xe0], eax
	mov eax, 0x1
	leave
	ret


;ItemParse_textfile(itemDef_s*, int)
_Z18ItemParse_textfileP9itemDef_si:
	push ebp
	mov ebp, esp
	push esi
	push ebx
	sub esp, 0x430
	lea eax, [ebp-0x41c]
	mov [esp+0x4], eax
	mov eax, [ebp+0xc]
	mov [esp], eax
	call _Z18PC_ReadTokenHandleiP10pc_token_s
	test eax, eax
	jnz _Z18ItemParse_textfileP9itemDef_si_10
	add esp, 0x430
	pop ebx
	pop esi
	pop ebp
	ret
_Z18ItemParse_textfileP9itemDef_si_10:
	mov dword [esp+0x8], 0x0
	lea eax, [ebp-0xc]
	mov [esp+0x4], eax
	lea esi, [ebp-0x40c]
	mov [esp], esi
	call _Z18FS_FOpenFileByModePKcPi8fsMode_t
	mov ebx, eax
	mov edx, [ebp-0xc]
	test edx, edx
	jz _Z18ItemParse_textfileP9itemDef_si_20
	cmp eax, 0xfff
	ja _Z18ItemParse_textfileP9itemDef_si_30
	mov eax, 0x1000
	cmp ebx, 0x1000
	cmovl eax, ebx
	mov [esp+0x8], edx
	mov [esp+0x4], eax
	mov dword [esp], menuBuf1
	call _Z7FS_ReadPvii
	mov byte [ebx+menuBuf1], 0x0
	mov eax, [ebp-0xc]
	mov [esp], eax
	call _Z13FS_FCloseFilei
	mov eax, menuBuf1
	jmp _Z18ItemParse_textfileP9itemDef_si_40
_Z18ItemParse_textfileP9itemDef_si_30:
	mov [esp], edx
	call _Z13FS_FCloseFilei
	mov dword [esp+0xc], 0x1000
	mov [esp+0x8], esi
	mov dword [esp+0x4], _cstring_menu_file_s_is_l
	mov dword [esp], 0x10
	call _Z14Com_PrintErroriPKcz
_Z18ItemParse_textfileP9itemDef_si_20:
	xor eax, eax
_Z18ItemParse_textfileP9itemDef_si_40:
	mov [esp], eax
	call _Z12String_AllocPKc
	mov edx, [ebp+0x8]
	mov [edx+0xe0], eax
	mov eax, 0x1
	add esp, 0x430
	pop ebx
	pop esi
	pop ebp
	ret


;ItemParse_textsavegame(itemDef_s*, int)
_Z22ItemParse_textsavegameP9itemDef_si:
	push ebp
	mov ebp, esp
	mov eax, [ebp+0x8]
	mov dword [eax+0xe0], _cstring_savegameinfo
	or dword [eax+0xe4], 0x1
	mov eax, 0x1
	pop ebp
	ret


;ItemParse_textcinematicsubtitle(itemDef_s*, int)
_Z31ItemParse_textcinematicsubtitleP9itemDef_si:
	push ebp
	mov ebp, esp
	mov eax, [ebp+0x8]
	mov dword [eax+0xe0], _cstring_cinematicsubtitl
	or dword [eax+0xe4], 0x2
	mov eax, 0x1
	pop ebp
	ret


;ItemParse_group(itemDef_s*, int)
_Z15ItemParse_groupP9itemDef_si:
	push ebp
	mov ebp, esp
	sub esp, 0x428
	lea eax, [ebp-0x418]
	mov [esp+0x4], eax
	mov eax, [ebp+0xc]
	mov [esp], eax
	call _Z18PC_ReadTokenHandleiP10pc_token_s
	test eax, eax
	jnz _Z15ItemParse_groupP9itemDef_si_10
	leave
	ret
_Z15ItemParse_groupP9itemDef_si_10:
	lea eax, [ebp-0x408]
	mov [esp], eax
	call _Z12String_AllocPKc
	mov edx, [ebp+0x8]
	mov [edx+0x34], eax
	mov eax, 0x1
	leave
	ret
	nop


;ItemParse_rect(itemDef_s*, int)
_Z14ItemParse_rectP9itemDef_si:
	push ebp
	mov ebp, esp
	mov eax, [ebp+0xc]
	mov edx, [ebp+0x8]
	add edx, 0x1c
	pop ebp
	jmp _Z13PC_Rect_ParseiP9rectDef_s


;ItemParse_origin(itemDef_s*, int)
_Z16ItemParse_originP9itemDef_si:
	push ebp
	mov ebp, esp
	push esi
	push ebx
	sub esp, 0x430
	mov ebx, [ebp+0xc]
	lea esi, [ebp-0x420]
	mov [esp+0x4], esi
	mov [esp], ebx
	call _Z18PC_ReadTokenHandleiP10pc_token_s
	test eax, eax
	jz _Z16ItemParse_originP9itemDef_si_10
	movzx eax, byte [ebp-0x410]
	cmp al, 0x28
	jz _Z16ItemParse_originP9itemDef_si_20
	cmp al, 0x2d
	jz _Z16ItemParse_originP9itemDef_si_30
	xor edx, edx
_Z16ItemParse_originP9itemDef_si_120:
	cmp dword [ebp-0x420], 0x3
	jz _Z16ItemParse_originP9itemDef_si_40
_Z16ItemParse_originP9itemDef_si_80:
	lea eax, [ebp-0x410]
	mov [esp+0x8], eax
	mov dword [esp+0x4], _cstring_expected_integer
	mov [esp], ebx
	call _Z14PC_SourceErroriPcz
	xor eax, eax
	add esp, 0x430
	pop ebx
	pop esi
	pop ebp
	ret
_Z16ItemParse_originP9itemDef_si_30:
	mov [esp+0x4], esi
	mov [esp], ebx
	call _Z18PC_ReadTokenHandleiP10pc_token_s
	test eax, eax
	jnz _Z16ItemParse_originP9itemDef_si_50
_Z16ItemParse_originP9itemDef_si_10:
	xor eax, eax
_Z16ItemParse_originP9itemDef_si_100:
	add esp, 0x430
	pop ebx
	pop esi
	pop ebp
	ret
_Z16ItemParse_originP9itemDef_si_20:
	lea edx, [ebp-0xc]
	mov eax, ebx
	call _Z23PC_Int_Expression_ParseiPi
	test eax, eax
	jz _Z16ItemParse_originP9itemDef_si_10
_Z16ItemParse_originP9itemDef_si_110:
	mov [esp+0x4], esi
	mov [esp], ebx
	call _Z18PC_ReadTokenHandleiP10pc_token_s
	test eax, eax
	jz _Z16ItemParse_originP9itemDef_si_10
	movzx eax, byte [ebp-0x410]
	cmp al, 0x28
	jz _Z16ItemParse_originP9itemDef_si_60
	cmp al, 0x2d
	jz _Z16ItemParse_originP9itemDef_si_70
	xor edx, edx
_Z16ItemParse_originP9itemDef_si_140:
	cmp dword [ebp-0x420], 0x3
	jnz _Z16ItemParse_originP9itemDef_si_80
	mov eax, [ebp-0x418]
	mov [ebp-0x10], eax
	test edx, edx
	jnz _Z16ItemParse_originP9itemDef_si_90
_Z16ItemParse_originP9itemDef_si_130:
	cvtsi2ss xmm0, dword [ebp-0xc]
	mov eax, [ebp+0x8]
	addss xmm0, [eax+0x1c]
	movss [eax+0x1c], xmm0
	cvtsi2ss xmm0, dword [ebp-0x10]
	addss xmm0, [eax+0x20]
	movss [eax+0x20], xmm0
	mov eax, 0x1
	jmp _Z16ItemParse_originP9itemDef_si_100
_Z16ItemParse_originP9itemDef_si_40:
	mov eax, [ebp-0x418]
	mov [ebp-0xc], eax
	test edx, edx
	jz _Z16ItemParse_originP9itemDef_si_110
	neg eax
	mov [ebp-0xc], eax
	jmp _Z16ItemParse_originP9itemDef_si_110
_Z16ItemParse_originP9itemDef_si_50:
	mov edx, 0x1
	jmp _Z16ItemParse_originP9itemDef_si_120
_Z16ItemParse_originP9itemDef_si_90:
	neg eax
	mov [ebp-0x10], eax
	jmp _Z16ItemParse_originP9itemDef_si_130
_Z16ItemParse_originP9itemDef_si_60:
	lea edx, [ebp-0x10]
	mov eax, ebx
	call _Z23PC_Int_Expression_ParseiPi
	test eax, eax
	jnz _Z16ItemParse_originP9itemDef_si_130
	jmp _Z16ItemParse_originP9itemDef_si_10
_Z16ItemParse_originP9itemDef_si_70:
	mov [esp+0x4], esi
	mov [esp], ebx
	call _Z18PC_ReadTokenHandleiP10pc_token_s
	test eax, eax
	jz _Z16ItemParse_originP9itemDef_si_10
	mov edx, 0x1
	jmp _Z16ItemParse_originP9itemDef_si_140
	nop


;ItemParse_style(itemDef_s*, int)
_Z15ItemParse_styleP9itemDef_si:
	push ebp
	mov ebp, esp
	push edi
	push esi
	push ebx
	sub esp, 0x42c
	mov ebx, [ebp+0xc]
	mov esi, [ebp+0x8]
	add esi, 0x38
	lea edi, [ebp-0x428]
	mov [esp+0x4], edi
	mov [esp], ebx
	call _Z18PC_ReadTokenHandleiP10pc_token_s
	test eax, eax
	jz _Z15ItemParse_styleP9itemDef_si_10
	movzx eax, byte [ebp-0x418]
	cmp al, 0x28
	jz _Z15ItemParse_styleP9itemDef_si_20
	cmp al, 0x2d
	jz _Z15ItemParse_styleP9itemDef_si_30
	xor edx, edx
_Z15ItemParse_styleP9itemDef_si_60:
	cmp dword [ebp-0x428], 0x3
	jz _Z15ItemParse_styleP9itemDef_si_40
	lea eax, [ebp-0x418]
	mov [esp+0x8], eax
	mov dword [esp+0x4], _cstring_expected_integer
	mov [esp], ebx
	call _Z14PC_SourceErroriPcz
	xor eax, eax
_Z15ItemParse_styleP9itemDef_si_70:
	add esp, 0x42c
	pop ebx
	pop esi
	pop edi
	pop ebp
	ret
_Z15ItemParse_styleP9itemDef_si_10:
	xor eax, eax
	add esp, 0x42c
	pop ebx
	pop esi
	pop edi
	pop ebp
	ret
_Z15ItemParse_styleP9itemDef_si_40:
	mov eax, [ebp-0x420]
	mov [esi], eax
	test edx, edx
	jz _Z15ItemParse_styleP9itemDef_si_50
	neg eax
	mov [esi], eax
_Z15ItemParse_styleP9itemDef_si_50:
	mov eax, 0x1
	add esp, 0x42c
	pop ebx
	pop esi
	pop edi
	pop ebp
	ret
_Z15ItemParse_styleP9itemDef_si_30:
	mov [esp+0x4], edi
	mov [esp], ebx
	call _Z18PC_ReadTokenHandleiP10pc_token_s
	test eax, eax
	jz _Z15ItemParse_styleP9itemDef_si_10
	mov edx, 0x1
	jmp _Z15ItemParse_styleP9itemDef_si_60
_Z15ItemParse_styleP9itemDef_si_20:
	mov edx, esi
	mov eax, ebx
	call _Z23PC_Int_Expression_ParseiPi
	jmp _Z15ItemParse_styleP9itemDef_si_70
	nop


;ItemParse_decoration(itemDef_s*, int)
_Z20ItemParse_decorationP9itemDef_si:
	push ebp
	mov ebp, esp
	sub esp, 0x18
	mov edx, [ebp+0x8]
	mov eax, [edx+0x4c]
	or eax, 0x100000
	mov [esp+0x4], eax
	mov [esp], edx
	call _Z21Window_SetStaticFlagsP11windowDef_ti
	mov eax, 0x1
	leave
	ret


;ItemParse_notselectable(itemDef_s*, int)
_Z23ItemParse_notselectableP9itemDef_si:
	push ebp
	mov ebp, esp
	push ebx
	sub esp, 0x14
	mov ebx, [ebp+0x8]
	mov edx, [ebp+0xc]
	mov eax, ebx
	call _Z21Item_ValidateTypeDataP9itemDef_si
	mov [esp], ebx
	call _Z18Item_GetListBoxDefP9itemDef_s
	test eax, eax
	jz _Z23ItemParse_notselectableP9itemDef_si_10
	cmp dword [ebx+0xb4], 0x6
	jz _Z23ItemParse_notselectableP9itemDef_si_20
_Z23ItemParse_notselectableP9itemDef_si_30:
	mov eax, 0x1
_Z23ItemParse_notselectableP9itemDef_si_10:
	add esp, 0x14
	pop ebx
	pop ebp
	ret
_Z23ItemParse_notselectableP9itemDef_si_20:
	mov dword [eax+0x124], 0x1
	jmp _Z23ItemParse_notselectableP9itemDef_si_30


;ItemParse_noScrollBars(itemDef_s*, int)
_Z22ItemParse_noScrollBarsP9itemDef_si:
	push ebp
	mov ebp, esp
	push ebx
	sub esp, 0x14
	mov ebx, [ebp+0x8]
	mov edx, [ebp+0xc]
	mov eax, ebx
	call _Z21Item_ValidateTypeDataP9itemDef_si
	mov [esp], ebx
	call _Z18Item_GetListBoxDefP9itemDef_s
	test eax, eax
	jz _Z22ItemParse_noScrollBarsP9itemDef_si_10
	cmp dword [ebx+0xb4], 0x6
	jz _Z22ItemParse_noScrollBarsP9itemDef_si_20
_Z22ItemParse_noScrollBarsP9itemDef_si_30:
	mov eax, 0x1
_Z22ItemParse_noScrollBarsP9itemDef_si_10:
	add esp, 0x14
	pop ebx
	pop ebp
	ret
_Z22ItemParse_noScrollBarsP9itemDef_si_20:
	mov dword [eax+0x128], 0x1
	jmp _Z22ItemParse_noScrollBarsP9itemDef_si_30


;ItemParse_usePaging(itemDef_s*, int)
_Z19ItemParse_usePagingP9itemDef_si:
	push ebp
	mov ebp, esp
	push ebx
	sub esp, 0x14
	mov ebx, [ebp+0x8]
	mov edx, [ebp+0xc]
	mov eax, ebx
	call _Z21Item_ValidateTypeDataP9itemDef_si
	mov [esp], ebx
	call _Z18Item_GetListBoxDefP9itemDef_s
	test eax, eax
	jz _Z19ItemParse_usePagingP9itemDef_si_10
	cmp dword [ebx+0xb4], 0x6
	jz _Z19ItemParse_usePagingP9itemDef_si_20
_Z19ItemParse_usePagingP9itemDef_si_30:
	mov eax, 0x1
_Z19ItemParse_usePagingP9itemDef_si_10:
	add esp, 0x14
	pop ebx
	pop ebp
	ret
_Z19ItemParse_usePagingP9itemDef_si_20:
	mov dword [eax+0x12c], 0x1
	jmp _Z19ItemParse_usePagingP9itemDef_si_30


;ItemParse_autowrapped(itemDef_s*, int)
_Z21ItemParse_autowrappedP9itemDef_si:
	push ebp
	mov ebp, esp
	sub esp, 0x18
	mov edx, [ebp+0x8]
	mov eax, [edx+0x4c]
	or eax, 0x800000
	mov [esp+0x4], eax
	mov [esp], edx
	call _Z21Window_SetStaticFlagsP11windowDef_ti
	mov eax, 0x1
	leave
	ret


;ItemParse_horizontalscroll(itemDef_s*, int)
_Z26ItemParse_horizontalscrollP9itemDef_si:
	push ebp
	mov ebp, esp
	sub esp, 0x18
	mov edx, [ebp+0x8]
	mov eax, [edx+0x4c]
	or eax, 0x200000
	mov [esp+0x4], eax
	mov [esp], edx
	call _Z21Window_SetStaticFlagsP11windowDef_ti
	mov eax, 0x1
	leave
	ret


;ItemParse_type(itemDef_s*, int)
_Z14ItemParse_typeP9itemDef_si:
	push ebp
	mov ebp, esp
	push edi
	push esi
	push ebx
	sub esp, 0x42c
	mov ebx, [ebp+0xc]
	mov esi, [ebp+0x8]
	add esi, 0xb4
	lea edi, [ebp-0x428]
	mov [esp+0x4], edi
	mov [esp], ebx
	call _Z18PC_ReadTokenHandleiP10pc_token_s
	test eax, eax
	jz _Z14ItemParse_typeP9itemDef_si_10
	movzx eax, byte [ebp-0x418]
	cmp al, 0x28
	jz _Z14ItemParse_typeP9itemDef_si_20
	cmp al, 0x2d
	jz _Z14ItemParse_typeP9itemDef_si_30
	xor edx, edx
_Z14ItemParse_typeP9itemDef_si_70:
	cmp dword [ebp-0x428], 0x3
	jz _Z14ItemParse_typeP9itemDef_si_40
	lea eax, [ebp-0x418]
	mov [esp+0x8], eax
	mov dword [esp+0x4], _cstring_expected_integer
	mov [esp], ebx
	call _Z14PC_SourceErroriPcz
	xor eax, eax
	add esp, 0x42c
	pop ebx
	pop esi
	pop edi
	pop ebp
	ret
_Z14ItemParse_typeP9itemDef_si_30:
	mov [esp+0x4], edi
	mov [esp], ebx
	call _Z18PC_ReadTokenHandleiP10pc_token_s
	test eax, eax
	jnz _Z14ItemParse_typeP9itemDef_si_50
_Z14ItemParse_typeP9itemDef_si_10:
	xor eax, eax
	add esp, 0x42c
	pop ebx
	pop esi
	pop edi
	pop ebp
	ret
_Z14ItemParse_typeP9itemDef_si_20:
	mov edx, esi
	mov eax, ebx
	call _Z23PC_Int_Expression_ParseiPi
	test eax, eax
	jz _Z14ItemParse_typeP9itemDef_si_10
_Z14ItemParse_typeP9itemDef_si_60:
	mov edx, ebx
	mov eax, [ebp+0x8]
	call _Z21Item_ValidateTypeDataP9itemDef_si
	mov eax, 0x1
	add esp, 0x42c
	pop ebx
	pop esi
	pop edi
	pop ebp
	ret
_Z14ItemParse_typeP9itemDef_si_40:
	mov eax, [ebp-0x420]
	mov [esi], eax
	test edx, edx
	jz _Z14ItemParse_typeP9itemDef_si_60
	neg eax
	mov [esi], eax
	jmp _Z14ItemParse_typeP9itemDef_si_60
_Z14ItemParse_typeP9itemDef_si_50:
	mov edx, 0x1
	jmp _Z14ItemParse_typeP9itemDef_si_70
	nop


;ItemParse_elementwidth(itemDef_s*, int)
_Z22ItemParse_elementwidthP9itemDef_si:
	push ebp
	mov ebp, esp
	push edi
	push esi
	push ebx
	sub esp, 0x42c
	mov ebx, [ebp+0x8]
	mov esi, [ebp+0xc]
	mov edx, esi
	mov eax, ebx
	call _Z21Item_ValidateTypeDataP9itemDef_si
	mov [esp], ebx
	call _Z18Item_GetListBoxDefP9itemDef_s
	test eax, eax
	jz _Z22ItemParse_elementwidthP9itemDef_si_10
	lea edi, [eax+0x10]
	lea ebx, [ebp-0x428]
	mov [esp+0x4], ebx
	mov [esp], esi
	call _Z18PC_ReadTokenHandleiP10pc_token_s
	test eax, eax
	jz _Z22ItemParse_elementwidthP9itemDef_si_10
	movzx eax, byte [ebp-0x418]
	cmp al, 0x28
	jz _Z22ItemParse_elementwidthP9itemDef_si_20
	cmp al, 0x2d
	jz _Z22ItemParse_elementwidthP9itemDef_si_30
	xor eax, eax
_Z22ItemParse_elementwidthP9itemDef_si_80:
	cmp dword [ebp-0x428], 0x3
	jz _Z22ItemParse_elementwidthP9itemDef_si_40
	lea eax, [ebp-0x418]
	mov [esp+0x8], eax
	mov dword [esp+0x4], _cstring_expected_float_b
	mov [esp], esi
	call _Z14PC_SourceErroriPcz
	xor eax, eax
	add esp, 0x42c
	pop ebx
	pop esi
	pop edi
	pop ebp
	ret
_Z22ItemParse_elementwidthP9itemDef_si_20:
	mov edx, edi
	mov eax, esi
	call _Z25PC_Float_Expression_ParseiPf
	test eax, eax
	jnz _Z22ItemParse_elementwidthP9itemDef_si_50
_Z22ItemParse_elementwidthP9itemDef_si_10:
	xor eax, eax
	add esp, 0x42c
	pop ebx
	pop esi
	pop edi
	pop ebp
	ret
_Z22ItemParse_elementwidthP9itemDef_si_40:
	test eax, eax
	jz _Z22ItemParse_elementwidthP9itemDef_si_60
	mov eax, [ebp-0x41c]
	xor eax, 0x80000000
	mov [edi], eax
_Z22ItemParse_elementwidthP9itemDef_si_50:
	mov eax, 0x1
_Z22ItemParse_elementwidthP9itemDef_si_70:
	add esp, 0x42c
	pop ebx
	pop esi
	pop edi
	pop ebp
	ret
_Z22ItemParse_elementwidthP9itemDef_si_60:
	mov eax, [ebp-0x41c]
	mov [edi], eax
	mov eax, 0x1
	jmp _Z22ItemParse_elementwidthP9itemDef_si_70
_Z22ItemParse_elementwidthP9itemDef_si_30:
	mov [esp+0x4], ebx
	mov [esp], esi
	call _Z18PC_ReadTokenHandleiP10pc_token_s
	test eax, eax
	jz _Z22ItemParse_elementwidthP9itemDef_si_10
	mov eax, 0x1
	jmp _Z22ItemParse_elementwidthP9itemDef_si_80
	nop


;ItemParse_elementheight(itemDef_s*, int)
_Z23ItemParse_elementheightP9itemDef_si:
	push ebp
	mov ebp, esp
	push edi
	push esi
	push ebx
	sub esp, 0x42c
	mov ebx, [ebp+0x8]
	mov esi, [ebp+0xc]
	mov edx, esi
	mov eax, ebx
	call _Z21Item_ValidateTypeDataP9itemDef_si
	mov [esp], ebx
	call _Z18Item_GetListBoxDefP9itemDef_s
	test eax, eax
	jz _Z23ItemParse_elementheightP9itemDef_si_10
	lea edi, [eax+0x14]
	lea ebx, [ebp-0x428]
	mov [esp+0x4], ebx
	mov [esp], esi
	call _Z18PC_ReadTokenHandleiP10pc_token_s
	test eax, eax
	jz _Z23ItemParse_elementheightP9itemDef_si_10
	movzx eax, byte [ebp-0x418]
	cmp al, 0x28
	jz _Z23ItemParse_elementheightP9itemDef_si_20
	cmp al, 0x2d
	jz _Z23ItemParse_elementheightP9itemDef_si_30
	xor eax, eax
_Z23ItemParse_elementheightP9itemDef_si_80:
	cmp dword [ebp-0x428], 0x3
	jz _Z23ItemParse_elementheightP9itemDef_si_40
	lea eax, [ebp-0x418]
	mov [esp+0x8], eax
	mov dword [esp+0x4], _cstring_expected_float_b
	mov [esp], esi
	call _Z14PC_SourceErroriPcz
	xor eax, eax
	add esp, 0x42c
	pop ebx
	pop esi
	pop edi
	pop ebp
	ret
_Z23ItemParse_elementheightP9itemDef_si_20:
	mov edx, edi
	mov eax, esi
	call _Z25PC_Float_Expression_ParseiPf
	test eax, eax
	jnz _Z23ItemParse_elementheightP9itemDef_si_50
_Z23ItemParse_elementheightP9itemDef_si_10:
	xor eax, eax
	add esp, 0x42c
	pop ebx
	pop esi
	pop edi
	pop ebp
	ret
_Z23ItemParse_elementheightP9itemDef_si_40:
	test eax, eax
	jz _Z23ItemParse_elementheightP9itemDef_si_60
	mov eax, [ebp-0x41c]
	xor eax, 0x80000000
	mov [edi], eax
_Z23ItemParse_elementheightP9itemDef_si_50:
	mov eax, 0x1
_Z23ItemParse_elementheightP9itemDef_si_70:
	add esp, 0x42c
	pop ebx
	pop esi
	pop edi
	pop ebp
	ret
_Z23ItemParse_elementheightP9itemDef_si_60:
	mov eax, [ebp-0x41c]
	mov [edi], eax
	mov eax, 0x1
	jmp _Z23ItemParse_elementheightP9itemDef_si_70
_Z23ItemParse_elementheightP9itemDef_si_30:
	mov [esp+0x4], ebx
	mov [esp], esi
	call _Z18PC_ReadTokenHandleiP10pc_token_s
	test eax, eax
	jz _Z23ItemParse_elementheightP9itemDef_si_10
	mov eax, 0x1
	jmp _Z23ItemParse_elementheightP9itemDef_si_80
	nop


;ItemParse_feeder(itemDef_s*, int)
_Z16ItemParse_feederP9itemDef_si:
	push ebp
	mov ebp, esp
	push edi
	push esi
	push ebx
	sub esp, 0x42c
	mov ebx, [ebp+0xc]
	mov esi, [ebp+0x8]
	add esi, 0x124
	lea edi, [ebp-0x428]
	mov [esp+0x4], edi
	mov [esp], ebx
	call _Z18PC_ReadTokenHandleiP10pc_token_s
	test eax, eax
	jz _Z16ItemParse_feederP9itemDef_si_10
	movzx eax, byte [ebp-0x418]
	cmp al, 0x28
	jz _Z16ItemParse_feederP9itemDef_si_20
	cmp al, 0x2d
	jz _Z16ItemParse_feederP9itemDef_si_30
	xor eax, eax
_Z16ItemParse_feederP9itemDef_si_60:
	cmp dword [ebp-0x428], 0x3
	jz _Z16ItemParse_feederP9itemDef_si_40
	lea eax, [ebp-0x418]
	mov [esp+0x8], eax
	mov dword [esp+0x4], _cstring_expected_float_b
	mov [esp], ebx
	call _Z14PC_SourceErroriPcz
	xor eax, eax
_Z16ItemParse_feederP9itemDef_si_70:
	test eax, eax
	setnz al
	movzx eax, al
	add esp, 0x42c
	pop ebx
	pop esi
	pop edi
	pop ebp
	ret
_Z16ItemParse_feederP9itemDef_si_10:
	xor eax, eax
	test eax, eax
	setnz al
	movzx eax, al
	add esp, 0x42c
	pop ebx
	pop esi
	pop edi
	pop ebp
	ret
_Z16ItemParse_feederP9itemDef_si_40:
	test eax, eax
	jnz _Z16ItemParse_feederP9itemDef_si_50
	mov eax, [ebp-0x41c]
	mov [esi], eax
	mov eax, 0x1
	test eax, eax
	setnz al
	movzx eax, al
	add esp, 0x42c
	pop ebx
	pop esi
	pop edi
	pop ebp
	ret
_Z16ItemParse_feederP9itemDef_si_50:
	mov eax, [ebp-0x41c]
	xor eax, 0x80000000
	mov [esi], eax
	mov eax, 0x1
	test eax, eax
	setnz al
	movzx eax, al
	add esp, 0x42c
	pop ebx
	pop esi
	pop edi
	pop ebp
	ret
_Z16ItemParse_feederP9itemDef_si_30:
	mov [esp+0x4], edi
	mov [esp], ebx
	call _Z18PC_ReadTokenHandleiP10pc_token_s
	test eax, eax
	jz _Z16ItemParse_feederP9itemDef_si_10
	mov eax, 0x1
	jmp _Z16ItemParse_feederP9itemDef_si_60
_Z16ItemParse_feederP9itemDef_si_20:
	mov edx, esi
	mov eax, ebx
	call _Z25PC_Float_Expression_ParseiPf
	jmp _Z16ItemParse_feederP9itemDef_si_70
	nop


;ItemParse_elementtype(itemDef_s*, int)
_Z21ItemParse_elementtypeP9itemDef_si:
	push ebp
	mov ebp, esp
	push edi
	push esi
	push ebx
	sub esp, 0x42c
	mov ebx, [ebp+0x8]
	mov esi, [ebp+0xc]
	mov edx, esi
	mov eax, ebx
	call _Z21Item_ValidateTypeDataP9itemDef_si
	mov eax, [ebx+0x12c]
	test eax, eax
	jz _Z21ItemParse_elementtypeP9itemDef_si_10
	mov [esp], ebx
	call _Z18Item_GetListBoxDefP9itemDef_s
	test eax, eax
	jz _Z21ItemParse_elementtypeP9itemDef_si_10
	lea ebx, [eax+0x18]
	lea edi, [ebp-0x428]
	mov [esp+0x4], edi
	mov [esp], esi
	call _Z18PC_ReadTokenHandleiP10pc_token_s
	test eax, eax
	jz _Z21ItemParse_elementtypeP9itemDef_si_10
	movzx eax, byte [ebp-0x418]
	cmp al, 0x28
	jz _Z21ItemParse_elementtypeP9itemDef_si_20
	cmp al, 0x2d
	jz _Z21ItemParse_elementtypeP9itemDef_si_30
	xor edx, edx
_Z21ItemParse_elementtypeP9itemDef_si_60:
	cmp dword [ebp-0x428], 0x3
	jz _Z21ItemParse_elementtypeP9itemDef_si_40
	lea eax, [ebp-0x418]
	mov [esp+0x8], eax
	mov dword [esp+0x4], _cstring_expected_integer
	mov [esp], esi
	call _Z14PC_SourceErroriPcz
	xor eax, eax
	add esp, 0x42c
	pop ebx
	pop esi
	pop edi
	pop ebp
	ret
_Z21ItemParse_elementtypeP9itemDef_si_20:
	mov edx, ebx
	mov eax, esi
	call _Z23PC_Int_Expression_ParseiPi
	test eax, eax
	jnz _Z21ItemParse_elementtypeP9itemDef_si_50
_Z21ItemParse_elementtypeP9itemDef_si_10:
	xor eax, eax
	add esp, 0x42c
	pop ebx
	pop esi
	pop edi
	pop ebp
	ret
_Z21ItemParse_elementtypeP9itemDef_si_40:
	mov eax, [ebp-0x420]
	mov [ebx], eax
	test edx, edx
	jz _Z21ItemParse_elementtypeP9itemDef_si_50
	neg eax
	mov [ebx], eax
_Z21ItemParse_elementtypeP9itemDef_si_50:
	mov eax, 0x1
	add esp, 0x42c
	pop ebx
	pop esi
	pop edi
	pop ebp
	ret
_Z21ItemParse_elementtypeP9itemDef_si_30:
	mov [esp+0x4], edi
	mov [esp], esi
	call _Z18PC_ReadTokenHandleiP10pc_token_s
	test eax, eax
	jz _Z21ItemParse_elementtypeP9itemDef_si_10
	mov edx, 0x1
	jmp _Z21ItemParse_elementtypeP9itemDef_si_60
	nop


;ItemParse_columns(itemDef_s*, int)
_Z17ItemParse_columnsP9itemDef_si:
	push ebp
	mov ebp, esp
	push edi
	push esi
	push ebx
	sub esp, 0x44c
	mov ebx, [ebp+0x8]
	mov esi, [ebp+0xc]
	mov edx, esi
	mov eax, ebx
	call _Z21Item_ValidateTypeDataP9itemDef_si
	mov eax, [ebx+0x12c]
	test eax, eax
	jz _Z17ItemParse_columnsP9itemDef_si_10
	mov [esp], ebx
	call _Z18Item_GetListBoxDefP9itemDef_s
	mov ebx, eax
	test eax, eax
	jz _Z17ItemParse_columnsP9itemDef_si_10
	lea edi, [ebp-0x438]
	mov [esp+0x4], edi
	mov [esp], esi
	call _Z18PC_ReadTokenHandleiP10pc_token_s
	test eax, eax
	jz _Z17ItemParse_columnsP9itemDef_si_10
	movzx eax, byte [ebp-0x428]
	cmp al, 0x28
	jz _Z17ItemParse_columnsP9itemDef_si_20
	cmp al, 0x2d
	jz _Z17ItemParse_columnsP9itemDef_si_30
	xor edx, edx
_Z17ItemParse_columnsP9itemDef_si_230:
	cmp dword [ebp-0x438], 0x3
	jz _Z17ItemParse_columnsP9itemDef_si_40
_Z17ItemParse_columnsP9itemDef_si_110:
	lea eax, [ebp-0x428]
	mov [esp+0x8], eax
	mov dword [esp+0x4], _cstring_expected_integer
	mov [esp], esi
	call _Z14PC_SourceErroriPcz
_Z17ItemParse_columnsP9itemDef_si_10:
	xor eax, eax
	add esp, 0x44c
	pop ebx
	pop esi
	pop edi
	pop ebp
	ret
_Z17ItemParse_columnsP9itemDef_si_40:
	mov eax, [ebp-0x430]
	mov [ebp-0x1c], eax
	test edx, edx
	jz _Z17ItemParse_columnsP9itemDef_si_50
	neg eax
	mov [ebp-0x1c], eax
_Z17ItemParse_columnsP9itemDef_si_50:
	mov eax, 0x10
	cmp dword [ebp-0x1c], 0x11
	cmovl eax, [ebp-0x1c]
	mov [ebp-0x1c], eax
	mov [ebx+0x1c], eax
	mov eax, [ebp-0x1c]
	test eax, eax
	jg _Z17ItemParse_columnsP9itemDef_si_60
_Z17ItemParse_columnsP9itemDef_si_80:
	mov eax, 0x1
	add esp, 0x44c
	pop ebx
	pop esi
	pop edi
	pop ebp
	ret
_Z17ItemParse_columnsP9itemDef_si_60:
	mov dword [ebp-0x43c], 0x0
	jmp _Z17ItemParse_columnsP9itemDef_si_70
_Z17ItemParse_columnsP9itemDef_si_210:
	lea eax, [ebp-0x428]
	mov [esp+0x8], eax
	mov dword [esp+0x4], _cstring_expected_integer
	mov [esp], esi
	call _Z14PC_SourceErroriPcz
_Z17ItemParse_columnsP9itemDef_si_190:
	mov dword [ebx+0x2c], 0x0
_Z17ItemParse_columnsP9itemDef_si_220:
	add dword [ebp-0x43c], 0x1
	add ebx, 0x10
	mov eax, [ebp-0x43c]
	cmp eax, [ebp-0x1c]
	jge _Z17ItemParse_columnsP9itemDef_si_80
_Z17ItemParse_columnsP9itemDef_si_70:
	mov [esp+0x4], edi
	mov [esp], esi
	call _Z18PC_ReadTokenHandleiP10pc_token_s
	test eax, eax
	jz _Z17ItemParse_columnsP9itemDef_si_10
	movzx eax, byte [ebp-0x428]
	cmp al, 0x28
	jz _Z17ItemParse_columnsP9itemDef_si_90
	cmp al, 0x2d
	jz _Z17ItemParse_columnsP9itemDef_si_100
	xor edx, edx
_Z17ItemParse_columnsP9itemDef_si_240:
	cmp dword [ebp-0x438], 0x3
	jnz _Z17ItemParse_columnsP9itemDef_si_110
	mov eax, [ebp-0x430]
	mov [ebp-0x20], eax
	test edx, edx
	jz _Z17ItemParse_columnsP9itemDef_si_120
	neg eax
	mov [ebp-0x20], eax
_Z17ItemParse_columnsP9itemDef_si_120:
	mov [esp+0x4], edi
	mov [esp], esi
	call _Z18PC_ReadTokenHandleiP10pc_token_s
	test eax, eax
	jz _Z17ItemParse_columnsP9itemDef_si_10
	movzx eax, byte [ebp-0x428]
	cmp al, 0x28
	jz _Z17ItemParse_columnsP9itemDef_si_130
	cmp al, 0x2d
	jz _Z17ItemParse_columnsP9itemDef_si_140
	xor edx, edx
_Z17ItemParse_columnsP9itemDef_si_250:
	cmp dword [ebp-0x438], 0x3
	jnz _Z17ItemParse_columnsP9itemDef_si_110
	mov eax, [ebp-0x430]
	mov [ebp-0x24], eax
	test edx, edx
	jz _Z17ItemParse_columnsP9itemDef_si_150
	neg eax
	mov [ebp-0x24], eax
_Z17ItemParse_columnsP9itemDef_si_150:
	mov [esp+0x4], edi
	mov [esp], esi
	call _Z18PC_ReadTokenHandleiP10pc_token_s
	test eax, eax
	jz _Z17ItemParse_columnsP9itemDef_si_10
	movzx eax, byte [ebp-0x428]
	cmp al, 0x28
	jz _Z17ItemParse_columnsP9itemDef_si_160
	cmp al, 0x2d
	jz _Z17ItemParse_columnsP9itemDef_si_170
	xor edx, edx
_Z17ItemParse_columnsP9itemDef_si_260:
	cmp dword [ebp-0x438], 0x3
	jnz _Z17ItemParse_columnsP9itemDef_si_110
	mov eax, [ebp-0x430]
	mov [ebp-0x28], eax
	test edx, edx
	jz _Z17ItemParse_columnsP9itemDef_si_180
	neg eax
	mov [ebp-0x28], eax
_Z17ItemParse_columnsP9itemDef_si_180:
	mov eax, [ebp-0x20]
	mov [ebx+0x20], eax
	mov eax, [ebp-0x24]
	mov [ebx+0x24], eax
	mov eax, [ebp-0x28]
	mov [ebx+0x28], eax
	mov [esp+0x4], edi
	mov [esp], esi
	call _Z17PC_ReadLineHandleiP10pc_token_s
	test eax, eax
	jz _Z17ItemParse_columnsP9itemDef_si_190
	cmp byte [ebp-0x428], 0x2d
	jz _Z17ItemParse_columnsP9itemDef_si_200
	xor ecx, ecx
_Z17ItemParse_columnsP9itemDef_si_270:
	cmp dword [ebp-0x438], 0x3
	jnz _Z17ItemParse_columnsP9itemDef_si_210
	mov eax, [ebp-0x430]
	mov edx, eax
	neg edx
	test ecx, ecx
	cmovnz eax, edx
	mov [ebx+0x2c], eax
	jmp _Z17ItemParse_columnsP9itemDef_si_220
_Z17ItemParse_columnsP9itemDef_si_20:
	lea edx, [ebp-0x1c]
	mov eax, esi
	call _Z23PC_Int_Expression_ParseiPi
	test eax, eax
	jz _Z17ItemParse_columnsP9itemDef_si_10
	jmp _Z17ItemParse_columnsP9itemDef_si_50
_Z17ItemParse_columnsP9itemDef_si_90:
	lea edx, [ebp-0x20]
	mov eax, esi
	call _Z23PC_Int_Expression_ParseiPi
	test eax, eax
	jnz _Z17ItemParse_columnsP9itemDef_si_120
	jmp _Z17ItemParse_columnsP9itemDef_si_10
_Z17ItemParse_columnsP9itemDef_si_130:
	lea edx, [ebp-0x24]
	mov eax, esi
	call _Z23PC_Int_Expression_ParseiPi
	test eax, eax
	jnz _Z17ItemParse_columnsP9itemDef_si_150
	jmp _Z17ItemParse_columnsP9itemDef_si_10
_Z17ItemParse_columnsP9itemDef_si_160:
	lea edx, [ebp-0x28]
	mov eax, esi
	call _Z23PC_Int_Expression_ParseiPi
	test eax, eax
	jnz _Z17ItemParse_columnsP9itemDef_si_180
	jmp _Z17ItemParse_columnsP9itemDef_si_10
_Z17ItemParse_columnsP9itemDef_si_30:
	mov [esp+0x4], edi
	mov [esp], esi
	call _Z18PC_ReadTokenHandleiP10pc_token_s
	test eax, eax
	jz _Z17ItemParse_columnsP9itemDef_si_10
	mov edx, 0x1
	jmp _Z17ItemParse_columnsP9itemDef_si_230
_Z17ItemParse_columnsP9itemDef_si_100:
	mov [esp+0x4], edi
	mov [esp], esi
	call _Z18PC_ReadTokenHandleiP10pc_token_s
	test eax, eax
	jz _Z17ItemParse_columnsP9itemDef_si_10
	mov edx, 0x1
	jmp _Z17ItemParse_columnsP9itemDef_si_240
_Z17ItemParse_columnsP9itemDef_si_140:
	mov [esp+0x4], edi
	mov [esp], esi
	call _Z18PC_ReadTokenHandleiP10pc_token_s
	test eax, eax
	jz _Z17ItemParse_columnsP9itemDef_si_10
	mov edx, 0x1
	jmp _Z17ItemParse_columnsP9itemDef_si_250
_Z17ItemParse_columnsP9itemDef_si_170:
	mov [esp+0x4], edi
	mov [esp], esi
	call _Z18PC_ReadTokenHandleiP10pc_token_s
	test eax, eax
	jz _Z17ItemParse_columnsP9itemDef_si_10
	mov edx, 0x1
	jmp _Z17ItemParse_columnsP9itemDef_si_260
_Z17ItemParse_columnsP9itemDef_si_200:
	mov [esp+0x4], edi
	mov [esp], esi
	call _Z17PC_ReadLineHandleiP10pc_token_s
	test eax, eax
	jz _Z17ItemParse_columnsP9itemDef_si_190
	mov ecx, 0x1
	jmp _Z17ItemParse_columnsP9itemDef_si_270
	nop


;ItemParse_border(itemDef_s*, int)
_Z16ItemParse_borderP9itemDef_si:
	push ebp
	mov ebp, esp
	push edi
	push esi
	push ebx
	sub esp, 0x42c
	mov ebx, [ebp+0xc]
	mov esi, [ebp+0x8]
	add esi, 0x3c
	lea edi, [ebp-0x428]
	mov [esp+0x4], edi
	mov [esp], ebx
	call _Z18PC_ReadTokenHandleiP10pc_token_s
	test eax, eax
	jz _Z16ItemParse_borderP9itemDef_si_10
	movzx eax, byte [ebp-0x418]
	cmp al, 0x28
	jz _Z16ItemParse_borderP9itemDef_si_20
	cmp al, 0x2d
	jz _Z16ItemParse_borderP9itemDef_si_30
	xor edx, edx
_Z16ItemParse_borderP9itemDef_si_60:
	cmp dword [ebp-0x428], 0x3
	jz _Z16ItemParse_borderP9itemDef_si_40
	lea eax, [ebp-0x418]
	mov [esp+0x8], eax
	mov dword [esp+0x4], _cstring_expected_integer
	mov [esp], ebx
	call _Z14PC_SourceErroriPcz
	xor eax, eax
_Z16ItemParse_borderP9itemDef_si_70:
	test eax, eax
	setnz al
	movzx eax, al
	add esp, 0x42c
	pop ebx
	pop esi
	pop edi
	pop ebp
	ret
_Z16ItemParse_borderP9itemDef_si_10:
	xor eax, eax
	test eax, eax
	setnz al
	movzx eax, al
	add esp, 0x42c
	pop ebx
	pop esi
	pop edi
	pop ebp
	ret
_Z16ItemParse_borderP9itemDef_si_40:
	mov eax, [ebp-0x420]
	mov [esi], eax
	test edx, edx
	jz _Z16ItemParse_borderP9itemDef_si_50
	neg eax
	mov [esi], eax
_Z16ItemParse_borderP9itemDef_si_50:
	mov eax, 0x1
	test eax, eax
	setnz al
	movzx eax, al
	add esp, 0x42c
	pop ebx
	pop esi
	pop edi
	pop ebp
	ret
_Z16ItemParse_borderP9itemDef_si_30:
	mov [esp+0x4], edi
	mov [esp], ebx
	call _Z18PC_ReadTokenHandleiP10pc_token_s
	test eax, eax
	jz _Z16ItemParse_borderP9itemDef_si_10
	mov edx, 0x1
	jmp _Z16ItemParse_borderP9itemDef_si_60
_Z16ItemParse_borderP9itemDef_si_20:
	mov edx, esi
	mov eax, ebx
	call _Z23PC_Int_Expression_ParseiPi
	jmp _Z16ItemParse_borderP9itemDef_si_70


;ItemParse_bordersize(itemDef_s*, int)
_Z20ItemParse_bordersizeP9itemDef_si:
	push ebp
	mov ebp, esp
	push edi
	push esi
	push ebx
	sub esp, 0x42c
	mov ebx, [ebp+0xc]
	mov esi, [ebp+0x8]
	add esi, 0x48
	lea edi, [ebp-0x428]
	mov [esp+0x4], edi
	mov [esp], ebx
	call _Z18PC_ReadTokenHandleiP10pc_token_s
	test eax, eax
	jz _Z20ItemParse_bordersizeP9itemDef_si_10
	movzx eax, byte [ebp-0x418]
	cmp al, 0x28
	jz _Z20ItemParse_bordersizeP9itemDef_si_20
	cmp al, 0x2d
	jz _Z20ItemParse_bordersizeP9itemDef_si_30
	xor eax, eax
_Z20ItemParse_bordersizeP9itemDef_si_60:
	cmp dword [ebp-0x428], 0x3
	jz _Z20ItemParse_bordersizeP9itemDef_si_40
	lea eax, [ebp-0x418]
	mov [esp+0x8], eax
	mov dword [esp+0x4], _cstring_expected_float_b
	mov [esp], ebx
	call _Z14PC_SourceErroriPcz
	xor eax, eax
_Z20ItemParse_bordersizeP9itemDef_si_70:
	test eax, eax
	setnz al
	movzx eax, al
	add esp, 0x42c
	pop ebx
	pop esi
	pop edi
	pop ebp
	ret
_Z20ItemParse_bordersizeP9itemDef_si_10:
	xor eax, eax
	test eax, eax
	setnz al
	movzx eax, al
	add esp, 0x42c
	pop ebx
	pop esi
	pop edi
	pop ebp
	ret
_Z20ItemParse_bordersizeP9itemDef_si_40:
	test eax, eax
	jnz _Z20ItemParse_bordersizeP9itemDef_si_50
	mov eax, [ebp-0x41c]
	mov [esi], eax
	mov eax, 0x1
	test eax, eax
	setnz al
	movzx eax, al
	add esp, 0x42c
	pop ebx
	pop esi
	pop edi
	pop ebp
	ret
_Z20ItemParse_bordersizeP9itemDef_si_50:
	mov eax, [ebp-0x41c]
	xor eax, 0x80000000
	mov [esi], eax
	mov eax, 0x1
	test eax, eax
	setnz al
	movzx eax, al
	add esp, 0x42c
	pop ebx
	pop esi
	pop edi
	pop ebp
	ret
_Z20ItemParse_bordersizeP9itemDef_si_30:
	mov [esp+0x4], edi
	mov [esp], ebx
	call _Z18PC_ReadTokenHandleiP10pc_token_s
	test eax, eax
	jz _Z20ItemParse_bordersizeP9itemDef_si_10
	mov eax, 0x1
	jmp _Z20ItemParse_bordersizeP9itemDef_si_60
_Z20ItemParse_bordersizeP9itemDef_si_20:
	mov edx, esi
	mov eax, ebx
	call _Z25PC_Float_Expression_ParseiPf
	jmp _Z20ItemParse_bordersizeP9itemDef_si_70


;ItemParse_visible(itemDef_s*, int)
_Z17ItemParse_visibleP9itemDef_si:
	push ebp
	mov ebp, esp
	push edi
	push esi
	push ebx
	sub esp, 0x42c
	mov esi, [ebp+0x8]
	mov edi, [ebp+0xc]
	lea eax, [ebp-0x428]
	mov [esp+0x4], eax
	mov [esp], edi
	call _Z18PC_ReadTokenHandleiP10pc_token_s
	test eax, eax
	jnz _Z17ItemParse_visibleP9itemDef_si_10
	add esp, 0x42c
	pop ebx
	pop esi
	pop edi
	pop ebp
	ret
_Z17ItemParse_visibleP9itemDef_si_10:
	lea eax, [ebp-0x418]
	mov [esp], eax
	call _Z12String_AllocPKc
	mov ebx, eax
	mov dword [esp+0x4], _cstring_when
	mov [esp], eax
	call _Z9I_stricmpPKcS0_
	test eax, eax
	jnz _Z17ItemParse_visibleP9itemDef_si_20
_Z17ItemParse_visibleP9itemDef_si_60:
	mov eax, [esi+0x50]
	or eax, 0x4
	mov [esp+0x8], eax
	mov [esp+0x4], esi
	mov dword [esp], 0x0
	call _Z22Window_SetDynamicFlagsiP11windowDef_ti
	mov dword [esp], 0x960
	call Z_MallocInternal
	mov [esi+0x138], eax
	mov dword [esp+0x8], 0xc8
	lea eax, [esi+0x134]
	mov [esp+0x4], eax
	mov [esp], edi
	call _Z16parse_expressioniP11statement_si
	test al, al
	jnz _Z17ItemParse_visibleP9itemDef_si_30
_Z17ItemParse_visibleP9itemDef_si_50:
	mov [esp], ebx
	call atoi
	test eax, eax
	jnz _Z17ItemParse_visibleP9itemDef_si_40
_Z17ItemParse_visibleP9itemDef_si_30:
	mov eax, 0x1
	add esp, 0x42c
	pop ebx
	pop esi
	pop edi
	pop ebp
	ret
_Z17ItemParse_visibleP9itemDef_si_20:
	mov dword [esp+0x4], _cstring_if
	mov [esp], ebx
	call _Z9I_stricmpPKcS0_
	test eax, eax
	jnz _Z17ItemParse_visibleP9itemDef_si_50
	jmp _Z17ItemParse_visibleP9itemDef_si_60
_Z17ItemParse_visibleP9itemDef_si_40:
	mov eax, [esi+0x50]
	or eax, 0x4
	mov [esp+0x8], eax
	mov [esp+0x4], esi
	mov dword [esp], 0x0
	call _Z22Window_SetDynamicFlagsiP11windowDef_ti
	mov eax, 0x1
	add esp, 0x42c
	pop ebx
	pop esi
	pop edi
	pop ebp
	ret
	nop


;ItemParse_ownerdraw(itemDef_s*, int)
_Z19ItemParse_ownerdrawP9itemDef_si:
	push ebp
	mov ebp, esp
	push edi
	push esi
	push ebx
	sub esp, 0x42c
	mov ebx, [ebp+0xc]
	mov esi, [ebp+0x8]
	add esi, 0x40
	lea edi, [ebp-0x428]
	mov [esp+0x4], edi
	mov [esp], ebx
	call _Z18PC_ReadTokenHandleiP10pc_token_s
	test eax, eax
	jz _Z19ItemParse_ownerdrawP9itemDef_si_10
	movzx eax, byte [ebp-0x418]
	cmp al, 0x28
	jz _Z19ItemParse_ownerdrawP9itemDef_si_20
	cmp al, 0x2d
	jz _Z19ItemParse_ownerdrawP9itemDef_si_30
	xor edx, edx
_Z19ItemParse_ownerdrawP9itemDef_si_70:
	cmp dword [ebp-0x428], 0x3
	jz _Z19ItemParse_ownerdrawP9itemDef_si_40
	lea eax, [ebp-0x418]
	mov [esp+0x8], eax
	mov dword [esp+0x4], _cstring_expected_integer
	mov [esp], ebx
	call _Z14PC_SourceErroriPcz
	xor eax, eax
	add esp, 0x42c
	pop ebx
	pop esi
	pop edi
	pop ebp
	ret
_Z19ItemParse_ownerdrawP9itemDef_si_30:
	mov [esp+0x4], edi
	mov [esp], ebx
	call _Z18PC_ReadTokenHandleiP10pc_token_s
	test eax, eax
	jnz _Z19ItemParse_ownerdrawP9itemDef_si_50
_Z19ItemParse_ownerdrawP9itemDef_si_10:
	xor eax, eax
	add esp, 0x42c
	pop ebx
	pop esi
	pop edi
	pop ebp
	ret
_Z19ItemParse_ownerdrawP9itemDef_si_20:
	mov edx, esi
	mov eax, ebx
	call _Z23PC_Int_Expression_ParseiPi
	test eax, eax
	jz _Z19ItemParse_ownerdrawP9itemDef_si_10
_Z19ItemParse_ownerdrawP9itemDef_si_60:
	mov eax, [ebp+0x8]
	mov dword [eax+0xb4], 0x8
	mov eax, 0x1
	add esp, 0x42c
	pop ebx
	pop esi
	pop edi
	pop ebp
	ret
_Z19ItemParse_ownerdrawP9itemDef_si_40:
	mov eax, [ebp-0x420]
	mov [esi], eax
	test edx, edx
	jz _Z19ItemParse_ownerdrawP9itemDef_si_60
	neg eax
	mov [esi], eax
	jmp _Z19ItemParse_ownerdrawP9itemDef_si_60
_Z19ItemParse_ownerdrawP9itemDef_si_50:
	mov edx, 0x1
	jmp _Z19ItemParse_ownerdrawP9itemDef_si_70
	nop


;ItemParse_align(itemDef_s*, int)
_Z15ItemParse_alignP9itemDef_si:
	push ebp
	mov ebp, esp
	push edi
	push esi
	push ebx
	sub esp, 0x42c
	mov ebx, [ebp+0xc]
	mov esi, [ebp+0x8]
	add esi, 0xbc
	lea edi, [ebp-0x428]
	mov [esp+0x4], edi
	mov [esp], ebx
	call _Z18PC_ReadTokenHandleiP10pc_token_s
	test eax, eax
	jz _Z15ItemParse_alignP9itemDef_si_10
	movzx eax, byte [ebp-0x418]
	cmp al, 0x28
	jz _Z15ItemParse_alignP9itemDef_si_20
	cmp al, 0x2d
	jz _Z15ItemParse_alignP9itemDef_si_30
	xor edx, edx
_Z15ItemParse_alignP9itemDef_si_60:
	cmp dword [ebp-0x428], 0x3
	jz _Z15ItemParse_alignP9itemDef_si_40
	lea eax, [ebp-0x418]
	mov [esp+0x8], eax
	mov dword [esp+0x4], _cstring_expected_integer
	mov [esp], ebx
	call _Z14PC_SourceErroriPcz
	xor eax, eax
_Z15ItemParse_alignP9itemDef_si_70:
	test eax, eax
	setnz al
	movzx eax, al
	add esp, 0x42c
	pop ebx
	pop esi
	pop edi
	pop ebp
	ret
_Z15ItemParse_alignP9itemDef_si_10:
	xor eax, eax
	test eax, eax
	setnz al
	movzx eax, al
	add esp, 0x42c
	pop ebx
	pop esi
	pop edi
	pop ebp
	ret
_Z15ItemParse_alignP9itemDef_si_40:
	mov eax, [ebp-0x420]
	mov [esi], eax
	test edx, edx
	jz _Z15ItemParse_alignP9itemDef_si_50
	neg eax
	mov [esi], eax
_Z15ItemParse_alignP9itemDef_si_50:
	mov eax, 0x1
	test eax, eax
	setnz al
	movzx eax, al
	add esp, 0x42c
	pop ebx
	pop esi
	pop edi
	pop ebp
	ret
_Z15ItemParse_alignP9itemDef_si_30:
	mov [esp+0x4], edi
	mov [esp], ebx
	call _Z18PC_ReadTokenHandleiP10pc_token_s
	test eax, eax
	jz _Z15ItemParse_alignP9itemDef_si_10
	mov edx, 0x1
	jmp _Z15ItemParse_alignP9itemDef_si_60
_Z15ItemParse_alignP9itemDef_si_20:
	mov edx, esi
	mov eax, ebx
	call _Z23PC_Int_Expression_ParseiPi
	jmp _Z15ItemParse_alignP9itemDef_si_70
	nop


;ItemParse_textalign(itemDef_s*, int)
_Z19ItemParse_textalignP9itemDef_si:
	push ebp
	mov ebp, esp
	push edi
	push esi
	push ebx
	sub esp, 0x42c
	mov edi, [ebp+0xc]
	mov ebx, [ebp+0x8]
	add ebx, 0xc4
	lea esi, [ebp-0x428]
	mov [esp+0x4], esi
	mov [esp], edi
	call _Z18PC_ReadTokenHandleiP10pc_token_s
	test eax, eax
	jz _Z19ItemParse_textalignP9itemDef_si_10
	movzx eax, byte [ebp-0x418]
	cmp al, 0x28
	jz _Z19ItemParse_textalignP9itemDef_si_20
	cmp al, 0x2d
	jz _Z19ItemParse_textalignP9itemDef_si_30
	xor edx, edx
_Z19ItemParse_textalignP9itemDef_si_90:
	cmp dword [ebp-0x428], 0x3
	jz _Z19ItemParse_textalignP9itemDef_si_40
	lea eax, [ebp-0x418]
	mov [esp+0x8], eax
	mov dword [esp+0x4], _cstring_expected_integer
	mov [esp], edi
	call _Z14PC_SourceErroriPcz
	xor eax, eax
	add esp, 0x42c
	pop ebx
	pop esi
	pop edi
	pop ebp
	ret
_Z19ItemParse_textalignP9itemDef_si_30:
	mov [esp+0x4], esi
	mov [esp], edi
	call _Z18PC_ReadTokenHandleiP10pc_token_s
	test eax, eax
	jnz _Z19ItemParse_textalignP9itemDef_si_50
_Z19ItemParse_textalignP9itemDef_si_10:
	xor eax, eax
_Z19ItemParse_textalignP9itemDef_si_70:
	add esp, 0x42c
	pop ebx
	pop esi
	pop edi
	pop ebp
	ret
_Z19ItemParse_textalignP9itemDef_si_20:
	mov edx, ebx
	mov eax, edi
	call _Z23PC_Int_Expression_ParseiPi
	test eax, eax
	jz _Z19ItemParse_textalignP9itemDef_si_10
_Z19ItemParse_textalignP9itemDef_si_80:
	mov edx, [ebp+0x8]
	mov eax, [edx+0xc4]
	cmp eax, 0xf
	ja _Z19ItemParse_textalignP9itemDef_si_60
	and eax, 0x3
	cmp eax, 0x3
	jz _Z19ItemParse_textalignP9itemDef_si_60
	mov eax, 0x1
	jmp _Z19ItemParse_textalignP9itemDef_si_70
_Z19ItemParse_textalignP9itemDef_si_40:
	mov eax, [ebp-0x420]
	mov [ebx], eax
	test edx, edx
	jz _Z19ItemParse_textalignP9itemDef_si_80
	neg eax
	mov [ebx], eax
	jmp _Z19ItemParse_textalignP9itemDef_si_80
_Z19ItemParse_textalignP9itemDef_si_60:
	mov dword [esp+0x4], _cstring_expected_item_al
	mov [esp], edi
	call _Z14PC_SourceErroriPcz
	xor eax, eax
	add esp, 0x42c
	pop ebx
	pop esi
	pop edi
	pop ebp
	ret
_Z19ItemParse_textalignP9itemDef_si_50:
	mov edx, 0x1
	jmp _Z19ItemParse_textalignP9itemDef_si_90
	nop


;ItemParse_textalignx(itemDef_s*, int)
_Z20ItemParse_textalignxP9itemDef_si:
	push ebp
	mov ebp, esp
	push edi
	push esi
	push ebx
	sub esp, 0x42c
	mov ebx, [ebp+0xc]
	mov esi, [ebp+0x8]
	add esi, 0xc8
	lea edi, [ebp-0x428]
	mov [esp+0x4], edi
	mov [esp], ebx
	call _Z18PC_ReadTokenHandleiP10pc_token_s
	test eax, eax
	jz _Z20ItemParse_textalignxP9itemDef_si_10
	movzx eax, byte [ebp-0x418]
	cmp al, 0x28
	jz _Z20ItemParse_textalignxP9itemDef_si_20
	cmp al, 0x2d
	jz _Z20ItemParse_textalignxP9itemDef_si_30
	xor eax, eax
_Z20ItemParse_textalignxP9itemDef_si_60:
	cmp dword [ebp-0x428], 0x3
	jz _Z20ItemParse_textalignxP9itemDef_si_40
	lea eax, [ebp-0x418]
	mov [esp+0x8], eax
	mov dword [esp+0x4], _cstring_expected_float_b
	mov [esp], ebx
	call _Z14PC_SourceErroriPcz
	xor eax, eax
_Z20ItemParse_textalignxP9itemDef_si_70:
	test eax, eax
	setnz al
	movzx eax, al
	add esp, 0x42c
	pop ebx
	pop esi
	pop edi
	pop ebp
	ret
_Z20ItemParse_textalignxP9itemDef_si_10:
	xor eax, eax
	test eax, eax
	setnz al
	movzx eax, al
	add esp, 0x42c
	pop ebx
	pop esi
	pop edi
	pop ebp
	ret
_Z20ItemParse_textalignxP9itemDef_si_40:
	test eax, eax
	jnz _Z20ItemParse_textalignxP9itemDef_si_50
	mov eax, [ebp-0x41c]
	mov [esi], eax
	mov eax, 0x1
	test eax, eax
	setnz al
	movzx eax, al
	add esp, 0x42c
	pop ebx
	pop esi
	pop edi
	pop ebp
	ret
_Z20ItemParse_textalignxP9itemDef_si_50:
	mov eax, [ebp-0x41c]
	xor eax, 0x80000000
	mov [esi], eax
	mov eax, 0x1
	test eax, eax
	setnz al
	movzx eax, al
	add esp, 0x42c
	pop ebx
	pop esi
	pop edi
	pop ebp
	ret
_Z20ItemParse_textalignxP9itemDef_si_30:
	mov [esp+0x4], edi
	mov [esp], ebx
	call _Z18PC_ReadTokenHandleiP10pc_token_s
	test eax, eax
	jz _Z20ItemParse_textalignxP9itemDef_si_10
	mov eax, 0x1
	jmp _Z20ItemParse_textalignxP9itemDef_si_60
_Z20ItemParse_textalignxP9itemDef_si_20:
	mov edx, esi
	mov eax, ebx
	call _Z25PC_Float_Expression_ParseiPf
	jmp _Z20ItemParse_textalignxP9itemDef_si_70
	nop


;ItemParse_textaligny(itemDef_s*, int)
_Z20ItemParse_textalignyP9itemDef_si:
	push ebp
	mov ebp, esp
	push edi
	push esi
	push ebx
	sub esp, 0x42c
	mov ebx, [ebp+0xc]
	mov esi, [ebp+0x8]
	add esi, 0xcc
	lea edi, [ebp-0x428]
	mov [esp+0x4], edi
	mov [esp], ebx
	call _Z18PC_ReadTokenHandleiP10pc_token_s
	test eax, eax
	jz _Z20ItemParse_textalignyP9itemDef_si_10
	movzx eax, byte [ebp-0x418]
	cmp al, 0x28
	jz _Z20ItemParse_textalignyP9itemDef_si_20
	cmp al, 0x2d
	jz _Z20ItemParse_textalignyP9itemDef_si_30
	xor eax, eax
_Z20ItemParse_textalignyP9itemDef_si_60:
	cmp dword [ebp-0x428], 0x3
	jz _Z20ItemParse_textalignyP9itemDef_si_40
	lea eax, [ebp-0x418]
	mov [esp+0x8], eax
	mov dword [esp+0x4], _cstring_expected_float_b
	mov [esp], ebx
	call _Z14PC_SourceErroriPcz
	xor eax, eax
_Z20ItemParse_textalignyP9itemDef_si_70:
	test eax, eax
	setnz al
	movzx eax, al
	add esp, 0x42c
	pop ebx
	pop esi
	pop edi
	pop ebp
	ret
_Z20ItemParse_textalignyP9itemDef_si_10:
	xor eax, eax
	test eax, eax
	setnz al
	movzx eax, al
	add esp, 0x42c
	pop ebx
	pop esi
	pop edi
	pop ebp
	ret
_Z20ItemParse_textalignyP9itemDef_si_40:
	test eax, eax
	jnz _Z20ItemParse_textalignyP9itemDef_si_50
	mov eax, [ebp-0x41c]
	mov [esi], eax
	mov eax, 0x1
	test eax, eax
	setnz al
	movzx eax, al
	add esp, 0x42c
	pop ebx
	pop esi
	pop edi
	pop ebp
	ret
_Z20ItemParse_textalignyP9itemDef_si_50:
	mov eax, [ebp-0x41c]
	xor eax, 0x80000000
	mov [esi], eax
	mov eax, 0x1
	test eax, eax
	setnz al
	movzx eax, al
	add esp, 0x42c
	pop ebx
	pop esi
	pop edi
	pop ebp
	ret
_Z20ItemParse_textalignyP9itemDef_si_30:
	mov [esp+0x4], edi
	mov [esp], ebx
	call _Z18PC_ReadTokenHandleiP10pc_token_s
	test eax, eax
	jz _Z20ItemParse_textalignyP9itemDef_si_10
	mov eax, 0x1
	jmp _Z20ItemParse_textalignyP9itemDef_si_60
_Z20ItemParse_textalignyP9itemDef_si_20:
	mov edx, esi
	mov eax, ebx
	call _Z25PC_Float_Expression_ParseiPf
	jmp _Z20ItemParse_textalignyP9itemDef_si_70
	nop


;ItemParse_textscale(itemDef_s*, int)
_Z19ItemParse_textscaleP9itemDef_si:
	push ebp
	mov ebp, esp
	push edi
	push esi
	push ebx
	sub esp, 0x42c
	mov ebx, [ebp+0xc]
	mov esi, [ebp+0x8]
	add esi, 0xd0
	lea edi, [ebp-0x428]
	mov [esp+0x4], edi
	mov [esp], ebx
	call _Z18PC_ReadTokenHandleiP10pc_token_s
	test eax, eax
	jz _Z19ItemParse_textscaleP9itemDef_si_10
	movzx eax, byte [ebp-0x418]
	cmp al, 0x28
	jz _Z19ItemParse_textscaleP9itemDef_si_20
	cmp al, 0x2d
	jz _Z19ItemParse_textscaleP9itemDef_si_30
	xor eax, eax
_Z19ItemParse_textscaleP9itemDef_si_60:
	cmp dword [ebp-0x428], 0x3
	jz _Z19ItemParse_textscaleP9itemDef_si_40
	lea eax, [ebp-0x418]
	mov [esp+0x8], eax
	mov dword [esp+0x4], _cstring_expected_float_b
	mov [esp], ebx
	call _Z14PC_SourceErroriPcz
	xor eax, eax
_Z19ItemParse_textscaleP9itemDef_si_70:
	test eax, eax
	setnz al
	movzx eax, al
	add esp, 0x42c
	pop ebx
	pop esi
	pop edi
	pop ebp
	ret
_Z19ItemParse_textscaleP9itemDef_si_10:
	xor eax, eax
	test eax, eax
	setnz al
	movzx eax, al
	add esp, 0x42c
	pop ebx
	pop esi
	pop edi
	pop ebp
	ret
_Z19ItemParse_textscaleP9itemDef_si_40:
	test eax, eax
	jnz _Z19ItemParse_textscaleP9itemDef_si_50
	mov eax, [ebp-0x41c]
	mov [esi], eax
	mov eax, 0x1
	test eax, eax
	setnz al
	movzx eax, al
	add esp, 0x42c
	pop ebx
	pop esi
	pop edi
	pop ebp
	ret
_Z19ItemParse_textscaleP9itemDef_si_50:
	mov eax, [ebp-0x41c]
	xor eax, 0x80000000
	mov [esi], eax
	mov eax, 0x1
	test eax, eax
	setnz al
	movzx eax, al
	add esp, 0x42c
	pop ebx
	pop esi
	pop edi
	pop ebp
	ret
_Z19ItemParse_textscaleP9itemDef_si_30:
	mov [esp+0x4], edi
	mov [esp], ebx
	call _Z18PC_ReadTokenHandleiP10pc_token_s
	test eax, eax
	jz _Z19ItemParse_textscaleP9itemDef_si_10
	mov eax, 0x1
	jmp _Z19ItemParse_textscaleP9itemDef_si_60
_Z19ItemParse_textscaleP9itemDef_si_20:
	mov edx, esi
	mov eax, ebx
	call _Z25PC_Float_Expression_ParseiPf
	jmp _Z19ItemParse_textscaleP9itemDef_si_70
	nop


;ItemParse_textstyle(itemDef_s*, int)
_Z19ItemParse_textstyleP9itemDef_si:
	push ebp
	mov ebp, esp
	push edi
	push esi
	push ebx
	sub esp, 0x42c
	mov ebx, [ebp+0xc]
	mov esi, [ebp+0x8]
	add esi, 0xd4
	lea edi, [ebp-0x428]
	mov [esp+0x4], edi
	mov [esp], ebx
	call _Z18PC_ReadTokenHandleiP10pc_token_s
	test eax, eax
	jz _Z19ItemParse_textstyleP9itemDef_si_10
	movzx eax, byte [ebp-0x418]
	cmp al, 0x28
	jz _Z19ItemParse_textstyleP9itemDef_si_20
	cmp al, 0x2d
	jz _Z19ItemParse_textstyleP9itemDef_si_30
	xor edx, edx
_Z19ItemParse_textstyleP9itemDef_si_60:
	cmp dword [ebp-0x428], 0x3
	jz _Z19ItemParse_textstyleP9itemDef_si_40
	lea eax, [ebp-0x418]
	mov [esp+0x8], eax
	mov dword [esp+0x4], _cstring_expected_integer
	mov [esp], ebx
	call _Z14PC_SourceErroriPcz
	xor eax, eax
_Z19ItemParse_textstyleP9itemDef_si_70:
	test eax, eax
	setnz al
	movzx eax, al
	add esp, 0x42c
	pop ebx
	pop esi
	pop edi
	pop ebp
	ret
_Z19ItemParse_textstyleP9itemDef_si_10:
	xor eax, eax
	test eax, eax
	setnz al
	movzx eax, al
	add esp, 0x42c
	pop ebx
	pop esi
	pop edi
	pop ebp
	ret
_Z19ItemParse_textstyleP9itemDef_si_40:
	mov eax, [ebp-0x420]
	mov [esi], eax
	test edx, edx
	jz _Z19ItemParse_textstyleP9itemDef_si_50
	neg eax
	mov [esi], eax
_Z19ItemParse_textstyleP9itemDef_si_50:
	mov eax, 0x1
	test eax, eax
	setnz al
	movzx eax, al
	add esp, 0x42c
	pop ebx
	pop esi
	pop edi
	pop ebp
	ret
_Z19ItemParse_textstyleP9itemDef_si_30:
	mov [esp+0x4], edi
	mov [esp], ebx
	call _Z18PC_ReadTokenHandleiP10pc_token_s
	test eax, eax
	jz _Z19ItemParse_textstyleP9itemDef_si_10
	mov edx, 0x1
	jmp _Z19ItemParse_textstyleP9itemDef_si_60
_Z19ItemParse_textstyleP9itemDef_si_20:
	mov edx, esi
	mov eax, ebx
	call _Z23PC_Int_Expression_ParseiPi
	jmp _Z19ItemParse_textstyleP9itemDef_si_70
	nop


;ItemParse_textfont(itemDef_s*, int)
_Z18ItemParse_textfontP9itemDef_si:
	push ebp
	mov ebp, esp
	push edi
	push esi
	push ebx
	sub esp, 0x42c
	mov ebx, [ebp+0xc]
	mov esi, [ebp+0x8]
	add esi, 0xc0
	lea edi, [ebp-0x428]
	mov [esp+0x4], edi
	mov [esp], ebx
	call _Z18PC_ReadTokenHandleiP10pc_token_s
	test eax, eax
	jz _Z18ItemParse_textfontP9itemDef_si_10
	movzx eax, byte [ebp-0x418]
	cmp al, 0x28
	jz _Z18ItemParse_textfontP9itemDef_si_20
	cmp al, 0x2d
	jz _Z18ItemParse_textfontP9itemDef_si_30
	xor edx, edx
_Z18ItemParse_textfontP9itemDef_si_60:
	cmp dword [ebp-0x428], 0x3
	jz _Z18ItemParse_textfontP9itemDef_si_40
	lea eax, [ebp-0x418]
	mov [esp+0x8], eax
	mov dword [esp+0x4], _cstring_expected_integer
	mov [esp], ebx
	call _Z14PC_SourceErroriPcz
	xor eax, eax
_Z18ItemParse_textfontP9itemDef_si_70:
	test eax, eax
	setnz al
	movzx eax, al
	add esp, 0x42c
	pop ebx
	pop esi
	pop edi
	pop ebp
	ret
_Z18ItemParse_textfontP9itemDef_si_10:
	xor eax, eax
	test eax, eax
	setnz al
	movzx eax, al
	add esp, 0x42c
	pop ebx
	pop esi
	pop edi
	pop ebp
	ret
_Z18ItemParse_textfontP9itemDef_si_40:
	mov eax, [ebp-0x420]
	mov [esi], eax
	test edx, edx
	jz _Z18ItemParse_textfontP9itemDef_si_50
	neg eax
	mov [esi], eax
_Z18ItemParse_textfontP9itemDef_si_50:
	mov eax, 0x1
	test eax, eax
	setnz al
	movzx eax, al
	add esp, 0x42c
	pop ebx
	pop esi
	pop edi
	pop ebp
	ret
_Z18ItemParse_textfontP9itemDef_si_30:
	mov [esp+0x4], edi
	mov [esp], ebx
	call _Z18PC_ReadTokenHandleiP10pc_token_s
	test eax, eax
	jz _Z18ItemParse_textfontP9itemDef_si_10
	mov edx, 0x1
	jmp _Z18ItemParse_textfontP9itemDef_si_60
_Z18ItemParse_textfontP9itemDef_si_20:
	mov edx, esi
	mov eax, ebx
	call _Z23PC_Int_Expression_ParseiPi
	jmp _Z18ItemParse_textfontP9itemDef_si_70
	nop


;ItemParse_backcolor(itemDef_s*, int)
_Z19ItemParse_backcolorP9itemDef_si:
	push ebp
	mov ebp, esp
	push edi
	push esi
	push ebx
	sub esp, 0x43c
	mov esi, [ebp+0xc]
	mov ebx, [ebp+0x8]
	mov edi, 0x4
_Z19ItemParse_backcolorP9itemDef_si_60:
	lea eax, [ebp-0x42c]
	mov [esp+0x4], eax
	mov [esp], esi
	call _Z18PC_ReadTokenHandleiP10pc_token_s
	test eax, eax
	jz _Z19ItemParse_backcolorP9itemDef_si_10
	movzx eax, byte [ebp-0x41c]
	cmp al, 0x28
	jz _Z19ItemParse_backcolorP9itemDef_si_20
	cmp al, 0x2d
	jz _Z19ItemParse_backcolorP9itemDef_si_30
	xor eax, eax
_Z19ItemParse_backcolorP9itemDef_si_100:
	cmp dword [ebp-0x42c], 0x3
	jnz _Z19ItemParse_backcolorP9itemDef_si_40
	test eax, eax
	jz _Z19ItemParse_backcolorP9itemDef_si_50
	mov eax, [ebp-0x420]
	xor eax, 0x80000000
	mov [ebp-0x1c], eax
_Z19ItemParse_backcolorP9itemDef_si_90:
	mov [ebx+0x68], eax
	add ebx, 0x4
	sub edi, 0x1
	jnz _Z19ItemParse_backcolorP9itemDef_si_60
	mov eax, 0x1
	jmp _Z19ItemParse_backcolorP9itemDef_si_70
_Z19ItemParse_backcolorP9itemDef_si_30:
	lea eax, [ebp-0x42c]
	mov [esp+0x4], eax
	mov [esp], esi
	call _Z18PC_ReadTokenHandleiP10pc_token_s
	test eax, eax
	jnz _Z19ItemParse_backcolorP9itemDef_si_80
_Z19ItemParse_backcolorP9itemDef_si_10:
	xor eax, eax
_Z19ItemParse_backcolorP9itemDef_si_70:
	add esp, 0x43c
	pop ebx
	pop esi
	pop edi
	pop ebp
	ret
_Z19ItemParse_backcolorP9itemDef_si_40:
	lea eax, [ebp-0x41c]
	mov [esp+0x8], eax
	mov dword [esp+0x4], _cstring_expected_float_b
	mov [esp], esi
	call _Z14PC_SourceErroriPcz
	xor eax, eax
	add esp, 0x43c
	pop ebx
	pop esi
	pop edi
	pop ebp
	ret
_Z19ItemParse_backcolorP9itemDef_si_50:
	mov eax, [ebp-0x420]
	mov [ebp-0x1c], eax
	jmp _Z19ItemParse_backcolorP9itemDef_si_90
_Z19ItemParse_backcolorP9itemDef_si_20:
	lea edx, [ebp-0x1c]
	mov eax, esi
	call _Z25PC_Float_Expression_ParseiPf
	test eax, eax
	jz _Z19ItemParse_backcolorP9itemDef_si_10
	mov eax, [ebp-0x1c]
	jmp _Z19ItemParse_backcolorP9itemDef_si_90
_Z19ItemParse_backcolorP9itemDef_si_80:
	mov eax, 0x1
	jmp _Z19ItemParse_backcolorP9itemDef_si_100
	nop


;ItemParse_forecolor(itemDef_s*, int)
_Z19ItemParse_forecolorP9itemDef_si:
	push ebp
	mov ebp, esp
	push edi
	push esi
	push ebx
	sub esp, 0x43c
	mov esi, [ebp+0x8]
	mov edi, [ebp+0xc]
	mov ebx, esi
_Z19ItemParse_forecolorP9itemDef_si_60:
	lea eax, [ebp-0x42c]
	mov [esp+0x4], eax
	mov [esp], edi
	call _Z18PC_ReadTokenHandleiP10pc_token_s
	test eax, eax
	jz _Z19ItemParse_forecolorP9itemDef_si_10
	movzx eax, byte [ebp-0x41c]
	cmp al, 0x28
	jz _Z19ItemParse_forecolorP9itemDef_si_20
	cmp al, 0x2d
	jz _Z19ItemParse_forecolorP9itemDef_si_30
	xor eax, eax
_Z19ItemParse_forecolorP9itemDef_si_100:
	cmp dword [ebp-0x42c], 0x3
	jnz _Z19ItemParse_forecolorP9itemDef_si_40
	test eax, eax
	jz _Z19ItemParse_forecolorP9itemDef_si_50
	mov eax, [ebp-0x420]
	xor eax, 0x80000000
	mov [ebp-0x1c], eax
_Z19ItemParse_forecolorP9itemDef_si_90:
	mov [ebx+0x58], eax
	mov eax, [esi+0x50]
	or eax, 0x10000
	mov [esp+0x8], eax
	mov [esp+0x4], esi
	mov dword [esp], 0x0
	call _Z22Window_SetDynamicFlagsiP11windowDef_ti
	add ebx, 0x4
	lea eax, [esi+0x10]
	cmp eax, ebx
	jnz _Z19ItemParse_forecolorP9itemDef_si_60
	mov eax, 0x1
	jmp _Z19ItemParse_forecolorP9itemDef_si_70
_Z19ItemParse_forecolorP9itemDef_si_30:
	lea eax, [ebp-0x42c]
	mov [esp+0x4], eax
	mov [esp], edi
	call _Z18PC_ReadTokenHandleiP10pc_token_s
	test eax, eax
	jnz _Z19ItemParse_forecolorP9itemDef_si_80
_Z19ItemParse_forecolorP9itemDef_si_10:
	xor eax, eax
_Z19ItemParse_forecolorP9itemDef_si_70:
	add esp, 0x43c
	pop ebx
	pop esi
	pop edi
	pop ebp
	ret
_Z19ItemParse_forecolorP9itemDef_si_40:
	lea eax, [ebp-0x41c]
	mov [esp+0x8], eax
	mov dword [esp+0x4], _cstring_expected_float_b
	mov [esp], edi
	call _Z14PC_SourceErroriPcz
	xor eax, eax
	add esp, 0x43c
	pop ebx
	pop esi
	pop edi
	pop ebp
	ret
_Z19ItemParse_forecolorP9itemDef_si_50:
	mov eax, [ebp-0x420]
	mov [ebp-0x1c], eax
	jmp _Z19ItemParse_forecolorP9itemDef_si_90
_Z19ItemParse_forecolorP9itemDef_si_20:
	lea edx, [ebp-0x1c]
	mov eax, edi
	call _Z25PC_Float_Expression_ParseiPf
	test eax, eax
	jz _Z19ItemParse_forecolorP9itemDef_si_10
	mov eax, [ebp-0x1c]
	jmp _Z19ItemParse_forecolorP9itemDef_si_90
_Z19ItemParse_forecolorP9itemDef_si_80:
	mov eax, 0x1
	jmp _Z19ItemParse_forecolorP9itemDef_si_100


;ItemParse_bordercolor(itemDef_s*, int)
_Z21ItemParse_bordercolorP9itemDef_si:
	push ebp
	mov ebp, esp
	push edi
	push esi
	push ebx
	sub esp, 0x43c
	mov esi, [ebp+0xc]
	mov ebx, [ebp+0x8]
	mov edi, 0x4
_Z21ItemParse_bordercolorP9itemDef_si_60:
	lea eax, [ebp-0x42c]
	mov [esp+0x4], eax
	mov [esp], esi
	call _Z18PC_ReadTokenHandleiP10pc_token_s
	test eax, eax
	jz _Z21ItemParse_bordercolorP9itemDef_si_10
	movzx eax, byte [ebp-0x41c]
	cmp al, 0x28
	jz _Z21ItemParse_bordercolorP9itemDef_si_20
	cmp al, 0x2d
	jz _Z21ItemParse_bordercolorP9itemDef_si_30
	xor eax, eax
_Z21ItemParse_bordercolorP9itemDef_si_100:
	cmp dword [ebp-0x42c], 0x3
	jnz _Z21ItemParse_bordercolorP9itemDef_si_40
	test eax, eax
	jz _Z21ItemParse_bordercolorP9itemDef_si_50
	mov eax, [ebp-0x420]
	xor eax, 0x80000000
	mov [ebp-0x1c], eax
_Z21ItemParse_bordercolorP9itemDef_si_90:
	mov [ebx+0x78], eax
	add ebx, 0x4
	sub edi, 0x1
	jnz _Z21ItemParse_bordercolorP9itemDef_si_60
	mov eax, 0x1
	jmp _Z21ItemParse_bordercolorP9itemDef_si_70
_Z21ItemParse_bordercolorP9itemDef_si_30:
	lea eax, [ebp-0x42c]
	mov [esp+0x4], eax
	mov [esp], esi
	call _Z18PC_ReadTokenHandleiP10pc_token_s
	test eax, eax
	jnz _Z21ItemParse_bordercolorP9itemDef_si_80
_Z21ItemParse_bordercolorP9itemDef_si_10:
	xor eax, eax
_Z21ItemParse_bordercolorP9itemDef_si_70:
	add esp, 0x43c
	pop ebx
	pop esi
	pop edi
	pop ebp
	ret
_Z21ItemParse_bordercolorP9itemDef_si_40:
	lea eax, [ebp-0x41c]
	mov [esp+0x8], eax
	mov dword [esp+0x4], _cstring_expected_float_b
	mov [esp], esi
	call _Z14PC_SourceErroriPcz
	xor eax, eax
	add esp, 0x43c
	pop ebx
	pop esi
	pop edi
	pop ebp
	ret
_Z21ItemParse_bordercolorP9itemDef_si_50:
	mov eax, [ebp-0x420]
	mov [ebp-0x1c], eax
	jmp _Z21ItemParse_bordercolorP9itemDef_si_90
_Z21ItemParse_bordercolorP9itemDef_si_20:
	lea edx, [ebp-0x1c]
	mov eax, esi
	call _Z25PC_Float_Expression_ParseiPf
	test eax, eax
	jz _Z21ItemParse_bordercolorP9itemDef_si_10
	mov eax, [ebp-0x1c]
	jmp _Z21ItemParse_bordercolorP9itemDef_si_90
_Z21ItemParse_bordercolorP9itemDef_si_80:
	mov eax, 0x1
	jmp _Z21ItemParse_bordercolorP9itemDef_si_100
	nop


;ItemParse_outlinecolor(itemDef_s*, int)
_Z22ItemParse_outlinecolorP9itemDef_si:
	push ebp
	mov ebp, esp
	push edi
	push esi
	push ebx
	sub esp, 0x43c
	mov esi, [ebp+0xc]
	mov ebx, [ebp+0x8]
	add ebx, 0x88
	mov edi, 0x4
_Z22ItemParse_outlinecolorP9itemDef_si_60:
	lea eax, [ebp-0x42c]
	mov [esp+0x4], eax
	mov [esp], esi
	call _Z18PC_ReadTokenHandleiP10pc_token_s
	test eax, eax
	jz _Z22ItemParse_outlinecolorP9itemDef_si_10
	movzx eax, byte [ebp-0x41c]
	cmp al, 0x28
	jz _Z22ItemParse_outlinecolorP9itemDef_si_20
	cmp al, 0x2d
	jz _Z22ItemParse_outlinecolorP9itemDef_si_30
	xor eax, eax
_Z22ItemParse_outlinecolorP9itemDef_si_100:
	cmp dword [ebp-0x42c], 0x3
	jnz _Z22ItemParse_outlinecolorP9itemDef_si_40
	test eax, eax
	jz _Z22ItemParse_outlinecolorP9itemDef_si_50
	mov eax, [ebp-0x420]
	xor eax, 0x80000000
	mov [ebp-0x1c], eax
_Z22ItemParse_outlinecolorP9itemDef_si_90:
	mov [ebx], eax
	add ebx, 0x4
	sub edi, 0x1
	jnz _Z22ItemParse_outlinecolorP9itemDef_si_60
	mov eax, 0x1
	jmp _Z22ItemParse_outlinecolorP9itemDef_si_70
_Z22ItemParse_outlinecolorP9itemDef_si_30:
	lea eax, [ebp-0x42c]
	mov [esp+0x4], eax
	mov [esp], esi
	call _Z18PC_ReadTokenHandleiP10pc_token_s
	test eax, eax
	jnz _Z22ItemParse_outlinecolorP9itemDef_si_80
_Z22ItemParse_outlinecolorP9itemDef_si_10:
	xor eax, eax
_Z22ItemParse_outlinecolorP9itemDef_si_70:
	add esp, 0x43c
	pop ebx
	pop esi
	pop edi
	pop ebp
	ret
_Z22ItemParse_outlinecolorP9itemDef_si_40:
	lea eax, [ebp-0x41c]
	mov [esp+0x8], eax
	mov dword [esp+0x4], _cstring_expected_float_b
	mov [esp], esi
	call _Z14PC_SourceErroriPcz
	xor eax, eax
	add esp, 0x43c
	pop ebx
	pop esi
	pop edi
	pop ebp
	ret
_Z22ItemParse_outlinecolorP9itemDef_si_50:
	mov eax, [ebp-0x420]
	mov [ebp-0x1c], eax
	jmp _Z22ItemParse_outlinecolorP9itemDef_si_90
_Z22ItemParse_outlinecolorP9itemDef_si_20:
	lea edx, [ebp-0x1c]
	mov eax, esi
	call _Z25PC_Float_Expression_ParseiPf
	test eax, eax
	jz _Z22ItemParse_outlinecolorP9itemDef_si_10
	mov eax, [ebp-0x1c]
	jmp _Z22ItemParse_outlinecolorP9itemDef_si_90
_Z22ItemParse_outlinecolorP9itemDef_si_80:
	mov eax, 0x1
	jmp _Z22ItemParse_outlinecolorP9itemDef_si_100


;ItemParse_background(itemDef_s*, int)
_Z20ItemParse_backgroundP9itemDef_si:
	push ebp
	mov ebp, esp
	push ebx
	sub esp, 0x464
	lea eax, [ebp-0x458]
	mov [esp+0x4], eax
	mov eax, [ebp+0xc]
	mov [esp], eax
	call _Z18PC_ReadTokenHandleiP10pc_token_s
	test eax, eax
	jnz _Z20ItemParse_backgroundP9itemDef_si_10
	add esp, 0x464
	pop ebx
	pop ebp
	ret
_Z20ItemParse_backgroundP9itemDef_si_10:
	lea eax, [ebp-0x448]
	mov [esp], eax
	call _Z12String_AllocPKc
	mov dword [esp+0x8], 0x40
	mov [esp+0x4], eax
	lea ebx, [ebp-0x48]
	mov [esp], ebx
	call _Z10I_strncpyzPcPKci
	mov [esp], ebx
	call _Z8I_strlwrPc
	mov edx, [ebp+0x8]
	mov eax, [edx+0x130]
	mov [esp+0x4], eax
	mov [esp], ebx
	call _Z23Material_RegisterHandlePKci
	mov edx, [ebp+0x8]
	mov [edx+0x98], eax
	mov eax, 0x1
	add esp, 0x464
	pop ebx
	pop ebp
	ret
	nop


;ItemParse_onFocus(itemDef_s*, int)
_Z17ItemParse_onFocusP9itemDef_si:
	push ebp
	mov ebp, esp
	sub esp, 0x8
	mov eax, [ebp+0xc]
	mov edx, [ebp+0x8]
	add edx, 0x104
	call _Z15PC_Script_ParseiPPKc
	test eax, eax
	setnz al
	movzx eax, al
	leave
	ret
	nop


;ItemParse_leaveFocus(itemDef_s*, int)
_Z20ItemParse_leaveFocusP9itemDef_si:
	push ebp
	mov ebp, esp
	sub esp, 0x8
	mov eax, [ebp+0xc]
	mov edx, [ebp+0x8]
	add edx, 0x108
	call _Z15PC_Script_ParseiPPKc
	test eax, eax
	setnz al
	movzx eax, al
	leave
	ret
	nop


;ItemParse_mouseEnter(itemDef_s*, int)
_Z20ItemParse_mouseEnterP9itemDef_si:
	push ebp
	mov ebp, esp
	sub esp, 0x8
	mov eax, [ebp+0xc]
	mov edx, [ebp+0x8]
	add edx, 0xf4
	call _Z15PC_Script_ParseiPPKc
	test eax, eax
	setnz al
	movzx eax, al
	leave
	ret
	nop


;ItemParse_mouseExit(itemDef_s*, int)
_Z19ItemParse_mouseExitP9itemDef_si:
	push ebp
	mov ebp, esp
	sub esp, 0x8
	mov eax, [ebp+0xc]
	mov edx, [ebp+0x8]
	add edx, 0xf8
	call _Z15PC_Script_ParseiPPKc
	test eax, eax
	setnz al
	movzx eax, al
	leave
	ret
	nop


;ItemParse_mouseEnterText(itemDef_s*, int)
_Z24ItemParse_mouseEnterTextP9itemDef_si:
	push ebp
	mov ebp, esp
	sub esp, 0x8
	mov eax, [ebp+0xc]
	mov edx, [ebp+0x8]
	add edx, 0xec
	call _Z15PC_Script_ParseiPPKc
	test eax, eax
	setnz al
	movzx eax, al
	leave
	ret
	nop


;ItemParse_mouseExitText(itemDef_s*, int)
_Z23ItemParse_mouseExitTextP9itemDef_si:
	push ebp
	mov ebp, esp
	sub esp, 0x8
	mov eax, [ebp+0xc]
	mov edx, [ebp+0x8]
	add edx, 0xf0
	call _Z15PC_Script_ParseiPPKc
	test eax, eax
	setnz al
	movzx eax, al
	leave
	ret
	nop


;ItemParse_action(itemDef_s*, int)
_Z16ItemParse_actionP9itemDef_si:
	push ebp
	mov ebp, esp
	sub esp, 0x8
	mov eax, [ebp+0xc]
	mov edx, [ebp+0x8]
	add edx, 0xfc
	call _Z15PC_Script_ParseiPPKc
	test eax, eax
	setnz al
	movzx eax, al
	leave
	ret
	nop


;ItemParse_accept(itemDef_s*, int)
_Z16ItemParse_acceptP9itemDef_si:
	push ebp
	mov ebp, esp
	sub esp, 0x8
	mov eax, [ebp+0xc]
	mov edx, [ebp+0x8]
	add edx, 0x100
	call _Z15PC_Script_ParseiPPKc
	test eax, eax
	setnz al
	movzx eax, al
	leave
	ret
	nop


;ItemParse_special(itemDef_s*, int)
_Z17ItemParse_specialP9itemDef_si:
	push ebp
	mov ebp, esp
	push edi
	push esi
	push ebx
	sub esp, 0x42c
	mov ebx, [ebp+0xc]
	mov esi, [ebp+0x8]
	add esi, 0x124
	lea edi, [ebp-0x428]
	mov [esp+0x4], edi
	mov [esp], ebx
	call _Z18PC_ReadTokenHandleiP10pc_token_s
	test eax, eax
	jz _Z17ItemParse_specialP9itemDef_si_10
	movzx eax, byte [ebp-0x418]
	cmp al, 0x28
	jz _Z17ItemParse_specialP9itemDef_si_20
	cmp al, 0x2d
	jz _Z17ItemParse_specialP9itemDef_si_30
	xor eax, eax
_Z17ItemParse_specialP9itemDef_si_60:
	cmp dword [ebp-0x428], 0x3
	jz _Z17ItemParse_specialP9itemDef_si_40
	lea eax, [ebp-0x418]
	mov [esp+0x8], eax
	mov dword [esp+0x4], _cstring_expected_float_b
	mov [esp], ebx
	call _Z14PC_SourceErroriPcz
	xor eax, eax
_Z17ItemParse_specialP9itemDef_si_70:
	test eax, eax
	setnz al
	movzx eax, al
	add esp, 0x42c
	pop ebx
	pop esi
	pop edi
	pop ebp
	ret
_Z17ItemParse_specialP9itemDef_si_10:
	xor eax, eax
	test eax, eax
	setnz al
	movzx eax, al
	add esp, 0x42c
	pop ebx
	pop esi
	pop edi
	pop ebp
	ret
_Z17ItemParse_specialP9itemDef_si_40:
	test eax, eax
	jnz _Z17ItemParse_specialP9itemDef_si_50
	mov eax, [ebp-0x41c]
	mov [esi], eax
	mov eax, 0x1
	test eax, eax
	setnz al
	movzx eax, al
	add esp, 0x42c
	pop ebx
	pop esi
	pop edi
	pop ebp
	ret
_Z17ItemParse_specialP9itemDef_si_50:
	mov eax, [ebp-0x41c]
	xor eax, 0x80000000
	mov [esi], eax
	mov eax, 0x1
	test eax, eax
	setnz al
	movzx eax, al
	add esp, 0x42c
	pop ebx
	pop esi
	pop edi
	pop ebp
	ret
_Z17ItemParse_specialP9itemDef_si_30:
	mov [esp+0x4], edi
	mov [esp], ebx
	call _Z18PC_ReadTokenHandleiP10pc_token_s
	test eax, eax
	jz _Z17ItemParse_specialP9itemDef_si_10
	mov eax, 0x1
	jmp _Z17ItemParse_specialP9itemDef_si_60
_Z17ItemParse_specialP9itemDef_si_20:
	mov edx, esi
	mov eax, ebx
	call _Z25PC_Float_Expression_ParseiPf
	jmp _Z17ItemParse_specialP9itemDef_si_70
	nop


;ItemParse_dvar(itemDef_s*, int)
_Z14ItemParse_dvarP9itemDef_si:
	push ebp
	mov ebp, esp
	push esi
	push ebx
	sub esp, 0x420
	mov esi, [ebp+0x8]
	mov ebx, [ebp+0xc]
	mov edx, ebx
	mov eax, esi
	call _Z21Item_ValidateTypeDataP9itemDef_si
	lea eax, [ebp-0x418]
	mov [esp+0x4], eax
	mov [esp], ebx
	call _Z18PC_ReadTokenHandleiP10pc_token_s
	test eax, eax
	jnz _Z14ItemParse_dvarP9itemDef_si_10
	add esp, 0x420
	pop ebx
	pop esi
	pop ebp
	ret
_Z14ItemParse_dvarP9itemDef_si_10:
	lea eax, [ebp-0x408]
	mov [esp], eax
	call _Z12String_AllocPKc
	mov [esi+0x10c], eax
	mov ebx, [esi+0x12c]
	test ebx, ebx
	jz _Z14ItemParse_dvarP9itemDef_si_20
	mov [esp], esi
	call _Z19Item_IsEditFieldDefP9itemDef_s
	test eax, eax
	jnz _Z14ItemParse_dvarP9itemDef_si_30
_Z14ItemParse_dvarP9itemDef_si_20:
	mov eax, 0x1
	add esp, 0x420
	pop ebx
	pop esi
	pop ebp
	ret
_Z14ItemParse_dvarP9itemDef_si_30:
	mov [esp], esi
	call _Z20Item_GetEditFieldDefP9itemDef_s
	mov edx, 0xbf800000
	mov [eax], edx
	mov [eax+0x4], edx
	mov [eax+0x8], edx
	mov eax, 0x1
	add esp, 0x420
	pop ebx
	pop esi
	pop ebp
	ret
	nop


;ItemParse_maxChars(itemDef_s*, int)
_Z18ItemParse_maxCharsP9itemDef_si:
	push ebp
	mov ebp, esp
	push edi
	push esi
	push ebx
	sub esp, 0x43c
	mov esi, [ebp+0x8]
	mov ebx, [ebp+0xc]
	mov edx, ebx
	mov eax, esi
	call _Z21Item_ValidateTypeDataP9itemDef_si
	mov eax, [esi+0x12c]
	test eax, eax
	jz _Z18ItemParse_maxCharsP9itemDef_si_10
	lea edi, [ebp-0x42c]
	mov [esp+0x4], edi
	mov [esp], ebx
	call _Z18PC_ReadTokenHandleiP10pc_token_s
	test eax, eax
	jz _Z18ItemParse_maxCharsP9itemDef_si_10
	movzx eax, byte [ebp-0x41c]
	cmp al, 0x28
	jz _Z18ItemParse_maxCharsP9itemDef_si_20
	cmp al, 0x2d
	jz _Z18ItemParse_maxCharsP9itemDef_si_30
	xor edx, edx
_Z18ItemParse_maxCharsP9itemDef_si_60:
	cmp dword [ebp-0x42c], 0x3
	jz _Z18ItemParse_maxCharsP9itemDef_si_40
	lea eax, [ebp-0x41c]
	mov [esp+0x8], eax
	mov dword [esp+0x4], _cstring_expected_integer
	mov [esp], ebx
	call _Z14PC_SourceErroriPcz
	xor eax, eax
	add esp, 0x43c
	pop ebx
	pop esi
	pop edi
	pop ebp
	ret
_Z18ItemParse_maxCharsP9itemDef_si_20:
	lea edx, [ebp-0x1c]
	mov eax, ebx
	call _Z23PC_Int_Expression_ParseiPi
	test eax, eax
	jnz _Z18ItemParse_maxCharsP9itemDef_si_50
_Z18ItemParse_maxCharsP9itemDef_si_10:
	xor eax, eax
	add esp, 0x43c
	pop ebx
	pop esi
	pop edi
	pop ebp
	ret
_Z18ItemParse_maxCharsP9itemDef_si_40:
	mov eax, [ebp-0x424]
	mov [ebp-0x1c], eax
	test edx, edx
	jz _Z18ItemParse_maxCharsP9itemDef_si_50
	neg eax
	mov [ebp-0x1c], eax
_Z18ItemParse_maxCharsP9itemDef_si_50:
	mov [esp], esi
	call _Z20Item_GetEditFieldDefP9itemDef_s
	mov edx, eax
	test eax, eax
	jz _Z18ItemParse_maxCharsP9itemDef_si_10
	mov eax, [ebp-0x1c]
	mov [edx+0x10], eax
	mov eax, 0x1
	add esp, 0x43c
	pop ebx
	pop esi
	pop edi
	pop ebp
	ret
_Z18ItemParse_maxCharsP9itemDef_si_30:
	mov [esp+0x4], edi
	mov [esp], ebx
	call _Z18PC_ReadTokenHandleiP10pc_token_s
	test eax, eax
	jz _Z18ItemParse_maxCharsP9itemDef_si_10
	mov edx, 0x1
	jmp _Z18ItemParse_maxCharsP9itemDef_si_60
	nop


;Item_Parse_maxCharsGotoNext(itemDef_s*, int)
_Z27Item_Parse_maxCharsGotoNextP9itemDef_si:
	push ebp
	mov ebp, esp
	push ebx
	sub esp, 0x14
	mov ebx, [ebp+0x8]
	mov edx, [ebp+0xc]
	mov eax, ebx
	call _Z21Item_ValidateTypeDataP9itemDef_si
	mov eax, [ebx+0x12c]
	test eax, eax
	jz _Z27Item_Parse_maxCharsGotoNextP9itemDef_si_10
	mov [esp], ebx
	call _Z20Item_GetEditFieldDefP9itemDef_s
	test eax, eax
	jz _Z27Item_Parse_maxCharsGotoNextP9itemDef_si_10
	mov dword [eax+0x14], 0x1
	mov eax, 0x1
	add esp, 0x14
	pop ebx
	pop ebp
	ret
_Z27Item_Parse_maxCharsGotoNextP9itemDef_si_10:
	xor eax, eax
	add esp, 0x14
	pop ebx
	pop ebp
	ret


;ItemParse_maxPaintChars(itemDef_s*, int)
_Z23ItemParse_maxPaintCharsP9itemDef_si:
	push ebp
	mov ebp, esp
	push edi
	push esi
	push ebx
	sub esp, 0x43c
	mov esi, [ebp+0x8]
	mov ebx, [ebp+0xc]
	mov edx, ebx
	mov eax, esi
	call _Z21Item_ValidateTypeDataP9itemDef_si
	mov eax, [esi+0x12c]
	test eax, eax
	jz _Z23ItemParse_maxPaintCharsP9itemDef_si_10
	lea edi, [ebp-0x42c]
	mov [esp+0x4], edi
	mov [esp], ebx
	call _Z18PC_ReadTokenHandleiP10pc_token_s
	test eax, eax
	jz _Z23ItemParse_maxPaintCharsP9itemDef_si_10
	movzx eax, byte [ebp-0x41c]
	cmp al, 0x28
	jz _Z23ItemParse_maxPaintCharsP9itemDef_si_20
	cmp al, 0x2d
	jz _Z23ItemParse_maxPaintCharsP9itemDef_si_30
	xor edx, edx
_Z23ItemParse_maxPaintCharsP9itemDef_si_60:
	cmp dword [ebp-0x42c], 0x3
	jz _Z23ItemParse_maxPaintCharsP9itemDef_si_40
	lea eax, [ebp-0x41c]
	mov [esp+0x8], eax
	mov dword [esp+0x4], _cstring_expected_integer
	mov [esp], ebx
	call _Z14PC_SourceErroriPcz
	xor eax, eax
	add esp, 0x43c
	pop ebx
	pop esi
	pop edi
	pop ebp
	ret
_Z23ItemParse_maxPaintCharsP9itemDef_si_20:
	lea edx, [ebp-0x1c]
	mov eax, ebx
	call _Z23PC_Int_Expression_ParseiPi
	test eax, eax
	jnz _Z23ItemParse_maxPaintCharsP9itemDef_si_50
_Z23ItemParse_maxPaintCharsP9itemDef_si_10:
	xor eax, eax
	add esp, 0x43c
	pop ebx
	pop esi
	pop edi
	pop ebp
	ret
_Z23ItemParse_maxPaintCharsP9itemDef_si_40:
	mov eax, [ebp-0x424]
	mov [ebp-0x1c], eax
	test edx, edx
	jz _Z23ItemParse_maxPaintCharsP9itemDef_si_50
	neg eax
	mov [ebp-0x1c], eax
_Z23ItemParse_maxPaintCharsP9itemDef_si_50:
	mov [esp], esi
	call _Z20Item_GetEditFieldDefP9itemDef_s
	mov edx, eax
	test eax, eax
	jz _Z23ItemParse_maxPaintCharsP9itemDef_si_10
	mov eax, [ebp-0x1c]
	mov [edx+0x18], eax
	mov eax, 0x1
	add esp, 0x43c
	pop ebx
	pop esi
	pop edi
	pop ebp
	ret
_Z23ItemParse_maxPaintCharsP9itemDef_si_30:
	mov [esp+0x4], edi
	mov [esp], ebx
	call _Z18PC_ReadTokenHandleiP10pc_token_s
	test eax, eax
	jz _Z23ItemParse_maxPaintCharsP9itemDef_si_10
	mov edx, 0x1
	jmp _Z23ItemParse_maxPaintCharsP9itemDef_si_60
	nop


;ItemParse_focusSound(itemDef_s*, int)
_Z20ItemParse_focusSoundP9itemDef_si:
	push ebp
	mov ebp, esp
	sub esp, 0x428
	lea eax, [ebp-0x418]
	mov [esp+0x4], eax
	mov eax, [ebp+0xc]
	mov [esp], eax
	call _Z18PC_ReadTokenHandleiP10pc_token_s
	test eax, eax
	jnz _Z20ItemParse_focusSoundP9itemDef_si_10
	leave
	ret
_Z20ItemParse_focusSoundP9itemDef_si_10:
	lea eax, [ebp-0x408]
	mov [esp], eax
	call _Z12String_AllocPKc
	mov [esp], eax
	call _Z18Com_FindSoundAliasPKc
	mov edx, [ebp+0x8]
	mov [edx+0x120], eax
	mov eax, 0x1
	leave
	ret


;ItemParse_dvarFloat(itemDef_s*, int)
_Z19ItemParse_dvarFloatP9itemDef_si:
	push ebp
	mov ebp, esp
	push edi
	push esi
	push ebx
	sub esp, 0x42c
	mov ebx, [ebp+0x8]
	mov esi, [ebp+0xc]
	mov edx, esi
	mov eax, ebx
	call _Z21Item_ValidateTypeDataP9itemDef_si
	mov eax, [ebx+0x12c]
	test eax, eax
	jz _Z19ItemParse_dvarFloatP9itemDef_si_10
	mov [esp], ebx
	call _Z20Item_GetEditFieldDefP9itemDef_s
	mov edi, eax
	test eax, eax
	jz _Z19ItemParse_dvarFloatP9itemDef_si_10
	lea eax, [ebp-0x428]
	mov [esp+0x4], eax
	mov [esp], esi
	call _Z18PC_ReadTokenHandleiP10pc_token_s
	test eax, eax
	jnz _Z19ItemParse_dvarFloatP9itemDef_si_20
_Z19ItemParse_dvarFloatP9itemDef_si_10:
	xor eax, eax
_Z19ItemParse_dvarFloatP9itemDef_si_130:
	add esp, 0x42c
	pop ebx
	pop esi
	pop edi
	pop ebp
	ret
_Z19ItemParse_dvarFloatP9itemDef_si_20:
	lea eax, [ebp-0x418]
	mov [esp], eax
	call _Z12String_AllocPKc
	mov [ebx+0x10c], eax
	lea ebx, [edi+0x8]
	lea eax, [ebp-0x428]
	mov [esp+0x4], eax
	mov [esp], esi
	call _Z18PC_ReadTokenHandleiP10pc_token_s
	test eax, eax
	jz _Z19ItemParse_dvarFloatP9itemDef_si_10
	movzx eax, byte [ebp-0x418]
	cmp al, 0x28
	jz _Z19ItemParse_dvarFloatP9itemDef_si_30
	cmp al, 0x2d
	jz _Z19ItemParse_dvarFloatP9itemDef_si_40
	xor eax, eax
_Z19ItemParse_dvarFloatP9itemDef_si_150:
	cmp dword [ebp-0x428], 0x3
	jnz _Z19ItemParse_dvarFloatP9itemDef_si_50
	test eax, eax
	jz _Z19ItemParse_dvarFloatP9itemDef_si_60
	mov eax, [ebp-0x41c]
	xor eax, 0x80000000
	mov [ebx], eax
_Z19ItemParse_dvarFloatP9itemDef_si_140:
	lea eax, [ebp-0x428]
	mov [esp+0x4], eax
	mov [esp], esi
	call _Z18PC_ReadTokenHandleiP10pc_token_s
	test eax, eax
	jz _Z19ItemParse_dvarFloatP9itemDef_si_10
	movzx eax, byte [ebp-0x418]
	cmp al, 0x28
	jz _Z19ItemParse_dvarFloatP9itemDef_si_70
	cmp al, 0x2d
	jz _Z19ItemParse_dvarFloatP9itemDef_si_80
	xor eax, eax
_Z19ItemParse_dvarFloatP9itemDef_si_170:
	cmp dword [ebp-0x428], 0x3
	jnz _Z19ItemParse_dvarFloatP9itemDef_si_50
	test eax, eax
	jz _Z19ItemParse_dvarFloatP9itemDef_si_90
	mov eax, [ebp-0x41c]
	xor eax, 0x80000000
	mov [edi], eax
_Z19ItemParse_dvarFloatP9itemDef_si_160:
	lea ebx, [edi+0x4]
	lea eax, [ebp-0x428]
	mov [esp+0x4], eax
	mov [esp], esi
	call _Z18PC_ReadTokenHandleiP10pc_token_s
	test eax, eax
	jz _Z19ItemParse_dvarFloatP9itemDef_si_10
	movzx eax, byte [ebp-0x418]
	cmp al, 0x28
	jz _Z19ItemParse_dvarFloatP9itemDef_si_100
	cmp al, 0x2d
	jz _Z19ItemParse_dvarFloatP9itemDef_si_110
	xor eax, eax
_Z19ItemParse_dvarFloatP9itemDef_si_180:
	cmp dword [ebp-0x428], 0x3
	jnz _Z19ItemParse_dvarFloatP9itemDef_si_50
	test eax, eax
	jz _Z19ItemParse_dvarFloatP9itemDef_si_120
	mov eax, [ebp-0x41c]
	xor eax, 0x80000000
	mov [ebx], eax
	mov eax, 0x1
	jmp _Z19ItemParse_dvarFloatP9itemDef_si_130
_Z19ItemParse_dvarFloatP9itemDef_si_50:
	lea eax, [ebp-0x418]
	mov [esp+0x8], eax
	mov dword [esp+0x4], _cstring_expected_float_b
	mov [esp], esi
	call _Z14PC_SourceErroriPcz
	xor eax, eax
	add esp, 0x42c
	pop ebx
	pop esi
	pop edi
	pop ebp
	ret
_Z19ItemParse_dvarFloatP9itemDef_si_60:
	mov eax, [ebp-0x41c]
	mov [ebx], eax
	jmp _Z19ItemParse_dvarFloatP9itemDef_si_140
_Z19ItemParse_dvarFloatP9itemDef_si_30:
	mov edx, ebx
	mov eax, esi
	call _Z25PC_Float_Expression_ParseiPf
	test eax, eax
	jnz _Z19ItemParse_dvarFloatP9itemDef_si_140
	jmp _Z19ItemParse_dvarFloatP9itemDef_si_10
_Z19ItemParse_dvarFloatP9itemDef_si_40:
	lea eax, [ebp-0x428]
	mov [esp+0x4], eax
	mov [esp], esi
	call _Z18PC_ReadTokenHandleiP10pc_token_s
	test eax, eax
	jz _Z19ItemParse_dvarFloatP9itemDef_si_10
	mov eax, 0x1
	jmp _Z19ItemParse_dvarFloatP9itemDef_si_150
_Z19ItemParse_dvarFloatP9itemDef_si_90:
	mov eax, [ebp-0x41c]
	mov [edi], eax
	jmp _Z19ItemParse_dvarFloatP9itemDef_si_160
_Z19ItemParse_dvarFloatP9itemDef_si_70:
	mov edx, edi
	mov eax, esi
	call _Z25PC_Float_Expression_ParseiPf
	test eax, eax
	jnz _Z19ItemParse_dvarFloatP9itemDef_si_160
	jmp _Z19ItemParse_dvarFloatP9itemDef_si_10
_Z19ItemParse_dvarFloatP9itemDef_si_80:
	lea eax, [ebp-0x428]
	mov [esp+0x4], eax
	mov [esp], esi
	call _Z18PC_ReadTokenHandleiP10pc_token_s
	test eax, eax
	jz _Z19ItemParse_dvarFloatP9itemDef_si_10
	mov eax, 0x1
	jmp _Z19ItemParse_dvarFloatP9itemDef_si_170
_Z19ItemParse_dvarFloatP9itemDef_si_120:
	mov eax, [ebp-0x41c]
	mov [ebx], eax
	mov eax, 0x1
	jmp _Z19ItemParse_dvarFloatP9itemDef_si_130
_Z19ItemParse_dvarFloatP9itemDef_si_100:
	mov edx, ebx
	mov eax, esi
	call _Z25PC_Float_Expression_ParseiPf
	test eax, eax
	jz _Z19ItemParse_dvarFloatP9itemDef_si_10
	mov eax, 0x1
	jmp _Z19ItemParse_dvarFloatP9itemDef_si_130
_Z19ItemParse_dvarFloatP9itemDef_si_110:
	lea eax, [ebp-0x428]
	mov [esp+0x4], eax
	mov [esp], esi
	call _Z18PC_ReadTokenHandleiP10pc_token_s
	test eax, eax
	jz _Z19ItemParse_dvarFloatP9itemDef_si_10
	mov eax, 0x1
	jmp _Z19ItemParse_dvarFloatP9itemDef_si_180
	nop


;ItemParse_dvarStrList(itemDef_s*, int)
_Z21ItemParse_dvarStrListP9itemDef_si:
	push ebp
	mov ebp, esp
	push edi
	push esi
	push ebx
	sub esp, 0x42c
	mov ebx, [ebp+0x8]
	mov edi, [ebp+0xc]
	mov edx, edi
	mov eax, ebx
	call _Z21Item_ValidateTypeDataP9itemDef_si
	mov eax, [ebx+0x12c]
	test eax, eax
	jz _Z21ItemParse_dvarStrListP9itemDef_si_10
	cmp dword [ebx+0xb4], 0xc
	jz _Z21ItemParse_dvarStrListP9itemDef_si_20
_Z21ItemParse_dvarStrListP9itemDef_si_10:
	xor eax, eax
_Z21ItemParse_dvarStrListP9itemDef_si_80:
	add esp, 0x42c
	pop ebx
	pop esi
	pop edi
	pop ebp
	ret
_Z21ItemParse_dvarStrListP9itemDef_si_20:
	mov [esp], ebx
	call _Z16Item_GetMultiDefP9itemDef_s
	mov esi, eax
	mov dword [eax+0x180], 0x0
	mov dword [eax+0x184], 0x1
	lea eax, [ebp-0x428]
	mov [esp+0x4], eax
	mov [esp], edi
	call _Z18PC_ReadTokenHandleiP10pc_token_s
	test eax, eax
	jz _Z21ItemParse_dvarStrListP9itemDef_si_10
	cmp byte [ebp-0x418], 0x7b
	jnz _Z21ItemParse_dvarStrListP9itemDef_si_10
_Z21ItemParse_dvarStrListP9itemDef_si_90:
	xor ebx, ebx
_Z21ItemParse_dvarStrListP9itemDef_si_50:
	lea eax, [ebp-0x428]
	mov [esp+0x4], eax
	mov [esp], edi
	call _Z18PC_ReadTokenHandleiP10pc_token_s
	test eax, eax
	jz _Z21ItemParse_dvarStrListP9itemDef_si_30
_Z21ItemParse_dvarStrListP9itemDef_si_70:
	movzx eax, byte [ebp-0x418]
	cmp al, 0x7d
	jz _Z21ItemParse_dvarStrListP9itemDef_si_40
	cmp al, 0x2c
	jz _Z21ItemParse_dvarStrListP9itemDef_si_50
	cmp al, 0x3b
	jz _Z21ItemParse_dvarStrListP9itemDef_si_50
	test ebx, ebx
	jnz _Z21ItemParse_dvarStrListP9itemDef_si_60
	mov ebx, [esi+0x180]
	lea eax, [ebp-0x418]
	mov [esp], eax
	call _Z12String_AllocPKc
	mov [esi+ebx*4], eax
	mov ebx, 0x1
	lea eax, [ebp-0x428]
	mov [esp+0x4], eax
	mov [esp], edi
	call _Z18PC_ReadTokenHandleiP10pc_token_s
	test eax, eax
	jnz _Z21ItemParse_dvarStrListP9itemDef_si_70
_Z21ItemParse_dvarStrListP9itemDef_si_30:
	mov dword [esp+0x4], _cstring_end_of_file_insi
	mov [esp], edi
	call _Z14PC_SourceErroriPcz
	xor eax, eax
	jmp _Z21ItemParse_dvarStrListP9itemDef_si_80
_Z21ItemParse_dvarStrListP9itemDef_si_60:
	mov ebx, [esi+0x180]
	lea eax, [ebp-0x418]
	mov [esp], eax
	call _Z12String_AllocPKc
	mov [esi+ebx*4+0x80], eax
	mov eax, [esi+0x180]
	add eax, 0x1
	mov [esi+0x180], eax
	cmp eax, 0x1f
	jle _Z21ItemParse_dvarStrListP9itemDef_si_90
	jmp _Z21ItemParse_dvarStrListP9itemDef_si_10
_Z21ItemParse_dvarStrListP9itemDef_si_40:
	mov eax, 0x1
	jmp _Z21ItemParse_dvarStrListP9itemDef_si_80


;ItemParse_dvarFloatList(itemDef_s*, int)
_Z23ItemParse_dvarFloatListP9itemDef_si:
	push ebp
	mov ebp, esp
	push edi
	push esi
	push ebx
	sub esp, 0x83c
	mov ebx, [ebp+0x8]
	mov esi, [ebp+0xc]
	mov edx, esi
	mov eax, ebx
	call _Z21Item_ValidateTypeDataP9itemDef_si
	mov eax, [ebx+0x12c]
	test eax, eax
	jz _Z23ItemParse_dvarFloatListP9itemDef_si_10
	cmp dword [ebx+0xb4], 0xc
	jz _Z23ItemParse_dvarFloatListP9itemDef_si_20
_Z23ItemParse_dvarFloatListP9itemDef_si_10:
	xor eax, eax
_Z23ItemParse_dvarFloatListP9itemDef_si_90:
	add esp, 0x83c
	pop ebx
	pop esi
	pop edi
	pop ebp
	ret
_Z23ItemParse_dvarFloatListP9itemDef_si_20:
	mov [esp], ebx
	call _Z16Item_GetMultiDefP9itemDef_s
	mov edi, eax
	mov dword [eax+0x180], 0x0
	mov dword [eax+0x184], 0x0
	lea eax, [ebp-0x428]
	mov [esp+0x4], eax
	mov [esp], esi
	call _Z18PC_ReadTokenHandleiP10pc_token_s
	test eax, eax
	jz _Z23ItemParse_dvarFloatListP9itemDef_si_10
	cmp byte [ebp-0x418], 0x7b
	jnz _Z23ItemParse_dvarFloatListP9itemDef_si_10
_Z23ItemParse_dvarFloatListP9itemDef_si_50:
	lea eax, [ebp-0x428]
	mov [esp+0x4], eax
	mov [esp], esi
	call _Z18PC_ReadTokenHandleiP10pc_token_s
	test eax, eax
	jz _Z23ItemParse_dvarFloatListP9itemDef_si_30
	movzx eax, byte [ebp-0x418]
	cmp al, 0x7d
	jz _Z23ItemParse_dvarFloatListP9itemDef_si_40
	cmp al, 0x2c
	jz _Z23ItemParse_dvarFloatListP9itemDef_si_50
	cmp al, 0x3b
	jz _Z23ItemParse_dvarFloatListP9itemDef_si_50
	mov ebx, [edi+0x180]
	lea eax, [ebp-0x418]
	mov [esp], eax
	call _Z12String_AllocPKc
	mov [edi+ebx*4], eax
	mov eax, [edi+0x180]
	lea ebx, [edi+eax*4+0x100]
	lea eax, [ebp-0x838]
	mov [esp+0x4], eax
	mov [esp], esi
	call _Z18PC_ReadTokenHandleiP10pc_token_s
	test eax, eax
	jz _Z23ItemParse_dvarFloatListP9itemDef_si_10
	movzx eax, byte [ebp-0x828]
	cmp al, 0x28
	jz _Z23ItemParse_dvarFloatListP9itemDef_si_60
	cmp al, 0x2d
	jz _Z23ItemParse_dvarFloatListP9itemDef_si_70
	xor eax, eax
_Z23ItemParse_dvarFloatListP9itemDef_si_120:
	cmp dword [ebp-0x838], 0x3
	jz _Z23ItemParse_dvarFloatListP9itemDef_si_80
	lea eax, [ebp-0x828]
	mov [esp+0x8], eax
	mov dword [esp+0x4], _cstring_expected_float_b
	mov [esp], esi
	call _Z14PC_SourceErroriPcz
	xor eax, eax
	jmp _Z23ItemParse_dvarFloatListP9itemDef_si_90
_Z23ItemParse_dvarFloatListP9itemDef_si_80:
	test eax, eax
	jz _Z23ItemParse_dvarFloatListP9itemDef_si_100
	mov eax, [ebp-0x82c]
	xor eax, 0x80000000
	mov [ebx], eax
_Z23ItemParse_dvarFloatListP9itemDef_si_110:
	mov eax, [edi+0x180]
	add eax, 0x1
	mov [edi+0x180], eax
	cmp eax, 0x1f
	jle _Z23ItemParse_dvarFloatListP9itemDef_si_50
	jmp _Z23ItemParse_dvarFloatListP9itemDef_si_10
_Z23ItemParse_dvarFloatListP9itemDef_si_100:
	mov eax, [ebp-0x82c]
	mov [ebx], eax
	jmp _Z23ItemParse_dvarFloatListP9itemDef_si_110
_Z23ItemParse_dvarFloatListP9itemDef_si_60:
	mov edx, ebx
	mov eax, esi
	call _Z25PC_Float_Expression_ParseiPf
	test eax, eax
	jnz _Z23ItemParse_dvarFloatListP9itemDef_si_110
	jmp _Z23ItemParse_dvarFloatListP9itemDef_si_10
_Z23ItemParse_dvarFloatListP9itemDef_si_30:
	mov dword [esp+0x4], _cstring_end_of_file_insi
	mov [esp], esi
	call _Z14PC_SourceErroriPcz
	xor eax, eax
	jmp _Z23ItemParse_dvarFloatListP9itemDef_si_90
_Z23ItemParse_dvarFloatListP9itemDef_si_40:
	mov eax, 0x1
	jmp _Z23ItemParse_dvarFloatListP9itemDef_si_90
_Z23ItemParse_dvarFloatListP9itemDef_si_70:
	lea eax, [ebp-0x838]
	mov [esp+0x4], eax
	mov [esp], esi
	call _Z18PC_ReadTokenHandleiP10pc_token_s
	test eax, eax
	jz _Z23ItemParse_dvarFloatListP9itemDef_si_10
	mov eax, 0x1
	jmp _Z23ItemParse_dvarFloatListP9itemDef_si_120
	nop


;ItemParse_dvarEnumList(itemDef_s*, int)
_Z22ItemParse_dvarEnumListP9itemDef_si:
	push ebp
	mov ebp, esp
	push esi
	push ebx
	sub esp, 0x420
	mov esi, [ebp+0x8]
	mov ebx, [ebp+0xc]
	mov edx, ebx
	mov eax, esi
	call _Z21Item_ValidateTypeDataP9itemDef_si
	cmp dword [esi+0xb4], 0xd
	jz _Z22ItemParse_dvarEnumListP9itemDef_si_10
_Z22ItemParse_dvarEnumListP9itemDef_si_30:
	xor eax, eax
_Z22ItemParse_dvarEnumListP9itemDef_si_40:
	add esp, 0x420
	pop ebx
	pop esi
	pop ebp
	ret
_Z22ItemParse_dvarEnumListP9itemDef_si_10:
	mov eax, [esi+0x12c]
	test eax, eax
	jz _Z22ItemParse_dvarEnumListP9itemDef_si_20
	mov dword [esp+0x4], _cstring_enumdvarlist_alr
	mov [esp], ebx
	call _Z14PC_SourceErroriPcz
	xor eax, eax
	add esp, 0x420
	pop ebx
	pop esi
	pop ebp
	ret
_Z22ItemParse_dvarEnumListP9itemDef_si_20:
	lea eax, [ebp-0x418]
	mov [esp+0x4], eax
	mov [esp], ebx
	call _Z18PC_ReadTokenHandleiP10pc_token_s
	test eax, eax
	jz _Z22ItemParse_dvarEnumListP9itemDef_si_30
	lea eax, [ebp-0x408]
	mov [esp], eax
	call _Z12String_AllocPKc
	mov [esi+0x12c], eax
	mov eax, 0x1
	jmp _Z22ItemParse_dvarEnumListP9itemDef_si_40


;ItemParse_ownerdrawFlag(itemDef_s*, int)
_Z23ItemParse_ownerdrawFlagP9itemDef_si:
	push ebp
	mov ebp, esp
	push esi
	push ebx
	sub esp, 0x430
	mov ebx, [ebp+0xc]
	lea esi, [ebp-0x41c]
	mov [esp+0x4], esi
	mov [esp], ebx
	call _Z18PC_ReadTokenHandleiP10pc_token_s
	test eax, eax
	jz _Z23ItemParse_ownerdrawFlagP9itemDef_si_10
	movzx eax, byte [ebp-0x40c]
	cmp al, 0x28
	jz _Z23ItemParse_ownerdrawFlagP9itemDef_si_20
	cmp al, 0x2d
	jz _Z23ItemParse_ownerdrawFlagP9itemDef_si_30
	xor edx, edx
_Z23ItemParse_ownerdrawFlagP9itemDef_si_70:
	cmp dword [ebp-0x41c], 0x3
	jz _Z23ItemParse_ownerdrawFlagP9itemDef_si_40
	lea eax, [ebp-0x40c]
	mov [esp+0x8], eax
	mov dword [esp+0x4], _cstring_expected_integer
	mov [esp], ebx
	call _Z14PC_SourceErroriPcz
	xor eax, eax
	add esp, 0x430
	pop ebx
	pop esi
	pop ebp
	ret
_Z23ItemParse_ownerdrawFlagP9itemDef_si_30:
	mov [esp+0x4], esi
	mov [esp], ebx
	call _Z18PC_ReadTokenHandleiP10pc_token_s
	test eax, eax
	jnz _Z23ItemParse_ownerdrawFlagP9itemDef_si_50
_Z23ItemParse_ownerdrawFlagP9itemDef_si_10:
	xor eax, eax
	add esp, 0x430
	pop ebx
	pop esi
	pop ebp
	ret
_Z23ItemParse_ownerdrawFlagP9itemDef_si_20:
	lea edx, [ebp-0xc]
	mov eax, ebx
	call _Z23PC_Int_Expression_ParseiPi
	test eax, eax
	jz _Z23ItemParse_ownerdrawFlagP9itemDef_si_10
_Z23ItemParse_ownerdrawFlagP9itemDef_si_60:
	mov edx, [ebp+0x8]
	mov eax, [edx+0x44]
	or eax, [ebp-0xc]
	mov [edx+0x44], eax
	mov eax, 0x1
	add esp, 0x430
	pop ebx
	pop esi
	pop ebp
	ret
_Z23ItemParse_ownerdrawFlagP9itemDef_si_40:
	mov eax, [ebp-0x414]
	mov [ebp-0xc], eax
	test edx, edx
	jz _Z23ItemParse_ownerdrawFlagP9itemDef_si_60
	neg eax
	mov [ebp-0xc], eax
	jmp _Z23ItemParse_ownerdrawFlagP9itemDef_si_60
_Z23ItemParse_ownerdrawFlagP9itemDef_si_50:
	mov edx, 0x1
	jmp _Z23ItemParse_ownerdrawFlagP9itemDef_si_70
	nop


;ItemParse_enableDvar(itemDef_s*, int)
_Z20ItemParse_enableDvarP9itemDef_si:
	push ebp
	mov ebp, esp
	push ebx
	sub esp, 0x4
	mov ebx, [ebp+0x8]
	mov eax, [ebp+0xc]
	lea edx, [ebx+0x118]
	call _Z15PC_Script_ParseiPPKc
	test eax, eax
	jz _Z20ItemParse_enableDvarP9itemDef_si_10
	or dword [ebx+0x11c], 0x1
	mov eax, 0x1
_Z20ItemParse_enableDvarP9itemDef_si_10:
	add esp, 0x4
	pop ebx
	pop ebp
	ret


;ItemParse_dvarTest(itemDef_s*, int)
_Z18ItemParse_dvarTestP9itemDef_si:
	push ebp
	mov ebp, esp
	sub esp, 0x428
	lea eax, [ebp-0x418]
	mov [esp+0x4], eax
	mov eax, [ebp+0xc]
	mov [esp], eax
	call _Z18PC_ReadTokenHandleiP10pc_token_s
	test eax, eax
	jnz _Z18ItemParse_dvarTestP9itemDef_si_10
	leave
	ret
_Z18ItemParse_dvarTestP9itemDef_si_10:
	lea eax, [ebp-0x408]
	mov [esp], eax
	call _Z12String_AllocPKc
	mov edx, [ebp+0x8]
	mov [edx+0x110], eax
	mov eax, 0x1
	leave
	ret


;ItemParse_disableDvar(itemDef_s*, int)
_Z21ItemParse_disableDvarP9itemDef_si:
	push ebp
	mov ebp, esp
	push ebx
	sub esp, 0x4
	mov ebx, [ebp+0x8]
	mov eax, [ebp+0xc]
	lea edx, [ebx+0x118]
	call _Z15PC_Script_ParseiPPKc
	test eax, eax
	jz _Z21ItemParse_disableDvarP9itemDef_si_10
	or dword [ebx+0x11c], 0x2
	mov eax, 0x1
_Z21ItemParse_disableDvarP9itemDef_si_10:
	add esp, 0x4
	pop ebx
	pop ebp
	ret


;ItemParse_showDvar(itemDef_s*, int)
_Z18ItemParse_showDvarP9itemDef_si:
	push ebp
	mov ebp, esp
	push ebx
	sub esp, 0x4
	mov ebx, [ebp+0x8]
	mov eax, [ebp+0xc]
	lea edx, [ebx+0x118]
	call _Z15PC_Script_ParseiPPKc
	test eax, eax
	jz _Z18ItemParse_showDvarP9itemDef_si_10
	or dword [ebx+0x11c], 0x4
	mov eax, 0x1
_Z18ItemParse_showDvarP9itemDef_si_10:
	add esp, 0x4
	pop ebx
	pop ebp
	ret


;ItemParse_hideDvar(itemDef_s*, int)
_Z18ItemParse_hideDvarP9itemDef_si:
	push ebp
	mov ebp, esp
	push ebx
	sub esp, 0x4
	mov ebx, [ebp+0x8]
	mov eax, [ebp+0xc]
	lea edx, [ebx+0x118]
	call _Z15PC_Script_ParseiPPKc
	test eax, eax
	jz _Z18ItemParse_hideDvarP9itemDef_si_10
	or dword [ebx+0x11c], 0x8
	mov eax, 0x1
_Z18ItemParse_hideDvarP9itemDef_si_10:
	add esp, 0x4
	pop ebx
	pop ebp
	ret


;ItemParse_focusDvar(itemDef_s*, int)
_Z19ItemParse_focusDvarP9itemDef_si:
	push ebp
	mov ebp, esp
	push ebx
	sub esp, 0x4
	mov ebx, [ebp+0x8]
	mov eax, [ebp+0xc]
	lea edx, [ebx+0x118]
	call _Z15PC_Script_ParseiPPKc
	test eax, eax
	jz _Z19ItemParse_focusDvarP9itemDef_si_10
	or dword [ebx+0x11c], 0x10
	mov eax, 0x1
_Z19ItemParse_focusDvarP9itemDef_si_10:
	add esp, 0x4
	pop ebx
	pop ebp
	ret


;ItemParse_doubleClick(itemDef_s*, int)
_Z21ItemParse_doubleClickP9itemDef_si:
	push ebp
	mov ebp, esp
	push esi
	push ebx
	sub esp, 0x10
	mov ebx, [ebp+0x8]
	mov esi, [ebp+0xc]
	mov edx, esi
	mov eax, ebx
	call _Z21Item_ValidateTypeDataP9itemDef_si
	mov eax, [ebx+0x12c]
	test eax, eax
	jz _Z21ItemParse_doubleClickP9itemDef_si_10
	mov [esp], ebx
	call _Z18Item_GetListBoxDefP9itemDef_s
	test eax, eax
	jz _Z21ItemParse_doubleClickP9itemDef_si_10
	lea edx, [eax+0x120]
	mov eax, esi
	call _Z15PC_Script_ParseiPPKc
	test eax, eax
	jnz _Z21ItemParse_doubleClickP9itemDef_si_20
_Z21ItemParse_doubleClickP9itemDef_si_10:
	xor eax, eax
	add esp, 0x10
	pop ebx
	pop esi
	pop ebp
	ret
_Z21ItemParse_doubleClickP9itemDef_si_20:
	mov eax, 0x1
	add esp, 0x10
	pop ebx
	pop esi
	pop ebp
	ret
	nop


;ItemParse_execKey(itemDef_s*, int)
_Z17ItemParse_execKeyP9itemDef_si:
	push ebp
	mov ebp, esp
	push esi
	push ebx
	sub esp, 0x430
	mov ebx, [ebp+0xc]
	lea eax, [ebp-0x41c]
	mov [esp+0x4], eax
	mov [esp], ebx
	call _Z18PC_ReadTokenHandleiP10pc_token_s
	test eax, eax
	jz _Z17ItemParse_execKeyP9itemDef_si_10
	movzx esi, byte [ebp-0x40c]
	lea edx, [ebp-0xc]
	mov eax, ebx
	call _Z15PC_Script_ParseiPPKc
	test eax, eax
	jnz _Z17ItemParse_execKeyP9itemDef_si_20
_Z17ItemParse_execKeyP9itemDef_si_10:
	xor eax, eax
	add esp, 0x430
	pop ebx
	pop esi
	pop ebp
	ret
_Z17ItemParse_execKeyP9itemDef_si_20:
	mov dword [esp+0x4], 0x4
	mov dword [esp], 0xc
	call _Z8UI_Allocii
	movsx edx, si
	mov [eax], edx
	mov edx, [ebp-0xc]
	mov [eax+0x4], edx
	mov ecx, [ebp+0x8]
	mov edx, [ecx+0x114]
	mov [eax+0x8], edx
	mov [ecx+0x114], eax
	mov eax, 0x1
	add esp, 0x430
	pop ebx
	pop esi
	pop ebp
	ret
	nop


;ItemParse_execKeyInt(itemDef_s*, int)
_Z20ItemParse_execKeyIntP9itemDef_si:
	push ebp
	mov ebp, esp
	push esi
	push ebx
	sub esp, 0x430
	mov ebx, [ebp+0xc]
	lea esi, [ebp-0x420]
	mov [esp+0x4], esi
	mov [esp], ebx
	call _Z18PC_ReadTokenHandleiP10pc_token_s
	test eax, eax
	jz _Z20ItemParse_execKeyIntP9itemDef_si_10
	movzx eax, byte [ebp-0x410]
	cmp al, 0x28
	jz _Z20ItemParse_execKeyIntP9itemDef_si_20
	cmp al, 0x2d
	jz _Z20ItemParse_execKeyIntP9itemDef_si_30
	xor edx, edx
_Z20ItemParse_execKeyIntP9itemDef_si_70:
	cmp dword [ebp-0x420], 0x3
	jz _Z20ItemParse_execKeyIntP9itemDef_si_40
	lea eax, [ebp-0x410]
	mov [esp+0x8], eax
	mov dword [esp+0x4], _cstring_expected_integer
	mov [esp], ebx
	call _Z14PC_SourceErroriPcz
	xor eax, eax
	add esp, 0x430
	pop ebx
	pop esi
	pop ebp
	ret
_Z20ItemParse_execKeyIntP9itemDef_si_30:
	mov [esp+0x4], esi
	mov [esp], ebx
	call _Z18PC_ReadTokenHandleiP10pc_token_s
	test eax, eax
	jnz _Z20ItemParse_execKeyIntP9itemDef_si_50
_Z20ItemParse_execKeyIntP9itemDef_si_10:
	xor eax, eax
	add esp, 0x430
	pop ebx
	pop esi
	pop ebp
	ret
_Z20ItemParse_execKeyIntP9itemDef_si_20:
	lea edx, [ebp-0xc]
	mov eax, ebx
	call _Z23PC_Int_Expression_ParseiPi
	test eax, eax
	jz _Z20ItemParse_execKeyIntP9itemDef_si_10
_Z20ItemParse_execKeyIntP9itemDef_si_60:
	lea edx, [ebp-0x10]
	mov eax, ebx
	call _Z15PC_Script_ParseiPPKc
	test eax, eax
	jz _Z20ItemParse_execKeyIntP9itemDef_si_10
	mov dword [esp+0x4], 0x4
	mov dword [esp], 0xc
	call _Z8UI_Allocii
	mov edx, [ebp-0xc]
	mov [eax], edx
	mov edx, [ebp-0x10]
	mov [eax+0x4], edx
	mov ecx, [ebp+0x8]
	mov edx, [ecx+0x114]
	mov [eax+0x8], edx
	mov [ecx+0x114], eax
	mov eax, 0x1
	add esp, 0x430
	pop ebx
	pop esi
	pop ebp
	ret
_Z20ItemParse_execKeyIntP9itemDef_si_40:
	mov eax, [ebp-0x418]
	mov [ebp-0xc], eax
	test edx, edx
	jz _Z20ItemParse_execKeyIntP9itemDef_si_60
	neg eax
	mov [ebp-0xc], eax
	jmp _Z20ItemParse_execKeyIntP9itemDef_si_60
_Z20ItemParse_execKeyIntP9itemDef_si_50:
	mov edx, 0x1
	jmp _Z20ItemParse_execKeyIntP9itemDef_si_70


;ItemParse_execExp(itemDef_s*, int)
_Z17ItemParse_execExpP9itemDef_si:
	push ebp
	mov ebp, esp
	push edi
	push esi
	push ebx
	sub esp, 0x42c
	mov edi, [ebp+0xc]
	lea esi, [ebp-0x428]
	mov [esp+0x4], esi
	mov [esp], edi
	call _Z18PC_ReadTokenHandleiP10pc_token_s
	test eax, eax
	jnz _Z17ItemParse_execExpP9itemDef_si_10
_Z17ItemParse_execExpP9itemDef_si_50:
	xor eax, eax
_Z17ItemParse_execExpP9itemDef_si_160:
	add esp, 0x42c
	pop ebx
	pop esi
	pop edi
	pop ebp
	ret
_Z17ItemParse_execExpP9itemDef_si_10:
	lea eax, [ebp-0x418]
	mov [esp], eax
	call _Z12String_AllocPKc
	mov ebx, eax
	mov dword [esp+0x4], _cstring_visible
	mov [esp], eax
	call _Z9I_stricmpPKcS0_
	test eax, eax
	jz _Z17ItemParse_execExpP9itemDef_si_20
	mov dword [esp+0x4], _cstring_text
	mov [esp], ebx
	call _Z9I_stricmpPKcS0_
	test eax, eax
	jnz _Z17ItemParse_execExpP9itemDef_si_30
	mov dword [esp], 0x960
	call Z_MallocInternal
	mov edx, [ebp+0x8]
	mov [edx+0x140], eax
	mov dword [esp+0x8], 0xc8
	mov eax, edx
	add eax, 0x13c
	jmp _Z17ItemParse_execExpP9itemDef_si_40
_Z17ItemParse_execExpP9itemDef_si_20:
	mov edx, [ebp+0x8]
	mov eax, [edx+0x50]
	or eax, 0x4
	mov [esp+0x8], eax
	mov [esp+0x4], edx
	mov dword [esp], 0x0
	call _Z22Window_SetDynamicFlagsiP11windowDef_ti
	mov dword [esp], 0x960
	call Z_MallocInternal
	mov edx, [ebp+0x8]
	mov [edx+0x138], eax
	mov dword [esp+0x8], 0xc8
	mov eax, edx
	add eax, 0x134
_Z17ItemParse_execExpP9itemDef_si_40:
	mov [esp+0x4], eax
	mov [esp], edi
	call _Z16parse_expressioniP11statement_si
	test al, al
	jz _Z17ItemParse_execExpP9itemDef_si_50
	mov eax, 0x1
_Z17ItemParse_execExpP9itemDef_si_140:
	add esp, 0x42c
	pop ebx
	pop esi
	pop edi
	pop ebp
	ret
_Z17ItemParse_execExpP9itemDef_si_30:
	mov dword [esp+0x4], _cstring_material
	mov [esp], ebx
	call _Z9I_stricmpPKcS0_
	test eax, eax
	jz _Z17ItemParse_execExpP9itemDef_si_60
	mov dword [esp+0x4], _cstring_rect
	mov [esp], ebx
	call _Z9I_stricmpPKcS0_
	test eax, eax
	jnz _Z17ItemParse_execExpP9itemDef_si_70
	mov [esp+0x4], esi
	mov [esp], edi
	call _Z18PC_ReadTokenHandleiP10pc_token_s
	test eax, eax
	jnz _Z17ItemParse_execExpP9itemDef_si_80
	mov dword [esp+0x4], _cstring_error_line_ended
	mov dword [esp], 0x10
	call _Z14Com_PrintErroriPKcz
	jmp _Z17ItemParse_execExpP9itemDef_si_50
_Z17ItemParse_execExpP9itemDef_si_60:
	mov dword [esp], 0x960
	call Z_MallocInternal
	mov edx, [ebp+0x8]
	mov [edx+0x148], eax
	mov dword [esp+0x8], 0xc8
	mov eax, edx
	add eax, 0x144
	jmp _Z17ItemParse_execExpP9itemDef_si_40
_Z17ItemParse_execExpP9itemDef_si_70:
	mov dword [esp+0x4], _cstring_forecolor
	mov [esp], ebx
	call _Z9I_stricmpPKcS0_
	test eax, eax
	jnz _Z17ItemParse_execExpP9itemDef_si_50
	mov [esp+0x4], esi
	mov [esp], edi
	call _Z18PC_ReadTokenHandleiP10pc_token_s
	test eax, eax
	jnz _Z17ItemParse_execExpP9itemDef_si_90
	mov dword [esp+0x4], _cstring_error_line_ended1
	mov dword [esp], 0x10
	call _Z14Com_PrintErroriPKcz
	jmp _Z17ItemParse_execExpP9itemDef_si_50
_Z17ItemParse_execExpP9itemDef_si_80:
	lea eax, [ebp-0x418]
	mov [esp], eax
	call _Z12String_AllocPKc
	mov ebx, eax
	mov dword [esp+0x4], _cstring_x
	mov [esp], eax
	call _Z9I_stricmpPKcS0_
	test eax, eax
	jz _Z17ItemParse_execExpP9itemDef_si_100
	mov dword [esp+0x4], _cstring_y
	mov [esp], ebx
	call _Z9I_stricmpPKcS0_
	test eax, eax
	jz _Z17ItemParse_execExpP9itemDef_si_110
_Z17ItemParse_execExpP9itemDef_si_130:
	mov dword [esp+0x4], _cstring_w
	mov [esp], ebx
	call _Z9I_stricmpPKcS0_
	test eax, eax
	jnz _Z17ItemParse_execExpP9itemDef_si_120
	mov dword [esp], 0x960
	call Z_MallocInternal
	mov edx, [ebp+0x8]
	mov [edx+0x160], eax
	mov dword [esp+0x8], 0xc8
	mov eax, edx
	add eax, 0x15c
	jmp _Z17ItemParse_execExpP9itemDef_si_40
_Z17ItemParse_execExpP9itemDef_si_100:
	mov dword [esp], 0x960
	call Z_MallocInternal
	mov edx, [ebp+0x8]
	mov [edx+0x150], eax
	mov dword [esp+0x8], 0xc8
	mov eax, edx
	add eax, 0x14c
_Z17ItemParse_execExpP9itemDef_si_180:
	mov [esp+0x4], eax
	mov [esp], edi
	call _Z16parse_expressioniP11statement_si
	test al, al
	jz _Z17ItemParse_execExpP9itemDef_si_130
	mov eax, 0x1
	jmp _Z17ItemParse_execExpP9itemDef_si_140
_Z17ItemParse_execExpP9itemDef_si_90:
	lea eax, [ebp-0x418]
	mov [esp], eax
	call _Z12String_AllocPKc
	mov ebx, eax
	mov dword [esp+0x4], _cstring_a
	mov [esp], eax
	call _Z9I_stricmpPKcS0_
	test eax, eax
	jz _Z17ItemParse_execExpP9itemDef_si_150
	mov [esp+0x8], ebx
	mov dword [esp+0x4], _cstring_error_expected_a
	mov dword [esp], 0x10
	call _Z14Com_PrintErroriPKcz
	xor eax, eax
	jmp _Z17ItemParse_execExpP9itemDef_si_160
_Z17ItemParse_execExpP9itemDef_si_120:
	mov dword [esp+0x4], _cstring_h
	mov [esp], ebx
	call _Z9I_stricmpPKcS0_
	test eax, eax
	jnz _Z17ItemParse_execExpP9itemDef_si_170
	mov dword [esp], 0x960
	call Z_MallocInternal
	mov edx, [ebp+0x8]
	mov [edx+0x168], eax
	mov dword [esp+0x8], 0xc8
	mov eax, edx
	add eax, 0x164
	jmp _Z17ItemParse_execExpP9itemDef_si_40
_Z17ItemParse_execExpP9itemDef_si_150:
	mov dword [esp], 0x960
	call Z_MallocInternal
	mov edx, [ebp+0x8]
	mov [edx+0x170], eax
	mov dword [esp+0x8], 0xc8
	mov eax, edx
	add eax, 0x16c
	jmp _Z17ItemParse_execExpP9itemDef_si_40
_Z17ItemParse_execExpP9itemDef_si_170:
	mov [esp+0x8], ebx
	mov dword [esp+0x4], _cstring_error_expected_x
	mov dword [esp], 0x10
	call _Z14Com_PrintErroriPKcz
	xor eax, eax
	jmp _Z17ItemParse_execExpP9itemDef_si_160
_Z17ItemParse_execExpP9itemDef_si_110:
	mov dword [esp], 0x960
	call Z_MallocInternal
	mov edx, [ebp+0x8]
	mov [edx+0x158], eax
	mov dword [esp+0x8], 0xc8
	mov eax, edx
	add eax, 0x154
	jmp _Z17ItemParse_execExpP9itemDef_si_180


;ItemParse_gameMsgWindowIndex(itemDef_s*, int)
_Z28ItemParse_gameMsgWindowIndexP9itemDef_si:
	push ebp
	mov ebp, esp
	push edi
	push esi
	push ebx
	sub esp, 0x42c
	mov ebx, [ebp+0xc]
	mov esi, [ebp+0x8]
	add esi, 0xd8
	lea edi, [ebp-0x428]
	mov [esp+0x4], edi
	mov [esp], ebx
	call _Z18PC_ReadTokenHandleiP10pc_token_s
	test eax, eax
	jz _Z28ItemParse_gameMsgWindowIndexP9itemDef_si_10
	movzx eax, byte [ebp-0x418]
	cmp al, 0x28
	jz _Z28ItemParse_gameMsgWindowIndexP9itemDef_si_20
	cmp al, 0x2d
	jz _Z28ItemParse_gameMsgWindowIndexP9itemDef_si_30
	xor edx, edx
_Z28ItemParse_gameMsgWindowIndexP9itemDef_si_60:
	cmp dword [ebp-0x428], 0x3
	jz _Z28ItemParse_gameMsgWindowIndexP9itemDef_si_40
	lea eax, [ebp-0x418]
	mov [esp+0x8], eax
	mov dword [esp+0x4], _cstring_expected_integer
	mov [esp], ebx
	call _Z14PC_SourceErroriPcz
	xor eax, eax
_Z28ItemParse_gameMsgWindowIndexP9itemDef_si_70:
	add esp, 0x42c
	pop ebx
	pop esi
	pop edi
	pop ebp
	ret
_Z28ItemParse_gameMsgWindowIndexP9itemDef_si_10:
	xor eax, eax
	add esp, 0x42c
	pop ebx
	pop esi
	pop edi
	pop ebp
	ret
_Z28ItemParse_gameMsgWindowIndexP9itemDef_si_40:
	mov eax, [ebp-0x420]
	mov [esi], eax
	test edx, edx
	jz _Z28ItemParse_gameMsgWindowIndexP9itemDef_si_50
	neg eax
	mov [esi], eax
_Z28ItemParse_gameMsgWindowIndexP9itemDef_si_50:
	mov eax, 0x1
	add esp, 0x42c
	pop ebx
	pop esi
	pop edi
	pop ebp
	ret
_Z28ItemParse_gameMsgWindowIndexP9itemDef_si_30:
	mov [esp+0x4], edi
	mov [esp], ebx
	call _Z18PC_ReadTokenHandleiP10pc_token_s
	test eax, eax
	jz _Z28ItemParse_gameMsgWindowIndexP9itemDef_si_10
	mov edx, 0x1
	jmp _Z28ItemParse_gameMsgWindowIndexP9itemDef_si_60
_Z28ItemParse_gameMsgWindowIndexP9itemDef_si_20:
	mov edx, esi
	mov eax, ebx
	call _Z23PC_Int_Expression_ParseiPi
	jmp _Z28ItemParse_gameMsgWindowIndexP9itemDef_si_70


;ItemParse_gameMsgWindowMode(itemDef_s*, int)
_Z27ItemParse_gameMsgWindowModeP9itemDef_si:
	push ebp
	mov ebp, esp
	push edi
	push esi
	push ebx
	sub esp, 0x42c
	mov ebx, [ebp+0xc]
	mov esi, [ebp+0x8]
	add esi, 0xdc
	lea edi, [ebp-0x428]
	mov [esp+0x4], edi
	mov [esp], ebx
	call _Z18PC_ReadTokenHandleiP10pc_token_s
	test eax, eax
	jz _Z27ItemParse_gameMsgWindowModeP9itemDef_si_10
	movzx eax, byte [ebp-0x418]
	cmp al, 0x28
	jz _Z27ItemParse_gameMsgWindowModeP9itemDef_si_20
	cmp al, 0x2d
	jz _Z27ItemParse_gameMsgWindowModeP9itemDef_si_30
	xor edx, edx
_Z27ItemParse_gameMsgWindowModeP9itemDef_si_60:
	cmp dword [ebp-0x428], 0x3
	jz _Z27ItemParse_gameMsgWindowModeP9itemDef_si_40
	lea eax, [ebp-0x418]
	mov [esp+0x8], eax
	mov dword [esp+0x4], _cstring_expected_integer
	mov [esp], ebx
	call _Z14PC_SourceErroriPcz
	xor eax, eax
_Z27ItemParse_gameMsgWindowModeP9itemDef_si_70:
	add esp, 0x42c
	pop ebx
	pop esi
	pop edi
	pop ebp
	ret
_Z27ItemParse_gameMsgWindowModeP9itemDef_si_10:
	xor eax, eax
	add esp, 0x42c
	pop ebx
	pop esi
	pop edi
	pop ebp
	ret
_Z27ItemParse_gameMsgWindowModeP9itemDef_si_40:
	mov eax, [ebp-0x420]
	mov [esi], eax
	test edx, edx
	jz _Z27ItemParse_gameMsgWindowModeP9itemDef_si_50
	neg eax
	mov [esi], eax
_Z27ItemParse_gameMsgWindowModeP9itemDef_si_50:
	mov eax, 0x1
	add esp, 0x42c
	pop ebx
	pop esi
	pop edi
	pop ebp
	ret
_Z27ItemParse_gameMsgWindowModeP9itemDef_si_30:
	mov [esp+0x4], edi
	mov [esp], ebx
	call _Z18PC_ReadTokenHandleiP10pc_token_s
	test eax, eax
	jz _Z27ItemParse_gameMsgWindowModeP9itemDef_si_10
	mov edx, 0x1
	jmp _Z27ItemParse_gameMsgWindowModeP9itemDef_si_60
_Z27ItemParse_gameMsgWindowModeP9itemDef_si_20:
	mov edx, esi
	mov eax, ebx
	call _Z23PC_Int_Expression_ParseiPi
	jmp _Z27ItemParse_gameMsgWindowModeP9itemDef_si_70
	add [eax], al


;ItemParse_selectBorder(itemDef_s*, int)
_Z22ItemParse_selectBorderP9itemDef_si:
	push ebp
	mov ebp, esp
	push edi
	push esi
	push ebx
	sub esp, 0x43c
	mov ebx, [ebp+0x8]
	mov esi, [ebp+0xc]
	mov edx, esi
	mov eax, ebx
	call _Z21Item_ValidateTypeDataP9itemDef_si
	mov [esp], ebx
	call _Z18Item_GetListBoxDefP9itemDef_s
	test eax, eax
	jz _Z22ItemParse_selectBorderP9itemDef_si_10
	lea ebx, [eax+0x130]
	mov edi, 0x4
_Z22ItemParse_selectBorderP9itemDef_si_60:
	lea eax, [ebp-0x42c]
	mov [esp+0x4], eax
	mov [esp], esi
	call _Z18PC_ReadTokenHandleiP10pc_token_s
	test eax, eax
	jz _Z22ItemParse_selectBorderP9itemDef_si_10
	movzx eax, byte [ebp-0x41c]
	cmp al, 0x28
	jz _Z22ItemParse_selectBorderP9itemDef_si_20
	cmp al, 0x2d
	jz _Z22ItemParse_selectBorderP9itemDef_si_30
	xor eax, eax
_Z22ItemParse_selectBorderP9itemDef_si_100:
	cmp dword [ebp-0x42c], 0x3
	jnz _Z22ItemParse_selectBorderP9itemDef_si_40
	test eax, eax
	jz _Z22ItemParse_selectBorderP9itemDef_si_50
	mov eax, [ebp-0x420]
	xor eax, 0x80000000
	mov [ebp-0x1c], eax
_Z22ItemParse_selectBorderP9itemDef_si_90:
	mov [ebx], eax
	add ebx, 0x4
	sub edi, 0x1
	jnz _Z22ItemParse_selectBorderP9itemDef_si_60
	mov eax, 0x1
	jmp _Z22ItemParse_selectBorderP9itemDef_si_70
_Z22ItemParse_selectBorderP9itemDef_si_30:
	lea eax, [ebp-0x42c]
	mov [esp+0x4], eax
	mov [esp], esi
	call _Z18PC_ReadTokenHandleiP10pc_token_s
	test eax, eax
	jnz _Z22ItemParse_selectBorderP9itemDef_si_80
_Z22ItemParse_selectBorderP9itemDef_si_10:
	xor eax, eax
_Z22ItemParse_selectBorderP9itemDef_si_70:
	add esp, 0x43c
	pop ebx
	pop esi
	pop edi
	pop ebp
	ret
_Z22ItemParse_selectBorderP9itemDef_si_40:
	lea eax, [ebp-0x41c]
	mov [esp+0x8], eax
	mov dword [esp+0x4], _cstring_expected_float_b
	mov [esp], esi
	call _Z14PC_SourceErroriPcz
	xor eax, eax
	add esp, 0x43c
	pop ebx
	pop esi
	pop edi
	pop ebp
	ret
_Z22ItemParse_selectBorderP9itemDef_si_50:
	mov eax, [ebp-0x420]
	mov [ebp-0x1c], eax
	jmp _Z22ItemParse_selectBorderP9itemDef_si_90
_Z22ItemParse_selectBorderP9itemDef_si_20:
	lea edx, [ebp-0x1c]
	mov eax, esi
	call _Z25PC_Float_Expression_ParseiPf
	test eax, eax
	jz _Z22ItemParse_selectBorderP9itemDef_si_10
	mov eax, [ebp-0x1c]
	jmp _Z22ItemParse_selectBorderP9itemDef_si_90
_Z22ItemParse_selectBorderP9itemDef_si_80:
	mov eax, 0x1
	jmp _Z22ItemParse_selectBorderP9itemDef_si_100
	nop


;ItemParse_disableColor(itemDef_s*, int)
_Z22ItemParse_disableColorP9itemDef_si:
	push ebp
	mov ebp, esp
	push edi
	push esi
	push ebx
	sub esp, 0x43c
	mov ebx, [ebp+0x8]
	mov esi, [ebp+0xc]
	mov edx, esi
	mov eax, ebx
	call _Z21Item_ValidateTypeDataP9itemDef_si
	mov [esp], ebx
	call _Z18Item_GetListBoxDefP9itemDef_s
	test eax, eax
	jz _Z22ItemParse_disableColorP9itemDef_si_10
	lea ebx, [eax+0x140]
	mov edi, 0x4
_Z22ItemParse_disableColorP9itemDef_si_60:
	lea eax, [ebp-0x42c]
	mov [esp+0x4], eax
	mov [esp], esi
	call _Z18PC_ReadTokenHandleiP10pc_token_s
	test eax, eax
	jz _Z22ItemParse_disableColorP9itemDef_si_10
	movzx eax, byte [ebp-0x41c]
	cmp al, 0x28
	jz _Z22ItemParse_disableColorP9itemDef_si_20
	cmp al, 0x2d
	jz _Z22ItemParse_disableColorP9itemDef_si_30
	xor eax, eax
_Z22ItemParse_disableColorP9itemDef_si_100:
	cmp dword [ebp-0x42c], 0x3
	jnz _Z22ItemParse_disableColorP9itemDef_si_40
	test eax, eax
	jz _Z22ItemParse_disableColorP9itemDef_si_50
	mov eax, [ebp-0x420]
	xor eax, 0x80000000
	mov [ebp-0x1c], eax
_Z22ItemParse_disableColorP9itemDef_si_90:
	mov [ebx], eax
	add ebx, 0x4
	sub edi, 0x1
	jnz _Z22ItemParse_disableColorP9itemDef_si_60
	mov eax, 0x1
	jmp _Z22ItemParse_disableColorP9itemDef_si_70
_Z22ItemParse_disableColorP9itemDef_si_30:
	lea eax, [ebp-0x42c]
	mov [esp+0x4], eax
	mov [esp], esi
	call _Z18PC_ReadTokenHandleiP10pc_token_s
	test eax, eax
	jnz _Z22ItemParse_disableColorP9itemDef_si_80
_Z22ItemParse_disableColorP9itemDef_si_10:
	xor eax, eax
_Z22ItemParse_disableColorP9itemDef_si_70:
	add esp, 0x43c
	pop ebx
	pop esi
	pop edi
	pop ebp
	ret
_Z22ItemParse_disableColorP9itemDef_si_40:
	lea eax, [ebp-0x41c]
	mov [esp+0x8], eax
	mov dword [esp+0x4], _cstring_expected_float_b
	mov [esp], esi
	call _Z14PC_SourceErroriPcz
	xor eax, eax
	add esp, 0x43c
	pop ebx
	pop esi
	pop edi
	pop ebp
	ret
_Z22ItemParse_disableColorP9itemDef_si_50:
	mov eax, [ebp-0x420]
	mov [ebp-0x1c], eax
	jmp _Z22ItemParse_disableColorP9itemDef_si_90
_Z22ItemParse_disableColorP9itemDef_si_20:
	lea edx, [ebp-0x1c]
	mov eax, esi
	call _Z25PC_Float_Expression_ParseiPf
	test eax, eax
	jz _Z22ItemParse_disableColorP9itemDef_si_10
	mov eax, [ebp-0x1c]
	jmp _Z22ItemParse_disableColorP9itemDef_si_90
_Z22ItemParse_disableColorP9itemDef_si_80:
	mov eax, 0x1
	jmp _Z22ItemParse_disableColorP9itemDef_si_100
	nop


;ItemParse_selectIcon(itemDef_s*, int)
_Z20ItemParse_selectIconP9itemDef_si:
	push ebp
	mov ebp, esp
	push edi
	push esi
	push ebx
	sub esp, 0x46c
	mov esi, [ebp+0x8]
	mov ebx, [ebp+0xc]
	mov edx, ebx
	mov eax, esi
	call _Z21Item_ValidateTypeDataP9itemDef_si
	mov [esp], esi
	call _Z18Item_GetListBoxDefP9itemDef_s
	mov edi, eax
	test eax, eax
	jz _Z20ItemParse_selectIconP9itemDef_si_10
	lea eax, [ebp-0x468]
	mov [esp+0x4], eax
	mov [esp], ebx
	call _Z18PC_ReadTokenHandleiP10pc_token_s
	test eax, eax
	jnz _Z20ItemParse_selectIconP9itemDef_si_20
_Z20ItemParse_selectIconP9itemDef_si_10:
	xor eax, eax
	add esp, 0x46c
	pop ebx
	pop esi
	pop edi
	pop ebp
	ret
_Z20ItemParse_selectIconP9itemDef_si_20:
	lea eax, [ebp-0x458]
	mov [esp], eax
	call _Z12String_AllocPKc
	mov dword [esp+0x8], 0x40
	mov [esp+0x4], eax
	lea ebx, [ebp-0x58]
	mov [esp], ebx
	call _Z10I_strncpyzPcPKci
	mov [esp], ebx
	call _Z8I_strlwrPc
	mov eax, [esi+0x130]
	mov [esp+0x4], eax
	mov [esp], ebx
	call _Z23Material_RegisterHandlePKci
	mov [edi+0x150], eax
	mov eax, 0x1
	add esp, 0x46c
	pop ebx
	pop esi
	pop edi
	pop ebp
	ret
	nop


;MenuParse_name(menuDef_t*, int)
_Z14MenuParse_nameP9menuDef_ti:
	push ebp
	mov ebp, esp
	sub esp, 0x428
	lea eax, [ebp-0x418]
	mov [esp+0x4], eax
	mov eax, [ebp+0xc]
	mov [esp], eax
	call _Z18PC_ReadTokenHandleiP10pc_token_s
	test eax, eax
	jnz _Z14MenuParse_nameP9menuDef_ti_10
	leave
	ret
_Z14MenuParse_nameP9menuDef_ti_10:
	lea eax, [ebp-0x408]
	mov [esp], eax
	call _Z12String_AllocPKc
	mov edx, [ebp+0x8]
	mov [edx], eax
	mov [esp], eax
	call _Z8I_strlwrPc
	mov eax, 0x1
	leave
	ret


;MenuParse_fullscreen(menuDef_t*, int)
_Z20MenuParse_fullscreenP9menuDef_ti:
	push ebp
	mov ebp, esp
	push edi
	push esi
	push ebx
	sub esp, 0x42c
	mov ebx, [ebp+0xc]
	mov esi, [ebp+0x8]
	add esi, 0xa0
	lea edi, [ebp-0x428]
	mov [esp+0x4], edi
	mov [esp], ebx
	call _Z18PC_ReadTokenHandleiP10pc_token_s
	test eax, eax
	jz _Z20MenuParse_fullscreenP9menuDef_ti_10
	movzx eax, byte [ebp-0x418]
	cmp al, 0x28
	jz _Z20MenuParse_fullscreenP9menuDef_ti_20
	cmp al, 0x2d
	jz _Z20MenuParse_fullscreenP9menuDef_ti_30
	xor edx, edx
_Z20MenuParse_fullscreenP9menuDef_ti_60:
	cmp dword [ebp-0x428], 0x3
	jz _Z20MenuParse_fullscreenP9menuDef_ti_40
	lea eax, [ebp-0x418]
	mov [esp+0x8], eax
	mov dword [esp+0x4], _cstring_expected_integer
	mov [esp], ebx
	call _Z14PC_SourceErroriPcz
	xor eax, eax
_Z20MenuParse_fullscreenP9menuDef_ti_70:
	add esp, 0x42c
	pop ebx
	pop esi
	pop edi
	pop ebp
	ret
_Z20MenuParse_fullscreenP9menuDef_ti_10:
	xor eax, eax
	add esp, 0x42c
	pop ebx
	pop esi
	pop edi
	pop ebp
	ret
_Z20MenuParse_fullscreenP9menuDef_ti_40:
	mov eax, [ebp-0x420]
	mov [esi], eax
	test edx, edx
	jz _Z20MenuParse_fullscreenP9menuDef_ti_50
	neg eax
	mov [esi], eax
_Z20MenuParse_fullscreenP9menuDef_ti_50:
	mov eax, 0x1
	add esp, 0x42c
	pop ebx
	pop esi
	pop edi
	pop ebp
	ret
_Z20MenuParse_fullscreenP9menuDef_ti_30:
	mov [esp+0x4], edi
	mov [esp], ebx
	call _Z18PC_ReadTokenHandleiP10pc_token_s
	test eax, eax
	jz _Z20MenuParse_fullscreenP9menuDef_ti_10
	mov edx, 0x1
	jmp _Z20MenuParse_fullscreenP9menuDef_ti_60
_Z20MenuParse_fullscreenP9menuDef_ti_20:
	mov edx, esi
	mov eax, ebx
	call _Z23PC_Int_Expression_ParseiPi
	jmp _Z20MenuParse_fullscreenP9menuDef_ti_70


;MenuParse_rect(menuDef_t*, int)
_Z14MenuParse_rectP9menuDef_ti:
	push ebp
	mov ebp, esp
	mov eax, [ebp+0xc]
	mov edx, [ebp+0x8]
	add edx, 0x4
	pop ebp
	jmp _Z13PC_Rect_ParseiP9rectDef_s


;MenuParse_style(menuDef_t*, int)
_Z15MenuParse_styleP9menuDef_ti:
	push ebp
	mov ebp, esp
	push edi
	push esi
	push ebx
	sub esp, 0x42c
	mov ebx, [ebp+0xc]
	mov esi, [ebp+0x8]
	add esi, 0x38
	lea edi, [ebp-0x428]
	mov [esp+0x4], edi
	mov [esp], ebx
	call _Z18PC_ReadTokenHandleiP10pc_token_s
	test eax, eax
	jz _Z15MenuParse_styleP9menuDef_ti_10
	movzx eax, byte [ebp-0x418]
	cmp al, 0x28
	jz _Z15MenuParse_styleP9menuDef_ti_20
	cmp al, 0x2d
	jz _Z15MenuParse_styleP9menuDef_ti_30
	xor edx, edx
_Z15MenuParse_styleP9menuDef_ti_60:
	cmp dword [ebp-0x428], 0x3
	jz _Z15MenuParse_styleP9menuDef_ti_40
	lea eax, [ebp-0x418]
	mov [esp+0x8], eax
	mov dword [esp+0x4], _cstring_expected_integer
	mov [esp], ebx
	call _Z14PC_SourceErroriPcz
	xor eax, eax
_Z15MenuParse_styleP9menuDef_ti_70:
	add esp, 0x42c
	pop ebx
	pop esi
	pop edi
	pop ebp
	ret
_Z15MenuParse_styleP9menuDef_ti_10:
	xor eax, eax
	add esp, 0x42c
	pop ebx
	pop esi
	pop edi
	pop ebp
	ret
_Z15MenuParse_styleP9menuDef_ti_40:
	mov eax, [ebp-0x420]
	mov [esi], eax
	test edx, edx
	jz _Z15MenuParse_styleP9menuDef_ti_50
	neg eax
	mov [esi], eax
_Z15MenuParse_styleP9menuDef_ti_50:
	mov eax, 0x1
	add esp, 0x42c
	pop ebx
	pop esi
	pop edi
	pop ebp
	ret
_Z15MenuParse_styleP9menuDef_ti_30:
	mov [esp+0x4], edi
	mov [esp], ebx
	call _Z18PC_ReadTokenHandleiP10pc_token_s
	test eax, eax
	jz _Z15MenuParse_styleP9menuDef_ti_10
	mov edx, 0x1
	jmp _Z15MenuParse_styleP9menuDef_ti_60
_Z15MenuParse_styleP9menuDef_ti_20:
	mov edx, esi
	mov eax, ebx
	call _Z23PC_Int_Expression_ParseiPi
	jmp _Z15MenuParse_styleP9menuDef_ti_70
	nop


;MenuParse_visible(menuDef_t*, int)
_Z17MenuParse_visibleP9menuDef_ti:
	push ebp
	mov ebp, esp
	push edi
	push esi
	push ebx
	sub esp, 0x42c
	mov esi, [ebp+0x8]
	mov edi, [ebp+0xc]
	lea eax, [ebp-0x428]
	mov [esp+0x4], eax
	mov [esp], edi
	call _Z18PC_ReadTokenHandleiP10pc_token_s
	test eax, eax
	jnz _Z17MenuParse_visibleP9menuDef_ti_10
	add esp, 0x42c
	pop ebx
	pop esi
	pop edi
	pop ebp
	ret
_Z17MenuParse_visibleP9menuDef_ti_10:
	lea eax, [ebp-0x418]
	mov [esp], eax
	call _Z12String_AllocPKc
	mov ebx, eax
	mov dword [esp+0x4], _cstring_when
	mov [esp], eax
	call _Z9I_stricmpPKcS0_
	test eax, eax
	jnz _Z17MenuParse_visibleP9menuDef_ti_20
_Z17MenuParse_visibleP9menuDef_ti_60:
	mov eax, [esi+0x50]
	or eax, 0x4
	mov [esp+0x8], eax
	mov [esp+0x4], esi
	mov dword [esp], 0x0
	call _Z22Window_SetDynamicFlagsiP11windowDef_ti
	mov dword [esp], 0x960
	call Z_MallocInternal
	mov [esi+0xd8], eax
	mov dword [esp+0x8], 0xc8
	lea eax, [esi+0xd4]
	mov [esp+0x4], eax
	mov [esp], edi
	call _Z16parse_expressioniP11statement_si
	test al, al
	jnz _Z17MenuParse_visibleP9menuDef_ti_30
_Z17MenuParse_visibleP9menuDef_ti_50:
	mov [esp], ebx
	call atoi
	test eax, eax
	jnz _Z17MenuParse_visibleP9menuDef_ti_40
_Z17MenuParse_visibleP9menuDef_ti_30:
	mov eax, 0x1
	add esp, 0x42c
	pop ebx
	pop esi
	pop edi
	pop ebp
	ret
_Z17MenuParse_visibleP9menuDef_ti_20:
	mov dword [esp+0x4], _cstring_if
	mov [esp], ebx
	call _Z9I_stricmpPKcS0_
	test eax, eax
	jnz _Z17MenuParse_visibleP9menuDef_ti_50
	jmp _Z17MenuParse_visibleP9menuDef_ti_60
_Z17MenuParse_visibleP9menuDef_ti_40:
	mov eax, [esi+0x50]
	or eax, 0x4
	mov [esp+0x8], eax
	mov [esp+0x4], esi
	mov dword [esp], 0x0
	call _Z22Window_SetDynamicFlagsiP11windowDef_ti
	mov eax, 0x1
	add esp, 0x42c
	pop ebx
	pop esi
	pop edi
	pop ebp
	ret
	nop


;MenuParse_onOpen(menuDef_t*, int)
_Z16MenuParse_onOpenP9menuDef_ti:
	push ebp
	mov ebp, esp
	mov eax, [ebp+0xc]
	mov edx, [ebp+0x8]
	add edx, 0xc4
	pop ebp
	jmp _Z15PC_Script_ParseiPPKc
	nop


;MenuParse_onClose(menuDef_t*, int)
_Z17MenuParse_onCloseP9menuDef_ti:
	push ebp
	mov ebp, esp
	mov eax, [ebp+0xc]
	mov edx, [ebp+0x8]
	add edx, 0xc8
	pop ebp
	jmp _Z15PC_Script_ParseiPPKc
	nop


;MenuParse_onESC(menuDef_t*, int)
_Z15MenuParse_onESCP9menuDef_ti:
	push ebp
	mov ebp, esp
	mov eax, [ebp+0xc]
	mov edx, [ebp+0x8]
	add edx, 0xcc
	pop ebp
	jmp _Z15PC_Script_ParseiPPKc
	nop


;MenuParse_border(menuDef_t*, int)
_Z16MenuParse_borderP9menuDef_ti:
	push ebp
	mov ebp, esp
	push edi
	push esi
	push ebx
	sub esp, 0x42c
	mov ebx, [ebp+0xc]
	mov esi, [ebp+0x8]
	add esi, 0x3c
	lea edi, [ebp-0x428]
	mov [esp+0x4], edi
	mov [esp], ebx
	call _Z18PC_ReadTokenHandleiP10pc_token_s
	test eax, eax
	jz _Z16MenuParse_borderP9menuDef_ti_10
	movzx eax, byte [ebp-0x418]
	cmp al, 0x28
	jz _Z16MenuParse_borderP9menuDef_ti_20
	cmp al, 0x2d
	jz _Z16MenuParse_borderP9menuDef_ti_30
	xor edx, edx
_Z16MenuParse_borderP9menuDef_ti_60:
	cmp dword [ebp-0x428], 0x3
	jz _Z16MenuParse_borderP9menuDef_ti_40
	lea eax, [ebp-0x418]
	mov [esp+0x8], eax
	mov dword [esp+0x4], _cstring_expected_integer
	mov [esp], ebx
	call _Z14PC_SourceErroriPcz
	xor eax, eax
_Z16MenuParse_borderP9menuDef_ti_70:
	add esp, 0x42c
	pop ebx
	pop esi
	pop edi
	pop ebp
	ret
_Z16MenuParse_borderP9menuDef_ti_10:
	xor eax, eax
	add esp, 0x42c
	pop ebx
	pop esi
	pop edi
	pop ebp
	ret
_Z16MenuParse_borderP9menuDef_ti_40:
	mov eax, [ebp-0x420]
	mov [esi], eax
	test edx, edx
	jz _Z16MenuParse_borderP9menuDef_ti_50
	neg eax
	mov [esi], eax
_Z16MenuParse_borderP9menuDef_ti_50:
	mov eax, 0x1
	add esp, 0x42c
	pop ebx
	pop esi
	pop edi
	pop ebp
	ret
_Z16MenuParse_borderP9menuDef_ti_30:
	mov [esp+0x4], edi
	mov [esp], ebx
	call _Z18PC_ReadTokenHandleiP10pc_token_s
	test eax, eax
	jz _Z16MenuParse_borderP9menuDef_ti_10
	mov edx, 0x1
	jmp _Z16MenuParse_borderP9menuDef_ti_60
_Z16MenuParse_borderP9menuDef_ti_20:
	mov edx, esi
	mov eax, ebx
	call _Z23PC_Int_Expression_ParseiPi
	jmp _Z16MenuParse_borderP9menuDef_ti_70
	nop


;MenuParse_borderSize(menuDef_t*, int)
_Z20MenuParse_borderSizeP9menuDef_ti:
	push ebp
	mov ebp, esp
	push edi
	push esi
	push ebx
	sub esp, 0x42c
	mov ebx, [ebp+0xc]
	mov esi, [ebp+0x8]
	add esi, 0x48
	lea edi, [ebp-0x428]
	mov [esp+0x4], edi
	mov [esp], ebx
	call _Z18PC_ReadTokenHandleiP10pc_token_s
	test eax, eax
	jz _Z20MenuParse_borderSizeP9menuDef_ti_10
	movzx eax, byte [ebp-0x418]
	cmp al, 0x28
	jz _Z20MenuParse_borderSizeP9menuDef_ti_20
	cmp al, 0x2d
	jz _Z20MenuParse_borderSizeP9menuDef_ti_30
	xor eax, eax
_Z20MenuParse_borderSizeP9menuDef_ti_60:
	cmp dword [ebp-0x428], 0x3
	jz _Z20MenuParse_borderSizeP9menuDef_ti_40
	lea eax, [ebp-0x418]
	mov [esp+0x8], eax
	mov dword [esp+0x4], _cstring_expected_float_b
	mov [esp], ebx
	call _Z14PC_SourceErroriPcz
	xor eax, eax
_Z20MenuParse_borderSizeP9menuDef_ti_70:
	add esp, 0x42c
	pop ebx
	pop esi
	pop edi
	pop ebp
	ret
_Z20MenuParse_borderSizeP9menuDef_ti_10:
	xor eax, eax
	add esp, 0x42c
	pop ebx
	pop esi
	pop edi
	pop ebp
	ret
_Z20MenuParse_borderSizeP9menuDef_ti_40:
	test eax, eax
	jnz _Z20MenuParse_borderSizeP9menuDef_ti_50
	mov eax, [ebp-0x41c]
	mov [esi], eax
	mov eax, 0x1
	add esp, 0x42c
	pop ebx
	pop esi
	pop edi
	pop ebp
	ret
_Z20MenuParse_borderSizeP9menuDef_ti_50:
	mov eax, [ebp-0x41c]
	xor eax, 0x80000000
	mov [esi], eax
	mov eax, 0x1
	add esp, 0x42c
	pop ebx
	pop esi
	pop edi
	pop ebp
	ret
_Z20MenuParse_borderSizeP9menuDef_ti_30:
	mov [esp+0x4], edi
	mov [esp], ebx
	call _Z18PC_ReadTokenHandleiP10pc_token_s
	test eax, eax
	jz _Z20MenuParse_borderSizeP9menuDef_ti_10
	mov eax, 0x1
	jmp _Z20MenuParse_borderSizeP9menuDef_ti_60
_Z20MenuParse_borderSizeP9menuDef_ti_20:
	mov edx, esi
	mov eax, ebx
	call _Z25PC_Float_Expression_ParseiPf
	jmp _Z20MenuParse_borderSizeP9menuDef_ti_70
	nop


;MenuParse_backcolor(menuDef_t*, int)
_Z19MenuParse_backcolorP9menuDef_ti:
	push ebp
	mov ebp, esp
	push edi
	push esi
	push ebx
	sub esp, 0x43c
	mov esi, [ebp+0xc]
	mov ebx, [ebp+0x8]
	add ebx, 0x68
	mov edi, 0x4
_Z19MenuParse_backcolorP9menuDef_ti_60:
	lea eax, [ebp-0x42c]
	mov [esp+0x4], eax
	mov [esp], esi
	call _Z18PC_ReadTokenHandleiP10pc_token_s
	test eax, eax
	jz _Z19MenuParse_backcolorP9menuDef_ti_10
	movzx eax, byte [ebp-0x41c]
	cmp al, 0x28
	jz _Z19MenuParse_backcolorP9menuDef_ti_20
	cmp al, 0x2d
	jz _Z19MenuParse_backcolorP9menuDef_ti_30
	xor eax, eax
_Z19MenuParse_backcolorP9menuDef_ti_100:
	cmp dword [ebp-0x42c], 0x3
	jnz _Z19MenuParse_backcolorP9menuDef_ti_40
	test eax, eax
	jz _Z19MenuParse_backcolorP9menuDef_ti_50
	mov eax, [ebp-0x420]
	xor eax, 0x80000000
	mov [ebp-0x1c], eax
_Z19MenuParse_backcolorP9menuDef_ti_90:
	mov [ebx], eax
	add ebx, 0x4
	sub edi, 0x1
	jnz _Z19MenuParse_backcolorP9menuDef_ti_60
	mov eax, 0x1
	jmp _Z19MenuParse_backcolorP9menuDef_ti_70
_Z19MenuParse_backcolorP9menuDef_ti_30:
	lea eax, [ebp-0x42c]
	mov [esp+0x4], eax
	mov [esp], esi
	call _Z18PC_ReadTokenHandleiP10pc_token_s
	test eax, eax
	jnz _Z19MenuParse_backcolorP9menuDef_ti_80
_Z19MenuParse_backcolorP9menuDef_ti_10:
	xor eax, eax
_Z19MenuParse_backcolorP9menuDef_ti_70:
	add esp, 0x43c
	pop ebx
	pop esi
	pop edi
	pop ebp
	ret
_Z19MenuParse_backcolorP9menuDef_ti_40:
	lea eax, [ebp-0x41c]
	mov [esp+0x8], eax
	mov dword [esp+0x4], _cstring_expected_float_b
	mov [esp], esi
	call _Z14PC_SourceErroriPcz
	xor eax, eax
	add esp, 0x43c
	pop ebx
	pop esi
	pop edi
	pop ebp
	ret
_Z19MenuParse_backcolorP9menuDef_ti_50:
	mov eax, [ebp-0x420]
	mov [ebp-0x1c], eax
	jmp _Z19MenuParse_backcolorP9menuDef_ti_90
_Z19MenuParse_backcolorP9menuDef_ti_20:
	lea edx, [ebp-0x1c]
	mov eax, esi
	call _Z25PC_Float_Expression_ParseiPf
	test eax, eax
	jz _Z19MenuParse_backcolorP9menuDef_ti_10
	mov eax, [ebp-0x1c]
	jmp _Z19MenuParse_backcolorP9menuDef_ti_90
_Z19MenuParse_backcolorP9menuDef_ti_80:
	mov eax, 0x1
	jmp _Z19MenuParse_backcolorP9menuDef_ti_100
	nop


;MenuParse_forecolor(menuDef_t*, int)
_Z19MenuParse_forecolorP9menuDef_ti:
	push ebp
	mov ebp, esp
	push edi
	push esi
	push ebx
	sub esp, 0x43c
	mov esi, [ebp+0xc]
	mov ebx, [ebp+0x8]
	add ebx, 0x58
	mov edi, 0x4
_Z19MenuParse_forecolorP9menuDef_ti_60:
	lea eax, [ebp-0x42c]
	mov [esp+0x4], eax
	mov [esp], esi
	call _Z18PC_ReadTokenHandleiP10pc_token_s
	test eax, eax
	jz _Z19MenuParse_forecolorP9menuDef_ti_10
	movzx eax, byte [ebp-0x41c]
	cmp al, 0x28
	jz _Z19MenuParse_forecolorP9menuDef_ti_20
	cmp al, 0x2d
	jz _Z19MenuParse_forecolorP9menuDef_ti_30
	xor eax, eax
_Z19MenuParse_forecolorP9menuDef_ti_100:
	cmp dword [ebp-0x42c], 0x3
	jnz _Z19MenuParse_forecolorP9menuDef_ti_40
	test eax, eax
	jz _Z19MenuParse_forecolorP9menuDef_ti_50
	mov eax, [ebp-0x420]
	xor eax, 0x80000000
	mov [ebp-0x1c], eax
_Z19MenuParse_forecolorP9menuDef_ti_90:
	mov [ebx], eax
	add ebx, 0x4
	sub edi, 0x1
	jnz _Z19MenuParse_forecolorP9menuDef_ti_60
	mov edx, [ebp+0x8]
	mov eax, [edx+0x50]
	or eax, 0x10000
	mov [esp+0x8], eax
	mov [esp+0x4], edx
	mov dword [esp], 0x0
	call _Z22Window_SetDynamicFlagsiP11windowDef_ti
	mov eax, 0x1
	jmp _Z19MenuParse_forecolorP9menuDef_ti_70
_Z19MenuParse_forecolorP9menuDef_ti_30:
	lea edx, [ebp-0x42c]
	mov [esp+0x4], edx
	mov [esp], esi
	call _Z18PC_ReadTokenHandleiP10pc_token_s
	test eax, eax
	jnz _Z19MenuParse_forecolorP9menuDef_ti_80
_Z19MenuParse_forecolorP9menuDef_ti_10:
	xor eax, eax
_Z19MenuParse_forecolorP9menuDef_ti_70:
	add esp, 0x43c
	pop ebx
	pop esi
	pop edi
	pop ebp
	ret
_Z19MenuParse_forecolorP9menuDef_ti_40:
	lea eax, [ebp-0x41c]
	mov [esp+0x8], eax
	mov dword [esp+0x4], _cstring_expected_float_b
	mov [esp], esi
	call _Z14PC_SourceErroriPcz
	xor eax, eax
	add esp, 0x43c
	pop ebx
	pop esi
	pop edi
	pop ebp
	ret
_Z19MenuParse_forecolorP9menuDef_ti_50:
	mov eax, [ebp-0x420]
	mov [ebp-0x1c], eax
	jmp _Z19MenuParse_forecolorP9menuDef_ti_90
_Z19MenuParse_forecolorP9menuDef_ti_20:
	lea edx, [ebp-0x1c]
	mov eax, esi
	call _Z25PC_Float_Expression_ParseiPf
	test eax, eax
	jz _Z19MenuParse_forecolorP9menuDef_ti_10
	mov eax, [ebp-0x1c]
	jmp _Z19MenuParse_forecolorP9menuDef_ti_90
_Z19MenuParse_forecolorP9menuDef_ti_80:
	mov eax, 0x1
	jmp _Z19MenuParse_forecolorP9menuDef_ti_100


;MenuParse_bordercolor(menuDef_t*, int)
_Z21MenuParse_bordercolorP9menuDef_ti:
	push ebp
	mov ebp, esp
	push edi
	push esi
	push ebx
	sub esp, 0x43c
	mov esi, [ebp+0xc]
	mov ebx, [ebp+0x8]
	add ebx, 0x78
	mov edi, 0x4
_Z21MenuParse_bordercolorP9menuDef_ti_60:
	lea eax, [ebp-0x42c]
	mov [esp+0x4], eax
	mov [esp], esi
	call _Z18PC_ReadTokenHandleiP10pc_token_s
	test eax, eax
	jz _Z21MenuParse_bordercolorP9menuDef_ti_10
	movzx eax, byte [ebp-0x41c]
	cmp al, 0x28
	jz _Z21MenuParse_bordercolorP9menuDef_ti_20
	cmp al, 0x2d
	jz _Z21MenuParse_bordercolorP9menuDef_ti_30
	xor eax, eax
_Z21MenuParse_bordercolorP9menuDef_ti_100:
	cmp dword [ebp-0x42c], 0x3
	jnz _Z21MenuParse_bordercolorP9menuDef_ti_40
	test eax, eax
	jz _Z21MenuParse_bordercolorP9menuDef_ti_50
	mov eax, [ebp-0x420]
	xor eax, 0x80000000
	mov [ebp-0x1c], eax
_Z21MenuParse_bordercolorP9menuDef_ti_90:
	mov [ebx], eax
	add ebx, 0x4
	sub edi, 0x1
	jnz _Z21MenuParse_bordercolorP9menuDef_ti_60
	mov eax, 0x1
	jmp _Z21MenuParse_bordercolorP9menuDef_ti_70
_Z21MenuParse_bordercolorP9menuDef_ti_30:
	lea eax, [ebp-0x42c]
	mov [esp+0x4], eax
	mov [esp], esi
	call _Z18PC_ReadTokenHandleiP10pc_token_s
	test eax, eax
	jnz _Z21MenuParse_bordercolorP9menuDef_ti_80
_Z21MenuParse_bordercolorP9menuDef_ti_10:
	xor eax, eax
_Z21MenuParse_bordercolorP9menuDef_ti_70:
	add esp, 0x43c
	pop ebx
	pop esi
	pop edi
	pop ebp
	ret
_Z21MenuParse_bordercolorP9menuDef_ti_40:
	lea eax, [ebp-0x41c]
	mov [esp+0x8], eax
	mov dword [esp+0x4], _cstring_expected_float_b
	mov [esp], esi
	call _Z14PC_SourceErroriPcz
	xor eax, eax
	add esp, 0x43c
	pop ebx
	pop esi
	pop edi
	pop ebp
	ret
_Z21MenuParse_bordercolorP9menuDef_ti_50:
	mov eax, [ebp-0x420]
	mov [ebp-0x1c], eax
	jmp _Z21MenuParse_bordercolorP9menuDef_ti_90
_Z21MenuParse_bordercolorP9menuDef_ti_20:
	lea edx, [ebp-0x1c]
	mov eax, esi
	call _Z25PC_Float_Expression_ParseiPf
	test eax, eax
	jz _Z21MenuParse_bordercolorP9menuDef_ti_10
	mov eax, [ebp-0x1c]
	jmp _Z21MenuParse_bordercolorP9menuDef_ti_90
_Z21MenuParse_bordercolorP9menuDef_ti_80:
	mov eax, 0x1
	jmp _Z21MenuParse_bordercolorP9menuDef_ti_100
	nop


;MenuParse_focuscolor(menuDef_t*, int)
_Z20MenuParse_focuscolorP9menuDef_ti:
	push ebp
	mov ebp, esp
	push edi
	push esi
	push ebx
	sub esp, 0x43c
	mov esi, [ebp+0xc]
	mov ebx, [ebp+0x8]
	add ebx, 0xe8
	mov edi, 0x4
_Z20MenuParse_focuscolorP9menuDef_ti_60:
	lea eax, [ebp-0x42c]
	mov [esp+0x4], eax
	mov [esp], esi
	call _Z18PC_ReadTokenHandleiP10pc_token_s
	test eax, eax
	jz _Z20MenuParse_focuscolorP9menuDef_ti_10
	movzx eax, byte [ebp-0x41c]
	cmp al, 0x28
	jz _Z20MenuParse_focuscolorP9menuDef_ti_20
	cmp al, 0x2d
	jz _Z20MenuParse_focuscolorP9menuDef_ti_30
	xor eax, eax
_Z20MenuParse_focuscolorP9menuDef_ti_100:
	cmp dword [ebp-0x42c], 0x3
	jnz _Z20MenuParse_focuscolorP9menuDef_ti_40
	test eax, eax
	jz _Z20MenuParse_focuscolorP9menuDef_ti_50
	mov eax, [ebp-0x420]
	xor eax, 0x80000000
	mov [ebp-0x1c], eax
_Z20MenuParse_focuscolorP9menuDef_ti_90:
	mov [ebx], eax
	add ebx, 0x4
	sub edi, 0x1
	jnz _Z20MenuParse_focuscolorP9menuDef_ti_60
	mov eax, 0x1
	jmp _Z20MenuParse_focuscolorP9menuDef_ti_70
_Z20MenuParse_focuscolorP9menuDef_ti_30:
	lea eax, [ebp-0x42c]
	mov [esp+0x4], eax
	mov [esp], esi
	call _Z18PC_ReadTokenHandleiP10pc_token_s
	test eax, eax
	jnz _Z20MenuParse_focuscolorP9menuDef_ti_80
_Z20MenuParse_focuscolorP9menuDef_ti_10:
	xor eax, eax
_Z20MenuParse_focuscolorP9menuDef_ti_70:
	add esp, 0x43c
	pop ebx
	pop esi
	pop edi
	pop ebp
	ret
_Z20MenuParse_focuscolorP9menuDef_ti_40:
	lea eax, [ebp-0x41c]
	mov [esp+0x8], eax
	mov dword [esp+0x4], _cstring_expected_float_b
	mov [esp], esi
	call _Z14PC_SourceErroriPcz
	xor eax, eax
	add esp, 0x43c
	pop ebx
	pop esi
	pop edi
	pop ebp
	ret
_Z20MenuParse_focuscolorP9menuDef_ti_50:
	mov eax, [ebp-0x420]
	mov [ebp-0x1c], eax
	jmp _Z20MenuParse_focuscolorP9menuDef_ti_90
_Z20MenuParse_focuscolorP9menuDef_ti_20:
	lea edx, [ebp-0x1c]
	mov eax, esi
	call _Z25PC_Float_Expression_ParseiPf
	test eax, eax
	jz _Z20MenuParse_focuscolorP9menuDef_ti_10
	mov eax, [ebp-0x1c]
	jmp _Z20MenuParse_focuscolorP9menuDef_ti_90
_Z20MenuParse_focuscolorP9menuDef_ti_80:
	mov eax, 0x1
	jmp _Z20MenuParse_focuscolorP9menuDef_ti_100


;MenuParse_disablecolor(menuDef_t*, int)
_Z22MenuParse_disablecolorP9menuDef_ti:
	push ebp
	mov ebp, esp
	push edi
	push esi
	push ebx
	sub esp, 0x43c
	mov esi, [ebp+0xc]
	mov ebx, [ebp+0x8]
	add ebx, 0xf8
	mov edi, 0x4
_Z22MenuParse_disablecolorP9menuDef_ti_60:
	lea eax, [ebp-0x42c]
	mov [esp+0x4], eax
	mov [esp], esi
	call _Z18PC_ReadTokenHandleiP10pc_token_s
	test eax, eax
	jz _Z22MenuParse_disablecolorP9menuDef_ti_10
	movzx eax, byte [ebp-0x41c]
	cmp al, 0x28
	jz _Z22MenuParse_disablecolorP9menuDef_ti_20
	cmp al, 0x2d
	jz _Z22MenuParse_disablecolorP9menuDef_ti_30
	xor eax, eax
_Z22MenuParse_disablecolorP9menuDef_ti_100:
	cmp dword [ebp-0x42c], 0x3
	jnz _Z22MenuParse_disablecolorP9menuDef_ti_40
	test eax, eax
	jz _Z22MenuParse_disablecolorP9menuDef_ti_50
	mov eax, [ebp-0x420]
	xor eax, 0x80000000
	mov [ebp-0x1c], eax
_Z22MenuParse_disablecolorP9menuDef_ti_90:
	mov [ebx], eax
	add ebx, 0x4
	sub edi, 0x1
	jnz _Z22MenuParse_disablecolorP9menuDef_ti_60
	mov eax, 0x1
	jmp _Z22MenuParse_disablecolorP9menuDef_ti_70
_Z22MenuParse_disablecolorP9menuDef_ti_30:
	lea eax, [ebp-0x42c]
	mov [esp+0x4], eax
	mov [esp], esi
	call _Z18PC_ReadTokenHandleiP10pc_token_s
	test eax, eax
	jnz _Z22MenuParse_disablecolorP9menuDef_ti_80
_Z22MenuParse_disablecolorP9menuDef_ti_10:
	xor eax, eax
_Z22MenuParse_disablecolorP9menuDef_ti_70:
	add esp, 0x43c
	pop ebx
	pop esi
	pop edi
	pop ebp
	ret
_Z22MenuParse_disablecolorP9menuDef_ti_40:
	lea eax, [ebp-0x41c]
	mov [esp+0x8], eax
	mov dword [esp+0x4], _cstring_expected_float_b
	mov [esp], esi
	call _Z14PC_SourceErroriPcz
	xor eax, eax
	add esp, 0x43c
	pop ebx
	pop esi
	pop edi
	pop ebp
	ret
_Z22MenuParse_disablecolorP9menuDef_ti_50:
	mov eax, [ebp-0x420]
	mov [ebp-0x1c], eax
	jmp _Z22MenuParse_disablecolorP9menuDef_ti_90
_Z22MenuParse_disablecolorP9menuDef_ti_20:
	lea edx, [ebp-0x1c]
	mov eax, esi
	call _Z25PC_Float_Expression_ParseiPf
	test eax, eax
	jz _Z22MenuParse_disablecolorP9menuDef_ti_10
	mov eax, [ebp-0x1c]
	jmp _Z22MenuParse_disablecolorP9menuDef_ti_90
_Z22MenuParse_disablecolorP9menuDef_ti_80:
	mov eax, 0x1
	jmp _Z22MenuParse_disablecolorP9menuDef_ti_100


;MenuParse_outlinecolor(menuDef_t*, int)
_Z22MenuParse_outlinecolorP9menuDef_ti:
	push ebp
	mov ebp, esp
	push edi
	push esi
	push ebx
	sub esp, 0x43c
	mov esi, [ebp+0xc]
	mov ebx, [ebp+0x8]
	add ebx, 0x88
	mov edi, 0x4
_Z22MenuParse_outlinecolorP9menuDef_ti_60:
	lea eax, [ebp-0x42c]
	mov [esp+0x4], eax
	mov [esp], esi
	call _Z18PC_ReadTokenHandleiP10pc_token_s
	test eax, eax
	jz _Z22MenuParse_outlinecolorP9menuDef_ti_10
	movzx eax, byte [ebp-0x41c]
	cmp al, 0x28
	jz _Z22MenuParse_outlinecolorP9menuDef_ti_20
	cmp al, 0x2d
	jz _Z22MenuParse_outlinecolorP9menuDef_ti_30
	xor eax, eax
_Z22MenuParse_outlinecolorP9menuDef_ti_100:
	cmp dword [ebp-0x42c], 0x3
	jnz _Z22MenuParse_outlinecolorP9menuDef_ti_40
	test eax, eax
	jz _Z22MenuParse_outlinecolorP9menuDef_ti_50
	mov eax, [ebp-0x420]
	xor eax, 0x80000000
	mov [ebp-0x1c], eax
_Z22MenuParse_outlinecolorP9menuDef_ti_90:
	mov [ebx], eax
	add ebx, 0x4
	sub edi, 0x1
	jnz _Z22MenuParse_outlinecolorP9menuDef_ti_60
	mov eax, 0x1
	jmp _Z22MenuParse_outlinecolorP9menuDef_ti_70
_Z22MenuParse_outlinecolorP9menuDef_ti_30:
	lea eax, [ebp-0x42c]
	mov [esp+0x4], eax
	mov [esp], esi
	call _Z18PC_ReadTokenHandleiP10pc_token_s
	test eax, eax
	jnz _Z22MenuParse_outlinecolorP9menuDef_ti_80
_Z22MenuParse_outlinecolorP9menuDef_ti_10:
	xor eax, eax
_Z22MenuParse_outlinecolorP9menuDef_ti_70:
	add esp, 0x43c
	pop ebx
	pop esi
	pop edi
	pop ebp
	ret
_Z22MenuParse_outlinecolorP9menuDef_ti_40:
	lea eax, [ebp-0x41c]
	mov [esp+0x8], eax
	mov dword [esp+0x4], _cstring_expected_float_b
	mov [esp], esi
	call _Z14PC_SourceErroriPcz
	xor eax, eax
	add esp, 0x43c
	pop ebx
	pop esi
	pop edi
	pop ebp
	ret
_Z22MenuParse_outlinecolorP9menuDef_ti_50:
	mov eax, [ebp-0x420]
	mov [ebp-0x1c], eax
	jmp _Z22MenuParse_outlinecolorP9menuDef_ti_90
_Z22MenuParse_outlinecolorP9menuDef_ti_20:
	lea edx, [ebp-0x1c]
	mov eax, esi
	call _Z25PC_Float_Expression_ParseiPf
	test eax, eax
	jz _Z22MenuParse_outlinecolorP9menuDef_ti_10
	mov eax, [ebp-0x1c]
	jmp _Z22MenuParse_outlinecolorP9menuDef_ti_90
_Z22MenuParse_outlinecolorP9menuDef_ti_80:
	mov eax, 0x1
	jmp _Z22MenuParse_outlinecolorP9menuDef_ti_100


;MenuParse_background(menuDef_t*, int)
_Z20MenuParse_backgroundP9menuDef_ti:
	push ebp
	mov ebp, esp
	push ebx
	sub esp, 0x464
	lea eax, [ebp-0x458]
	mov [esp+0x4], eax
	mov eax, [ebp+0xc]
	mov [esp], eax
	call _Z18PC_ReadTokenHandleiP10pc_token_s
	test eax, eax
	jnz _Z20MenuParse_backgroundP9menuDef_ti_10
	add esp, 0x464
	pop ebx
	pop ebp
	ret
_Z20MenuParse_backgroundP9menuDef_ti_10:
	lea eax, [ebp-0x448]
	mov [esp], eax
	call _Z12String_AllocPKc
	mov dword [esp+0x8], 0x40
	mov [esp+0x4], eax
	lea ebx, [ebp-0x48]
	mov [esp], ebx
	call _Z10I_strncpyzPcPKci
	mov [esp], ebx
	call _Z8I_strlwrPc
	mov edx, [ebp+0x8]
	mov eax, [edx+0xe4]
	mov [esp+0x4], eax
	mov [esp], ebx
	call _Z23Material_RegisterHandlePKci
	mov edx, [ebp+0x8]
	mov [edx+0x98], eax
	mov eax, 0x1
	add esp, 0x464
	pop ebx
	pop ebp
	ret
	nop


;MenuParse_ownerdraw(menuDef_t*, int)
_Z19MenuParse_ownerdrawP9menuDef_ti:
	push ebp
	mov ebp, esp
	push edi
	push esi
	push ebx
	sub esp, 0x42c
	mov ebx, [ebp+0xc]
	mov esi, [ebp+0x8]
	add esi, 0x40
	lea edi, [ebp-0x428]
	mov [esp+0x4], edi
	mov [esp], ebx
	call _Z18PC_ReadTokenHandleiP10pc_token_s
	test eax, eax
	jz _Z19MenuParse_ownerdrawP9menuDef_ti_10
	movzx eax, byte [ebp-0x418]
	cmp al, 0x28
	jz _Z19MenuParse_ownerdrawP9menuDef_ti_20
	cmp al, 0x2d
	jz _Z19MenuParse_ownerdrawP9menuDef_ti_30
	xor edx, edx
_Z19MenuParse_ownerdrawP9menuDef_ti_60:
	cmp dword [ebp-0x428], 0x3
	jz _Z19MenuParse_ownerdrawP9menuDef_ti_40
	lea eax, [ebp-0x418]
	mov [esp+0x8], eax
	mov dword [esp+0x4], _cstring_expected_integer
	mov [esp], ebx
	call _Z14PC_SourceErroriPcz
	xor eax, eax
_Z19MenuParse_ownerdrawP9menuDef_ti_70:
	add esp, 0x42c
	pop ebx
	pop esi
	pop edi
	pop ebp
	ret
_Z19MenuParse_ownerdrawP9menuDef_ti_10:
	xor eax, eax
	add esp, 0x42c
	pop ebx
	pop esi
	pop edi
	pop ebp
	ret
_Z19MenuParse_ownerdrawP9menuDef_ti_40:
	mov eax, [ebp-0x420]
	mov [esi], eax
	test edx, edx
	jz _Z19MenuParse_ownerdrawP9menuDef_ti_50
	neg eax
	mov [esi], eax
_Z19MenuParse_ownerdrawP9menuDef_ti_50:
	mov eax, 0x1
	add esp, 0x42c
	pop ebx
	pop esi
	pop edi
	pop ebp
	ret
_Z19MenuParse_ownerdrawP9menuDef_ti_30:
	mov [esp+0x4], edi
	mov [esp], ebx
	call _Z18PC_ReadTokenHandleiP10pc_token_s
	test eax, eax
	jz _Z19MenuParse_ownerdrawP9menuDef_ti_10
	mov edx, 0x1
	jmp _Z19MenuParse_ownerdrawP9menuDef_ti_60
_Z19MenuParse_ownerdrawP9menuDef_ti_20:
	mov edx, esi
	mov eax, ebx
	call _Z23PC_Int_Expression_ParseiPi
	jmp _Z19MenuParse_ownerdrawP9menuDef_ti_70
	nop


;MenuParse_ownerdrawFlag(menuDef_t*, int)
_Z23MenuParse_ownerdrawFlagP9menuDef_ti:
	push ebp
	mov ebp, esp
	push esi
	push ebx
	sub esp, 0x430
	mov ebx, [ebp+0xc]
	lea esi, [ebp-0x41c]
	mov [esp+0x4], esi
	mov [esp], ebx
	call _Z18PC_ReadTokenHandleiP10pc_token_s
	test eax, eax
	jz _Z23MenuParse_ownerdrawFlagP9menuDef_ti_10
	movzx eax, byte [ebp-0x40c]
	cmp al, 0x28
	jz _Z23MenuParse_ownerdrawFlagP9menuDef_ti_20
	cmp al, 0x2d
	jz _Z23MenuParse_ownerdrawFlagP9menuDef_ti_30
	xor edx, edx
_Z23MenuParse_ownerdrawFlagP9menuDef_ti_70:
	cmp dword [ebp-0x41c], 0x3
	jz _Z23MenuParse_ownerdrawFlagP9menuDef_ti_40
	lea eax, [ebp-0x40c]
	mov [esp+0x8], eax
	mov dword [esp+0x4], _cstring_expected_integer
	mov [esp], ebx
	call _Z14PC_SourceErroriPcz
	xor eax, eax
	add esp, 0x430
	pop ebx
	pop esi
	pop ebp
	ret
_Z23MenuParse_ownerdrawFlagP9menuDef_ti_30:
	mov [esp+0x4], esi
	mov [esp], ebx
	call _Z18PC_ReadTokenHandleiP10pc_token_s
	test eax, eax
	jnz _Z23MenuParse_ownerdrawFlagP9menuDef_ti_50
_Z23MenuParse_ownerdrawFlagP9menuDef_ti_10:
	xor eax, eax
	add esp, 0x430
	pop ebx
	pop esi
	pop ebp
	ret
_Z23MenuParse_ownerdrawFlagP9menuDef_ti_20:
	lea edx, [ebp-0xc]
	mov eax, ebx
	call _Z23PC_Int_Expression_ParseiPi
	test eax, eax
	jz _Z23MenuParse_ownerdrawFlagP9menuDef_ti_10
_Z23MenuParse_ownerdrawFlagP9menuDef_ti_60:
	mov edx, [ebp+0x8]
	mov eax, [edx+0x44]
	or eax, [ebp-0xc]
	mov [edx+0x44], eax
	mov eax, 0x1
	add esp, 0x430
	pop ebx
	pop esi
	pop ebp
	ret
_Z23MenuParse_ownerdrawFlagP9menuDef_ti_40:
	mov eax, [ebp-0x414]
	mov [ebp-0xc], eax
	test edx, edx
	jz _Z23MenuParse_ownerdrawFlagP9menuDef_ti_60
	neg eax
	mov [ebp-0xc], eax
	jmp _Z23MenuParse_ownerdrawFlagP9menuDef_ti_60
_Z23MenuParse_ownerdrawFlagP9menuDef_ti_50:
	mov edx, 0x1
	jmp _Z23MenuParse_ownerdrawFlagP9menuDef_ti_70
	nop


;MenuParse_outOfBounds(menuDef_t*, int)
_Z21MenuParse_outOfBoundsP9menuDef_ti:
	push ebp
	mov ebp, esp
	sub esp, 0x18
	mov edx, [ebp+0x8]
	mov eax, [edx+0x4c]
	or eax, 0x2000000
	mov [esp+0x4], eax
	mov [esp], edx
	call _Z21Window_SetStaticFlagsP11windowDef_ti
	mov eax, 0x1
	leave
	ret


;MenuParse_soundLoop(menuDef_t*, int)
_Z19MenuParse_soundLoopP9menuDef_ti:
	push ebp
	mov ebp, esp
	sub esp, 0x428
	lea eax, [ebp-0x418]
	mov [esp+0x4], eax
	mov eax, [ebp+0xc]
	mov [esp], eax
	call _Z18PC_ReadTokenHandleiP10pc_token_s
	test eax, eax
	jz _Z19MenuParse_soundLoopP9menuDef_ti_10
	cmp byte [ebp-0x408], 0x0
	jnz _Z19MenuParse_soundLoopP9menuDef_ti_20
	mov eax, 0x1
_Z19MenuParse_soundLoopP9menuDef_ti_10:
	leave
	ret
_Z19MenuParse_soundLoopP9menuDef_ti_20:
	lea eax, [ebp-0x408]
	mov [esp], eax
	call _Z12String_AllocPKc
	mov edx, [ebp+0x8]
	mov [edx+0xe0], eax
	mov eax, 0x1
	jmp _Z19MenuParse_soundLoopP9menuDef_ti_10


;MenuParse_itemDef(menuDef_t*, int)
_Z17MenuParse_itemDefP9menuDef_ti:
	push ebp
	mov ebp, esp
	push edi
	push esi
	push ebx
	sub esp, 0x42c
	mov eax, [ebp+0x8]
	cmp dword [eax+0xa4], 0xff
	jle _Z17MenuParse_itemDefP9menuDef_ti_10
_Z17MenuParse_itemDefP9menuDef_ti_120:
	mov eax, 0x1
	add esp, 0x42c
	pop ebx
	pop esi
	pop edi
	pop ebp
	ret
_Z17MenuParse_itemDefP9menuDef_ti_10:
	mov dword [esp+0x4], 0x4
	mov dword [esp], 0x174
	call _Z8UI_Allocii
	mov edi, eax
	mov ecx, [ebp+0x8]
	mov ebx, [ecx+0xe4]
	mov dword [esp+0x8], 0x174
	mov dword [esp+0x4], 0x0
	mov [esp], eax
	call memset
	mov dword [edi+0xd0], 0x3f0ccccd
	mov [edi+0x130], ebx
	mov dword [esp+0x8], 0x9c
	mov dword [esp+0x4], 0x0
	mov [esp], edi
	call memset
	mov eax, 0x3f800000
	mov [edi+0x48], eax
	mov [edi+0x64], eax
	mov [edi+0x60], eax
	mov [edi+0x5c], eax
	mov [edi+0x58], eax
	lea eax, [ebp-0x428]
	mov [esp+0x4], eax
	mov ecx, [ebp+0xc]
	mov [esp], ecx
	call _Z18PC_ReadTokenHandleiP10pc_token_s
	test eax, eax
	jz _Z17MenuParse_itemDefP9menuDef_ti_20
	cmp byte [ebp-0x418], 0x7b
	jz _Z17MenuParse_itemDefP9menuDef_ti_30
_Z17MenuParse_itemDefP9menuDef_ti_20:
	mov eax, edi
	call _Z19Menu_FreeItemMemoryP9itemDef_s
	xor eax, eax
	add esp, 0x42c
	pop ebx
	pop esi
	pop edi
	pop ebp
	ret
_Z17MenuParse_itemDefP9menuDef_ti_70:
	lea esi, [ebp-0x418]
_Z17MenuParse_itemDefP9menuDef_ti_80:
	mov [esp+0x8], esi
	mov dword [esp+0x4], _cstring_unknown_menu_ite
	mov ecx, [ebp+0xc]
	mov [esp], ecx
	call _Z14PC_SourceErroriPcz
_Z17MenuParse_itemDefP9menuDef_ti_30:
	lea eax, [ebp-0x428]
	mov [esp+0x4], eax
	mov ecx, [ebp+0xc]
	mov [esp], ecx
	call _Z18PC_ReadTokenHandleiP10pc_token_s
	test eax, eax
	jz _Z17MenuParse_itemDefP9menuDef_ti_40
	movzx eax, byte [ebp-0x418]
	cmp al, 0x7d
	jz _Z17MenuParse_itemDefP9menuDef_ti_50
	cmp al, 0x3b
	jz _Z17MenuParse_itemDefP9menuDef_ti_30
	test al, al
	jnz _Z17MenuParse_itemDefP9menuDef_ti_60
	xor esi, esi
	xor eax, eax
_Z17MenuParse_itemDefP9menuDef_ti_100:
	lea eax, [esi+eax]
	and eax, 0xff
	mov ebx, [eax*4+itemParseKeywordHash]
	test ebx, ebx
	jz _Z17MenuParse_itemDefP9menuDef_ti_70
	lea esi, [ebp-0x418]
	mov [esp+0x4], esi
	mov eax, [ebx]
	mov [esp], eax
	call _Z9I_stricmpPKcS0_
	test eax, eax
	jnz _Z17MenuParse_itemDefP9menuDef_ti_80
	mov eax, [ebp+0xc]
	mov [esp+0x4], eax
	mov [esp], edi
	call dword [ebx+0x4]
	test eax, eax
	jnz _Z17MenuParse_itemDefP9menuDef_ti_30
	mov [esp+0x8], esi
	mov dword [esp+0x4], _cstring_couldnt_parse_me
	mov ecx, [ebp+0xc]
	mov [esp], ecx
	call _Z14PC_SourceErroriPcz
	jmp _Z17MenuParse_itemDefP9menuDef_ti_20
_Z17MenuParse_itemDefP9menuDef_ti_60:
	xor esi, esi
	mov ebx, 0xf0f
_Z17MenuParse_itemDefP9menuDef_ti_90:
	movsx eax, al
	mov [esp], eax
	call tolower
	imul eax, ebx
	add esi, eax
	movzx eax, byte [ebp+ebx-0x1326]
	add ebx, 0x1
	test al, al
	jnz _Z17MenuParse_itemDefP9menuDef_ti_90
	mov eax, esi
	sar eax, 0x8
	jmp _Z17MenuParse_itemDefP9menuDef_ti_100
_Z17MenuParse_itemDefP9menuDef_ti_40:
	mov dword [esp+0x4], _cstring_end_of_file_insi
	mov eax, [ebp+0xc]
	mov [esp], eax
	call _Z14PC_SourceErroriPcz
	jmp _Z17MenuParse_itemDefP9menuDef_ti_20
_Z17MenuParse_itemDefP9menuDef_ti_50:
	cmp dword [edi+0xb4], 0x6
	jz _Z17MenuParse_itemDefP9menuDef_ti_110
_Z17MenuParse_itemDefP9menuDef_ti_130:
	mov eax, [ebp+0x8]
	mov [edi+0xe8], eax
	mov edx, [eax+0xa4]
	mov ecx, [ebp+0x8]
	mov eax, [ecx+0x118]
	mov [eax+edx*4], edi
	add dword [ecx+0xa4], 0x1
	jmp _Z17MenuParse_itemDefP9menuDef_ti_120
_Z17MenuParse_itemDefP9menuDef_ti_110:
	mov dword [edi+0x128], 0x0
	mov [esp], edi
	call _Z18Item_GetListBoxDefP9itemDef_s
	test eax, eax
	jz _Z17MenuParse_itemDefP9menuDef_ti_130
	mov dword [eax+0x4], 0x0
	mov dword [eax+0x8], 0x0
	jmp _Z17MenuParse_itemDefP9menuDef_ti_130
	nop


;MenuParse_execExp(menuDef_t*, int)
_Z17MenuParse_execExpP9menuDef_ti:
	push ebp
	mov ebp, esp
	push esi
	push ebx
	sub esp, 0x830
	mov esi, [ebp+0xc]
	lea eax, [ebp-0x828]
	mov [esp+0x4], eax
	mov [esp], esi
	call _Z18PC_ReadTokenHandleiP10pc_token_s
	test eax, eax
	jnz _Z17MenuParse_execExpP9menuDef_ti_10
_Z17MenuParse_execExpP9menuDef_ti_30:
	xor eax, eax
_Z17MenuParse_execExpP9menuDef_ti_80:
	add esp, 0x830
	pop ebx
	pop esi
	pop ebp
	ret
_Z17MenuParse_execExpP9menuDef_ti_10:
	lea eax, [ebp-0x818]
	mov [esp], eax
	call _Z12String_AllocPKc
	mov ebx, eax
	mov dword [esp+0x4], _cstring_visible
	mov [esp], eax
	call _Z9I_stricmpPKcS0_
	test eax, eax
	jz _Z17MenuParse_execExpP9menuDef_ti_20
	mov dword [esp+0x4], _cstring_rect
	mov [esp], ebx
	call _Z9I_stricmpPKcS0_
	test eax, eax
	jnz _Z17MenuParse_execExpP9menuDef_ti_30
	lea eax, [ebp-0x418]
	mov [esp+0x4], eax
	mov [esp], esi
	call _Z18PC_ReadTokenHandleiP10pc_token_s
	test eax, eax
	jz _Z17MenuParse_execExpP9menuDef_ti_40
	mov dword [esp+0x4], _cstring_x
	lea ebx, [ebp-0x408]
	mov [esp], ebx
	call _Z9I_stricmpPKcS0_
	test eax, eax
	jnz _Z17MenuParse_execExpP9menuDef_ti_50
	mov dword [esp], 0x960
	call Z_MallocInternal
	mov edx, [ebp+0x8]
	mov [edx+0x10c], eax
	mov dword [esp+0x8], 0xc8
	mov eax, edx
	add eax, 0x108
	jmp _Z17MenuParse_execExpP9menuDef_ti_60
_Z17MenuParse_execExpP9menuDef_ti_20:
	lea eax, [ebp-0x418]
	mov [esp+0x4], eax
	mov [esp], esi
	call _Z18PC_ReadTokenHandleiP10pc_token_s
	test eax, eax
	jnz _Z17MenuParse_execExpP9menuDef_ti_70
	mov dword [esp+0x4], _cstring_error_line_ended2
	mov dword [esp], 0x10
	call _Z14Com_PrintErroriPKcz
	xor eax, eax
	jmp _Z17MenuParse_execExpP9menuDef_ti_80
_Z17MenuParse_execExpP9menuDef_ti_70:
	mov dword [esp+0x4], _cstring_when
	lea ebx, [ebp-0x408]
	mov [esp], ebx
	call _Z9I_stricmpPKcS0_
	test eax, eax
	jnz _Z17MenuParse_execExpP9menuDef_ti_90
	mov edx, [ebp+0x8]
	mov eax, [edx+0x50]
	or eax, 0x4
	mov [esp+0x8], eax
	mov [esp+0x4], edx
	mov dword [esp], 0x0
	call _Z22Window_SetDynamicFlagsiP11windowDef_ti
	mov dword [esp], 0x960
	call Z_MallocInternal
	mov edx, [ebp+0x8]
	mov [edx+0xd8], eax
	mov dword [esp+0x8], 0xc8
	mov eax, edx
	add eax, 0xd4
_Z17MenuParse_execExpP9menuDef_ti_60:
	mov [esp+0x4], eax
	mov [esp], esi
	call _Z16parse_expressioniP11statement_si
	test al, al
	jz _Z17MenuParse_execExpP9menuDef_ti_30
	mov eax, 0x1
	jmp _Z17MenuParse_execExpP9menuDef_ti_80
_Z17MenuParse_execExpP9menuDef_ti_90:
	mov [esp+0x8], ebx
	mov dword [esp+0x4], _cstring_error_expected_w
	mov dword [esp], 0x10
	call _Z14Com_PrintErroriPKcz
	xor eax, eax
	jmp _Z17MenuParse_execExpP9menuDef_ti_80
_Z17MenuParse_execExpP9menuDef_ti_40:
	mov dword [esp+0x4], _cstring_error_line_ended
	mov dword [esp], 0x10
	call _Z14Com_PrintErroriPKcz
	jmp _Z17MenuParse_execExpP9menuDef_ti_30
_Z17MenuParse_execExpP9menuDef_ti_50:
	mov dword [esp+0x4], _cstring_y
	mov [esp], ebx
	call _Z9I_stricmpPKcS0_
	test eax, eax
	jnz _Z17MenuParse_execExpP9menuDef_ti_100
	mov dword [esp], 0x960
	call Z_MallocInternal
	mov edx, [ebp+0x8]
	mov [edx+0x114], eax
	mov dword [esp+0x8], 0xc8
	mov eax, edx
	add eax, 0x110
	jmp _Z17MenuParse_execExpP9menuDef_ti_60
_Z17MenuParse_execExpP9menuDef_ti_100:
	mov [esp+0x8], ebx
	mov dword [esp+0x4], _cstring_error_expected_x1
	mov dword [esp], 0x10
	call _Z14Com_PrintErroriPKcz
	jmp _Z17MenuParse_execExpP9menuDef_ti_30
	nop


;MenuParse_popup(menuDef_t*, int)
_Z15MenuParse_popupP9menuDef_ti:
	push ebp
	mov ebp, esp
	sub esp, 0x18
	mov edx, [ebp+0x8]
	mov eax, [edx+0x4c]
	or eax, 0x1000000
	mov [esp+0x4], eax
	mov [esp], edx
	call _Z21Window_SetStaticFlagsP11windowDef_ti
	mov eax, 0x1
	leave
	ret


;MenuParse_fadeClamp(menuDef_t*, int)
_Z19MenuParse_fadeClampP9menuDef_ti:
	push ebp
	mov ebp, esp
	push edi
	push esi
	push ebx
	sub esp, 0x42c
	mov ebx, [ebp+0xc]
	mov esi, [ebp+0x8]
	add esi, 0xb4
	lea edi, [ebp-0x428]
	mov [esp+0x4], edi
	mov [esp], ebx
	call _Z18PC_ReadTokenHandleiP10pc_token_s
	test eax, eax
	jz _Z19MenuParse_fadeClampP9menuDef_ti_10
	movzx eax, byte [ebp-0x418]
	cmp al, 0x28
	jz _Z19MenuParse_fadeClampP9menuDef_ti_20
	cmp al, 0x2d
	jz _Z19MenuParse_fadeClampP9menuDef_ti_30
	xor eax, eax
_Z19MenuParse_fadeClampP9menuDef_ti_60:
	cmp dword [ebp-0x428], 0x3
	jz _Z19MenuParse_fadeClampP9menuDef_ti_40
	lea eax, [ebp-0x418]
	mov [esp+0x8], eax
	mov dword [esp+0x4], _cstring_expected_float_b
	mov [esp], ebx
	call _Z14PC_SourceErroriPcz
	xor eax, eax
_Z19MenuParse_fadeClampP9menuDef_ti_70:
	add esp, 0x42c
	pop ebx
	pop esi
	pop edi
	pop ebp
	ret
_Z19MenuParse_fadeClampP9menuDef_ti_10:
	xor eax, eax
	add esp, 0x42c
	pop ebx
	pop esi
	pop edi
	pop ebp
	ret
_Z19MenuParse_fadeClampP9menuDef_ti_40:
	test eax, eax
	jnz _Z19MenuParse_fadeClampP9menuDef_ti_50
	mov eax, [ebp-0x41c]
	mov [esi], eax
	mov eax, 0x1
	add esp, 0x42c
	pop ebx
	pop esi
	pop edi
	pop ebp
	ret
_Z19MenuParse_fadeClampP9menuDef_ti_50:
	mov eax, [ebp-0x41c]
	xor eax, 0x80000000
	mov [esi], eax
	mov eax, 0x1
	add esp, 0x42c
	pop ebx
	pop esi
	pop edi
	pop ebp
	ret
_Z19MenuParse_fadeClampP9menuDef_ti_30:
	mov [esp+0x4], edi
	mov [esp], ebx
	call _Z18PC_ReadTokenHandleiP10pc_token_s
	test eax, eax
	jz _Z19MenuParse_fadeClampP9menuDef_ti_10
	mov eax, 0x1
	jmp _Z19MenuParse_fadeClampP9menuDef_ti_60
_Z19MenuParse_fadeClampP9menuDef_ti_20:
	mov edx, esi
	mov eax, ebx
	call _Z25PC_Float_Expression_ParseiPf
	jmp _Z19MenuParse_fadeClampP9menuDef_ti_70


;MenuParse_fadeCycle(menuDef_t*, int)
_Z19MenuParse_fadeCycleP9menuDef_ti:
	push ebp
	mov ebp, esp
	push edi
	push esi
	push ebx
	sub esp, 0x42c
	mov ebx, [ebp+0xc]
	mov esi, [ebp+0x8]
	add esi, 0xb0
	lea edi, [ebp-0x428]
	mov [esp+0x4], edi
	mov [esp], ebx
	call _Z18PC_ReadTokenHandleiP10pc_token_s
	test eax, eax
	jz _Z19MenuParse_fadeCycleP9menuDef_ti_10
	movzx eax, byte [ebp-0x418]
	cmp al, 0x28
	jz _Z19MenuParse_fadeCycleP9menuDef_ti_20
	cmp al, 0x2d
	jz _Z19MenuParse_fadeCycleP9menuDef_ti_30
	xor edx, edx
_Z19MenuParse_fadeCycleP9menuDef_ti_60:
	cmp dword [ebp-0x428], 0x3
	jz _Z19MenuParse_fadeCycleP9menuDef_ti_40
	lea eax, [ebp-0x418]
	mov [esp+0x8], eax
	mov dword [esp+0x4], _cstring_expected_integer
	mov [esp], ebx
	call _Z14PC_SourceErroriPcz
	xor eax, eax
_Z19MenuParse_fadeCycleP9menuDef_ti_70:
	add esp, 0x42c
	pop ebx
	pop esi
	pop edi
	pop ebp
	ret
_Z19MenuParse_fadeCycleP9menuDef_ti_10:
	xor eax, eax
	add esp, 0x42c
	pop ebx
	pop esi
	pop edi
	pop ebp
	ret
_Z19MenuParse_fadeCycleP9menuDef_ti_40:
	mov eax, [ebp-0x420]
	mov [esi], eax
	test edx, edx
	jz _Z19MenuParse_fadeCycleP9menuDef_ti_50
	neg eax
	mov [esi], eax
_Z19MenuParse_fadeCycleP9menuDef_ti_50:
	mov eax, 0x1
	add esp, 0x42c
	pop ebx
	pop esi
	pop edi
	pop ebp
	ret
_Z19MenuParse_fadeCycleP9menuDef_ti_30:
	mov [esp+0x4], edi
	mov [esp], ebx
	call _Z18PC_ReadTokenHandleiP10pc_token_s
	test eax, eax
	jz _Z19MenuParse_fadeCycleP9menuDef_ti_10
	mov edx, 0x1
	jmp _Z19MenuParse_fadeCycleP9menuDef_ti_60
_Z19MenuParse_fadeCycleP9menuDef_ti_20:
	mov edx, esi
	mov eax, ebx
	call _Z23PC_Int_Expression_ParseiPi
	jmp _Z19MenuParse_fadeCycleP9menuDef_ti_70


;MenuParse_fadeAmount(menuDef_t*, int)
_Z20MenuParse_fadeAmountP9menuDef_ti:
	push ebp
	mov ebp, esp
	push edi
	push esi
	push ebx
	sub esp, 0x42c
	mov ebx, [ebp+0xc]
	mov esi, [ebp+0x8]
	add esi, 0xb8
	lea edi, [ebp-0x428]
	mov [esp+0x4], edi
	mov [esp], ebx
	call _Z18PC_ReadTokenHandleiP10pc_token_s
	test eax, eax
	jz _Z20MenuParse_fadeAmountP9menuDef_ti_10
	movzx eax, byte [ebp-0x418]
	cmp al, 0x28
	jz _Z20MenuParse_fadeAmountP9menuDef_ti_20
	cmp al, 0x2d
	jz _Z20MenuParse_fadeAmountP9menuDef_ti_30
	xor eax, eax
_Z20MenuParse_fadeAmountP9menuDef_ti_60:
	cmp dword [ebp-0x428], 0x3
	jz _Z20MenuParse_fadeAmountP9menuDef_ti_40
	lea eax, [ebp-0x418]
	mov [esp+0x8], eax
	mov dword [esp+0x4], _cstring_expected_float_b
	mov [esp], ebx
	call _Z14PC_SourceErroriPcz
	xor eax, eax
_Z20MenuParse_fadeAmountP9menuDef_ti_70:
	add esp, 0x42c
	pop ebx
	pop esi
	pop edi
	pop ebp
	ret
_Z20MenuParse_fadeAmountP9menuDef_ti_10:
	xor eax, eax
	add esp, 0x42c
	pop ebx
	pop esi
	pop edi
	pop ebp
	ret
_Z20MenuParse_fadeAmountP9menuDef_ti_40:
	test eax, eax
	jnz _Z20MenuParse_fadeAmountP9menuDef_ti_50
	mov eax, [ebp-0x41c]
	mov [esi], eax
	mov eax, 0x1
	add esp, 0x42c
	pop ebx
	pop esi
	pop edi
	pop ebp
	ret
_Z20MenuParse_fadeAmountP9menuDef_ti_50:
	mov eax, [ebp-0x41c]
	xor eax, 0x80000000
	mov [esi], eax
	mov eax, 0x1
	add esp, 0x42c
	pop ebx
	pop esi
	pop edi
	pop ebp
	ret
_Z20MenuParse_fadeAmountP9menuDef_ti_30:
	mov [esp+0x4], edi
	mov [esp], ebx
	call _Z18PC_ReadTokenHandleiP10pc_token_s
	test eax, eax
	jz _Z20MenuParse_fadeAmountP9menuDef_ti_10
	mov eax, 0x1
	jmp _Z20MenuParse_fadeAmountP9menuDef_ti_60
_Z20MenuParse_fadeAmountP9menuDef_ti_20:
	mov edx, esi
	mov eax, ebx
	call _Z25PC_Float_Expression_ParseiPf
	jmp _Z20MenuParse_fadeAmountP9menuDef_ti_70


;MenuParse_fadeInAmount(menuDef_t*, int)
_Z22MenuParse_fadeInAmountP9menuDef_ti:
	push ebp
	mov ebp, esp
	push edi
	push esi
	push ebx
	sub esp, 0x42c
	mov ebx, [ebp+0xc]
	mov esi, [ebp+0x8]
	add esi, 0xbc
	lea edi, [ebp-0x428]
	mov [esp+0x4], edi
	mov [esp], ebx
	call _Z18PC_ReadTokenHandleiP10pc_token_s
	test eax, eax
	jz _Z22MenuParse_fadeInAmountP9menuDef_ti_10
	movzx eax, byte [ebp-0x418]
	cmp al, 0x28
	jz _Z22MenuParse_fadeInAmountP9menuDef_ti_20
	cmp al, 0x2d
	jz _Z22MenuParse_fadeInAmountP9menuDef_ti_30
	xor eax, eax
_Z22MenuParse_fadeInAmountP9menuDef_ti_60:
	cmp dword [ebp-0x428], 0x3
	jz _Z22MenuParse_fadeInAmountP9menuDef_ti_40
	lea eax, [ebp-0x418]
	mov [esp+0x8], eax
	mov dword [esp+0x4], _cstring_expected_float_b
	mov [esp], ebx
	call _Z14PC_SourceErroriPcz
	xor eax, eax
_Z22MenuParse_fadeInAmountP9menuDef_ti_70:
	add esp, 0x42c
	pop ebx
	pop esi
	pop edi
	pop ebp
	ret
_Z22MenuParse_fadeInAmountP9menuDef_ti_10:
	xor eax, eax
	add esp, 0x42c
	pop ebx
	pop esi
	pop edi
	pop ebp
	ret
_Z22MenuParse_fadeInAmountP9menuDef_ti_40:
	test eax, eax
	jnz _Z22MenuParse_fadeInAmountP9menuDef_ti_50
	mov eax, [ebp-0x41c]
	mov [esi], eax
	mov eax, 0x1
	add esp, 0x42c
	pop ebx
	pop esi
	pop edi
	pop ebp
	ret
_Z22MenuParse_fadeInAmountP9menuDef_ti_50:
	mov eax, [ebp-0x41c]
	xor eax, 0x80000000
	mov [esi], eax
	mov eax, 0x1
	add esp, 0x42c
	pop ebx
	pop esi
	pop edi
	pop ebp
	ret
_Z22MenuParse_fadeInAmountP9menuDef_ti_30:
	mov [esp+0x4], edi
	mov [esp], ebx
	call _Z18PC_ReadTokenHandleiP10pc_token_s
	test eax, eax
	jz _Z22MenuParse_fadeInAmountP9menuDef_ti_10
	mov eax, 0x1
	jmp _Z22MenuParse_fadeInAmountP9menuDef_ti_60
_Z22MenuParse_fadeInAmountP9menuDef_ti_20:
	mov edx, esi
	mov eax, ebx
	call _Z25PC_Float_Expression_ParseiPf
	jmp _Z22MenuParse_fadeInAmountP9menuDef_ti_70


;MenuParse_execKey(menuDef_t*, int)
_Z17MenuParse_execKeyP9menuDef_ti:
	push ebp
	mov ebp, esp
	push esi
	push ebx
	sub esp, 0x430
	mov ebx, [ebp+0xc]
	lea eax, [ebp-0x41c]
	mov [esp+0x4], eax
	mov [esp], ebx
	call _Z18PC_ReadTokenHandleiP10pc_token_s
	test eax, eax
	jz _Z17MenuParse_execKeyP9menuDef_ti_10
	movzx esi, byte [ebp-0x40c]
	lea edx, [ebp-0xc]
	mov eax, ebx
	call _Z15PC_Script_ParseiPPKc
	test eax, eax
	jnz _Z17MenuParse_execKeyP9menuDef_ti_20
_Z17MenuParse_execKeyP9menuDef_ti_10:
	xor eax, eax
	add esp, 0x430
	pop ebx
	pop esi
	pop ebp
	ret
_Z17MenuParse_execKeyP9menuDef_ti_20:
	mov dword [esp+0x4], 0x4
	mov dword [esp], 0xc
	call _Z8UI_Allocii
	movsx edx, si
	mov [eax], edx
	mov edx, [ebp-0xc]
	mov [eax+0x4], edx
	mov ecx, [ebp+0x8]
	mov edx, [ecx+0xd0]
	mov [eax+0x8], edx
	mov [ecx+0xd0], eax
	mov eax, 0x1
	add esp, 0x430
	pop ebx
	pop esi
	pop ebp
	ret
	nop


;MenuParse_execKeyInt(menuDef_t*, int)
_Z20MenuParse_execKeyIntP9menuDef_ti:
	push ebp
	mov ebp, esp
	push esi
	push ebx
	sub esp, 0x430
	mov ebx, [ebp+0xc]
	lea esi, [ebp-0x420]
	mov [esp+0x4], esi
	mov [esp], ebx
	call _Z18PC_ReadTokenHandleiP10pc_token_s
	test eax, eax
	jz _Z20MenuParse_execKeyIntP9menuDef_ti_10
	movzx eax, byte [ebp-0x410]
	cmp al, 0x28
	jz _Z20MenuParse_execKeyIntP9menuDef_ti_20
	cmp al, 0x2d
	jz _Z20MenuParse_execKeyIntP9menuDef_ti_30
	xor edx, edx
_Z20MenuParse_execKeyIntP9menuDef_ti_70:
	cmp dword [ebp-0x420], 0x3
	jz _Z20MenuParse_execKeyIntP9menuDef_ti_40
	lea eax, [ebp-0x410]
	mov [esp+0x8], eax
	mov dword [esp+0x4], _cstring_expected_integer
	mov [esp], ebx
	call _Z14PC_SourceErroriPcz
	xor eax, eax
	add esp, 0x430
	pop ebx
	pop esi
	pop ebp
	ret
_Z20MenuParse_execKeyIntP9menuDef_ti_30:
	mov [esp+0x4], esi
	mov [esp], ebx
	call _Z18PC_ReadTokenHandleiP10pc_token_s
	test eax, eax
	jnz _Z20MenuParse_execKeyIntP9menuDef_ti_50
_Z20MenuParse_execKeyIntP9menuDef_ti_10:
	xor eax, eax
	add esp, 0x430
	pop ebx
	pop esi
	pop ebp
	ret
_Z20MenuParse_execKeyIntP9menuDef_ti_20:
	lea edx, [ebp-0xc]
	mov eax, ebx
	call _Z23PC_Int_Expression_ParseiPi
	test eax, eax
	jz _Z20MenuParse_execKeyIntP9menuDef_ti_10
_Z20MenuParse_execKeyIntP9menuDef_ti_60:
	lea edx, [ebp-0x10]
	mov eax, ebx
	call _Z15PC_Script_ParseiPPKc
	test eax, eax
	jz _Z20MenuParse_execKeyIntP9menuDef_ti_10
	mov dword [esp+0x4], 0x4
	mov dword [esp], 0xc
	call _Z8UI_Allocii
	mov edx, [ebp-0xc]
	mov [eax], edx
	mov edx, [ebp-0x10]
	mov [eax+0x4], edx
	mov ecx, [ebp+0x8]
	mov edx, [ecx+0xd0]
	mov [eax+0x8], edx
	mov [ecx+0xd0], eax
	mov eax, 0x1
	add esp, 0x430
	pop ebx
	pop esi
	pop ebp
	ret
_Z20MenuParse_execKeyIntP9menuDef_ti_40:
	mov eax, [ebp-0x418]
	mov [ebp-0xc], eax
	test edx, edx
	jz _Z20MenuParse_execKeyIntP9menuDef_ti_60
	neg eax
	mov [ebp-0xc], eax
	jmp _Z20MenuParse_execKeyIntP9menuDef_ti_60
_Z20MenuParse_execKeyIntP9menuDef_ti_50:
	mov edx, 0x1
	jmp _Z20MenuParse_execKeyIntP9menuDef_ti_70


;MenuParse_blurWorld(menuDef_t*, int)
_Z19MenuParse_blurWorldP9menuDef_ti:
	push ebp
	mov ebp, esp
	push edi
	push esi
	push ebx
	sub esp, 0x42c
	mov edi, [ebp+0xc]
	mov esi, [ebp+0x8]
	add esi, 0xc0
	lea ebx, [ebp-0x428]
	mov [esp+0x4], ebx
	mov [esp], edi
	call _Z18PC_ReadTokenHandleiP10pc_token_s
	test eax, eax
	jz _Z19MenuParse_blurWorldP9menuDef_ti_10
	movzx eax, byte [ebp-0x418]
	cmp al, 0x28
	jz _Z19MenuParse_blurWorldP9menuDef_ti_20
	cmp al, 0x2d
	jz _Z19MenuParse_blurWorldP9menuDef_ti_30
	xor eax, eax
_Z19MenuParse_blurWorldP9menuDef_ti_110:
	cmp dword [ebp-0x428], 0x3
	jz _Z19MenuParse_blurWorldP9menuDef_ti_40
	lea eax, [ebp-0x418]
	mov [esp+0x8], eax
	mov dword [esp+0x4], _cstring_expected_float_b
	mov [esp], edi
	call _Z14PC_SourceErroriPcz
	xor eax, eax
	add esp, 0x42c
	pop ebx
	pop esi
	pop edi
	pop ebp
	ret
_Z19MenuParse_blurWorldP9menuDef_ti_30:
	mov [esp+0x4], ebx
	mov [esp], edi
	call _Z18PC_ReadTokenHandleiP10pc_token_s
	test eax, eax
	jnz _Z19MenuParse_blurWorldP9menuDef_ti_50
_Z19MenuParse_blurWorldP9menuDef_ti_10:
	xor eax, eax
_Z19MenuParse_blurWorldP9menuDef_ti_80:
	add esp, 0x42c
	pop ebx
	pop esi
	pop edi
	pop ebp
	ret
_Z19MenuParse_blurWorldP9menuDef_ti_20:
	mov edx, esi
	mov eax, edi
	call _Z25PC_Float_Expression_ParseiPf
	test eax, eax
	jz _Z19MenuParse_blurWorldP9menuDef_ti_10
_Z19MenuParse_blurWorldP9menuDef_ti_100:
	mov eax, [ebp+0x8]
	movss xmm0, dword [eax+0xc0]
	ucomiss xmm0, [_float_0_00000000]
	jp _Z19MenuParse_blurWorldP9menuDef_ti_60
	jb _Z19MenuParse_blurWorldP9menuDef_ti_70
_Z19MenuParse_blurWorldP9menuDef_ti_60:
	mov eax, 0x1
	add esp, 0x42c
	pop ebx
	pop esi
	pop edi
	pop ebp
	ret
_Z19MenuParse_blurWorldP9menuDef_ti_70:
	cvtss2sd xmm0, xmm0
	movsd [esp+0x8], xmm0
	mov dword [esp+0x4], _cstring_blur_must_be__0_
	mov [esp], edi
	call _Z14PC_SourceErroriPcz
	xor eax, eax
	jmp _Z19MenuParse_blurWorldP9menuDef_ti_80
_Z19MenuParse_blurWorldP9menuDef_ti_40:
	test eax, eax
	jz _Z19MenuParse_blurWorldP9menuDef_ti_90
	mov eax, [ebp-0x41c]
	xor eax, 0x80000000
	mov [esi], eax
	jmp _Z19MenuParse_blurWorldP9menuDef_ti_100
_Z19MenuParse_blurWorldP9menuDef_ti_90:
	mov eax, [ebp-0x41c]
	mov [esi], eax
	jmp _Z19MenuParse_blurWorldP9menuDef_ti_100
_Z19MenuParse_blurWorldP9menuDef_ti_50:
	mov eax, 0x1
	jmp _Z19MenuParse_blurWorldP9menuDef_ti_110


;MenuParse_legacySplitScreenScale(menuDef_t*, int)
_Z32MenuParse_legacySplitScreenScaleP9menuDef_ti:
	push ebp
	mov ebp, esp
	sub esp, 0x18
	mov edx, [ebp+0x8]
	mov eax, [edx+0x4c]
	or eax, 0x4000000
	mov [esp+0x4], eax
	mov [esp], edx
	call _Z21Window_SetStaticFlagsP11windowDef_ti
	mov eax, 0x1
	leave
	ret


;MenuParse_hiddenDuringScope(menuDef_t*, int)
_Z27MenuParse_hiddenDuringScopeP9menuDef_ti:
	push ebp
	mov ebp, esp
	sub esp, 0x18
	mov edx, [ebp+0x8]
	mov eax, [edx+0x4c]
	or eax, 0x20000000
	mov [esp+0x4], eax
	mov [esp], edx
	call _Z21Window_SetStaticFlagsP11windowDef_ti
	mov eax, 0x1
	leave
	ret


;MenuParse_hiddenDuringFlashbang(menuDef_t*, int)
_Z31MenuParse_hiddenDuringFlashbangP9menuDef_ti:
	push ebp
	mov ebp, esp
	sub esp, 0x18
	mov edx, [ebp+0x8]
	mov eax, [edx+0x4c]
	or eax, 0x10000000
	mov [esp+0x4], eax
	mov [esp], edx
	call _Z21Window_SetStaticFlagsP11windowDef_ti
	mov eax, 0x1
	leave
	ret


;MenuParse_hiddenDuringUI(menuDef_t*, int)
_Z24MenuParse_hiddenDuringUIP9menuDef_ti:
	push ebp
	mov ebp, esp
	sub esp, 0x18
	mov edx, [ebp+0x8]
	mov eax, [edx+0x4c]
	or eax, 0x40000000
	mov [esp+0x4], eax
	mov [esp], edx
	call _Z21Window_SetStaticFlagsP11windowDef_ti
	mov eax, 0x1
	leave
	ret


;MenuParse_allowedBinding(menuDef_t*, int)
_Z24MenuParse_allowedBindingP9menuDef_ti:
	push ebp
	mov ebp, esp
	push esi
	push ebx
	sub esp, 0x420
	mov esi, [ebp+0x8]
	mov ebx, [ebp+0xc]
	mov ecx, [esi+0xdc]
	test ecx, ecx
	jz _Z24MenuParse_allowedBindingP9menuDef_ti_10
	mov dword [esp+0x4], _cstring_only_one_allowed
	mov [esp], ebx
	call _Z14PC_SourceErroriPcz
_Z24MenuParse_allowedBindingP9menuDef_ti_10:
	lea eax, [ebp-0x418]
	mov [esp+0x4], eax
	mov [esp], ebx
	call _Z18PC_ReadTokenHandleiP10pc_token_s
	test eax, eax
	jz _Z24MenuParse_allowedBindingP9menuDef_ti_20
	lea eax, [ebp-0x408]
	mov [esp], eax
	call _Z12String_AllocPKc
	mov [esi+0xdc], eax
	mov eax, 0x1
_Z24MenuParse_allowedBindingP9menuDef_ti_20:
	add esp, 0x420
	pop ebx
	pop esi
	pop ebp
	ret


;Menu_FreeItemMemory(itemDef_s*)
_Z19Menu_FreeItemMemoryP9itemDef_s:
	push ebp
	mov ebp, esp
	push ebx
	sub esp, 0x14
	mov ebx, eax
	lea eax, [eax+0x134]
	mov [esp], eax
	call _Z15free_expressionP11statement_s
	lea eax, [ebx+0x144]
	mov [esp], eax
	call _Z15free_expressionP11statement_s
	lea eax, [ebx+0x13c]
	mov [esp], eax
	call _Z15free_expressionP11statement_s
	lea eax, [ebx+0x14c]
	mov [esp], eax
	call _Z15free_expressionP11statement_s
	lea eax, [ebx+0x154]
	mov [esp], eax
	call _Z15free_expressionP11statement_s
	lea eax, [ebx+0x15c]
	mov [esp], eax
	call _Z15free_expressionP11statement_s
	lea eax, [ebx+0x164]
	mov [esp], eax
	call _Z15free_expressionP11statement_s
	lea eax, [ebx+0x16c]
	mov [esp], eax
	call _Z15free_expressionP11statement_s
	add esp, 0x14
	pop ebx
	pop ebp
	ret
	nop


;PC_SourceError(int, char*, ...)
_Z14PC_SourceErroriPcz:
	push ebp
	mov ebp, esp
	push ebx
	sub esp, 0xb4
	lea eax, [ebp+0x10]
	mov [ebp-0x10], eax
	mov [esp+0xc], eax
	mov eax, [ebp+0xc]
	mov [esp+0x8], eax
	mov dword [esp+0x4], 0x1000
	mov dword [esp], _ZZ14PC_SourceErroriPczE6string
	call vsnprintf
	mov byte [ebp-0x90], 0x0
	mov dword [ebp-0xc], 0x0
	lea eax, [ebp-0xc]
	mov [esp+0x8], eax
	lea ebx, [ebp-0x90]
	mov [esp+0x4], ebx
	mov eax, [ebp+0x8]
	mov [esp], eax
	call _Z20PC_SourceFileAndLineiPcPi
	mov dword [esp+0x10], _ZZ14PC_SourceErroriPczE6string
	mov eax, [ebp-0xc]
	mov [esp+0xc], eax
	mov [esp+0x8], ebx
	mov dword [esp+0x4], _cstring_menu_load_error_
	mov dword [esp], 0xd
	call _Z14Com_PrintErroriPKcz
	add esp, 0xb4
	pop ebx
	pop ebp
	ret
	nop


;PC_Int_Expression_Parse(int, int*)
_Z23PC_Int_Expression_ParseiPi:
	push ebp
	mov ebp, esp
	push edi
	push esi
	push ebx
	sub esp, 0x446c
	mov esi, eax
	mov [ebp-0x445c], edx
	mov dword [ebp-0x448], 0x0
	mov dword [ebp-0x444], 0x0
	mov dword [ebp-0x440], 0x0
	mov byte [ebp-0x43c], 0x0
	xor edi, edi
_Z23PC_Int_Expression_ParseiPi_80:
	lea eax, [ebp-0x438]
	mov [esp+0x4], eax
	mov [esp], esi
	call _Z18PC_ReadTokenHandleiP10pc_token_s
	test eax, eax
	jz _Z23PC_Int_Expression_ParseiPi_10
_Z23PC_Int_Expression_ParseiPi_70:
	cmp dword [ebp-0x438], 0x3
	jz _Z23PC_Int_Expression_ParseiPi_20
	lea eax, [ebp-0x1c]
	mov [esp+0x4], eax
	lea ebx, [ebp-0x428]
	mov [esp], ebx
	call _Z21Eval_OperatorForTokenPKcP16EvalOperatorType
	test al, al
	jz _Z23PC_Int_Expression_ParseiPi_30
	mov eax, [ebp-0x1c]
	cmp eax, 0x1
	jz _Z23PC_Int_Expression_ParseiPi_40
	test eax, eax
	jnz _Z23PC_Int_Expression_ParseiPi_50
	add edi, 0x1
	cmp edi, 0x10
	jg _Z23PC_Int_Expression_ParseiPi_60
_Z23PC_Int_Expression_ParseiPi_50:
	mov [esp+0x4], eax
	lea eax, [ebp-0x4448]
	mov [esp], eax
	call _Z17Eval_PushOperatorP4Eval16EvalOperatorType
	lea eax, [ebp-0x438]
	mov [esp+0x4], eax
	mov [esp], esi
	call _Z18PC_ReadTokenHandleiP10pc_token_s
	test eax, eax
	jnz _Z23PC_Int_Expression_ParseiPi_70
_Z23PC_Int_Expression_ParseiPi_10:
	xor eax, eax
_Z23PC_Int_Expression_ParseiPi_110:
	lea esp, [ebp-0xc]
	pop ebx
	pop esi
	pop edi
	pop ebp
	ret
_Z23PC_Int_Expression_ParseiPi_20:
	mov eax, [ebp-0x430]
	mov [esp+0x4], eax
	lea eax, [ebp-0x4448]
	mov [esp], eax
	call _Z16Eval_PushIntegerP4Evali
	test al, al
	jnz _Z23PC_Int_Expression_ParseiPi_80
_Z23PC_Int_Expression_ParseiPi_100:
	mov dword [esp+0x4], _cstring_error_evaluating
	mov [esp], esi
	call _Z14PC_SourceErroriPcz
	xor eax, eax
	lea esp, [ebp-0xc]
	pop ebx
	pop esi
	pop edi
	pop ebp
	ret
_Z23PC_Int_Expression_ParseiPi_40:
	test edi, edi
	jz _Z23PC_Int_Expression_ParseiPi_90
	sub edi, 0x1
	jmp _Z23PC_Int_Expression_ParseiPi_50
_Z23PC_Int_Expression_ParseiPi_30:
	mov [esp+0x8], ebx
	mov dword [esp+0x4], _cstring_expected_operato
	mov [esp], esi
	call _Z14PC_SourceErroriPcz
	jmp _Z23PC_Int_Expression_ParseiPi_10
_Z23PC_Int_Expression_ParseiPi_60:
	mov dword [esp+0x4], _cstring_too_much_recursi
	mov [esp], esi
	call _Z14PC_SourceErroriPcz
	xor eax, eax
	lea esp, [ebp-0xc]
	pop ebx
	pop esi
	pop edi
	pop ebp
	ret
_Z23PC_Int_Expression_ParseiPi_90:
	lea ebx, [ebp-0x4448]
	mov [esp], ebx
	call _Z23Eval_AnyMissingOperandsPK4Eval
	test al, al
	jnz _Z23PC_Int_Expression_ParseiPi_100
	lea eax, [ebp-0x4458]
	mov [esp+0x4], ebx
	mov [esp], eax
	call _Z10Eval_SolveP4Eval
	sub esp, 0x4
	mov eax, [ebp-0x4458]
	mov [ebp-0x28], eax
	mov edx, [ebp-0x4454]
	mov [ebp-0x24], edx
	mov eax, [ebp-0x4450]
	mov [ebp-0x20], eax
	mov eax, [ebp-0x445c]
	mov [eax], edx
	mov eax, 0x1
	jmp _Z23PC_Int_Expression_ParseiPi_110


;PC_Script_Parse(int, char const**)
_Z15PC_Script_ParseiPPKc:
	push ebp
	mov ebp, esp
	push edi
	push esi
	push ebx
	sub esp, 0x183c
	mov [ebp-0x182c], eax
	mov [ebp-0x1830], edx
	lea ebx, [ebp-0x1828]
	mov dword [esp+0x8], 0x1400
	mov dword [esp+0x4], 0x0
	mov [esp], ebx
	call memset
	lea eax, [ebp-0x428]
	mov [esp+0x4], eax
	mov edx, [ebp-0x182c]
	mov [esp], edx
	call _Z18PC_ReadTokenHandleiP10pc_token_s
	test eax, eax
	jnz _Z15PC_Script_ParseiPPKc_10
_Z15PC_Script_ParseiPPKc_20:
	xor eax, eax
_Z15PC_Script_ParseiPPKc_80:
	add esp, 0x183c
	pop ebx
	pop esi
	pop edi
	pop ebp
	ret
_Z15PC_Script_ParseiPPKc_10:
	mov dword [esp+0x4], _cstring_
	lea ecx, [ebp-0x418]
	mov [esp], ecx
	call _Z9I_stricmpPKcS0_
	test eax, eax
	jnz _Z15PC_Script_ParseiPPKc_20
	xor esi, esi
	jmp _Z15PC_Script_ParseiPPKc_30
_Z15PC_Script_ParseiPPKc_60:
	lea eax, [ebp-0x418]
	mov [esp+0x4], eax
	mov dword [esp], _cstring_s
	call _Z2vaPKcz
	mov [esp+0x8], eax
	mov dword [esp+0x4], 0x1400
	mov [esp], ebx
	call _Z9I_strncatPciPKc
_Z15PC_Script_ParseiPPKc_70:
	cld
	mov ecx, 0xffffffff
	mov edi, ebx
	mov eax, esi
	repne scasb
	not ecx
	cmp ecx, 0x1400
	ja _Z15PC_Script_ParseiPPKc_40
	mov dword [esp+0x8], _cstring_space
	mov dword [esp+0x4], 0x1400
	mov [esp], ebx
	call _Z9I_strncatPciPKc
_Z15PC_Script_ParseiPPKc_30:
	lea eax, [ebp-0x428]
	mov [esp+0x4], eax
	mov edx, [ebp-0x182c]
	mov [esp], edx
	call _Z18PC_ReadTokenHandleiP10pc_token_s
	test eax, eax
	jz _Z15PC_Script_ParseiPPKc_20
	mov dword [esp+0x4], _cstring_1
	lea ecx, [ebp-0x418]
	mov [esp], ecx
	call _Z9I_stricmpPKcS0_
	test eax, eax
	jz _Z15PC_Script_ParseiPPKc_50
	cld
	mov ecx, 0xffffffff
	mov edi, ebx
	mov eax, esi
	repne scasb
	mov edx, ecx
	not edx
	mov ecx, 0xffffffff
	lea edi, [ebp-0x418]
	repne scasb
	not ecx
	lea ecx, [ecx+edx-0x2]
	cmp ecx, 0x1400
	ja _Z15PC_Script_ParseiPPKc_40
	cmp byte [ebp-0x418], 0x0
	jz _Z15PC_Script_ParseiPPKc_60
	cmp byte [ebp-0x417], 0x0
	jnz _Z15PC_Script_ParseiPPKc_60
	lea edx, [ebp-0x418]
	mov [esp+0x8], edx
	mov dword [esp+0x4], 0x1400
	mov [esp], ebx
	call _Z9I_strncatPciPKc
	jmp _Z15PC_Script_ParseiPPKc_70
_Z15PC_Script_ParseiPPKc_40:
	mov [esp+0x8], ebx
	mov dword [esp+0x4], _cstring_action_block_too
	mov dword [esp], 0x10
	call _Z14Com_PrintErroriPKcz
	xor eax, eax
	add esp, 0x183c
	pop ebx
	pop esi
	pop edi
	pop ebp
	ret
_Z15PC_Script_ParseiPPKc_50:
	mov [esp], ebx
	call _Z12String_AllocPKc
	mov edx, [ebp-0x1830]
	mov [edx], eax
	mov eax, 0x1
	jmp _Z15PC_Script_ParseiPPKc_80


;Item_ValidateTypeData(itemDef_s*, int)
_Z21Item_ValidateTypeDataP9itemDef_si:
	push ebp
	mov ebp, esp
	push ebx
	sub esp, 0x14
	mov ebx, eax
	mov ecx, [eax+0x12c]
	test ecx, ecx
	jz _Z21Item_ValidateTypeDataP9itemDef_si_10
	mov ecx, [eax+0xb8]
	mov eax, [eax+0xb4]
	cmp ecx, eax
	jz _Z21Item_ValidateTypeDataP9itemDef_si_20
	mov [esp+0xc], eax
	mov [esp+0x8], ecx
	mov dword [esp+0x4], _cstring_attempting_to_ch
	mov [esp], edx
	call _Z14PC_SourceErroriPcz
_Z21Item_ValidateTypeDataP9itemDef_si_20:
	add esp, 0x14
	pop ebx
	pop ebp
	ret
_Z21Item_ValidateTypeDataP9itemDef_si_10:
	mov eax, [eax+0xb4]
	mov [ebx+0xb8], eax
	cmp eax, 0x6
	jz _Z21Item_ValidateTypeDataP9itemDef_si_30
	cmp eax, 0x4
	jz _Z21Item_ValidateTypeDataP9itemDef_si_40
	cmp eax, 0x9
	jz _Z21Item_ValidateTypeDataP9itemDef_si_40
	cmp eax, 0x10
	jz _Z21Item_ValidateTypeDataP9itemDef_si_40
	cmp eax, 0x12
	jz _Z21Item_ValidateTypeDataP9itemDef_si_40
	cmp eax, 0xb
	jz _Z21Item_ValidateTypeDataP9itemDef_si_40
	cmp eax, 0xe
	jz _Z21Item_ValidateTypeDataP9itemDef_si_40
	cmp eax, 0xa
	jz _Z21Item_ValidateTypeDataP9itemDef_si_40
	test eax, eax
	jz _Z21Item_ValidateTypeDataP9itemDef_si_40
	cmp eax, 0x11
	jz _Z21Item_ValidateTypeDataP9itemDef_si_40
	cmp eax, 0xc
	jnz _Z21Item_ValidateTypeDataP9itemDef_si_20
	mov dword [esp+0x4], 0x4
	mov dword [esp], 0x188
	call _Z8UI_Allocii
	mov [ebx+0x12c], eax
	jmp _Z21Item_ValidateTypeDataP9itemDef_si_20
_Z21Item_ValidateTypeDataP9itemDef_si_40:
	mov dword [esp+0x4], 0x4
	mov dword [esp], 0x20
	call _Z8UI_Allocii
	mov [ebx+0x12c], eax
	mov eax, [ebx+0xb4]
	cmp eax, 0x4
	jz _Z21Item_ValidateTypeDataP9itemDef_si_50
	cmp eax, 0x10
	jz _Z21Item_ValidateTypeDataP9itemDef_si_50
	cmp eax, 0x9
	jz _Z21Item_ValidateTypeDataP9itemDef_si_50
	cmp eax, 0x12
	jz _Z21Item_ValidateTypeDataP9itemDef_si_50
	cmp eax, 0x11
	jnz _Z21Item_ValidateTypeDataP9itemDef_si_20
_Z21Item_ValidateTypeDataP9itemDef_si_50:
	mov [esp], ebx
	call _Z20Item_GetEditFieldDefP9itemDef_s
	mov edx, [eax+0x18]
	test edx, edx
	jnz _Z21Item_ValidateTypeDataP9itemDef_si_20
	mov dword [eax+0x18], 0x100
	jmp _Z21Item_ValidateTypeDataP9itemDef_si_20
_Z21Item_ValidateTypeDataP9itemDef_si_30:
	mov dword [esp+0x4], 0x4
	mov dword [esp], 0x154
	call _Z8UI_Allocii
	mov [ebx+0x12c], eax
	jmp _Z21Item_ValidateTypeDataP9itemDef_si_20


;UI_LoadMenu_FastFile(char const*, int)
_Z20UI_LoadMenu_FastFilePKci:
	push ebp
	mov ebp, esp
	sub esp, 0x18
	mov eax, [ebp+0x8]
	mov [esp+0x4], eax
	mov dword [esp], 0x14
	call _Z19DB_FindXAssetHeader10XAssetTypePKc
	leave
	ret
	nop


;UI_LoadMenus_FastFile(char const*, int)
_Z21UI_LoadMenus_FastFilePKci:
	push ebp
	mov ebp, esp
	sub esp, 0x18
	mov eax, [ebp+0x8]
	mov [esp+0x4], eax
	mov dword [esp], 0x14
	call _Z19DB_FindXAssetHeader10XAssetTypePKc
	leave
	ret
	nop


;UI_LoadMenus_LoadObj(char const*, int)
_Z20UI_LoadMenus_LoadObjPKci:
	push ebp
	mov ebp, esp
	push edi
	push esi
	push ebx
	sub esp, 0x3c
	mov edi, [ebp+0x8]
	mov dword [esp+0x8], 0xc1c
	mov dword [esp+0x4], 0x0
	mov dword [esp], g_load
	call memset
	mov dword [g_load+0x18], g_load+0x41c
	mov dword [esp+0x8], 0x0
	lea esi, [ebp-0x20]
	mov [esp+0x4], esi
	mov [esp], edi
	call _Z18FS_FOpenFileByModePKcPi8fsMode_t
	mov ebx, eax
	mov eax, [ebp-0x20]
	test eax, eax
	jz _Z20UI_LoadMenus_LoadObjPKci_10
_Z20UI_LoadMenus_LoadObjPKci_70:
	cmp ebx, 0x7fff
	jg _Z20UI_LoadMenus_LoadObjPKci_20
_Z20UI_LoadMenus_LoadObjPKci_80:
	mov eax, [ebp-0x20]
	mov [esp+0x8], eax
	mov [esp+0x4], ebx
	mov dword [esp], menuBuf
	call _Z7FS_ReadPvii
	mov byte [ebx+menuBuf], 0x0
	mov eax, [ebp-0x20]
	mov [esp], eax
	call _Z13FS_FCloseFilei
	mov dword [esp], menuBuf
	call _Z12Com_CompressPc
	mov dword [ebp-0x1c], menuBuf
	mov [esp], edi
	call _Z21Com_BeginParseSessionPKc
	lea esi, [ebp-0x1c]
_Z20UI_LoadMenus_LoadObjPKci_40:
	mov [esp], esi
	call _Z9Com_ParsePPKc
	mov ebx, eax
	test eax, eax
	jz _Z20UI_LoadMenus_LoadObjPKci_30
	movzx eax, byte [eax]
	test al, al
	jz _Z20UI_LoadMenus_LoadObjPKci_30
	cmp al, 0x7d
	jz _Z20UI_LoadMenus_LoadObjPKci_30
	mov dword [esp+0x4], _cstring_1
	mov [esp], ebx
	call _Z9I_stricmpPKcS0_
	test eax, eax
	jz _Z20UI_LoadMenus_LoadObjPKci_30
	mov dword [esp+0x4], _cstring_loadmenu
	mov [esp], ebx
	call _Z9I_stricmpPKcS0_
	test eax, eax
	jnz _Z20UI_LoadMenus_LoadObjPKci_40
	mov [esp], esi
	call _Z9Com_ParsePPKc
	cmp byte [eax], 0x7b
	jz _Z20UI_LoadMenus_LoadObjPKci_50
_Z20UI_LoadMenus_LoadObjPKci_30:
	call _Z19Com_EndParseSessionv
	mov eax, g_load+0x10
	add esp, 0x3c
	pop ebx
	pop esi
	pop edi
	pop ebp
	ret
_Z20UI_LoadMenus_LoadObjPKci_60:
	test ebx, ebx
	jz _Z20UI_LoadMenus_LoadObjPKci_30
	cmp byte [ebx], 0x0
	jz _Z20UI_LoadMenus_LoadObjPKci_30
	mov edx, [ebp+0xc]
	mov eax, ebx
	call _Z20UI_ParseMenuInternalPKci
_Z20UI_LoadMenus_LoadObjPKci_50:
	mov [esp], esi
	call _Z9Com_ParsePPKc
	mov ebx, eax
	mov dword [esp+0x4], _cstring_1
	mov [esp], eax
	call _Z9I_stricmpPKcS0_
	test eax, eax
	jnz _Z20UI_LoadMenus_LoadObjPKci_60
	jmp _Z20UI_LoadMenus_LoadObjPKci_40
_Z20UI_LoadMenus_LoadObjPKci_10:
	mov [esp+0x8], edi
	mov dword [esp+0x4], _cstring_3warning_menu_fi
	mov dword [esp], 0xd
	call _Z10Com_PrintfiPKcz
	mov dword [esp+0x8], 0x0
	mov [esp+0x4], esi
	mov dword [esp], _cstring_uidefaultmenu
	call _Z18FS_FOpenFileByModePKcPi8fsMode_t
	mov ebx, eax
	mov ecx, [ebp-0x20]
	test ecx, ecx
	jnz _Z20UI_LoadMenus_LoadObjPKci_70
	mov dword [esp+0x4], _cstring_defaultmenu_file
	mov dword [esp], 0x2
	call _Z9Com_Error11errorParm_tPKcz
	jmp _Z20UI_LoadMenus_LoadObjPKci_70
_Z20UI_LoadMenus_LoadObjPKci_20:
	mov eax, [ebp-0x20]
	mov [esp], eax
	call _Z13FS_FCloseFilei
	mov dword [esp+0x10], 0x8000
	mov [esp+0xc], ebx
	mov [esp+0x8], edi
	mov dword [esp+0x4], _cstring_1menu_file_too_l
	mov dword [esp], 0x2
	call _Z9Com_Error11errorParm_tPKcz
	jmp _Z20UI_LoadMenus_LoadObjPKci_80
	nop


;UI_LoadMenu_LoadObj(char const*, int)
_Z19UI_LoadMenu_LoadObjPKci:
	push ebp
	mov ebp, esp
	push esi
	push ebx
	sub esp, 0x10
	mov esi, [ebp+0x8]
	mov ebx, [ebp+0xc]
	mov dword [esp+0x8], 0xc1c
	mov dword [esp+0x4], 0x0
	mov dword [esp], g_load
	call memset
	mov dword [g_load+0x18], g_load+0x41c
	mov edx, ebx
	mov eax, esi
	call _Z20UI_ParseMenuInternalPKci
	test al, al
	jz _Z19UI_LoadMenu_LoadObjPKci_10
_Z19UI_LoadMenu_LoadObjPKci_20:
	mov eax, g_load+0x10
	add esp, 0x10
	pop ebx
	pop esi
	pop ebp
	ret
_Z19UI_LoadMenu_LoadObjPKci_10:
	mov [esp+0x8], esi
	mov dword [esp+0x4], _cstring_warning_menu_fil
	mov dword [esp], 0xd
	call _Z16Com_PrintWarningiPKcz
	mov edx, ebx
	mov eax, _cstring_uidefaultmenu
	call _Z20UI_ParseMenuInternalPKci
	test al, al
	jnz _Z19UI_LoadMenu_LoadObjPKci_20
	mov dword [esp+0x4], _cstring_defaultmenu_file
	mov dword [esp], 0x2
	call _Z9Com_Error11errorParm_tPKcz
	mov eax, g_load+0x10
	add esp, 0x10
	pop ebx
	pop esi
	pop ebp
	ret
	nop


;PC_Float_Expression_Parse(int, float*)
_Z25PC_Float_Expression_ParseiPf:
	push ebp
	mov ebp, esp
	push edi
	push esi
	push ebx
	sub esp, 0x446c
	mov esi, eax
	mov [ebp-0x445c], edx
	mov dword [ebp-0x448], 0x0
	mov dword [ebp-0x444], 0x0
	mov dword [ebp-0x440], 0x0
	mov byte [ebp-0x43c], 0x0
	xor edi, edi
_Z25PC_Float_Expression_ParseiPf_80:
	lea eax, [ebp-0x438]
	mov [esp+0x4], eax
	mov [esp], esi
	call _Z18PC_ReadTokenHandleiP10pc_token_s
	test eax, eax
	jz _Z25PC_Float_Expression_ParseiPf_10
_Z25PC_Float_Expression_ParseiPf_70:
	cmp dword [ebp-0x438], 0x3
	jz _Z25PC_Float_Expression_ParseiPf_20
	lea eax, [ebp-0x1c]
	mov [esp+0x4], eax
	lea ebx, [ebp-0x428]
	mov [esp], ebx
	call _Z21Eval_OperatorForTokenPKcP16EvalOperatorType
	test al, al
	jz _Z25PC_Float_Expression_ParseiPf_30
	mov eax, [ebp-0x1c]
	cmp eax, 0x1
	jz _Z25PC_Float_Expression_ParseiPf_40
	test eax, eax
	jnz _Z25PC_Float_Expression_ParseiPf_50
	add edi, 0x1
	cmp edi, 0x10
	jg _Z25PC_Float_Expression_ParseiPf_60
_Z25PC_Float_Expression_ParseiPf_50:
	mov [esp+0x4], eax
	lea eax, [ebp-0x4448]
	mov [esp], eax
	call _Z17Eval_PushOperatorP4Eval16EvalOperatorType
	lea eax, [ebp-0x438]
	mov [esp+0x4], eax
	mov [esp], esi
	call _Z18PC_ReadTokenHandleiP10pc_token_s
	test eax, eax
	jnz _Z25PC_Float_Expression_ParseiPf_70
_Z25PC_Float_Expression_ParseiPf_10:
	xor eax, eax
_Z25PC_Float_Expression_ParseiPf_110:
	lea esp, [ebp-0xc]
	pop ebx
	pop esi
	pop edi
	pop ebp
	ret
_Z25PC_Float_Expression_ParseiPf_20:
	cvtss2sd xmm0, [ebp-0x42c]
	movsd [esp+0x4], xmm0
	lea eax, [ebp-0x4448]
	mov [esp], eax
	call _Z15Eval_PushNumberP4Evald
	test al, al
	jnz _Z25PC_Float_Expression_ParseiPf_80
_Z25PC_Float_Expression_ParseiPf_100:
	mov dword [esp+0x4], _cstring_error_evaluating
	mov [esp], esi
	call _Z14PC_SourceErroriPcz
	xor eax, eax
	lea esp, [ebp-0xc]
	pop ebx
	pop esi
	pop edi
	pop ebp
	ret
_Z25PC_Float_Expression_ParseiPf_40:
	test edi, edi
	jz _Z25PC_Float_Expression_ParseiPf_90
	sub edi, 0x1
	jmp _Z25PC_Float_Expression_ParseiPf_50
_Z25PC_Float_Expression_ParseiPf_30:
	mov [esp+0x8], ebx
	mov dword [esp+0x4], _cstring_expected_operato
	mov [esp], esi
	call _Z14PC_SourceErroriPcz
	jmp _Z25PC_Float_Expression_ParseiPf_10
_Z25PC_Float_Expression_ParseiPf_60:
	mov dword [esp+0x4], _cstring_too_much_recursi
	mov [esp], esi
	call _Z14PC_SourceErroriPcz
	xor eax, eax
	lea esp, [ebp-0xc]
	pop ebx
	pop esi
	pop edi
	pop ebp
	ret
_Z25PC_Float_Expression_ParseiPf_90:
	lea ebx, [ebp-0x4448]
	mov [esp], ebx
	call _Z23Eval_AnyMissingOperandsPK4Eval
	test al, al
	jnz _Z25PC_Float_Expression_ParseiPf_100
	lea eax, [ebp-0x4458]
	mov [esp+0x4], ebx
	mov [esp], eax
	call _Z10Eval_SolveP4Eval
	sub esp, 0x4
	mov eax, [ebp-0x4458]
	mov [ebp-0x28], eax
	mov eax, [ebp-0x4454]
	mov [ebp-0x24], eax
	mov eax, [ebp-0x4450]
	mov [ebp-0x20], eax
	cvtsd2ss xmm0, [ebp-0x24]
	mov eax, [ebp-0x445c]
	movss [eax], xmm0
	mov eax, 0x1
	jmp _Z25PC_Float_Expression_ParseiPf_110
	nop


;PC_Rect_Parse(int, rectDef_s*)
_Z13PC_Rect_ParseiP9rectDef_s:
	push ebp
	mov ebp, esp
	push edi
	push esi
	push ebx
	sub esp, 0x44c
	mov ebx, eax
	mov esi, edx
	lea edi, [ebp-0x428]
	mov [esp+0x4], edi
	mov [esp], eax
	call _Z18PC_ReadTokenHandleiP10pc_token_s
	test eax, eax
	jz _Z13PC_Rect_ParseiP9rectDef_s_10
	movzx eax, byte [ebp-0x418]
	cmp al, 0x28
	jz _Z13PC_Rect_ParseiP9rectDef_s_20
	cmp al, 0x2d
	jz _Z13PC_Rect_ParseiP9rectDef_s_30
	xor eax, eax
_Z13PC_Rect_ParseiP9rectDef_s_230:
	cmp dword [ebp-0x428], 0x3
	jz _Z13PC_Rect_ParseiP9rectDef_s_40
_Z13PC_Rect_ParseiP9rectDef_s_70:
	lea eax, [ebp-0x418]
	mov [esp+0x8], eax
	mov dword [esp+0x4], _cstring_expected_float_b
	mov [esp], ebx
	call _Z14PC_SourceErroriPcz
_Z13PC_Rect_ParseiP9rectDef_s_10:
	xor eax, eax
_Z13PC_Rect_ParseiP9rectDef_s_200:
	add esp, 0x44c
	pop ebx
	pop esi
	pop edi
	pop ebp
	ret
_Z13PC_Rect_ParseiP9rectDef_s_20:
	mov edx, esi
	mov eax, ebx
	call _Z25PC_Float_Expression_ParseiPf
	test eax, eax
	jz _Z13PC_Rect_ParseiP9rectDef_s_10
_Z13PC_Rect_ParseiP9rectDef_s_220:
	lea eax, [esi+0x4]
	mov [ebp-0x43c], eax
	mov [esp+0x4], edi
	mov [esp], ebx
	call _Z18PC_ReadTokenHandleiP10pc_token_s
	test eax, eax
	jz _Z13PC_Rect_ParseiP9rectDef_s_10
	movzx eax, byte [ebp-0x418]
	cmp al, 0x28
	jz _Z13PC_Rect_ParseiP9rectDef_s_50
	cmp al, 0x2d
	jz _Z13PC_Rect_ParseiP9rectDef_s_60
	xor eax, eax
_Z13PC_Rect_ParseiP9rectDef_s_250:
	cmp dword [ebp-0x428], 0x3
	jnz _Z13PC_Rect_ParseiP9rectDef_s_70
	test eax, eax
	jz _Z13PC_Rect_ParseiP9rectDef_s_80
	mov eax, [ebp-0x41c]
	xor eax, 0x80000000
	mov edx, [ebp-0x43c]
	mov [edx], eax
_Z13PC_Rect_ParseiP9rectDef_s_240:
	lea eax, [esi+0x8]
	mov [ebp-0x438], eax
	mov [esp+0x4], edi
	mov [esp], ebx
	call _Z18PC_ReadTokenHandleiP10pc_token_s
	test eax, eax
	jz _Z13PC_Rect_ParseiP9rectDef_s_10
	movzx eax, byte [ebp-0x418]
	cmp al, 0x28
	jz _Z13PC_Rect_ParseiP9rectDef_s_90
	cmp al, 0x2d
	jz _Z13PC_Rect_ParseiP9rectDef_s_100
	xor eax, eax
_Z13PC_Rect_ParseiP9rectDef_s_270:
	cmp dword [ebp-0x428], 0x3
	jnz _Z13PC_Rect_ParseiP9rectDef_s_70
	test eax, eax
	jz _Z13PC_Rect_ParseiP9rectDef_s_110
	mov eax, [ebp-0x41c]
	xor eax, 0x80000000
	mov edx, [ebp-0x438]
	mov [edx], eax
_Z13PC_Rect_ParseiP9rectDef_s_260:
	lea eax, [esi+0xc]
	mov [ebp-0x434], eax
	mov [esp+0x4], edi
	mov [esp], ebx
	call _Z18PC_ReadTokenHandleiP10pc_token_s
	test eax, eax
	jz _Z13PC_Rect_ParseiP9rectDef_s_10
	movzx eax, byte [ebp-0x418]
	cmp al, 0x28
	jz _Z13PC_Rect_ParseiP9rectDef_s_120
	cmp al, 0x2d
	jz _Z13PC_Rect_ParseiP9rectDef_s_130
	xor eax, eax
_Z13PC_Rect_ParseiP9rectDef_s_320:
	cmp dword [ebp-0x428], 0x3
	jnz _Z13PC_Rect_ParseiP9rectDef_s_70
	test eax, eax
	jz _Z13PC_Rect_ParseiP9rectDef_s_140
	mov eax, [ebp-0x41c]
	xor eax, 0x80000000
	mov edx, [ebp-0x434]
	mov [edx], eax
_Z13PC_Rect_ParseiP9rectDef_s_310:
	lea eax, [esi+0x10]
	mov [ebp-0x430], eax
	mov [esp+0x4], edi
	mov [esp], ebx
	call _Z17PC_ReadLineHandleiP10pc_token_s
	test eax, eax
	jz _Z13PC_Rect_ParseiP9rectDef_s_150
	cmp byte [ebp-0x418], 0x2d
	jz _Z13PC_Rect_ParseiP9rectDef_s_160
	xor edx, edx
_Z13PC_Rect_ParseiP9rectDef_s_340:
	cmp dword [ebp-0x428], 0x3
	jnz _Z13PC_Rect_ParseiP9rectDef_s_170
	mov eax, [ebp-0x420]
	mov ecx, [ebp-0x430]
	mov [ecx], eax
	test edx, edx
	jz _Z13PC_Rect_ParseiP9rectDef_s_180
	neg eax
	mov [ecx], eax
_Z13PC_Rect_ParseiP9rectDef_s_180:
	lea edx, [esi+0x14]
	mov [ebp-0x42c], edx
	mov [esp+0x4], edi
	mov [esp], ebx
	call _Z17PC_ReadLineHandleiP10pc_token_s
	test eax, eax
	jnz _Z13PC_Rect_ParseiP9rectDef_s_190
_Z13PC_Rect_ParseiP9rectDef_s_330:
	mov dword [esi+0x14], 0x0
	mov eax, 0x1
	jmp _Z13PC_Rect_ParseiP9rectDef_s_200
_Z13PC_Rect_ParseiP9rectDef_s_40:
	test eax, eax
	jz _Z13PC_Rect_ParseiP9rectDef_s_210
	mov eax, [ebp-0x41c]
	xor eax, 0x80000000
	mov [esi], eax
	jmp _Z13PC_Rect_ParseiP9rectDef_s_220
_Z13PC_Rect_ParseiP9rectDef_s_210:
	mov eax, [ebp-0x41c]
	mov [esi], eax
	jmp _Z13PC_Rect_ParseiP9rectDef_s_220
_Z13PC_Rect_ParseiP9rectDef_s_30:
	mov [esp+0x4], edi
	mov [esp], ebx
	call _Z18PC_ReadTokenHandleiP10pc_token_s
	test eax, eax
	jz _Z13PC_Rect_ParseiP9rectDef_s_10
	mov eax, 0x1
	jmp _Z13PC_Rect_ParseiP9rectDef_s_230
_Z13PC_Rect_ParseiP9rectDef_s_80:
	mov eax, [ebp-0x41c]
	mov ecx, [ebp-0x43c]
	mov [ecx], eax
	jmp _Z13PC_Rect_ParseiP9rectDef_s_240
_Z13PC_Rect_ParseiP9rectDef_s_50:
	mov edx, [ebp-0x43c]
	mov eax, ebx
	call _Z25PC_Float_Expression_ParseiPf
	test eax, eax
	jz _Z13PC_Rect_ParseiP9rectDef_s_10
	jmp _Z13PC_Rect_ParseiP9rectDef_s_240
_Z13PC_Rect_ParseiP9rectDef_s_60:
	mov [esp+0x4], edi
	mov [esp], ebx
	call _Z18PC_ReadTokenHandleiP10pc_token_s
	test eax, eax
	jz _Z13PC_Rect_ParseiP9rectDef_s_10
	mov eax, 0x1
	jmp _Z13PC_Rect_ParseiP9rectDef_s_250
_Z13PC_Rect_ParseiP9rectDef_s_110:
	mov eax, [ebp-0x41c]
	mov ecx, [ebp-0x438]
	mov [ecx], eax
	jmp _Z13PC_Rect_ParseiP9rectDef_s_260
_Z13PC_Rect_ParseiP9rectDef_s_90:
	mov edx, [ebp-0x438]
	mov eax, ebx
	call _Z25PC_Float_Expression_ParseiPf
	test eax, eax
	jz _Z13PC_Rect_ParseiP9rectDef_s_10
	jmp _Z13PC_Rect_ParseiP9rectDef_s_260
_Z13PC_Rect_ParseiP9rectDef_s_100:
	mov [esp+0x4], edi
	mov [esp], ebx
	call _Z18PC_ReadTokenHandleiP10pc_token_s
	test eax, eax
	jz _Z13PC_Rect_ParseiP9rectDef_s_10
	mov eax, 0x1
	jmp _Z13PC_Rect_ParseiP9rectDef_s_270
_Z13PC_Rect_ParseiP9rectDef_s_170:
	lea eax, [ebp-0x418]
	mov [esp+0x8], eax
	mov dword [esp+0x4], _cstring_expected_integer
	mov [esp], ebx
	call _Z14PC_SourceErroriPcz
_Z13PC_Rect_ParseiP9rectDef_s_150:
	mov dword [esi+0x10], 0x0
	jmp _Z13PC_Rect_ParseiP9rectDef_s_180
_Z13PC_Rect_ParseiP9rectDef_s_190:
	cmp byte [ebp-0x418], 0x2d
	jz _Z13PC_Rect_ParseiP9rectDef_s_280
	xor edx, edx
_Z13PC_Rect_ParseiP9rectDef_s_350:
	cmp dword [ebp-0x428], 0x3
	jnz _Z13PC_Rect_ParseiP9rectDef_s_290
	mov eax, [ebp-0x420]
	mov ecx, [ebp-0x42c]
	mov [ecx], eax
	test edx, edx
	jz _Z13PC_Rect_ParseiP9rectDef_s_300
	neg eax
	mov edx, [ebp-0x42c]
	mov [edx], eax
_Z13PC_Rect_ParseiP9rectDef_s_300:
	mov eax, 0x1
	jmp _Z13PC_Rect_ParseiP9rectDef_s_200
_Z13PC_Rect_ParseiP9rectDef_s_140:
	mov eax, [ebp-0x41c]
	mov ecx, [ebp-0x434]
	mov [ecx], eax
	jmp _Z13PC_Rect_ParseiP9rectDef_s_310
_Z13PC_Rect_ParseiP9rectDef_s_120:
	mov edx, [ebp-0x434]
	mov eax, ebx
	call _Z25PC_Float_Expression_ParseiPf
	test eax, eax
	jz _Z13PC_Rect_ParseiP9rectDef_s_10
	jmp _Z13PC_Rect_ParseiP9rectDef_s_310
_Z13PC_Rect_ParseiP9rectDef_s_130:
	mov [esp+0x4], edi
	mov [esp], ebx
	call _Z18PC_ReadTokenHandleiP10pc_token_s
	test eax, eax
	jz _Z13PC_Rect_ParseiP9rectDef_s_10
	mov eax, 0x1
	jmp _Z13PC_Rect_ParseiP9rectDef_s_320
_Z13PC_Rect_ParseiP9rectDef_s_290:
	lea eax, [ebp-0x418]
	mov [esp+0x8], eax
	mov dword [esp+0x4], _cstring_expected_integer
	mov [esp], ebx
	call _Z14PC_SourceErroriPcz
	jmp _Z13PC_Rect_ParseiP9rectDef_s_330
_Z13PC_Rect_ParseiP9rectDef_s_160:
	mov [esp+0x4], edi
	mov [esp], ebx
	call _Z17PC_ReadLineHandleiP10pc_token_s
	test eax, eax
	jz _Z13PC_Rect_ParseiP9rectDef_s_150
	mov edx, 0x1
	jmp _Z13PC_Rect_ParseiP9rectDef_s_340
_Z13PC_Rect_ParseiP9rectDef_s_280:
	mov [esp+0x4], edi
	mov [esp], ebx
	call _Z17PC_ReadLineHandleiP10pc_token_s
	test eax, eax
	jz _Z13PC_Rect_ParseiP9rectDef_s_330
	mov edx, 0x1
	jmp _Z13PC_Rect_ParseiP9rectDef_s_350


;UI_ParseMenuInternal(char const*, int)
_Z20UI_ParseMenuInternalPKci:
	push ebp
	mov ebp, esp
	push edi
	push esi
	push ebx
	sub esp, 0xc6c
	mov ebx, eax
	mov [ebp-0xc60], edx
	mov dword [ebp-0x20], _cstring_pc
	mov dword [ebp-0x1c], 0x0
	mov [esp+0x8], eax
	mov dword [esp+0x4], _cstring_loading_s
	mov dword [esp], 0xd
	call _Z10Com_PrintfiPKcz
	lea eax, [ebp-0x20]
	mov [esp+0x4], eax
	mov [esp], ebx
	call _Z19PC_LoadSourceHandlePKcPS0_
	mov edi, eax
	test eax, eax
	jnz _Z20UI_ParseMenuInternalPKci_10
	mov [esp+0x8], ebx
	mov dword [esp+0x4], _cstring_couldnt_find_men
	mov dword [esp], 0xd
	call _Z14Com_PrintErroriPKcz
	xor eax, eax
	add esp, 0xc6c
	pop ebx
	pop esi
	pop edi
	pop ebp
	ret
_Z20UI_ParseMenuInternalPKci_190:
	mov eax, [esi]
	test eax, eax
	jz _Z20UI_ParseMenuInternalPKci_20
	mov ebx, [esi+0xa4]
	shl ebx, 0x2
	mov dword [esp+0x4], 0x4
	mov [esp], ebx
	call _Z8UI_Allocii
	mov [esi+0x118], eax
	mov [esp+0x8], ebx
	mov dword [esp+0x4], g_load+0x1c
	mov [esp], eax
	call memcpy
	mov eax, [esi+0xa0]
	test eax, eax
	jz _Z20UI_ParseMenuInternalPKci_30
	xor eax, eax
	mov [esi+0x4], eax
	mov [esi+0x8], eax
	mov dword [esi+0xc], 0x44200000
	mov dword [esi+0x10], 0x43f00000
_Z20UI_ParseMenuInternalPKci_30:
	mov [esp+0x4], esi
	mov dword [esp], 0x0
	call _Z19Menu_UpdatePositioniP9menuDef_t
	cmp dword [g_load+0x14], 0x1ff
	jle _Z20UI_ParseMenuInternalPKci_40
	mov dword [esp+0x4], _cstring_menu_new_exe_err
	mov dword [esp], 0x2
	call _Z9Com_Error11errorParm_tPKcz
_Z20UI_ParseMenuInternalPKci_40:
	mov edx, [g_load+0x14]
	mov eax, [g_load+0x18]
	mov [eax+edx*4], esi
	add dword [g_load+0x14], 0x1
_Z20UI_ParseMenuInternalPKci_10:
	lea eax, [ebp-0x840]
	mov [esp+0x4], eax
	mov [esp], edi
	call _Z18PC_ReadTokenHandleiP10pc_token_s
	test eax, eax
	jz _Z20UI_ParseMenuInternalPKci_50
	mov dword [esp+0x4], _cstring_1
	lea eax, [ebp-0x830]
	mov [esp], eax
	call _Z9I_stricmpPKcS0_
	test eax, eax
	jz _Z20UI_ParseMenuInternalPKci_10
	mov dword [esp+0x4], _cstring_
	lea eax, [ebp-0x830]
	mov [esp], eax
	call _Z9I_stricmpPKcS0_
	test eax, eax
	jz _Z20UI_ParseMenuInternalPKci_10
	mov dword [esp+0x4], _cstring_assetglobaldef
	lea eax, [ebp-0x830]
	mov [esp], eax
	call _Z9I_stricmpPKcS0_
	test eax, eax
	jnz _Z20UI_ParseMenuInternalPKci_60
	lea eax, [ebp-0x430]
	mov [esp+0x4], eax
	mov [esp], edi
	call _Z18PC_ReadTokenHandleiP10pc_token_s
	test eax, eax
	jnz _Z20UI_ParseMenuInternalPKci_70
_Z20UI_ParseMenuInternalPKci_50:
	mov [esp], edi
	call _Z19PC_FreeSourceHandlei
	mov eax, 0x1
_Z20UI_ParseMenuInternalPKci_120:
	add esp, 0xc6c
	pop ebx
	pop esi
	pop edi
	pop ebp
	ret
_Z20UI_ParseMenuInternalPKci_60:
	mov dword [esp+0x4], _cstring_menudef
	lea eax, [ebp-0x830]
	mov [esp], eax
	call _Z9I_stricmpPKcS0_
	test eax, eax
	jnz _Z20UI_ParseMenuInternalPKci_80
	mov dword [esp+0x4], 0x4
	mov dword [esp], 0x11c
	call _Z8UI_Allocii
	mov esi, eax
	mov dword [esp+0x8], 0x11c
	mov dword [esp+0x4], 0x0
	mov [esp], eax
	call memset
	mov dword [esp+0x8], 0xffffffff
	mov [esp+0x4], esi
	mov dword [esp], 0x0
	call _Z18Menu_SetCursorItemiP9menuDef_ti
	mov eax, [g_load+0x8]
	mov [esi+0xb8], eax
	mov eax, [g_load+0xc]
	mov [esi+0xbc], eax
	mov eax, [g_load]
	mov [esi+0xb4], eax
	mov eax, [g_load+0x4]
	mov [esi+0xb0], eax
	mov eax, [ebp-0xc60]
	mov [esi+0xe4], eax
	mov dword [esi+0x118], g_load+0x1c
	mov dword [esp+0x8], 0x9c
	mov dword [esp+0x4], 0x0
	mov [esp], esi
	call memset
	mov eax, 0x3f800000
	mov [esi+0x48], eax
	mov [esi+0x64], eax
	mov [esi+0x60], eax
	mov [esi+0x5c], eax
	mov [esi+0x58], eax
	lea eax, [ebp-0xc50]
	mov [esp+0x4], eax
	mov [esp], edi
	call _Z18PC_ReadTokenHandleiP10pc_token_s
	test eax, eax
	jz _Z20UI_ParseMenuInternalPKci_90
	cmp byte [ebp-0xc40], 0x7b
	jz _Z20UI_ParseMenuInternalPKci_100
_Z20UI_ParseMenuInternalPKci_90:
	mov edx, [esi+0xa4]
	test edx, edx
	jg _Z20UI_ParseMenuInternalPKci_110
_Z20UI_ParseMenuInternalPKci_230:
	lea eax, [esi+0xd4]
	mov [esp], eax
	call _Z15free_expressionP11statement_s
	lea eax, [esi+0x108]
	mov [esp], eax
	call _Z15free_expressionP11statement_s
	lea eax, [esi+0x110]
	mov [esp], eax
	call _Z15free_expressionP11statement_s
	mov [esp], edi
	call _Z19PC_FreeSourceHandlei
	mov eax, 0x1
	jmp _Z20UI_ParseMenuInternalPKci_120
_Z20UI_ParseMenuInternalPKci_80:
	lea eax, [ebp-0x830]
	mov [esp+0x8], eax
	mov dword [esp+0x4], _cstring_unknown_token_s_
	mov [esp], edi
	call _Z14PC_SourceErroriPcz
	jmp _Z20UI_ParseMenuInternalPKci_10
_Z20UI_ParseMenuInternalPKci_70:
	mov dword [esp+0x4], _cstring_
	lea eax, [ebp-0x420]
	mov [esp], eax
	call _Z9I_stricmpPKcS0_
	test eax, eax
	jnz _Z20UI_ParseMenuInternalPKci_50
_Z20UI_ParseMenuInternalPKci_130:
	lea eax, [ebp-0x430]
	mov [esp+0x4], eax
	mov [esp], edi
	call _Z18PC_ReadTokenHandleiP10pc_token_s
	test eax, eax
	jz _Z20UI_ParseMenuInternalPKci_50
	mov dword [esp+0x4], _cstring_2
	lea eax, [ebp-0x420]
	mov [esp], eax
	call _Z9I_stricmpPKcS0_
	test eax, eax
	jz _Z20UI_ParseMenuInternalPKci_130
	mov dword [esp+0x4], _cstring_1
	lea eax, [ebp-0x420]
	mov [esp], eax
	call _Z9I_stricmpPKcS0_
	test eax, eax
	jz _Z20UI_ParseMenuInternalPKci_10
	mov dword [esp+0x4], _cstring_fadeclamp
	lea eax, [ebp-0x420]
	mov [esp], eax
	call _Z9I_stricmpPKcS0_
	test eax, eax
	jnz _Z20UI_ParseMenuInternalPKci_140
	lea eax, [ebp-0xc50]
	mov [esp+0x4], eax
	mov [esp], edi
	call _Z18PC_ReadTokenHandleiP10pc_token_s
	test eax, eax
	jz _Z20UI_ParseMenuInternalPKci_50
	movzx eax, byte [ebp-0xc40]
	cmp al, 0x28
	jz _Z20UI_ParseMenuInternalPKci_150
	cmp al, 0x2d
	jz _Z20UI_ParseMenuInternalPKci_160
	xor eax, eax
_Z20UI_ParseMenuInternalPKci_400:
	cmp dword [ebp-0xc50], 0x3
	jz _Z20UI_ParseMenuInternalPKci_170
_Z20UI_ParseMenuInternalPKci_330:
	lea eax, [ebp-0xc40]
	mov [esp+0x8], eax
	mov dword [esp+0x4], _cstring_expected_float_b
	mov [esp], edi
	call _Z14PC_SourceErroriPcz
	jmp _Z20UI_ParseMenuInternalPKci_50
_Z20UI_ParseMenuInternalPKci_210:
	lea eax, [ebp-0xc40]
	mov [esp+0x8], eax
	mov dword [esp+0x4], _cstring_unknown_menu_key
	mov [esp], edi
	call _Z14PC_SourceErroriPcz
_Z20UI_ParseMenuInternalPKci_100:
	mov dword [esp+0x8], 0x410
	mov dword [esp+0x4], 0x0
	lea eax, [ebp-0xc50]
	mov [esp], eax
	call memset
	lea eax, [ebp-0xc50]
	mov [esp+0x4], eax
	mov [esp], edi
	call _Z18PC_ReadTokenHandleiP10pc_token_s
	test eax, eax
	jz _Z20UI_ParseMenuInternalPKci_180
	movzx eax, byte [ebp-0xc40]
	cmp al, 0x7d
	jz _Z20UI_ParseMenuInternalPKci_190
	cmp al, 0x3b
	jz _Z20UI_ParseMenuInternalPKci_100
	test al, al
	jnz _Z20UI_ParseMenuInternalPKci_200
	mov dword [ebp-0xc5c], 0x0
	xor eax, eax
_Z20UI_ParseMenuInternalPKci_250:
	add eax, [ebp-0xc5c]
	and eax, 0x7f
	mov ebx, [eax*4+menuParseKeywordHash]
	test ebx, ebx
	jz _Z20UI_ParseMenuInternalPKci_210
	lea eax, [ebp-0xc40]
	mov [esp+0x4], eax
	mov eax, [ebx]
	mov [esp], eax
	call _Z9I_stricmpPKcS0_
	test eax, eax
	jnz _Z20UI_ParseMenuInternalPKci_210
	mov [esp+0x4], edi
	mov [esp], esi
	call dword [ebx+0x4]
	test eax, eax
	jnz _Z20UI_ParseMenuInternalPKci_100
	lea eax, [ebp-0xc40]
	mov [esp+0x8], eax
	mov dword [esp+0x4], _cstring_couldnt_parse_me1
	mov [esp], edi
	call _Z14PC_SourceErroriPcz
	jmp _Z20UI_ParseMenuInternalPKci_90
_Z20UI_ParseMenuInternalPKci_110:
	xor ebx, ebx
_Z20UI_ParseMenuInternalPKci_220:
	mov eax, [esi+0x118]
	mov eax, [eax+ebx*4]
	call _Z19Menu_FreeItemMemoryP9itemDef_s
	add ebx, 0x1
	cmp ebx, [esi+0xa4]
	jl _Z20UI_ParseMenuInternalPKci_220
	jmp _Z20UI_ParseMenuInternalPKci_230
_Z20UI_ParseMenuInternalPKci_200:
	mov dword [ebp-0xc5c], 0x0
	mov ebx, 0x80
_Z20UI_ParseMenuInternalPKci_240:
	movsx eax, al
	mov [esp], eax
	call tolower
	imul eax, ebx
	add [ebp-0xc5c], eax
	movzx eax, byte [ebp+ebx-0xcbf]
	add ebx, 0x1
	test al, al
	jnz _Z20UI_ParseMenuInternalPKci_240
	mov eax, [ebp-0xc5c]
	sar eax, 0x8
	jmp _Z20UI_ParseMenuInternalPKci_250
_Z20UI_ParseMenuInternalPKci_140:
	mov dword [esp+0x4], _cstring_fadecycle
	lea eax, [ebp-0x420]
	mov [esp], eax
	call _Z9I_stricmpPKcS0_
	test eax, eax
	jnz _Z20UI_ParseMenuInternalPKci_260
	lea eax, [ebp-0xc50]
	mov [esp+0x4], eax
	mov [esp], edi
	call _Z18PC_ReadTokenHandleiP10pc_token_s
	test eax, eax
	jz _Z20UI_ParseMenuInternalPKci_50
	movzx eax, byte [ebp-0xc40]
	cmp al, 0x28
	jz _Z20UI_ParseMenuInternalPKci_270
	cmp al, 0x2d
	jz _Z20UI_ParseMenuInternalPKci_280
	xor edx, edx
_Z20UI_ParseMenuInternalPKci_410:
	cmp dword [ebp-0xc50], 0x3
	jnz _Z20UI_ParseMenuInternalPKci_290
	mov eax, [ebp-0xc48]
	mov [g_load+0x4], eax
	test edx, edx
	jz _Z20UI_ParseMenuInternalPKci_130
	neg eax
	mov [g_load+0x4], eax
	jmp _Z20UI_ParseMenuInternalPKci_130
_Z20UI_ParseMenuInternalPKci_260:
	mov dword [esp+0x4], _cstring_fadeamount
	lea eax, [ebp-0x420]
	mov [esp], eax
	call _Z9I_stricmpPKcS0_
	test eax, eax
	jnz _Z20UI_ParseMenuInternalPKci_300
	lea eax, [ebp-0xc50]
	mov [esp+0x4], eax
	mov [esp], edi
	call _Z18PC_ReadTokenHandleiP10pc_token_s
	test eax, eax
	jz _Z20UI_ParseMenuInternalPKci_50
	movzx eax, byte [ebp-0xc40]
	cmp al, 0x28
	jz _Z20UI_ParseMenuInternalPKci_310
	cmp al, 0x2d
	jz _Z20UI_ParseMenuInternalPKci_320
	xor eax, eax
_Z20UI_ParseMenuInternalPKci_430:
	cmp dword [ebp-0xc50], 0x3
	jnz _Z20UI_ParseMenuInternalPKci_330
	test eax, eax
	jz _Z20UI_ParseMenuInternalPKci_340
	mov eax, [ebp-0xc44]
	xor eax, 0x80000000
	mov [g_load+0x8], eax
	jmp _Z20UI_ParseMenuInternalPKci_130
_Z20UI_ParseMenuInternalPKci_180:
	mov dword [esp+0x4], _cstring_end_of_file_insi1
	mov [esp], edi
	call _Z14PC_SourceErroriPcz
	jmp _Z20UI_ParseMenuInternalPKci_90
_Z20UI_ParseMenuInternalPKci_300:
	mov dword [esp+0x4], _cstring_fadeinamount
	lea eax, [ebp-0x420]
	mov [esp], eax
	call _Z9I_stricmpPKcS0_
	test eax, eax
	jnz _Z20UI_ParseMenuInternalPKci_350
	lea eax, [ebp-0xc50]
	mov [esp+0x4], eax
	mov [esp], edi
	call _Z18PC_ReadTokenHandleiP10pc_token_s
	test eax, eax
	jz _Z20UI_ParseMenuInternalPKci_50
	movzx eax, byte [ebp-0xc40]
	cmp al, 0x28
	jz _Z20UI_ParseMenuInternalPKci_360
	cmp al, 0x2d
	jz _Z20UI_ParseMenuInternalPKci_370
	xor eax, eax
_Z20UI_ParseMenuInternalPKci_440:
	cmp dword [ebp-0xc50], 0x3
	jnz _Z20UI_ParseMenuInternalPKci_330
	test eax, eax
	jz _Z20UI_ParseMenuInternalPKci_380
	mov eax, [ebp-0xc44]
	xor eax, 0x80000000
	mov [g_load+0xc], eax
	jmp _Z20UI_ParseMenuInternalPKci_130
_Z20UI_ParseMenuInternalPKci_170:
	test eax, eax
	jz _Z20UI_ParseMenuInternalPKci_390
	mov eax, [ebp-0xc44]
	xor eax, 0x80000000
	mov [g_load], eax
	jmp _Z20UI_ParseMenuInternalPKci_130
_Z20UI_ParseMenuInternalPKci_350:
	lea eax, [ebp-0x420]
	mov [esp+0x8], eax
	mov dword [esp+0x4], _cstring_unknown_token_s_1
	mov [esp], edi
	call _Z14PC_SourceErroriPcz
	jmp _Z20UI_ParseMenuInternalPKci_130
_Z20UI_ParseMenuInternalPKci_290:
	lea eax, [ebp-0xc40]
	mov [esp+0x8], eax
	mov dword [esp+0x4], _cstring_expected_integer
	mov [esp], edi
	call _Z14PC_SourceErroriPcz
	jmp _Z20UI_ParseMenuInternalPKci_50
_Z20UI_ParseMenuInternalPKci_390:
	mov eax, [ebp-0xc44]
	mov [g_load], eax
	jmp _Z20UI_ParseMenuInternalPKci_130
_Z20UI_ParseMenuInternalPKci_160:
	lea eax, [ebp-0xc50]
	mov [esp+0x4], eax
	mov [esp], edi
	call _Z18PC_ReadTokenHandleiP10pc_token_s
	test eax, eax
	jz _Z20UI_ParseMenuInternalPKci_50
	mov eax, 0x1
	jmp _Z20UI_ParseMenuInternalPKci_400
_Z20UI_ParseMenuInternalPKci_150:
	mov edx, g_load
	mov eax, edi
	call _Z25PC_Float_Expression_ParseiPf
	test eax, eax
	jnz _Z20UI_ParseMenuInternalPKci_130
	jmp _Z20UI_ParseMenuInternalPKci_50
_Z20UI_ParseMenuInternalPKci_280:
	lea eax, [ebp-0xc50]
	mov [esp+0x4], eax
	mov [esp], edi
	call _Z18PC_ReadTokenHandleiP10pc_token_s
	test eax, eax
	jz _Z20UI_ParseMenuInternalPKci_50
	mov edx, 0x1
	jmp _Z20UI_ParseMenuInternalPKci_410
_Z20UI_ParseMenuInternalPKci_270:
	mov edx, g_load+0x4
	mov eax, edi
	call _Z23PC_Int_Expression_ParseiPi
	test eax, eax
	jnz _Z20UI_ParseMenuInternalPKci_130
	jmp _Z20UI_ParseMenuInternalPKci_50
_Z20UI_ParseMenuInternalPKci_20:
	mov dword [esp+0x4], _cstring_menu_has_no_name
	mov [esp], edi
	call _Z14PC_SourceErroriPcz
	mov eax, [esi+0xa4]
	test eax, eax
	jle _Z20UI_ParseMenuInternalPKci_230
	xor ebx, ebx
_Z20UI_ParseMenuInternalPKci_420:
	mov eax, [esi+0x118]
	mov eax, [eax+ebx*4]
	call _Z19Menu_FreeItemMemoryP9itemDef_s
	add ebx, 0x1
	cmp ebx, [esi+0xa4]
	jl _Z20UI_ParseMenuInternalPKci_420
	jmp _Z20UI_ParseMenuInternalPKci_230
_Z20UI_ParseMenuInternalPKci_340:
	mov eax, [ebp-0xc44]
	mov [g_load+0x8], eax
	jmp _Z20UI_ParseMenuInternalPKci_130
_Z20UI_ParseMenuInternalPKci_320:
	lea eax, [ebp-0xc50]
	mov [esp+0x4], eax
	mov [esp], edi
	call _Z18PC_ReadTokenHandleiP10pc_token_s
	test eax, eax
	jz _Z20UI_ParseMenuInternalPKci_50
	mov eax, 0x1
	jmp _Z20UI_ParseMenuInternalPKci_430
_Z20UI_ParseMenuInternalPKci_380:
	mov eax, [ebp-0xc44]
	mov [g_load+0xc], eax
	jmp _Z20UI_ParseMenuInternalPKci_130
_Z20UI_ParseMenuInternalPKci_370:
	lea eax, [ebp-0xc50]
	mov [esp+0x4], eax
	mov [esp], edi
	call _Z18PC_ReadTokenHandleiP10pc_token_s
	test eax, eax
	jz _Z20UI_ParseMenuInternalPKci_50
	mov eax, 0x1
	jmp _Z20UI_ParseMenuInternalPKci_440
_Z20UI_ParseMenuInternalPKci_360:
	mov edx, g_load+0xc
	mov eax, edi
	call _Z25PC_Float_Expression_ParseiPf
	test eax, eax
	jnz _Z20UI_ParseMenuInternalPKci_130
	jmp _Z20UI_ParseMenuInternalPKci_50
_Z20UI_ParseMenuInternalPKci_310:
	mov edx, g_load+0x8
	mov eax, edi
	call _Z25PC_Float_Expression_ParseiPf
	test eax, eax
	jnz _Z20UI_ParseMenuInternalPKci_130
	jmp _Z20UI_ParseMenuInternalPKci_50


;UI_LoadMenu(char const*, int)
_Z11UI_LoadMenuPKci:
	push ebp
	mov ebp, esp
	mov eax, useFastFile
	mov eax, [eax]
	mov ecx, _Z20UI_LoadMenu_FastFilePKci
	cmp byte [eax+0xc], 0x0
	mov eax, _Z19UI_LoadMenu_LoadObjPKci
	cmovz ecx, eax
	pop ebp
	jmp ecx


;UI_LoadMenus(char const*, int)
_Z12UI_LoadMenusPKci:
	push ebp
	mov ebp, esp
	mov eax, useFastFile
	mov eax, [eax]
	mov ecx, _Z21UI_LoadMenus_FastFilePKci
	cmp byte [eax+0xc], 0x0
	mov eax, _Z20UI_LoadMenus_LoadObjPKci
	cmovz ecx, eax
	pop ebp
	jmp ecx


;UI_MapLoadInfo(char const*)
_Z14UI_MapLoadInfoPKc:
	push ebp
	mov ebp, esp
	push edi
	push esi
	push ebx
	sub esp, 0x17c
	mov eax, [ebp+0x8]
	cmp byte [eax], 0x0
	jnz _Z14UI_MapLoadInfoPKc_10
_Z14UI_MapLoadInfoPKc_80:
	add esp, 0x17c
	pop ebx
	pop esi
	pop edi
	pop ebp
	ret
_Z14UI_MapLoadInfoPKc_10:
	mov ecx, eax
	lea eax, [ebp-0x1c]
	mov [esp+0x4], eax
	mov [esp], ecx
	call FS_ReadFile
	test eax, eax
	js _Z14UI_MapLoadInfoPKc_20
	mov eax, [ebp-0x1c]
	mov [ebp-0x20], eax
	mov ecx, [ebp+0x8]
	mov [esp], ecx
	call _Z21Com_BeginParseSessionPKc
	mov dword [esp], 0x1
	call _Z10Com_SetCSVi
	jmp _Z14UI_MapLoadInfoPKc_30
_Z14UI_MapLoadInfoPKc_60:
	lea edi, [ebp-0x160]
	mov [esp+0x8], ebx
	mov [esp+0x4], esi
	mov [esp], edi
	call memcpy
	lea eax, [ebp-0x20]
	mov [esp], eax
	call _Z15Com_ParseOnLinePPKc
	cmp byte [eax], 0x0
	jz _Z14UI_MapLoadInfoPKc_40
_Z14UI_MapLoadInfoPKc_70:
	mov dword [esp+0x4], 0x3
	mov [esp], eax
	call _Z23Material_RegisterHandlePKci
	mov ebx, eax
	mov [esp+0xc], edi
	mov dword [esp+0x8], _cstring_s1
	mov dword [esp+0x4], 0x40
	lea eax, [ebp-0x60]
	mov [esp], eax
	call _Z11Com_sprintfPciPKcz
	lea ecx, [ebp-0x60]
	mov [esp], ecx
	call _Z8I_strlwrPc
	lea eax, [ebp-0x60]
	mov [esp+0x4], eax
	mov [esp], ebx
	call _Z18Material_DuplicateP8MaterialPKc
_Z14UI_MapLoadInfoPKc_30:
	lea eax, [ebp-0x20]
	mov [esp], eax
	call _Z9Com_ParsePPKc
	mov esi, eax
	cmp byte [eax], 0x0
	jz _Z14UI_MapLoadInfoPKc_50
	cld
	mov ecx, 0xffffffff
	mov edi, eax
	xor eax, eax
	repne scasb
	mov ebx, ecx
	not ebx
	lea edi, [ebx-0x1]
	cmp ebx, 0xff
	jbe _Z14UI_MapLoadInfoPKc_60
	call _Z19Com_EndParseSessionv
	mov dword [esp+0x10], 0xff
	mov [esp+0xc], edi
	lea edi, [ebp-0x160]
	mov [esp+0x8], edi
	mov dword [esp+0x4], _cstring_key_s_is_i__i_ch
	mov dword [esp], 0x2
	call _Z9Com_Error11errorParm_tPKcz
	mov [esp+0x8], ebx
	mov [esp+0x4], esi
	mov [esp], edi
	call memcpy
	lea eax, [ebp-0x20]
	mov [esp], eax
	call _Z15Com_ParseOnLinePPKc
	cmp byte [eax], 0x0
	jnz _Z14UI_MapLoadInfoPKc_70
_Z14UI_MapLoadInfoPKc_40:
	call _Z19Com_EndParseSessionv
	mov ecx, [ebp+0x8]
	mov [esp+0xc], ecx
	mov [esp+0x8], edi
	mov dword [esp+0x4], _cstring_key_s_missing_va
	mov dword [esp], 0x2
	call _Z9Com_Error11errorParm_tPKcz
_Z14UI_MapLoadInfoPKc_50:
	call _Z19Com_EndParseSessionv
	mov eax, [ebp-0x1c]
	mov [esp], eax
	call FS_FreeFile
	add esp, 0x17c
	pop ebx
	pop esi
	pop edi
	pop ebp
	ret
_Z14UI_MapLoadInfoPKc_20:
	mov eax, [ebp+0x8]
	mov [esp+0x8], eax
	mov dword [esp+0x4], _cstring_warning_could_no
	mov dword [esp], 0xd
	call _Z16Com_PrintWarningiPKcz
	jmp _Z14UI_MapLoadInfoPKc_80
	nop


;Menus_FreeAllMemory(UiContext*)
_Z19Menus_FreeAllMemoryP9UiContext:
	push ebp
	mov ebp, esp
	push edi
	push esi
	push ebx
	sub esp, 0x2c
	mov eax, [ebp+0x8]
	mov edx, [eax+0xa30]
	test edx, edx
	jle _Z19Menus_FreeAllMemoryP9UiContext_10
	mov edi, eax
	mov dword [ebp-0x1c], 0x0
	jmp _Z19Menus_FreeAllMemoryP9UiContext_20
_Z19Menus_FreeAllMemoryP9UiContext_30:
	lea eax, [esi+0xd4]
	mov [esp], eax
	call _Z15free_expressionP11statement_s
	lea eax, [esi+0x108]
	mov [esp], eax
	call _Z15free_expressionP11statement_s
	lea eax, [esi+0x110]
	mov [esp], eax
	call _Z15free_expressionP11statement_s
	add dword [ebp-0x1c], 0x1
	add edi, 0x4
	mov eax, [ebp-0x1c]
	mov edx, [ebp+0x8]
	cmp [edx+0xa30], eax
	jle _Z19Menus_FreeAllMemoryP9UiContext_10
_Z19Menus_FreeAllMemoryP9UiContext_20:
	mov esi, [edi+0x30]
	mov eax, [esi+0xa4]
	test eax, eax
	jle _Z19Menus_FreeAllMemoryP9UiContext_30
	xor ebx, ebx
_Z19Menus_FreeAllMemoryP9UiContext_40:
	mov eax, [esi+0x118]
	mov eax, [eax+ebx*4]
	call _Z19Menu_FreeItemMemoryP9itemDef_s
	add ebx, 0x1
	cmp ebx, [esi+0xa4]
	jl _Z19Menus_FreeAllMemoryP9UiContext_40
	jmp _Z19Menus_FreeAllMemoryP9UiContext_30
_Z19Menus_FreeAllMemoryP9UiContext_10:
	add esp, 0x2c
	pop ebx
	pop esi
	pop edi
	pop ebp
	ret


;Item_SetupKeywordHash()
_Z21Item_SetupKeywordHashv:
	push ebp
	mov ebp, esp
	push edi
	push esi
	push ebx
	sub esp, 0x2c
	mov dword [esp+0x8], 0x400
	mov dword [esp+0x4], 0x0
	mov dword [esp], itemParseKeywordHash
	call memset
	mov dword [ebp-0x20], 0x0
	jmp _Z21Item_SetupKeywordHashv_10
_Z21Item_SetupKeywordHashv_30:
	xor edi, edi
	xor eax, eax
	add eax, edi
	and eax, 0xff
	mov edx, [ebp-0x1c]
	mov [eax*4+itemParseKeywordHash], edx
	add dword [ebp-0x20], 0x1
	cmp dword [ebp-0x20], 0x47
	jz _Z21Item_SetupKeywordHashv_20
_Z21Item_SetupKeywordHashv_10:
	mov eax, [ebp-0x20]
	shl eax, 0x3
	lea edx, [eax+itemParseKeywords]
	mov [ebp-0x1c], edx
	mov esi, [eax+itemParseKeywords]
	movzx eax, byte [esi]
	test al, al
	jz _Z21Item_SetupKeywordHashv_30
	xor edi, edi
	mov ebx, 0xf0f
_Z21Item_SetupKeywordHashv_40:
	movsx eax, al
	mov [esp], eax
	call tolower
	imul eax, ebx
	add edi, eax
	movzx eax, byte [esi+ebx-0xf0e]
	add ebx, 0x1
	test al, al
	jnz _Z21Item_SetupKeywordHashv_40
	mov eax, edi
	sar eax, 0x8
	add eax, edi
	and eax, 0xff
	mov edx, [ebp-0x1c]
	mov [eax*4+itemParseKeywordHash], edx
	add dword [ebp-0x20], 0x1
	cmp dword [ebp-0x20], 0x47
	jnz _Z21Item_SetupKeywordHashv_10
_Z21Item_SetupKeywordHashv_20:
	add esp, 0x2c
	pop ebx
	pop esi
	pop edi
	pop ebp
	ret
	nop


;Menu_SetupKeywordHash()
_Z21Menu_SetupKeywordHashv:
	push ebp
	mov ebp, esp
	push edi
	push esi
	push ebx
	sub esp, 0x2c
	mov dword [esp+0x8], 0x200
	mov dword [esp+0x4], 0x0
	mov dword [esp], menuParseKeywordHash
	call memset
	mov dword [ebp-0x20], 0x0
	jmp _Z21Menu_SetupKeywordHashv_10
_Z21Menu_SetupKeywordHashv_30:
	xor edi, edi
	xor eax, eax
	add eax, edi
	and eax, 0x7f
	mov edx, [ebp-0x1c]
	mov [eax*4+menuParseKeywordHash], edx
	add dword [ebp-0x20], 0x1
	cmp dword [ebp-0x20], 0x24
	jz _Z21Menu_SetupKeywordHashv_20
_Z21Menu_SetupKeywordHashv_10:
	mov eax, [ebp-0x20]
	shl eax, 0x3
	lea edx, [eax+menuParseKeywords]
	mov [ebp-0x1c], edx
	mov esi, [eax+menuParseKeywords]
	movzx eax, byte [esi]
	test al, al
	jz _Z21Menu_SetupKeywordHashv_30
	xor edi, edi
	mov ebx, 0x80
_Z21Menu_SetupKeywordHashv_40:
	movsx eax, al
	mov [esp], eax
	call tolower
	imul eax, ebx
	add edi, eax
	movzx eax, byte [esi+ebx-0x7f]
	add ebx, 0x1
	test al, al
	jnz _Z21Menu_SetupKeywordHashv_40
	mov eax, edi
	sar eax, 0x8
	add eax, edi
	and eax, 0x7f
	mov edx, [ebp-0x1c]
	mov [eax*4+menuParseKeywordHash], edx
	add dword [ebp-0x20], 0x1
	cmp dword [ebp-0x20], 0x24
	jnz _Z21Menu_SetupKeywordHashv_10
_Z21Menu_SetupKeywordHashv_20:
	add esp, 0x2c
	pop ebx
	pop esi
	pop edi
	pop ebp
	ret


;Initialized global or static variables of ui_shared_obj:
SECTION .data


;Initialized constant data of ui_shared_obj:
SECTION .rdata
itemParseKeywords: dd _cstring_name, _Z14ItemParse_nameP9itemDef_si, _cstring_text, _Z14ItemParse_textP9itemDef_si, _cstring_textfile, _Z18ItemParse_textfileP9itemDef_si, _cstring_textsavegame, _Z22ItemParse_textsavegameP9itemDef_si, _cstring_textcinematicsub, _Z31ItemParse_textcinematicsubtitleP9itemDef_si, _cstring_group, _Z15ItemParse_groupP9itemDef_si, _cstring_rect, _Z14ItemParse_rectP9itemDef_si, _cstring_origin, _Z16ItemParse_originP9itemDef_si, _cstring_style, _Z15ItemParse_styleP9itemDef_si, _cstring_decoration, _Z20ItemParse_decorationP9itemDef_si, _cstring_notselectable, _Z23ItemParse_notselectableP9itemDef_si, _cstring_noscrollbars, _Z22ItemParse_noScrollBarsP9itemDef_si, _cstring_usepaging, _Z19ItemParse_usePagingP9itemDef_si, _cstring_autowrapped, _Z21ItemParse_autowrappedP9itemDef_si, _cstring_horizontalscroll, _Z26ItemParse_horizontalscrollP9itemDef_si, _cstring_type, _Z14ItemParse_typeP9itemDef_si, _cstring_elementwidth, _Z22ItemParse_elementwidthP9itemDef_si, _cstring_elementheight, _Z23ItemParse_elementheightP9itemDef_si, _cstring_feeder, _Z16ItemParse_feederP9itemDef_si, _cstring_elementtype, _Z21ItemParse_elementtypeP9itemDef_si, _cstring_columns, _Z17ItemParse_columnsP9itemDef_si, _cstring_border, _Z16ItemParse_borderP9itemDef_si, _cstring_bordersize, _Z20ItemParse_bordersizeP9itemDef_si, _cstring_visible, _Z17ItemParse_visibleP9itemDef_si, _cstring_ownerdraw, _Z19ItemParse_ownerdrawP9itemDef_si, _cstring_align, _Z15ItemParse_alignP9itemDef_si, _cstring_textalign, _Z19ItemParse_textalignP9itemDef_si, _cstring_textalignx, _Z20ItemParse_textalignxP9itemDef_si, _cstring_textaligny, _Z20ItemParse_textalignyP9itemDef_si, _cstring_textscale, _Z19ItemParse_textscaleP9itemDef_si, _cstring_textstyle, _Z19ItemParse_textstyleP9itemDef_si, _cstring_textfont, _Z18ItemParse_textfontP9itemDef_si, _cstring_backcolor, _Z19ItemParse_backcolorP9itemDef_si, _cstring_forecolor, _Z19ItemParse_forecolorP9itemDef_si, _cstring_bordercolor, _Z21ItemParse_bordercolorP9itemDef_si, _cstring_outlinecolor, _Z22ItemParse_outlinecolorP9itemDef_si, _cstring_background, _Z20ItemParse_backgroundP9itemDef_si, _cstring_onfocus, _Z17ItemParse_onFocusP9itemDef_si, _cstring_leavefocus, _Z20ItemParse_leaveFocusP9itemDef_si, _cstring_mouseenter, _Z20ItemParse_mouseEnterP9itemDef_si, _cstring_mouseexit, _Z19ItemParse_mouseExitP9itemDef_si, _cstring_mouseentertext, _Z24ItemParse_mouseEnterTextP9itemDef_si, _cstring_mouseexittext, _Z23ItemParse_mouseExitTextP9itemDef_si, _cstring_action, _Z16ItemParse_actionP9itemDef_si, _cstring_accept, _Z16ItemParse_acceptP9itemDef_si, _cstring_special, _Z17ItemParse_specialP9itemDef_si, _cstring_dvar, _Z14ItemParse_dvarP9itemDef_si, _cstring_maxchars, _Z18ItemParse_maxCharsP9itemDef_si, _cstring_maxcharsgotonext, _Z27Item_Parse_maxCharsGotoNextP9itemDef_si, _cstring_maxpaintchars, _Z23ItemParse_maxPaintCharsP9itemDef_si, _cstring_focussound, _Z20ItemParse_focusSoundP9itemDef_si, _cstring_dvarfloat, _Z19ItemParse_dvarFloatP9itemDef_si, _cstring_dvarstrlist, _Z21ItemParse_dvarStrListP9itemDef_si, _cstring_dvarfloatlist, _Z23ItemParse_dvarFloatListP9itemDef_si, _cstring_dvarenumlist, _Z22ItemParse_dvarEnumListP9itemDef_si, _cstring_ownerdrawflag, _Z23ItemParse_ownerdrawFlagP9itemDef_si, _cstring_enabledvar, _Z20ItemParse_enableDvarP9itemDef_si, _cstring_dvartest, _Z18ItemParse_dvarTestP9itemDef_si, _cstring_disabledvar, _Z21ItemParse_disableDvarP9itemDef_si, _cstring_showdvar, _Z18ItemParse_showDvarP9itemDef_si, _cstring_hidedvar, _Z18ItemParse_hideDvarP9itemDef_si, _cstring_focusdvar, _Z19ItemParse_focusDvarP9itemDef_si, _cstring_doubleclick, _Z21ItemParse_doubleClickP9itemDef_si, _cstring_execkey, _Z17ItemParse_execKeyP9itemDef_si, _cstring_execkeyint, _Z20ItemParse_execKeyIntP9itemDef_si, _cstring_exp, _Z17ItemParse_execExpP9itemDef_si, _cstring_gamemsgwindowind, _Z28ItemParse_gameMsgWindowIndexP9itemDef_si, _cstring_gamemsgwindowmod, _Z27ItemParse_gameMsgWindowModeP9itemDef_si, _cstring_selectborder, _Z22ItemParse_selectBorderP9itemDef_si, _cstring_disablecolor, _Z22ItemParse_disableColorP9itemDef_si, _cstring_selecticon, _Z20ItemParse_selectIconP9itemDef_si, 0x0, 0x0
menuParseKeywords: dd _cstring_name, _Z14MenuParse_nameP9menuDef_ti, _cstring_fullscreen, _Z20MenuParse_fullscreenP9menuDef_ti, _cstring_rect, _Z14MenuParse_rectP9menuDef_ti, _cstring_style, _Z15MenuParse_styleP9menuDef_ti, _cstring_visible, _Z17MenuParse_visibleP9menuDef_ti, _cstring_onopen, _Z16MenuParse_onOpenP9menuDef_ti, _cstring_onclose, _Z17MenuParse_onCloseP9menuDef_ti, _cstring_onesc, _Z15MenuParse_onESCP9menuDef_ti, _cstring_border, _Z16MenuParse_borderP9menuDef_ti, _cstring_bordersize1, _Z20MenuParse_borderSizeP9menuDef_ti, _cstring_backcolor, _Z19MenuParse_backcolorP9menuDef_ti, _cstring_forecolor, _Z19MenuParse_forecolorP9menuDef_ti, _cstring_bordercolor, _Z21MenuParse_bordercolorP9menuDef_ti, _cstring_focuscolor, _Z20MenuParse_focuscolorP9menuDef_ti, _cstring_disablecolor, _Z22MenuParse_disablecolorP9menuDef_ti, _cstring_outlinecolor, _Z22MenuParse_outlinecolorP9menuDef_ti, _cstring_background, _Z20MenuParse_backgroundP9menuDef_ti, _cstring_ownerdraw, _Z19MenuParse_ownerdrawP9menuDef_ti, _cstring_ownerdrawflag, _Z23MenuParse_ownerdrawFlagP9menuDef_ti, _cstring_outofboundsclick, _Z21MenuParse_outOfBoundsP9menuDef_ti, _cstring_soundloop, _Z19MenuParse_soundLoopP9menuDef_ti, _cstring_itemdef, _Z17MenuParse_itemDefP9menuDef_ti, _cstring_exp, _Z17MenuParse_execExpP9menuDef_ti, _cstring_popup, _Z15MenuParse_popupP9menuDef_ti, _cstring_fadeclamp, _Z19MenuParse_fadeClampP9menuDef_ti, _cstring_fadecycle, _Z19MenuParse_fadeCycleP9menuDef_ti, _cstring_fadeamount, _Z20MenuParse_fadeAmountP9menuDef_ti, _cstring_fadeinamount, _Z22MenuParse_fadeInAmountP9menuDef_ti, _cstring_execkey, _Z17MenuParse_execKeyP9menuDef_ti, _cstring_execkeyint, _Z20MenuParse_execKeyIntP9menuDef_ti, _cstring_blurworld, _Z19MenuParse_blurWorldP9menuDef_ti, _cstring_legacysplitscree, _Z32MenuParse_legacySplitScreenScaleP9menuDef_ti, _cstring_hiddenduringscop, _Z27MenuParse_hiddenDuringScopeP9menuDef_ti, _cstring_hiddenduringflas, _Z31MenuParse_hiddenDuringFlashbangP9menuDef_ti, _cstring_hiddenduringui, _Z24MenuParse_hiddenDuringUIP9menuDef_ti, _cstring_allowedbinding, _Z24MenuParse_allowedBindingP9menuDef_ti


;Zero initialized global or static variables of ui_shared_obj:
SECTION .bss
menuBuf: resb 0x8000
g_load: resb 0xc20
menuParseKeywordHash: resb 0x200
itemParseKeywordHash: resb 0x400
menuBuf1: resb 0x1000
_ZZ14PC_SourceErroriPczE6string: resb 0x1060


;All cstrings:
SECTION .rdata
_cstring_menu_file_s_is_l:		db "Menu file %s is larger than the %i byte buffer used to parse menu files",0ah,0
_cstring_savegameinfo:		db "savegameinfo",0
_cstring_cinematicsubtitl:		db "cinematicsubtitle",0
_cstring_expected_integer:		db "expected integer but found %s",0ah,0
_cstring_expected_float_b:		db "expected float but found %s",0ah,0
_cstring_when:		db "when",0
_cstring_if:		db "if",0
_cstring_expected_item_al:		db "expected ITEM_ALIGN_* value",0ah,0
_cstring_end_of_file_insi:		db "end of file inside menu item",0ah,0
_cstring_enumdvarlist_alr:		db "enumDvarList already given",0
_cstring_visible:		db "visible",0
_cstring_text:		db "text",0
_cstring_material:		db "material",0
_cstring_rect:		db "rect",0
_cstring_error_line_ended:		db "ERROR: line ended early after ",22h,"exp rect",22h,0ah,0
_cstring_forecolor:		db "forecolor",0
_cstring_error_line_ended1:		db "ERROR: line ended early after ",22h,"exp forecolor",22h,0ah,0
_cstring_x:		db "X",0
_cstring_y:		db "Y",0
_cstring_w:		db "W",0
_cstring_a:		db "A",0
_cstring_error_expected_a:		db "ERROR: Expected ",27h,"A",27h," after ",22h,"exp forecolor",22h," but found ",22h,"%s",22h,0ah,0
_cstring_h:		db "H",0
_cstring_error_expected_x:		db "ERROR: Expected ",27h,"X",27h,", ",27h,"Y",27h,", ",27h,"W",27h,", or ",27h,"H",27h," after ",22h,"exp rect",22h," but found ",22h,"%s",22h,0ah,0
_cstring_unknown_menu_ite:		db "unknown menu item keyword %s",0
_cstring_couldnt_parse_me:		db "couldn",27h,"t parse menu item keyword %s",0
_cstring_error_line_ended2:		db "ERROR: line ended early after ",22h,"visible",22h,0ah,0
_cstring_error_expected_w:		db "ERROR: Expected ",27h,"when",27h," after ",22h,"visible",22h," but found ",22h,"%s",22h,0ah,0
_cstring_error_expected_x1:		db "ERROR: Expected ",27h,"X",27h," or ",27h,"Y",27h," after ",22h,"exp rect",22h," but found ",22h,"%s",22h,0ah,0
_cstring_blur_must_be__0_:		db "blur must be >= 0; %g is invalid",0
_cstring_only_one_allowed:		db "Only one ",27h,"allowedBinding",27h," is supported",0
_cstring_menu_load_error_:		db "Menu load error: %s, line %d: %s",0ah,0
_cstring_error_evaluating:		db "error evaluating expression",0ah,0
_cstring_expected_operato:		db "expected operator but found %s",0ah,0
_cstring_too_much_recursi:		db "too much recursive macro expansion",0ah,0
_cstring_:		db "{",0
_cstring_s:		db 22h,"%s",22h,0
_cstring_space:		db " ",0
_cstring_1:		db "}",0
_cstring_action_block_too:		db "action block too long that starts with: %s",0ah,0
_cstring_attempting_to_ch:		db "Attempting to change type from %d to %d.",0ah,"Move the type definition higher up in the itemDef.",0ah,0
_cstring_loadmenu:		db "loadmenu",0
_cstring_3warning_menu_fi:		db "^3WARNING: menu file not found: %s",0ah,0
_cstring_uidefaultmenu:		db "ui/default.menu",0
_cstring_defaultmenu_file:		db 015h,"default.menu file not found. This is a default menu that you should have.",0ah,0
_cstring_1menu_file_too_l:		db 015h,"^1menu file too large: %s is %i, max allowed is %i",0
_cstring_warning_menu_fil:		db "WARNING: menu file not found: %s",0ah,0
_cstring_pc:		db "PC",0
_cstring_loading_s:		db 09h,"Loading ",27h,"%s",27h,"...",0ah,0
_cstring_couldnt_find_men:		db "Couldn",27h,"t find menu file ",27h,"%s",27h,0ah,0
_cstring_menu_new_exe_err:		db 015h,"Menu_New: ",014h,"EXE_ERR_OUT_OF_MEMORY",0
_cstring_assetglobaldef:		db "assetGlobalDef",0
_cstring_menudef:		db "menudef",0
_cstring_unknown_token_s_:		db "Unknown token %s in menu file.  Expected ",22h,"menudef",22h," or ",22h,"assetglobaldef",22h,".",0ah,0
_cstring_2:		db ";",0
_cstring_fadeclamp:		db "fadeClamp",0
_cstring_unknown_menu_key:		db "unknown menu keyword %s",0
_cstring_couldnt_parse_me1:		db "couldn",27h,"t parse menu keyword %s",0
_cstring_fadecycle:		db "fadeCycle",0
_cstring_fadeamount:		db "fadeAmount",0
_cstring_end_of_file_insi1:		db "end of file inside menu",0ah,0
_cstring_fadeinamount:		db "fadeInAmount",0
_cstring_unknown_token_s_1:		db "Unknown token %s in assetGlobalDef.  Valid commands are ",27h,"fadeClamp",27h,", ",27h,"fadeCycle",27h,", ",27h,"fadeAmount",27h,", and ",27h,"fadeInAmount",27h,0ah,0
_cstring_menu_has_no_name:		db "menu has no name",0
_cstring_s1:		db "$%s",0
_cstring_key_s_is_i__i_ch:		db "key ",27h,"%s",27h," is %i > %i characters long",0
_cstring_key_s_missing_va:		db "key ",27h,"%s",27h," missing value in ",27h,"%s",27h,0ah,0
_cstring_warning_could_no:		db "WARNING: Could not find ",27h,"%s",27h,".",0ah,0
_cstring_name:		db "name",0
_cstring_textfile:		db "textfile",0
_cstring_textsavegame:		db "textsavegame",0
_cstring_textcinematicsub:		db "textcinematicsubtitle",0
_cstring_group:		db "group",0
_cstring_origin:		db "origin",0
_cstring_style:		db "style",0
_cstring_decoration:		db "decoration",0
_cstring_notselectable:		db "notselectable",0
_cstring_noscrollbars:		db "noscrollbars",0
_cstring_usepaging:		db "usepaging",0
_cstring_autowrapped:		db "autowrapped",0
_cstring_horizontalscroll:		db "horizontalscroll",0
_cstring_type:		db "type",0
_cstring_elementwidth:		db "elementwidth",0
_cstring_elementheight:		db "elementheight",0
_cstring_feeder:		db "feeder",0
_cstring_elementtype:		db "elementtype",0
_cstring_columns:		db "columns",0
_cstring_border:		db "border",0
_cstring_bordersize:		db "bordersize",0
_cstring_ownerdraw:		db "ownerdraw",0
_cstring_align:		db "align",0
_cstring_textalign:		db "textalign",0
_cstring_textalignx:		db "textalignx",0
_cstring_textaligny:		db "textaligny",0
_cstring_textscale:		db "textscale",0
_cstring_textstyle:		db "textstyle",0
_cstring_textfont:		db "textfont",0
_cstring_backcolor:		db "backcolor",0
_cstring_bordercolor:		db "bordercolor",0
_cstring_outlinecolor:		db "outlinecolor",0
_cstring_background:		db "background",0
_cstring_onfocus:		db "onFocus",0
_cstring_leavefocus:		db "leaveFocus",0
_cstring_mouseenter:		db "mouseEnter",0
_cstring_mouseexit:		db "mouseExit",0
_cstring_mouseentertext:		db "mouseEnterText",0
_cstring_mouseexittext:		db "mouseExitText",0
_cstring_action:		db "action",0
_cstring_accept:		db "accept",0
_cstring_special:		db "special",0
_cstring_dvar:		db "dvar",0
_cstring_maxchars:		db "maxChars",0
_cstring_maxcharsgotonext:		db "maxCharsGotoNext",0
_cstring_maxpaintchars:		db "maxPaintChars",0
_cstring_focussound:		db "focusSound",0
_cstring_dvarfloat:		db "dvarFloat",0
_cstring_dvarstrlist:		db "dvarStrList",0
_cstring_dvarfloatlist:		db "dvarFloatList",0
_cstring_dvarenumlist:		db "dvarEnumList",0
_cstring_ownerdrawflag:		db "ownerdrawFlag",0
_cstring_enabledvar:		db "enableDvar",0
_cstring_dvartest:		db "dvarTest",0
_cstring_disabledvar:		db "disableDvar",0
_cstring_showdvar:		db "showDvar",0
_cstring_hidedvar:		db "hideDvar",0
_cstring_focusdvar:		db "focusDvar",0
_cstring_doubleclick:		db "doubleclick",0
_cstring_execkey:		db "execKey",0
_cstring_execkeyint:		db "execKeyInt",0
_cstring_exp:		db "exp",0
_cstring_gamemsgwindowind:		db "gamemsgwindowindex",0
_cstring_gamemsgwindowmod:		db "gamemsgwindowmode",0
_cstring_selectborder:		db "selectBorder",0
_cstring_disablecolor:		db "disablecolor",0
_cstring_selecticon:		db "selectIcon",0
_cstring_fullscreen:		db "fullscreen",0
_cstring_onopen:		db "onOpen",0
_cstring_onclose:		db "onClose",0
_cstring_onesc:		db "onESC",0
_cstring_bordersize1:		db "borderSize",0
_cstring_focuscolor:		db "focuscolor",0
_cstring_outofboundsclick:		db "outOfBoundsClick",0
_cstring_soundloop:		db "soundLoop",0
_cstring_itemdef:		db "itemDef",0
_cstring_popup:		db "popup",0
_cstring_blurworld:		db "blurWorld",0
_cstring_legacysplitscree:		db "legacySplitScreenScale",0
_cstring_hiddenduringscop:		db "hiddenDuringScope",0
_cstring_hiddenduringflas:		db "hiddenDuringFlashbang",0
_cstring_hiddenduringui:		db "hiddenDuringUI",0
_cstring_allowedbinding:		db "allowedBinding",0



;All constant floats and doubles:
SECTION .rdata
_float_0_00000000:		dd 0x0	; 0

