;Imports of ui_main_mp:
	extern _Z18FS_FOpenFileByModePKcPi8fsMode_t
	extern _Z7FS_ReadPvii
	extern _Z13FS_FCloseFilei
	extern _Z14Com_PrintErroriPKcz
	extern _Z19DB_FindXAssetHeader10XAssetTypePKc
	extern _Z17CL_GetClientStateiP15uiClientState_s
	extern _Z18CL_GetConfigStringii
	extern _Z16Info_ValueForKeyPKcS0_
	extern atoi
	extern memset
	extern _Z16CL_GetClientNameiiPci
	extern _Z10I_strncpyzPcPKci
	extern _Z10I_CleanStrPc
	extern _Z18LAN_CompareServersiiiii
	extern _Z9I_stricmpPKcS0_
	extern _Z23Menu_SetFeederSelectionP9UiContextP9menuDef_tiiPKc
	extern _Z11Dvar_GetIntPKc
	extern _Z27SEH_VerifyLanguageSelectioni
	extern _Z17Dvar_SetIntByNamePKci
	extern _Z18Dvar_SetBoolByNamePKch
	extern _Z13LAN_AddServeriPKcS0_
	extern _Z2vaPKcz
	extern _Z10Com_PrintfiPKcz
	extern _Z20Dvar_SetStringByNamePKcS0_
	extern _Z12String_ParsePPKcPci
	extern _Z11Com_sprintfPciPKcz
	extern _Z9Com_ParsePPKc
	extern _Z12String_AllocPKc
	extern useFastFile
	extern _Z14FS_GetFileListPKcS0_16FsListBehavior_ePci
	extern _Z12Com_RealTimeP7qtime_s
	extern snprintf
	extern _Z14LAN_ResetPingsi
	extern _Z18LAN_GetServerCounti
	extern _Z19LAN_MarkServerDirtyiii
	extern _Z21Dvar_GetVariantStringPKc
	extern _Z31CL_ControllerIndexFromClientNumi
	extern _Z24Cmd_ExecuteSingleCommandiiPKc
	extern _Z14Dvar_GetStringPKc
	extern _Z22LAN_WaitServerResponsei
	extern qsort
	extern strcpy
	extern _Z17LAN_ServerIsDirtyii
	extern _Z17LAN_GetServerPingii
	extern _Z17LAN_GetServerInfoiiPci
	extern _Z10I_strnicmpPKcS0_i
	extern _Z19LAN_ServerInfoValidii
	extern _Z19LAN_GetServerStatusPcS_i
	extern strchr
	extern __toupper
	extern _Z26LAN_GetServerAddressStringiiPci
	extern legacyHacks
	extern colorBlack
	extern scrPlaceFull
	extern _Z11UI_FillRectPK15ScreenPlacementffffiiPKf
	extern colorGreen
	extern colorLtGrey
	extern _Z21R_NormalizedTextScaleP6Font_sf
	extern _Z11R_TextWidthPKciP6Font_s
	extern _Z10Menu_CountP9UiContext
	extern _Z13Menu_PaintAllP9UiContext
	extern _Z20LAN_UpdateDirtyPingsii
	extern _Z30CL_AllLocalClientsDisconnectedv
	extern _Z15Menu_GetFocusedP9UiContext
	extern clientUIActives
	extern scrPlaceView
	extern getBuildNumberAsInt
	extern colorMdGrey
	extern _Z12Dvar_GetBoolPKc
	extern _Z16UI_DrawHandlePicPK15ScreenPlacementffffiiPKfP8Material
	extern _Z19Key_IsCatcherActiveii
	extern _Z17Key_RemoveCatcherii
	extern _Z14Menus_CloseAllP9UiContext
	extern _Z17CL_DrawStretchPicPK15ScreenPlacementffffiiffffPKfP8Material
	extern _Z18ScrPlace_ApplyRectPK15ScreenPlacementPfS2_S2_S2_ii
	extern floorf
	extern _Z19CL_DrawTextPhysicalPKciP6Font_sffffPKfi
	extern _Z26Menus_AnyFullScreenVisibleP9UiContext
	extern _Z14Menu_HandleKeyP9UiContextP9menuDef_tii
	extern _Z15Key_ClearStatesi
	extern _Z19UILocalVar_ShutdownP17UILocalVarContext
	extern _Z19Menus_FreeAllMemoryP9UiContext
	extern _Z22LAN_SaveServersToCachev
	extern _Z21CL_IsCgameInitializedi
	extern sin
	extern _Z9LerpColorPfS_S_f
	extern strstr
	extern cls
	extern sprintf
	extern _Z12CG_OwnerDrawi9rectDef_sffffiiffiiifP6Font_sfPfP8Materialii
	extern _Z23SEH_LocalizeTextMessagePKcS0_15msgLocErrType_t
	extern _Z22Display_KeyBindPendingv
	extern sv_voice
	extern cl_voice
	extern _Z16IN_IsTalkKeyHeldv
	extern _Z23Material_RegisterHandlePKci
	extern _Z16CL_IsClientLocali
	extern _Z18CL_IsPlayerTalkingii
	extern _Z16Com_PrintWarningiPKcz
	extern _Z11Dvar_SetIntPK6dvar_si
	extern _Z14Dvar_SetStringPK6dvar_sPKc
	extern _Z12R_TextHeightP6Font_s
	extern _Z19CL_ShowSystemCursori
	extern _Z17Display_MouseMoveP9UiContext
	extern _Z14Cmd_ArgsBufferiPci
	extern _Z17Menus_CloseByNameP9UiContextPKc
	extern _Z9I_strncatPciPKc
	extern _Z11UI_LoadMenuPKci
	extern _Z14UI_AddMenuListP9UiContextP8MenuList
	extern g_editingField
	extern _Z34Dvar_SetFromStringByNameFromSourcePKcS0_13DvarSetSource
	extern _Z12Cbuf_AddTextiPKc
	extern _Z13CLUI_GetCDKeyPciS_i
	extern _Z13UI_LoadArenasv
	extern _Z16CL_CDKeyValidatePKcS0_
	extern _Z13CLUI_SetCDKeyPcS_
	extern _Z16Menus_OpenByNameP9UiContextPKc
	extern _Z9Com_Error11errorParm_tPKcz
	extern FS_ListFiles
	extern FS_FreeFileList
	extern com_playerProfile
	extern _Z20Com_NewPlayerProfilePKc
	extern _Z23Com_DeletePlayerProfilePKc
	extern _Z23Com_ChangePlayerProfileiPKc
	extern _Z14DB_SyncXAssetsv
	extern _Z12Dvar_FindVarPKc
	extern _Z10Dvar_ResetPK6dvar_s13DvarSetSource
	extern _Z23LAN_GetServerPunkBusterii
	extern _Z14Key_SetCatcherii
	extern _Z9Int_ParsePPKcPi
	extern _Z16LAN_RemoveServeriPKc
	extern _Z18CLUI_SetPbClStatusi
	extern _Z19Dvar_SetFloatByNamePKcf
	extern _Z13CL_MutePlayerii
	extern _Z18Com_SetRecommendedii
	extern _Z17CG_ScriptMainMenui
	extern _Z17SND_FadeAllSoundsfi
	extern _Z30CL_SetDisplayHUDWithKeycatchUIih
	extern _Z16CL_IsPlayerMutedii
	extern _Z19Voice_GetVoiceLevelv
	extern colorWhite
	extern _Z18Item_GetListBoxDefP9itemDef_s
	extern _Z12UI_LoadMenusPKci
	extern _Z21UI_SetSystemCursorPosP9UiContextff
	extern _Z19Menus_MenuIsInStackP9UiContextP9menuDef_t
	extern _Z22Window_SetDynamicFlagsiP11windowDef_ti
	extern _Z10Menu_PaintP9UiContextP9menuDef_t
	extern _Z16Menus_FindByNamePK9UiContextPKc
	extern _Z10Menus_OpenP9UiContextP9menuDef_t
	extern _Z24R_AddCmdDrawTextSubtitlePKciP6Font_sfffffPKfiS4_h
	extern _Z30CL_DrawTextPhysicalWithEffectsPKciP6Font_sffffPKfiS4_P8MaterialS6_iiii
	extern _Z20DB_GetLoadedFractionv
	extern fs_gameDirVar
	extern _Z18CG_DrawInformationi
	extern colorYellow
	extern _Z16Sys_Millisecondsv
	extern _Z19R_AddCmdDrawQuadPicPA2_KfPS_P8Material
	extern _Z22Item_ListBox_MaxScrolliP9itemDef_s
	extern _Z29CL_DrawTextPhysicalWithCursorPKciP6Font_sffffPKfiic
	extern _Z22SEH_StringEd_GetStringPKc
	extern loc_warnings
	extern loc_warningsAsErrors
	extern _Z14Menu_IsVisibleP9UiContextP9menuDef_t
	extern r_reflectionProbeGenerate
	extern cmd_args
	extern _Z20StringTable_GetAssetPKcPPK11StringTable
	extern _Z8ms_srandj
	extern _Z7ms_randv
	extern _Z32StringTable_GetColumnValueForRowPK11StringTableii
	extern _Z19Dvar_RegisterStringPKcS0_tS0_
	extern _Z17Dvar_RegisterBoolPKchtS0_
	extern _Z16Dvar_RegisterIntPKciiitS0_
	extern _Z18Dvar_RegisterFloatPKcffftS0_
	extern _Z17Dvar_RegisterVec2PKcfffftS0_
	extern _Z17Dvar_RegisterVec4PKcfffffftS0_
	extern _Z11String_Initv
	extern _Z10Menu_SetupP9UiContext
	extern _Z22CL_GetScreenDimensionsPiS_Pf
	extern _Z15CL_RegisterFontPKci
	extern _Z21LAN_LoadCachedServersv
	extern _Z13Dvar_GetFloatPKc
	extern _Z14UI_MapLoadInfoPKc
	extern _Z19UI_LoadSoundAliasesv
	extern _Z16DB_ResetZoneSizei
	extern _Z13CL_AllowPopupi
	extern _Z13DB_FileExistsPKc6FF_DIR

;Exports of ui_main_mp:
	global g_mapname
	global g_ingameMenusLoaded
	global serverFilters
	global ui_serverFilterType
	global MonthAbbrev
	global netSources
	global g_showLoadingScreenMenu
	global menuBuf2
	global _Z21GetMenuBuffer_LoadObjPKc
	global _Z22GetMenuBuffer_FastFilePKc
	global _Z18UI_BuildPlayerListi
	global _Z22UI_ServersQsortComparePKvS0_
	global _Z29UI_PlayerProfilesQsortComparePKvS0_
	global _Z19UI_SelectCurrentMapi
	global _Z17UI_VerifyLanguagev
	global _ZZ22UI_SafeTranslateStringPKcE11errorString
	global _Z27UI_AddServerToFavoritesListPKcS0_
	global _Z31UI_GetOpenOrCloseMenuOnDvarArgsPPKcS0_PciS2_iS2_i
	global _Z15UI_ReadableSizePcii
	global _ZZ18UI_FeederSelectionifiE4info
	global _Z28UI_GetGameTypesList_FastFilev
	global _Z27UI_GetGameTypesList_LoadObjv
	global _ZZ11UI_KeyEventiiiE14bypassKeyClear
	global _Z21UI_StartServerRefreshii
	global _ZZ25UI_BuildServerDisplayListP8uiInfo_siE8numclean
	global _Z25UI_BuildServerDisplayListP8uiInfo_si
	global _Z22UI_GetServerStatusInfoPcP18serverStatusInfo_t
	global _ZZ17UI_FeederItemTextiP9itemDef_sfiiPP8MaterialE8lastTime
	global _ZZ17UI_FeederItemTextiP9itemDef_sfiiPP8MaterialE10lastColumn
	global _ZZ17UI_FeederItemTextiP9itemDef_sfiiPP8MaterialE10clientBuff
	global _ZZ17UI_FeederItemTextiP9itemDef_sfiiPP8MaterialE4info
	global _ZZ22UI_BuildFindPlayerListvE11numTimeOuts
	global _ZZ22UI_BuildFindPlayerListvE8numFound
	global _Z22UI_BuildFindPlayerListv
	global _Z20UI_BuildServerStatusP8uiInfo_si
	global _ZZ22UI_DisplayDownloadInfoPKcffP6Font_sfE8tleIndex
	global _ZZ22UI_DisplayDownloadInfoPKcffP6Font_sfE12tleEstimates
	global _ZZ22UI_DisplayDownloadInfoPKcffP6Font_sfE8xferText
	global _ZZ22UI_DisplayDownloadInfoPKcffP6Font_sfE7etaText
	global _ZZ22UI_DisplayDownloadInfoPKcffP6Font_sfE6dlText
	global _Z22UI_DisplayDownloadInfoPKcffP6Font_sf
	global _Z10UI_Refreshi
	global _Z11UI_CloseAlli
	global _Z11UI_DrawRectPK15ScreenPlacementffffiifPKf
	global _Z11UI_DrawTextPK15ScreenPlacementPKciP6Font_sffiifPKfi
	global _Z11UI_KeyEventiii
	global _Z11UI_Shutdowni
	global _Z12UI_DrawSidesPK15ScreenPlacementffffiifPKf
	global _Z12UI_OwnerDrawiffffiiffiiifP6Font_sfPfP8Materiali9rectDef_si
	global _Z12UI_TextWidthPKciP6Font_sf
	global _Z13UI_MouseEventiii
	global _Z13UI_TextHeightP6Font_sf
	global _Z13UI_UpdateTimeii
	global _Z14UI_CloseMenu_fv
	global _Z14UI_FeederCountif
	global _Z15Load_ScriptMenuiPKci
	global _Z15UI_CheckExecKeyii
	global _Z15UI_IsFullscreeni
	global _Z16UI_CloseAllMenusi
	global _Z16UI_DrawTopBottomPK15ScreenPlacementffffiifPKf
	global _Z16UI_GetActiveMenui
	global _Z16UI_GetBlurRadiusi
	global _Z16UI_GetFontHandlePK15ScreenPlacementif
	global _Z16UI_RunMenuScriptiPPKcS0_
	global _Z16UI_SetActiveMenuii
	global _Z17UI_AnyMenuVisiblei
	global _Z17UI_DrawTextNoSnapPK15ScreenPlacementPKciP6Font_sffiifPKfi
	global _Z17UI_FeederItemTextiP9itemDef_sfiiPP8Material
	global _Z17UI_OwnerDrawWidthiP6Font_sf
	global _Z18UI_CloseInGameMenui
	global _Z18UI_DrawRecordLeveliP9rectDef_s
	global _Z18UI_FeederItemColoriP9itemDef_sfiiPf
	global _Z18UI_FeederItemImagefi
	global _Z18UI_FeederSelectionifi
	global _Z18UI_LoadIngameMenusi
	global _Z18UI_PopupScriptMenuiPKch
	global _Z19UI_CloseFocusedMenui
	global _Z19UI_DrawMapLevelshoti
	global _Z19UI_DrawTextWithGlowPK15ScreenPlacementPKciP6Font_sffiifPKfiS7_hh
	global _Z19UI_OwnerDrawVisiblei
	global _Z20UI_DrawConnectScreeni
	global _Z20UI_DrawHighlightRectPK15ScreenPlacementffffiifPKfS3_
	global _Z20UI_FeederItemEnabledifi
	global _Z20UI_GetMapDisplayNamePKc
	global _Z20UI_OverrideCursorPosiP9itemDef_s
	global _Z21UI_DrawTextWithCursorPK15ScreenPlacementPKciP6Font_sffiifPKfiic
	global _Z21UI_GetTalkerClientNumii
	global _Z21UI_OwnerDrawHandleKeyiiPfi
	global _Z21UI_ReplaceConversionsPKcP19ConversionArgumentsPci
	global _Z22UI_GetLocalVarsContexti
	global _Z22UI_SafeTranslateStringPKc
	global _Z22UI_ShouldDrawCrosshairv
	global _Z23UI_ClosePopupScriptMenuih
	global _Z23UI_GetTopActiveMenuNamei
	global _Z25Menu_IsMenuOpenAndVisibleiPKc
	global _Z25UI_GetGameTypeDisplayNamePKc
	global _Z26UI_AllowScriptMenuResponsei
	global _Z26UI_ReplaceConversionStringPKcS0_
	global _Z33CL_SelectStringTableEntryInDvar_fv
	global _Z33UI_FilterStringForButtonAnimationPcj
	global _Z44UI_GetMapDisplayNameFromPartialLoadNameMatchPKcPi
	global _Z7UI_Initi
	global _Z8UI_Pauseii
	global _Z8UI_PopupiPKc
	global _Z9UI_SetMapPKcS0_
	global ui_showEndOfGame
	global vehDriverViewHeightMax
	global vehDriverViewHeightMin
	global sharedUiInfo
	global uiscript_debug
	global ui_borderLowLightScale
	global ui_showList
	global ui_showMenuOnly
	global serverStatusDvars
	global uiInfoArray
	global ui_allow_classchange
	global ui_allow_teamchange
	global ui_bigFont
	global ui_browserFriendlyfire
	global ui_browserHardcore
	global ui_browserKillcam
	global ui_browserMod
	global ui_browserOldSchool
	global ui_browserShowDedicated
	global ui_browserShowEmpty
	global ui_browserShowFull
	global ui_browserShowPassword
	global ui_browserShowPunkBuster
	global ui_browserShowPure
	global ui_buildLocation
	global ui_buildSize
	global ui_cinematicsTimestamp
	global ui_connectScreenTextGlowColor
	global ui_currentMap
	global ui_currentNetMap
	global ui_customClassName
	global ui_customModeEditName
	global ui_customModeName
	global ui_dedicated
	global ui_drawCrosshair
	global ui_extraBigFont
	global ui_gametype
	global ui_hud_hardcore
	global ui_joinGameType
	global ui_netGameType
	global ui_netGameTypeName
	global ui_netSource
	global ui_playerProfileCount
	global ui_playerProfileNameNew
	global ui_playerProfileSelected
	global ui_serverStatusTimeOut
	global ui_smallFont
	global ui_uav_allies
	global ui_uav_axis
	global ui_uav_client


SECTION .text


;GetMenuBuffer_LoadObj(char const*)
_Z21GetMenuBuffer_LoadObjPKc:
	push ebp
	mov ebp, esp
	push esi
	push ebx
	sub esp, 0x30
	mov esi, [ebp+0x8]
	mov dword [esp+0x8], 0x0
	lea eax, [ebp-0xc]
	mov [esp+0x4], eax
	mov [esp], esi
	call _Z18FS_FOpenFileByModePKcPi8fsMode_t
	mov ebx, eax
	mov eax, [ebp-0xc]
	test eax, eax
	jz _Z21GetMenuBuffer_LoadObjPKc_10
	cmp ebx, 0x7fff
	jg _Z21GetMenuBuffer_LoadObjPKc_20
	mov [esp+0x8], eax
	mov [esp+0x4], ebx
	mov dword [esp], menuBuf2
	call _Z7FS_ReadPvii
	mov byte [ebx+menuBuf2], 0x0
	mov eax, [ebp-0xc]
	mov [esp], eax
	call _Z13FS_FCloseFilei
	mov eax, menuBuf2
_Z21GetMenuBuffer_LoadObjPKc_30:
	add esp, 0x30
	pop ebx
	pop esi
	pop ebp
	ret
_Z21GetMenuBuffer_LoadObjPKc_20:
	mov dword [esp+0x10], 0x8000
	mov [esp+0xc], ebx
	mov [esp+0x8], esi
	mov dword [esp+0x4], _cstring_menu_file_too_la
	mov dword [esp], 0xd
	call _Z14Com_PrintErroriPKcz
	mov eax, [ebp-0xc]
	mov [esp], eax
	call _Z13FS_FCloseFilei
	xor eax, eax
	jmp _Z21GetMenuBuffer_LoadObjPKc_30
_Z21GetMenuBuffer_LoadObjPKc_10:
	mov [esp+0x8], esi
	mov dword [esp+0x4], _cstring_menu_file_not_fo
	mov dword [esp], 0xd
	call _Z14Com_PrintErroriPKcz
	xor eax, eax
	jmp _Z21GetMenuBuffer_LoadObjPKc_30


;GetMenuBuffer_FastFile(char const*)
_Z22GetMenuBuffer_FastFilePKc:
	push ebp
	mov ebp, esp
	push ebx
	sub esp, 0x14
	mov ebx, [ebp+0x8]
	mov [esp+0x4], ebx
	mov dword [esp], 0x1f
	call _Z19DB_FindXAssetHeader10XAssetTypePKc
	test eax, eax
	jz _Z22GetMenuBuffer_FastFilePKc_10
	mov eax, [eax+0x8]
_Z22GetMenuBuffer_FastFilePKc_20:
	add esp, 0x14
	pop ebx
	pop ebp
	ret
_Z22GetMenuBuffer_FastFilePKc_10:
	mov [esp+0x8], ebx
	mov dword [esp+0x4], _cstring_menu_file_not_fo
	mov dword [esp], 0xd
	call _Z14Com_PrintErroriPKcz
	xor eax, eax
	jmp _Z22GetMenuBuffer_FastFilePKc_20
	nop


;UI_BuildPlayerList(int)
_Z18UI_BuildPlayerListi:
	push ebp
	mov ebp, esp
	push edi
	push esi
	push ebx
	sub esp, 0x84c
	mov esi, eax
	lea eax, [ebp-0x848]
	mov [esp+0x4], eax
	mov [esp], esi
	call _Z17CL_GetClientStateiP15uiClientState_s
	mov dword [esp+0x4], 0x0
	mov [esp], esi
	call _Z18CL_GetConfigStringii
	mov dword [esp+0x4], _cstring_sv_maxclients
	mov [esp], eax
	call _Z16Info_ValueForKeyPKcS0_
	mov [esp], eax
	call atoi
	mov edi, eax
	mov dword [esp+0x8], 0x100
	mov dword [esp+0x4], 0xffffffff
	mov dword [esp], sharedUiInfo+0x104c
	call memset
	mov dword [sharedUiInfo+0x48], 0x0
	test edi, edi
	jg _Z18UI_BuildPlayerListi_10
_Z18UI_BuildPlayerListi_30:
	add esp, 0x84c
	pop ebx
	pop esi
	pop edi
	pop ebp
	ret
_Z18UI_BuildPlayerListi_10:
	xor ebx, ebx
	jmp _Z18UI_BuildPlayerListi_20
_Z18UI_BuildPlayerListi_40:
	add ebx, 0x1
	cmp edi, ebx
	jz _Z18UI_BuildPlayerListi_30
_Z18UI_BuildPlayerListi_20:
	mov dword [esp+0xc], 0x26
	lea eax, [ebp-0x3e]
	mov [esp+0x8], eax
	mov [esp+0x4], ebx
	mov [esp], esi
	call _Z16CL_GetClientNameiiPci
	test eax, eax
	jz _Z18UI_BuildPlayerListi_40
	mov eax, [sharedUiInfo+0x48]
	mov [eax*4+sharedUiInfo+0x104c], ebx
	mov dword [esp+0x8], 0x20
	lea edx, [ebp-0x3e]
	mov [esp+0x4], edx
	shl eax, 0x5
	add eax, sharedUiInfo+0x4c
	mov [esp], eax
	call _Z10I_strncpyzPcPKci
	mov eax, [sharedUiInfo+0x48]
	shl eax, 0x5
	add eax, sharedUiInfo+0x4c
	mov [esp], eax
	call _Z10I_CleanStrPc
	add dword [sharedUiInfo+0x48], 0x1
	jmp _Z18UI_BuildPlayerListi_40


;UI_ServersQsortCompare(void const*, void const*)
_Z22UI_ServersQsortComparePKvS0_:
	push ebp
	mov ebp, esp
	sub esp, 0x28
	mov eax, [ebp+0xc]
	mov eax, [eax]
	mov [esp+0x10], eax
	mov eax, [ebp+0x8]
	mov eax, [eax]
	mov [esp+0xc], eax
	mov eax, [sharedUiInfo+0x72e8]
	mov [esp+0x8], eax
	mov eax, [sharedUiInfo+0x72e4]
	mov [esp+0x4], eax
	mov eax, [ui_netSource]
	mov eax, [eax+0xc]
	mov [esp], eax
	call _Z18LAN_CompareServersiiiii
	leave
	ret


;UI_PlayerProfilesQsortCompare(void const*, void const*)
_Z29UI_PlayerProfilesQsortComparePKvS0_:
	push ebp
	mov ebp, esp
	sub esp, 0x18
	mov eax, [ebp+0x8]
	mov edx, [eax]
	mov eax, [ebp+0xc]
	mov eax, [eax]
	cmp edx, eax
	jz _Z29UI_PlayerProfilesQsortComparePKvS0__10
	mov eax, [eax*4+uiInfoArray+0x1688]
	mov [esp+0x4], eax
	mov eax, [edx*4+uiInfoArray+0x1688]
	mov [esp], eax
	call _Z9I_stricmpPKcS0_
	mov edx, eax
	neg eax
	mov ecx, [uiInfoArray+0x1788]
	test ecx, ecx
	cmovz edx, eax
	mov eax, edx
	leave
	ret
_Z29UI_PlayerProfilesQsortComparePKvS0__10:
	xor edx, edx
	mov eax, edx
	leave
	ret
	nop


;UI_SelectCurrentMap(int)
_Z19UI_SelectCurrentMapi:
	push ebp
	mov ebp, esp
	push edi
	push esi
	push ebx
	sub esp, 0x87c
	mov ebx, eax
	lea eax, [ebp-0x860]
	mov [esp+0x4], eax
	mov [esp], ebx
	call _Z17CL_GetClientStateiP15uiClientState_s
	cmp dword [ebp-0x860], 0x9
	jz _Z19UI_SelectCurrentMapi_10
_Z19UI_SelectCurrentMapi_20:
	add esp, 0x87c
	pop ebx
	pop esi
	pop edi
	pop ebp
	ret
_Z19UI_SelectCurrentMapi_10:
	mov dword [esp+0x4], 0x0
	mov [esp], ebx
	call _Z18CL_GetConfigStringii
	cmp byte [eax], 0x0
	jz _Z19UI_SelectCurrentMapi_20
	mov dword [esp+0x4], _cstring_mapname
	mov [esp], eax
	call _Z16Info_ValueForKeyPKcS0_
	mov dword [esp+0x8], 0x40
	mov [esp+0x4], eax
	lea eax, [ebp-0x58]
	mov [esp], eax
	call _Z10I_strncpyzPcPKci
	mov eax, [sharedUiInfo+0x1c58]
	test eax, eax
	jle _Z19UI_SelectCurrentMapi_20
	xor esi, esi
	xor edi, edi
	mov ebx, sharedUiInfo
	jmp _Z19UI_SelectCurrentMapi_30
_Z19UI_SelectCurrentMapi_40:
	add esi, 0x1
	add ebx, 0xa0
	cmp esi, [sharedUiInfo+0x1c58]
	jge _Z19UI_SelectCurrentMapi_20
_Z19UI_SelectCurrentMapi_30:
	mov eax, [ebx+0x1cf8]
	test eax, eax
	jz _Z19UI_SelectCurrentMapi_40
	mov eax, [ebx+0x1c5c]
	mov [esp+0x4], eax
	lea eax, [ebp-0x58]
	mov [esp], eax
	call _Z9I_stricmpPKcS0_
	test eax, eax
	jz _Z19UI_SelectCurrentMapi_50
	add edi, 0x1
	jmp _Z19UI_SelectCurrentMapi_40
_Z19UI_SelectCurrentMapi_50:
	mov dword [esp+0x10], _cstring_createserver_map
	mov [esp+0xc], edi
	mov dword [esp+0x8], 0x4
	mov dword [esp+0x4], 0x0
	mov dword [esp], uiInfoArray
	call _Z23Menu_SetFeederSelectionP9UiContextP9menuDef_tiiPKc
	jmp _Z19UI_SelectCurrentMapi_20


;UI_VerifyLanguage()
_Z17UI_VerifyLanguagev:
	push ebp
	mov ebp, esp
	push esi
	push ebx
	sub esp, 0x10
	mov dword [esp], _cstring_loc_language
	call _Z11Dvar_GetIntPKc
	mov esi, eax
	mov dword [esp], _cstring_ui_language
	call _Z11Dvar_GetIntPKc
	mov ebx, eax
	mov [esp], eax
	call _Z27SEH_VerifyLanguageSelectioni
	cmp ebx, eax
	jz _Z17UI_VerifyLanguagev_10
	mov [esp+0x4], eax
	mov dword [esp], _cstring_ui_language
	call _Z17Dvar_SetIntByNamePKci
_Z17UI_VerifyLanguagev_10:
	cmp esi, ebx
	jz _Z17UI_VerifyLanguagev_20
	mov dword [esp+0x4], 0x1
	mov dword [esp], _cstring_ui_languagechang
	call _Z18Dvar_SetBoolByNamePKch
	add esp, 0x10
	pop ebx
	pop esi
	pop ebp
	ret
_Z17UI_VerifyLanguagev_20:
	mov dword [esp+0x4], 0x0
	mov dword [esp], _cstring_ui_languagechang
	call _Z18Dvar_SetBoolByNamePKch
	add esp, 0x10
	pop ebx
	pop esi
	pop ebp
	ret


;UI_AddServerToFavoritesList(char const*, char const*)
_Z27UI_AddServerToFavoritesListPKcS0_:
	push ebp
	mov ebp, esp
	push ebx
	sub esp, 0x14
	mov ebx, edx
	cmp byte [eax], 0x0
	jz _Z27UI_AddServerToFavoritesListPKcS0__10
	cmp byte [edx], 0x0
	jz _Z27UI_AddServerToFavoritesListPKcS0__20
	mov [esp+0x8], edx
	mov [esp+0x4], eax
	mov dword [esp], 0x2
	call _Z13LAN_AddServeriPKcS0_
	test eax, eax
	jz _Z27UI_AddServerToFavoritesListPKcS0__30
	cmp eax, 0xffffffff
	jz _Z27UI_AddServerToFavoritesListPKcS0__40
	cmp eax, 0xfffffffe
	jz _Z27UI_AddServerToFavoritesListPKcS0__50
	mov dword [esp], _cstring_exe_favoriteadde
	call _Z22UI_SafeTranslateStringPKc
	mov [esp+0x4], eax
	mov dword [esp], _cstring_s
	call _Z2vaPKcz
	mov [esp+0x8], ebx
	mov [esp+0x4], eax
	mov dword [esp], 0xd
	call _Z10Com_PrintfiPKcz
	mov dword [esp+0x4], _cstring_exe_favoriteadde1
	mov dword [esp], _cstring_ui_favorite_mess
	call _Z20Dvar_SetStringByNamePKcS0_
	add esp, 0x14
	pop ebx
	pop ebp
	ret
_Z27UI_AddServerToFavoritesListPKcS0__20:
	mov dword [esp], _cstring_exe_favoriteaddr
	call _Z22UI_SafeTranslateStringPKc
	mov [esp+0x8], eax
	mov dword [esp+0x4], _cstring_s
	mov dword [esp], 0xd
	call _Z10Com_PrintfiPKcz
	mov dword [esp+0x4], _cstring_exe_favoriteaddr1
	mov dword [esp], _cstring_ui_favorite_mess
	call _Z20Dvar_SetStringByNamePKcS0_
_Z27UI_AddServerToFavoritesListPKcS0__60:
	add esp, 0x14
	pop ebx
	pop ebp
	ret
_Z27UI_AddServerToFavoritesListPKcS0__10:
	mov dword [esp], _cstring_exe_favoritename
	call _Z22UI_SafeTranslateStringPKc
	mov [esp+0x8], eax
	mov dword [esp+0x4], _cstring_s
	mov dword [esp], 0xd
	call _Z10Com_PrintfiPKcz
	mov dword [esp+0x4], _cstring_exe_favoritename1
	mov dword [esp], _cstring_ui_favorite_mess
	call _Z20Dvar_SetStringByNamePKcS0_
	add esp, 0x14
	pop ebx
	pop ebp
	ret
_Z27UI_AddServerToFavoritesListPKcS0__50:
	mov dword [esp], _cstring_exe_badserveradd
	call _Z22UI_SafeTranslateStringPKc
	mov [esp+0x8], eax
	mov dword [esp+0x4], _cstring_s
	mov dword [esp], 0xd
	call _Z10Com_PrintfiPKcz
	mov dword [esp+0x4], _cstring_exe_badserveradd1
	mov dword [esp], _cstring_ui_favorite_mess
	call _Z20Dvar_SetStringByNamePKcS0_
	jmp _Z27UI_AddServerToFavoritesListPKcS0__60
_Z27UI_AddServerToFavoritesListPKcS0__30:
	mov dword [esp], _cstring_exe_favoriteinli
	call _Z22UI_SafeTranslateStringPKc
	mov [esp+0x8], eax
	mov dword [esp+0x4], _cstring_s
	mov dword [esp], 0xd
	call _Z10Com_PrintfiPKcz
	mov dword [esp+0x4], _cstring_exe_favoriteinli1
	mov dword [esp], _cstring_ui_favorite_mess
	call _Z20Dvar_SetStringByNamePKcS0_
	add esp, 0x14
	pop ebx
	pop ebp
	ret
_Z27UI_AddServerToFavoritesListPKcS0__40:
	mov dword [esp], _cstring_exe_favoritelist
	call _Z22UI_SafeTranslateStringPKc
	mov [esp+0x8], eax
	mov dword [esp+0x4], _cstring_s
	mov dword [esp], 0xd
	call _Z10Com_PrintfiPKcz
	mov dword [esp+0x4], _cstring_exe_favoritelist1
	mov dword [esp], _cstring_ui_favorite_mess
	call _Z20Dvar_SetStringByNamePKcS0_
	jmp _Z27UI_AddServerToFavoritesListPKcS0__60


;UI_GetOpenOrCloseMenuOnDvarArgs(char const**, char const*, char*, int, char*, int, char*, int)
_Z31UI_GetOpenOrCloseMenuOnDvarArgsPPKcS0_PciS2_iS2_i:
	push ebp
	mov ebp, esp
	push esi
	push ebx
	sub esp, 0x10
	mov ebx, eax
	mov esi, edx
	mov eax, [ebp+0x8]
	mov [esp+0x8], eax
	mov [esp+0x4], ecx
	mov [esp], ebx
	call _Z12String_ParsePPKcPci
	test eax, eax
	jnz _Z31UI_GetOpenOrCloseMenuOnDvarArgsPPKcS0_PciS2_iS2_i_10
	mov [esp+0x8], esi
	mov dword [esp+0x4], _cstring_s_invalid_dvar_n
	mov dword [esp], 0xd
	call _Z10Com_PrintfiPKcz
	xor eax, eax
	add esp, 0x10
	pop ebx
	pop esi
	pop ebp
	ret
_Z31UI_GetOpenOrCloseMenuOnDvarArgsPPKcS0_PciS2_iS2_i_10:
	mov eax, [ebp+0x10]
	mov [esp+0x8], eax
	mov eax, [ebp+0xc]
	mov [esp+0x4], eax
	mov [esp], ebx
	call _Z12String_ParsePPKcPci
	test eax, eax
	jz _Z31UI_GetOpenOrCloseMenuOnDvarArgsPPKcS0_PciS2_iS2_i_20
	mov eax, [ebp+0x18]
	mov [esp+0x8], eax
	mov eax, [ebp+0x14]
	mov [esp+0x4], eax
	mov [esp], ebx
	call _Z12String_ParsePPKcPci
	test eax, eax
	jz _Z31UI_GetOpenOrCloseMenuOnDvarArgsPPKcS0_PciS2_iS2_i_30
	mov eax, 0x1
	add esp, 0x10
	pop ebx
	pop esi
	pop ebp
	ret
_Z31UI_GetOpenOrCloseMenuOnDvarArgsPPKcS0_PciS2_iS2_i_20:
	mov [esp+0x8], esi
	mov dword [esp+0x4], _cstring_s_invalid_test_v
	mov dword [esp], 0xd
	call _Z10Com_PrintfiPKcz
	xor eax, eax
	add esp, 0x10
	pop ebx
	pop esi
	pop ebp
	ret
_Z31UI_GetOpenOrCloseMenuOnDvarArgsPPKcS0_PciS2_iS2_i_30:
	mov [esp+0x8], esi
	mov dword [esp+0x4], _cstring_s_invalid_menu_n
	mov dword [esp], 0xd
	call _Z10Com_PrintfiPKcz
	xor eax, eax
	add esp, 0x10
	pop ebx
	pop esi
	pop ebp
	ret


;UI_ReadableSize(char*, int, int)
_Z15UI_ReadableSizePcii:
	push ebp
	mov ebp, esp
	push edi
	push esi
	push ebx
	sub esp, 0x3c
	mov [ebp-0x1c], eax
	mov esi, edx
	mov ebx, ecx
	cmp ecx, 0x40000000
	jg _Z15UI_ReadableSizePcii_10
	cmp ecx, 0x100000
	jg _Z15UI_ReadableSizePcii_20
	cmp ecx, 0x400
	jle _Z15UI_ReadableSizePcii_30
	mov dword [esp], _cstring_exe_kilobyte
	call _Z22UI_SafeTranslateStringPKc
	mov [esp+0x10], eax
	sar ebx, 0xa
_Z15UI_ReadableSizePcii_70:
	mov [esp+0xc], ebx
	mov dword [esp+0x8], _cstring_d_s
	mov [esp+0x4], esi
	mov eax, [ebp-0x1c]
	mov [esp], eax
	call _Z11Com_sprintfPciPKcz
	add esp, 0x3c
	pop ebx
	pop esi
	pop edi
	pop ebp
	ret
_Z15UI_ReadableSizePcii_20:
	mov eax, ecx
	sar eax, 0x14
	mov [esp+0xc], eax
	mov dword [esp+0x8], _cstring_d
	mov [esp+0x4], edx
	mov eax, [ebp-0x1c]
	mov [esp], eax
	call _Z11Com_sprintfPciPKcz
	mov dword [esp], _cstring_exe_megabyte
	call _Z22UI_SafeTranslateStringPKc
	mov [esp+0x10], eax
	cld
	mov ecx, 0xffffffff
	xor edx, edx
	mov edi, [ebp-0x1c]
	mov eax, edx
	repne scasb
	not ecx
	lea edx, [ecx-0x1]
	and ebx, 0xfffff
	lea eax, [ebx+ebx*4]
	lea eax, [eax+eax*4]
	shl eax, 0x2
	js _Z15UI_ReadableSizePcii_40
_Z15UI_ReadableSizePcii_80:
	sar eax, 0x14
_Z15UI_ReadableSizePcii_60:
	mov [esp+0xc], eax
	mov dword [esp+0x8], _cstring_02d_s
	sub esi, edx
	mov [esp+0x4], esi
	mov eax, [ebp-0x1c]
	add eax, edx
	mov [esp], eax
	call _Z11Com_sprintfPciPKcz
	add esp, 0x3c
	pop ebx
	pop esi
	pop edi
	pop ebp
	ret
_Z15UI_ReadableSizePcii_10:
	mov eax, ecx
	sar eax, 0x1e
	mov [esp+0xc], eax
	mov dword [esp+0x8], _cstring_d
	mov [esp+0x4], edx
	mov eax, [ebp-0x1c]
	mov [esp], eax
	call _Z11Com_sprintfPciPKcz
	mov dword [esp], _cstring_exe_gigabyte
	call _Z22UI_SafeTranslateStringPKc
	mov [esp+0x10], eax
	cld
	mov ecx, 0xffffffff
	xor edx, edx
	mov edi, [ebp-0x1c]
	mov eax, edx
	repne scasb
	not ecx
	lea edx, [ecx-0x1]
	and ebx, 0x3fffffff
	lea eax, [ebx+ebx*4]
	lea eax, [eax+eax*4]
	shl eax, 0x2
	js _Z15UI_ReadableSizePcii_50
	sar eax, 0x1e
	jmp _Z15UI_ReadableSizePcii_60
_Z15UI_ReadableSizePcii_30:
	mov dword [esp], _cstring_exe_bytes
	call _Z22UI_SafeTranslateStringPKc
	mov [esp+0x10], eax
	jmp _Z15UI_ReadableSizePcii_70
_Z15UI_ReadableSizePcii_50:
	add eax, 0x3fffffff
	sar eax, 0x1e
	jmp _Z15UI_ReadableSizePcii_60
_Z15UI_ReadableSizePcii_40:
	add eax, 0xfffff
	jmp _Z15UI_ReadableSizePcii_80


;UI_GetGameTypesList_FastFile()
_Z28UI_GetGameTypesList_FastFilev:
	push ebp
	mov ebp, esp
	push edi
	push esi
	push ebx
	sub esp, 0x2c
	mov dword [esp+0x4], _cstring_mapsmpgametypes_
	mov dword [esp], 0x1f
	call _Z19DB_FindXAssetHeader10XAssetTypePKc
	test eax, eax
	jz _Z28UI_GetGameTypesList_FastFilev_10
	mov eax, [eax+0x8]
	mov [ebp-0x20], eax
	jmp _Z28UI_GetGameTypesList_FastFilev_20
_Z28UI_GetGameTypesList_FastFilev_40:
	lea eax, [ebp-0x1c]
	mov [esp], eax
	call _Z9Com_ParsePPKc
	mov ebx, [sharedUiInfo+0x114c]
	mov [esp], eax
	call _Z12String_AllocPKc
	mov [ebx*8+sharedUiInfo+0x1154], eax
	mov eax, [sharedUiInfo+0x114c]
	mov edx, [eax*8+sharedUiInfo+0x1154]
	mov eax, [sharedUiInfo+0x1b54]
	mov [edi+eax*8+0xc], edx
_Z28UI_GetGameTypesList_FastFilev_50:
	add dword [sharedUiInfo+0x114c], 0x1
	add dword [sharedUiInfo+0x1b54], 0x1
_Z28UI_GetGameTypesList_FastFilev_20:
	lea eax, [ebp-0x20]
	mov [esp], eax
	call _Z9Com_ParsePPKc
	mov esi, eax
	mov eax, [ebp-0x20]
	test eax, eax
	jz _Z28UI_GetGameTypesList_FastFilev_10
	mov ebx, [sharedUiInfo+0x114c]
	cmp ebx, 0x20
	jz _Z28UI_GetGameTypesList_FastFilev_30
	cmp dword [sharedUiInfo+0x1b54], 0x20
	jz _Z28UI_GetGameTypesList_FastFilev_30
	mov [esp], esi
	call _Z12String_AllocPKc
	mov [ebx*8+sharedUiInfo+0x1150], eax
	mov edi, sharedUiInfo+0x1b50
	mov eax, [sharedUiInfo+0x114c]
	mov edx, [eax*8+sharedUiInfo+0x1150]
	mov eax, [sharedUiInfo+0x1b54]
	mov [edi+eax*8+0x8], edx
	mov [esp+0x4], esi
	mov dword [esp], _cstring_mapsmpgametypess
	call _Z2vaPKcz
	mov edx, useFastFile
	mov edx, [edx]
	mov ecx, _Z22GetMenuBuffer_FastFilePKc
	cmp byte [edx+0xc], 0x0
	mov edx, _Z21GetMenuBuffer_LoadObjPKc
	cmovz ecx, edx
	mov [esp], eax
	call ecx
	mov [ebp-0x1c], eax
	test eax, eax
	jnz _Z28UI_GetGameTypesList_FastFilev_40
	mov edx, [sharedUiInfo+0x114c]
	mov eax, [edx*8+sharedUiInfo+0x1150]
	mov [edx*8+sharedUiInfo+0x1154], eax
	mov eax, [sharedUiInfo+0x114c]
	mov edx, [eax*8+sharedUiInfo+0x1154]
	mov eax, [sharedUiInfo+0x1b54]
	mov [edi+eax*8+0xc], edx
	jmp _Z28UI_GetGameTypesList_FastFilev_50
_Z28UI_GetGameTypesList_FastFilev_30:
	mov dword [esp+0x8], 0x1f
	mov dword [esp+0x4], _cstring_too_many_game_ty
	mov dword [esp], 0xd
	call _Z10Com_PrintfiPKcz
_Z28UI_GetGameTypesList_FastFilev_10:
	add esp, 0x2c
	pop ebx
	pop esi
	pop edi
	pop ebp
	ret


;UI_GetGameTypesList_LoadObj()
_Z27UI_GetGameTypesList_LoadObjv:
	push ebp
	mov ebp, esp
	push edi
	push esi
	push ebx
	sub esp, 0x104c
	mov dword [esp+0x10], 0x1000
	lea edi, [ebp-0x101c]
	mov [esp+0xc], edi
	mov dword [esp+0x8], 0x0
	mov dword [esp+0x4], _cstring_gsc
	mov dword [esp], _cstring_mapsmpgametypes
	call _Z14FS_GetFileListPKcS0_16FsListBehavior_ePci
	mov [ebp-0x1030], eax
	test eax, eax
	jg _Z27UI_GetGameTypesList_LoadObjv_10
_Z27UI_GetGameTypesList_LoadObjv_30:
	add esp, 0x104c
	pop ebx
	pop esi
	pop edi
	pop ebp
	ret
_Z27UI_GetGameTypesList_LoadObjv_10:
	mov esi, edi
	mov dword [ebp-0x102c], 0x0
	jmp _Z27UI_GetGameTypesList_LoadObjv_20
_Z27UI_GetGameTypesList_LoadObjv_40:
	lea esi, [esi+ebx+0x1]
_Z27UI_GetGameTypesList_LoadObjv_80:
	add dword [ebp-0x102c], 0x1
	mov eax, [ebp-0x102c]
	cmp [ebp-0x1030], eax
	jz _Z27UI_GetGameTypesList_LoadObjv_30
_Z27UI_GetGameTypesList_LoadObjv_20:
	cld
	xor eax, eax
	mov ecx, 0xffffffff
	mov edi, esi
	repne scasb
	not ecx
	lea ebx, [ecx-0x1]
	cmp byte [esi], 0x5f
	jz _Z27UI_GetGameTypesList_LoadObjv_40
	mov dword [esp+0x4], _cstring_gsc1
	lea eax, [esi+ebx]
	mov [ebp-0x1034], eax
	sub eax, 0x4
	mov [esp], eax
	call _Z9I_stricmpPKcS0_
	test eax, eax
	jnz _Z27UI_GetGameTypesList_LoadObjv_50
	mov byte [esi+ebx-0x4], 0x0
_Z27UI_GetGameTypesList_LoadObjv_50:
	mov ebx, [sharedUiInfo+0x114c]
	cmp ebx, 0x20
	jz _Z27UI_GetGameTypesList_LoadObjv_60
	cmp dword [sharedUiInfo+0x1b54], 0x20
	jz _Z27UI_GetGameTypesList_LoadObjv_60
	mov [esp], esi
	call _Z12String_AllocPKc
	mov [ebx*8+sharedUiInfo+0x1150], eax
	mov edi, sharedUiInfo+0x1b50
	mov eax, [sharedUiInfo+0x114c]
	mov edx, [eax*8+sharedUiInfo+0x1150]
	mov eax, [sharedUiInfo+0x1b54]
	mov [edi+eax*8+0x8], edx
	mov [esp+0x4], esi
	mov dword [esp], _cstring_mapsmpgametypess
	call _Z2vaPKcz
	mov edx, useFastFile
	mov edx, [edx]
	mov ecx, _Z22GetMenuBuffer_FastFilePKc
	cmp byte [edx+0xc], 0x0
	mov edx, _Z21GetMenuBuffer_LoadObjPKc
	cmovz ecx, edx
	mov [esp], eax
	call ecx
	mov [ebp-0x1c], eax
	test eax, eax
	jz _Z27UI_GetGameTypesList_LoadObjv_70
	lea eax, [ebp-0x1c]
	mov [esp], eax
	call _Z9Com_ParsePPKc
	mov ebx, [sharedUiInfo+0x114c]
	mov [esp], eax
	call _Z12String_AllocPKc
	mov [ebx*8+sharedUiInfo+0x1154], eax
	mov eax, [sharedUiInfo+0x114c]
	mov edx, [eax*8+sharedUiInfo+0x1154]
	mov eax, [sharedUiInfo+0x1b54]
	mov [edi+eax*8+0xc], edx
_Z27UI_GetGameTypesList_LoadObjv_90:
	add dword [sharedUiInfo+0x114c], 0x1
	add dword [sharedUiInfo+0x1b54], 0x1
	mov esi, [ebp-0x1034]
	add esi, 0x1
	jmp _Z27UI_GetGameTypesList_LoadObjv_80
_Z27UI_GetGameTypesList_LoadObjv_70:
	mov edx, [sharedUiInfo+0x114c]
	mov eax, [edx*8+sharedUiInfo+0x1150]
	mov [edx*8+sharedUiInfo+0x1154], eax
	mov eax, [sharedUiInfo+0x114c]
	mov edx, [eax*8+sharedUiInfo+0x1154]
	mov eax, [sharedUiInfo+0x1b54]
	mov [edi+eax*8+0xc], edx
	jmp _Z27UI_GetGameTypesList_LoadObjv_90
_Z27UI_GetGameTypesList_LoadObjv_60:
	mov dword [esp+0x8], 0x1f
	mov dword [esp+0x4], _cstring_too_many_game_ty
	mov dword [esp], 0xd
	call _Z10Com_PrintfiPKcz
	jmp _Z27UI_GetGameTypesList_LoadObjv_30


;UI_StartServerRefresh(int, int)
_Z21UI_StartServerRefreshii:
	push ebp
	mov ebp, esp
	push edi
	push esi
	push ebx
	sub esp, 0x7c
	mov [ebp-0x60], eax
	mov [ebp-0x64], edx
	lea eax, [ebp-0x54]
	mov [esp], eax
	call _Z12Com_RealTimeP7qtime_s
	mov eax, [ui_netSource]
	mov eax, [eax+0xc]
	mov [esp+0xc], eax
	mov dword [esp+0x8], _cstring_ui_lastserverref
	mov dword [esp+0x4], 0x18
	lea eax, [ebp-0x30]
	mov [esp], eax
	call snprintf
	mov ebx, [ebp-0x50]
	mov esi, [ebp-0x4c]
	mov edi, [ebp-0x40]
	add edi, 0x76c
	mov edx, [ebp-0x48]
	mov [ebp-0x5c], edx
	mov eax, [ebp-0x44]
	mov eax, [eax*4+MonthAbbrev]
	mov [esp], eax
	call _Z22UI_SafeTranslateStringPKc
	mov [esp+0x14], ebx
	mov [esp+0x10], esi
	mov [esp+0xc], edi
	mov edx, [ebp-0x5c]
	mov [esp+0x8], edx
	mov [esp+0x4], eax
	mov dword [esp], _cstring_s_i_i___i02i
	call _Z2vaPKcz
	mov [esp+0x4], eax
	lea eax, [ebp-0x30]
	mov [esp], eax
	call _Z20Dvar_SetStringByNamePKcS0_
	mov eax, [ebp-0x64]
	test eax, eax
	jnz _Z21UI_StartServerRefreshii_10
	mov eax, [ui_netSource]
	mov eax, [eax+0xc]
	mov [esp], eax
	call _Z14LAN_ResetPingsi
	mov dword [sharedUiInfo+0x72f0], 0x1
	mov eax, [uiInfoArray+0x8]
	add eax, 0x3e8
	mov [sharedUiInfo+0x72dc], eax
_Z21UI_StartServerRefreshii_30:
	add esp, 0x7c
	pop ebx
	pop esi
	pop edi
	pop ebp
	ret
_Z21UI_StartServerRefreshii_10:
	mov dword [sharedUiInfo+0x72f0], 0x1
	mov eax, [uiInfoArray+0x8]
	add eax, 0x3e8
	mov [sharedUiInfo+0x1ab84], eax
	mov dword [sharedUiInfo+0x1ab78], 0x0
	mov dword [sharedUiInfo+0x1ab80], 0x0
	mov eax, [ui_netSource]
	mov eax, [eax+0xc]
	mov [esp], eax
	call _Z18LAN_GetServerCounti
	mov [sharedUiInfo+0x1ab7c], eax
	mov dword [esp+0x8], 0x1
	mov dword [esp+0x4], 0xffffffff
	mov eax, [ui_netSource]
	mov eax, [eax+0xc]
	mov [esp], eax
	call _Z19LAN_MarkServerDirtyiii
	mov eax, [ui_netSource]
	mov eax, [eax+0xc]
	mov [esp], eax
	call _Z14LAN_ResetPingsi
	mov edx, [ui_netSource]
	mov eax, [edx+0xc]
	test eax, eax
	jz _Z21UI_StartServerRefreshii_20
	mov eax, [uiInfoArray+0x8]
	add eax, 0x1388
	mov [sharedUiInfo+0x72dc], eax
	cmp dword [edx+0xc], 0x1
	jnz _Z21UI_StartServerRefreshii_30
	mov dword [esp], _cstring_debug_protocol
	call _Z21Dvar_GetVariantStringPKc
	cmp byte [eax], 0x0
	jz _Z21UI_StartServerRefreshii_40
	mov [esp+0x8], eax
	mov dword [esp+0x4], 0x0
	mov dword [esp], _cstring_globalservers_d_
_Z21UI_StartServerRefreshii_50:
	call _Z2vaPKcz
	mov ebx, eax
	mov edx, [ebp-0x60]
	mov [esp], edx
	call _Z31CL_ControllerIndexFromClientNumi
	mov [esp+0x8], ebx
	mov [esp+0x4], eax
	mov eax, [ebp-0x60]
	mov [esp], eax
	call _Z24Cmd_ExecuteSingleCommandiiPKc
	jmp _Z21UI_StartServerRefreshii_30
_Z21UI_StartServerRefreshii_20:
	mov edx, [ebp-0x60]
	mov [esp], edx
	call _Z31CL_ControllerIndexFromClientNumi
	mov dword [esp+0x8], _cstring_localservers
	mov [esp+0x4], eax
	mov eax, [ebp-0x60]
	mov [esp], eax
	call _Z24Cmd_ExecuteSingleCommandiiPKc
	mov eax, [uiInfoArray+0x8]
	add eax, 0x3e8
	mov [sharedUiInfo+0x72dc], eax
	add esp, 0x7c
	pop ebx
	pop esi
	pop edi
	pop ebp
	ret
_Z21UI_StartServerRefreshii_40:
	mov dword [esp+0x8], 0x6
	mov dword [esp+0x4], 0x0
	mov dword [esp], _cstring_globalservers_d_1
	jmp _Z21UI_StartServerRefreshii_50


;UI_BuildServerDisplayList(uiInfo_s*, int)
_Z25UI_BuildServerDisplayListP8uiInfo_si:
	push ebp
	mov ebp, esp
	push edi
	push esi
	push ebx
	sub esp, 0x43c
	mov ebx, [ebp+0xc]
	test ebx, ebx
	jnz _Z25UI_BuildServerDisplayListP8uiInfo_si_10
	mov edx, [ebp+0x8]
	mov eax, [edx+0x8]
	cmp eax, [sharedUiInfo+0x1ab84]
	jle _Z25UI_BuildServerDisplayListP8uiInfo_si_20
_Z25UI_BuildServerDisplayListP8uiInfo_si_110:
	xor ebx, ebx
_Z25UI_BuildServerDisplayListP8uiInfo_si_100:
	mov dword [esp], _cstring_cl_motdstring
	call _Z14Dvar_GetStringPKc
	mov dword [esp+0x8], 0x400
	mov [esp+0x4], eax
	mov dword [esp], sharedUiInfo+0x1aba4
	call _Z10I_strncpyzPcPKci
	xor esi, esi
	cld
	mov ecx, 0xffffffff
	mov edi, sharedUiInfo+0x1aba4
	mov eax, esi
	repne scasb
	not ecx
	mov eax, ecx
	sub eax, 0x1
	jz _Z25UI_BuildServerDisplayListP8uiInfo_si_30
_Z25UI_BuildServerDisplayListP8uiInfo_si_120:
	cmp eax, [sharedUiInfo+0x1ab8c]
	jz _Z25UI_BuildServerDisplayListP8uiInfo_si_40
	mov [sharedUiInfo+0x1ab8c], eax
	mov dword [sharedUiInfo+0x1ab90], 0xffffffff
_Z25UI_BuildServerDisplayListP8uiInfo_si_40:
	test ebx, ebx
	jnz _Z25UI_BuildServerDisplayListP8uiInfo_si_50
_Z25UI_BuildServerDisplayListP8uiInfo_si_140:
	mov eax, [ui_netSource]
	mov eax, [eax+0xc]
	mov [esp], eax
	call _Z18LAN_GetServerCounti
	mov [ebp-0x424], eax
	mov eax, [ui_netSource]
	mov eax, [eax+0xc]
	mov [esp], eax
	call _Z22LAN_WaitServerResponsei
	test eax, eax
	jnz _Z25UI_BuildServerDisplayListP8uiInfo_si_60
	mov edx, [ui_netSource]
	mov eax, [edx+0xc]
	test eax, eax
	jnz _Z25UI_BuildServerDisplayListP8uiInfo_si_70
	mov eax, [ebp-0x424]
	test eax, eax
	jz _Z25UI_BuildServerDisplayListP8uiInfo_si_80
_Z25UI_BuildServerDisplayListP8uiInfo_si_70:
	mov dword [esp+0xc], _Z22UI_ServersQsortComparePKvS0_
	mov dword [esp+0x8], 0x4
	mov eax, [sharedUiInfo+0x1ab78]
	mov [esp+0x4], eax
	mov dword [esp], sharedUiInfo+0x72f8
	call qsort
	mov eax, [ebp-0x424]
	test eax, eax
	jg _Z25UI_BuildServerDisplayListP8uiInfo_si_90
_Z25UI_BuildServerDisplayListP8uiInfo_si_160:
	mov edx, [ebp+0x8]
	mov eax, [edx+0x8]
	mov [sharedUiInfo+0x72dc], eax
_Z25UI_BuildServerDisplayListP8uiInfo_si_20:
	add esp, 0x43c
	pop ebx
	pop esi
	pop edi
	pop ebp
	ret
_Z25UI_BuildServerDisplayListP8uiInfo_si_10:
	cmp ebx, 0x2
	jnz _Z25UI_BuildServerDisplayListP8uiInfo_si_100
	jmp _Z25UI_BuildServerDisplayListP8uiInfo_si_110
_Z25UI_BuildServerDisplayListP8uiInfo_si_60:
	mov edx, [ui_netSource]
_Z25UI_BuildServerDisplayListP8uiInfo_si_80:
	mov dword [sharedUiInfo+0x1ab78], 0x0
	mov dword [sharedUiInfo+0x1ab80], 0x0
	mov eax, [edx+0xc]
	mov [esp], eax
	call _Z18LAN_GetServerCounti
	mov [sharedUiInfo+0x1ab7c], eax
	mov edx, [ebp+0x8]
	mov eax, [edx+0x8]
	add eax, 0x1f4
	mov [sharedUiInfo+0x1ab84], eax
	add esp, 0x43c
	pop ebx
	pop esi
	pop edi
	pop ebp
	ret
_Z25UI_BuildServerDisplayListP8uiInfo_si_30:
	mov dword [esp], _cstring_exe_cod_multipla
	call _Z22UI_SafeTranslateStringPKc
	mov dword [esp+0x8], _cstring_17
	mov [esp+0x4], eax
	mov dword [esp], _cstring_s__s
	call _Z2vaPKcz
	mov [esp+0x4], eax
	mov dword [esp], sharedUiInfo+0x1aba4
	call strcpy
	cld
	mov ecx, 0xffffffff
	mov edi, sharedUiInfo+0x1aba4
	mov eax, esi
	repne scasb
	not ecx
	lea eax, [ecx-0x1]
	jmp _Z25UI_BuildServerDisplayListP8uiInfo_si_120
_Z25UI_BuildServerDisplayListP8uiInfo_si_50:
	mov dword [_ZZ25UI_BuildServerDisplayListP8uiInfo_siE8numclean], 0x0
	mov dword [sharedUiInfo+0x1ab78], 0x0
	mov dword [sharedUiInfo+0x1ab80], 0x0
	mov eax, [ui_netSource]
	mov eax, [eax+0xc]
	mov [esp], eax
	call _Z18LAN_GetServerCounti
	mov [sharedUiInfo+0x1ab7c], eax
	mov eax, [sharedUiInfo+0x72f4]
	test eax, eax
	js _Z25UI_BuildServerDisplayListP8uiInfo_si_130
	mov dword [esp+0x10], 0x0
	mov dword [esp+0xc], 0x0
	mov dword [esp+0x8], 0x2
	mov dword [esp+0x4], 0x0
	mov edx, [ebp+0x8]
	mov [esp], edx
	call _Z23Menu_SetFeederSelectionP9UiContextP9menuDef_tiiPKc
_Z25UI_BuildServerDisplayListP8uiInfo_si_130:
	mov dword [esp+0x8], 0x1
	mov dword [esp+0x4], 0xffffffff
	mov eax, [ui_netSource]
	mov eax, [eax+0xc]
	mov [esp], eax
	call _Z19LAN_MarkServerDirtyiii
	jmp _Z25UI_BuildServerDisplayListP8uiInfo_si_140
_Z25UI_BuildServerDisplayListP8uiInfo_si_90:
	mov dword [ebp-0x428], 0x0
	mov eax, [ebp-0x428]
	jmp _Z25UI_BuildServerDisplayListP8uiInfo_si_150
_Z25UI_BuildServerDisplayListP8uiInfo_si_170:
	add dword [ebp-0x428], 0x1
	mov edx, [ebp-0x428]
	cmp [ebp-0x424], edx
	jz _Z25UI_BuildServerDisplayListP8uiInfo_si_160
	mov eax, edx
_Z25UI_BuildServerDisplayListP8uiInfo_si_150:
	mov [esp+0x4], eax
	mov eax, [ui_netSource]
	mov eax, [eax+0xc]
	mov [esp], eax
	call _Z17LAN_ServerIsDirtyii
	test eax, eax
	jz _Z25UI_BuildServerDisplayListP8uiInfo_si_170
	mov edx, [ebp-0x428]
	mov [esp+0x4], edx
	mov eax, [ui_netSource]
	mov eax, [eax+0xc]
	mov [esp], eax
	call _Z17LAN_GetServerPingii
	mov [ebp-0x420], eax
	test eax, eax
	jle _Z25UI_BuildServerDisplayListP8uiInfo_si_180
	mov edx, [ui_netSource]
_Z25UI_BuildServerDisplayListP8uiInfo_si_470:
	mov dword [esp+0xc], 0x400
	lea eax, [ebp-0x418]
	mov [esp+0x8], eax
	mov eax, [ebp-0x428]
	mov [esp+0x4], eax
	mov eax, [edx+0xc]
	mov [esp], eax
	call _Z17LAN_GetServerInfoiiPci
	mov dword [esp+0x4], _cstring_clients
	lea edx, [ebp-0x418]
	mov [esp], edx
	call _Z16Info_ValueForKeyPKcS0_
	mov [esp], eax
	call atoi
	mov ebx, eax
	add [sharedUiInfo+0x1ab80], eax
	mov dword [esp+0x4], _cstring_addr
	lea eax, [ebp-0x418]
	mov [esp], eax
	call _Z16Info_ValueForKeyPKcS0_
	mov dword [esp+0x8], 0xf
	mov dword [esp+0x4], _cstring_000000000000
	mov [esp], eax
	call _Z10I_strnicmpPKcS0_i
	test eax, eax
	jz _Z25UI_BuildServerDisplayListP8uiInfo_si_190
	mov eax, [ebp-0x420]
	test eax, eax
	jle _Z25UI_BuildServerDisplayListP8uiInfo_si_200
_Z25UI_BuildServerDisplayListP8uiInfo_si_500:
	mov eax, [ui_browserShowEmpty]
	cmp byte [eax+0xc], 0x0
	jnz _Z25UI_BuildServerDisplayListP8uiInfo_si_210
	test ebx, ebx
	jz _Z25UI_BuildServerDisplayListP8uiInfo_si_220
_Z25UI_BuildServerDisplayListP8uiInfo_si_210:
	mov eax, [ui_browserShowFull]
	cmp byte [eax+0xc], 0x0
	jz _Z25UI_BuildServerDisplayListP8uiInfo_si_230
_Z25UI_BuildServerDisplayListP8uiInfo_si_510:
	mov eax, [ui_browserShowPassword]
	mov eax, [eax+0xc]
	test eax, eax
	js _Z25UI_BuildServerDisplayListP8uiInfo_si_240
	mov dword [esp+0x4], _cstring_pswrd
	lea edx, [ebp-0x418]
	mov [esp], edx
	call _Z16Info_ValueForKeyPKcS0_
	mov [esp], eax
	call atoi
	mov edx, [ui_browserShowPassword]
	cmp eax, [edx+0xc]
	jz _Z25UI_BuildServerDisplayListP8uiInfo_si_240
_Z25UI_BuildServerDisplayListP8uiInfo_si_220:
	mov dword [esp+0x8], 0x0
	mov eax, [ebp-0x428]
	mov [esp+0x4], eax
	mov eax, [ui_netSource]
	mov eax, [eax+0xc]
	mov [esp], eax
	call _Z19LAN_MarkServerDirtyiii
	jmp _Z25UI_BuildServerDisplayListP8uiInfo_si_170
_Z25UI_BuildServerDisplayListP8uiInfo_si_240:
	mov eax, [ui_browserShowPure]
	cmp byte [eax+0xc], 0x0
	jnz _Z25UI_BuildServerDisplayListP8uiInfo_si_250
_Z25UI_BuildServerDisplayListP8uiInfo_si_480:
	mov eax, [ui_browserShowDedicated]
	cmp byte [eax+0xc], 0x0
	jnz _Z25UI_BuildServerDisplayListP8uiInfo_si_260
_Z25UI_BuildServerDisplayListP8uiInfo_si_490:
	mov eax, [ui_browserMod]
	mov eax, [eax+0xc]
	test eax, eax
	js _Z25UI_BuildServerDisplayListP8uiInfo_si_270
	mov dword [esp+0x4], _cstring_mod
	lea edx, [ebp-0x418]
	mov [esp], edx
	call _Z16Info_ValueForKeyPKcS0_
	mov [esp], eax
	call atoi
	mov edx, [ui_browserMod]
	cmp eax, [edx+0xc]
	jnz _Z25UI_BuildServerDisplayListP8uiInfo_si_220
_Z25UI_BuildServerDisplayListP8uiInfo_si_270:
	mov eax, [ui_browserFriendlyfire]
	mov edi, [eax+0xc]
	test edi, edi
	js _Z25UI_BuildServerDisplayListP8uiInfo_si_280
	mov dword [esp+0x4], _cstring_ff
	lea edx, [ebp-0x418]
	mov [esp], edx
	call _Z16Info_ValueForKeyPKcS0_
	mov [esp], eax
	call atoi
	mov edx, [ui_browserFriendlyfire]
	cmp eax, [edx+0xc]
	jnz _Z25UI_BuildServerDisplayListP8uiInfo_si_220
_Z25UI_BuildServerDisplayListP8uiInfo_si_280:
	mov eax, [ui_browserKillcam]
	mov esi, [eax+0xc]
	test esi, esi
	js _Z25UI_BuildServerDisplayListP8uiInfo_si_290
	mov dword [esp+0x4], _cstring_kc
	lea edx, [ebp-0x418]
	mov [esp], edx
	call _Z16Info_ValueForKeyPKcS0_
	mov [esp], eax
	call atoi
	mov edx, [ui_browserKillcam]
	cmp eax, [edx+0xc]
	jnz _Z25UI_BuildServerDisplayListP8uiInfo_si_220
_Z25UI_BuildServerDisplayListP8uiInfo_si_290:
	mov eax, [ui_browserHardcore]
	mov ebx, [eax+0xc]
	test ebx, ebx
	js _Z25UI_BuildServerDisplayListP8uiInfo_si_300
	mov dword [esp+0x4], _cstring_hc
	lea edx, [ebp-0x418]
	mov [esp], edx
	call _Z16Info_ValueForKeyPKcS0_
	mov [esp], eax
	call atoi
	mov edx, [ui_browserHardcore]
	cmp eax, [edx+0xc]
	jnz _Z25UI_BuildServerDisplayListP8uiInfo_si_220
_Z25UI_BuildServerDisplayListP8uiInfo_si_300:
	mov eax, [ui_browserOldSchool]
	mov ecx, [eax+0xc]
	test ecx, ecx
	js _Z25UI_BuildServerDisplayListP8uiInfo_si_310
	mov dword [esp+0x4], _cstring_od
	lea edx, [ebp-0x418]
	mov [esp], edx
	call _Z16Info_ValueForKeyPKcS0_
	mov [esp], eax
	call atoi
	mov edx, [ui_browserOldSchool]
	cmp eax, [edx+0xc]
	jnz _Z25UI_BuildServerDisplayListP8uiInfo_si_220
_Z25UI_BuildServerDisplayListP8uiInfo_si_310:
	mov eax, [ui_browserShowPunkBuster]
	mov edx, [eax+0xc]
	test edx, edx
	js _Z25UI_BuildServerDisplayListP8uiInfo_si_320
	mov dword [esp+0x4], _cstring_pb
	lea edx, [ebp-0x418]
	mov [esp], edx
	call _Z16Info_ValueForKeyPKcS0_
	mov [esp], eax
	call atoi
	mov edx, [ui_browserShowPunkBuster]
	cmp eax, [edx+0xc]
	jnz _Z25UI_BuildServerDisplayListP8uiInfo_si_220
_Z25UI_BuildServerDisplayListP8uiInfo_si_320:
	mov eax, [ui_joinGameType]
	mov edx, [eax+0xc]
	mov eax, [edx*8+sharedUiInfo+0x1b5c]
	cmp byte [eax], 0x0
	jnz _Z25UI_BuildServerDisplayListP8uiInfo_si_330
_Z25UI_BuildServerDisplayListP8uiInfo_si_600:
	mov eax, [ui_serverFilterType]
	test eax, eax
	jle _Z25UI_BuildServerDisplayListP8uiInfo_si_340
	mov ebx, [eax*8+serverFilters+0x4]
	mov dword [esp+0x4], _cstring_game
	lea edx, [ebp-0x418]
	mov [esp], edx
	call _Z16Info_ValueForKeyPKcS0_
	mov [esp+0x4], ebx
	mov [esp], eax
	call _Z9I_stricmpPKcS0_
	test eax, eax
	jnz _Z25UI_BuildServerDisplayListP8uiInfo_si_220
_Z25UI_BuildServerDisplayListP8uiInfo_si_340:
	mov edx, [ui_netSource]
	cmp dword [edx+0xc], 0x2
	jnz _Z25UI_BuildServerDisplayListP8uiInfo_si_350
	mov ecx, [sharedUiInfo+0x1ab78]
	test ecx, ecx
	jle _Z25UI_BuildServerDisplayListP8uiInfo_si_360
	mov eax, [ebp-0x428]
	cmp eax, [sharedUiInfo+0x72f8]
	jz _Z25UI_BuildServerDisplayListP8uiInfo_si_370
	xor esi, esi
	mov ebx, sharedUiInfo
_Z25UI_BuildServerDisplayListP8uiInfo_si_380:
	add esi, 0x1
	cmp ecx, esi
	jz _Z25UI_BuildServerDisplayListP8uiInfo_si_360
	mov eax, [ebx+0x72fc]
	add ebx, 0x4
	cmp [ebp-0x428], eax
	jnz _Z25UI_BuildServerDisplayListP8uiInfo_si_380
_Z25UI_BuildServerDisplayListP8uiInfo_si_610:
	lea eax, [ecx-0x1]
	mov [sharedUiInfo+0x1ab78], eax
	cmp esi, eax
	jge _Z25UI_BuildServerDisplayListP8uiInfo_si_390
	lea eax, [esi*4+0x72e4]
	lea ecx, [eax+sharedUiInfo+0x18]
	mov ebx, esi
	lea esi, [esi*4+sharedUiInfo+0x72f8]
	sub esi, ecx
_Z25UI_BuildServerDisplayListP8uiInfo_si_400:
	add ebx, 0x1
	mov eax, [ecx]
	mov [esi+ecx], eax
	add ecx, 0x4
	cmp [sharedUiInfo+0x1ab78], ebx
	jg _Z25UI_BuildServerDisplayListP8uiInfo_si_400
_Z25UI_BuildServerDisplayListP8uiInfo_si_350:
	mov ecx, [sharedUiInfo+0x1ab78]
_Z25UI_BuildServerDisplayListP8uiInfo_si_360:
	mov esi, ecx
	test ecx, ecx
	jle _Z25UI_BuildServerDisplayListP8uiInfo_si_410
	mov dword [ebp-0x41c], 0x0
	jmp _Z25UI_BuildServerDisplayListP8uiInfo_si_420
_Z25UI_BuildServerDisplayListP8uiInfo_si_450:
	sub esi, ebx
	mov [ebp-0x41c], edi
_Z25UI_BuildServerDisplayListP8uiInfo_si_460:
	test ebx, ebx
	jle _Z25UI_BuildServerDisplayListP8uiInfo_si_430
	mov edx, [ui_netSource]
_Z25UI_BuildServerDisplayListP8uiInfo_si_420:
	mov ebx, esi
	sar ebx, 1
	mov edi, [ebp-0x41c]
	add edi, ebx
	mov eax, [edi*4+sharedUiInfo+0x72f8]
	mov [esp+0x10], eax
	mov eax, [ebp-0x428]
	mov [esp+0xc], eax
	mov eax, [sharedUiInfo+0x72e8]
	mov [esp+0x8], eax
	mov eax, [sharedUiInfo+0x72e4]
	mov [esp+0x4], eax
	mov eax, [edx+0xc]
	mov [esp], eax
	call _Z18LAN_CompareServersiiiii
	mov edx, eax
	cmp eax, 0x0
	jz _Z25UI_BuildServerDisplayListP8uiInfo_si_440
	jg _Z25UI_BuildServerDisplayListP8uiInfo_si_450
	sub esi, ebx
	jmp _Z25UI_BuildServerDisplayListP8uiInfo_si_460
_Z25UI_BuildServerDisplayListP8uiInfo_si_180:
	mov edx, [ui_netSource]
	cmp dword [edx+0xc], 0x2
	jnz _Z25UI_BuildServerDisplayListP8uiInfo_si_170
	jmp _Z25UI_BuildServerDisplayListP8uiInfo_si_470
_Z25UI_BuildServerDisplayListP8uiInfo_si_190:
	mov dword [esp+0x8], 0x0
	mov edx, [ebp-0x428]
	mov [esp+0x4], edx
	mov eax, [ui_netSource]
	mov eax, [eax+0xc]
	mov [esp], eax
	call _Z19LAN_MarkServerDirtyiii
	jmp _Z25UI_BuildServerDisplayListP8uiInfo_si_170
_Z25UI_BuildServerDisplayListP8uiInfo_si_250:
	mov dword [esp+0x4], _cstring_pure
	lea edx, [ebp-0x418]
	mov [esp], edx
	call _Z16Info_ValueForKeyPKcS0_
	mov [esp], eax
	call atoi
	test eax, eax
	jnz _Z25UI_BuildServerDisplayListP8uiInfo_si_480
	jmp _Z25UI_BuildServerDisplayListP8uiInfo_si_220
_Z25UI_BuildServerDisplayListP8uiInfo_si_260:
	mov dword [esp+0x4], _cstring_hw
	lea edx, [ebp-0x418]
	mov [esp], edx
	call _Z16Info_ValueForKeyPKcS0_
	mov [esp], eax
	call atoi
	sub eax, 0x1
	cmp eax, 0x2
	jbe _Z25UI_BuildServerDisplayListP8uiInfo_si_490
	jmp _Z25UI_BuildServerDisplayListP8uiInfo_si_220
_Z25UI_BuildServerDisplayListP8uiInfo_si_200:
	mov edx, [ui_netSource]
	cmp dword [edx+0xc], 0x2
	jnz _Z25UI_BuildServerDisplayListP8uiInfo_si_350
	mov edx, [ebp-0x428]
	mov [esp+0x4], edx
	mov dword [esp], 0x2
	call _Z19LAN_ServerInfoValidii
	test al, al
	jz _Z25UI_BuildServerDisplayListP8uiInfo_si_340
	jmp _Z25UI_BuildServerDisplayListP8uiInfo_si_500
_Z25UI_BuildServerDisplayListP8uiInfo_si_230:
	mov dword [esp+0x4], _cstring_sv_maxclients
	lea edx, [ebp-0x418]
	mov [esp], edx
	call _Z16Info_ValueForKeyPKcS0_
	mov [esp], eax
	call atoi
	cmp ebx, eax
	jnz _Z25UI_BuildServerDisplayListP8uiInfo_si_510
	jmp _Z25UI_BuildServerDisplayListP8uiInfo_si_220
_Z25UI_BuildServerDisplayListP8uiInfo_si_430:
	mov eax, [ebp-0x41c]
	add eax, 0x1
	sub edx, 0x1
	cmovl eax, [ebp-0x41c]
	mov [ebp-0x41c], eax
	test eax, eax
	js _Z25UI_BuildServerDisplayListP8uiInfo_si_520
	mov ecx, [sharedUiInfo+0x1ab78]
_Z25UI_BuildServerDisplayListP8uiInfo_si_560:
	cmp [ebp-0x41c], ecx
	jg _Z25UI_BuildServerDisplayListP8uiInfo_si_520
	mov eax, [sharedUiInfo+0x72f4]
	cmp [ebp-0x41c], eax
	jg _Z25UI_BuildServerDisplayListP8uiInfo_si_530
	test ecx, ecx
	jz _Z25UI_BuildServerDisplayListP8uiInfo_si_530
	add eax, 0x1
	mov [sharedUiInfo+0x72f4], eax
_Z25UI_BuildServerDisplayListP8uiInfo_si_530:
	lea ebx, [ecx+0x1]
	mov [sharedUiInfo+0x1ab78], ebx
	cmp [ebp-0x41c], ebx
	jge _Z25UI_BuildServerDisplayListP8uiInfo_si_540
	lea eax, [ecx*4+0x72e0]
	lea edx, [eax+sharedUiInfo+0x18]
	mov ecx, ebx
	lea ebx, [ebx*4+sharedUiInfo+0x72f8]
	sub ebx, edx
_Z25UI_BuildServerDisplayListP8uiInfo_si_550:
	sub ecx, 0x1
	mov eax, [edx]
	mov [ebx+edx], eax
	sub edx, 0x4
	cmp [ebp-0x41c], ecx
	jl _Z25UI_BuildServerDisplayListP8uiInfo_si_550
_Z25UI_BuildServerDisplayListP8uiInfo_si_540:
	mov edx, [ebp-0x428]
	mov eax, [ebp-0x41c]
	mov [eax*4+sharedUiInfo+0x72f8], edx
_Z25UI_BuildServerDisplayListP8uiInfo_si_520:
	mov eax, [ebp-0x420]
	test eax, eax
	jle _Z25UI_BuildServerDisplayListP8uiInfo_si_170
	mov dword [esp+0x8], 0x0
	mov eax, [ebp-0x428]
	mov [esp+0x4], eax
	mov eax, [ui_netSource]
	mov eax, [eax+0xc]
	mov [esp], eax
	call _Z19LAN_MarkServerDirtyiii
	add dword [_ZZ25UI_BuildServerDisplayListP8uiInfo_siE8numclean], 0x1
	jmp _Z25UI_BuildServerDisplayListP8uiInfo_si_170
_Z25UI_BuildServerDisplayListP8uiInfo_si_410:
	mov dword [ebp-0x41c], 0x0
	jmp _Z25UI_BuildServerDisplayListP8uiInfo_si_560
_Z25UI_BuildServerDisplayListP8uiInfo_si_440:
	test edi, edi
	js _Z25UI_BuildServerDisplayListP8uiInfo_si_520
	mov ecx, [sharedUiInfo+0x1ab78]
	cmp edi, ecx
	jg _Z25UI_BuildServerDisplayListP8uiInfo_si_520
	mov eax, [sharedUiInfo+0x72f4]
	cmp edi, eax
	jg _Z25UI_BuildServerDisplayListP8uiInfo_si_570
	test ecx, ecx
	jz _Z25UI_BuildServerDisplayListP8uiInfo_si_570
	add eax, 0x1
	mov [sharedUiInfo+0x72f4], eax
_Z25UI_BuildServerDisplayListP8uiInfo_si_570:
	lea ebx, [ecx+0x1]
	mov [sharedUiInfo+0x1ab78], ebx
	cmp edi, ebx
	jge _Z25UI_BuildServerDisplayListP8uiInfo_si_580
	lea eax, [ecx*4+0x72e0]
	lea edx, [eax+sharedUiInfo+0x18]
	mov ecx, ebx
	lea ebx, [ebx*4+sharedUiInfo+0x72f8]
	sub ebx, edx
_Z25UI_BuildServerDisplayListP8uiInfo_si_590:
	sub ecx, 0x1
	mov eax, [edx]
	mov [ebx+edx], eax
	sub edx, 0x4
	cmp edi, ecx
	jl _Z25UI_BuildServerDisplayListP8uiInfo_si_590
_Z25UI_BuildServerDisplayListP8uiInfo_si_580:
	mov eax, sharedUiInfo+0x72e0
	mov edx, [ebp-0x428]
	mov [eax+edi*4+0x18], edx
	jmp _Z25UI_BuildServerDisplayListP8uiInfo_si_520
_Z25UI_BuildServerDisplayListP8uiInfo_si_330:
	mov ebx, [edx*8+sharedUiInfo+0x1b58]
	mov dword [esp+0x4], _cstring_gametype
	lea edx, [ebp-0x418]
	mov [esp], edx
	call _Z16Info_ValueForKeyPKcS0_
	mov [esp+0x4], ebx
	mov [esp], eax
	call _Z9I_stricmpPKcS0_
	test eax, eax
	jz _Z25UI_BuildServerDisplayListP8uiInfo_si_600
	jmp _Z25UI_BuildServerDisplayListP8uiInfo_si_220
_Z25UI_BuildServerDisplayListP8uiInfo_si_390:
	mov ecx, eax
	jmp _Z25UI_BuildServerDisplayListP8uiInfo_si_360
_Z25UI_BuildServerDisplayListP8uiInfo_si_370:
	xor esi, esi
	jmp _Z25UI_BuildServerDisplayListP8uiInfo_si_610


;UI_GetServerStatusInfo(char*, serverStatusInfo_t*)
_Z22UI_GetServerStatusInfoPcP18serverStatusInfo_t:
	push ebp
	mov ebp, esp
	push edi
	push esi
	push ebx
	sub esp, 0x4c
	mov ebx, eax
	mov [ebp-0x48], edx
	test edx, edx
	jz _Z22UI_GetServerStatusInfoPcP18serverStatusInfo_t_10
	mov dword [esp+0x8], 0xd04
	mov dword [esp+0x4], 0x0
	mov [esp], edx
	call memset
	mov edx, [ebp-0x48]
	add edx, 0x840
	mov [ebp-0x44], edx
	mov dword [esp+0x8], 0x400
	mov [esp+0x4], edx
	mov [esp], ebx
	call _Z19LAN_GetServerStatusPcS_i
	test eax, eax
	jnz _Z22UI_GetServerStatusInfoPcP18serverStatusInfo_t_20
	add esp, 0x4c
	pop ebx
	pop esi
	pop edi
	pop ebp
	ret
_Z22UI_GetServerStatusInfoPcP18serverStatusInfo_t_20:
	mov dword [esp+0x8], 0x40
	mov [esp+0x4], ebx
	mov ecx, [ebp-0x48]
	mov [esp], ecx
	call _Z10I_strncpyzPcPKci
	mov ebx, [ebp-0x48]
	mov dword [ebx+0x40], _cstring_address
	mov dword [ebx+0x44], _cstring_null
	mov dword [ebx+0x48], _cstring_null
	mov [ebx+0x4c], ebx
	mov dword [ebx+0xd00], 0x1
	mov eax, [ebp-0x44]
	test eax, eax
	jz _Z22UI_GetServerStatusInfoPcP18serverStatusInfo_t_30
	cmp byte [ebx+0x840], 0x0
	jnz _Z22UI_GetServerStatusInfoPcP18serverStatusInfo_t_40
	mov ebx, 0x1
_Z22UI_GetServerStatusInfoPcP18serverStatusInfo_t_110:
	cmp ebx, 0x7c
	jg _Z22UI_GetServerStatusInfoPcP18serverStatusInfo_t_50
	mov eax, ebx
	shl eax, 0x4
	add eax, [ebp-0x48]
	mov dword [eax+0x40], _cstring_null
	mov dword [eax+0x44], _cstring_null
	mov dword [eax+0x48], _cstring_null
	mov dword [eax+0x4c], _cstring_null
	mov eax, ebx
	shl eax, 0x4
	mov edx, [ebp-0x48]
	lea eax, [eax+edx+0x10]
	mov dword [eax+0x40], _cstring_exe_sv_info_num
	mov dword [eax+0x44], _cstring_exe_sv_info_scor
	mov dword [eax+0x48], _cstring_exe_sv_info_ping
	mov dword [eax+0x4c], _cstring_exe_sv_info_name
	lea eax, [ebx+0x2]
	mov [edx+0xd00], eax
	mov eax, [ebp-0x44]
	test eax, eax
	jz _Z22UI_GetServerStatusInfoPcP18serverStatusInfo_t_50
	mov ecx, [ebp-0x44]
	movzx eax, byte [ecx]
	test al, al
	jz _Z22UI_GetServerStatusInfoPcP18serverStatusInfo_t_50
	mov dword [ebp-0x40], 0x0
	mov dword [ebp-0x3c], 0x0
	jmp _Z22UI_GetServerStatusInfoPcP18serverStatusInfo_t_60
_Z22UI_GetServerStatusInfoPcP18serverStatusInfo_t_70:
	mov ebx, [ebp-0x44]
	mov byte [ebx], 0x0
	add ebx, 0x1
	mov [ebp-0x44], ebx
	jz _Z22UI_GetServerStatusInfoPcP18serverStatusInfo_t_50
	mov eax, ebx
_Z22UI_GetServerStatusInfoPcP18serverStatusInfo_t_80:
	mov dword [esp+0x4], 0x20
	mov [esp], eax
	call strchr
	test eax, eax
	jz _Z22UI_GetServerStatusInfoPcP18serverStatusInfo_t_50
	mov byte [eax], 0x0
	add eax, 0x1
	mov [ebp-0x20], eax
	mov dword [esp+0x4], 0x20
	mov [esp], eax
	call strchr
	test eax, eax
	jz _Z22UI_GetServerStatusInfoPcP18serverStatusInfo_t_50
	mov byte [eax], 0x0
	add eax, 0x1
	mov [ebp-0x1c], eax
	mov edx, [ebp-0x3c]
	mov ecx, [ebp-0x48]
	lea edi, [edx+ecx+0xc40]
	mov ebx, [ebp-0x40]
	mov [esp+0xc], ebx
	mov dword [esp+0x8], _cstring_d
	mov eax, 0xc0
	sub eax, edx
	mov [esp+0x4], eax
	mov [esp], edi
	call _Z11Com_sprintfPciPKcz
	mov eax, [ebp-0x48]
	mov ebx, [eax+0xd00]
	mov edx, ebx
	shl edx, 0x4
	add edx, eax
	mov [edx+0x40], edi
	cld
	mov ecx, 0xffffffff
	xor eax, eax
	repne scasb
	not ecx
	add [ebp-0x3c], ecx
	mov ecx, [ebp-0x44]
	mov [edx+0x44], ecx
	mov eax, [ebp-0x20]
	mov [edx+0x48], eax
	mov ecx, [ebp-0x1c]
	mov [edx+0x4c], ecx
	add ebx, 0x1
	mov eax, [ebp-0x48]
	mov [eax+0xd00], ebx
	cmp ebx, 0x7f
	jg _Z22UI_GetServerStatusInfoPcP18serverStatusInfo_t_50
	mov dword [esp+0x4], 0x5c
	mov [esp], ecx
	call strchr
	test eax, eax
	jz _Z22UI_GetServerStatusInfoPcP18serverStatusInfo_t_50
	mov byte [eax], 0x0
	add dword [ebp-0x40], 0x1
	mov edx, eax
	add edx, 0x1
	mov [ebp-0x44], edx
	jz _Z22UI_GetServerStatusInfoPcP18serverStatusInfo_t_50
	movzx eax, byte [eax+0x1]
	test al, al
	jz _Z22UI_GetServerStatusInfoPcP18serverStatusInfo_t_50
_Z22UI_GetServerStatusInfoPcP18serverStatusInfo_t_60:
	cmp al, 0x5c
	jz _Z22UI_GetServerStatusInfoPcP18serverStatusInfo_t_70
	mov eax, [ebp-0x44]
	jmp _Z22UI_GetServerStatusInfoPcP18serverStatusInfo_t_80
_Z22UI_GetServerStatusInfoPcP18serverStatusInfo_t_40:
	mov dword [esp+0x4], 0x5c
	mov eax, [ebp-0x44]
	mov [esp], eax
	call strchr
	mov [ebp-0x44], eax
	test eax, eax
	jz _Z22UI_GetServerStatusInfoPcP18serverStatusInfo_t_90
	mov byte [eax], 0x0
	add eax, 0x1
	mov [ebp-0x44], eax
	cmp byte [eax], 0x5c
	jz _Z22UI_GetServerStatusInfoPcP18serverStatusInfo_t_100
	mov ecx, eax
	mov edx, [ebp-0x48]
	mov ebx, [edx+0xd00]
	mov eax, ebx
	shl eax, 0x4
	add eax, edx
	mov [eax+0x40], ecx
	mov dword [eax+0x44], _cstring_null
	mov dword [eax+0x48], _cstring_null
	mov dword [esp+0x4], 0x5c
	mov [esp], ecx
	call strchr
	mov [ebp-0x44], eax
	test eax, eax
	jz _Z22UI_GetServerStatusInfoPcP18serverStatusInfo_t_110
	mov byte [eax], 0x0
	add eax, 0x1
	mov [ebp-0x44], eax
	mov ebx, [ebp-0x48]
	mov edx, [ebx+0xd00]
	mov eax, edx
	shl eax, 0x4
	mov ecx, [ebp-0x44]
	mov [eax+ebx+0x4c], ecx
	lea eax, [edx+0x1]
	mov [ebx+0xd00], eax
	cmp eax, 0x7f
	jg _Z22UI_GetServerStatusInfoPcP18serverStatusInfo_t_120
	test ecx, ecx
	jz _Z22UI_GetServerStatusInfoPcP18serverStatusInfo_t_120
	cmp byte [ecx], 0x0
	jnz _Z22UI_GetServerStatusInfoPcP18serverStatusInfo_t_40
_Z22UI_GetServerStatusInfoPcP18serverStatusInfo_t_120:
	mov ebx, eax
	jmp _Z22UI_GetServerStatusInfoPcP18serverStatusInfo_t_110
_Z22UI_GetServerStatusInfoPcP18serverStatusInfo_t_50:
	mov eax, [serverStatusDvars]
	test eax, eax
	jz _Z22UI_GetServerStatusInfoPcP18serverStatusInfo_t_130
	mov dword [ebp-0x38], 0x0
	mov dword [ebp-0x24], serverStatusDvars+0xc
_Z22UI_GetServerStatusInfoPcP18serverStatusInfo_t_210:
	mov eax, [ebp-0x48]
	mov ebx, [eax+0xd00]
	test ebx, ebx
	jle _Z22UI_GetServerStatusInfoPcP18serverStatusInfo_t_140
	mov ebx, eax
	xor edi, edi
	jmp _Z22UI_GetServerStatusInfoPcP18serverStatusInfo_t_150
_Z22UI_GetServerStatusInfoPcP18serverStatusInfo_t_160:
	add edi, 0x1
	add ebx, 0x10
	mov ecx, [ebp-0x48]
	cmp [ecx+0xd00], edi
	jle _Z22UI_GetServerStatusInfoPcP18serverStatusInfo_t_140
_Z22UI_GetServerStatusInfoPcP18serverStatusInfo_t_150:
	mov eax, [ebx+0x44]
	test eax, eax
	jz _Z22UI_GetServerStatusInfoPcP18serverStatusInfo_t_160
	cmp byte [eax], 0x0
	jnz _Z22UI_GetServerStatusInfoPcP18serverStatusInfo_t_160
	mov eax, [ebx+0x40]
	mov [esp+0x4], eax
	mov ecx, [ebp-0x24]
	mov eax, [ecx-0xc]
	mov [esp], eax
	call _Z9I_stricmpPKcS0_
	test eax, eax
	jnz _Z22UI_GetServerStatusInfoPcP18serverStatusInfo_t_160
	mov eax, [ebp-0x38]
	shl eax, 0x4
	mov edx, [ebp-0x48]
	lea esi, [eax+edx]
	mov edx, [esi+0x40]
	mov ecx, [esi+0x4c]
	mov eax, [ebx+0x40]
	mov [esi+0x40], eax
	mov eax, [ebx+0x4c]
	mov [esi+0x4c], eax
	mov [ebx+0x40], edx
	mov [ebx+0x4c], ecx
	mov ecx, [ebp-0x24]
	mov eax, [ecx-0x8]
	cmp byte [eax], 0x0
	jz _Z22UI_GetServerStatusInfoPcP18serverStatusInfo_t_170
	mov [esi+0x40], eax
	mov edx, [ebp-0x24]
	mov eax, [edx-0x4]
	cmp eax, 0x2
	jz _Z22UI_GetServerStatusInfoPcP18serverStatusInfo_t_180
_Z22UI_GetServerStatusInfoPcP18serverStatusInfo_t_230:
	cmp eax, 0x3
	jz _Z22UI_GetServerStatusInfoPcP18serverStatusInfo_t_190
	sub eax, 0x1
	jz _Z22UI_GetServerStatusInfoPcP18serverStatusInfo_t_200
	add dword [ebp-0x38], 0x1
_Z22UI_GetServerStatusInfoPcP18serverStatusInfo_t_220:
	add edi, 0x1
	add ebx, 0x10
	mov ecx, [ebp-0x48]
	cmp [ecx+0xd00], edi
	jg _Z22UI_GetServerStatusInfoPcP18serverStatusInfo_t_150
_Z22UI_GetServerStatusInfoPcP18serverStatusInfo_t_140:
	mov ebx, [ebp-0x24]
	mov eax, [ebx]
	add ebx, 0xc
	mov [ebp-0x24], ebx
	test eax, eax
	jnz _Z22UI_GetServerStatusInfoPcP18serverStatusInfo_t_210
_Z22UI_GetServerStatusInfoPcP18serverStatusInfo_t_130:
	mov eax, 0x1
	add esp, 0x4c
	pop ebx
	pop esi
	pop edi
	pop ebp
	ret
_Z22UI_GetServerStatusInfoPcP18serverStatusInfo_t_200:
	mov eax, [esi+0x4c]
	mov [esp], eax
	call atoi
	mov edx, _cstring_exe_yes
	test eax, eax
	mov eax, _cstring_exe_no
	cmovz edx, eax
	mov [esi+0x4c], edx
	add dword [ebp-0x38], 0x1
	jmp _Z22UI_GetServerStatusInfoPcP18serverStatusInfo_t_220
_Z22UI_GetServerStatusInfoPcP18serverStatusInfo_t_170:
	mov edx, ecx
	mov eax, [edx-0x4]
	cmp eax, 0x2
	jnz _Z22UI_GetServerStatusInfoPcP18serverStatusInfo_t_230
_Z22UI_GetServerStatusInfoPcP18serverStatusInfo_t_180:
	mov esi, [esi+0x4c]
	mov [ebp-0x2c], esi
	mov eax, [sharedUiInfo+0x114c]
	test eax, eax
	jg _Z22UI_GetServerStatusInfoPcP18serverStatusInfo_t_240
_Z22UI_GetServerStatusInfoPcP18serverStatusInfo_t_250:
	mov edx, esi
_Z22UI_GetServerStatusInfoPcP18serverStatusInfo_t_280:
	mov eax, [ebp-0x38]
	shl eax, 0x4
	mov ecx, [ebp-0x48]
	mov [eax+ecx+0x4c], edx
	add dword [ebp-0x38], 0x1
	jmp _Z22UI_GetServerStatusInfoPcP18serverStatusInfo_t_220
_Z22UI_GetServerStatusInfoPcP18serverStatusInfo_t_190:
	mov esi, [esi+0x4c]
	mov [ebp-0x34], esi
	mov eax, [sharedUiInfo+0x1c58]
	test eax, eax
	jle _Z22UI_GetServerStatusInfoPcP18serverStatusInfo_t_250
	mov dword [ebp-0x30], 0x0
	mov esi, sharedUiInfo
_Z22UI_GetServerStatusInfoPcP18serverStatusInfo_t_270:
	mov eax, [esi+0x1c60]
	mov [esp+0x4], eax
	mov eax, [ebp-0x34]
	mov [esp], eax
	call _Z9I_stricmpPKcS0_
	test eax, eax
	jz _Z22UI_GetServerStatusInfoPcP18serverStatusInfo_t_260
	add dword [ebp-0x30], 0x1
	add esi, 0xa0
	mov edx, [ebp-0x30]
	cmp edx, [sharedUiInfo+0x1c58]
	jl _Z22UI_GetServerStatusInfoPcP18serverStatusInfo_t_270
	mov edx, [ebp-0x34]
	jmp _Z22UI_GetServerStatusInfoPcP18serverStatusInfo_t_280
_Z22UI_GetServerStatusInfoPcP18serverStatusInfo_t_240:
	mov dword [ebp-0x28], 0x0
	mov esi, sharedUiInfo
_Z22UI_GetServerStatusInfoPcP18serverStatusInfo_t_300:
	mov eax, [esi+0x1150]
	mov [esp+0x4], eax
	mov eax, [ebp-0x2c]
	mov [esp], eax
	call _Z9I_stricmpPKcS0_
	test eax, eax
	jz _Z22UI_GetServerStatusInfoPcP18serverStatusInfo_t_290
	add dword [ebp-0x28], 0x1
	add esi, 0x8
	mov edx, [ebp-0x28]
	cmp edx, [sharedUiInfo+0x114c]
	jl _Z22UI_GetServerStatusInfoPcP18serverStatusInfo_t_300
	mov edx, [ebp-0x2c]
	jmp _Z22UI_GetServerStatusInfoPcP18serverStatusInfo_t_280
_Z22UI_GetServerStatusInfoPcP18serverStatusInfo_t_10:
	mov dword [esp+0x8], 0x0
	mov dword [esp+0x4], 0x0
	mov [esp], eax
	call _Z19LAN_GetServerStatusPcS_i
	xor eax, eax
	add esp, 0x4c
	pop ebx
	pop esi
	pop edi
	pop ebp
	ret
_Z22UI_GetServerStatusInfoPcP18serverStatusInfo_t_30:
	mov eax, [ebp-0x48]
	mov ebx, [eax+0xd00]
	jmp _Z22UI_GetServerStatusInfoPcP18serverStatusInfo_t_110
_Z22UI_GetServerStatusInfoPcP18serverStatusInfo_t_290:
	mov ecx, [ebp-0x28]
	mov eax, [ecx*8+sharedUiInfo+0x1154]
	mov [esp], eax
	call _Z22UI_SafeTranslateStringPKc
	mov [ebp-0x2c], eax
	mov edx, eax
	jmp _Z22UI_GetServerStatusInfoPcP18serverStatusInfo_t_280
_Z22UI_GetServerStatusInfoPcP18serverStatusInfo_t_260:
	mov ecx, [ebp-0x30]
	lea eax, [ecx+ecx*4]
	shl eax, 0x5
	mov eax, [eax+sharedUiInfo+0x1c5c]
	mov [esp], eax
	call _Z22UI_SafeTranslateStringPKc
	mov [ebp-0x34], eax
	mov edx, eax
	jmp _Z22UI_GetServerStatusInfoPcP18serverStatusInfo_t_280
_Z22UI_GetServerStatusInfoPcP18serverStatusInfo_t_90:
	mov edx, [ebp-0x48]
	mov ebx, [edx+0xd00]
	jmp _Z22UI_GetServerStatusInfoPcP18serverStatusInfo_t_110
_Z22UI_GetServerStatusInfoPcP18serverStatusInfo_t_100:
	mov ecx, [ebp-0x48]
	mov ebx, [ecx+0xd00]
	jmp _Z22UI_GetServerStatusInfoPcP18serverStatusInfo_t_110


;UI_BuildFindPlayerList()
_Z22UI_BuildFindPlayerListv:
	push ebp
	mov ebp, esp
	push edi
	push esi
	push ebx
	sub esp, 0x118c
	mov eax, [uiInfoArray+0x24ac]
	test eax, eax
	jz _Z22UI_BuildFindPlayerListv_10
	cmp eax, [uiInfoArray+0x8]
	jle _Z22UI_BuildFindPlayerListv_20
_Z22UI_BuildFindPlayerListv_10:
	add esp, 0x118c
	pop ebx
	pop esi
	pop edi
	pop ebp
	ret
_Z22UI_BuildFindPlayerListv_20:
	mov eax, [ui_netSource]
	mov eax, [eax+0xc]
	mov [esp], eax
	call _Z18LAN_GetServerCounti
	cmp eax, [sharedUiInfo+0x1ab7c]
	jz _Z22UI_BuildFindPlayerListv_30
	mov [sharedUiInfo+0x1ab7c], eax
	mov ebx, [sharedUiInfo+0x1ab78]
	test ebx, ebx
	jnz _Z22UI_BuildFindPlayerListv_40
_Z22UI_BuildFindPlayerListv_30:
	mov dword [ebp-0x1168], 0x0
	mov dword [ebp-0x1150], sharedUiInfo
	mov dword [ebp-0x116c], sharedUiInfo+0x1bd30
	mov dword [ebp-0x1170], sharedUiInfo+0x1bcf0
	mov dword [ebp-0x1174], sharedUiInfo+0x1bd30
	jmp _Z22UI_BuildFindPlayerListv_50
_Z22UI_BuildFindPlayerListv_100:
	xor edx, edx
	mov eax, [ebp-0x1170]
	call _Z22UI_GetServerStatusInfoPcP18serverStatusInfo_t
	mov eax, [ebp-0x114c]
	mov dword [eax], 0x0
	mov eax, [ui_netSource]
	mov eax, [eax+0xc]
	mov [esp], eax
	call _Z18LAN_GetServerCounti
	cmp eax, [sharedUiInfo+0x1ab7c]
	jz _Z22UI_BuildFindPlayerListv_60
	mov [sharedUiInfo+0x1ab7c], eax
	mov ebx, [sharedUiInfo+0x1ab78]
	test ebx, ebx
	jnz _Z22UI_BuildFindPlayerListv_70
_Z22UI_BuildFindPlayerListv_60:
	mov eax, [sharedUiInfo+0x1bcec]
	cmp eax, [sharedUiInfo+0x1ab78]
	jl _Z22UI_BuildFindPlayerListv_80
_Z22UI_BuildFindPlayerListv_240:
	add dword [ebp-0x1168], 0x1
	add dword [ebp-0x1174], 0x8c
	add dword [ebp-0x1170], 0x8c
	add dword [ebp-0x116c], 0x8c
	add dword [ebp-0x1150], 0x8c
	cmp dword [ebp-0x1168], 0x10
	jz _Z22UI_BuildFindPlayerListv_90
_Z22UI_BuildFindPlayerListv_50:
	mov eax, [ebp-0x1150]
	add eax, 0x1bd78
	mov [ebp-0x114c], eax
	mov edx, [ebp-0x1150]
	mov ecx, [edx+0x1bd78]
	test ecx, ecx
	jz _Z22UI_BuildFindPlayerListv_100
	lea edx, [ebp-0x1140]
	mov eax, [ebp-0x1170]
	call _Z22UI_GetServerStatusInfoPcP18serverStatusInfo_t
	test eax, eax
	jz _Z22UI_BuildFindPlayerListv_110
	mov eax, [_ZZ22UI_BuildFindPlayerListvE8numFound]
	add eax, 0x1
	mov [_ZZ22UI_BuildFindPlayerListvE8numFound], eax
	mov edx, [ebp-0x440]
	test edx, edx
	jle _Z22UI_BuildFindPlayerListv_120
	mov dword [ebp-0x1164], 0x0
	lea eax, [ebp-0x1140]
	mov [ebp-0x1154], eax
	mov edx, eax
	jmp _Z22UI_BuildFindPlayerListv_130
_Z22UI_BuildFindPlayerListv_150:
	add dword [ebp-0x1164], 0x1
	add dword [ebp-0x1154], 0x10
	mov edx, [ebp-0x1164]
	cmp edx, [ebp-0x440]
	jge _Z22UI_BuildFindPlayerListv_140
	mov edx, [ebp-0x1154]
_Z22UI_BuildFindPlayerListv_130:
	mov eax, [edx+0x48]
	test eax, eax
	jz _Z22UI_BuildFindPlayerListv_150
	cmp byte [eax], 0x0
	jz _Z22UI_BuildFindPlayerListv_150
	mov dword [esp+0x8], 0x22
	mov eax, [edx+0x4c]
	mov [esp+0x4], eax
	lea ebx, [ebp-0x3a]
	mov [esp], ebx
	call _Z10I_strncpyzPcPKci
	mov [esp], ebx
	call _Z10I_CleanStrPc
	cmp byte [ebp-0x3a], 0x0
	jz _Z22UI_BuildFindPlayerListv_150
	mov [ebp-0x1160], ebx
	jmp _Z22UI_BuildFindPlayerListv_160
_Z22UI_BuildFindPlayerListv_190:
	xor eax, eax
_Z22UI_BuildFindPlayerListv_230:
	cmp byte [eax+uiInfoArray+0x18a5], 0x0
	jz _Z22UI_BuildFindPlayerListv_170
_Z22UI_BuildFindPlayerListv_210:
	add dword [ebp-0x1160], 0x1
	mov edx, [ebp-0x1160]
	cmp byte [edx], 0x0
	jz _Z22UI_BuildFindPlayerListv_150
_Z22UI_BuildFindPlayerListv_160:
	movzx eax, byte [uiInfoArray+0x18a5]
	test al, al
	jz _Z22UI_BuildFindPlayerListv_180
	mov edx, [ebp-0x1160]
	cmp byte [edx], 0x0
	jz _Z22UI_BuildFindPlayerListv_190
	mov esi, edx
	mov dword [ebp-0x1158], 0x0
	mov dword [ebp-0x115c], 0x0
	mov edi, uiInfoArray+0x18a5
	jmp _Z22UI_BuildFindPlayerListv_200
_Z22UI_BuildFindPlayerListv_220:
	add dword [ebp-0x1158], 0x1
	mov eax, [ebp-0x1158]
	mov [ebp-0x115c], eax
	movzx eax, byte [edi+0x1]
	test al, al
	jz _Z22UI_BuildFindPlayerListv_170
	mov esi, [ebp-0x1160]
	add esi, [ebp-0x115c]
	add edi, 0x1
	cmp byte [esi], 0x0
	jz _Z22UI_BuildFindPlayerListv_210
_Z22UI_BuildFindPlayerListv_200:
	movsx eax, al
	mov [esp], eax
	call __toupper
	mov ebx, eax
	movsx eax, byte [esi]
	mov [esp], eax
	call __toupper
	cmp ebx, eax
	jz _Z22UI_BuildFindPlayerListv_220
	mov eax, [ebp-0x115c]
	jmp _Z22UI_BuildFindPlayerListv_230
_Z22UI_BuildFindPlayerListv_140:
	mov eax, [_ZZ22UI_BuildFindPlayerListvE8numFound]
_Z22UI_BuildFindPlayerListv_120:
	mov [esp+0x10], eax
	mov eax, [sharedUiInfo+0x1bcec]
	mov [esp+0xc], eax
	mov dword [esp+0x8], _cstring_searching_dd
	mov dword [esp+0x4], 0x40
	mov eax, [uiInfoArray+0x24a8]
	shl eax, 0x6
	add eax, uiInfoArray+0x2065
	mov [esp], eax
	call _Z11Com_sprintfPciPKcz
	mov eax, [ebp-0x114c]
	mov dword [eax], 0x0
_Z22UI_BuildFindPlayerListv_110:
	mov edx, [ebp-0x114c]
	mov esi, [edx]
	test esi, esi
	jz _Z22UI_BuildFindPlayerListv_100
	mov eax, [uiInfoArray+0x8]
	mov edx, [ui_serverStatusTimeOut]
	sub eax, [edx+0xc]
	mov edx, [ebp-0x1150]
	cmp [edx+0x1bd70], eax
	jge _Z22UI_BuildFindPlayerListv_240
	add dword [_ZZ22UI_BuildFindPlayerListvE11numTimeOuts], 0x1
	jmp _Z22UI_BuildFindPlayerListv_100
_Z22UI_BuildFindPlayerListv_80:
	mov eax, [uiInfoArray+0x8]
	mov edx, [ebp-0x1150]
	mov [edx+0x1bd70], eax
	mov dword [esp+0xc], 0x40
	mov eax, [ebp-0x1170]
	mov [esp+0x8], eax
	mov eax, [sharedUiInfo+0x1bcec]
	mov eax, [eax*4+sharedUiInfo+0x72f8]
	mov [esp+0x4], eax
	mov eax, [ui_netSource]
	mov eax, [eax+0xc]
	mov [esp], eax
	call _Z26LAN_GetServerAddressStringiiPci
	mov dword [esp+0xc], 0x400
	lea edx, [ebp-0x43a]
	mov [esp+0x8], edx
	mov eax, [sharedUiInfo+0x1bcec]
	mov eax, [eax*4+sharedUiInfo+0x72f8]
	mov [esp+0x4], eax
	mov eax, [ui_netSource]
	mov eax, [eax+0xc]
	mov [esp], eax
	call _Z17LAN_GetServerInfoiiPci
	mov dword [esp+0x4], _cstring_hostname
	lea eax, [ebp-0x43a]
	mov [esp], eax
	call _Z16Info_ValueForKeyPKcS0_
	mov dword [esp+0x8], 0x40
	mov [esp+0x4], eax
	mov edx, [ebp-0x116c]
	mov [esp], edx
	call _Z10I_strncpyzPcPKci
	mov eax, [ebp-0x114c]
	mov dword [eax], 0x1
	mov edx, [sharedUiInfo+0x1bcec]
	add edx, 0x1
	mov [sharedUiInfo+0x1bcec], edx
	mov eax, [_ZZ22UI_BuildFindPlayerListvE8numFound]
	mov [esp+0x10], eax
	mov [esp+0xc], edx
	mov dword [esp+0x8], _cstring_searching_dd
	mov dword [esp+0x4], 0x40
	mov eax, [uiInfoArray+0x24a8]
	shl eax, 0x6
	add eax, uiInfoArray+0x2065
	mov [esp], eax
	call _Z11Com_sprintfPciPKcz
	jmp _Z22UI_BuildFindPlayerListv_240
_Z22UI_BuildFindPlayerListv_70:
	mov dword [sharedUiInfo+0x72f4], 0xffffffff
	mov dword [esp+0x4], 0x1
	mov dword [esp], uiInfoArray
	call _Z25UI_BuildServerDisplayListP8uiInfo_si
	jmp _Z22UI_BuildFindPlayerListv_60
_Z22UI_BuildFindPlayerListv_90:
	mov eax, sharedUiInfo
	mov edx, sharedUiInfo+0x8c0
_Z22UI_BuildFindPlayerListv_260:
	mov ecx, [eax+0x1bd78]
	test ecx, ecx
	jnz _Z22UI_BuildFindPlayerListv_250
	add eax, 0x8c
	cmp edx, eax
	jnz _Z22UI_BuildFindPlayerListv_260
	mov ecx, [uiInfoArray+0x24a8]
	test ecx, ecx
	jz _Z22UI_BuildFindPlayerListv_270
	mov eax, _cstring_null
	cmp ecx, 0x2
	mov edx, _cstring_s1
	cmovnz eax, edx
	lea edx, [ecx-0x1]
	mov dword [esp+0x14], uiInfoArray+0x18a5
	mov [esp+0x10], eax
	mov [esp+0xc], edx
	mov dword [esp+0x8], _cstring_d_servers_found_
	mov dword [esp+0x4], 0x40
	shl edx, 0x6
	add edx, uiInfoArray+0x20a5
	mov [esp], edx
	call _Z11Com_sprintfPciPKcz
_Z22UI_BuildFindPlayerListv_290:
	mov dword [uiInfoArray+0x24ac], 0x0
	add esp, 0x118c
	pop ebx
	pop esi
	pop edi
	pop ebp
	ret
_Z22UI_BuildFindPlayerListv_180:
	mov edi, [ebp-0x1160]
	test edi, edi
	jz _Z22UI_BuildFindPlayerListv_150
_Z22UI_BuildFindPlayerListv_170:
	mov eax, [uiInfoArray+0x24a8]
	cmp eax, 0xe
	jle _Z22UI_BuildFindPlayerListv_280
	mov eax, [sharedUiInfo+0x1ab78]
	mov [sharedUiInfo+0x1bcec], eax
	jmp _Z22UI_BuildFindPlayerListv_150
_Z22UI_BuildFindPlayerListv_40:
	mov dword [sharedUiInfo+0x72f4], 0xffffffff
	mov dword [esp+0x4], 0x1
	mov dword [esp], uiInfoArray
	call _Z25UI_BuildServerDisplayListP8uiInfo_si
	jmp _Z22UI_BuildFindPlayerListv_30
_Z22UI_BuildFindPlayerListv_280:
	mov dword [esp+0x8], 0x40
	mov edx, [ebp-0x1170]
	mov [esp+0x4], edx
	shl eax, 0x6
	add eax, uiInfoArray+0x1c65
	mov [esp], eax
	call _Z10I_strncpyzPcPKci
	mov dword [esp+0x8], 0x40
	mov eax, [ebp-0x1174]
	mov [esp+0x4], eax
	mov eax, [uiInfoArray+0x24a8]
	shl eax, 0x6
	add eax, uiInfoArray+0x2065
	mov [esp], eax
	call _Z10I_strncpyzPcPKci
	add dword [uiInfoArray+0x24a8], 0x1
	jmp _Z22UI_BuildFindPlayerListv_150
_Z22UI_BuildFindPlayerListv_250:
	mov eax, [uiInfoArray+0x8]
	add eax, 0x19
	mov [uiInfoArray+0x24ac], eax
	add esp, 0x118c
	pop ebx
	pop esi
	pop edi
	pop ebp
	ret
_Z22UI_BuildFindPlayerListv_270:
	mov dword [esp+0x8], _cstring_no_servers_found
	mov dword [esp+0x4], 0x40
	mov dword [esp], uiInfoArray+0x2065
	call _Z11Com_sprintfPciPKcz
	jmp _Z22UI_BuildFindPlayerListv_290
	nop


;UI_BuildServerStatus(uiInfo_s*, int)
_Z20UI_BuildServerStatusP8uiInfo_si:
	push ebp
	mov ebp, esp
	push ebx
	sub esp, 0x24
	mov ebx, eax
	mov eax, [eax+0x24ac]
	test eax, eax
	jnz _Z20UI_BuildServerStatusP8uiInfo_si_10
	test edx, edx
	jnz _Z20UI_BuildServerStatusP8uiInfo_si_20
	mov eax, [sharedUiInfo+0x1bce8]
	test eax, eax
	jz _Z20UI_BuildServerStatusP8uiInfo_si_10
	cmp eax, [ebx+0x8]
	jg _Z20UI_BuildServerStatusP8uiInfo_si_10
_Z20UI_BuildServerStatusP8uiInfo_si_60:
	mov eax, [ui_netSource]
	mov eax, [eax+0xc]
	mov [esp], eax
	call _Z18LAN_GetServerCounti
	cmp eax, [sharedUiInfo+0x1ab7c]
	jz _Z20UI_BuildServerStatusP8uiInfo_si_30
	mov [sharedUiInfo+0x1ab7c], eax
	mov eax, [sharedUiInfo+0x1ab78]
	test eax, eax
	jnz _Z20UI_BuildServerStatusP8uiInfo_si_40
_Z20UI_BuildServerStatusP8uiInfo_si_30:
	mov edx, [sharedUiInfo+0x72f4]
	test edx, edx
	js _Z20UI_BuildServerStatusP8uiInfo_si_10
	mov eax, [sharedUiInfo+0x1ab78]
	cmp edx, eax
	jg _Z20UI_BuildServerStatusP8uiInfo_si_10
	test eax, eax
	jnz _Z20UI_BuildServerStatusP8uiInfo_si_50
_Z20UI_BuildServerStatusP8uiInfo_si_10:
	add esp, 0x24
	pop ebx
	pop ebp
	ret
_Z20UI_BuildServerStatusP8uiInfo_si_20:
	mov dword [esp+0x10], 0x0
	mov dword [esp+0xc], 0x0
	mov dword [esp+0x8], 0xd
	mov dword [esp+0x4], 0x0
	mov [esp], ebx
	call _Z23Menu_SetFeederSelectionP9UiContextP9menuDef_tiiPKc
	mov dword [sharedUiInfo+0x1bce4], 0x0
	mov dword [esp+0x8], 0x0
	mov dword [esp+0x4], 0x0
	mov dword [esp], 0x0
	call _Z19LAN_GetServerStatusPcS_i
	jmp _Z20UI_BuildServerStatusP8uiInfo_si_60
_Z20UI_BuildServerStatusP8uiInfo_si_50:
	mov edx, sharedUiInfo+0x1afe4
	mov eax, sharedUiInfo+0x1afa4
	call _Z22UI_GetServerStatusInfoPcP18serverStatusInfo_t
	test eax, eax
	jnz _Z20UI_BuildServerStatusP8uiInfo_si_70
	mov eax, [ebx+0x8]
	add eax, 0x1f4
	mov [sharedUiInfo+0x1bce8], eax
	jmp _Z20UI_BuildServerStatusP8uiInfo_si_10
_Z20UI_BuildServerStatusP8uiInfo_si_40:
	mov dword [sharedUiInfo+0x72f4], 0xffffffff
	mov dword [esp+0x4], 0x1
	mov [esp], ebx
	call _Z25UI_BuildServerDisplayListP8uiInfo_si
	jmp _Z20UI_BuildServerStatusP8uiInfo_si_30
_Z20UI_BuildServerStatusP8uiInfo_si_70:
	mov dword [sharedUiInfo+0x1bce8], 0x0
	xor edx, edx
	mov eax, sharedUiInfo+0x1afa4
	call _Z22UI_GetServerStatusInfoPcP18serverStatusInfo_t
	jmp _Z20UI_BuildServerStatusP8uiInfo_si_10
	nop


;UI_DisplayDownloadInfo(char const*, float, float, Font_s*, float)
_Z22UI_DisplayDownloadInfoPKcffP6Font_sf:
	push ebp
	mov ebp, esp
	push edi
	push esi
	push ebx
	sub esp, 0x19c
	mov eax, legacyHacks
	mov edx, [eax]
	mov [ebp-0x150], edx
	mov ecx, [eax+0x4]
	mov [ebp-0x14c], ecx
	mov eax, [eax+0x8]
	mov [ebp-0x148], eax
	mov edx, colorBlack
	mov eax, [edx]
	mov [ebp-0x28], eax
	mov eax, [edx+0x4]
	mov [ebp-0x24], eax
	mov eax, [edx+0x8]
	mov [ebp-0x20], eax
	mov dword [ebp-0x1c], 0x3e4ccccd
	lea esi, [ebp-0x28]
	mov [esp+0x1c], esi
	mov dword [esp+0x18], 0x0
	mov dword [esp+0x14], 0x0
	mov dword [esp+0x10], 0x42aa0000
	mov dword [esp+0xc], 0x44200000
	movss xmm0, dword [ebp+0x10]
	addss xmm0, [_float_184_00000000]
	movss [esp+0x8], xmm0
	xor esi, esi
	mov [esp+0x4], esi
	mov edi, scrPlaceFull
	mov [esp], edi
	call _Z11UI_FillRectPK15ScreenPlacementffffiiPKf
	lea eax, [ebp-0x28]
	mov [esp+0x1c], eax
	mov dword [esp+0x18], 0x0
	mov dword [esp+0x14], 0x0
	mov dword [esp+0x10], 0x42a60000
	mov dword [esp+0xc], 0x44200000
	movss xmm0, dword [ebp+0x10]
	addss xmm0, [_float_185_00000000]
	movss [esp+0x8], xmm0
	mov [esp+0x4], esi
	mov [esp], edi
	call _Z11UI_FillRectPK15ScreenPlacementffffiiPKf
	lea edx, [ebp-0x28]
	mov [esp+0x1c], edx
	mov dword [esp+0x18], 0x0
	mov dword [esp+0x14], 0x0
	mov dword [esp+0x10], 0x42a20000
	mov dword [esp+0xc], 0x44200000
	movss xmm0, dword [ebp+0x10]
	addss xmm0, [_float_186_00000000]
	movss [esp+0x8], xmm0
	mov [esp+0x4], esi
	mov [esp], edi
	call _Z11UI_FillRectPK15ScreenPlacementffffiiPKf
	mov eax, [ebp-0x150]
	test eax, eax
	jle _Z22UI_DisplayDownloadInfoPKcffP6Font_sf_10
	mov edx, colorGreen
	mov eax, [edx]
	mov [ebp-0x28], eax
	mov eax, [edx+0x4]
	mov [ebp-0x24], eax
	mov eax, [edx+0x8]
	mov [ebp-0x20], eax
	mov dword [ebp-0x1c], 0x3e19999a
	cvtsi2ss xmm0, dword [ebp-0x14c]
	cvtsi2ss xmm1, dword [ebp-0x150]
	divss xmm0, xmm1
	mulss xmm0, [_float_640_00000000]
	cvttss2si ebx, xmm0
	lea ecx, [ebp-0x28]
	mov [esp+0x1c], ecx
	mov dword [esp+0x18], 0x0
	mov dword [esp+0x14], 0x0
	mov dword [esp+0x10], 0x40a00000
	lea eax, [ebx+0x2]
	cvtsi2ss xmm0, eax
	movss [esp+0xc], xmm0
	movss xmm0, dword [ebp+0x10]
	addss xmm0, [_float_164_00000000]
	movss [esp+0x8], xmm0
	mov [esp+0x4], esi
	mov [esp], edi
	call _Z11UI_FillRectPK15ScreenPlacementffffiiPKf
	lea eax, [ebp-0x28]
	mov [esp+0x1c], eax
	mov dword [esp+0x18], 0x0
	mov dword [esp+0x14], 0x0
	mov dword [esp+0x10], 0x40400000
	lea eax, [ebx+0x1]
	cvtsi2ss xmm0, eax
	movss [esp+0xc], xmm0
	movss xmm0, dword [ebp+0x10]
	addss xmm0, [_float_165_00000000]
	movss [esp+0x8], xmm0
	mov [esp+0x4], esi
	mov [esp], edi
	call _Z11UI_FillRectPK15ScreenPlacementffffiiPKf
	lea edx, [ebp-0x28]
	mov [esp+0x1c], edx
	mov dword [esp+0x18], 0x0
	mov dword [esp+0x14], 0x0
	mov dword [esp+0x10], 0x3f800000
	cvtsi2ss xmm0, ebx
	movss [esp+0xc], xmm0
	movss xmm0, dword [ebp+0x10]
	addss xmm0, [_float_166_00000000]
	movss [esp+0x8], xmm0
	mov [esp+0x4], esi
	mov [esp], edi
	call _Z11UI_FillRectPK15ScreenPlacementffffiiPKf
_Z22UI_DisplayDownloadInfoPKcffP6Font_sf_10:
	movss xmm0, dword [ebp+0x10]
	addss xmm0, [_float_210_00000000]
	movss [ebp-0x15c], xmm0
	mov dword [esp], _ZZ22UI_DisplayDownloadInfoPKcffP6Font_sfE6dlText
	call _Z22UI_SafeTranslateStringPKc
	mov dword [esp+0x28], 0x0
	mov esi, colorLtGrey
	mov [esp+0x24], esi
	movss xmm1, dword [ebp+0x18]
	movss [esp+0x20], xmm1
	mov dword [esp+0x1c], 0x0
	mov dword [esp+0x18], 0x0
	movss xmm3, dword [ebp-0x15c]
	movss [esp+0x14], xmm3
	mov ebx, 0x41c00000
	mov [esp+0x10], ebx
	mov edx, [ebp+0x14]
	mov [esp+0xc], edx
	mov dword [esp+0x8], 0x40
	mov [esp+0x4], eax
	mov [esp], edi
	call _Z11UI_DrawTextPK15ScreenPlacementPKciP6Font_sffiifPKfi
	movss xmm0, dword [ebp+0x10]
	addss xmm0, [_float_235_00000000]
	movss [ebp-0x158], xmm0
	mov dword [esp], _ZZ22UI_DisplayDownloadInfoPKcffP6Font_sfE7etaText
	call _Z22UI_SafeTranslateStringPKc
	mov dword [esp+0x28], 0x0
	mov [esp+0x24], esi
	movss xmm1, dword [ebp+0x18]
	movss [esp+0x20], xmm1
	mov dword [esp+0x1c], 0x0
	mov dword [esp+0x18], 0x0
	movss xmm3, dword [ebp-0x158]
	movss [esp+0x14], xmm3
	mov [esp+0x10], ebx
	mov edx, [ebp+0x14]
	mov [esp+0xc], edx
	mov dword [esp+0x8], 0x40
	mov [esp+0x4], eax
	mov [esp], edi
	call _Z11UI_DrawTextPK15ScreenPlacementPKciP6Font_sffiifPKfi
	movss xmm0, dword [ebp+0x10]
	addss xmm0, [_float_260_00000000]
	movss [ebp-0x154], xmm0
	mov dword [esp], _ZZ22UI_DisplayDownloadInfoPKcffP6Font_sfE8xferText
	call _Z22UI_SafeTranslateStringPKc
	mov dword [esp+0x28], 0x0
	mov [esp+0x24], esi
	movss xmm1, dword [ebp+0x18]
	movss [esp+0x20], xmm1
	mov dword [esp+0x1c], 0x0
	mov dword [esp+0x18], 0x0
	movss xmm3, dword [ebp-0x154]
	movss [esp+0x14], xmm3
	mov [esp+0x10], ebx
	mov edx, [ebp+0x14]
	mov [esp+0xc], edx
	mov dword [esp+0x8], 0x40
	mov [esp+0x4], eax
	mov [esp], edi
	call _Z11UI_DrawTextPK15ScreenPlacementPKciP6Font_sffiifPKfi
	movss xmm0, dword [ebp+0x18]
	movss [esp+0x4], xmm0
	mov eax, [ebp+0x14]
	mov [esp], eax
	call _Z21R_NormalizedTextScaleP6Font_sf
	fstp dword [ebp-0x140]
	mov edx, [ebp+0x14]
	mov [esp+0x8], edx
	mov dword [esp+0x4], 0x0
	mov ecx, [ebp+0x8]
	mov [esp], ecx
	call _Z11R_TextWidthPKciP6Font_s
	cvtsi2ss xmm0, eax
	mulss xmm0, [ebp-0x140]
	cvttss2si eax, xmm0
	cvtsi2ss xmm0, eax
	ucomiss xmm0, [_float_430_00000000]
	ja _Z22UI_DisplayDownloadInfoPKcffP6Font_sf_20
	movss xmm2, dword [ebp+0x18]
_Z22UI_DisplayDownloadInfoPKcffP6Font_sf_60:
	mov dword [esp+0x28], 0x0
	mov eax, colorLtGrey
	mov [esp+0x24], eax
	movss [esp+0x20], xmm2
	mov dword [esp+0x1c], 0x0
	mov dword [esp+0x18], 0x0
	movss xmm0, dword [ebp-0x15c]
	movss [esp+0x14], xmm0
	mov dword [esp+0x10], 0x43480000
	mov eax, [ebp+0x14]
	mov [esp+0xc], eax
	mov dword [esp+0x8], 0x7fffffff
	mov edx, [ebp+0x8]
	mov [esp+0x4], edx
	mov eax, scrPlaceFull
	mov [esp], eax
	call _Z11UI_DrawTextPK15ScreenPlacementPKciP6Font_sffiifPKfi
	mov ecx, [ebp-0x14c]
	mov edx, 0x40
	lea eax, [ebp-0x68]
	call _Z15UI_ReadableSizePcii
	mov ecx, [ebp-0x150]
	mov edx, 0x40
	lea eax, [ebp-0xa8]
	call _Z15UI_ReadableSizePcii
	mov ebx, [ebp-0x150]
	test ebx, ebx
	jle _Z22UI_DisplayDownloadInfoPKcffP6Font_sf_30
	cvtsi2ss xmm0, dword [ebp-0x14c]
	mulss xmm0, [_float_100_00000000]
	cvtsi2ss xmm1, dword [ebp-0x150]
	divss xmm0, xmm1
	cvttss2si ecx, xmm0
	mov [ebp-0x144], ecx
_Z22UI_DisplayDownloadInfoPKcffP6Font_sf_140:
	cmp dword [ebp-0x14c], 0xfff
	jle _Z22UI_DisplayDownloadInfoPKcffP6Font_sf_40
	mov ecx, [ebp-0x148]
	test ecx, ecx
	jnz _Z22UI_DisplayDownloadInfoPKcffP6Font_sf_50
_Z22UI_DisplayDownloadInfoPKcffP6Font_sf_40:
	mov dword [esp], _cstring_exe_estimating
	call _Z22UI_SafeTranslateStringPKc
	mov ebx, eax
	movss xmm0, dword [ebp+0x18]
	movss [esp+0x4], xmm0
	mov eax, [ebp+0x14]
	mov [esp], eax
	call _Z21R_NormalizedTextScaleP6Font_sf
	fstp dword [ebp-0x13c]
	mov edx, [ebp+0x14]
	mov [esp+0x8], edx
	mov dword [esp+0x4], 0x0
	mov [esp], ebx
	call _Z11R_TextWidthPKciP6Font_s
	mov dword [esp+0x34], 0x0
	mov dword [esp+0x30], 0x0
	mov dword [esp+0x2c], 0x0
	mov dword [esp+0x28], 0x6
	mov esi, colorLtGrey
	mov [esp+0x24], esi
	movss xmm0, dword [ebp+0x18]
	movss [esp+0x20], xmm0
	mov dword [esp+0x1c], 0x0
	mov dword [esp+0x18], 0x0
	movss xmm1, dword [ebp-0x158]
	movss [esp+0x14], xmm1
	cvtsi2ss xmm0, eax
	mulss xmm0, [ebp-0x13c]
	cvttss2si edx, xmm0
	mov eax, edx
	shr eax, 0x1f
	add eax, edx
	sar eax, 1
	cvtsi2ss xmm0, eax
	movss xmm3, dword [ebp+0xc]
	subss xmm3, xmm0
	movss [esp+0x10], xmm3
	mov eax, [ebp+0x14]
	mov [esp+0xc], eax
	mov dword [esp+0x8], 0x7fffffff
	mov [esp+0x4], ebx
	mov edi, scrPlaceFull
	mov [esp], edi
	call _Z19UI_DrawTextWithGlowPK15ScreenPlacementPKciP6Font_sffiifPKfiS7_hh
	mov dword [esp], _cstring_exe_copied
	call _Z22UI_SafeTranslateStringPKc
	mov ebx, eax
	mov dword [esp], _cstring_exe_of
	call _Z22UI_SafeTranslateStringPKc
	mov edx, [ebp-0x144]
	mov [esp+0x14], edx
	mov [esp+0x10], ebx
	lea ecx, [ebp-0xa8]
	mov [esp+0xc], ecx
	mov [esp+0x8], eax
	lea eax, [ebp-0x68]
	mov [esp+0x4], eax
	mov dword [esp], _cstring_s_s_s_s_d
	call _Z2vaPKcz
	mov ebx, eax
	movss xmm0, dword [ebp+0x18]
	movss [esp+0x4], xmm0
	mov eax, [ebp+0x14]
	mov [esp], eax
	call _Z21R_NormalizedTextScaleP6Font_sf
	fstp dword [ebp-0x138]
	mov edx, [ebp+0x14]
	mov [esp+0x8], edx
	mov dword [esp+0x4], 0x0
	mov [esp], ebx
	call _Z11R_TextWidthPKciP6Font_s
	mov dword [esp+0x34], 0x0
	mov dword [esp+0x30], 0x0
	mov dword [esp+0x2c], 0x0
	mov dword [esp+0x28], 0x6
	mov [esp+0x24], esi
	movss xmm0, dword [ebp+0x18]
	movss [esp+0x20], xmm0
	mov dword [esp+0x1c], 0x0
	mov dword [esp+0x18], 0x0
	movss xmm1, dword [ebp+0x10]
	addss xmm1, [_float_340_00000000]
	movss [esp+0x14], xmm1
	cvtsi2ss xmm0, eax
	mulss xmm0, [ebp-0x138]
	cvttss2si edx, xmm0
	mov eax, edx
	shr eax, 0x1f
	add eax, edx
	sar eax, 1
	cvtsi2ss xmm0, eax
	movss xmm3, dword [ebp+0xc]
	subss xmm3, xmm0
	movss [esp+0x10], xmm3
	mov eax, [ebp+0x14]
	mov [esp+0xc], eax
	mov dword [esp+0x8], 0x7fffffff
	mov [esp+0x4], ebx
	mov [esp], edi
	call _Z19UI_DrawTextWithGlowPK15ScreenPlacementPKciP6Font_sffiifPKfiS7_hh
_Z22UI_DisplayDownloadInfoPKcffP6Font_sf_170:
	add esp, 0x19c
	pop ebx
	pop esi
	pop edi
	pop ebp
	ret
_Z22UI_DisplayDownloadInfoPKcffP6Font_sf_20:
	movss xmm2, dword [ebp+0x18]
	mulss xmm2, [_float_430_00000000]
	divss xmm2, xmm0
	movss xmm0, dword [_float_0_20000000]
	cmpss xmm0, xmm2, 0x1
	movaps xmm1, xmm2
	andps xmm1, xmm0
	movaps xmm2, xmm0
	movss xmm3, dword [_float_0_20000000]
	andnps xmm2, xmm3
	orps xmm2, xmm1
	jmp _Z22UI_DisplayDownloadInfoPKcffP6Font_sf_60
_Z22UI_DisplayDownloadInfoPKcffP6Font_sf_50:
	mov ecx, [uiInfoArray+0x8]
	sub ecx, [ebp-0x148]
	lea eax, [ecx+0x3e7]
	cmp eax, 0x7ce
	ja _Z22UI_DisplayDownloadInfoPKcffP6Font_sf_70
	xor esi, esi
	mov ecx, esi
	mov edx, 0x40
	lea eax, [ebp-0xe8]
	call _Z15UI_ReadableSizePcii
	mov edx, [ebp-0x150]
	test edx, edx
	jz _Z22UI_DisplayDownloadInfoPKcffP6Font_sf_80
_Z22UI_DisplayDownloadInfoPKcffP6Font_sf_150:
	test esi, esi
	jz _Z22UI_DisplayDownloadInfoPKcffP6Font_sf_80
	mov eax, [ebp-0x150]
	cdq
	idiv esi
	mov ecx, eax
	mov ebx, [_ZZ22UI_DisplayDownloadInfoPKcffP6Font_sfE8tleIndex]
	sar dword [ebp-0x14c], 0xa
	mov eax, [ebp-0x14c]
	imul eax, ecx
	mov edx, [ebp-0x150]
	test edx, edx
	js _Z22UI_DisplayDownloadInfoPKcffP6Font_sf_90
_Z22UI_DisplayDownloadInfoPKcffP6Font_sf_210:
	sar edx, 0xa
	mov esi, edx
	cdq
	idiv esi
	sub ecx, eax
	mov [ebx*4+_ZZ22UI_DisplayDownloadInfoPKcffP6Font_sfE12tleEstimates], ecx
	lea edx, [ebx+0x1]
	xor eax, eax
	cmp edx, 0x50
	cmovl eax, edx
	mov [_ZZ22UI_DisplayDownloadInfoPKcffP6Font_sfE8tleIndex], eax
	xor ecx, ecx
	mov eax, _ZZ22UI_DisplayDownloadInfoPKcffP6Font_sfE12tleEstimates
	mov edx, _ZZ22UI_DisplayDownloadInfoPKcffP6Font_sfE8xferText
_Z22UI_DisplayDownloadInfoPKcffP6Font_sf_100:
	add ecx, [eax]
	add eax, 0x4
	cmp edx, eax
	jnz _Z22UI_DisplayDownloadInfoPKcffP6Font_sf_100
	mov eax, 0x66666667
	imul ecx
	mov esi, edx
	sar esi, 0x5
	mov eax, ecx
	sar eax, 0x1f
	sub esi, eax
	cmp esi, 0xe10
	jg _Z22UI_DisplayDownloadInfoPKcffP6Font_sf_110
	cmp esi, 0x3c
	jle _Z22UI_DisplayDownloadInfoPKcffP6Font_sf_120
	mov dword [esp], _cstring_exe_seconds
	call _Z22UI_SafeTranslateStringPKc
	mov ebx, eax
	mov dword [esp], _cstring_exe_minutes
	call _Z22UI_SafeTranslateStringPKc
	mov edi, eax
	mov [esp+0x18], ebx
	mov edx, 0x88888889
	mov eax, esi
	imul edx
	lea ebx, [edx+esi]
	sar ebx, 0x5
	mov eax, esi
	cdq
	sub ebx, edx
	lea edx, [ebx*4]
	mov ecx, ebx
	shl ecx, 0x6
	sub ecx, edx
	mov edx, esi
	sub edx, ecx
	mov [esp+0x14], edx
	mov [esp+0x10], edi
	mov [esp+0xc], ebx
_Z22UI_DisplayDownloadInfoPKcffP6Font_sf_200:
	mov dword [esp+0x8], _cstring_d_s_d_s
	mov dword [esp+0x4], 0x40
	lea ebx, [ebp-0x128]
	mov [esp], ebx
	call _Z11Com_sprintfPciPKcz
_Z22UI_DisplayDownloadInfoPKcffP6Font_sf_190:
	mov dword [esp+0x28], 0x3
	mov esi, colorLtGrey
	mov [esp+0x24], esi
	movss xmm0, dword [ebp+0x18]
	movss [esp+0x20], xmm0
	mov dword [esp+0x1c], 0x0
	mov dword [esp+0x18], 0x0
	movss xmm1, dword [ebp-0x158]
	movss [esp+0x14], xmm1
	mov dword [esp+0x10], 0x43480000
	mov eax, [ebp+0x14]
	mov [esp+0xc], eax
	mov dword [esp+0x8], 0x7fffffff
	mov [esp+0x4], ebx
	mov edi, scrPlaceFull
	mov [esp], edi
	call _Z11UI_DrawTextPK15ScreenPlacementPKciP6Font_sffiifPKfi
	mov dword [esp], _cstring_exe_copied
	call _Z22UI_SafeTranslateStringPKc
	mov ebx, eax
	mov dword [esp], _cstring_exe_of
	call _Z22UI_SafeTranslateStringPKc
	mov edx, [ebp-0x144]
	mov [esp+0x14], edx
	mov [esp+0x10], ebx
	lea ecx, [ebp-0xa8]
	mov [esp+0xc], ecx
	mov [esp+0x8], eax
	lea eax, [ebp-0x68]
	mov [esp+0x4], eax
	mov dword [esp], _cstring_s_s_s_s_d
	call _Z2vaPKcz
	mov ebx, eax
	movss xmm0, dword [ebp+0x18]
	movss [esp+0x4], xmm0
	mov eax, [ebp+0x14]
	mov [esp], eax
	call _Z21R_NormalizedTextScaleP6Font_sf
	fstp dword [ebp-0x134]
	mov edx, [ebp+0x14]
	mov [esp+0x8], edx
	mov dword [esp+0x4], 0x0
	mov [esp], ebx
	call _Z11R_TextWidthPKciP6Font_s
	mov dword [esp+0x34], 0x0
	mov dword [esp+0x30], 0x0
	mov dword [esp+0x2c], 0x0
	mov dword [esp+0x28], 0x6
	mov [esp+0x24], esi
	movss xmm0, dword [ebp+0x18]
	movss [esp+0x20], xmm0
	mov dword [esp+0x1c], 0x0
	mov dword [esp+0x18], 0x0
	movss xmm1, dword [ebp+0x10]
	addss xmm1, [_float_320_00000000]
	movss [esp+0x14], xmm1
	cvtsi2ss xmm0, eax
	mulss xmm0, [ebp-0x134]
	cvttss2si edx, xmm0
	mov eax, edx
	shr eax, 0x1f
	add eax, edx
	sar eax, 1
	cvtsi2ss xmm0, eax
	movss xmm3, dword [ebp+0xc]
	subss xmm3, xmm0
	movss [esp+0x10], xmm3
	mov eax, [ebp+0x14]
	mov [esp+0xc], eax
	mov dword [esp+0x8], 0x7fffffff
	mov [esp+0x4], ebx
	mov [esp], edi
	call _Z19UI_DrawTextWithGlowPK15ScreenPlacementPKciP6Font_sffiifPKfiS7_hh
	jmp _Z22UI_DisplayDownloadInfoPKcffP6Font_sf_130
_Z22UI_DisplayDownloadInfoPKcffP6Font_sf_30:
	mov dword [ebp-0x144], 0x0
	jmp _Z22UI_DisplayDownloadInfoPKcffP6Font_sf_140
_Z22UI_DisplayDownloadInfoPKcffP6Font_sf_70:
	mov edx, 0x10624dd3
	mov eax, ecx
	imul edx
	sar edx, 0x6
	mov eax, ecx
	sar eax, 0x1f
	sub edx, eax
	mov eax, [ebp-0x14c]
	mov ecx, edx
	cdq
	idiv ecx
	mov esi, eax
	mov ecx, esi
	mov edx, 0x40
	lea eax, [ebp-0xe8]
	call _Z15UI_ReadableSizePcii
	mov edx, [ebp-0x150]
	test edx, edx
	jnz _Z22UI_DisplayDownloadInfoPKcffP6Font_sf_150
_Z22UI_DisplayDownloadInfoPKcffP6Font_sf_80:
	mov dword [esp], _cstring_exe_estimating
	call _Z22UI_SafeTranslateStringPKc
	mov ebx, eax
	movss xmm0, dword [ebp+0x18]
	movss [esp+0x4], xmm0
	mov eax, [ebp+0x14]
	mov [esp], eax
	call _Z21R_NormalizedTextScaleP6Font_sf
	fstp dword [ebp-0x130]
	mov edx, [ebp+0x14]
	mov [esp+0x8], edx
	mov dword [esp+0x4], 0x0
	mov [esp], ebx
	call _Z11R_TextWidthPKciP6Font_s
	mov dword [esp+0x34], 0x0
	mov dword [esp+0x30], 0x0
	mov dword [esp+0x2c], 0x0
	mov dword [esp+0x28], 0x6
	mov edx, colorLtGrey
	mov [esp+0x24], edx
	movss xmm0, dword [ebp+0x18]
	movss [esp+0x20], xmm0
	mov dword [esp+0x1c], 0x0
	mov dword [esp+0x18], 0x0
	movss xmm1, dword [ebp-0x158]
	movss [esp+0x14], xmm1
	cvtsi2ss xmm0, eax
	mulss xmm0, [ebp-0x130]
	cvttss2si edx, xmm0
	mov eax, edx
	shr eax, 0x1f
	add eax, edx
	sar eax, 1
	cvtsi2ss xmm0, eax
	movss xmm3, dword [ebp+0xc]
	subss xmm3, xmm0
	movss [esp+0x10], xmm3
	mov eax, [ebp+0x14]
	mov [esp+0xc], eax
	mov dword [esp+0x8], 0x7fffffff
	mov [esp+0x4], ebx
	mov eax, scrPlaceFull
	mov [esp], eax
	call _Z19UI_DrawTextWithGlowPK15ScreenPlacementPKciP6Font_sffiifPKfiS7_hh
	mov eax, [ebp-0x150]
	test eax, eax
	jz _Z22UI_DisplayDownloadInfoPKcffP6Font_sf_160
	mov dword [esp], _cstring_exe_copied
	call _Z22UI_SafeTranslateStringPKc
	mov ebx, eax
	mov dword [esp], _cstring_exe_of
	call _Z22UI_SafeTranslateStringPKc
	mov edx, [ebp-0x144]
	mov [esp+0x14], edx
	mov [esp+0x10], ebx
	lea ecx, [ebp-0xa8]
	mov [esp+0xc], ecx
	mov [esp+0x8], eax
	lea eax, [ebp-0x68]
	mov [esp+0x4], eax
	mov dword [esp], _cstring_s_s_s_s_d
	call _Z2vaPKcz
	mov ebx, eax
_Z22UI_DisplayDownloadInfoPKcffP6Font_sf_180:
	movss xmm0, dword [ebp+0x18]
	movss [esp+0x4], xmm0
	mov eax, [ebp+0x14]
	mov [esp], eax
	call _Z21R_NormalizedTextScaleP6Font_sf
	fstp dword [ebp-0x12c]
	mov edx, [ebp+0x14]
	mov [esp+0x8], edx
	mov dword [esp+0x4], 0x0
	mov [esp], ebx
	call _Z11R_TextWidthPKciP6Font_s
	mov dword [esp+0x34], 0x0
	mov dword [esp+0x30], 0x0
	mov dword [esp+0x2c], 0x0
	mov dword [esp+0x28], 0x6
	mov edx, colorLtGrey
	mov [esp+0x24], edx
	movss xmm0, dword [ebp+0x18]
	movss [esp+0x20], xmm0
	mov dword [esp+0x1c], 0x0
	mov dword [esp+0x18], 0x0
	movss xmm1, dword [ebp+0x10]
	addss xmm1, [_float_320_00000000]
	movss [esp+0x14], xmm1
	cvtsi2ss xmm0, eax
	mulss xmm0, [ebp-0x12c]
	cvttss2si edx, xmm0
	mov eax, edx
	shr eax, 0x1f
	add eax, edx
	sar eax, 1
	cvtsi2ss xmm0, eax
	movss xmm3, dword [ebp+0xc]
	subss xmm3, xmm0
	movss [esp+0x10], xmm3
	mov eax, [ebp+0x14]
	mov [esp+0xc], eax
	mov dword [esp+0x8], 0x7fffffff
	mov [esp+0x4], ebx
	mov eax, scrPlaceFull
	mov [esp], eax
	call _Z19UI_DrawTextWithGlowPK15ScreenPlacementPKciP6Font_sffiifPKfiS7_hh
	test esi, esi
	jz _Z22UI_DisplayDownloadInfoPKcffP6Font_sf_170
_Z22UI_DisplayDownloadInfoPKcffP6Font_sf_130:
	mov dword [esp], _cstring_exe_seconds
	call _Z22UI_SafeTranslateStringPKc
	mov [esp+0x8], eax
	lea edx, [ebp-0xe8]
	mov [esp+0x4], edx
	mov dword [esp], _cstring_ss
	call _Z2vaPKcz
	mov dword [esp+0x28], 0x3
	mov edx, colorLtGrey
	mov [esp+0x24], edx
	movss xmm0, dword [ebp+0x18]
	movss [esp+0x20], xmm0
	mov dword [esp+0x1c], 0x0
	mov dword [esp+0x18], 0x0
	movss xmm1, dword [ebp-0x154]
	movss [esp+0x14], xmm1
	mov dword [esp+0x10], 0x43480000
	mov edx, [ebp+0x14]
	mov [esp+0xc], edx
	mov dword [esp+0x8], 0x7fffffff
	mov [esp+0x4], eax
	mov eax, scrPlaceFull
	mov [esp], eax
	call _Z11UI_DrawTextPK15ScreenPlacementPKciP6Font_sffiifPKfi
	add esp, 0x19c
	pop ebx
	pop esi
	pop edi
	pop ebp
	ret
_Z22UI_DisplayDownloadInfoPKcffP6Font_sf_160:
	mov dword [esp], _cstring_exe_copied
	call _Z22UI_SafeTranslateStringPKc
	mov [esp+0x8], eax
	lea edx, [ebp-0x68]
	mov [esp+0x4], edx
	mov dword [esp], _cstring_s_s
	call _Z2vaPKcz
	mov ebx, eax
	jmp _Z22UI_DisplayDownloadInfoPKcffP6Font_sf_180
_Z22UI_DisplayDownloadInfoPKcffP6Font_sf_120:
	mov dword [esp], _cstring_exe_seconds
	call _Z22UI_SafeTranslateStringPKc
	mov [esp+0x10], eax
	mov [esp+0xc], esi
	mov dword [esp+0x8], _cstring_d_s
	mov dword [esp+0x4], 0x40
	lea ebx, [ebp-0x128]
	mov [esp], ebx
	call _Z11Com_sprintfPciPKcz
	jmp _Z22UI_DisplayDownloadInfoPKcffP6Font_sf_190
_Z22UI_DisplayDownloadInfoPKcffP6Font_sf_110:
	mov dword [esp], _cstring_exe_minutes
	call _Z22UI_SafeTranslateStringPKc
	mov ebx, eax
	mov dword [esp], _cstring_exe_hours
	call _Z22UI_SafeTranslateStringPKc
	mov [esp+0x10], eax
	mov [esp+0x18], ebx
	mov edx, 0x91a2b3c5
	mov eax, esi
	imul edx
	lea edi, [edx+esi]
	sar edi, 0xb
	mov eax, esi
	cdq
	sub edi, edx
	mov ecx, edi
	shl ecx, 0x4
	mov edx, edi
	shl edx, 0x8
	sub edx, ecx
	mov ecx, edx
	shl ecx, 0x4
	sub ecx, edx
	mov ebx, esi
	sub ebx, ecx
	mov edx, 0x88888889
	mov eax, ebx
	imul edx
	add edx, ebx
	sar edx, 0x5
	mov ecx, ebx
	sar ecx, 0x1f
	sub edx, ecx
	mov [esp+0x14], edx
	mov [esp+0xc], edi
	jmp _Z22UI_DisplayDownloadInfoPKcffP6Font_sf_200
_Z22UI_DisplayDownloadInfoPKcffP6Font_sf_90:
	add edx, 0x3ff
	jmp _Z22UI_DisplayDownloadInfoPKcffP6Font_sf_210
	nop


;UI_Refresh(int)
_Z10UI_Refreshi:
	push ebp
	mov ebp, esp
	push edi
	push esi
	push ebx
	sub esp, 0x4c
	mov dword [esp], uiInfoArray
	call _Z10Menu_CountP9UiContext
	test eax, eax
	jle _Z10UI_Refreshi_10
	mov dword [esp], uiInfoArray
	call _Z13Menu_PaintAllP9UiContext
	mov edx, [sharedUiInfo+0x72f0]
	test edx, edx
	jz _Z10UI_Refreshi_20
	mov eax, [ui_netSource]
	mov eax, [eax+0xc]
	cmp eax, 0x2
	jz _Z10UI_Refreshi_30
	test eax, eax
	jz _Z10UI_Refreshi_40
	mov [esp], eax
	call _Z22LAN_WaitServerResponsei
	test eax, eax
	jnz _Z10UI_Refreshi_50
_Z10UI_Refreshi_30:
	xor ebx, ebx
_Z10UI_Refreshi_160:
	mov eax, [uiInfoArray+0x8]
	cmp eax, [sharedUiInfo+0x72dc]
	jge _Z10UI_Refreshi_60
	test ebx, ebx
	jnz _Z10UI_Refreshi_20
_Z10UI_Refreshi_60:
	mov eax, [ui_netSource]
	mov eax, [eax+0xc]
	mov [esp], eax
	call _Z18LAN_GetServerCounti
	cmp eax, [sharedUiInfo+0x1ab7c]
	jz _Z10UI_Refreshi_70
	mov [sharedUiInfo+0x1ab7c], eax
	mov eax, [sharedUiInfo+0x1ab78]
	test eax, eax
	jnz _Z10UI_Refreshi_80
_Z10UI_Refreshi_70:
	mov eax, [ui_netSource]
	mov eax, [eax+0xc]
	mov [esp+0x4], eax
	mov eax, [uiInfoArray]
	mov [esp], eax
	call _Z20LAN_UpdateDirtyPingsii
	test eax, eax
	jz _Z10UI_Refreshi_90
	mov eax, [uiInfoArray+0x8]
	add eax, 0x7d0
	mov [sharedUiInfo+0x72dc], eax
_Z10UI_Refreshi_190:
	mov dword [esp+0x4], 0x0
	mov dword [esp], uiInfoArray
	call _Z25UI_BuildServerDisplayListP8uiInfo_si
_Z10UI_Refreshi_20:
	xor edx, edx
	mov eax, uiInfoArray
	call _Z20UI_BuildServerStatusP8uiInfo_si
	call _Z22UI_BuildFindPlayerListv
	call _Z30CL_AllLocalClientsDisconnectedv
	test al, al
	jnz _Z10UI_Refreshi_100
_Z10UI_Refreshi_130:
	mov eax, [uiInfoArray+0x18]
	test eax, eax
	jnz _Z10UI_Refreshi_110
_Z10UI_Refreshi_10:
	mov dword [esp], uiInfoArray
	call _Z15Menu_GetFocusedP9UiContext
	test eax, eax
	jz _Z10UI_Refreshi_120
_Z10UI_Refreshi_170:
	add esp, 0x4c
	pop ebx
	pop esi
	pop edi
	pop ebp
	ret
_Z10UI_Refreshi_100:
	mov eax, clientUIActives
	mov eax, [eax+0xc]
	test eax, eax
	jnz _Z10UI_Refreshi_130
	mov eax, [ui_buildLocation]
	movss xmm0, dword [eax+0x10]
	movss [ebp-0x20], xmm0
	mov edi, [eax+0xc]
	mov eax, [ui_buildSize]
	movss xmm0, dword [eax+0xc]
	movss [ebp-0x1c], xmm0
	mov eax, [ebp+0x8]
	shl eax, 0x6
	mov edx, [ebp+0x8]
	lea ebx, [eax+edx*4]
	add ebx, scrPlaceView
	movaps xmm1, xmm0
	mulss xmm1, [ebx+0x4]
	mov eax, [ui_smallFont]
	movss xmm0, dword [eax+0xc]
	ucomiss xmm0, xmm1
	jb _Z10UI_Refreshi_140
	mov esi, [sharedUiInfo+0x2c]
_Z10UI_Refreshi_220:
	call getBuildNumberAsInt
	mov [esp+0x8], eax
	mov dword [esp+0x4], _cstring_17
	mov dword [esp], _cstring_si
	call _Z2vaPKcz
	mov dword [esp+0x28], 0x0
	mov edx, colorMdGrey
	mov [esp+0x24], edx
	movss xmm0, dword [ebp-0x1c]
	movss [esp+0x20], xmm0
	mov dword [esp+0x1c], 0x0
	mov dword [esp+0x18], 0x3
	movss xmm0, dword [ebp-0x20]
	movss [esp+0x14], xmm0
	mov [esp+0x10], edi
	mov [esp+0xc], esi
	mov dword [esp+0x8], 0x40
	mov [esp+0x4], eax
	mov [esp], ebx
	call _Z11UI_DrawTextPK15ScreenPlacementPKciP6Font_sffiifPKfi
	mov eax, [uiInfoArray+0x18]
	test eax, eax
	jz _Z10UI_Refreshi_10
_Z10UI_Refreshi_110:
	mov dword [esp], _cstring_cl_bypassmousein
	call _Z12Dvar_GetBoolPKc
	test al, al
	jnz _Z10UI_Refreshi_150
	cmp dword [uiInfoArray+0x18a0], 0xa
	jz _Z10UI_Refreshi_150
	xor eax, eax
_Z10UI_Refreshi_180:
	test eax, eax
	jnz _Z10UI_Refreshi_10
	mov eax, scrPlaceFull
	movss xmm0, dword [_float_32_00000000]
	movss xmm1, dword [eax]
	mulss xmm1, xmm0
	divss xmm1, dword [eax+0x8]
	mulss xmm0, [eax+0x4]
	divss xmm0, dword [eax+0xc]
	mov eax, [sharedUiInfo+0x24]
	mov [esp+0x20], eax
	mov dword [esp+0x1c], 0x0
	mov dword [esp+0x18], 0x4
	mov dword [esp+0x14], 0x4
	movss [esp+0x10], xmm0
	movss [esp+0xc], xmm1
	movss xmm2, dword [_float__0_50000000]
	mulss xmm0, xmm2
	addss xmm0, [uiInfoArray+0x14]
	movss [esp+0x8], xmm0
	mulss xmm1, xmm2
	addss xmm1, [uiInfoArray+0x10]
	movss [esp+0x4], xmm1
	mov eax, [ebp+0x8]
	shl eax, 0x6
	mov edx, [ebp+0x8]
	lea eax, [eax+edx*4]
	add eax, scrPlaceView
	mov [esp], eax
	call _Z16UI_DrawHandlePicPK15ScreenPlacementffffiiPKfP8Material
	jmp _Z10UI_Refreshi_10
_Z10UI_Refreshi_40:
	mov dword [esp], 0x0
	call _Z18LAN_GetServerCounti
	test eax, eax
	jnz _Z10UI_Refreshi_30
_Z10UI_Refreshi_50:
	mov ebx, 0x1
	jmp _Z10UI_Refreshi_160
_Z10UI_Refreshi_120:
	mov dword [esp+0x4], 0x10
	mov eax, [ebp+0x8]
	mov [esp], eax
	call _Z19Key_IsCatcherActiveii
	test al, al
	jz _Z10UI_Refreshi_170
	mov dword [esp+0x4], 0xffffffef
	mov edx, [ebp+0x8]
	mov [esp], edx
	call _Z17Key_RemoveCatcherii
	jmp _Z10UI_Refreshi_170
_Z10UI_Refreshi_150:
	mov eax, 0x1
	jmp _Z10UI_Refreshi_180
_Z10UI_Refreshi_90:
	test ebx, ebx
	jnz _Z10UI_Refreshi_190
	mov dword [esp+0x4], 0x2
	mov dword [esp], uiInfoArray
	call _Z25UI_BuildServerDisplayListP8uiInfo_si
	mov eax, [sharedUiInfo+0x72f0]
	test eax, eax
	jz _Z10UI_Refreshi_190
	mov dword [sharedUiInfo+0x72f0], 0x0
	mov eax, [sharedUiInfo+0x1ab80]
	mov [esp+0xc], eax
	mov eax, [sharedUiInfo+0x1ab78]
	mov [esp+0x8], eax
	mov dword [esp+0x4], _cstring_d_servers_listed
	mov dword [esp], 0xd
	call _Z10Com_PrintfiPKcz
	mov eax, [ui_netSource]
	mov eax, [eax+0xc]
	mov [esp], eax
	call _Z18LAN_GetServerCounti
	sub eax, [sharedUiInfo+0x1ab78]
	test eax, eax
	jle _Z10UI_Refreshi_190
	mov [esp+0x8], eax
	mov dword [esp+0x4], _cstring_d_servers_not_li
	mov dword [esp], 0xd
	call _Z10Com_PrintfiPKcz
	jmp _Z10UI_Refreshi_190
_Z10UI_Refreshi_140:
	mov eax, [ui_extraBigFont]
	ucomiss xmm1, [eax+0xc]
	jae _Z10UI_Refreshi_200
	mov eax, [ui_bigFont]
	ucomiss xmm1, [eax+0xc]
	jb _Z10UI_Refreshi_210
	mov esi, [sharedUiInfo+0x28]
	jmp _Z10UI_Refreshi_220
_Z10UI_Refreshi_200:
	mov esi, [sharedUiInfo+0x3c]
	jmp _Z10UI_Refreshi_220
_Z10UI_Refreshi_80:
	mov dword [sharedUiInfo+0x72f4], 0xffffffff
	mov dword [esp+0x4], 0x1
	mov dword [esp], uiInfoArray
	call _Z25UI_BuildServerDisplayListP8uiInfo_si
	jmp _Z10UI_Refreshi_70
_Z10UI_Refreshi_210:
	mov esi, [sharedUiInfo+0x38]
	jmp _Z10UI_Refreshi_220


;UI_CloseAll(int)
_Z11UI_CloseAlli:
	push ebp
	mov ebp, esp
	sub esp, 0x18
	mov dword [esp], uiInfoArray
	call _Z14Menus_CloseAllP9UiContext
	mov dword [esp+0x4], 0x0
	mov eax, [ebp+0x8]
	mov [esp], eax
	call _Z16UI_SetActiveMenuii
	leave
	ret
	nop


;UI_DrawRect(ScreenPlacement const*, float, float, float, float, int, int, float, float const*)
_Z11UI_DrawRectPK15ScreenPlacementffffiifPKf:
	push ebp
	mov ebp, esp
	push edi
	push esi
	push ebx
	sub esp, 0x6c
	mov edi, [ebp+0x20]
	mov esi, [ebp+0x28]
	mov eax, [sharedUiInfo+0x20]
	mov [esp+0x30], eax
	mov [esp+0x2c], esi
	xor ebx, ebx
	mov [esp+0x28], ebx
	mov [esp+0x24], ebx
	mov [esp+0x20], ebx
	mov [esp+0x1c], ebx
	mov [esp+0x18], edi
	mov eax, [ebp+0x1c]
	mov [esp+0x14], eax
	movss xmm0, dword [ebp+0x24]
	movss [esp+0x10], xmm0
	movss xmm1, dword [ebp+0x14]
	movss [esp+0xc], xmm1
	movss xmm0, dword [ebp+0x10]
	movss [esp+0x8], xmm0
	movss xmm1, dword [ebp+0xc]
	movss [esp+0x4], xmm1
	mov eax, [ebp+0x8]
	mov [esp], eax
	call _Z17CL_DrawStretchPicPK15ScreenPlacementffffiiffffPKfP8Material
	mov eax, [sharedUiInfo+0x20]
	mov [esp+0x30], eax
	mov [esp+0x2c], esi
	mov [esp+0x28], ebx
	mov [esp+0x24], ebx
	mov [esp+0x20], ebx
	mov [esp+0x1c], ebx
	mov [esp+0x18], edi
	mov eax, [ebp+0x1c]
	mov [esp+0x14], eax
	movss xmm0, dword [ebp+0x24]
	movss [esp+0x10], xmm0
	movss xmm1, dword [ebp+0x14]
	movss [esp+0xc], xmm1
	movss xmm0, dword [ebp+0x10]
	addss xmm0, [ebp+0x18]
	subss xmm0, [ebp+0x24]
	movss [esp+0x8], xmm0
	movss xmm0, dword [ebp+0xc]
	movss [esp+0x4], xmm0
	mov eax, [ebp+0x8]
	mov [esp], eax
	call _Z17CL_DrawStretchPicPK15ScreenPlacementffffiiffffPKfP8Material
	movss xmm0, dword [ebp+0x24]
	mulss xmm0, [_float__2_00000000]
	addss xmm0, [ebp+0x18]
	movss xmm1, dword [ebp+0x10]
	addss xmm1, [ebp+0x24]
	movss [ebp-0x1c], xmm1
	mov eax, [sharedUiInfo+0x20]
	mov [esp+0x30], eax
	mov [esp+0x2c], esi
	mov [esp+0x28], ebx
	mov [esp+0x24], ebx
	mov [esp+0x20], ebx
	mov [esp+0x1c], ebx
	mov [esp+0x18], edi
	mov eax, [ebp+0x1c]
	mov [esp+0x14], eax
	movss [esp+0x10], xmm0
	movss xmm1, dword [ebp+0x24]
	movss [esp+0xc], xmm1
	movss xmm1, dword [ebp-0x1c]
	movss [esp+0x8], xmm1
	movss xmm1, dword [ebp+0xc]
	movss [esp+0x4], xmm1
	mov eax, [ebp+0x8]
	mov [esp], eax
	movss [ebp-0x38], xmm0
	call _Z17CL_DrawStretchPicPK15ScreenPlacementffffiiffffPKfP8Material
	mov eax, [sharedUiInfo+0x20]
	mov [esp+0x30], eax
	mov [esp+0x2c], esi
	mov [esp+0x28], ebx
	mov [esp+0x24], ebx
	mov [esp+0x20], ebx
	mov [esp+0x1c], ebx
	mov [esp+0x18], edi
	mov eax, [ebp+0x1c]
	mov [esp+0x14], eax
	movss xmm0, dword [ebp-0x38]
	movss [esp+0x10], xmm0
	movss xmm0, dword [ebp+0x24]
	movss [esp+0xc], xmm0
	movss xmm1, dword [ebp-0x1c]
	movss [esp+0x8], xmm1
	movss xmm0, dword [ebp+0xc]
	addss xmm0, [ebp+0x14]
	movss [ebp+0xc], xmm0
	subss xmm0, [ebp+0x24]
	movss [esp+0x4], xmm0
	mov eax, [ebp+0x8]
	mov [esp], eax
	call _Z17CL_DrawStretchPicPK15ScreenPlacementffffiiffffPKfP8Material
	add esp, 0x6c
	pop ebx
	pop esi
	pop edi
	pop ebp
	ret
	nop


;UI_DrawText(ScreenPlacement const*, char const*, int, Font_s*, float, float, int, int, float, float const*, int)
_Z11UI_DrawTextPK15ScreenPlacementPKciP6Font_sffiifPKfi:
	push ebp
	mov ebp, esp
	push ebx
	sub esp, 0x54
	mov ebx, [ebp+0x14]
	mov eax, [ebp+0x28]
	mov [esp+0x4], eax
	mov [esp], ebx
	call _Z21R_NormalizedTextScaleP6Font_sf
	fst dword [ebp-0xc]
	fstp dword [ebp-0x10]
	mov eax, [ebp+0x24]
	mov [esp+0x18], eax
	mov eax, [ebp+0x20]
	mov [esp+0x14], eax
	lea eax, [ebp-0x10]
	mov [esp+0x10], eax
	lea eax, [ebp-0xc]
	mov [esp+0xc], eax
	lea eax, [ebp+0x1c]
	mov [esp+0x8], eax
	lea eax, [ebp+0x18]
	mov [esp+0x4], eax
	mov eax, [ebp+0x8]
	mov [esp], eax
	call _Z18ScrPlace_ApplyRectPK15ScreenPlacementPfS2_S2_S2_ii
	movss xmm1, dword [_float_0_50000000]
	movss xmm0, dword [ebp+0x18]
	addss xmm0, xmm1
	movss [esp], xmm0
	movss [ebp-0x28], xmm1
	call floorf
	fstp dword [esp+0xc]
	movss xmm0, dword [esp+0xc]
	movss [ebp+0x18], xmm0
	movss xmm1, dword [ebp-0x28]
	addss xmm1, [ebp+0x1c]
	movss [esp], xmm1
	call floorf
	fst dword [ebp+0x1c]
	mov eax, [ebp+0x30]
	mov [esp+0x20], eax
	mov eax, [ebp+0x2c]
	mov [esp+0x1c], eax
	mov eax, [ebp-0x10]
	mov [esp+0x18], eax
	mov eax, [ebp-0xc]
	mov [esp+0x14], eax
	fstp dword [esp+0x10]
	mov [esp+0x8], ebx
	mov eax, [ebp+0x10]
	mov [esp+0x4], eax
	mov eax, [ebp+0xc]
	mov [esp], eax
	call _Z19CL_DrawTextPhysicalPKciP6Font_sffffPKfi
	add esp, 0x54
	pop ebx
	pop ebp
	ret


;UI_KeyEvent(int, int, int)
_Z11UI_KeyEventiii:
	push ebp
	mov ebp, esp
	push edi
	push esi
	push ebx
	sub esp, 0x2c
	mov eax, [ebp+0x8]
	mov [ebp-0x1c], eax
	mov esi, [ebp+0xc]
	mov edi, [ebp+0x10]
	mov dword [esp], uiInfoArray
	call _Z10Menu_CountP9UiContext
	test eax, eax
	jnz _Z11UI_KeyEventiii_10
_Z11UI_KeyEventiii_60:
	add esp, 0x2c
	pop ebx
	pop esi
	pop edi
	pop ebp
	ret
_Z11UI_KeyEventiii_10:
	mov dword [esp], uiInfoArray
	call _Z15Menu_GetFocusedP9UiContext
	mov ebx, eax
	test eax, eax
	jz _Z11UI_KeyEventiii_20
	mov dword [esp], _cstring_cl_bypassmousein
	call _Z12Dvar_GetBoolPKc
	test al, al
	jz _Z11UI_KeyEventiii_30
_Z11UI_KeyEventiii_80:
	mov edx, 0x1
	mov eax, 0x1
	test edx, edx
	cmovz eax, [_ZZ11UI_KeyEventiiiE14bypassKeyClear]
	mov [_ZZ11UI_KeyEventiiiE14bypassKeyClear], eax
	cmp esi, 0x1b
	jz _Z11UI_KeyEventiii_40
_Z11UI_KeyEventiii_90:
	mov dword [esp+0x4], 0x10
	mov eax, [uiInfoArray]
	mov [esp], eax
	call _Z19Key_IsCatcherActiveii
	test al, al
	jnz _Z11UI_KeyEventiii_50
_Z11UI_KeyEventiii_100:
	mov dword [esp], uiInfoArray
	call _Z15Menu_GetFocusedP9UiContext
	test eax, eax
	jnz _Z11UI_KeyEventiii_60
_Z11UI_KeyEventiii_20:
	mov dword [esp+0x4], 0x10
	mov eax, [uiInfoArray]
	mov [esp], eax
	call _Z19Key_IsCatcherActiveii
	test al, al
	jz _Z11UI_KeyEventiii_60
	mov dword [esp+0x4], 0xffffffef
	mov eax, [ebp-0x1c]
	mov [esp], eax
	call _Z17Key_RemoveCatcherii
	mov ecx, [_ZZ11UI_KeyEventiiiE14bypassKeyClear]
	test ecx, ecx
	jz _Z11UI_KeyEventiii_70
_Z11UI_KeyEventiii_110:
	mov dword [_ZZ11UI_KeyEventiiiE14bypassKeyClear], 0x0
	mov dword [ebp+0xc], 0x0
	mov dword [ebp+0x8], _cstring_cl_paused
	add esp, 0x2c
	pop ebx
	pop esi
	pop edi
	pop ebp
	jmp _Z17Dvar_SetIntByNamePKci
_Z11UI_KeyEventiii_30:
	cmp dword [uiInfoArray+0x18a0], 0xa
	jz _Z11UI_KeyEventiii_80
	xor edx, edx
	mov eax, 0x1
	test edx, edx
	cmovz eax, [_ZZ11UI_KeyEventiiiE14bypassKeyClear]
	mov [_ZZ11UI_KeyEventiiiE14bypassKeyClear], eax
	cmp esi, 0x1b
	jnz _Z11UI_KeyEventiii_90
_Z11UI_KeyEventiii_40:
	test edi, edi
	jz _Z11UI_KeyEventiii_90
	mov dword [esp], uiInfoArray
	call _Z26Menus_AnyFullScreenVisibleP9UiContext
	test eax, eax
	jnz _Z11UI_KeyEventiii_90
	mov eax, [ebx+0xcc]
	test eax, eax
	jnz _Z11UI_KeyEventiii_90
	mov dword [esp], uiInfoArray
	call _Z14Menus_CloseAllP9UiContext
	jmp _Z11UI_KeyEventiii_90
_Z11UI_KeyEventiii_50:
	mov [esp+0xc], edi
	mov [esp+0x8], esi
	mov [esp+0x4], ebx
	mov dword [esp], uiInfoArray
	call _Z14Menu_HandleKeyP9UiContextP9menuDef_tii
	jmp _Z11UI_KeyEventiii_100
_Z11UI_KeyEventiii_70:
	mov eax, [ebp-0x1c]
	mov [esp], eax
	call _Z15Key_ClearStatesi
	jmp _Z11UI_KeyEventiii_110


;UI_Shutdown(int)
_Z11UI_Shutdowni:
	push ebp
	mov ebp, esp
	sub esp, 0x18
	mov dword [esp], uiInfoArray
	call _Z14Menus_CloseAllP9UiContext
	mov dword [sharedUiInfo+0x20], 0x0
	mov dword [esp], uiInfoArray+0xa78
	call _Z19UILocalVar_ShutdownP17UILocalVarContext
	mov eax, useFastFile
	mov eax, [eax]
	cmp byte [eax+0xc], 0x0
	jnz _Z11UI_Shutdowni_10
	mov dword [esp], uiInfoArray
	call _Z19Menus_FreeAllMemoryP9UiContext
_Z11UI_Shutdowni_10:
	leave
	jmp _Z22LAN_SaveServersToCachev
	nop


;UI_DrawSides(ScreenPlacement const*, float, float, float, float, int, int, float, float const*)
_Z12UI_DrawSidesPK15ScreenPlacementffffiifPKf:
	push ebp
	mov ebp, esp
	push edi
	push esi
	push ebx
	sub esp, 0x5c
	movss xmm0, dword [ebp+0xc]
	mov edi, [ebp+0x20]
	mov esi, [ebp+0x28]
	mov eax, [sharedUiInfo+0x20]
	mov [esp+0x30], eax
	mov [esp+0x2c], esi
	xor ebx, ebx
	mov [esp+0x28], ebx
	mov [esp+0x24], ebx
	mov [esp+0x20], ebx
	mov [esp+0x1c], ebx
	mov [esp+0x18], edi
	mov eax, [ebp+0x1c]
	mov [esp+0x14], eax
	movss xmm1, dword [ebp+0x18]
	movss [esp+0x10], xmm1
	movss xmm1, dword [ebp+0x24]
	movss [esp+0xc], xmm1
	movss xmm1, dword [ebp+0x10]
	movss [esp+0x8], xmm1
	movss [esp+0x4], xmm0
	mov eax, [ebp+0x8]
	mov [esp], eax
	movss [ebp-0x28], xmm0
	call _Z17CL_DrawStretchPicPK15ScreenPlacementffffiiffffPKfP8Material
	mov eax, [sharedUiInfo+0x20]
	mov [esp+0x30], eax
	mov [esp+0x2c], esi
	mov [esp+0x28], ebx
	mov [esp+0x24], ebx
	mov [esp+0x20], ebx
	mov [esp+0x1c], ebx
	mov [esp+0x18], edi
	mov eax, [ebp+0x1c]
	mov [esp+0x14], eax
	movss xmm1, dword [ebp+0x18]
	movss [esp+0x10], xmm1
	movss xmm1, dword [ebp+0x24]
	movss [esp+0xc], xmm1
	movss xmm1, dword [ebp+0x10]
	movss [esp+0x8], xmm1
	movss xmm0, dword [ebp-0x28]
	addss xmm0, [ebp+0x14]
	subss xmm0, [ebp+0x24]
	movss [esp+0x4], xmm0
	mov eax, [ebp+0x8]
	mov [esp], eax
	call _Z17CL_DrawStretchPicPK15ScreenPlacementffffiiffffPKfP8Material
	add esp, 0x5c
	pop ebx
	pop esi
	pop edi
	pop ebp
	ret


;UI_OwnerDraw(int, float, float, float, float, int, int, float, float, int, int, int, float, Font_s*, float, float*, Material*, int, rectDef_s, int)
_Z12UI_OwnerDrawiffffiiffiiifP6Font_sfPfP8Materiali9rectDef_si:
	push ebp
	mov ebp, esp
	push edi
	push esi
	push ebx
	sub esp, 0xb5c
	mov eax, [ebp+0x64]
	mov [ebp-0xacc], eax
	mov edx, [ebp+0x60]
	mov [ebp-0xad0], edx
	mov ebx, [ebp+0x5c]
	mov esi, [ebp+0x58]
	mov edi, [ebp+0x54]
	movss xmm0, dword [ebp+0x50]
	movss [ebp-0xad4], xmm0
	mov eax, [ebp+0x8]
	mov [esp], eax
	call _Z21CL_IsCgameInitializedi
	test eax, eax
	jnz _Z12UI_OwnerDrawiffffiiffiiifP6Font_sfPfP8Materiali9rectDef_si_10
_Z12UI_OwnerDrawiffffiiffiiifP6Font_sfPfP8Materiali9rectDef_si_70:
	movss xmm0, dword [ebp+0xc]
	addss xmm0, [ebp+0x24]
	movss [ebp-0x60], xmm0
	movss xmm0, dword [ebp+0x10]
	addss xmm0, [ebp+0x28]
	movss [ebp-0x5c], xmm0
	movss xmm0, dword [ebp+0x14]
	movss [ebp-0x58], xmm0
	movss xmm0, dword [ebp+0x18]
	movss [ebp-0x54], xmm0
	mov eax, [ebp+0x1c]
	mov [ebp-0x50], eax
	mov edx, [ebp+0x20]
	mov [ebp-0x4c], edx
	mov eax, [ebp+0x2c]
	sub eax, 0xcd
	cmp eax, 0x41
	ja _Z12UI_OwnerDrawiffffiiffiiifP6Font_sfPfP8Materiali9rectDef_si_20
	jmp dword [eax*4+_Z12UI_OwnerDrawiffffiiffiiifP6Font_sfPfP8Materiali9rectDef_si_jumptab_0]
_Z12UI_OwnerDrawiffffiiffiiifP6Font_sfPfP8Materiali9rectDef_si_290:
	mov edx, [sharedUiInfo+0x72f0]
	test edx, edx
	jz _Z12UI_OwnerDrawiffffiiffiiifP6Font_sfPfP8Materiali9rectDef_si_30
	movss xmm0, dword [_float_0_80000001]
	mov edi, [ebp+0x44]
	movss xmm1, dword [edi]
	mulss xmm1, xmm0
	movss [ebp-0x30], xmm1
	movss xmm1, dword [edi+0x4]
	mulss xmm1, xmm0
	movss [ebp-0x2c], xmm1
	movss xmm1, dword [edi+0x8]
	mulss xmm1, xmm0
	movss [ebp-0x28], xmm1
	mulss xmm0, [edi+0xc]
	movss [ebp-0x24], xmm0
	mov ecx, [uiInfoArray+0x8]
	mov edx, 0x1b4e81b5
	mov eax, ecx
	imul edx
	sar edx, 0x3
	mov eax, ecx
	sar eax, 0x1f
	sub edx, eax
	cvtsi2ss xmm0, edx
	cvtss2sd xmm0, xmm0
	movsd [esp], xmm0
	call sin
	fstp qword [ebp-0xaf0]
	movsd xmm0, qword [ebp-0xaf0]
	movsd xmm1, qword [_double_0_50000000]
	mulsd xmm0, xmm1
	addsd xmm0, xmm1
	cvtsd2ss xmm0, xmm0
	movss [esp+0xc], xmm0
	lea edx, [ebp-0xc8]
	mov [esp+0x8], edx
	lea eax, [ebp-0x30]
	mov [esp+0x4], eax
	mov [esp], edi
	call _Z9LerpColorPfS_S_f
	mov eax, [ui_netSource]
	mov eax, [eax+0xc]
	mov [esp], eax
	call _Z22LAN_WaitServerResponsei
	mov esi, eax
	test eax, eax
	jnz _Z12UI_OwnerDrawiffffiiffiiifP6Font_sfPfP8Materiali9rectDef_si_40
	mov eax, [ui_netSource]
	mov eax, [eax+0xc]
	mov [esp], eax
	call _Z18LAN_GetServerCounti
	mov edi, eax
	mov dword [esp], _cstring_exe_gettinginfof
	call _Z22UI_SafeTranslateStringPKc
	mov ebx, eax
	mov dword [esp+0x8], 0x400
	mov [esp+0x4], eax
	lea eax, [ebp-0xac8]
	mov [esp], eax
	call _Z10I_strncpyzPcPKci
	mov dword [esp+0x4], _cstring_1
	mov [esp], ebx
	call strstr
	test eax, eax
	jz _Z12UI_OwnerDrawiffffiiffiiifP6Font_sfPfP8Materiali9rectDef_si_50
	sub eax, ebx
	mov byte [ebp+eax-0xac5], 0x2f
	mov byte [ebp+eax-0xac4], 0x26
	mov byte [ebp+eax-0xac3], 0x26
	mov byte [ebp+eax-0xac2], 0x32
	add eax, 0x7
	mov edx, 0x400
	sub edx, eax
	mov [esp+0x8], edx
	lea edx, [ebx+eax-0x4]
	mov [esp+0x4], edx
	lea edx, [ebp-0xac8]
	lea eax, [edx+eax]
	mov [esp], eax
	call _Z10I_strncpyzPcPKci
_Z12UI_OwnerDrawiffffiiffiiifP6Font_sfPfP8Materiali9rectDef_si_50:
	mov eax, cls
	mov eax, [eax+0x4b4c]
	mov [ebp-0x20], eax
	mov [ebp-0x1c], edi
	cld
	mov ecx, 0xa
	lea edi, [ebp-0x88]
	mov eax, esi
	rep stosd
	mov dword [ebp-0x88], 0x2
	xor edi, edi
	lea esi, [ebp-0x2c8]
_Z12UI_OwnerDrawiffffiiffiiifP6Font_sfPfP8Materiali9rectDef_si_60:
	lea ebx, [edi*4]
	mov eax, [ebp+ebx-0x20]
	mov [esp+0x8], eax
	mov dword [esp+0x4], _cstring_d
	mov [esp], esi
	call sprintf
	mov [ebp+ebx-0x84], esi
	add edi, 0x1
	add esi, 0x20
	cmp edi, 0x2
	jnz _Z12UI_OwnerDrawiffffiiffiiifP6Font_sfPfP8Materiali9rectDef_si_60
	mov dword [esp+0xc], 0x400
	lea ebx, [ebp-0x6c8]
	mov [esp+0x8], ebx
	lea edx, [ebp-0x88]
	mov [esp+0x4], edx
	lea edi, [ebp-0xac8]
	mov [esp], edi
	call _Z21UI_ReplaceConversionsPKcP19ConversionArgumentsPci
	mov [esp], ebx
	call _Z2vaPKcz
	mov edx, eax
_Z12UI_OwnerDrawiffffiiffiiifP6Font_sfPfP8Materiali9rectDef_si_230:
	mov eax, [ebp+0x4c]
	mov [esp+0x28], eax
	lea edi, [ebp-0xc8]
	mov [esp+0x24], edi
	movss xmm0, dword [ebp+0x40]
	movss [esp+0x20], xmm0
	mov eax, [ebp-0x4c]
	mov [esp+0x1c], eax
	mov eax, [ebp-0x50]
	mov [esp+0x18], eax
	mov eax, [ebp-0x5c]
	mov [esp+0x14], eax
	mov eax, [ebp-0x60]
	mov [esp+0x10], eax
	mov eax, [ebp+0x3c]
	mov [esp+0xc], eax
	mov dword [esp+0x8], 0x7fffffff
	mov [esp+0x4], edx
	mov eax, [ebp+0x8]
	shl eax, 0x6
	mov edx, [ebp+0x8]
	lea eax, [eax+edx*4]
	add eax, scrPlaceView
	mov [esp], eax
	call _Z11UI_DrawTextPK15ScreenPlacementPKciP6Font_sffiifPKfi
_Z12UI_OwnerDrawiffffiiffiiifP6Font_sfPfP8Materiali9rectDef_si_20:
	add esp, 0xb5c
	pop ebx
	pop esi
	pop edi
	pop ebp
	ret
_Z12UI_OwnerDrawiffffiiffiiifP6Font_sfPfP8Materiali9rectDef_si_10:
	mov edx, [ebp-0xacc]
	mov [ebp-0x34], edx
	mov eax, [ebp-0xad0]
	mov [ebp-0x38], eax
	mov [ebp-0x3c], ebx
	mov [ebp-0x40], esi
	mov [ebp-0x44], edi
	movss xmm0, dword [ebp-0xad4]
	movss [ebp-0x48], xmm0
	mov eax, [ebp+0x68]
	mov [esp+0x60], eax
	mov edx, [ebp+0x4c]
	mov [esp+0x5c], edx
	mov edi, [ebp+0x48]
	mov [esp+0x58], edi
	mov eax, [ebp+0x44]
	mov [esp+0x54], eax
	movss xmm0, dword [ebp+0x40]
	movss [esp+0x50], xmm0
	mov eax, [ebp+0x3c]
	mov [esp+0x4c], eax
	movss xmm0, dword [ebp+0x38]
	movss [esp+0x48], xmm0
	mov eax, [ebp+0x34]
	mov [esp+0x44], eax
	mov edx, [ebp+0x30]
	mov [esp+0x40], edx
	mov edi, [ebp+0x2c]
	mov [esp+0x3c], edi
	movss xmm0, dword [ebp+0x28]
	movss [esp+0x38], xmm0
	movss xmm0, dword [ebp+0x24]
	movss [esp+0x34], xmm0
	mov eax, [ebp+0x20]
	mov [esp+0x30], eax
	mov edx, [ebp+0x1c]
	mov [esp+0x2c], edx
	movss xmm0, dword [ebp+0x18]
	movss [esp+0x28], xmm0
	movss xmm0, dword [ebp+0x14]
	movss [esp+0x24], xmm0
	movss xmm0, dword [ebp+0x10]
	movss [esp+0x20], xmm0
	movss xmm0, dword [ebp+0xc]
	movss [esp+0x1c], xmm0
	mov eax, [ebp-0x48]
	mov [esp+0x4], eax
	mov eax, [ebp-0x44]
	mov [esp+0x8], eax
	mov eax, [ebp-0x40]
	mov [esp+0xc], eax
	mov eax, [ebp-0x3c]
	mov [esp+0x10], eax
	mov eax, [ebp-0xad0]
	mov [esp+0x14], eax
	mov edx, [ebp-0xacc]
	mov [esp+0x18], edx
	mov edi, [ebp+0x8]
	mov [esp], edi
	call _Z12CG_OwnerDrawi9rectDef_sffffiiffiiifP6Font_sfPfP8Materialii
	jmp _Z12UI_OwnerDrawiffffiiffiiifP6Font_sfPfP8Materiali9rectDef_si_70
_Z12UI_OwnerDrawiffffiiffiiifP6Font_sfPfP8Materiali9rectDef_si_250:
	mov eax, [ui_gametype]
	mov eax, [eax+0xc]
	mov eax, [eax*8+sharedUiInfo+0x1154]
	cmp byte [eax], 0x0
	mov edx, _cstring_exe_all
	cmovz eax, edx
	mov [esp], eax
	call _Z22UI_SafeTranslateStringPKc
	mov edi, [ebp+0x4c]
	mov [esp+0x28], edi
	mov edx, [ebp+0x44]
	mov [esp+0x24], edx
_Z12UI_OwnerDrawiffffiiffiiifP6Font_sfPfP8Materiali9rectDef_si_80:
	movss xmm0, dword [ebp+0x40]
	movss [esp+0x20], xmm0
	mov edx, [ebp-0x4c]
	mov [esp+0x1c], edx
	mov edx, [ebp-0x50]
	mov [esp+0x18], edx
	mov edx, [ebp-0x5c]
	mov [esp+0x14], edx
	mov edx, [ebp-0x60]
	mov [esp+0x10], edx
_Z12UI_OwnerDrawiffffiiffiiifP6Font_sfPfP8Materiali9rectDef_si_110:
	mov edx, [ebp+0x3c]
	mov [esp+0xc], edx
	mov dword [esp+0x8], 0x7fffffff
	mov [esp+0x4], eax
	mov eax, [ebp+0x8]
	shl eax, 0x6
	mov edi, [ebp+0x8]
	lea eax, [eax+edi*4]
	add eax, scrPlaceView
	mov [esp], eax
	call _Z11UI_DrawTextPK15ScreenPlacementPKciP6Font_sffiifPKfi
	add esp, 0xb5c
	pop ebx
	pop esi
	pop edi
	pop ebp
	ret
_Z12UI_OwnerDrawiffffiiffiiifP6Font_sfPfP8Materiali9rectDef_si_260:
	mov eax, [ui_netSource]
	mov eax, [eax+0xc]
	mov eax, [eax*4+netSources]
	mov [esp+0x4], eax
	mov dword [esp], _cstring_exe_netsources
	call _Z2vaPKcz
	mov dword [esp+0x8], 0x0
	mov dword [esp+0x4], _cstring_net_source
_Z12UI_OwnerDrawiffffiiffiiifP6Font_sfPfP8Materiali9rectDef_si_90:
	mov [esp], eax
	call _Z23SEH_LocalizeTextMessagePKcS0_15msgLocErrType_t
	mov edx, [ebp+0x4c]
	mov [esp+0x28], edx
	mov edi, [ebp+0x44]
	mov [esp+0x24], edi
	jmp _Z12UI_OwnerDrawiffffiiffiiifP6Font_sfPfP8Materiali9rectDef_si_80
_Z12UI_OwnerDrawiffffiiffiiifP6Font_sfPfP8Materiali9rectDef_si_270:
	xor eax, eax
	cmp dword [ui_serverFilterType], 0x2
	cmovb eax, [ui_serverFilterType]
	mov [ui_serverFilterType], eax
	mov eax, [eax*8+serverFilters]
	mov [esp+0x4], eax
	mov dword [esp], _cstring_exe_serverfilter
	call _Z2vaPKcz
	mov dword [esp+0x8], 0x0
	mov dword [esp+0x4], _cstring_server_filter
	jmp _Z12UI_OwnerDrawiffffiiffiiifP6Font_sfPfP8Materiali9rectDef_si_90
_Z12UI_OwnerDrawiffffiiffiiifP6Font_sfPfP8Materiali9rectDef_si_280:
	mov edx, [ui_netGameType]
	mov eax, [edx+0xc]
	cmp eax, [sharedUiInfo+0x114c]
	jg _Z12UI_OwnerDrawiffffiiffiiifP6Font_sfPfP8Materiali9rectDef_si_100
_Z12UI_OwnerDrawiffffiiffiiifP6Font_sfPfP8Materiali9rectDef_si_210:
	mov eax, [eax*8+sharedUiInfo+0x1154]
_Z12UI_OwnerDrawiffffiiffiiifP6Font_sfPfP8Materiali9rectDef_si_130:
	cmp byte [eax], 0x0
	mov edx, _cstring_exe_all
	cmovz eax, edx
	mov [esp], eax
	call _Z22UI_SafeTranslateStringPKc
	mov edx, [ebp+0x4c]
	mov [esp+0x28], edx
	mov edi, [ebp+0x44]
	mov [esp+0x24], edi
	jmp _Z12UI_OwnerDrawiffffiiffiiifP6Font_sfPfP8Materiali9rectDef_si_80
_Z12UI_OwnerDrawiffffiiffiiifP6Font_sfPfP8Materiali9rectDef_si_300:
	call _Z22Display_KeyBindPendingv
	mov edx, _cstring_exe_keywait
	test eax, eax
	mov eax, _cstring_exe_keychange
	cmovz edx, eax
	mov ebx, [ebp-0x4c]
	mov esi, [ebp-0x50]
	mov edi, [ebp-0x5c]
	movss xmm0, dword [ebp-0x60]
	movss [ebp-0xadc], xmm0
	mov [esp], edx
	call _Z22UI_SafeTranslateStringPKc
	mov edx, [ebp+0x4c]
	mov [esp+0x28], edx
	mov edx, [ebp+0x44]
	mov [esp+0x24], edx
	movss xmm0, dword [ebp+0x40]
	movss [esp+0x20], xmm0
	mov [esp+0x1c], ebx
	mov [esp+0x18], esi
	mov [esp+0x14], edi
	movss xmm0, dword [ebp-0xadc]
	movss [esp+0x10], xmm0
	jmp _Z12UI_OwnerDrawiffffiiffiiifP6Font_sfPfP8Materiali9rectDef_si_110
_Z12UI_OwnerDrawiffffiiffiiifP6Font_sfPfP8Materiali9rectDef_si_310:
	mov edx, [ui_joinGameType]
	mov eax, [edx+0xc]
	cmp eax, [sharedUiInfo+0x1b54]
	jg _Z12UI_OwnerDrawiffffiiffiiifP6Font_sfPfP8Materiali9rectDef_si_120
_Z12UI_OwnerDrawiffffiiffiiifP6Font_sfPfP8Materiali9rectDef_si_220:
	mov eax, [eax*8+sharedUiInfo+0x1b5c]
	jmp _Z12UI_OwnerDrawiffffiiffiiifP6Font_sfPfP8Materiali9rectDef_si_130
_Z12UI_OwnerDrawiffffiiffiiifP6Font_sfPfP8Materiali9rectDef_si_320:
	mov eax, [ui_currentNetMap]
	mov eax, [eax+0xc]
	test eax, eax
	js _Z12UI_OwnerDrawiffffiiffiiifP6Font_sfPfP8Materiali9rectDef_si_140
	cmp eax, [sharedUiInfo+0x1c58]
	jge _Z12UI_OwnerDrawiffffiiffiiifP6Font_sfPfP8Materiali9rectDef_si_140
_Z12UI_OwnerDrawiffffiiffiiifP6Font_sfPfP8Materiali9rectDef_si_190:
	lea ebx, [eax+eax*4]
	shl ebx, 0x5
	mov ecx, [ebx+sharedUiInfo+0x1cf4]
	test ecx, ecx
	jz _Z12UI_OwnerDrawiffffiiffiiifP6Font_sfPfP8Materiali9rectDef_si_150
_Z12UI_OwnerDrawiffffiiffiiifP6Font_sfPfP8Materiali9rectDef_si_240:
	mov eax, [ebx+sharedUiInfo+0x1cf4]
	mov [esp+0x20], eax
	mov eax, [ebp+0x44]
	mov [esp+0x1c], eax
	mov eax, [ebp-0x4c]
	mov [esp+0x18], eax
	mov eax, [ebp-0x50]
	mov [esp+0x14], eax
	mov eax, [ebp-0x54]
	mov [esp+0x10], eax
	mov eax, [ebp-0x58]
	mov [esp+0xc], eax
	mov eax, [ebp-0x5c]
	mov [esp+0x8], eax
	mov eax, [ebp-0x60]
	mov [esp+0x4], eax
	mov eax, [ebp+0x8]
	shl eax, 0x6
	mov edx, [ebp+0x8]
	lea eax, [eax+edx*4]
	add eax, scrPlaceView
	mov [esp], eax
	call _Z16UI_DrawHandlePicPK15ScreenPlacementffffiiPKfP8Material
	jmp _Z12UI_OwnerDrawiffffiiffiiifP6Font_sfPfP8Materiali9rectDef_si_20
_Z12UI_OwnerDrawiffffiiffiiifP6Font_sfPfP8Materiali9rectDef_si_340:
	mov eax, sv_voice
	mov eax, [eax]
	cmp byte [eax+0xc], 0x0
	jz _Z12UI_OwnerDrawiffffiiffiiifP6Font_sfPfP8Materiali9rectDef_si_20
	mov eax, cl_voice
	mov eax, [eax]
	cmp byte [eax+0xc], 0x0
	jz _Z12UI_OwnerDrawiffffiiffiiifP6Font_sfPfP8Materiali9rectDef_si_20
	call _Z16IN_IsTalkKeyHeldv
	test al, al
	jz _Z12UI_OwnerDrawiffffiiffiiifP6Font_sfPfP8Materiali9rectDef_si_20
	mov dword [esp+0x4], 0x7
	mov dword [esp], _cstring_voice_on
	call _Z23Material_RegisterHandlePKci
	mov [esp+0x20], eax
	mov edx, [ebp+0x44]
	mov [esp+0x1c], edx
	mov eax, [ebp-0x4c]
	mov [esp+0x18], eax
	mov eax, [ebp-0x50]
	mov [esp+0x14], eax
	mov eax, [ebp-0x54]
	mov [esp+0x10], eax
	mov eax, [ebp-0x58]
	mov [esp+0xc], eax
	mov eax, [ebp-0x5c]
	mov [esp+0x8], eax
	mov eax, [ebp-0x60]
	mov [esp+0x4], eax
	mov eax, [ebp+0x8]
	shl eax, 0x6
	mov edi, [ebp+0x8]
	lea eax, [eax+edi*4]
	add eax, scrPlaceView
	mov [esp], eax
	call _Z16UI_DrawHandlePicPK15ScreenPlacementffffiiPKfP8Material
	jmp _Z12UI_OwnerDrawiffffiiffiiifP6Font_sfPfP8Materiali9rectDef_si_20
_Z12UI_OwnerDrawiffffiiffiiifP6Font_sfPfP8Materiali9rectDef_si_350:
	mov edi, [ebp+0x2c]
	sub edi, 0x10b
	xor esi, esi
	xor ebx, ebx
	jmp _Z12UI_OwnerDrawiffffiiffiiifP6Font_sfPfP8Materiali9rectDef_si_160
_Z12UI_OwnerDrawiffffiiffiiifP6Font_sfPfP8Materiali9rectDef_si_170:
	add ebx, 0x1
	cmp ebx, 0x40
	jz _Z12UI_OwnerDrawiffffiiffiiifP6Font_sfPfP8Materiali9rectDef_si_20
_Z12UI_OwnerDrawiffffiiffiiifP6Font_sfPfP8Materiali9rectDef_si_160:
	mov [esp], ebx
	call _Z16CL_IsClientLocali
	test al, al
	jnz _Z12UI_OwnerDrawiffffiiffiiifP6Font_sfPfP8Materiali9rectDef_si_170
	mov [esp+0x4], ebx
	mov eax, [ebp+0x8]
	mov [esp], eax
	call _Z18CL_IsPlayerTalkingii
	test al, al
	jz _Z12UI_OwnerDrawiffffiiffiiifP6Font_sfPfP8Materiali9rectDef_si_170
	cmp edi, esi
	jz _Z12UI_OwnerDrawiffffiiffiiifP6Font_sfPfP8Materiali9rectDef_si_180
	add esi, 0x1
	jmp _Z12UI_OwnerDrawiffffiiffiiifP6Font_sfPfP8Materiali9rectDef_si_170
_Z12UI_OwnerDrawiffffiiffiiifP6Font_sfPfP8Materiali9rectDef_si_330:
	lea eax, [ebp-0x60]
	mov [esp+0x4], eax
	mov eax, [ebp+0x8]
	mov [esp], eax
	call _Z18UI_DrawRecordLeveliP9rectDef_s
	jmp _Z12UI_OwnerDrawiffffiiffiiifP6Font_sfPfP8Materiali9rectDef_si_20
_Z12UI_OwnerDrawiffffiiffiiifP6Font_sfPfP8Materiali9rectDef_si_140:
	xor eax, eax
	jmp _Z12UI_OwnerDrawiffffiiffiiifP6Font_sfPfP8Materiali9rectDef_si_190
_Z12UI_OwnerDrawiffffiiffiiifP6Font_sfPfP8Materiali9rectDef_si_30:
	mov eax, [ui_netSource]
	mov eax, [eax+0xc]
	mov [esp+0x4], eax
	mov dword [esp], _cstring_ui_lastserverref
	call _Z2vaPKcz
	mov [esp], eax
	call _Z21Dvar_GetVariantStringPKc
	mov dword [esp+0x8], 0x40
	mov [esp+0x4], eax
	lea ebx, [ebp-0xc8]
	mov [esp], ebx
	call _Z10I_strncpyzPcPKci
	mov dword [esp], _cstring_exe_refreshtime
	call _Z22UI_SafeTranslateStringPKc
	mov esi, eax
	cld
	mov ecx, 0xa
	xor edx, edx
	lea edi, [ebp-0x88]
	mov eax, edx
	rep stosd
	mov dword [ebp-0x88], 0x1
	mov [ebp-0x84], ebx
	mov dword [esp+0xc], 0x400
	lea ebx, [ebp-0x6c8]
	mov [esp+0x8], ebx
	lea eax, [ebp-0x88]
	mov [esp+0x4], eax
	mov [esp], esi
	call _Z21UI_ReplaceConversionsPKcP19ConversionArgumentsPci
	mov [esp], ebx
	call _Z2vaPKcz
	mov edx, [ebp+0x4c]
	mov [esp+0x28], edx
	mov edi, [ebp+0x44]
	mov [esp+0x24], edi
	jmp _Z12UI_OwnerDrawiffffiiffiiifP6Font_sfPfP8Materiali9rectDef_si_80
_Z12UI_OwnerDrawiffffiiffiiifP6Font_sfPfP8Materiali9rectDef_si_180:
	test ebx, ebx
	js _Z12UI_OwnerDrawiffffiiffiiifP6Font_sfPfP8Materiali9rectDef_si_20
	mov dword [esp+0xc], 0x26
	lea edx, [ebp-0xc8]
	mov [esp+0x8], edx
	mov [esp+0x4], ebx
	mov edi, [ebp+0x8]
	mov [esp], edi
	call _Z16CL_GetClientNameiiPci
	test eax, eax
	jnz _Z12UI_OwnerDrawiffffiiffiiifP6Font_sfPfP8Materiali9rectDef_si_200
	mov [esp+0x8], ebx
	mov dword [esp+0x4], _cstring_unable_to_find_c
	mov dword [esp], 0xd
	call _Z16Com_PrintWarningiPKcz
	jmp _Z12UI_OwnerDrawiffffiiffiiifP6Font_sfPfP8Materiali9rectDef_si_20
_Z12UI_OwnerDrawiffffiiffiiifP6Font_sfPfP8Materiali9rectDef_si_100:
	mov dword [esp+0x4], 0x0
	mov [esp], edx
	call _Z11Dvar_SetIntPK6dvar_si
	mov eax, [sharedUiInfo+0x1150]
	mov [esp+0x4], eax
	mov eax, [ui_netGameTypeName]
	mov [esp], eax
	call _Z14Dvar_SetStringPK6dvar_sPKc
	mov edx, [ui_netGameType]
	mov eax, [edx+0xc]
	jmp _Z12UI_OwnerDrawiffffiiffiiifP6Font_sfPfP8Materiali9rectDef_si_210
_Z12UI_OwnerDrawiffffiiffiiifP6Font_sfPfP8Materiali9rectDef_si_120:
	mov dword [esp+0x4], 0x0
	mov [esp], edx
	call _Z11Dvar_SetIntPK6dvar_si
	mov edx, [ui_joinGameType]
	mov eax, [edx+0xc]
	jmp _Z12UI_OwnerDrawiffffiiffiiifP6Font_sfPfP8Materiali9rectDef_si_220
_Z12UI_OwnerDrawiffffiiffiiifP6Font_sfPfP8Materiali9rectDef_si_40:
	mov dword [esp], _cstring_exe_waitingforma
	call _Z22UI_SafeTranslateStringPKc
	mov edx, eax
	jmp _Z12UI_OwnerDrawiffffiiffiiifP6Font_sfPfP8Materiali9rectDef_si_230
_Z12UI_OwnerDrawiffffiiffiiifP6Font_sfPfP8Materiali9rectDef_si_200:
	mov dword [esp+0x4], 0x7
	mov dword [esp], _cstring_voice_on
	call _Z23Material_RegisterHandlePKci
	mov esi, eax
	movss xmm0, dword [ebp+0x40]
	movss [esp+0x4], xmm0
	mov eax, [ebp+0x3c]
	mov [esp], eax
	call _Z21R_NormalizedTextScaleP6Font_sf
	fstp dword [ebp-0xad8]
	mov edx, [ebp+0x3c]
	mov [esp], edx
	call _Z12R_TextHeightP6Font_s
	mov edi, eax
	mov eax, [ebp+0x8]
	shl eax, 0x6
	mov edx, [ebp+0x8]
	lea ebx, [eax+edx*4]
	add ebx, scrPlaceView
	mov [esp+0x20], esi
	mov eax, [ebp+0x44]
	mov [esp+0x1c], eax
	mov eax, [ebp-0x4c]
	mov [esp+0x18], eax
	mov eax, [ebp-0x50]
	mov [esp+0x14], eax
	mov eax, [ebp-0x54]
	mov [esp+0x10], eax
	mov eax, [ebp-0x58]
	mov [esp+0xc], eax
	mov eax, [ebp-0x5c]
	mov [esp+0x8], eax
	mov eax, [ebp-0x60]
	mov [esp+0x4], eax
	mov [esp], ebx
	call _Z16UI_DrawHandlePicPK15ScreenPlacementffffiiPKfP8Material
	cvtsi2ss xmm0, edi
	mulss xmm0, [ebp-0xad8]
	cvttss2si eax, xmm0
	cvtsi2ss xmm2, eax
	mov edx, [ebp+0x4c]
	mov [esp+0x28], edx
	mov edi, [ebp+0x44]
	mov [esp+0x24], edi
	movss xmm0, dword [ebp+0x40]
	movss [esp+0x20], xmm0
	mov eax, [ebp-0x4c]
	mov [esp+0x1c], eax
	mov eax, [ebp-0x50]
	mov [esp+0x18], eax
	movaps xmm1, xmm2
	addss xmm1, [ebp-0x5c]
	movss xmm0, dword [ebp-0x54]
	subss xmm0, xmm2
	mulss xmm0, [_float_0_50000000]
	addss xmm1, xmm0
	movss [esp+0x14], xmm1
	movss xmm0, dword [ebp-0x60]
	addss xmm0, [ebp-0x58]
	addss xmm0, [_float_2_00000000]
	movss [esp+0x10], xmm0
	mov eax, [ebp+0x3c]
	mov [esp+0xc], eax
	mov dword [esp+0x8], 0x20
	lea edx, [ebp-0xc8]
	mov [esp+0x4], edx
	mov [esp], ebx
	call _Z11UI_DrawTextPK15ScreenPlacementPKciP6Font_sffiifPKfi
	jmp _Z12UI_OwnerDrawiffffiiffiiifP6Font_sfPfP8Materiali9rectDef_si_20
_Z12UI_OwnerDrawiffffiiffiiifP6Font_sfPfP8Materiali9rectDef_si_150:
	mov dword [esp+0x4], 0x3
	mov eax, [ebx+sharedUiInfo+0x1c64]
	mov [esp], eax
	call _Z23Material_RegisterHandlePKci
	mov edx, sharedUiInfo+0x1ce0
	mov [ebx+edx+0x14], eax
	jmp _Z12UI_OwnerDrawiffffiiffiiifP6Font_sfPfP8Materiali9rectDef_si_240
	
	
_Z12UI_OwnerDrawiffffiiffiiifP6Font_sfPfP8Materiali9rectDef_si_jumptab_0:
	dd _Z12UI_OwnerDrawiffffiiffiiifP6Font_sfPfP8Materiali9rectDef_si_250
	dd _Z12UI_OwnerDrawiffffiiffiiifP6Font_sfPfP8Materiali9rectDef_si_20
	dd _Z12UI_OwnerDrawiffffiiffiiifP6Font_sfPfP8Materiali9rectDef_si_20
	dd _Z12UI_OwnerDrawiffffiiffiiifP6Font_sfPfP8Materiali9rectDef_si_20
	dd _Z12UI_OwnerDrawiffffiiffiiifP6Font_sfPfP8Materiali9rectDef_si_20
	dd _Z12UI_OwnerDrawiffffiiffiiifP6Font_sfPfP8Materiali9rectDef_si_20
	dd _Z12UI_OwnerDrawiffffiiffiiifP6Font_sfPfP8Materiali9rectDef_si_20
	dd _Z12UI_OwnerDrawiffffiiffiiifP6Font_sfPfP8Materiali9rectDef_si_20
	dd _Z12UI_OwnerDrawiffffiiffiiifP6Font_sfPfP8Materiali9rectDef_si_20
	dd _Z12UI_OwnerDrawiffffiiffiiifP6Font_sfPfP8Materiali9rectDef_si_20
	dd _Z12UI_OwnerDrawiffffiiffiiifP6Font_sfPfP8Materiali9rectDef_si_20
	dd _Z12UI_OwnerDrawiffffiiffiiifP6Font_sfPfP8Materiali9rectDef_si_20
	dd _Z12UI_OwnerDrawiffffiiffiiifP6Font_sfPfP8Materiali9rectDef_si_20
	dd _Z12UI_OwnerDrawiffffiiffiiifP6Font_sfPfP8Materiali9rectDef_si_20
	dd _Z12UI_OwnerDrawiffffiiffiiifP6Font_sfPfP8Materiali9rectDef_si_20
	dd _Z12UI_OwnerDrawiffffiiffiiifP6Font_sfPfP8Materiali9rectDef_si_260
	dd _Z12UI_OwnerDrawiffffiiffiiifP6Font_sfPfP8Materiali9rectDef_si_20
	dd _Z12UI_OwnerDrawiffffiiffiiifP6Font_sfPfP8Materiali9rectDef_si_270
	dd _Z12UI_OwnerDrawiffffiiffiiifP6Font_sfPfP8Materiali9rectDef_si_20
	dd _Z12UI_OwnerDrawiffffiiffiiifP6Font_sfPfP8Materiali9rectDef_si_20
	dd _Z12UI_OwnerDrawiffffiiffiiifP6Font_sfPfP8Materiali9rectDef_si_20
	dd _Z12UI_OwnerDrawiffffiiffiiifP6Font_sfPfP8Materiali9rectDef_si_20
	dd _Z12UI_OwnerDrawiffffiiffiiifP6Font_sfPfP8Materiali9rectDef_si_20
	dd _Z12UI_OwnerDrawiffffiiffiiifP6Font_sfPfP8Materiali9rectDef_si_20
	dd _Z12UI_OwnerDrawiffffiiffiiifP6Font_sfPfP8Materiali9rectDef_si_20
	dd _Z12UI_OwnerDrawiffffiiffiiifP6Font_sfPfP8Materiali9rectDef_si_20
	dd _Z12UI_OwnerDrawiffffiiffiiifP6Font_sfPfP8Materiali9rectDef_si_20
	dd _Z12UI_OwnerDrawiffffiiffiiifP6Font_sfPfP8Materiali9rectDef_si_20
	dd _Z12UI_OwnerDrawiffffiiffiiifP6Font_sfPfP8Materiali9rectDef_si_20
	dd _Z12UI_OwnerDrawiffffiiffiiifP6Font_sfPfP8Materiali9rectDef_si_20
	dd _Z12UI_OwnerDrawiffffiiffiiifP6Font_sfPfP8Materiali9rectDef_si_20
	dd _Z12UI_OwnerDrawiffffiiffiiifP6Font_sfPfP8Materiali9rectDef_si_20
	dd _Z12UI_OwnerDrawiffffiiffiiifP6Font_sfPfP8Materiali9rectDef_si_20
	dd _Z12UI_OwnerDrawiffffiiffiiifP6Font_sfPfP8Materiali9rectDef_si_20
	dd _Z12UI_OwnerDrawiffffiiffiiifP6Font_sfPfP8Materiali9rectDef_si_20
	dd _Z12UI_OwnerDrawiffffiiffiiifP6Font_sfPfP8Materiali9rectDef_si_20
	dd _Z12UI_OwnerDrawiffffiiffiiifP6Font_sfPfP8Materiali9rectDef_si_20
	dd _Z12UI_OwnerDrawiffffiiffiiifP6Font_sfPfP8Materiali9rectDef_si_20
	dd _Z12UI_OwnerDrawiffffiiffiiifP6Font_sfPfP8Materiali9rectDef_si_20
	dd _Z12UI_OwnerDrawiffffiiffiiifP6Font_sfPfP8Materiali9rectDef_si_20
	dd _Z12UI_OwnerDrawiffffiiffiiifP6Font_sfPfP8Materiali9rectDef_si_280
	dd _Z12UI_OwnerDrawiffffiiffiiifP6Font_sfPfP8Materiali9rectDef_si_20
	dd _Z12UI_OwnerDrawiffffiiffiiifP6Font_sfPfP8Materiali9rectDef_si_290
	dd _Z12UI_OwnerDrawiffffiiffiiifP6Font_sfPfP8Materiali9rectDef_si_20
	dd _Z12UI_OwnerDrawiffffiiffiiifP6Font_sfPfP8Materiali9rectDef_si_20
	dd _Z12UI_OwnerDrawiffffiiffiiifP6Font_sfPfP8Materiali9rectDef_si_300
	dd _Z12UI_OwnerDrawiffffiiffiiifP6Font_sfPfP8Materiali9rectDef_si_20
	dd _Z12UI_OwnerDrawiffffiiffiiifP6Font_sfPfP8Materiali9rectDef_si_20
	dd _Z12UI_OwnerDrawiffffiiffiiifP6Font_sfPfP8Materiali9rectDef_si_310
	dd _Z12UI_OwnerDrawiffffiiffiiifP6Font_sfPfP8Materiali9rectDef_si_320
	dd _Z12UI_OwnerDrawiffffiiffiiifP6Font_sfPfP8Materiali9rectDef_si_20
	dd _Z12UI_OwnerDrawiffffiiffiiifP6Font_sfPfP8Materiali9rectDef_si_20
	dd _Z12UI_OwnerDrawiffffiiffiiifP6Font_sfPfP8Materiali9rectDef_si_20
	dd _Z12UI_OwnerDrawiffffiiffiiifP6Font_sfPfP8Materiali9rectDef_si_20
	dd _Z12UI_OwnerDrawiffffiiffiiifP6Font_sfPfP8Materiali9rectDef_si_20
	dd _Z12UI_OwnerDrawiffffiiffiiifP6Font_sfPfP8Materiali9rectDef_si_20
	dd _Z12UI_OwnerDrawiffffiiffiiifP6Font_sfPfP8Materiali9rectDef_si_20
	dd _Z12UI_OwnerDrawiffffiiffiiifP6Font_sfPfP8Materiali9rectDef_si_20
	dd _Z12UI_OwnerDrawiffffiiffiiifP6Font_sfPfP8Materiali9rectDef_si_20
	dd _Z12UI_OwnerDrawiffffiiffiiifP6Font_sfPfP8Materiali9rectDef_si_20
	dd _Z12UI_OwnerDrawiffffiiffiiifP6Font_sfPfP8Materiali9rectDef_si_330
	dd _Z12UI_OwnerDrawiffffiiffiiifP6Font_sfPfP8Materiali9rectDef_si_340
	dd _Z12UI_OwnerDrawiffffiiffiiifP6Font_sfPfP8Materiali9rectDef_si_350
	dd _Z12UI_OwnerDrawiffffiiffiiifP6Font_sfPfP8Materiali9rectDef_si_350
	dd _Z12UI_OwnerDrawiffffiiffiiifP6Font_sfPfP8Materiali9rectDef_si_350
	dd _Z12UI_OwnerDrawiffffiiffiiifP6Font_sfPfP8Materiali9rectDef_si_350


;UI_TextWidth(char const*, int, Font_s*, float)
_Z12UI_TextWidthPKciP6Font_sf:
	push ebp
	mov ebp, esp
	push ebx
	sub esp, 0x24
	mov ebx, [ebp+0x10]
	mov eax, [ebp+0x14]
	mov [esp+0x4], eax
	mov [esp], ebx
	call _Z21R_NormalizedTextScaleP6Font_sf
	fstp dword [ebp-0xc]
	mov [esp+0x8], ebx
	mov eax, [ebp+0xc]
	mov [esp+0x4], eax
	mov eax, [ebp+0x8]
	mov [esp], eax
	call _Z11R_TextWidthPKciP6Font_s
	cvtsi2ss xmm0, eax
	mulss xmm0, [ebp-0xc]
	cvttss2si eax, xmm0
	add esp, 0x24
	pop ebx
	pop ebp
	ret
	nop


;UI_MouseEvent(int, int, int)
_Z13UI_MouseEventiii:
	push ebp
	mov ebp, esp
	sub esp, 0x18
	cvtsi2ss xmm0, dword [ebp+0xc]
	mov eax, scrPlaceFull
	divss xmm0, dword [eax+0x8]
	movss [uiInfoArray+0x10], xmm0
	cvtsi2ss xmm1, dword [ebp+0x10]
	divss xmm1, dword [eax+0xc]
	movss [uiInfoArray+0x14], xmm1
	pxor xmm2, xmm2
	ucomiss xmm0, xmm2
	jb _Z13UI_MouseEventiii_10
	ucomiss xmm0, [_float_640_00000000]
	jbe _Z13UI_MouseEventiii_20
_Z13UI_MouseEventiii_10:
	xor eax, eax
_Z13UI_MouseEventiii_50:
	mov [uiInfoArray+0x18], eax
	test eax, eax
	setz al
	movzx eax, al
	mov [esp], eax
	call _Z19CL_ShowSystemCursori
	mov eax, [uiInfoArray+0x18]
	test eax, eax
	jnz _Z13UI_MouseEventiii_30
_Z13UI_MouseEventiii_40:
	leave
	ret
_Z13UI_MouseEventiii_30:
	mov dword [esp], uiInfoArray
	call _Z10Menu_CountP9UiContext
	test eax, eax
	jle _Z13UI_MouseEventiii_40
	mov dword [esp], uiInfoArray
	call _Z17Display_MouseMoveP9UiContext
	leave
	ret
_Z13UI_MouseEventiii_20:
	jp _Z13UI_MouseEventiii_10
	ucomiss xmm1, xmm2
	jb _Z13UI_MouseEventiii_10
	ucomiss xmm1, [_float_480_00000000]
	ja _Z13UI_MouseEventiii_10
	jp _Z13UI_MouseEventiii_10
	mov eax, 0x1
	jmp _Z13UI_MouseEventiii_50


;UI_TextHeight(Font_s*, float)
_Z13UI_TextHeightP6Font_sf:
	push ebp
	mov ebp, esp
	push ebx
	sub esp, 0x24
	mov ebx, [ebp+0x8]
	mov eax, [ebp+0xc]
	mov [esp+0x4], eax
	mov [esp], ebx
	call _Z21R_NormalizedTextScaleP6Font_sf
	fstp dword [ebp-0xc]
	mov [esp], ebx
	call _Z12R_TextHeightP6Font_s
	cvtsi2ss xmm0, eax
	mulss xmm0, [ebp-0xc]
	cvttss2si eax, xmm0
	add esp, 0x24
	pop ebx
	pop ebp
	ret
	nop


;UI_UpdateTime(int, int)
_Z13UI_UpdateTimeii:
	push ebp
	mov ebp, esp
	mov eax, [ebp+0xc]
	mov ecx, eax
	sub ecx, [uiInfoArray+0x8]
	mov [uiInfoArray+0xc], ecx
	mov [uiInfoArray+0x8], eax
	mov eax, [uiInfoArray+0x188c]
	mov edx, eax
	and edx, 0x80000003
	js _Z13UI_UpdateTimeii_10
_Z13UI_UpdateTimeii_60:
	mov [edx*4+uiInfoArray+0x1890], ecx
	add eax, 0x1
	mov [uiInfoArray+0x188c], eax
	cmp eax, 0x4
	jle _Z13UI_UpdateTimeii_20
	xor edx, edx
	mov eax, uiInfoArray
	mov ecx, uiInfoArray+0x10
_Z13UI_UpdateTimeii_30:
	add edx, [eax+0x1890]
	add eax, 0x4
	cmp ecx, eax
	jnz _Z13UI_UpdateTimeii_30
	test edx, edx
	jnz _Z13UI_UpdateTimeii_40
	mov eax, 0xfa0
_Z13UI_UpdateTimeii_50:
	cvtsi2ss xmm0, eax
	movss [uiInfoArray+0x28], xmm0
_Z13UI_UpdateTimeii_20:
	pop ebp
	ret
_Z13UI_UpdateTimeii_40:
	mov eax, 0xfa0
	mov ecx, edx
	cdq
	idiv ecx
	jmp _Z13UI_UpdateTimeii_50
_Z13UI_UpdateTimeii_10:
	sub edx, 0x1
	or edx, 0xfffffffc
	add edx, 0x1
	jmp _Z13UI_UpdateTimeii_60
	nop


;UI_CloseMenu_f()
_Z14UI_CloseMenu_fv:
	push ebp
	mov ebp, esp
	push ebx
	sub esp, 0x54
	mov dword [esp+0x8], 0x40
	lea ebx, [ebp-0x48]
	mov [esp+0x4], ebx
	mov dword [esp], 0x1
	call _Z14Cmd_ArgsBufferiPci
	mov [esp+0x4], ebx
	mov dword [esp], uiInfoArray
	call _Z17Menus_CloseByNameP9UiContextPKc
	add esp, 0x54
	pop ebx
	pop ebp
	ret


;UI_FeederCount(int, float)
_Z14UI_FeederCountif:
	push ebp
	mov ebp, esp
	push edi
	push esi
	push ebx
	sub esp, 0x1c
	movss xmm0, dword [ebp+0xc]
	ucomiss xmm0, [_float_4_00000000]
	jnz _Z14UI_FeederCountif_10
	jp _Z14UI_FeederCountif_10
	mov eax, [ui_netGameType]
	mov esi, [eax+0xc]
	mov eax, [sharedUiInfo+0x1c58]
	test eax, eax
	jle _Z14UI_FeederCountif_20
	xor edi, edi
	xor ebx, ebx
	mov edx, sharedUiInfo
_Z14UI_FeederCountif_40:
	mov dword [edx+0x1cf8], 0x0
	mov eax, [edx+0x1c70]
	mov ecx, esi
	sar eax, cl
	test al, 0x1
	jz _Z14UI_FeederCountif_30
	add ebx, 0x1
	mov dword [edx+0x1cf8], 0x1
_Z14UI_FeederCountif_30:
	add edi, 0x1
	add edx, 0xa0
	cmp [sharedUiInfo+0x1c58], edi
	jg _Z14UI_FeederCountif_40
	mov eax, ebx
	add esp, 0x1c
	pop ebx
	pop esi
	pop edi
	pop ebp
	ret
_Z14UI_FeederCountif_10:
	ucomiss xmm0, [_float_9_00000000]
	jnz _Z14UI_FeederCountif_50
	jp _Z14UI_FeederCountif_50
	mov ebx, [sharedUiInfo+0x6e84]
	mov eax, ebx
	add esp, 0x1c
	pop ebx
	pop esi
	pop edi
	pop ebp
	ret
_Z14UI_FeederCountif_20:
	xor ebx, ebx
_Z14UI_FeederCountif_80:
	mov eax, ebx
	add esp, 0x1c
	pop ebx
	pop esi
	pop edi
	pop ebp
	ret
_Z14UI_FeederCountif_50:
	ucomiss xmm0, [_float_2_00000000]
	jz _Z14UI_FeederCountif_60
_Z14UI_FeederCountif_90:
	ucomiss xmm0, [_float_13_00000000]
	jnz _Z14UI_FeederCountif_70
	jp _Z14UI_FeederCountif_70
	mov ebx, [sharedUiInfo+0x1bce4]
	jmp _Z14UI_FeederCountif_80
_Z14UI_FeederCountif_60:
	jp _Z14UI_FeederCountif_90
	mov eax, [ui_netSource]
	mov eax, [eax+0xc]
	mov [esp], eax
	call _Z18LAN_GetServerCounti
	cmp eax, [sharedUiInfo+0x1ab7c]
	jz _Z14UI_FeederCountif_100
	mov [sharedUiInfo+0x1ab7c], eax
	mov eax, [sharedUiInfo+0x1ab78]
	test eax, eax
	jnz _Z14UI_FeederCountif_110
_Z14UI_FeederCountif_100:
	mov ebx, [sharedUiInfo+0x1ab78]
	jmp _Z14UI_FeederCountif_80
_Z14UI_FeederCountif_70:
	ucomiss xmm0, [_float_7_00000000]
	jz _Z14UI_FeederCountif_120
_Z14UI_FeederCountif_170:
	ucomiss xmm0, [_float_39_00000000]
	jp _Z14UI_FeederCountif_130
	jz _Z14UI_FeederCountif_20
_Z14UI_FeederCountif_130:
	ucomiss xmm0, [_float_20_00000000]
	jnz _Z14UI_FeederCountif_140
	jnp _Z14UI_FeederCountif_150
_Z14UI_FeederCountif_140:
	ucomiss xmm0, [_float_24_00000000]
	jnz _Z14UI_FeederCountif_160
	jp _Z14UI_FeederCountif_160
	mov ebx, [uiInfoArray+0x1684]
	jmp _Z14UI_FeederCountif_80
_Z14UI_FeederCountif_120:
	jp _Z14UI_FeederCountif_170
_Z14UI_FeederCountif_150:
	mov eax, [uiInfoArray+0x8]
	cmp eax, [uiInfoArray+0x167c]
	jg _Z14UI_FeederCountif_180
_Z14UI_FeederCountif_190:
	mov ebx, [sharedUiInfo+0x48]
	jmp _Z14UI_FeederCountif_80
_Z14UI_FeederCountif_110:
	mov dword [sharedUiInfo+0x72f4], 0xffffffff
	mov dword [esp+0x4], 0x1
	mov dword [esp], uiInfoArray
	call _Z25UI_BuildServerDisplayListP8uiInfo_si
	jmp _Z14UI_FeederCountif_100
_Z14UI_FeederCountif_180:
	add eax, 0xbb8
	mov [uiInfoArray+0x167c], eax
	mov eax, [ebp+0x8]
	call _Z18UI_BuildPlayerListi
	jmp _Z14UI_FeederCountif_190
_Z14UI_FeederCountif_160:
	ucomiss xmm0, [_float_29_00000000]
	jnz _Z14UI_FeederCountif_20
	jp _Z14UI_FeederCountif_20
	mov ebx, [sharedUiInfo+0x1250]
	jmp _Z14UI_FeederCountif_80
	nop


;Load_ScriptMenu(int, char const*, int)
_Z15Load_ScriptMenuiPKci:
	push ebp
	mov ebp, esp
	push ebx
	sub esp, 0x114
	lea ebx, [ebp-0x108]
	mov dword [ebp-0x108], 0x6d5f6975
	mov dword [ebp-0x104], 0x63732f70
	mov dword [ebp-0x100], 0x74706972
	mov dword [ebp-0xfc], 0x756e656d
	mov word [ebp-0xf8], 0x2f73
	mov byte [ebp-0xf6], 0x0
	mov eax, [ebp+0xc]
	mov [esp+0x8], eax
	mov dword [esp+0x4], 0x100
	mov [esp], ebx
	call _Z9I_strncatPciPKc
	mov dword [esp+0x8], _cstring_menu
	mov dword [esp+0x4], 0x100
	mov [esp], ebx
	call _Z9I_strncatPciPKc
	mov eax, [ebp+0x10]
	mov [esp+0x4], eax
	mov [esp], ebx
	call _Z11UI_LoadMenuPKci
	test eax, eax
	jz _Z15Load_ScriptMenuiPKci_10
	mov [esp+0x4], eax
	mov dword [esp], uiInfoArray
	call _Z14UI_AddMenuListP9UiContextP8MenuList
	mov eax, 0x1
_Z15Load_ScriptMenuiPKci_10:
	add esp, 0x114
	pop ebx
	pop ebp
	ret


;UI_CheckExecKey(int, int)
_Z15UI_CheckExecKeyii:
	push ebp
	mov ebp, esp
	push ebx
	sub esp, 0x14
	mov ebx, [ebp+0xc]
	mov dword [esp], uiInfoArray
	call _Z15Menu_GetFocusedP9UiContext
	mov edx, eax
	mov eax, g_editingField
	mov ecx, [eax]
	test ecx, ecx
	jnz _Z15UI_CheckExecKeyii_10
	cmp ebx, 0x100
	jg _Z15UI_CheckExecKeyii_20
	test edx, edx
	jz _Z15UI_CheckExecKeyii_20
	mov eax, [edx+0xd0]
	test eax, eax
	jnz _Z15UI_CheckExecKeyii_30
	jmp _Z15UI_CheckExecKeyii_20
_Z15UI_CheckExecKeyii_40:
	mov eax, [eax+0x8]
	test eax, eax
	jz _Z15UI_CheckExecKeyii_20
_Z15UI_CheckExecKeyii_30:
	cmp ebx, [eax]
	jnz _Z15UI_CheckExecKeyii_40
_Z15UI_CheckExecKeyii_10:
	mov eax, 0x1
	add esp, 0x14
	pop ebx
	pop ebp
	ret
_Z15UI_CheckExecKeyii_20:
	xor eax, eax
	add esp, 0x14
	pop ebx
	pop ebp
	ret
	nop


;UI_IsFullscreen(int)
_Z15UI_IsFullscreeni:
	push ebp
	mov ebp, esp
	mov dword [ebp+0x8], uiInfoArray
	pop ebp
	jmp _Z26Menus_AnyFullScreenVisibleP9UiContext


;UI_CloseAllMenus(int)
_Z16UI_CloseAllMenusi:
	push ebp
	mov ebp, esp
	sub esp, 0x18
	mov dword [esp], uiInfoArray
	call _Z14Menus_CloseAllP9UiContext
	mov dword [esp+0x4], 0x0
	mov eax, [ebp+0x8]
	mov [esp], eax
	call _Z16UI_SetActiveMenuii
	leave
	ret
	nop


;UI_DrawTopBottom(ScreenPlacement const*, float, float, float, float, int, int, float, float const*)
_Z16UI_DrawTopBottomPK15ScreenPlacementffffiifPKf:
	push ebp
	mov ebp, esp
	push edi
	push esi
	push ebx
	sub esp, 0x5c
	movss xmm0, dword [ebp+0x10]
	mov edi, [ebp+0x20]
	mov esi, [ebp+0x28]
	mov eax, [sharedUiInfo+0x20]
	mov [esp+0x30], eax
	mov [esp+0x2c], esi
	xor ebx, ebx
	mov [esp+0x28], ebx
	mov [esp+0x24], ebx
	mov [esp+0x20], ebx
	mov [esp+0x1c], ebx
	mov [esp+0x18], edi
	mov eax, [ebp+0x1c]
	mov [esp+0x14], eax
	movss xmm1, dword [ebp+0x24]
	movss [esp+0x10], xmm1
	movss xmm1, dword [ebp+0x14]
	movss [esp+0xc], xmm1
	movss [esp+0x8], xmm0
	movss xmm1, dword [ebp+0xc]
	movss [esp+0x4], xmm1
	mov eax, [ebp+0x8]
	mov [esp], eax
	movss [ebp-0x28], xmm0
	call _Z17CL_DrawStretchPicPK15ScreenPlacementffffiiffffPKfP8Material
	mov eax, [sharedUiInfo+0x20]
	mov [esp+0x30], eax
	mov [esp+0x2c], esi
	mov [esp+0x28], ebx
	mov [esp+0x24], ebx
	mov [esp+0x20], ebx
	mov [esp+0x1c], ebx
	mov [esp+0x18], edi
	mov eax, [ebp+0x1c]
	mov [esp+0x14], eax
	movss xmm1, dword [ebp+0x24]
	movss [esp+0x10], xmm1
	movss xmm1, dword [ebp+0x14]
	movss [esp+0xc], xmm1
	movss xmm0, dword [ebp-0x28]
	addss xmm0, [ebp+0x18]
	subss xmm0, [ebp+0x24]
	movss [esp+0x8], xmm0
	movss xmm0, dword [ebp+0xc]
	movss [esp+0x4], xmm0
	mov eax, [ebp+0x8]
	mov [esp], eax
	call _Z17CL_DrawStretchPicPK15ScreenPlacementffffiiffffPKfP8Material
	add esp, 0x5c
	pop ebx
	pop esi
	pop edi
	pop ebp
	ret


;UI_GetActiveMenu(int)
_Z16UI_GetActiveMenui:
	push ebp
	mov ebp, esp
	mov eax, [uiInfoArray+0x18a0]
	pop ebp
	ret


;UI_GetBlurRadius(int)
_Z16UI_GetBlurRadiusi:
	push ebp
	mov ebp, esp
	fld dword [uiInfoArray+0x2c]
	pop ebp
	ret
	nop


;UI_GetFontHandle(ScreenPlacement const*, int, float)
_Z16UI_GetFontHandlePK15ScreenPlacementif:
	push ebp
	mov ebp, esp
	mov eax, [ebp+0xc]
	cmp eax, 0x2
	jz _Z16UI_GetFontHandlePK15ScreenPlacementif_10
	cmp eax, 0x3
	jz _Z16UI_GetFontHandlePK15ScreenPlacementif_20
	cmp eax, 0x5
	jz _Z16UI_GetFontHandlePK15ScreenPlacementif_30
	cmp eax, 0x6
	jz _Z16UI_GetFontHandlePK15ScreenPlacementif_40
	movss xmm1, dword [ebp+0x10]
	mov edx, [ebp+0x8]
	mulss xmm1, [edx+0x4]
	cmp eax, 0x4
	jz _Z16UI_GetFontHandlePK15ScreenPlacementif_50
	mov eax, [ui_smallFont]
	movss xmm0, dword [eax+0xc]
	ucomiss xmm0, xmm1
	jae _Z16UI_GetFontHandlePK15ScreenPlacementif_20
	mov eax, [ui_extraBigFont]
	ucomiss xmm1, [eax+0xc]
	jae _Z16UI_GetFontHandlePK15ScreenPlacementif_60
	mov eax, [ui_bigFont]
	ucomiss xmm1, [eax+0xc]
	jae _Z16UI_GetFontHandlePK15ScreenPlacementif_10
_Z16UI_GetFontHandlePK15ScreenPlacementif_80:
	mov eax, [sharedUiInfo+0x38]
	pop ebp
	ret
_Z16UI_GetFontHandlePK15ScreenPlacementif_50:
	mov eax, [ui_smallFont]
	movss xmm0, dword [eax+0xc]
	ucomiss xmm0, xmm1
	jb _Z16UI_GetFontHandlePK15ScreenPlacementif_70
_Z16UI_GetFontHandlePK15ScreenPlacementif_20:
	mov eax, [sharedUiInfo+0x2c]
	pop ebp
	ret
_Z16UI_GetFontHandlePK15ScreenPlacementif_10:
	mov eax, [sharedUiInfo+0x28]
	pop ebp
	ret
_Z16UI_GetFontHandlePK15ScreenPlacementif_30:
	mov eax, [sharedUiInfo+0x30]
	pop ebp
	ret
_Z16UI_GetFontHandlePK15ScreenPlacementif_40:
	mov eax, [sharedUiInfo+0x40]
	pop ebp
	ret
_Z16UI_GetFontHandlePK15ScreenPlacementif_60:
	mov eax, [sharedUiInfo+0x3c]
	pop ebp
	ret
_Z16UI_GetFontHandlePK15ScreenPlacementif_70:
	mov eax, [ui_bigFont]
	ucomiss xmm1, [eax+0xc]
	jb _Z16UI_GetFontHandlePK15ScreenPlacementif_80
	mov eax, [sharedUiInfo+0x34]
	pop ebp
	ret


;UI_RunMenuScript(int, char const**, char const*)
_Z16UI_RunMenuScriptiPPKcS0_:
	push ebp
	mov ebp, esp
	push edi
	push esi
	push ebx
	sub esp, 0x10dc
	mov esi, [ebp+0xc]
	mov dword [esp+0x8], 0x400
	lea ebx, [ebp-0x49c]
	mov [esp+0x4], ebx
	mov [esp], esi
	call _Z12String_ParsePPKcPci
	test eax, eax
	jnz _Z16UI_RunMenuScriptiPPKcS0__10
_Z16UI_RunMenuScriptiPPKcS0__70:
	add esp, 0x10dc
	pop ebx
	pop esi
	pop edi
	pop ebp
	ret
_Z16UI_RunMenuScriptiPPKcS0__10:
	mov dword [esp+0x4], _cstring_startserver
	mov [esp], ebx
	call _Z9I_stricmpPKcS0_
	test eax, eax
	jnz _Z16UI_RunMenuScriptiPPKcS0__20
	mov eax, [ui_dedicated]
	mov eax, [eax+0xc]
	test eax, eax
	jnz _Z16UI_RunMenuScriptiPPKcS0__30
	mov dword [esp], _cstring_sv_punkbuster
	call _Z12Dvar_GetBoolPKc
	mov ebx, eax
	mov dword [esp], _cstring_cl_punkbuster
	call _Z12Dvar_GetBoolPKc
	test bl, bl
	jz _Z16UI_RunMenuScriptiPPKcS0__30
	test al, al
	jz _Z16UI_RunMenuScriptiPPKcS0__40
_Z16UI_RunMenuScriptiPPKcS0__30:
	mov dword [esp+0x4], 0x0
	mov dword [esp], _cstring_cg_thirdperson
	call _Z18Dvar_SetBoolByNamePKch
	mov eax, [ui_dedicated]
	mov eax, [eax+0xc]
	mov [esp+0x4], eax
	mov dword [esp], _cstring_i
	call _Z2vaPKcz
	mov dword [esp+0x8], 0x1
	mov [esp+0x4], eax
	mov dword [esp], _cstring_dedicated
	call _Z34Dvar_SetFromStringByNameFromSourcePKcS0_13DvarSetSource
	mov eax, [ui_netGameType]
	mov eax, [eax+0xc]
	mov eax, [eax*8+sharedUiInfo+0x1150]
	mov [esp+0x4], eax
	mov dword [esp], _cstring_g_gametype
	call _Z20Dvar_SetStringByNamePKcS0_
	mov eax, [ui_currentNetMap]
	mov eax, [eax+0xc]
	lea eax, [eax+eax*4]
	shl eax, 0x5
	mov eax, [eax+sharedUiInfo+0x1c60]
	mov [esp+0x4], eax
	mov dword [esp], _cstring_wait__wait__map_
	call _Z2vaPKcz
	mov [esp+0x4], eax
	mov eax, [ebp+0x8]
	mov [esp], eax
	call _Z12Cbuf_AddTextiPKc
	add esp, 0x10dc
	pop ebx
	pop esi
	pop edi
	pop ebp
	ret
_Z16UI_RunMenuScriptiPPKcS0__20:
	mov dword [esp+0x4], _cstring_getcdkey
	mov [esp], ebx
	call _Z9I_stricmpPKcS0_
	test eax, eax
	jnz _Z16UI_RunMenuScriptiPPKcS0__50
	mov dword [esp+0xc], 0x5
	lea esi, [ebp-0x89c]
	mov [esp+0x8], esi
	mov dword [esp+0x4], 0x11
	lea ebx, [ebp-0x109c]
	mov [esp], ebx
	call _Z13CLUI_GetCDKeyPciS_i
	mov dword [esp+0x4], _cstring_null
	mov dword [esp], _cstring_cdkey1
	call _Z20Dvar_SetStringByNamePKcS0_
	mov dword [esp+0x4], _cstring_null
	mov dword [esp], _cstring_cdkey2
	call _Z20Dvar_SetStringByNamePKcS0_
	mov dword [esp+0x4], _cstring_null
	mov dword [esp], _cstring_cdkey3
	call _Z20Dvar_SetStringByNamePKcS0_
	mov dword [esp+0x4], _cstring_null
	mov dword [esp], _cstring_cdkey4
	call _Z20Dvar_SetStringByNamePKcS0_
	mov dword [esp+0x4], _cstring_null
	mov dword [esp], _cstring_cdkey5
	call _Z20Dvar_SetStringByNamePKcS0_
	cld
	mov ecx, 0xffffffff
	mov edi, ebx
	xor eax, eax
	repne scasb
	cmp ecx, 0xffffffee
	jz _Z16UI_RunMenuScriptiPPKcS0__60
_Z16UI_RunMenuScriptiPPKcS0__160:
	cld
	mov ecx, 0xffffffff
	mov edi, esi
	xor eax, eax
	repne scasb
	cmp ecx, 0xfffffffa
	jnz _Z16UI_RunMenuScriptiPPKcS0__70
	mov dword [esp+0x8], 0x5
	mov [esp+0x4], esi
	lea ebx, [ebp-0x9c]
	mov [esp], ebx
	call _Z10I_strncpyzPcPKci
	mov [esp+0x4], ebx
	mov dword [esp], _cstring_cdkey5
	call _Z20Dvar_SetStringByNamePKcS0_
	jmp _Z16UI_RunMenuScriptiPPKcS0__70
_Z16UI_RunMenuScriptiPPKcS0__50:
	mov dword [esp+0x4], _cstring_verifycdkey
	mov [esp], ebx
	call _Z9I_stricmpPKcS0_
	test eax, eax
	jz _Z16UI_RunMenuScriptiPPKcS0__80
	mov dword [esp+0x4], _cstring_loadarenas
	mov [esp], ebx
	call _Z9I_stricmpPKcS0_
	test eax, eax
	jnz _Z16UI_RunMenuScriptiPPKcS0__90
	call _Z13UI_LoadArenasv
	mov dword [esp], _cstring_g_gametype
	call _Z14Dvar_GetStringPKc
	mov edi, eax
	mov eax, [sharedUiInfo+0x114c]
	test eax, eax
	jg _Z16UI_RunMenuScriptiPPKcS0__100
_Z16UI_RunMenuScriptiPPKcS0__210:
	mov eax, [ui_netGameType]
	mov ebx, [eax+0xc]
	mov eax, [sharedUiInfo+0x1c58]
	test eax, eax
	jle _Z16UI_RunMenuScriptiPPKcS0__110
	xor esi, esi
	mov edx, sharedUiInfo
_Z16UI_RunMenuScriptiPPKcS0__130:
	mov dword [edx+0x1cf8], 0x0
	mov eax, [edx+0x1c70]
	mov ecx, ebx
	sar eax, cl
	test al, 0x1
	jz _Z16UI_RunMenuScriptiPPKcS0__120
	mov dword [edx+0x1cf8], 0x1
_Z16UI_RunMenuScriptiPPKcS0__120:
	add esi, 0x1
	add edx, 0xa0
	cmp [sharedUiInfo+0x1c58], esi
	jg _Z16UI_RunMenuScriptiPPKcS0__130
_Z16UI_RunMenuScriptiPPKcS0__110:
	mov dword [esp+0x10], _cstring_createserver_map
	mov dword [esp+0xc], 0x0
	mov dword [esp+0x8], 0x4
	mov dword [esp+0x4], 0x0
	mov dword [esp], uiInfoArray
	call _Z23Menu_SetFeederSelectionP9UiContextP9menuDef_tiiPKc
	mov eax, [ebp+0x8]
	call _Z19UI_SelectCurrentMapi
	jmp _Z16UI_RunMenuScriptiPPKcS0__70
_Z16UI_RunMenuScriptiPPKcS0__80:
	mov byte [ebp-0x89c], 0x0
	mov dword [esp], _cstring_cdkey1
	call _Z21Dvar_GetVariantStringPKc
	mov [esp+0x8], eax
	mov dword [esp+0x4], 0x400
	lea esi, [ebp-0x89c]
	mov [esp], esi
	call _Z9I_strncatPciPKc
	mov dword [esp], _cstring_cdkey2
	call _Z21Dvar_GetVariantStringPKc
	mov [esp+0x8], eax
	mov dword [esp+0x4], 0x400
	mov [esp], esi
	call _Z9I_strncatPciPKc
	mov dword [esp], _cstring_cdkey3
	call _Z21Dvar_GetVariantStringPKc
	mov [esp+0x8], eax
	mov dword [esp+0x4], 0x400
	mov [esp], esi
	call _Z9I_strncatPciPKc
	mov dword [esp], _cstring_cdkey4
	call _Z21Dvar_GetVariantStringPKc
	mov [esp+0x8], eax
	mov dword [esp+0x4], 0x400
	mov [esp], esi
	call _Z9I_strncatPciPKc
	mov byte [ebp-0x109c], 0x0
	mov dword [esp], _cstring_cdkey5
	call _Z21Dvar_GetVariantStringPKc
	mov [esp+0x8], eax
	mov dword [esp+0x4], 0x400
	lea ebx, [ebp-0x109c]
	mov [esp], ebx
	call _Z9I_strncatPciPKc
	mov [esp+0x4], ebx
	mov [esp], esi
	call _Z16CL_CDKeyValidatePKcS0_
	test eax, eax
	jz _Z16UI_RunMenuScriptiPPKcS0__140
	mov dword [esp], _cstring_exe_cdkeyvalid
	call _Z22UI_SafeTranslateStringPKc
	mov [esp+0x4], eax
	mov dword [esp], _cstring_ui_cdkeyvalid
	call _Z20Dvar_SetStringByNamePKcS0_
	mov [esp+0x4], ebx
	mov [esp], esi
	call _Z13CLUI_SetCDKeyPcS_
	jmp _Z16UI_RunMenuScriptiPPKcS0__70
_Z16UI_RunMenuScriptiPPKcS0__40:
	mov dword [esp+0x4], _cstring_startpb_popmenu
	mov dword [esp], uiInfoArray
	call _Z16Menus_OpenByNameP9UiContextPKc
	jmp _Z16UI_RunMenuScriptiPPKcS0__70
_Z16UI_RunMenuScriptiPPKcS0__140:
	mov dword [esp], _cstring_exe_cdkeyinvalid
	call _Z22UI_SafeTranslateStringPKc
	mov [esp+0x4], eax
	mov dword [esp], _cstring_ui_cdkeyvalid
	call _Z20Dvar_SetStringByNamePKcS0_
	jmp _Z16UI_RunMenuScriptiPPKcS0__70
_Z16UI_RunMenuScriptiPPKcS0__90:
	mov dword [esp+0x4], _cstring_loadgameinfo
	mov [esp], ebx
	call _Z9I_stricmpPKcS0_
	test eax, eax
	jnz _Z16UI_RunMenuScriptiPPKcS0__150
	mov dword [sharedUiInfo+0x114c], 0x0
	mov dword [sharedUiInfo+0x1250], 0x0
	mov dword [sharedUiInfo+0x1b54], 0x0
	mov dword [esp], _cstring_all
	call _Z12String_AllocPKc
	mov [sharedUiInfo+0x1b58], eax
	mov eax, [sharedUiInfo+0x1b54]
	mov dword [eax*8+sharedUiInfo+0x1b5c], _cstring_null
	add dword [sharedUiInfo+0x1b54], 0x1
	mov eax, useFastFile
	mov edx, [eax]
	mov eax, _Z28UI_GetGameTypesList_FastFilev
	cmp byte [edx+0xc], 0x0
	mov edx, _Z27UI_GetGameTypesList_LoadObjv
	cmovz eax, edx
	call eax
	mov edi, [sharedUiInfo+0x114c]
	test edi, edi
	jnz _Z16UI_RunMenuScriptiPPKcS0__70
	mov dword [esp+0x4], _cstring_no_game_type_scr
	mov dword [esp], 0x1
	call _Z9Com_Error11errorParm_tPKcz
	jmp _Z16UI_RunMenuScriptiPPKcS0__70
_Z16UI_RunMenuScriptiPPKcS0__60:
	mov dword [esp+0x8], 0x5
	mov [esp+0x4], ebx
	lea ebx, [ebp-0x9c]
	mov [esp], ebx
	call _Z10I_strncpyzPcPKci
	mov [esp+0x4], ebx
	mov dword [esp], _cstring_cdkey1
	call _Z20Dvar_SetStringByNamePKcS0_
	mov dword [esp+0x8], 0x5
	lea eax, [ebp-0x1098]
	mov [esp+0x4], eax
	mov [esp], ebx
	call _Z10I_strncpyzPcPKci
	mov [esp+0x4], ebx
	mov dword [esp], _cstring_cdkey2
	call _Z20Dvar_SetStringByNamePKcS0_
	mov dword [esp+0x8], 0x5
	lea eax, [ebp-0x1094]
	mov [esp+0x4], eax
	mov [esp], ebx
	call _Z10I_strncpyzPcPKci
	mov [esp+0x4], ebx
	mov dword [esp], _cstring_cdkey3
	call _Z20Dvar_SetStringByNamePKcS0_
	mov dword [esp+0x8], 0x5
	lea eax, [ebp-0x1090]
	mov [esp+0x4], eax
	mov [esp], ebx
	call _Z10I_strncpyzPcPKci
	mov [esp+0x4], ebx
	mov dword [esp], _cstring_cdkey4
	call _Z20Dvar_SetStringByNamePKcS0_
	jmp _Z16UI_RunMenuScriptiPPKcS0__160
_Z16UI_RunMenuScriptiPPKcS0__150:
	mov dword [esp+0x4], _cstring_loadmods
	mov [esp], ebx
	call _Z9I_stricmpPKcS0_
	test eax, eax
	jnz _Z16UI_RunMenuScriptiPPKcS0__170
	mov dword [sharedUiInfo+0x6e84], 0x0
	mov dword [sharedUiInfo+0x6e88], 0x0
	mov dword [esp+0x10], 0x800
	lea edi, [ebp-0x109c]
	mov [esp+0xc], edi
	mov dword [esp+0x8], 0x1
	mov dword [esp+0x4], _cstring_null
	mov dword [esp], _cstring_modlist
	call _Z14FS_GetFileListPKcS0_16FsListBehavior_ePci
	mov [ebp-0x10c0], eax
	test eax, eax
	jle _Z16UI_RunMenuScriptiPPKcS0__70
	mov [ebp-0x10bc], edi
	mov dword [ebp-0x10b8], 0x0
	mov esi, [sharedUiInfo+0x6e84]
	jmp _Z16UI_RunMenuScriptiPPKcS0__180
_Z16UI_RunMenuScriptiPPKcS0__190:
	mov edi, [ebp-0x10bc]
_Z16UI_RunMenuScriptiPPKcS0__180:
	cld
	mov ecx, 0xffffffff
	xor eax, eax
	repne scasb
	mov ebx, ecx
	not ebx
	mov edi, [ebp-0x10bc]
	add edi, ebx
	mov eax, [ebp-0x10bc]
	mov [esp], eax
	call _Z12String_AllocPKc
	mov [esi*8+sharedUiInfo+0x6c84], eax
	mov esi, [sharedUiInfo+0x6e84]
	mov [esp], edi
	call _Z12String_AllocPKc
	mov [esi*8+sharedUiInfo+0x6c88], eax
	cld
	mov ecx, 0xffffffff
	xor eax, eax
	repne scasb
	not ecx
	lea ecx, [ecx+ebx-0x1]
	mov edx, [ebp-0x10bc]
	lea ecx, [edx+ecx+0x1]
	mov [ebp-0x10bc], ecx
	mov eax, [sharedUiInfo+0x6e84]
	add eax, 0x1
	mov esi, eax
	mov [sharedUiInfo+0x6e84], eax
	cmp eax, 0x3f
	jg _Z16UI_RunMenuScriptiPPKcS0__70
	add dword [ebp-0x10b8], 0x1
	mov ecx, [ebp-0x10b8]
	cmp [ebp-0x10c0], ecx
	jnz _Z16UI_RunMenuScriptiPPKcS0__190
	jmp _Z16UI_RunMenuScriptiPPKcS0__70
_Z16UI_RunMenuScriptiPPKcS0__100:
	xor esi, esi
	mov ebx, sharedUiInfo
	jmp _Z16UI_RunMenuScriptiPPKcS0__200
_Z16UI_RunMenuScriptiPPKcS0__220:
	add esi, 0x1
	add ebx, 0x8
	cmp [sharedUiInfo+0x114c], esi
	jle _Z16UI_RunMenuScriptiPPKcS0__210
_Z16UI_RunMenuScriptiPPKcS0__200:
	mov eax, [ebx+0x1150]
	mov [esp+0x4], eax
	mov [esp], edi
	call _Z9I_stricmpPKcS0_
	test eax, eax
	jnz _Z16UI_RunMenuScriptiPPKcS0__220
	mov [esp+0x4], esi
	mov eax, [ui_netGameType]
	mov [esp], eax
	call _Z11Dvar_SetIntPK6dvar_si
	mov eax, [esi*8+sharedUiInfo+0x1150]
	mov [esp+0x4], eax
	mov eax, [ui_netGameTypeName]
	mov [esp], eax
	call _Z14Dvar_SetStringPK6dvar_sPKc
	jmp _Z16UI_RunMenuScriptiPPKcS0__210
_Z16UI_RunMenuScriptiPPKcS0__170:
	mov dword [esp+0x4], _cstring_votetypemap
	mov [esp], ebx
	call _Z9I_stricmpPKcS0_
	test eax, eax
	jnz _Z16UI_RunMenuScriptiPPKcS0__230
	mov eax, [ui_currentNetMap]
	mov eax, [eax+0xc]
	lea eax, [eax+eax*4]
	shl eax, 0x5
	mov eax, [eax+sharedUiInfo+0x1c60]
	mov [esp+0x8], eax
	mov eax, [ui_netGameType]
	mov eax, [eax+0xc]
	mov eax, [eax*8+sharedUiInfo+0x1150]
	mov [esp+0x4], eax
	mov dword [esp], _cstring_callvote_typemap
	call _Z2vaPKcz
	mov [esp+0x4], eax
	mov eax, [ebp+0x8]
	mov [esp], eax
	call _Z12Cbuf_AddTextiPKc
	jmp _Z16UI_RunMenuScriptiPPKcS0__70
_Z16UI_RunMenuScriptiPPKcS0__230:
	mov dword [esp+0x4], _cstring_votemap
	mov [esp], ebx
	call _Z9I_stricmpPKcS0_
	test eax, eax
	jnz _Z16UI_RunMenuScriptiPPKcS0__240
	mov eax, [ui_currentNetMap]
	mov eax, [eax+0xc]
	test eax, eax
	js _Z16UI_RunMenuScriptiPPKcS0__70
	cmp eax, [sharedUiInfo+0x1c58]
	jge _Z16UI_RunMenuScriptiPPKcS0__70
	lea eax, [eax+eax*4]
	shl eax, 0x5
	mov eax, [eax+sharedUiInfo+0x1c60]
	mov [esp+0x4], eax
	mov dword [esp], _cstring_callvote_map_s
	call _Z2vaPKcz
	mov [esp+0x4], eax
	mov edx, [ebp+0x8]
	mov [esp], edx
	call _Z12Cbuf_AddTextiPKc
	jmp _Z16UI_RunMenuScriptiPPKcS0__70
_Z16UI_RunMenuScriptiPPKcS0__240:
	mov dword [esp+0x4], _cstring_votegame
	mov [esp], ebx
	call _Z9I_stricmpPKcS0_
	test eax, eax
	jnz _Z16UI_RunMenuScriptiPPKcS0__250
	mov eax, [ui_netGameType]
	mov eax, [eax+0xc]
	mov eax, [eax*8+sharedUiInfo+0x1150]
	mov [esp+0x4], eax
	mov dword [esp], _cstring_callvote_g_gamet
	call _Z2vaPKcz
	mov [esp+0x4], eax
	mov ecx, [ebp+0x8]
	mov [esp], ecx
	call _Z12Cbuf_AddTextiPKc
	jmp _Z16UI_RunMenuScriptiPPKcS0__70
_Z16UI_RunMenuScriptiPPKcS0__250:
	mov dword [esp+0x4], _cstring_clearerror
	mov [esp], ebx
	call _Z9I_stricmpPKcS0_
	test eax, eax
	jnz _Z16UI_RunMenuScriptiPPKcS0__260
	mov dword [esp+0x4], _cstring_null
	mov dword [esp], _cstring_com_errormessage
	call _Z20Dvar_SetStringByNamePKcS0_
	mov dword [esp+0x4], 0x0
	mov dword [esp], _cstring_com_isnotice
	call _Z18Dvar_SetBoolByNamePKch
	mov eax, clientUIActives
	mov esi, [eax+0xc]
	test esi, esi
	jle _Z16UI_RunMenuScriptiPPKcS0__70
	mov dword [esp+0x4], 0xffffffef
	mov eax, [ebp+0x8]
	mov [esp], eax
	call _Z17Key_RemoveCatcherii
	jmp _Z16UI_RunMenuScriptiPPKcS0__70
_Z16UI_RunMenuScriptiPPKcS0__260:
	mov dword [esp+0x4], _cstring_refreshservers
	mov [esp], ebx
	call _Z9I_stricmpPKcS0_
	test eax, eax
	jnz _Z16UI_RunMenuScriptiPPKcS0__270
	mov edx, 0x1
	mov eax, [ebp+0x8]
	call _Z21UI_StartServerRefreshii
	mov dword [esp+0x4], 0x1
	mov dword [esp], uiInfoArray
	call _Z25UI_BuildServerDisplayListP8uiInfo_si
	jmp _Z16UI_RunMenuScriptiPPKcS0__70
_Z16UI_RunMenuScriptiPPKcS0__270:
	mov dword [esp+0x4], _cstring_refreshfilter
	mov [esp], ebx
	call _Z9I_stricmpPKcS0_
	test eax, eax
	jnz _Z16UI_RunMenuScriptiPPKcS0__280
	xor edx, edx
	mov eax, [ebp+0x8]
	call _Z21UI_StartServerRefreshii
	mov dword [esp+0x4], 0x1
	mov dword [esp], uiInfoArray
	call _Z25UI_BuildServerDisplayListP8uiInfo_si
	jmp _Z16UI_RunMenuScriptiPPKcS0__70
_Z16UI_RunMenuScriptiPPKcS0__280:
	mov dword [esp+0x4], _cstring_addplayerprofile
	mov [esp], ebx
	call _Z9I_stricmpPKcS0_
	test eax, eax
	jnz _Z16UI_RunMenuScriptiPPKcS0__290
	mov dword [uiInfoArray+0x1684], 0x0
	mov dword [uiInfoArray+0x1788], 0x1
	mov dword [esp+0x10], 0x3
	lea eax, [ebp-0x1c]
	mov [esp+0xc], eax
	mov dword [esp+0x8], 0x1
	mov dword [esp+0x4], _cstring_
	mov dword [esp], _cstring_profiles
	call FS_ListFiles
	mov edi, eax
	mov ebx, [ebp-0x1c]
	test ebx, ebx
	jg _Z16UI_RunMenuScriptiPPKcS0__300
_Z16UI_RunMenuScriptiPPKcS0__480:
	mov dword [esp+0x4], 0x3
	mov [esp], edi
	call FS_FreeFileList
	mov eax, [uiInfoArray+0x1684]
	cmp eax, 0x0
	jz _Z16UI_RunMenuScriptiPPKcS0__310
	jg _Z16UI_RunMenuScriptiPPKcS0__320
_Z16UI_RunMenuScriptiPPKcS0__460:
	mov dword [esp+0xc], _Z29UI_PlayerProfilesQsortComparePKvS0_
	mov dword [esp+0x8], 0x4
	mov [esp+0x4], eax
	mov dword [esp], uiInfoArray+0x178c
	call qsort
	mov esi, [uiInfoArray+0xa74]
	mov eax, esi
	sub eax, 0x1
	js _Z16UI_RunMenuScriptiPPKcS0__330
	lea ebx, [eax*4+uiInfoArray+0xa34]
	xor edi, edi
	jmp _Z16UI_RunMenuScriptiPPKcS0__340
_Z16UI_RunMenuScriptiPPKcS0__350:
	add edi, 0x1
	sub ebx, 0x4
	cmp edi, esi
	jz _Z16UI_RunMenuScriptiPPKcS0__330
_Z16UI_RunMenuScriptiPPKcS0__340:
	mov eax, [ebx]
	test byte [eax+0x50], 0x4
	jz _Z16UI_RunMenuScriptiPPKcS0__350
	mov dword [esp+0x10], 0x0
	mov dword [esp+0xc], 0x0
	mov dword [esp+0x8], 0x18
	mov [esp+0x4], eax
	mov dword [esp], uiInfoArray
	call _Z23Menu_SetFeederSelectionP9UiContextP9menuDef_tiiPKc
	jmp _Z16UI_RunMenuScriptiPPKcS0__350
_Z16UI_RunMenuScriptiPPKcS0__290:
	mov dword [esp+0x4], _cstring_sortplayerprofil
	mov [esp], ebx
	call _Z9I_stricmpPKcS0_
	test eax, eax
	jnz _Z16UI_RunMenuScriptiPPKcS0__360
	xor eax, eax
	cmp dword [uiInfoArray+0x1788], 0x0
	setz al
	mov [uiInfoArray+0x1788], eax
	mov eax, [uiInfoArray+0x1684]
	cmp eax, 0x0
	jz _Z16UI_RunMenuScriptiPPKcS0__70
	jg _Z16UI_RunMenuScriptiPPKcS0__370
_Z16UI_RunMenuScriptiPPKcS0__410:
	mov dword [esp+0xc], _Z29UI_PlayerProfilesQsortComparePKvS0_
	mov dword [esp+0x8], 0x4
	mov [esp+0x4], eax
	mov dword [esp], uiInfoArray+0x178c
	call qsort
	mov esi, [uiInfoArray+0xa74]
	mov eax, esi
	sub eax, 0x1
	js _Z16UI_RunMenuScriptiPPKcS0__70
	lea ebx, [eax*4+uiInfoArray+0xa34]
	xor edi, edi
	jmp _Z16UI_RunMenuScriptiPPKcS0__380
_Z16UI_RunMenuScriptiPPKcS0__390:
	add edi, 0x1
	sub ebx, 0x4
	cmp esi, edi
	jz _Z16UI_RunMenuScriptiPPKcS0__70
_Z16UI_RunMenuScriptiPPKcS0__380:
	mov eax, [ebx]
	test byte [eax+0x50], 0x4
	jz _Z16UI_RunMenuScriptiPPKcS0__390
	mov dword [esp+0x10], 0x0
	mov dword [esp+0xc], 0x0
	mov dword [esp+0x8], 0x18
	mov [esp+0x4], eax
	mov dword [esp], uiInfoArray
	call _Z23Menu_SetFeederSelectionP9UiContextP9menuDef_tiiPKc
	jmp _Z16UI_RunMenuScriptiPPKcS0__390
_Z16UI_RunMenuScriptiPPKcS0__370:
	xor edx, edx
	mov ecx, uiInfoArray
_Z16UI_RunMenuScriptiPPKcS0__400:
	mov [ecx+0x178c], edx
	add edx, 0x1
	add ecx, 0x4
	cmp eax, edx
	jg _Z16UI_RunMenuScriptiPPKcS0__400
	jmp _Z16UI_RunMenuScriptiPPKcS0__410
_Z16UI_RunMenuScriptiPPKcS0__360:
	mov dword [esp+0x4], _cstring_selectactiveplay
	mov [esp], ebx
	call _Z9I_stricmpPKcS0_
	test eax, eax
	jnz _Z16UI_RunMenuScriptiPPKcS0__420
	mov eax, com_playerProfile
	mov eax, [eax]
	mov esi, [eax+0xc]
	mov ecx, [uiInfoArray+0x1684]
	test ecx, ecx
	jle _Z16UI_RunMenuScriptiPPKcS0__70
	mov dword [ebp-0x10b4], 0x0
	mov ebx, uiInfoArray
_Z16UI_RunMenuScriptiPPKcS0__440:
	mov eax, [ebx+0x178c]
	mov eax, [eax*4+uiInfoArray+0x1688]
	mov [esp+0x4], eax
	mov [esp], esi
	call _Z9I_stricmpPKcS0_
	test eax, eax
	jz _Z16UI_RunMenuScriptiPPKcS0__430
	add dword [ebp-0x10b4], 0x1
	add ebx, 0x4
	mov edx, [ebp-0x10b4]
	cmp [uiInfoArray+0x1684], edx
	jg _Z16UI_RunMenuScriptiPPKcS0__440
	jmp _Z16UI_RunMenuScriptiPPKcS0__70
_Z16UI_RunMenuScriptiPPKcS0__330:
	mov eax, [uiInfoArray+0x1684]
_Z16UI_RunMenuScriptiPPKcS0__310:
	mov [esp+0x4], eax
	mov eax, [ui_playerProfileCount]
	mov [esp], eax
	call _Z11Dvar_SetIntPK6dvar_si
	jmp _Z16UI_RunMenuScriptiPPKcS0__70
_Z16UI_RunMenuScriptiPPKcS0__320:
	xor edx, edx
	mov ecx, uiInfoArray
_Z16UI_RunMenuScriptiPPKcS0__450:
	mov [ecx+0x178c], edx
	add edx, 0x1
	add ecx, 0x4
	cmp eax, edx
	jg _Z16UI_RunMenuScriptiPPKcS0__450
	jmp _Z16UI_RunMenuScriptiPPKcS0__460
_Z16UI_RunMenuScriptiPPKcS0__300:
	xor esi, esi
_Z16UI_RunMenuScriptiPPKcS0__470:
	mov ebx, [uiInfoArray+0x1684]
	mov eax, [edi+esi*4]
	mov [esp], eax
	call _Z12String_AllocPKc
	mov [ebx*4+uiInfoArray+0x1688], eax
	add dword [uiInfoArray+0x1684], 0x1
	add esi, 0x1
	cmp [ebp-0x1c], esi
	jg _Z16UI_RunMenuScriptiPPKcS0__470
	jmp _Z16UI_RunMenuScriptiPPKcS0__480
_Z16UI_RunMenuScriptiPPKcS0__430:
	mov edx, [ebp-0x10b4]
	test edx, edx
	js _Z16UI_RunMenuScriptiPPKcS0__70
	mov ecx, [ebp-0x10b4]
	cmp [uiInfoArray+0x1684], ecx
	jle _Z16UI_RunMenuScriptiPPKcS0__70
	mov esi, [uiInfoArray+0xa74]
	mov eax, esi
	sub eax, 0x1
	js _Z16UI_RunMenuScriptiPPKcS0__70
	lea ebx, [eax*4+uiInfoArray+0xa34]
	xor edi, edi
_Z16UI_RunMenuScriptiPPKcS0__500:
	mov eax, [ebx]
	test byte [eax+0x50], 0x4
	jz _Z16UI_RunMenuScriptiPPKcS0__490
	mov dword [esp+0x10], 0x0
	mov edx, [ebp-0x10b4]
	mov [esp+0xc], edx
	mov dword [esp+0x8], 0x18
	mov [esp+0x4], eax
	mov dword [esp], uiInfoArray
	call _Z23Menu_SetFeederSelectionP9UiContextP9menuDef_tiiPKc
_Z16UI_RunMenuScriptiPPKcS0__490:
	add edi, 0x1
	sub ebx, 0x4
	cmp esi, edi
	jnz _Z16UI_RunMenuScriptiPPKcS0__500
	jmp _Z16UI_RunMenuScriptiPPKcS0__70
_Z16UI_RunMenuScriptiPPKcS0__420:
	mov dword [esp+0x4], _cstring_createplayerprof
	mov [esp], ebx
	call _Z9I_stricmpPKcS0_
	test eax, eax
	jnz _Z16UI_RunMenuScriptiPPKcS0__510
	mov eax, [ui_playerProfileNameNew]
	mov eax, [eax+0xc]
	cmp byte [eax], 0x0
	jz _Z16UI_RunMenuScriptiPPKcS0__70
	mov dword [esp+0x8], 0x20
	mov [esp+0x4], eax
	lea ecx, [ebp-0x89c]
	mov [esp], ecx
	call _Z10I_strncpyzPcPKci
	mov dword [esp+0x4], _cstring_null
	mov eax, [ui_playerProfileNameNew]
	mov [esp], eax
	call _Z14Dvar_SetStringPK6dvar_sPKc
	mov eax, [uiInfoArray+0x1684]
	cmp eax, 0x40
	jz _Z16UI_RunMenuScriptiPPKcS0__520
	test eax, eax
	jle _Z16UI_RunMenuScriptiPPKcS0__530
	xor esi, esi
	mov ebx, uiInfoArray
_Z16UI_RunMenuScriptiPPKcS0__550:
	mov eax, [ebx+0x1688]
	mov [esp+0x4], eax
	lea eax, [ebp-0x89c]
	mov [esp], eax
	call _Z9I_stricmpPKcS0_
	test eax, eax
	jz _Z16UI_RunMenuScriptiPPKcS0__540
	add esi, 0x1
	add ebx, 0x4
	cmp [uiInfoArray+0x1684], esi
	jg _Z16UI_RunMenuScriptiPPKcS0__550
_Z16UI_RunMenuScriptiPPKcS0__530:
	lea edx, [ebp-0x89c]
	mov [esp], edx
	call _Z20Com_NewPlayerProfilePKc
	test al, al
	jnz _Z16UI_RunMenuScriptiPPKcS0__560
	mov dword [esp+0x4], _cstring_profile_create_f
	mov dword [esp], uiInfoArray
	call _Z16Menus_OpenByNameP9UiContextPKc
	jmp _Z16UI_RunMenuScriptiPPKcS0__70
_Z16UI_RunMenuScriptiPPKcS0__510:
	mov dword [esp+0x4], _cstring_deleteplayerprof
	mov [esp], ebx
	call _Z9I_stricmpPKcS0_
	test eax, eax
	jnz _Z16UI_RunMenuScriptiPPKcS0__570
	mov eax, [uiInfoArray+0x1684]
	test eax, eax
	jz _Z16UI_RunMenuScriptiPPKcS0__70
	mov eax, [ui_playerProfileSelected]
	mov eax, [eax+0xc]
	mov [esp], eax
	call _Z23Com_DeletePlayerProfilePKc
	test al, al
	jz _Z16UI_RunMenuScriptiPPKcS0__580
	mov eax, [ui_playerProfileSelected]
	mov esi, [eax+0xc]
	mov eax, [uiInfoArray+0x1684]
	test eax, eax
	jg _Z16UI_RunMenuScriptiPPKcS0__590
_Z16UI_RunMenuScriptiPPKcS0__690:
	mov dword [ebp-0x10ac], 0xffffffff
_Z16UI_RunMenuScriptiPPKcS0__670:
	mov edx, [ebp-0x10ac]
	mov ebx, [edx*4+uiInfoArray+0x178c]
	mov ecx, [uiInfoArray+0x1684]
	lea edx, [ecx-0x1]
	mov [uiInfoArray+0x1684], edx
	test edx, edx
	jz _Z16UI_RunMenuScriptiPPKcS0__600
	mov eax, [edx*4+uiInfoArray+0x1688]
	mov [ebx*4+uiInfoArray+0x1688], eax
	mov ebx, edx
	lea eax, [ecx-0x2]
	cmp [ebp-0x10ac], edx
	cmovnz eax, [ebp-0x10ac]
	mov [ebp-0x10ac], eax
	test edx, edx
	jg _Z16UI_RunMenuScriptiPPKcS0__610
_Z16UI_RunMenuScriptiPPKcS0__660:
	mov dword [esp+0xc], _Z29UI_PlayerProfilesQsortComparePKvS0_
	mov dword [esp+0x8], 0x4
	mov [esp+0x4], ebx
	mov dword [esp], uiInfoArray+0x178c
	call qsort
	mov esi, [uiInfoArray+0xa74]
	mov eax, esi
	sub eax, 0x1
	js _Z16UI_RunMenuScriptiPPKcS0__620
	lea ebx, [eax*4+uiInfoArray+0xa34]
	xor edi, edi
_Z16UI_RunMenuScriptiPPKcS0__640:
	mov eax, [ebx]
	test byte [eax+0x50], 0x4
	jz _Z16UI_RunMenuScriptiPPKcS0__630
	mov dword [esp+0x10], 0x0
	mov ecx, [ebp-0x10ac]
	mov [esp+0xc], ecx
	mov dword [esp+0x8], 0x18
	mov [esp+0x4], eax
	mov dword [esp], uiInfoArray
	call _Z23Menu_SetFeederSelectionP9UiContextP9menuDef_tiiPKc
_Z16UI_RunMenuScriptiPPKcS0__630:
	add edi, 0x1
	sub ebx, 0x4
	cmp edi, esi
	jnz _Z16UI_RunMenuScriptiPPKcS0__640
_Z16UI_RunMenuScriptiPPKcS0__620:
	mov eax, [uiInfoArray+0x1684]
	mov [esp+0x4], eax
	mov eax, [ui_playerProfileCount]
	mov [esp], eax
	call _Z11Dvar_SetIntPK6dvar_si
	jmp _Z16UI_RunMenuScriptiPPKcS0__70
_Z16UI_RunMenuScriptiPPKcS0__610:
	xor edx, edx
	mov ecx, uiInfoArray
	mov eax, [uiInfoArray+0x1684]
_Z16UI_RunMenuScriptiPPKcS0__650:
	mov [ecx+0x178c], edx
	add edx, 0x1
	mov ebx, eax
	add ecx, 0x4
	cmp edx, eax
	jl _Z16UI_RunMenuScriptiPPKcS0__650
	jmp _Z16UI_RunMenuScriptiPPKcS0__660
_Z16UI_RunMenuScriptiPPKcS0__600:
	mov dword [esp+0x4], _cstring_null
	mov eax, [ui_playerProfileSelected]
	mov [esp], eax
	call _Z14Dvar_SetStringPK6dvar_sPKc
	jmp _Z16UI_RunMenuScriptiPPKcS0__620
_Z16UI_RunMenuScriptiPPKcS0__590:
	mov dword [ebp-0x10ac], 0x0
	mov ebx, uiInfoArray
_Z16UI_RunMenuScriptiPPKcS0__680:
	mov eax, [ebx+0x178c]
	mov eax, [eax*4+uiInfoArray+0x1688]
	mov [esp+0x4], eax
	mov [esp], esi
	call _Z9I_stricmpPKcS0_
	test eax, eax
	jz _Z16UI_RunMenuScriptiPPKcS0__670
	add dword [ebp-0x10ac], 0x1
	add ebx, 0x4
	mov eax, [ebp-0x10ac]
	cmp eax, [uiInfoArray+0x1684]
	jl _Z16UI_RunMenuScriptiPPKcS0__680
	jmp _Z16UI_RunMenuScriptiPPKcS0__690
_Z16UI_RunMenuScriptiPPKcS0__580:
	mov dword [esp+0x4], _cstring_profile_delete_f
	mov dword [esp], uiInfoArray
	call _Z16Menus_OpenByNameP9UiContextPKc
	jmp _Z16UI_RunMenuScriptiPPKcS0__70
_Z16UI_RunMenuScriptiPPKcS0__570:
	mov dword [esp+0x4], _cstring_loadplayerprofil
	mov [esp], ebx
	call _Z9I_stricmpPKcS0_
	test eax, eax
	jnz _Z16UI_RunMenuScriptiPPKcS0__700
	mov eax, [ui_playerProfileSelected]
	mov eax, [eax+0xc]
	cmp byte [eax], 0x0
	jz _Z16UI_RunMenuScriptiPPKcS0__70
	mov [esp+0x4], eax
	mov eax, [ebp+0x8]
	mov [esp], eax
	call _Z23Com_ChangePlayerProfileiPKc
	jmp _Z16UI_RunMenuScriptiPPKcS0__70
_Z16UI_RunMenuScriptiPPKcS0__540:
	mov dword [esp+0x4], _cstring_profile_exists_p
	mov dword [esp], uiInfoArray
	call _Z16Menus_OpenByNameP9UiContextPKc
	jmp _Z16UI_RunMenuScriptiPPKcS0__70
_Z16UI_RunMenuScriptiPPKcS0__700:
	mov dword [esp+0x4], _cstring_runmod
	mov [esp], ebx
	call _Z9I_stricmpPKcS0_
	test eax, eax
	jnz _Z16UI_RunMenuScriptiPPKcS0__710
	mov eax, [sharedUiInfo+0x6e88]
	mov eax, [eax*8+sharedUiInfo+0x6c84]
	test eax, eax
	jz _Z16UI_RunMenuScriptiPPKcS0__70
	mov [esp+0x10], eax
	mov dword [esp+0xc], _cstring_mods
	mov dword [esp+0x8], _cstring_ss
	mov dword [esp+0x4], 0x104
	lea ebx, [ebp-0x109c]
	mov [esp], ebx
	call _Z11Com_sprintfPciPKcz
	mov eax, useFastFile
	mov eax, [eax]
	cmp byte [eax+0xc], 0x0
	jz _Z16UI_RunMenuScriptiPPKcS0__720
	call _Z14DB_SyncXAssetsv
_Z16UI_RunMenuScriptiPPKcS0__720:
	mov [esp+0x4], ebx
	mov dword [esp], _cstring_fs_game
	call _Z20Dvar_SetStringByNamePKcS0_
	mov dword [esp+0x4], _cstring_vid_restart
	mov edx, [ebp+0x8]
	mov [esp], edx
	call _Z12Cbuf_AddTextiPKc
	jmp _Z16UI_RunMenuScriptiPPKcS0__70
_Z16UI_RunMenuScriptiPPKcS0__710:
	mov dword [esp+0x4], _cstring_clearmods
	mov [esp], ebx
	call _Z9I_stricmpPKcS0_
	test eax, eax
	jnz _Z16UI_RunMenuScriptiPPKcS0__730
	mov eax, useFastFile
	mov eax, [eax]
	cmp byte [eax+0xc], 0x0
	jz _Z16UI_RunMenuScriptiPPKcS0__740
	call _Z14DB_SyncXAssetsv
_Z16UI_RunMenuScriptiPPKcS0__740:
	mov dword [esp], _cstring_fs_game
	call _Z12Dvar_FindVarPKc
	mov dword [esp+0x4], 0x0
	mov [esp], eax
	call _Z10Dvar_ResetPK6dvar_s13DvarSetSource
	mov dword [esp+0x4], _cstring_vid_restart
	mov ecx, [ebp+0x8]
	mov [esp], ecx
	call _Z12Cbuf_AddTextiPKc
	jmp _Z16UI_RunMenuScriptiPPKcS0__70
_Z16UI_RunMenuScriptiPPKcS0__730:
	mov dword [esp+0x4], _cstring_closejoin
	mov [esp], ebx
	call _Z9I_stricmpPKcS0_
	test eax, eax
	jnz _Z16UI_RunMenuScriptiPPKcS0__750
	mov eax, [sharedUiInfo+0x72f0]
	test eax, eax
	jz _Z16UI_RunMenuScriptiPPKcS0__760
	mov dword [sharedUiInfo+0x72f0], 0x0
	mov eax, [sharedUiInfo+0x1ab80]
	mov [esp+0xc], eax
	mov eax, [sharedUiInfo+0x1ab78]
	mov [esp+0x8], eax
	mov dword [esp+0x4], _cstring_d_servers_listed
	mov dword [esp], 0xd
	call _Z10Com_PrintfiPKcz
	mov eax, [ui_netSource]
	mov eax, [eax+0xc]
	mov [esp], eax
	call _Z18LAN_GetServerCounti
	sub eax, [sharedUiInfo+0x1ab78]
	test eax, eax
	jle _Z16UI_RunMenuScriptiPPKcS0__770
	mov [esp+0x8], eax
	mov dword [esp+0x4], _cstring_d_servers_not_li
	mov dword [esp], 0xd
	call _Z10Com_PrintfiPKcz
_Z16UI_RunMenuScriptiPPKcS0__770:
	mov dword [sharedUiInfo+0x1ab84], 0x0
	mov dword [sharedUiInfo+0x1bce8], 0x0
	mov dword [uiInfoArray+0x24ac], 0x0
	mov dword [esp+0x4], 0x1
	mov dword [esp], uiInfoArray
	call _Z25UI_BuildServerDisplayListP8uiInfo_si
	jmp _Z16UI_RunMenuScriptiPPKcS0__70
_Z16UI_RunMenuScriptiPPKcS0__760:
	mov dword [esp+0x4], _cstring_joinserver
	mov dword [esp], uiInfoArray
	call _Z17Menus_CloseByNameP9UiContextPKc
	mov dword [esp+0x4], _cstring_main
	mov dword [esp], uiInfoArray
	call _Z16Menus_OpenByNameP9UiContextPKc
	jmp _Z16UI_RunMenuScriptiPPKcS0__70
_Z16UI_RunMenuScriptiPPKcS0__750:
	mov dword [esp+0x4], _cstring_stoprefresh
	mov [esp], ebx
	call _Z9I_stricmpPKcS0_
	test eax, eax
	jnz _Z16UI_RunMenuScriptiPPKcS0__780
	mov eax, [sharedUiInfo+0x72f0]
	test eax, eax
	jnz _Z16UI_RunMenuScriptiPPKcS0__790
_Z16UI_RunMenuScriptiPPKcS0__920:
	mov dword [sharedUiInfo+0x1ab84], 0x0
	mov dword [sharedUiInfo+0x1bce8], 0x0
	mov dword [uiInfoArray+0x24ac], 0x0
	jmp _Z16UI_RunMenuScriptiPPKcS0__70
_Z16UI_RunMenuScriptiPPKcS0__520:
	mov dword [esp+0x4], _cstring_profile_create_t
	mov dword [esp], uiInfoArray
	call _Z16Menus_OpenByNameP9UiContextPKc
	jmp _Z16UI_RunMenuScriptiPPKcS0__70
_Z16UI_RunMenuScriptiPPKcS0__560:
	mov ebx, [uiInfoArray+0x1684]
	lea ecx, [ebp-0x89c]
	mov [esp], ecx
	call _Z12String_AllocPKc
	mov [ebx*4+uiInfoArray+0x1688], eax
	mov ebx, [uiInfoArray+0x1684]
	add ebx, 0x1
	mov [uiInfoArray+0x1684], ebx
	cmp ebx, 0x0
	jz _Z16UI_RunMenuScriptiPPKcS0__800
	jg _Z16UI_RunMenuScriptiPPKcS0__810
_Z16UI_RunMenuScriptiPPKcS0__880:
	mov dword [esp+0xc], _Z29UI_PlayerProfilesQsortComparePKvS0_
	mov dword [esp+0x8], 0x4
	mov [esp+0x4], ebx
	mov dword [esp], uiInfoArray+0x178c
	call qsort
	mov esi, [uiInfoArray+0xa74]
	mov eax, esi
	sub eax, 0x1
	js _Z16UI_RunMenuScriptiPPKcS0__800
	lea ebx, [eax*4+uiInfoArray+0xa34]
	xor edi, edi
_Z16UI_RunMenuScriptiPPKcS0__830:
	mov eax, [ebx]
	test byte [eax+0x50], 0x4
	jz _Z16UI_RunMenuScriptiPPKcS0__820
	mov dword [esp+0x10], 0x0
	mov dword [esp+0xc], 0x0
	mov dword [esp+0x8], 0x18
	mov [esp+0x4], eax
	mov dword [esp], uiInfoArray
	call _Z23Menu_SetFeederSelectionP9UiContextP9menuDef_tiiPKc
_Z16UI_RunMenuScriptiPPKcS0__820:
	add edi, 0x1
	sub ebx, 0x4
	cmp edi, esi
	jnz _Z16UI_RunMenuScriptiPPKcS0__830
_Z16UI_RunMenuScriptiPPKcS0__800:
	mov eax, [uiInfoArray+0x1684]
	mov [esp+0x4], eax
	mov eax, [ui_playerProfileCount]
	mov [esp], eax
	call _Z11Dvar_SetIntPK6dvar_si
	mov eax, [uiInfoArray+0x1684]
	test eax, eax
	jg _Z16UI_RunMenuScriptiPPKcS0__840
_Z16UI_RunMenuScriptiPPKcS0__910:
	mov dword [ebp-0x10b0], 0xffffffff
_Z16UI_RunMenuScriptiPPKcS0__890:
	mov esi, [uiInfoArray+0xa74]
	mov eax, esi
	sub eax, 0x1
	js _Z16UI_RunMenuScriptiPPKcS0__70
	lea ebx, [eax*4+uiInfoArray+0xa34]
	xor edi, edi
_Z16UI_RunMenuScriptiPPKcS0__860:
	mov eax, [ebx]
	test byte [eax+0x50], 0x4
	jz _Z16UI_RunMenuScriptiPPKcS0__850
	mov dword [esp+0x10], 0x0
	mov ecx, [ebp-0x10b0]
	mov [esp+0xc], ecx
	mov dword [esp+0x8], 0x18
	mov [esp+0x4], eax
	mov dword [esp], uiInfoArray
	call _Z23Menu_SetFeederSelectionP9UiContextP9menuDef_tiiPKc
_Z16UI_RunMenuScriptiPPKcS0__850:
	add edi, 0x1
	sub ebx, 0x4
	cmp edi, esi
	jnz _Z16UI_RunMenuScriptiPPKcS0__860
	jmp _Z16UI_RunMenuScriptiPPKcS0__70
_Z16UI_RunMenuScriptiPPKcS0__810:
	xor edx, edx
	mov ecx, uiInfoArray
	mov eax, [uiInfoArray+0x1684]
_Z16UI_RunMenuScriptiPPKcS0__870:
	mov [ecx+0x178c], edx
	add edx, 0x1
	mov ebx, eax
	add ecx, 0x4
	cmp eax, edx
	jg _Z16UI_RunMenuScriptiPPKcS0__870
	jmp _Z16UI_RunMenuScriptiPPKcS0__880
_Z16UI_RunMenuScriptiPPKcS0__840:
	mov dword [ebp-0x10b0], 0x0
	mov ebx, uiInfoArray
_Z16UI_RunMenuScriptiPPKcS0__900:
	mov eax, [ebx+0x178c]
	mov eax, [eax*4+uiInfoArray+0x1688]
	mov [esp+0x4], eax
	lea eax, [ebp-0x89c]
	mov [esp], eax
	call _Z9I_stricmpPKcS0_
	test eax, eax
	jz _Z16UI_RunMenuScriptiPPKcS0__890
	add dword [ebp-0x10b0], 0x1
	add ebx, 0x4
	mov edx, [ebp-0x10b0]
	cmp [uiInfoArray+0x1684], edx
	jg _Z16UI_RunMenuScriptiPPKcS0__900
	jmp _Z16UI_RunMenuScriptiPPKcS0__910
_Z16UI_RunMenuScriptiPPKcS0__790:
	mov dword [sharedUiInfo+0x72f0], 0x0
	mov eax, [sharedUiInfo+0x1ab80]
	mov [esp+0xc], eax
	mov eax, [sharedUiInfo+0x1ab78]
	mov [esp+0x8], eax
	mov dword [esp+0x4], _cstring_d_servers_listed
	mov dword [esp], 0xd
	call _Z10Com_PrintfiPKcz
	mov eax, [ui_netSource]
	mov eax, [eax+0xc]
	mov [esp], eax
	call _Z18LAN_GetServerCounti
	sub eax, [sharedUiInfo+0x1ab78]
	test eax, eax
	jle _Z16UI_RunMenuScriptiPPKcS0__920
	mov [esp+0x8], eax
	mov dword [esp+0x4], _cstring_d_servers_not_li
	mov dword [esp], 0xd
	call _Z10Com_PrintfiPKcz
	jmp _Z16UI_RunMenuScriptiPPKcS0__920
_Z16UI_RunMenuScriptiPPKcS0__780:
	mov dword [esp+0x4], _cstring_serverstatus
	mov [esp], ebx
	call _Z9I_stricmpPKcS0_
	test eax, eax
	jnz _Z16UI_RunMenuScriptiPPKcS0__930
	mov eax, [ui_netSource]
	mov eax, [eax+0xc]
	mov [esp], eax
	call _Z18LAN_GetServerCounti
	cmp eax, [sharedUiInfo+0x1ab7c]
	jz _Z16UI_RunMenuScriptiPPKcS0__940
	mov [sharedUiInfo+0x1ab7c], eax
	mov eax, [sharedUiInfo+0x1ab78]
	test eax, eax
	jz _Z16UI_RunMenuScriptiPPKcS0__940
	mov dword [sharedUiInfo+0x72f4], 0xffffffff
	mov dword [esp+0x4], 0x1
	mov dword [esp], uiInfoArray
	call _Z25UI_BuildServerDisplayListP8uiInfo_si
_Z16UI_RunMenuScriptiPPKcS0__940:
	mov eax, [sharedUiInfo+0x72f4]
	test eax, eax
	js _Z16UI_RunMenuScriptiPPKcS0__70
	cmp eax, [sharedUiInfo+0x1ab78]
	jge _Z16UI_RunMenuScriptiPPKcS0__70
	mov dword [esp+0xc], 0x40
	mov dword [esp+0x8], sharedUiInfo+0x1afa4
	mov eax, [eax*4+sharedUiInfo+0x72f8]
	mov [esp+0x4], eax
	mov eax, [ui_netSource]
	mov eax, [eax+0xc]
	mov [esp], eax
	call _Z26LAN_GetServerAddressStringiiPci
	mov edx, 0x1
	mov eax, uiInfoArray
	call _Z20UI_BuildServerStatusP8uiInfo_si
	jmp _Z16UI_RunMenuScriptiPPKcS0__70
_Z16UI_RunMenuScriptiPPKcS0__930:
	mov dword [esp+0x4], _cstring_updatefilter
	mov [esp], ebx
	call _Z9I_stricmpPKcS0_
	test eax, eax
	jnz _Z16UI_RunMenuScriptiPPKcS0__950
	mov eax, [ui_netSource]
	mov edi, [eax+0xc]
	test edi, edi
	jnz _Z16UI_RunMenuScriptiPPKcS0__960
	mov edx, 0x1
	mov eax, [ebp+0x8]
	call _Z21UI_StartServerRefreshii
_Z16UI_RunMenuScriptiPPKcS0__960:
	mov dword [esp+0x4], 0x1
	mov dword [esp], uiInfoArray
	call _Z25UI_BuildServerDisplayListP8uiInfo_si
	mov dword [esp+0x8], 0x0
	mov dword [esp+0x4], 0x40000000
	mov eax, [ebp+0x8]
	mov [esp], eax
	call _Z18UI_FeederSelectionifi
	jmp _Z16UI_RunMenuScriptiPPKcS0__70
_Z16UI_RunMenuScriptiPPKcS0__950:
	mov dword [esp+0x4], _cstring_joinserver1
	mov [esp], ebx
	call _Z9I_stricmpPKcS0_
	test eax, eax
	jnz _Z16UI_RunMenuScriptiPPKcS0__970
	mov dword [esp+0x4], 0x0
	mov dword [esp], _cstring_cg_thirdperson
	call _Z18Dvar_SetBoolByNamePKch
	mov eax, [ui_netSource]
	mov eax, [eax+0xc]
	mov [esp], eax
	call _Z18LAN_GetServerCounti
	cmp eax, [sharedUiInfo+0x1ab7c]
	jz _Z16UI_RunMenuScriptiPPKcS0__980
	mov [sharedUiInfo+0x1ab7c], eax
	mov esi, [sharedUiInfo+0x1ab78]
	test esi, esi
	jz _Z16UI_RunMenuScriptiPPKcS0__980
	mov dword [sharedUiInfo+0x72f4], 0xffffffff
	mov dword [esp+0x4], 0x1
	mov dword [esp], uiInfoArray
	call _Z25UI_BuildServerDisplayListP8uiInfo_si
_Z16UI_RunMenuScriptiPPKcS0__980:
	mov eax, [sharedUiInfo+0x72f4]
	mov eax, [eax*4+sharedUiInfo+0x72f8]
	mov [esp+0x4], eax
	mov eax, [ui_netSource]
	mov eax, [eax+0xc]
	mov [esp], eax
	call _Z23LAN_GetServerPunkBusterii
	sub eax, 0x1
	jz _Z16UI_RunMenuScriptiPPKcS0__990
_Z16UI_RunMenuScriptiPPKcS0__1010:
	mov eax, [sharedUiInfo+0x72f4]
	test eax, eax
	js _Z16UI_RunMenuScriptiPPKcS0__70
	cmp eax, [sharedUiInfo+0x1ab78]
	jge _Z16UI_RunMenuScriptiPPKcS0__70
	mov dword [esp+0xc], 0x400
	lea ebx, [ebp-0x109c]
	mov [esp+0x8], ebx
	mov eax, [eax*4+sharedUiInfo+0x72f8]
	mov [esp+0x4], eax
	mov eax, [ui_netSource]
	mov eax, [eax+0xc]
	mov [esp], eax
	call _Z26LAN_GetServerAddressStringiiPci
	mov [esp+0x4], ebx
	mov dword [esp], _cstring_connect_s
	call _Z2vaPKcz
	mov [esp+0x4], eax
	mov edx, [ebp+0x8]
	mov [esp], edx
	call _Z12Cbuf_AddTextiPKc
	jmp _Z16UI_RunMenuScriptiPPKcS0__70
_Z16UI_RunMenuScriptiPPKcS0__970:
	mov dword [esp+0x4], _cstring_quit
	mov [esp], ebx
	call _Z9I_stricmpPKcS0_
	test eax, eax
	jnz _Z16UI_RunMenuScriptiPPKcS0__1000
	mov ecx, [ebp+0x8]
	mov [esp], ecx
	call _Z31CL_ControllerIndexFromClientNumi
	mov dword [esp+0x8], _cstring_quit1
	mov [esp+0x4], eax
	mov eax, [ebp+0x8]
	mov [esp], eax
	call _Z24Cmd_ExecuteSingleCommandiiPKc
	jmp _Z16UI_RunMenuScriptiPPKcS0__70
_Z16UI_RunMenuScriptiPPKcS0__990:
	mov dword [esp], _cstring_cl_punkbuster
	call _Z12Dvar_GetBoolPKc
	test al, al
	jnz _Z16UI_RunMenuScriptiPPKcS0__1010
	mov dword [esp+0x4], _cstring_joinpb_popmenu
	mov dword [esp], uiInfoArray
	call _Z16Menus_OpenByNameP9UiContextPKc
	jmp _Z16UI_RunMenuScriptiPPKcS0__70
_Z16UI_RunMenuScriptiPPKcS0__1000:
	mov dword [esp+0x4], _cstring_controls
	mov [esp], ebx
	call _Z9I_stricmpPKcS0_
	test eax, eax
	jnz _Z16UI_RunMenuScriptiPPKcS0__1020
	mov dword [esp+0x4], 0x1
	mov dword [esp], _cstring_cl_paused
	call _Z17Dvar_SetIntByNamePKci
	mov dword [esp+0x4], 0x10
	mov edx, [ebp+0x8]
	mov [esp], edx
	call _Z14Key_SetCatcherii
	mov dword [esp], uiInfoArray
	call _Z14Menus_CloseAllP9UiContext
	mov dword [esp+0x4], _cstring_setup_menu2
	mov dword [esp], uiInfoArray
	call _Z16Menus_OpenByNameP9UiContextPKc
	jmp _Z16UI_RunMenuScriptiPPKcS0__70
_Z16UI_RunMenuScriptiPPKcS0__1020:
	mov dword [esp+0x4], _cstring_leave
	mov [esp], ebx
	call _Z9I_stricmpPKcS0_
	test eax, eax
	jnz _Z16UI_RunMenuScriptiPPKcS0__1030
	mov dword [esp+0x4], _cstring_disconnect
	mov ecx, [ebp+0x8]
	mov [esp], ecx
	call _Z12Cbuf_AddTextiPKc
	mov dword [esp+0x4], 0x10
	mov eax, [ebp+0x8]
	mov [esp], eax
	call _Z14Key_SetCatcherii
	mov dword [esp], uiInfoArray
	call _Z14Menus_CloseAllP9UiContext
	mov dword [esp+0x4], _cstring_main
	mov dword [esp], uiInfoArray
	call _Z16Menus_OpenByNameP9UiContextPKc
	jmp _Z16UI_RunMenuScriptiPPKcS0__70
_Z16UI_RunMenuScriptiPPKcS0__1030:
	mov dword [esp+0x4], _cstring_serversort
	mov [esp], ebx
	call _Z9I_stricmpPKcS0_
	test eax, eax
	jnz _Z16UI_RunMenuScriptiPPKcS0__1040
	lea eax, [ebp-0x1c]
	mov [esp+0x4], eax
	mov [esp], esi
	call _Z9Int_ParsePPKcPi
	test eax, eax
	jz _Z16UI_RunMenuScriptiPPKcS0__70
	mov eax, [sharedUiInfo+0x72e4]
	cmp eax, [ebp-0x1c]
	jnz _Z16UI_RunMenuScriptiPPKcS0__1050
	xor eax, eax
	cmp dword [sharedUiInfo+0x72e8], 0x0
	setz al
	mov [sharedUiInfo+0x72e8], eax
_Z16UI_RunMenuScriptiPPKcS0__1050:
	mov eax, [ebp-0x1c]
	mov [sharedUiInfo+0x72e4], eax
	mov dword [esp+0xc], _Z22UI_ServersQsortComparePKvS0_
	mov dword [esp+0x8], 0x4
	mov eax, [sharedUiInfo+0x1ab78]
	mov [esp+0x4], eax
	mov dword [esp], sharedUiInfo+0x72f8
	call qsort
	jmp _Z16UI_RunMenuScriptiPPKcS0__70
_Z16UI_RunMenuScriptiPPKcS0__1040:
	mov dword [esp+0x4], _cstring_closeingame
	mov [esp], ebx
	call _Z9I_stricmpPKcS0_
	test eax, eax
	jnz _Z16UI_RunMenuScriptiPPKcS0__1060
	mov dword [esp+0x4], 0xffffffef
	mov edx, [ebp+0x8]
	mov [esp], edx
	call _Z17Key_RemoveCatcherii
	mov ecx, [ebp+0x8]
	mov [esp], ecx
	call _Z15Key_ClearStatesi
	mov dword [esp+0x4], 0x0
	mov dword [esp], _cstring_cl_paused
	call _Z17Dvar_SetIntByNamePKci
	mov dword [esp], uiInfoArray
	call _Z14Menus_CloseAllP9UiContext
	jmp _Z16UI_RunMenuScriptiPPKcS0__70
_Z16UI_RunMenuScriptiPPKcS0__1060:
	mov dword [esp+0x4], _cstring_votekick
	mov [esp], ebx
	call _Z9I_stricmpPKcS0_
	test eax, eax
	jnz _Z16UI_RunMenuScriptiPPKcS0__1070
	mov eax, [uiInfoArray+0x1680]
	test eax, eax
	js _Z16UI_RunMenuScriptiPPKcS0__70
	cmp eax, [sharedUiInfo+0x48]
	jge _Z16UI_RunMenuScriptiPPKcS0__70
	shl eax, 0x5
	add eax, sharedUiInfo+0x4c
	mov [esp+0x4], eax
	mov dword [esp], _cstring_callvote_kick_s
	call _Z2vaPKcz
	mov [esp+0x4], eax
	mov eax, [ebp+0x8]
	mov [esp], eax
	call _Z12Cbuf_AddTextiPKc
	jmp _Z16UI_RunMenuScriptiPPKcS0__70
_Z16UI_RunMenuScriptiPPKcS0__1070:
	mov dword [esp+0x4], _cstring_votetempban
	mov [esp], ebx
	call _Z9I_stricmpPKcS0_
	test eax, eax
	jnz _Z16UI_RunMenuScriptiPPKcS0__1080
	mov eax, [uiInfoArray+0x1680]
	test eax, eax
	js _Z16UI_RunMenuScriptiPPKcS0__70
	cmp eax, [sharedUiInfo+0x48]
	jge _Z16UI_RunMenuScriptiPPKcS0__70
	shl eax, 0x5
	add eax, sharedUiInfo+0x4c
	mov [esp+0x4], eax
	mov dword [esp], _cstring_callvote_tempban
	call _Z2vaPKcz
	mov [esp+0x4], eax
	mov edx, [ebp+0x8]
	mov [esp], edx
	call _Z12Cbuf_AddTextiPKc
	jmp _Z16UI_RunMenuScriptiPPKcS0__70
_Z16UI_RunMenuScriptiPPKcS0__1080:
	mov dword [esp+0x4], _cstring_addfavorite
	mov [esp], ebx
	call _Z9I_stricmpPKcS0_
	test eax, eax
	jnz _Z16UI_RunMenuScriptiPPKcS0__1090
	mov eax, [ui_netSource]
	cmp dword [eax+0xc], 0x2
	jz _Z16UI_RunMenuScriptiPPKcS0__70
	mov byte [ebp-0x89c], 0x0
	mov byte [ebp-0x9c], 0x0
	mov eax, [eax+0xc]
	mov [esp], eax
	call _Z18LAN_GetServerCounti
	cmp eax, [sharedUiInfo+0x1ab7c]
	jz _Z16UI_RunMenuScriptiPPKcS0__1100
	mov [sharedUiInfo+0x1ab7c], eax
	mov ebx, [sharedUiInfo+0x1ab78]
	test ebx, ebx
	jz _Z16UI_RunMenuScriptiPPKcS0__1100
	mov dword [sharedUiInfo+0x72f4], 0xffffffff
	mov dword [esp+0x4], 0x1
	mov dword [esp], uiInfoArray
	call _Z25UI_BuildServerDisplayListP8uiInfo_si
_Z16UI_RunMenuScriptiPPKcS0__1100:
	mov eax, [sharedUiInfo+0x72f4]
	test eax, eax
	js _Z16UI_RunMenuScriptiPPKcS0__1110
	cmp eax, [sharedUiInfo+0x1ab78]
	jge _Z16UI_RunMenuScriptiPPKcS0__1110
	mov dword [esp+0xc], 0x400
	lea ebx, [ebp-0x109c]
	mov [esp+0x8], ebx
	mov eax, [eax*4+sharedUiInfo+0x72f8]
	mov [esp+0x4], eax
	mov eax, [ui_netSource]
	mov eax, [eax+0xc]
	mov [esp], eax
	call _Z17LAN_GetServerInfoiiPci
	mov dword [esp+0x4], _cstring_hostname
	mov [esp], ebx
	call _Z16Info_ValueForKeyPKcS0_
	mov dword [esp+0x8], 0x20
	mov [esp+0x4], eax
	lea ecx, [ebp-0x9c]
	mov [esp], ecx
	call _Z10I_strncpyzPcPKci
	mov dword [esp+0x4], _cstring_addr
	mov [esp], ebx
	call _Z16Info_ValueForKeyPKcS0_
	mov dword [esp+0x8], 0x20
	mov [esp+0x4], eax
	lea eax, [ebp-0x89c]
	mov [esp], eax
	call _Z10I_strncpyzPcPKci
_Z16UI_RunMenuScriptiPPKcS0__1110:
	lea edx, [ebp-0x89c]
	lea eax, [ebp-0x9c]
	call _Z27UI_AddServerToFavoritesListPKcS0_
	jmp _Z16UI_RunMenuScriptiPPKcS0__70
_Z16UI_RunMenuScriptiPPKcS0__1090:
	mov dword [esp+0x4], _cstring_deletefavorite
	mov [esp], ebx
	call _Z9I_stricmpPKcS0_
	test eax, eax
	jnz _Z16UI_RunMenuScriptiPPKcS0__1120
	mov eax, [ui_netSource]
	cmp dword [eax+0xc], 0x2
	jnz _Z16UI_RunMenuScriptiPPKcS0__70
	mov eax, [sharedUiInfo+0x72f4]
	test eax, eax
	js _Z16UI_RunMenuScriptiPPKcS0__70
	cmp eax, [sharedUiInfo+0x1ab78]
	jge _Z16UI_RunMenuScriptiPPKcS0__70
	mov dword [esp], 0x2
	call _Z18LAN_GetServerCounti
	cmp eax, [sharedUiInfo+0x1ab7c]
	jz _Z16UI_RunMenuScriptiPPKcS0__1130
	mov [sharedUiInfo+0x1ab7c], eax
	mov ecx, [sharedUiInfo+0x1ab78]
	test ecx, ecx
	jz _Z16UI_RunMenuScriptiPPKcS0__1130
	mov dword [sharedUiInfo+0x72f4], 0xffffffff
	mov dword [esp+0x4], 0x1
	mov dword [esp], uiInfoArray
	call _Z25UI_BuildServerDisplayListP8uiInfo_si
_Z16UI_RunMenuScriptiPPKcS0__1130:
	mov dword [esp+0xc], 0x400
	lea ebx, [ebp-0x109c]
	mov [esp+0x8], ebx
	mov eax, [sharedUiInfo+0x72f4]
	mov eax, [eax*4+sharedUiInfo+0x72f8]
	mov [esp+0x4], eax
	mov eax, [ui_netSource]
	mov eax, [eax+0xc]
	mov [esp], eax
	call _Z17LAN_GetServerInfoiiPci
	mov byte [ebp-0x89c], 0x0
	mov dword [esp+0x4], _cstring_addr
	mov [esp], ebx
	call _Z16Info_ValueForKeyPKcS0_
	mov dword [esp+0x8], 0x20
	mov [esp+0x4], eax
	lea ebx, [ebp-0x89c]
	mov [esp], ebx
	call _Z10I_strncpyzPcPKci
	cmp byte [ebp-0x89c], 0x0
	jz _Z16UI_RunMenuScriptiPPKcS0__70
	mov [esp+0x4], ebx
	mov dword [esp], 0x2
	call _Z16LAN_RemoveServeriPKc
	jmp _Z16UI_RunMenuScriptiPPKcS0__70
_Z16UI_RunMenuScriptiPPKcS0__1120:
	mov dword [esp+0x4], _cstring_createfavorite
	mov [esp], ebx
	call _Z9I_stricmpPKcS0_
	test eax, eax
	jnz _Z16UI_RunMenuScriptiPPKcS0__1140
	mov eax, [ui_netSource]
	cmp dword [eax+0xc], 0x2
	jnz _Z16UI_RunMenuScriptiPPKcS0__70
	mov byte [ebp-0x9c], 0x0
	mov byte [ebp-0x89c], 0x0
	mov dword [esp+0x8], 0x20
	mov dword [esp+0x4], _cstring_default
	lea ebx, [ebp-0x89c]
	mov [esp], ebx
	call _Z10I_strncpyzPcPKci
	mov dword [esp], _cstring_ui_favoriteaddre
	call _Z21Dvar_GetVariantStringPKc
	mov dword [esp+0x8], 0x20
	mov [esp+0x4], eax
	lea esi, [ebp-0x9c]
	mov [esp], esi
	call _Z10I_strncpyzPcPKci
	mov edx, esi
	mov eax, ebx
	call _Z27UI_AddServerToFavoritesListPKcS0_
	mov edx, 0x1
	mov eax, [ebp+0x8]
	call _Z21UI_StartServerRefreshii
	jmp _Z16UI_RunMenuScriptiPPKcS0__70
_Z16UI_RunMenuScriptiPPKcS0__1140:
	mov dword [esp+0x4], _cstring_update
	mov [esp], ebx
	call _Z9I_stricmpPKcS0_
	test eax, eax
	jnz _Z16UI_RunMenuScriptiPPKcS0__1150
	mov dword [esp+0x8], 0x400
	lea ebx, [ebp-0x109c]
	mov [esp+0x4], ebx
	mov [esp], esi
	call _Z12String_ParsePPKcPci
	test eax, eax
	jz _Z16UI_RunMenuScriptiPPKcS0__70
	mov dword [esp+0x4], _cstring_ui_setname
	mov [esp], ebx
	call _Z9I_stricmpPKcS0_
	test eax, eax
	jnz _Z16UI_RunMenuScriptiPPKcS0__1160
	mov dword [esp], _cstring_ui_name
	call _Z21Dvar_GetVariantStringPKc
	mov [esp+0x4], eax
	mov dword [esp], _cstring_name
	call _Z20Dvar_SetStringByNamePKcS0_
	jmp _Z16UI_RunMenuScriptiPPKcS0__70
_Z16UI_RunMenuScriptiPPKcS0__1150:
	mov dword [esp+0x4], _cstring_setpbclstatus
	mov [esp], ebx
	call _Z9I_stricmpPKcS0_
	test eax, eax
	jnz _Z16UI_RunMenuScriptiPPKcS0__1170
	lea eax, [ebp-0x1c]
	mov [esp+0x4], eax
	mov [esp], esi
	call _Z9Int_ParsePPKcPi
	test eax, eax
	jz _Z16UI_RunMenuScriptiPPKcS0__70
	mov eax, [ebp-0x1c]
	mov [esp], eax
	call _Z18CLUI_SetPbClStatusi
	jmp _Z16UI_RunMenuScriptiPPKcS0__70
_Z16UI_RunMenuScriptiPPKcS0__1160:
	mov dword [esp+0x4], _cstring_ui_getname
	mov [esp], ebx
	call _Z9I_stricmpPKcS0_
	test eax, eax
	jnz _Z16UI_RunMenuScriptiPPKcS0__1180
	mov dword [esp], _cstring_name
	call _Z21Dvar_GetVariantStringPKc
	mov [esp+0x4], eax
	mov dword [esp], _cstring_ui_name
	call _Z20Dvar_SetStringByNamePKcS0_
	jmp _Z16UI_RunMenuScriptiPPKcS0__70
_Z16UI_RunMenuScriptiPPKcS0__1170:
	mov dword [esp+0x4], _cstring_startsingleplaye
	mov [esp], ebx
	call _Z9I_stricmpPKcS0_
	test eax, eax
	jnz _Z16UI_RunMenuScriptiPPKcS0__1190
	mov dword [esp+0x4], _cstring_startsingleplaye1
	mov edx, [ebp+0x8]
	mov [esp], edx
	call _Z12Cbuf_AddTextiPKc
	jmp _Z16UI_RunMenuScriptiPPKcS0__70
_Z16UI_RunMenuScriptiPPKcS0__1180:
	mov dword [esp+0x4], _cstring_ui_setrate
	mov [esp], ebx
	call _Z9I_stricmpPKcS0_
	test eax, eax
	jnz _Z16UI_RunMenuScriptiPPKcS0__1200
	mov dword [esp], _cstring_rate
	call _Z11Dvar_GetIntPKc
	cmp eax, 0x1387
	jg _Z16UI_RunMenuScriptiPPKcS0__1210
	cmp eax, 0xf9f
	jle _Z16UI_RunMenuScriptiPPKcS0__1220
	mov dword [esp+0x4], 0xf
	mov dword [esp], _cstring_cl_maxpackets
	call _Z17Dvar_SetIntByNamePKci
	mov dword [esp+0x4], 0x2
	mov dword [esp], _cstring_cl_packetdup
	call _Z17Dvar_SetIntByNamePKci
	jmp _Z16UI_RunMenuScriptiPPKcS0__70
_Z16UI_RunMenuScriptiPPKcS0__1190:
	mov dword [esp+0x4], _cstring_getlanguage
	mov [esp], ebx
	call _Z9I_stricmpPKcS0_
	test eax, eax
	jnz _Z16UI_RunMenuScriptiPPKcS0__1230
	mov dword [esp], _cstring_loc_language
	call _Z11Dvar_GetIntPKc
	mov [esp+0x4], eax
	mov dword [esp], _cstring_ui_language
	call _Z17Dvar_SetIntByNamePKci
	call _Z17UI_VerifyLanguagev
	jmp _Z16UI_RunMenuScriptiPPKcS0__70
_Z16UI_RunMenuScriptiPPKcS0__1220:
	mov dword [esp+0x4], 0xf
	mov dword [esp], _cstring_cl_maxpackets
	call _Z17Dvar_SetIntByNamePKci
	mov dword [esp+0x4], 0x1
	mov dword [esp], _cstring_cl_packetdup
	call _Z17Dvar_SetIntByNamePKci
	jmp _Z16UI_RunMenuScriptiPPKcS0__70
_Z16UI_RunMenuScriptiPPKcS0__1230:
	mov dword [esp+0x4], _cstring_verifylanguage
	mov [esp], ebx
	call _Z9I_stricmpPKcS0_
	test eax, eax
	jnz _Z16UI_RunMenuScriptiPPKcS0__1240
	call _Z17UI_VerifyLanguagev
	jmp _Z16UI_RunMenuScriptiPPKcS0__70
_Z16UI_RunMenuScriptiPPKcS0__1210:
	mov dword [esp+0x4], 0x1e
	mov dword [esp], _cstring_cl_maxpackets
	call _Z17Dvar_SetIntByNamePKci
	mov dword [esp+0x4], 0x1
	mov dword [esp], _cstring_cl_packetdup
	call _Z17Dvar_SetIntByNamePKci
	jmp _Z16UI_RunMenuScriptiPPKcS0__70
_Z16UI_RunMenuScriptiPPKcS0__1200:
	mov dword [esp+0x4], _cstring_ui_mousepitch
	mov [esp], ebx
	call _Z9I_stricmpPKcS0_
	test eax, eax
	jnz _Z16UI_RunMenuScriptiPPKcS0__70
	mov [esp], ebx
	call _Z12Dvar_GetBoolPKc
	test al, al
	jnz _Z16UI_RunMenuScriptiPPKcS0__1250
	mov dword [esp+0x4], 0x3cb43958
	mov dword [esp], _cstring_m_pitch
	call _Z19Dvar_SetFloatByNamePKcf
	jmp _Z16UI_RunMenuScriptiPPKcS0__70
_Z16UI_RunMenuScriptiPPKcS0__1240:
	mov dword [esp+0x4], _cstring_updatelanguage
	mov [esp], ebx
	call _Z9I_stricmpPKcS0_
	test eax, eax
	jnz _Z16UI_RunMenuScriptiPPKcS0__1260
	mov dword [esp], _cstring_ui_language
	call _Z11Dvar_GetIntPKc
	mov [esp+0x4], eax
	mov dword [esp], _cstring_loc_language
	call _Z17Dvar_SetIntByNamePKci
	call _Z17UI_VerifyLanguagev
	mov dword [esp+0x4], _cstring_vid_restart
	mov ecx, [ebp+0x8]
	mov [esp], ecx
	call _Z12Cbuf_AddTextiPKc
	jmp _Z16UI_RunMenuScriptiPPKcS0__70
_Z16UI_RunMenuScriptiPPKcS0__1250:
	mov dword [esp+0x4], 0xbcb43958
	mov dword [esp], _cstring_m_pitch
	call _Z19Dvar_SetFloatByNamePKcf
	jmp _Z16UI_RunMenuScriptiPPKcS0__70
_Z16UI_RunMenuScriptiPPKcS0__1260:
	mov dword [esp+0x4], _cstring_muteplayer
	mov [esp], ebx
	call _Z9I_stricmpPKcS0_
	test eax, eax
	jnz _Z16UI_RunMenuScriptiPPKcS0__1270
	mov eax, [uiInfoArray+0x1680]
	test eax, eax
	js _Z16UI_RunMenuScriptiPPKcS0__70
	cmp eax, [sharedUiInfo+0x48]
	jge _Z16UI_RunMenuScriptiPPKcS0__70
	mov eax, [eax*4+sharedUiInfo+0x104c]
	mov [esp+0x4], eax
	mov eax, [ebp+0x8]
	mov [esp], eax
	call _Z13CL_MutePlayerii
	jmp _Z16UI_RunMenuScriptiPPKcS0__70
_Z16UI_RunMenuScriptiPPKcS0__1270:
	mov dword [esp+0x4], _cstring_openmenuondvar
	mov [esp], ebx
	call _Z9I_stricmpPKcS0_
	test eax, eax
	jz _Z16UI_RunMenuScriptiPPKcS0__1280
	mov dword [esp+0x4], _cstring_openmenuondvarno
	mov [esp], ebx
	call _Z9I_stricmpPKcS0_
	test eax, eax
	jnz _Z16UI_RunMenuScriptiPPKcS0__1290
_Z16UI_RunMenuScriptiPPKcS0__1280:
	lea edi, [ebp-0x9c]
	mov dword [esp+0x10], 0x80
	lea edx, [ebp-0x89c]
	mov [esp+0xc], edx
	mov dword [esp+0x8], 0x100
	lea ecx, [ebp-0x109c]
	mov [esp+0x4], ecx
	mov dword [esp], 0x80
	mov ecx, edi
	mov edx, ebx
	mov eax, esi
	call _Z31UI_GetOpenOrCloseMenuOnDvarArgsPPKcS0_PciS2_iS2_i
	test al, al
	jz _Z16UI_RunMenuScriptiPPKcS0__70
	mov dword [esp+0x4], _cstring_openmenuondvar
	mov [esp], ebx
	call _Z9I_stricmpPKcS0_
	test eax, eax
	setz al
	mov esi, eax
	mov [esp], edi
	call _Z12Dvar_FindVarPKc
	test eax, eax
	jz _Z16UI_RunMenuScriptiPPKcS0__1300
	mov [esp], edi
	call _Z21Dvar_GetVariantStringPKc
	mov [esp+0x4], eax
	lea edx, [ebp-0x109c]
	mov [esp], edx
	call _Z9I_stricmpPKcS0_
	test eax, eax
	setz al
	mov ecx, esi
	cmp cl, al
	jnz _Z16UI_RunMenuScriptiPPKcS0__70
	lea eax, [ebp-0x89c]
	mov [esp+0x4], eax
	mov dword [esp], uiInfoArray
	call _Z16Menus_OpenByNameP9UiContextPKc
	jmp _Z16UI_RunMenuScriptiPPKcS0__70
_Z16UI_RunMenuScriptiPPKcS0__1290:
	mov dword [esp+0x4], _cstring_closemenuondvar
	mov [esp], ebx
	call _Z9I_stricmpPKcS0_
	test eax, eax
	jnz _Z16UI_RunMenuScriptiPPKcS0__1310
_Z16UI_RunMenuScriptiPPKcS0__1330:
	lea edi, [ebp-0x89c]
	mov dword [esp+0x10], 0x80
	lea edx, [ebp-0x9c]
	mov [esp+0xc], edx
	mov dword [esp+0x8], 0x100
	lea ecx, [ebp-0x109c]
	mov [esp+0x4], ecx
	mov dword [esp], 0x80
	mov ecx, edi
	mov edx, ebx
	mov eax, esi
	call _Z31UI_GetOpenOrCloseMenuOnDvarArgsPPKcS0_PciS2_iS2_i
	test al, al
	jz _Z16UI_RunMenuScriptiPPKcS0__70
	mov dword [esp+0x4], _cstring_closemenuondvar
	mov [esp], ebx
	call _Z9I_stricmpPKcS0_
	test eax, eax
	setz al
	mov esi, eax
	mov [esp], edi
	call _Z12Dvar_FindVarPKc
	test eax, eax
	jz _Z16UI_RunMenuScriptiPPKcS0__1320
	mov [esp], edi
	call _Z21Dvar_GetVariantStringPKc
	mov [esp+0x4], eax
	lea edx, [ebp-0x109c]
	mov [esp], edx
	call _Z9I_stricmpPKcS0_
	test eax, eax
	setz al
	mov ecx, esi
	cmp cl, al
	jnz _Z16UI_RunMenuScriptiPPKcS0__70
	lea eax, [ebp-0x9c]
	mov [esp+0x4], eax
	mov dword [esp], uiInfoArray
	call _Z17Menus_CloseByNameP9UiContextPKc
	jmp _Z16UI_RunMenuScriptiPPKcS0__70
_Z16UI_RunMenuScriptiPPKcS0__1300:
	mov [esp+0xc], edi
	mov [esp+0x8], ebx
	mov dword [esp+0x4], _cstring_s_cannot_find_dv
	mov dword [esp], 0xd
	call _Z10Com_PrintfiPKcz
	jmp _Z16UI_RunMenuScriptiPPKcS0__70
_Z16UI_RunMenuScriptiPPKcS0__1320:
	mov [esp+0xc], edi
	mov [esp+0x8], ebx
	mov dword [esp+0x4], _cstring_s_cannot_find_dv
	mov dword [esp], 0xd
	call _Z10Com_PrintfiPKcz
	jmp _Z16UI_RunMenuScriptiPPKcS0__70
_Z16UI_RunMenuScriptiPPKcS0__1310:
	mov dword [esp+0x4], _cstring_closemenuondvarn
	mov [esp], ebx
	call _Z9I_stricmpPKcS0_
	test eax, eax
	jz _Z16UI_RunMenuScriptiPPKcS0__1330
	mov dword [esp+0x4], _cstring_setrecommended
	mov [esp], ebx
	call _Z9I_stricmpPKcS0_
	test eax, eax
	jnz _Z16UI_RunMenuScriptiPPKcS0__1340
	mov dword [esp+0x4], 0x1
	mov edx, [ebp+0x8]
	mov [esp], edx
	call _Z18Com_SetRecommendedii
	jmp _Z16UI_RunMenuScriptiPPKcS0__70
_Z16UI_RunMenuScriptiPPKcS0__1340:
	mov dword [esp+0x4], _cstring_clearloaderrorss
	mov [esp], ebx
	call _Z9I_stricmpPKcS0_
	test eax, eax
	jnz _Z16UI_RunMenuScriptiPPKcS0__1350
	mov dword [esp], uiInfoArray
	call _Z14Menus_CloseAllP9UiContext
	jmp _Z16UI_RunMenuScriptiPPKcS0__70
_Z16UI_RunMenuScriptiPPKcS0__1350:
	mov ecx, [ebp+0x10]
	mov [esp+0xc], ecx
	mov [esp+0x8], ebx
	mov dword [esp+0x4], _cstring_unknown_ui_scrip
	mov dword [esp], 0xd
	call _Z10Com_PrintfiPKcz
	jmp _Z16UI_RunMenuScriptiPPKcS0__70


;UI_SetActiveMenu(int, int)
_Z16UI_SetActiveMenuii:
	push ebp
	mov ebp, esp
	push ebx
	sub esp, 0x14
	mov ebx, [ebp+0xc]
	mov dword [esp], uiInfoArray
	call _Z10Menu_CountP9UiContext
	test eax, eax
	jle _Z16UI_SetActiveMenuii_10
	mov [uiInfoArray+0x18a0], ebx
	cmp ebx, 0xb
	jbe _Z16UI_SetActiveMenuii_20
_Z16UI_SetActiveMenuii_10:
	xor eax, eax
_Z16UI_SetActiveMenuii_30:
	add esp, 0x14
	pop ebx
	pop ebp
	ret
_Z16UI_SetActiveMenuii_20:
	jmp dword [ebx*4+_Z16UI_SetActiveMenuii_jumptab_0]
_Z16UI_SetActiveMenuii_90:
	mov dword [esp+0x4], 0xffffffef
	mov eax, [ebp+0x8]
	mov [esp], eax
	call _Z17Key_RemoveCatcherii
	mov dword [esp+0x4], 0x0
	mov dword [esp], _cstring_cl_paused
	call _Z17Dvar_SetIntByNamePKci
	mov dword [esp], uiInfoArray
	call _Z14Menus_CloseAllP9UiContext
	mov eax, 0x1
	jmp _Z16UI_SetActiveMenuii_30
_Z16UI_SetActiveMenuii_170:
	mov dword [esp+0x4], 0x10
	mov eax, [ebp+0x8]
	mov [esp], eax
	call _Z14Key_SetCatcherii
	mov dword [esp], uiInfoArray
	call _Z14Menus_CloseAllP9UiContext
	mov dword [esp+0x4], _cstring_endofgame
_Z16UI_SetActiveMenuii_70:
	mov dword [esp], uiInfoArray
	call _Z16Menus_OpenByNameP9UiContextPKc
	mov dword [esp], _cstring_com_errormessage
	call _Z14Dvar_GetStringPKc
	cmp byte [eax], 0x0
	jnz _Z16UI_SetActiveMenuii_40
_Z16UI_SetActiveMenuii_50:
	mov eax, 0x1
	jmp _Z16UI_SetActiveMenuii_30
_Z16UI_SetActiveMenuii_130:
	mov dword [esp+0x4], 0x10
	mov eax, [ebp+0x8]
	mov [esp], eax
	call _Z14Key_SetCatcherii
	mov dword [esp+0x4], _cstring_badcd
	mov dword [esp], uiInfoArray
	call _Z16Menus_OpenByNameP9UiContextPKc
	mov eax, 0x1
	jmp _Z16UI_SetActiveMenuii_30
_Z16UI_SetActiveMenuii_120:
	mov dword [esp+0x4], 0x10
	mov eax, [ebp+0x8]
	mov [esp], eax
	call _Z14Key_SetCatcherii
	mov dword [esp+0x4], _cstring_needcd
	mov dword [esp], uiInfoArray
	call _Z16Menus_OpenByNameP9UiContextPKc
	mov eax, 0x1
	jmp _Z16UI_SetActiveMenuii_30
_Z16UI_SetActiveMenuii_110:
	mov dword [esp+0x4], 0x10
	mov eax, [ebp+0x8]
	mov [esp], eax
	call _Z14Key_SetCatcherii
	mov dword [esp], uiInfoArray
	call _Z14Menus_CloseAllP9UiContext
	mov eax, [uiInfoArray]
	mov [esp], eax
	call _Z17CG_ScriptMainMenui
	mov [esp+0x4], eax
	mov dword [esp], uiInfoArray
	call _Z16Menus_OpenByNameP9UiContextPKc
	test eax, eax
	jnz _Z16UI_SetActiveMenuii_50
	mov dword [esp+0x4], _cstring_main
	mov dword [esp], uiInfoArray
	call _Z16Menus_OpenByNameP9UiContextPKc
	mov eax, 0x1
	jmp _Z16UI_SetActiveMenuii_30
_Z16UI_SetActiveMenuii_100:
	mov dword [esp+0x4], 0x10
	mov eax, [ebp+0x8]
	mov [esp], eax
	call _Z14Key_SetCatcherii
	mov dword [esp+0x4], _cstring_main
	mov dword [esp], uiInfoArray
	call _Z16Menus_OpenByNameP9UiContextPKc
	mov dword [esp], _cstring_com_errormessage
	call _Z14Dvar_GetStringPKc
	cmp byte [eax], 0x0
	jnz _Z16UI_SetActiveMenuii_60
_Z16UI_SetActiveMenuii_80:
	mov dword [esp+0x4], 0x3e8
	mov dword [esp], 0x3f800000
	call _Z17SND_FadeAllSoundsfi
	mov eax, 0x1
	jmp _Z16UI_SetActiveMenuii_30
_Z16UI_SetActiveMenuii_150:
	mov dword [esp+0x4], 0x10
	mov eax, [ebp+0x8]
	mov [esp], eax
	call _Z14Key_SetCatcherii
	mov dword [esp+0x4], 0x1
	mov eax, [uiInfoArray]
	mov [esp], eax
	call _Z30CL_SetDisplayHUDWithKeycatchUIih
	mov dword [esp], uiInfoArray
	call _Z14Menus_CloseAllP9UiContext
	mov dword [esp+0x4], _cstring_quickmessage
	mov dword [esp], uiInfoArray
	call _Z16Menus_OpenByNameP9UiContextPKc
	mov eax, 0x1
	jmp _Z16UI_SetActiveMenuii_30
_Z16UI_SetActiveMenuii_160:
	mov dword [esp+0x4], 0x10
	mov eax, [ebp+0x8]
	mov [esp], eax
	call _Z14Key_SetCatcherii
	mov dword [esp], uiInfoArray
	call _Z14Menus_CloseAllP9UiContext
	mov dword [esp+0x4], _cstring_scoreboard
	jmp _Z16UI_SetActiveMenuii_70
_Z16UI_SetActiveMenuii_140:
	mov dword [esp], _cstring_com_errormessage
	call _Z14Dvar_GetStringPKc
	mov dword [esp+0x4], 0x10
	mov eax, [ebp+0x8]
	mov [esp], eax
	call _Z14Key_SetCatcherii
	mov dword [esp], uiInfoArray
	call _Z14Menus_CloseAllP9UiContext
	mov dword [esp+0x4], _cstring_pregame_loaderro
	mov dword [esp], uiInfoArray
	call _Z16Menus_OpenByNameP9UiContextPKc
	mov eax, 0x1
	jmp _Z16UI_SetActiveMenuii_30
_Z16UI_SetActiveMenuii_40:
	mov dword [esp+0x4], _cstring_2
	mov [esp], eax
	call _Z9I_stricmpPKcS0_
	test eax, eax
	jz _Z16UI_SetActiveMenuii_50
	mov dword [esp+0x4], _cstring_error_popmenu
	mov dword [esp], uiInfoArray
	call _Z16Menus_OpenByNameP9UiContextPKc
	mov eax, 0x1
	jmp _Z16UI_SetActiveMenuii_30
_Z16UI_SetActiveMenuii_60:
	mov dword [esp+0x4], _cstring_2
	mov [esp], eax
	call _Z9I_stricmpPKcS0_
	test eax, eax
	jz _Z16UI_SetActiveMenuii_80
	mov dword [esp+0x4], _cstring_error_popmenu
	mov dword [esp], uiInfoArray
	call _Z16Menus_OpenByNameP9UiContextPKc
	jmp _Z16UI_SetActiveMenuii_80
	
	
_Z16UI_SetActiveMenuii_jumptab_0:
	dd _Z16UI_SetActiveMenuii_90
	dd _Z16UI_SetActiveMenuii_100
	dd _Z16UI_SetActiveMenuii_110
	dd _Z16UI_SetActiveMenuii_120
	dd _Z16UI_SetActiveMenuii_130
	dd _Z16UI_SetActiveMenuii_140
	dd _Z16UI_SetActiveMenuii_10
	dd _Z16UI_SetActiveMenuii_150
	dd _Z16UI_SetActiveMenuii_10
	dd _Z16UI_SetActiveMenuii_10
	dd _Z16UI_SetActiveMenuii_160
	dd _Z16UI_SetActiveMenuii_170


;UI_AnyMenuVisible(int)
_Z17UI_AnyMenuVisiblei:
	push ebp
	mov ebp, esp
	xor eax, eax
	cmp dword [uiInfoArray+0xa74], 0x0
	setnz al
	pop ebp
	ret
	nop


;UI_DrawTextNoSnap(ScreenPlacement const*, char const*, int, Font_s*, float, float, int, int, float, float const*, int)
_Z17UI_DrawTextNoSnapPK15ScreenPlacementPKciP6Font_sffiifPKfi:
	push ebp
	mov ebp, esp
	push ebx
	sub esp, 0x44
	mov ebx, [ebp+0x14]
	mov eax, [ebp+0x28]
	mov [esp+0x4], eax
	mov [esp], ebx
	call _Z21R_NormalizedTextScaleP6Font_sf
	fst dword [ebp-0xc]
	fstp dword [ebp-0x10]
	mov eax, [ebp+0x24]
	mov [esp+0x18], eax
	mov eax, [ebp+0x20]
	mov [esp+0x14], eax
	lea eax, [ebp-0x10]
	mov [esp+0x10], eax
	lea eax, [ebp-0xc]
	mov [esp+0xc], eax
	lea eax, [ebp+0x1c]
	mov [esp+0x8], eax
	lea eax, [ebp+0x18]
	mov [esp+0x4], eax
	mov eax, [ebp+0x8]
	mov [esp], eax
	call _Z18ScrPlace_ApplyRectPK15ScreenPlacementPfS2_S2_S2_ii
	mov eax, [ebp+0x30]
	mov [esp+0x20], eax
	mov eax, [ebp+0x2c]
	mov [esp+0x1c], eax
	mov eax, [ebp-0x10]
	mov [esp+0x18], eax
	mov eax, [ebp-0xc]
	mov [esp+0x14], eax
	mov eax, [ebp+0x1c]
	mov [esp+0x10], eax
	mov eax, [ebp+0x18]
	mov [esp+0xc], eax
	mov [esp+0x8], ebx
	mov eax, [ebp+0x10]
	mov [esp+0x4], eax
	mov eax, [ebp+0xc]
	mov [esp], eax
	call _Z19CL_DrawTextPhysicalPKciP6Font_sffffPKfi
	add esp, 0x44
	pop ebx
	pop ebp
	ret


;UI_FeederItemText(int, itemDef_s*, float, int, int, Material**)
_Z17UI_FeederItemTextiP9itemDef_sfiiPP8Material:
	push ebp
	mov ebp, esp
	push edi
	push esi
	push ebx
	sub esp, 0x3c
	mov edx, [ebp+0x8]
	movss xmm0, dword [ebp+0x10]
	movss [ebp-0x1c], xmm0
	mov edi, [ebp+0x14]
	mov ebx, [ebp+0x18]
	mov esi, [ebp+0x1c]
	mov dword [esi], 0x0
	ucomiss xmm0, [_float_4_00000000]
	jp _Z17UI_FeederItemTextiP9itemDef_sfiiPP8Material_10
	jz _Z17UI_FeederItemTextiP9itemDef_sfiiPP8Material_20
_Z17UI_FeederItemTextiP9itemDef_sfiiPP8Material_10:
	ucomiss xmm0, [_float_2_00000000]
	jz _Z17UI_FeederItemTextiP9itemDef_sfiiPP8Material_30
_Z17UI_FeederItemTextiP9itemDef_sfiiPP8Material_130:
	movss xmm0, dword [ebp-0x1c]
	ucomiss xmm0, [_float_13_00000000]
	jz _Z17UI_FeederItemTextiP9itemDef_sfiiPP8Material_40
_Z17UI_FeederItemTextiP9itemDef_sfiiPP8Material_110:
	ucomiss xmm0, [_float_7_00000000]
	jnz _Z17UI_FeederItemTextiP9itemDef_sfiiPP8Material_50
	jp _Z17UI_FeederItemTextiP9itemDef_sfiiPP8Material_50
	test edi, edi
	js _Z17UI_FeederItemTextiP9itemDef_sfiiPP8Material_60
	cmp edi, [sharedUiInfo+0x48]
	jge _Z17UI_FeederItemTextiP9itemDef_sfiiPP8Material_60
_Z17UI_FeederItemTextiP9itemDef_sfiiPP8Material_210:
	shl edi, 0x5
	lea ebx, [edi+sharedUiInfo+0x4c]
	jmp _Z17UI_FeederItemTextiP9itemDef_sfiiPP8Material_70
_Z17UI_FeederItemTextiP9itemDef_sfiiPP8Material_20:
	mov esi, [sharedUiInfo+0x1c58]
	test esi, esi
	jle _Z17UI_FeederItemTextiP9itemDef_sfiiPP8Material_60
	xor ebx, ebx
	xor ecx, ecx
	mov edx, sharedUiInfo
	mov eax, sharedUiInfo+0x1c5c
_Z17UI_FeederItemTextiP9itemDef_sfiiPP8Material_100:
	cmp dword [edx+0x1cf8], 0x0
	jz _Z17UI_FeederItemTextiP9itemDef_sfiiPP8Material_80
	cmp ebx, edi
	jz _Z17UI_FeederItemTextiP9itemDef_sfiiPP8Material_90
	add ebx, 0x1
_Z17UI_FeederItemTextiP9itemDef_sfiiPP8Material_80:
	add ecx, 0x1
	add eax, 0xa0
	add edx, 0xa0
	cmp esi, ecx
	jnz _Z17UI_FeederItemTextiP9itemDef_sfiiPP8Material_100
_Z17UI_FeederItemTextiP9itemDef_sfiiPP8Material_60:
	mov ebx, _cstring_null
_Z17UI_FeederItemTextiP9itemDef_sfiiPP8Material_70:
	mov eax, ebx
	add esp, 0x3c
	pop ebx
	pop esi
	pop edi
	pop ebp
	ret
_Z17UI_FeederItemTextiP9itemDef_sfiiPP8Material_40:
	jp _Z17UI_FeederItemTextiP9itemDef_sfiiPP8Material_110
	test edi, edi
	js _Z17UI_FeederItemTextiP9itemDef_sfiiPP8Material_60
	cmp edi, [sharedUiInfo+0x1bce4]
	jge _Z17UI_FeederItemTextiP9itemDef_sfiiPP8Material_60
	cmp ebx, 0x3
	ja _Z17UI_FeederItemTextiP9itemDef_sfiiPP8Material_60
	lea eax, [ebx+edi*4]
	mov ebx, [eax*4+sharedUiInfo+0x1b024]
	cmp byte [ebx], 0x40
	jnz _Z17UI_FeederItemTextiP9itemDef_sfiiPP8Material_70
	lea eax, [ebx+0x1]
	mov [ebp+0x8], eax
	jmp _Z17UI_FeederItemTextiP9itemDef_sfiiPP8Material_120
_Z17UI_FeederItemTextiP9itemDef_sfiiPP8Material_30:
	jp _Z17UI_FeederItemTextiP9itemDef_sfiiPP8Material_130
	mov eax, [ui_netSource]
	mov eax, [eax+0xc]
	mov [esp], eax
	call _Z18LAN_GetServerCounti
	cmp eax, [sharedUiInfo+0x1ab7c]
	jz _Z17UI_FeederItemTextiP9itemDef_sfiiPP8Material_140
	mov [sharedUiInfo+0x1ab7c], eax
	mov ecx, [sharedUiInfo+0x1ab78]
	test ecx, ecx
	jnz _Z17UI_FeederItemTextiP9itemDef_sfiiPP8Material_150
_Z17UI_FeederItemTextiP9itemDef_sfiiPP8Material_140:
	test edi, edi
	js _Z17UI_FeederItemTextiP9itemDef_sfiiPP8Material_60
	cmp edi, [sharedUiInfo+0x1ab78]
	jge _Z17UI_FeederItemTextiP9itemDef_sfiiPP8Material_60
	cmp ebx, [_ZZ17UI_FeederItemTextiP9itemDef_sfiiPP8MaterialE10lastColumn]
	jz _Z17UI_FeederItemTextiP9itemDef_sfiiPP8Material_160
_Z17UI_FeederItemTextiP9itemDef_sfiiPP8Material_250:
	mov dword [esp+0xc], 0x400
	mov dword [esp+0x8], _ZZ17UI_FeederItemTextiP9itemDef_sfiiPP8MaterialE4info
	mov eax, [edi*4+sharedUiInfo+0x72f8]
	mov [esp+0x4], eax
	mov eax, [ui_netSource]
	mov eax, [eax+0xc]
	mov [esp], eax
	call _Z17LAN_GetServerInfoiiPci
	mov [_ZZ17UI_FeederItemTextiP9itemDef_sfiiPP8MaterialE10lastColumn], ebx
	mov eax, [uiInfoArray+0x8]
	mov [_ZZ17UI_FeederItemTextiP9itemDef_sfiiPP8MaterialE8lastTime], eax
_Z17UI_FeederItemTextiP9itemDef_sfiiPP8Material_240:
	mov dword [esp+0x4], _cstring_ping
	mov dword [esp], _ZZ17UI_FeederItemTextiP9itemDef_sfiiPP8MaterialE4info
	call _Z16Info_ValueForKeyPKcS0_
	mov [esp], eax
	call atoi
	cmp ebx, 0xa
	jbe _Z17UI_FeederItemTextiP9itemDef_sfiiPP8Material_170
	movss xmm0, dword [ebp-0x1c]
_Z17UI_FeederItemTextiP9itemDef_sfiiPP8Material_200:
	ucomiss xmm0, [_float_24_00000000]
	jnz _Z17UI_FeederItemTextiP9itemDef_sfiiPP8Material_60
	jp _Z17UI_FeederItemTextiP9itemDef_sfiiPP8Material_60
	test edi, edi
	js _Z17UI_FeederItemTextiP9itemDef_sfiiPP8Material_60
	cmp edi, [uiInfoArray+0x1684]
	jge _Z17UI_FeederItemTextiP9itemDef_sfiiPP8Material_60
	mov eax, [edi*4+uiInfoArray+0x178c]
	mov ebx, [eax*4+uiInfoArray+0x1688]
	jmp _Z17UI_FeederItemTextiP9itemDef_sfiiPP8Material_70
_Z17UI_FeederItemTextiP9itemDef_sfiiPP8Material_50:
	ucomiss xmm0, [_float_9_00000000]
	jz _Z17UI_FeederItemTextiP9itemDef_sfiiPP8Material_180
_Z17UI_FeederItemTextiP9itemDef_sfiiPP8Material_220:
	ucomiss xmm0, [_float_39_00000000]
	jz _Z17UI_FeederItemTextiP9itemDef_sfiiPP8Material_190
_Z17UI_FeederItemTextiP9itemDef_sfiiPP8Material_350:
	ucomiss xmm0, [_float_20_00000000]
	jnz _Z17UI_FeederItemTextiP9itemDef_sfiiPP8Material_200
	jp _Z17UI_FeederItemTextiP9itemDef_sfiiPP8Material_200
	test edi, edi
	js _Z17UI_FeederItemTextiP9itemDef_sfiiPP8Material_60
	cmp edi, [sharedUiInfo+0x48]
	jge _Z17UI_FeederItemTextiP9itemDef_sfiiPP8Material_60
	sub ebx, 0x1
	jz _Z17UI_FeederItemTextiP9itemDef_sfiiPP8Material_210
	mov eax, [edi*4+sharedUiInfo+0x104c]
	mov [esp+0x4], eax
	mov [esp], edx
	call _Z16CL_IsPlayerMutedii
	test al, al
	jz _Z17UI_FeederItemTextiP9itemDef_sfiiPP8Material_60
	mov dword [ebp+0x8], _cstring_mp_muted
_Z17UI_FeederItemTextiP9itemDef_sfiiPP8Material_120:
	add esp, 0x3c
	pop ebx
	pop esi
	pop edi
	pop ebp
	jmp _Z22UI_SafeTranslateStringPKc
_Z17UI_FeederItemTextiP9itemDef_sfiiPP8Material_170:
	jmp dword [ebx*4+_Z17UI_FeederItemTextiP9itemDef_sfiiPP8Material_jumptab_0]
_Z17UI_FeederItemTextiP9itemDef_sfiiPP8Material_180:
	jp _Z17UI_FeederItemTextiP9itemDef_sfiiPP8Material_220
	test edi, edi
	js _Z17UI_FeederItemTextiP9itemDef_sfiiPP8Material_60
	cmp edi, [sharedUiInfo+0x6e84]
	jge _Z17UI_FeederItemTextiP9itemDef_sfiiPP8Material_60
	mov ebx, [edi*8+sharedUiInfo+0x6c88]
	test ebx, ebx
	jz _Z17UI_FeederItemTextiP9itemDef_sfiiPP8Material_230
	cmp byte [ebx], 0x0
	jnz _Z17UI_FeederItemTextiP9itemDef_sfiiPP8Material_70
_Z17UI_FeederItemTextiP9itemDef_sfiiPP8Material_230:
	mov ebx, [edi*8+sharedUiInfo+0x6c84]
	jmp _Z17UI_FeederItemTextiP9itemDef_sfiiPP8Material_70
_Z17UI_FeederItemTextiP9itemDef_sfiiPP8Material_160:
	mov eax, [uiInfoArray+0x8]
	add eax, 0x1388
	cmp eax, [_ZZ17UI_FeederItemTextiP9itemDef_sfiiPP8MaterialE8lastTime]
	jge _Z17UI_FeederItemTextiP9itemDef_sfiiPP8Material_240
	jmp _Z17UI_FeederItemTextiP9itemDef_sfiiPP8Material_250
_Z17UI_FeederItemTextiP9itemDef_sfiiPP8Material_370:
	mov dword [esp+0x4], _cstring_pswrd
_Z17UI_FeederItemTextiP9itemDef_sfiiPP8Material_260:
	mov dword [esp], _ZZ17UI_FeederItemTextiP9itemDef_sfiiPP8MaterialE4info
	call _Z16Info_ValueForKeyPKcS0_
	mov [esp], eax
	call atoi
	mov ebx, _cstring_x
	test eax, eax
	mov eax, _cstring_null
	cmovz ebx, eax
	jmp _Z17UI_FeederItemTextiP9itemDef_sfiiPP8Material_70
_Z17UI_FeederItemTextiP9itemDef_sfiiPP8Material_460:
	mov dword [esp+0x4], _cstring_pb
	jmp _Z17UI_FeederItemTextiP9itemDef_sfiiPP8Material_260
_Z17UI_FeederItemTextiP9itemDef_sfiiPP8Material_470:
	test eax, eax
	jle _Z17UI_FeederItemTextiP9itemDef_sfiiPP8Material_270
	mov dword [ebp+0xc], _cstring_ping
_Z17UI_FeederItemTextiP9itemDef_sfiiPP8Material_360:
	mov dword [ebp+0x8], _ZZ17UI_FeederItemTextiP9itemDef_sfiiPP8MaterialE4info
	add esp, 0x3c
	pop ebx
	pop esi
	pop edi
	pop ebp
	jmp _Z16Info_ValueForKeyPKcS0_
_Z17UI_FeederItemTextiP9itemDef_sfiiPP8Material_380:
	mov dword [esp+0x4], _cstring_hw
	mov dword [esp], _ZZ17UI_FeederItemTextiP9itemDef_sfiiPP8MaterialE4info
	call _Z16Info_ValueForKeyPKcS0_
	mov [esp], eax
	call atoi
	cmp eax, 0x9
	ja _Z17UI_FeederItemTextiP9itemDef_sfiiPP8Material_60
	mov eax, [eax*4+sharedUiInfo+0x6c5c]
	mov [esi], eax
	mov ebx, _cstring_null
	jmp _Z17UI_FeederItemTextiP9itemDef_sfiiPP8Material_70
_Z17UI_FeederItemTextiP9itemDef_sfiiPP8Material_420:
	mov dword [esp+0x4], _cstring_gametype
	mov dword [esp], _ZZ17UI_FeederItemTextiP9itemDef_sfiiPP8MaterialE4info
	call _Z16Info_ValueForKeyPKcS0_
	test eax, eax
	jz _Z17UI_FeederItemTextiP9itemDef_sfiiPP8Material_280
	mov dword [esp+0x4], _cstring_gametype
	mov dword [esp], _ZZ17UI_FeederItemTextiP9itemDef_sfiiPP8MaterialE4info
	call _Z16Info_ValueForKeyPKcS0_
	cmp byte [eax], 0x0
	jnz _Z17UI_FeederItemTextiP9itemDef_sfiiPP8Material_290
_Z17UI_FeederItemTextiP9itemDef_sfiiPP8Material_280:
	mov ebx, _cstring_3
	jmp _Z17UI_FeederItemTextiP9itemDef_sfiiPP8Material_70
_Z17UI_FeederItemTextiP9itemDef_sfiiPP8Material_430:
	mov dword [esp+0x4], _cstring_voice
	jmp _Z17UI_FeederItemTextiP9itemDef_sfiiPP8Material_260
_Z17UI_FeederItemTextiP9itemDef_sfiiPP8Material_400:
	mov dword [esp+0x4], _cstring_mapname
	mov dword [esp], _ZZ17UI_FeederItemTextiP9itemDef_sfiiPP8MaterialE4info
	call _Z16Info_ValueForKeyPKcS0_
	mov ebx, eax
	mov edx, [sharedUiInfo+0x1c58]
	test edx, edx
	jle _Z17UI_FeederItemTextiP9itemDef_sfiiPP8Material_70
	xor edi, edi
	mov esi, sharedUiInfo
	mov dword [ebp-0x20], sharedUiInfo+0x1c5c
	jmp _Z17UI_FeederItemTextiP9itemDef_sfiiPP8Material_300
_Z17UI_FeederItemTextiP9itemDef_sfiiPP8Material_310:
	add edi, 0x1
	add dword [ebp-0x20], 0xa0
	add esi, 0xa0
	cmp [sharedUiInfo+0x1c58], edi
	jle _Z17UI_FeederItemTextiP9itemDef_sfiiPP8Material_70
_Z17UI_FeederItemTextiP9itemDef_sfiiPP8Material_300:
	mov eax, [esi+0x1c60]
	mov [esp+0x4], eax
	mov [esp], ebx
	call _Z9I_stricmpPKcS0_
	test eax, eax
	jnz _Z17UI_FeederItemTextiP9itemDef_sfiiPP8Material_310
	mov edx, [ebp-0x20]
	mov eax, [edx]
	mov [ebp+0x8], eax
	jmp _Z17UI_FeederItemTextiP9itemDef_sfiiPP8Material_120
_Z17UI_FeederItemTextiP9itemDef_sfiiPP8Material_410:
	mov dword [esp+0x4], _cstring_sv_maxclients
	mov dword [esp], _ZZ17UI_FeederItemTextiP9itemDef_sfiiPP8MaterialE4info
	call _Z16Info_ValueForKeyPKcS0_
	mov ebx, eax
	mov dword [esp+0x4], _cstring_clients
	mov dword [esp], _ZZ17UI_FeederItemTextiP9itemDef_sfiiPP8MaterialE4info
	call _Z16Info_ValueForKeyPKcS0_
	mov [esp+0x10], ebx
	mov [esp+0xc], eax
	mov dword [esp+0x8], _cstring_s_s1
	mov dword [esp+0x4], 0x26
	mov dword [esp], _ZZ17UI_FeederItemTextiP9itemDef_sfiiPP8MaterialE10clientBuff
	call _Z11Com_sprintfPciPKcz
	mov ebx, _ZZ17UI_FeederItemTextiP9itemDef_sfiiPP8MaterialE10clientBuff
	jmp _Z17UI_FeederItemTextiP9itemDef_sfiiPP8Material_70
_Z17UI_FeederItemTextiP9itemDef_sfiiPP8Material_440:
	mov dword [esp+0x4], _cstring_pure
	jmp _Z17UI_FeederItemTextiP9itemDef_sfiiPP8Material_260
_Z17UI_FeederItemTextiP9itemDef_sfiiPP8Material_450:
	mov dword [esp+0x4], _cstring_mod
	mov dword [esp], _ZZ17UI_FeederItemTextiP9itemDef_sfiiPP8MaterialE4info
	call _Z16Info_ValueForKeyPKcS0_
	mov [esp], eax
	call atoi
	mov ebx, _cstring_x
	test eax, eax
	mov eax, _cstring_null
	cmovnz ebx, eax
	jmp _Z17UI_FeederItemTextiP9itemDef_sfiiPP8Material_70
_Z17UI_FeederItemTextiP9itemDef_sfiiPP8Material_390:
	test eax, eax
	jle _Z17UI_FeederItemTextiP9itemDef_sfiiPP8Material_320
	mov dword [esp+0x4], _cstring_hostname
	mov dword [esp], _ZZ17UI_FeederItemTextiP9itemDef_sfiiPP8MaterialE4info
	call _Z16Info_ValueForKeyPKcS0_
	mov dword [esp+0x8], 0x26
	mov [esp+0x4], eax
	mov dword [esp], _ZZ17UI_FeederItemTextiP9itemDef_sfiiPP8MaterialE10clientBuff
	call _Z10I_strncpyzPcPKci
	mov ebx, _ZZ17UI_FeederItemTextiP9itemDef_sfiiPP8MaterialE10clientBuff
	jmp _Z17UI_FeederItemTextiP9itemDef_sfiiPP8Material_70
_Z17UI_FeederItemTextiP9itemDef_sfiiPP8Material_290:
	mov dword [esp+0x4], _cstring_gametype
	mov dword [esp], _ZZ17UI_FeederItemTextiP9itemDef_sfiiPP8MaterialE4info
	call _Z16Info_ValueForKeyPKcS0_
	mov ebx, eax
	mov eax, [sharedUiInfo+0x114c]
	test eax, eax
	jle _Z17UI_FeederItemTextiP9itemDef_sfiiPP8Material_70
	xor edi, edi
	mov esi, sharedUiInfo
	jmp _Z17UI_FeederItemTextiP9itemDef_sfiiPP8Material_330
_Z17UI_FeederItemTextiP9itemDef_sfiiPP8Material_340:
	add edi, 0x1
	add esi, 0x8
	cmp edi, [sharedUiInfo+0x114c]
	jge _Z17UI_FeederItemTextiP9itemDef_sfiiPP8Material_70
_Z17UI_FeederItemTextiP9itemDef_sfiiPP8Material_330:
	mov eax, [esi+0x1150]
	mov [esp+0x4], eax
	mov [esp], ebx
	call _Z9I_stricmpPKcS0_
	test eax, eax
	jnz _Z17UI_FeederItemTextiP9itemDef_sfiiPP8Material_340
	mov eax, [edi*8+sharedUiInfo+0x1154]
	mov [ebp+0x8], eax
	jmp _Z17UI_FeederItemTextiP9itemDef_sfiiPP8Material_120
_Z17UI_FeederItemTextiP9itemDef_sfiiPP8Material_90:
	mov eax, [eax]
	mov [ebp+0x8], eax
	jmp _Z17UI_FeederItemTextiP9itemDef_sfiiPP8Material_120
_Z17UI_FeederItemTextiP9itemDef_sfiiPP8Material_150:
	mov dword [sharedUiInfo+0x72f4], 0xffffffff
	mov dword [esp+0x4], 0x1
	mov dword [esp], uiInfoArray
	call _Z25UI_BuildServerDisplayListP8uiInfo_si
	jmp _Z17UI_FeederItemTextiP9itemDef_sfiiPP8Material_140
_Z17UI_FeederItemTextiP9itemDef_sfiiPP8Material_190:
	jnp _Z17UI_FeederItemTextiP9itemDef_sfiiPP8Material_60
	jmp _Z17UI_FeederItemTextiP9itemDef_sfiiPP8Material_350
_Z17UI_FeederItemTextiP9itemDef_sfiiPP8Material_270:
	mov ebx, _cstring_4
	jmp _Z17UI_FeederItemTextiP9itemDef_sfiiPP8Material_70
_Z17UI_FeederItemTextiP9itemDef_sfiiPP8Material_320:
	mov dword [ebp+0xc], _cstring_addr
	jmp _Z17UI_FeederItemTextiP9itemDef_sfiiPP8Material_360
	
	
_Z17UI_FeederItemTextiP9itemDef_sfiiPP8Material_jumptab_0:
	dd _Z17UI_FeederItemTextiP9itemDef_sfiiPP8Material_370
	dd _Z17UI_FeederItemTextiP9itemDef_sfiiPP8Material_380
	dd _Z17UI_FeederItemTextiP9itemDef_sfiiPP8Material_390
	dd _Z17UI_FeederItemTextiP9itemDef_sfiiPP8Material_400
	dd _Z17UI_FeederItemTextiP9itemDef_sfiiPP8Material_410
	dd _Z17UI_FeederItemTextiP9itemDef_sfiiPP8Material_420
	dd _Z17UI_FeederItemTextiP9itemDef_sfiiPP8Material_430
	dd _Z17UI_FeederItemTextiP9itemDef_sfiiPP8Material_440
	dd _Z17UI_FeederItemTextiP9itemDef_sfiiPP8Material_450
	dd _Z17UI_FeederItemTextiP9itemDef_sfiiPP8Material_460
	dd _Z17UI_FeederItemTextiP9itemDef_sfiiPP8Material_470


;UI_OwnerDrawWidth(int, Font_s*, float)
_Z17UI_OwnerDrawWidthiP6Font_sf:
	push ebp
	mov ebp, esp
	push ebx
	sub esp, 0x24
	mov eax, [ebp+0x8]
	sub eax, 0xcd
	cmp eax, 0x2d
	ja _Z17UI_OwnerDrawWidthiP6Font_sf_10
	jmp dword [eax*4+_Z17UI_OwnerDrawWidthiP6Font_sf_jumptab_0]
_Z17UI_OwnerDrawWidthiP6Font_sf_10:
	xor eax, eax
	add esp, 0x24
	pop ebx
	pop ebp
	ret
_Z17UI_OwnerDrawWidthiP6Font_sf_60:
	mov eax, [ui_gametype]
	mov eax, [eax+0xc]
	mov ebx, [eax*8+sharedUiInfo+0x1154]
_Z17UI_OwnerDrawWidthiP6Font_sf_30:
	test ebx, ebx
	jz _Z17UI_OwnerDrawWidthiP6Font_sf_10
	movss xmm0, dword [ebp+0x10]
	movss [esp+0x4], xmm0
	mov eax, [ebp+0xc]
	mov [esp], eax
	call _Z21R_NormalizedTextScaleP6Font_sf
	fstp dword [ebp-0xc]
	mov eax, [ebp+0xc]
	mov [esp+0x8], eax
	mov dword [esp+0x4], 0x0
	mov [esp], ebx
	call _Z11R_TextWidthPKciP6Font_s
	cvtsi2ss xmm0, eax
	mulss xmm0, [ebp-0xc]
	cvttss2si eax, xmm0
	add esp, 0x24
	pop ebx
	pop ebp
	ret
_Z17UI_OwnerDrawWidthiP6Font_sf_100:
	call _Z22Display_KeyBindPendingv
	test eax, eax
	jnz _Z17UI_OwnerDrawWidthiP6Font_sf_20
	mov dword [esp], _cstring_exe_keychange
	call _Z22UI_SafeTranslateStringPKc
	mov ebx, eax
	jmp _Z17UI_OwnerDrawWidthiP6Font_sf_30
_Z17UI_OwnerDrawWidthiP6Font_sf_90:
	mov eax, [ui_netSource]
	mov eax, [eax+0xc]
	mov [esp+0x4], eax
	mov dword [esp], _cstring_ui_lastserverref
	call _Z2vaPKcz
	mov [esp], eax
	call _Z21Dvar_GetVariantStringPKc
	mov ebx, eax
	jmp _Z17UI_OwnerDrawWidthiP6Font_sf_30
_Z17UI_OwnerDrawWidthiP6Font_sf_80:
	xor eax, eax
	cmp dword [ui_serverFilterType], 0x2
	cmovb eax, [ui_serverFilterType]
	mov [ui_serverFilterType], eax
	mov eax, [eax*8+serverFilters]
	mov [esp+0x4], eax
	mov dword [esp], _cstring_exe_serverfilter
	call _Z2vaPKcz
	mov dword [esp+0x8], 0x0
	mov dword [esp+0x4], _cstring_server_filter
	mov [esp], eax
	call _Z23SEH_LocalizeTextMessagePKcS0_15msgLocErrType_t
	mov ebx, eax
	jmp _Z17UI_OwnerDrawWidthiP6Font_sf_30
_Z17UI_OwnerDrawWidthiP6Font_sf_70:
	mov edx, [ui_netSource]
	mov eax, [edx+0xc]
	cmp eax, [sharedUiInfo+0x1b54]
	jg _Z17UI_OwnerDrawWidthiP6Font_sf_40
_Z17UI_OwnerDrawWidthiP6Font_sf_50:
	mov eax, [eax*4+netSources]
	mov [esp+0x4], eax
	mov dword [esp], _cstring_exe_netsources
	call _Z2vaPKcz
	mov dword [esp+0x8], 0x0
	mov dword [esp+0x4], _cstring_net_source
	mov [esp], eax
	call _Z23SEH_LocalizeTextMessagePKcS0_15msgLocErrType_t
	mov ebx, eax
	jmp _Z17UI_OwnerDrawWidthiP6Font_sf_30
_Z17UI_OwnerDrawWidthiP6Font_sf_20:
	mov dword [esp], _cstring_exe_keywait
	call _Z22UI_SafeTranslateStringPKc
	mov ebx, eax
	jmp _Z17UI_OwnerDrawWidthiP6Font_sf_30
_Z17UI_OwnerDrawWidthiP6Font_sf_40:
	mov dword [esp+0x4], 0x0
	mov [esp], edx
	call _Z11Dvar_SetIntPK6dvar_si
	mov edx, [ui_netSource]
	mov eax, [edx+0xc]
	jmp _Z17UI_OwnerDrawWidthiP6Font_sf_50
	nop
	
	
_Z17UI_OwnerDrawWidthiP6Font_sf_jumptab_0:
	dd _Z17UI_OwnerDrawWidthiP6Font_sf_60
	dd _Z17UI_OwnerDrawWidthiP6Font_sf_10
	dd _Z17UI_OwnerDrawWidthiP6Font_sf_10
	dd _Z17UI_OwnerDrawWidthiP6Font_sf_10
	dd _Z17UI_OwnerDrawWidthiP6Font_sf_10
	dd _Z17UI_OwnerDrawWidthiP6Font_sf_10
	dd _Z17UI_OwnerDrawWidthiP6Font_sf_10
	dd _Z17UI_OwnerDrawWidthiP6Font_sf_10
	dd _Z17UI_OwnerDrawWidthiP6Font_sf_10
	dd _Z17UI_OwnerDrawWidthiP6Font_sf_10
	dd _Z17UI_OwnerDrawWidthiP6Font_sf_10
	dd _Z17UI_OwnerDrawWidthiP6Font_sf_10
	dd _Z17UI_OwnerDrawWidthiP6Font_sf_10
	dd _Z17UI_OwnerDrawWidthiP6Font_sf_10
	dd _Z17UI_OwnerDrawWidthiP6Font_sf_10
	dd _Z17UI_OwnerDrawWidthiP6Font_sf_70
	dd _Z17UI_OwnerDrawWidthiP6Font_sf_10
	dd _Z17UI_OwnerDrawWidthiP6Font_sf_80
	dd _Z17UI_OwnerDrawWidthiP6Font_sf_10
	dd _Z17UI_OwnerDrawWidthiP6Font_sf_10
	dd _Z17UI_OwnerDrawWidthiP6Font_sf_10
	dd _Z17UI_OwnerDrawWidthiP6Font_sf_10
	dd _Z17UI_OwnerDrawWidthiP6Font_sf_10
	dd _Z17UI_OwnerDrawWidthiP6Font_sf_10
	dd _Z17UI_OwnerDrawWidthiP6Font_sf_10
	dd _Z17UI_OwnerDrawWidthiP6Font_sf_10
	dd _Z17UI_OwnerDrawWidthiP6Font_sf_10
	dd _Z17UI_OwnerDrawWidthiP6Font_sf_10
	dd _Z17UI_OwnerDrawWidthiP6Font_sf_10
	dd _Z17UI_OwnerDrawWidthiP6Font_sf_10
	dd _Z17UI_OwnerDrawWidthiP6Font_sf_10
	dd _Z17UI_OwnerDrawWidthiP6Font_sf_10
	dd _Z17UI_OwnerDrawWidthiP6Font_sf_10
	dd _Z17UI_OwnerDrawWidthiP6Font_sf_10
	dd _Z17UI_OwnerDrawWidthiP6Font_sf_10
	dd _Z17UI_OwnerDrawWidthiP6Font_sf_10
	dd _Z17UI_OwnerDrawWidthiP6Font_sf_10
	dd _Z17UI_OwnerDrawWidthiP6Font_sf_10
	dd _Z17UI_OwnerDrawWidthiP6Font_sf_10
	dd _Z17UI_OwnerDrawWidthiP6Font_sf_10
	dd _Z17UI_OwnerDrawWidthiP6Font_sf_10
	dd _Z17UI_OwnerDrawWidthiP6Font_sf_10
	dd _Z17UI_OwnerDrawWidthiP6Font_sf_90
	dd _Z17UI_OwnerDrawWidthiP6Font_sf_10
	dd _Z17UI_OwnerDrawWidthiP6Font_sf_10
	dd _Z17UI_OwnerDrawWidthiP6Font_sf_100


;UI_CloseInGameMenu(int)
_Z18UI_CloseInGameMenui:
	push ebp
	mov ebp, esp
	push ebx
	sub esp, 0x14
	mov ebx, [ebp+0x8]
	mov dword [esp], uiInfoArray
	call _Z26Menus_AnyFullScreenVisibleP9UiContext
	test eax, eax
	jnz _Z18UI_CloseInGameMenui_10
	cmp dword [uiInfoArray+0x18a0], 0x2
	jz _Z18UI_CloseInGameMenui_20
_Z18UI_CloseInGameMenui_10:
	add esp, 0x14
	pop ebx
	pop ebp
	ret
_Z18UI_CloseInGameMenui_20:
	mov [ebp+0x8], ebx
	add esp, 0x14
	pop ebx
	pop ebp
	jmp _Z19UI_CloseFocusedMenui


;UI_DrawRecordLevel(int, rectDef_s*)
_Z18UI_DrawRecordLeveliP9rectDef_s:
	push ebp
	mov ebp, esp
	push edi
	push esi
	push ebx
	sub esp, 0x3c
	mov edx, [ebp+0x8]
	mov esi, [ebp+0xc]
	mov eax, edx
	shl eax, 0x6
	lea edi, [eax+edx*4]
	add edi, scrPlaceView
	call _Z19Voice_GetVoiceLevelv
	fstp dword [ebp-0x1c]
	movss xmm0, dword [ebp-0x1c]
	pxor xmm2, xmm2
	ucomiss xmm0, xmm2
	jbe _Z18UI_DrawRecordLeveliP9rectDef_s_10
	movaps xmm1, xmm0
	mulss xmm1, [esi+0x8]
	movss xmm3, dword [_float_4_00000000]
	subss xmm1, xmm3
	ucomiss xmm1, xmm2
	jbe _Z18UI_DrawRecordLeveliP9rectDef_s_10
	mov eax, colorWhite
	mov [esp+0x1c], eax
	mov dword [esp+0x18], 0x0
	mov dword [esp+0x14], 0x0
	movss xmm0, dword [esi+0xc]
	subss xmm0, xmm3
	movss [esp+0x10], xmm0
	movss [esp+0xc], xmm1
	movss xmm0, dword [_float_2_00000000]
	movss xmm1, dword [esi+0x4]
	addss xmm1, xmm0
	movss [esp+0x8], xmm1
	addss xmm0, [esi]
	movss [esp+0x4], xmm0
	mov [esp], edi
	call _Z11UI_FillRectPK15ScreenPlacementffffiiPKf
_Z18UI_DrawRecordLeveliP9rectDef_s_10:
	mov ebx, colorWhite
	mov [esp+0x1c], ebx
	mov dword [esp+0x18], 0x0
	mov dword [esp+0x14], 0x0
	mov dword [esp+0x10], 0x3f800000
	mov eax, [esi+0x8]
	mov [esp+0xc], eax
	mov eax, [esi+0x4]
	mov [esp+0x8], eax
	mov eax, [esi]
	mov [esp+0x4], eax
	mov [esp], edi
	call _Z11UI_FillRectPK15ScreenPlacementffffiiPKf
	mov [esp+0x1c], ebx
	mov dword [esp+0x18], 0x0
	mov dword [esp+0x14], 0x0
	mov dword [esp+0x10], 0x3f800000
	mov eax, [esi+0x8]
	mov [esp+0xc], eax
	movss xmm0, dword [esi+0x4]
	addss xmm0, [esi+0xc]
	subss xmm0, [_float_1_00000000]
	movss [esp+0x8], xmm0
	mov eax, [esi]
	mov [esp+0x4], eax
	mov [esp], edi
	call _Z11UI_FillRectPK15ScreenPlacementffffiiPKf
	mov [esp+0x1c], ebx
	mov dword [esp+0x18], 0x0
	mov dword [esp+0x14], 0x0
	movss xmm0, dword [esi+0xc]
	subss xmm0, [_float_2_00000000]
	movss [esp+0x10], xmm0
	mov dword [esp+0xc], 0x3f800000
	movss xmm0, dword [esi+0x4]
	addss xmm0, [_float_1_00000000]
	movss [esp+0x8], xmm0
	mov eax, [esi]
	mov [esp+0x4], eax
	mov [esp], edi
	call _Z11UI_FillRectPK15ScreenPlacementffffiiPKf
	mov [esp+0x1c], ebx
	mov dword [esp+0x18], 0x0
	mov dword [esp+0x14], 0x0
	movss xmm0, dword [esi+0xc]
	subss xmm0, [_float_2_00000000]
	movss [esp+0x10], xmm0
	mov dword [esp+0xc], 0x3f800000
	movss xmm0, dword [esi+0x4]
	addss xmm0, [_float_1_00000000]
	movss [esp+0x8], xmm0
	movss xmm0, dword [esi]
	addss xmm0, [esi+0x8]
	subss xmm0, [_float_1_00000000]
	movss [esp+0x4], xmm0
	mov [esp], edi
	call _Z11UI_FillRectPK15ScreenPlacementffffiiPKf
	mov eax, 0x1
	add esp, 0x3c
	pop ebx
	pop esi
	pop edi
	pop ebp
	ret


;UI_FeederItemColor(int, itemDef_s*, float, int, int, float*)
_Z18UI_FeederItemColoriP9itemDef_sfiiPf:
	push ebp
	mov ebp, esp
	push esi
	push ebx
	sub esp, 0x10
	mov ebx, [ebp+0xc]
	mov esi, [ebp+0x1c]
	mov [esp], ebx
	call _Z18Item_GetListBoxDefP9itemDef_s
	lea edx, [ebx+0x58]
	mov eax, [ebx+0x58]
	mov [esi], eax
	mov eax, [edx+0x4]
	mov [esi+0x4], eax
	mov eax, [edx+0x8]
	mov [esi+0x8], eax
	mov eax, [edx+0xc]
	mov [esi+0xc], eax
	add esp, 0x10
	pop ebx
	pop esi
	pop ebp
	ret
	nop


;UI_FeederItemImage(float, int)
_Z18UI_FeederItemImagefi:
	push ebp
	mov ebp, esp
	push esi
	push ebx
	sub esp, 0x10
	movss xmm0, dword [ebp+0x8]
	ucomiss xmm0, [_float_4_00000000]
	jp _Z18UI_FeederItemImagefi_10
	jnz _Z18UI_FeederItemImagefi_10
	mov esi, [sharedUiInfo+0x1c58]
	test esi, esi
	jle _Z18UI_FeederItemImagefi_20
	xor ecx, ecx
	xor ebx, ebx
	mov edx, sharedUiInfo
	mov eax, sharedUiInfo+0x1c5c
_Z18UI_FeederItemImagefi_50:
	cmp dword [edx+0x1cf8], 0x0
	jz _Z18UI_FeederItemImagefi_30
	cmp ecx, [ebp+0xc]
	jz _Z18UI_FeederItemImagefi_40
	add ecx, 0x1
_Z18UI_FeederItemImagefi_30:
	add ebx, 0x1
	add eax, 0xa0
	add edx, 0xa0
	cmp esi, ebx
	jnz _Z18UI_FeederItemImagefi_50
_Z18UI_FeederItemImagefi_20:
	xor ebx, ebx
_Z18UI_FeederItemImagefi_80:
	cmp [sharedUiInfo+0x1c58], ebx
	jle _Z18UI_FeederItemImagefi_60
_Z18UI_FeederItemImagefi_90:
	lea ebx, [ebx+ebx*4]
	shl ebx, 0x5
	mov eax, [ebx+sharedUiInfo+0x1cf4]
	test eax, eax
	jz _Z18UI_FeederItemImagefi_70
_Z18UI_FeederItemImagefi_100:
	mov eax, [ebx+sharedUiInfo+0x1cf4]
	add esp, 0x10
	pop ebx
	pop esi
	pop ebp
	ret
_Z18UI_FeederItemImagefi_40:
	mov eax, [eax]
	mov [esp], eax
	call _Z22UI_SafeTranslateStringPKc
	test ebx, ebx
	jns _Z18UI_FeederItemImagefi_80
_Z18UI_FeederItemImagefi_60:
	xor ebx, ebx
	jmp _Z18UI_FeederItemImagefi_90
_Z18UI_FeederItemImagefi_10:
	xor eax, eax
	add esp, 0x10
	pop ebx
	pop esi
	pop ebp
	ret
_Z18UI_FeederItemImagefi_70:
	mov dword [esp+0x4], 0x3
	mov eax, [ebx+sharedUiInfo+0x1c64]
	mov [esp], eax
	call _Z23Material_RegisterHandlePKci
	mov edx, sharedUiInfo+0x1ce0
	mov [ebx+edx+0x14], eax
	jmp _Z18UI_FeederItemImagefi_100


;UI_FeederSelection(int, float, int)
_Z18UI_FeederSelectionifi:
	push ebp
	mov ebp, esp
	push esi
	push ebx
	sub esp, 0x10
	movss xmm0, dword [ebp+0xc]
	mov ecx, [ebp+0x10]
	ucomiss xmm0, [_float_4_00000000]
	jp _Z18UI_FeederSelectionifi_10
	jz _Z18UI_FeederSelectionifi_20
_Z18UI_FeederSelectionifi_10:
	ucomiss xmm0, [_float_2_00000000]
	jnz _Z18UI_FeederSelectionifi_30
	jp _Z18UI_FeederSelectionifi_30
	cmp dword [sharedUiInfo+0x1ab78], 0x1
	mov eax, [sharedUiInfo+0x72f4]
	cmovge eax, ecx
	mov [sharedUiInfo+0x72f4], eax
	mov dword [esp+0xc], 0x400
	mov dword [esp+0x8], _ZZ18UI_FeederSelectionifiE4info
	mov eax, [ecx*4+sharedUiInfo+0x72f8]
	mov [esp+0x4], eax
	mov eax, [ui_netSource]
	mov eax, [eax+0xc]
	mov [esp], eax
	call _Z17LAN_GetServerInfoiiPci
_Z18UI_FeederSelectionifi_100:
	add esp, 0x10
	pop ebx
	pop esi
	pop ebp
	ret
_Z18UI_FeederSelectionifi_20:
	mov esi, [sharedUiInfo+0x1c58]
	test esi, esi
	jle _Z18UI_FeederSelectionifi_40
	xor edx, edx
	xor ebx, ebx
	mov eax, sharedUiInfo
_Z18UI_FeederSelectionifi_70:
	cmp dword [eax+0x1cf8], 0x0
	jz _Z18UI_FeederSelectionifi_50
	cmp edx, ecx
	jz _Z18UI_FeederSelectionifi_60
	add edx, 0x1
_Z18UI_FeederSelectionifi_50:
	add ebx, 0x1
	add eax, 0xa0
	cmp esi, ebx
	jnz _Z18UI_FeederSelectionifi_70
_Z18UI_FeederSelectionifi_40:
	xor ebx, ebx
_Z18UI_FeederSelectionifi_160:
	mov [esp+0x4], ebx
	mov eax, [ui_currentMap]
	mov [esp], eax
	call _Z11Dvar_SetIntPK6dvar_si
	mov [ebp+0xc], ebx
	mov eax, [ui_currentNetMap]
	mov [ebp+0x8], eax
	add esp, 0x10
	pop ebx
	pop esi
	pop ebp
	jmp _Z11Dvar_SetIntPK6dvar_si
_Z18UI_FeederSelectionifi_30:
	ucomiss xmm0, [_float_7_00000000]
	jz _Z18UI_FeederSelectionifi_80
_Z18UI_FeederSelectionifi_140:
	ucomiss xmm0, [_float_39_00000000]
	jp _Z18UI_FeederSelectionifi_90
	jz _Z18UI_FeederSelectionifi_100
_Z18UI_FeederSelectionifi_90:
	ucomiss xmm0, [_float_9_00000000]
	jz _Z18UI_FeederSelectionifi_110
_Z18UI_FeederSelectionifi_150:
	ucomiss xmm0, [_float_20_00000000]
	jnz _Z18UI_FeederSelectionifi_120
	jnp _Z18UI_FeederSelectionifi_130
_Z18UI_FeederSelectionifi_120:
	ucomiss xmm0, [_float_24_00000000]
	jnz _Z18UI_FeederSelectionifi_100
	jp _Z18UI_FeederSelectionifi_100
	test ecx, ecx
	js _Z18UI_FeederSelectionifi_100
	cmp ecx, [uiInfoArray+0x1684]
	jge _Z18UI_FeederSelectionifi_100
	mov eax, [ecx*4+uiInfoArray+0x178c]
	mov eax, [eax*4+uiInfoArray+0x1688]
	mov [ebp+0xc], eax
	mov eax, [ui_playerProfileSelected]
	mov [ebp+0x8], eax
	add esp, 0x10
	pop ebx
	pop esi
	pop ebp
	jmp _Z14Dvar_SetStringPK6dvar_sPKc
_Z18UI_FeederSelectionifi_80:
	jp _Z18UI_FeederSelectionifi_140
_Z18UI_FeederSelectionifi_130:
	mov [uiInfoArray+0x1680], ecx
	add esp, 0x10
	pop ebx
	pop esi
	pop ebp
	ret
_Z18UI_FeederSelectionifi_110:
	jp _Z18UI_FeederSelectionifi_150
	mov [sharedUiInfo+0x6e88], ecx
	jmp _Z18UI_FeederSelectionifi_100
_Z18UI_FeederSelectionifi_60:
	lea eax, [ebx+ebx*4]
	shl eax, 0x5
	mov eax, [eax+sharedUiInfo+0x1c5c]
	mov [esp], eax
	call _Z22UI_SafeTranslateStringPKc
	jmp _Z18UI_FeederSelectionifi_160


;UI_LoadIngameMenus(int)
_Z18UI_LoadIngameMenusi:
	push ebp
	mov ebp, esp
	sub esp, 0x18
	mov eax, [ebp+0x8]
	cmp byte [eax+g_ingameMenusLoaded], 0x0
	jz _Z18UI_LoadIngameMenusi_10
	leave
	ret
_Z18UI_LoadIngameMenusi_10:
	mov byte [eax+g_ingameMenusLoaded], 0x1
	mov dword [esp+0x4], 0x3
	mov dword [esp], _cstring_ui_mpingametxt
	call _Z12UI_LoadMenusPKci
	mov [esp+0x4], eax
	mov dword [esp], uiInfoArray
	call _Z14UI_AddMenuListP9UiContextP8MenuList
	leave
	ret
	nop


;UI_PopupScriptMenu(int, char const*, unsigned char)
_Z18UI_PopupScriptMenuiPKch:
	push ebp
	mov ebp, esp
	push ebx
	sub esp, 0x14
	movzx ebx, byte [ebp+0x10]
	mov dword [esp], uiInfoArray
	call _Z15Menu_GetFocusedP9UiContext
	test eax, eax
	jz _Z18UI_PopupScriptMenuiPKch_10
	mov edx, [uiInfoArray+0x18a0]
	cmp edx, 0x9
	jz _Z18UI_PopupScriptMenuiPKch_20
	cmp edx, 0xa
	jz _Z18UI_PopupScriptMenuiPKch_20
	xor eax, eax
	add esp, 0x14
	pop ebx
	pop ebp
	ret
_Z18UI_PopupScriptMenuiPKch_20:
	mov edx, [ebp+0xc]
	mov [esp+0x4], edx
	mov eax, [eax]
	mov [esp], eax
	call _Z9I_stricmpPKcS0_
	test eax, eax
	jz _Z18UI_PopupScriptMenuiPKch_30
_Z18UI_PopupScriptMenuiPKch_10:
	mov dword [uiInfoArray+0x18a0], 0x9
	test bl, bl
	jz _Z18UI_PopupScriptMenuiPKch_40
_Z18UI_PopupScriptMenuiPKch_50:
	mov dword [esp+0x4], 0x10
	mov eax, [ebp+0x8]
	mov [esp], eax
	call _Z14Key_SetCatcherii
	mov dword [esp], uiInfoArray
	call _Z14Menus_CloseAllP9UiContext
	mov edx, [ebp+0xc]
	mov [esp+0x4], edx
	mov dword [esp], uiInfoArray
	call _Z16Menus_OpenByNameP9UiContextPKc
	mov eax, 0x1
	add esp, 0x14
	pop ebx
	pop ebp
	ret
_Z18UI_PopupScriptMenuiPKch_40:
	mov edx, 0x441fc000
	mov [uiInfoArray+0x10], edx
	mov eax, 0x43ef8000
	mov [uiInfoArray+0x14], eax
	mov [esp+0x8], eax
	mov [esp+0x4], edx
	mov dword [esp], uiInfoArray
	call _Z21UI_SetSystemCursorPosP9UiContextff
	jmp _Z18UI_PopupScriptMenuiPKch_50
_Z18UI_PopupScriptMenuiPKch_30:
	mov al, 0x1
	add esp, 0x14
	pop ebx
	pop ebp
	ret


;UI_CloseFocusedMenu(int)
_Z19UI_CloseFocusedMenui:
	push ebp
	mov ebp, esp
	push ebx
	sub esp, 0x14
	mov ebx, [ebp+0x8]
	mov dword [esp], uiInfoArray
	call _Z10Menu_CountP9UiContext
	test eax, eax
	jle _Z19UI_CloseFocusedMenui_10
	mov dword [esp], uiInfoArray
	call _Z15Menu_GetFocusedP9UiContext
	test eax, eax
	jz _Z19UI_CloseFocusedMenui_20
	mov dword [esp], uiInfoArray
	call _Z26Menus_AnyFullScreenVisibleP9UiContext
	test eax, eax
	jz _Z19UI_CloseFocusedMenui_30
_Z19UI_CloseFocusedMenui_10:
	add esp, 0x14
	pop ebx
	pop ebp
	ret
_Z19UI_CloseFocusedMenui_30:
	mov dword [ebp+0x8], uiInfoArray
	add esp, 0x14
	pop ebx
	pop ebp
	jmp _Z14Menus_CloseAllP9UiContext
_Z19UI_CloseFocusedMenui_20:
	mov dword [esp+0x4], 0x10
	mov [esp], ebx
	call _Z19Key_IsCatcherActiveii
	test al, al
	jz _Z19UI_CloseFocusedMenui_10
	mov dword [esp+0x4], 0xffffffef
	mov [esp], ebx
	call _Z17Key_RemoveCatcherii
	jmp _Z19UI_CloseFocusedMenui_10
	nop


;UI_DrawMapLevelshot(int)
_Z19UI_DrawMapLevelshoti:
	push ebp
	mov ebp, esp
	push esi
	push ebx
	sub esp, 0x20
	mov esi, [ebp+0x8]
	cmp byte [g_showLoadingScreenMenu], 0x0
	jz _Z19UI_DrawMapLevelshoti_10
	mov eax, useFastFile
	mov eax, [eax]
	cmp byte [eax+0xc], 0x0
	jz _Z19UI_DrawMapLevelshoti_20
	mov dword [esp+0x4], _cstring_connect
	mov dword [esp], 0x15
	call _Z19DB_FindXAssetHeader10XAssetTypePKc
	mov ebx, eax
_Z19UI_DrawMapLevelshoti_40:
	test ebx, ebx
	jz _Z19UI_DrawMapLevelshoti_10
	mov [esp+0x4], ebx
	mov dword [esp], uiInfoArray
	call _Z19Menus_MenuIsInStackP9UiContextP9menuDef_t
	test eax, eax
	jz _Z19UI_DrawMapLevelshoti_30
_Z19UI_DrawMapLevelshoti_50:
	mov dword [uiInfoArray+0x2c], 0x0
	mov dword [esp+0x8], 0x4004
	mov [esp+0x4], ebx
	mov [esp], esi
	call _Z22Window_SetDynamicFlagsiP11windowDef_ti
	mov [esp+0x4], ebx
	mov dword [esp], uiInfoArray
	call _Z10Menu_PaintP9UiContextP9menuDef_t
	add esp, 0x20
	pop ebx
	pop esi
	pop ebp
	ret
_Z19UI_DrawMapLevelshoti_10:
	mov eax, colorBlack
	mov [esp+0x1c], eax
	mov dword [esp+0x18], 0x0
	mov dword [esp+0x14], 0x0
	mov dword [esp+0x10], 0x43f00000
	mov dword [esp+0xc], 0x44200000
	xor eax, eax
	mov [esp+0x8], eax
	mov [esp+0x4], eax
	mov eax, esi
	shl eax, 0x6
	lea eax, [eax+esi*4]
	add eax, scrPlaceView
	mov [esp], eax
	call _Z11UI_FillRectPK15ScreenPlacementffffiiPKf
	add esp, 0x20
	pop ebx
	pop esi
	pop ebp
	ret
_Z19UI_DrawMapLevelshoti_20:
	mov dword [esp+0x4], _cstring_connect
	mov dword [esp], uiInfoArray
	call _Z16Menus_FindByNamePK9UiContextPKc
	mov ebx, eax
	jmp _Z19UI_DrawMapLevelshoti_40
_Z19UI_DrawMapLevelshoti_30:
	mov [esp+0x4], ebx
	mov dword [esp], uiInfoArray
	call _Z10Menus_OpenP9UiContextP9menuDef_t
	jmp _Z19UI_DrawMapLevelshoti_50


;UI_DrawTextWithGlow(ScreenPlacement const*, char const*, int, Font_s*, float, float, int, int, float, float const*, int, float const*, unsigned char, unsigned char)
_Z19UI_DrawTextWithGlowPK15ScreenPlacementPKciP6Font_sffiifPKfiS7_hh:
	push ebp
	mov ebp, esp
	push edi
	push esi
	push ebx
	sub esp, 0x7c
	mov edi, [ebp+0x14]
	movzx ebx, byte [ebp+0x38]
	movzx esi, byte [ebp+0x3c]
	mov eax, [ebp+0x28]
	mov [esp+0x4], eax
	mov [esp], edi
	call _Z21R_NormalizedTextScaleP6Font_sf
	fst dword [ebp-0x1c]
	fstp dword [ebp-0x20]
	mov eax, [ebp+0x24]
	mov [esp+0x18], eax
	mov eax, [ebp+0x20]
	mov [esp+0x14], eax
	lea eax, [ebp-0x20]
	mov [esp+0x10], eax
	lea eax, [ebp-0x1c]
	mov [esp+0xc], eax
	lea eax, [ebp+0x1c]
	mov [esp+0x8], eax
	lea eax, [ebp+0x18]
	mov [esp+0x4], eax
	mov eax, [ebp+0x8]
	mov [esp], eax
	call _Z18ScrPlace_ApplyRectPK15ScreenPlacementPfS2_S2_S2_ii
	movss xmm1, dword [_float_0_50000000]
	movss xmm0, dword [ebp+0x18]
	addss xmm0, xmm1
	movss [esp], xmm0
	movss [ebp-0x48], xmm1
	call floorf
	fstp dword [ebp-0x2c]
	movss xmm0, dword [ebp-0x2c]
	movss [ebp+0x18], xmm0
	movss xmm1, dword [ebp-0x48]
	addss xmm1, [ebp+0x1c]
	movss [esp], xmm1
	call floorf
	fst dword [ebp+0x1c]
	test bl, bl
	jz _Z19UI_DrawTextWithGlowPK15ScreenPlacementPKciP6Font_sffiifPKfiS7_hh_10
	mov edx, esi
	movzx eax, dl
	mov [esp+0x2c], eax
	mov eax, [ebp+0x34]
	mov [esp+0x28], eax
	mov edx, [ebp+0x30]
	mov [esp+0x24], edx
	mov eax, [ebp+0x2c]
	mov [esp+0x20], eax
	mov dword [esp+0x1c], 0x0
	mov eax, [ebp-0x20]
	mov [esp+0x18], eax
	mov eax, [ebp-0x1c]
	mov [esp+0x14], eax
	fstp dword [esp+0x10]
	movss xmm0, dword [ebp-0x2c]
	movss [esp+0xc], xmm0
	mov [esp+0x8], edi
	mov eax, [ebp+0x10]
	mov [esp+0x4], eax
	mov edx, [ebp+0xc]
	mov [esp], edx
	call _Z24R_AddCmdDrawTextSubtitlePKciP6Font_sfffffPKfiS4_h
	add esp, 0x7c
	pop ebx
	pop esi
	pop edi
	pop ebp
	ret
_Z19UI_DrawTextWithGlowPK15ScreenPlacementPKciP6Font_sffiifPKfiS7_hh_10:
	mov dword [esp+0x3c], 0x0
	mov dword [esp+0x38], 0x0
	mov dword [esp+0x34], 0x0
	mov dword [esp+0x30], 0x0
	mov dword [esp+0x2c], 0x0
	mov dword [esp+0x28], 0x0
	mov eax, [ebp+0x34]
	mov [esp+0x24], eax
	mov edx, [ebp+0x30]
	mov [esp+0x20], edx
	mov eax, [ebp+0x2c]
	mov [esp+0x1c], eax
	mov eax, [ebp-0x20]
	mov [esp+0x18], eax
	mov eax, [ebp-0x1c]
	mov [esp+0x14], eax
	fstp dword [esp+0x10]
	movss xmm0, dword [ebp-0x2c]
	movss [esp+0xc], xmm0
	mov [esp+0x8], edi
	mov eax, [ebp+0x10]
	mov [esp+0x4], eax
	mov edx, [ebp+0xc]
	mov [esp], edx
	call _Z30CL_DrawTextPhysicalWithEffectsPKciP6Font_sffffPKfiS4_P8MaterialS6_iiii
	add esp, 0x7c
	pop ebx
	pop esi
	pop edi
	pop ebp
	ret
	nop


;UI_OwnerDrawVisible(int)
_Z19UI_OwnerDrawVisiblei:
	push ebp
	mov ebp, esp
	mov ecx, [ebp+0x8]
	test cl, 0x4
	jz _Z19UI_OwnerDrawVisiblei_10
	mov eax, [ui_netSource]
	cmp dword [eax+0xc], 0x2
	jz _Z19UI_OwnerDrawVisiblei_10
	xor edx, edx
	and ch, 0x10
	jnz _Z19UI_OwnerDrawVisiblei_20
_Z19UI_OwnerDrawVisiblei_30:
	mov eax, edx
	pop ebp
	ret
_Z19UI_OwnerDrawVisiblei_10:
	mov edx, 0x1
	and ch, 0x10
	jz _Z19UI_OwnerDrawVisiblei_30
_Z19UI_OwnerDrawVisiblei_20:
	mov eax, [ui_netSource]
	cmp dword [eax+0xc], 0x2
	mov eax, 0x0
	cmovz edx, eax
	mov eax, edx
	pop ebp
	ret


;UI_DrawConnectScreen(int)
_Z20UI_DrawConnectScreeni:
	push ebp
	mov ebp, esp
	push edi
	push esi
	push ebx
	sub esp, 0xe0c
	mov ebx, [ebp+0x8]
	mov eax, cls
	mov eax, [eax+0x2dc6b4]
	test eax, eax
	jnz _Z20UI_DrawConnectScreeni_10
	mov eax, legacyHacks
	cmp byte [eax+0xc], 0x0
	jz _Z20UI_DrawConnectScreeni_20
_Z20UI_DrawConnectScreeni_10:
	mov eax, [sharedUiInfo+0x40]
	mov [ebp-0xdd0], eax
	lea eax, [ebp-0xda4]
	mov [esp+0x4], eax
	mov [esp], ebx
	call _Z17CL_GetClientStateiP15uiClientState_s
	mov eax, cls
	mov eax, [eax+0x2dc6b4]
	test eax, eax
	jz _Z20UI_DrawConnectScreeni_30
	mov edx, legacyHacks
	cmp byte [edx+0xc], 0x0
	jnz _Z20UI_DrawConnectScreeni_40
_Z20UI_DrawConnectScreeni_30:
	cmp byte [g_mapname], 0x0
	jnz _Z20UI_DrawConnectScreeni_50
	mov esi, 0x1
	cmp dword [ebp-0xda4], 0x4
	jle _Z20UI_DrawConnectScreeni_60
_Z20UI_DrawConnectScreeni_100:
	mov dword [esp+0x4], _cstring_localhost
	lea eax, [ebp-0xd9c]
	mov [esp], eax
	call _Z9I_stricmpPKcS0_
	test eax, eax
	mov eax, 0x0
	cmovz esi, eax
	call _Z20DB_GetLoadedFractionv
	fstp dword [ebp-0xdd4]
	mov edx, esi
	movss xmm0, dword [ebp-0xdd4]
	ucomiss xmm0, [_float_1_00000000]
	mov eax, 0x1
	cmovz esi, eax
	cmovp esi, edx
	mov eax, [ebp-0xda4]
	lea edx, [eax-0x3]
	cmp edx, 0x5
	ja _Z20UI_DrawConnectScreeni_70
	jmp dword [edx*4+_Z20UI_DrawConnectScreeni_jumptab_0]
_Z20UI_DrawConnectScreeni_50:
	mov eax, [sharedUiInfo+0x114c]
	test eax, eax
	jg _Z20UI_DrawConnectScreeni_80
_Z20UI_DrawConnectScreeni_250:
	mov edi, g_gametype
_Z20UI_DrawConnectScreeni_350:
	mov esi, [ui_connectScreenTextGlowColor]
	add esi, 0xc
	mov ebx, 0x3f000000
	mov [esp+0x4], ebx
	mov edx, [ebp-0xdd0]
	mov [esp], edx
	call _Z21R_NormalizedTextScaleP6Font_sf
	fstp dword [ebp-0xdc4]
	mov eax, [ebp-0xdd0]
	mov [esp+0x8], eax
	mov dword [esp+0x4], 0x0
	mov [esp], edi
	call _Z11R_TextWidthPKciP6Font_s
	mov dword [esp+0x34], 0x0
	mov dword [esp+0x30], 0x0
	mov [esp+0x2c], esi
	mov dword [esp+0x28], 0x6
	mov edx, colorWhite
	mov [esp+0x24], edx
	mov [esp+0x20], ebx
	mov dword [esp+0x1c], 0x0
	mov dword [esp+0x18], 0x0
	mov dword [esp+0x14], 0x42b20000
	cvtsi2ss xmm0, eax
	mulss xmm0, [ebp-0xdc4]
	cvttss2si edx, xmm0
	mov eax, edx
	shr eax, 0x1f
	add eax, edx
	sar eax, 1
	cvtsi2ss xmm1, eax
	movss xmm0, dword [_float_320_00000000]
	subss xmm0, xmm1
	movss [esp+0x10], xmm0
	mov edx, [ebp-0xdd0]
	mov [esp+0xc], edx
	mov dword [esp+0x8], 0x7fffffff
	mov [esp+0x4], edi
	mov eax, scrPlaceFull
	mov [esp], eax
	call _Z19UI_DrawTextWithGlowPK15ScreenPlacementPKciP6Font_sffiifPKfiS7_hh
	mov edi, [ui_connectScreenTextGlowColor]
	add edi, 0xc
	mov eax, [sharedUiInfo+0x1c58]
	test eax, eax
	jg _Z20UI_DrawConnectScreeni_90
_Z20UI_DrawConnectScreeni_220:
	mov esi, g_mapname
_Z20UI_DrawConnectScreeni_340:
	mov ebx, 0x3f000000
	mov [esp+0x4], ebx
	mov eax, [ebp-0xdd0]
	mov [esp], eax
	call _Z21R_NormalizedTextScaleP6Font_sf
	fstp dword [ebp-0xdc0]
	mov edx, [ebp-0xdd0]
	mov [esp+0x8], edx
	mov dword [esp+0x4], 0x0
	mov [esp], esi
	call _Z11R_TextWidthPKciP6Font_s
	mov dword [esp+0x34], 0x0
	mov dword [esp+0x30], 0x0
	mov [esp+0x2c], edi
	mov dword [esp+0x28], 0x6
	mov edx, colorWhite
	mov [esp+0x24], edx
	mov [esp+0x20], ebx
	mov dword [esp+0x1c], 0x0
	mov dword [esp+0x18], 0x0
	mov dword [esp+0x14], 0x42ee0000
	cvtsi2ss xmm0, eax
	mulss xmm0, [ebp-0xdc0]
	cvttss2si edx, xmm0
	mov eax, edx
	shr eax, 0x1f
	add eax, edx
	sar eax, 1
	cvtsi2ss xmm1, eax
	movss xmm0, dword [_float_320_00000000]
	subss xmm0, xmm1
	movss [esp+0x10], xmm0
	mov edi, [ebp-0xdd0]
	mov [esp+0xc], edi
	mov dword [esp+0x8], 0x7fffffff
	mov [esp+0x4], esi
	mov eax, scrPlaceFull
	mov [esp], eax
	call _Z19UI_DrawTextWithGlowPK15ScreenPlacementPKciP6Font_sffiifPKfiS7_hh
	xor esi, esi
	cmp dword [ebp-0xda4], 0x4
	jg _Z20UI_DrawConnectScreeni_100
_Z20UI_DrawConnectScreeni_60:
	lea eax, [ebp-0x99c]
	mov [esp], eax
	call _Z22UI_SafeTranslateStringPKc
	mov [ebp-0xdac], eax
	cld
	mov ecx, 0xffffffff
	xor eax, eax
	mov edi, [ebp-0xdac]
	repne scasb
	not ecx
	sub ecx, 0x1
	mov [ebp-0xdcc], ecx
	test ecx, ecx
	jle _Z20UI_DrawConnectScreeni_100
	xor edx, edx
	movss xmm0, dword [_float_299_00000000]
	movss [ebp-0xdc8], xmm0
	xor edi, edi
	xor ebx, ebx
_Z20UI_DrawConnectScreeni_140:
	mov ecx, [ebp-0xdac]
	add ecx, ebx
	movzx eax, byte [ecx]
	mov [ebp+edx-0x9c], al
	cmp edx, 0x28
	jle _Z20UI_DrawConnectScreeni_110
	test ebx, ebx
	mov eax, 0x1
	cmovg edi, eax
_Z20UI_DrawConnectScreeni_110:
	cmp edx, 0x39
	jg _Z20UI_DrawConnectScreeni_120
	mov eax, [ebp-0xdcc]
	sub eax, 0x1
	cmp ebx, eax
	jz _Z20UI_DrawConnectScreeni_120
	test edi, edi
	jz _Z20UI_DrawConnectScreeni_130
	cmp byte [ecx], 0x20
	jz _Z20UI_DrawConnectScreeni_120
_Z20UI_DrawConnectScreeni_130:
	add edx, 0x1
_Z20UI_DrawConnectScreeni_260:
	add ebx, 0x1
	cmp [ebp-0xdcc], ebx
	jnz _Z20UI_DrawConnectScreeni_140
	jmp _Z20UI_DrawConnectScreeni_100
_Z20UI_DrawConnectScreeni_400:
	mov edx, legacyHacks
	cmp byte [edx+0xc], 0x0
	jz _Z20UI_DrawConnectScreeni_150
_Z20UI_DrawConnectScreeni_40:
	movss xmm1, dword [_float_0_50000000]
	mov eax, scrPlaceFull
	mulss xmm1, [eax+0x4]
	mov eax, [ui_smallFont]
	movss xmm0, dword [eax+0xc]
	ucomiss xmm0, xmm1
	jae _Z20UI_DrawConnectScreeni_160
	mov eax, [ui_extraBigFont]
	ucomiss xmm1, [eax+0xc]
	jb _Z20UI_DrawConnectScreeni_170
	mov eax, [sharedUiInfo+0x3c]
	jmp _Z20UI_DrawConnectScreeni_180
_Z20UI_DrawConnectScreeni_380:
	mov edx, esi
	test dl, dl
	jnz _Z20UI_DrawConnectScreeni_190
_Z20UI_DrawConnectScreeni_270:
	sub eax, 0x7
	cmp eax, 0x1
	ja _Z20UI_DrawConnectScreeni_70
	mov eax, fs_gameDirVar
	mov eax, [eax]
	mov eax, [eax+0xc]
	cmp byte [eax], 0x0
	jz _Z20UI_DrawConnectScreeni_70
	add eax, 0x5
	mov [esp+0xc], eax
	mov dword [esp+0x8], _cstring_mod_s
	mov dword [esp+0x4], 0x100
	lea ebx, [ebp-0x19c]
	mov [esp], ebx
	call _Z11Com_sprintfPciPKcz
	mov esi, 0x3f000000
	mov [esp+0x4], esi
	mov eax, [ebp-0xdd0]
	mov [esp], eax
	call _Z21R_NormalizedTextScaleP6Font_sf
	fstp dword [ebp-0xdb0]
	mov edx, [ebp-0xdd0]
	mov [esp+0x8], edx
	mov dword [esp+0x4], 0x0
	mov [esp], ebx
	call _Z11R_TextWidthPKciP6Font_s
	mov dword [esp+0x34], 0x0
	mov dword [esp+0x30], 0x0
	mov dword [esp+0x2c], 0x0
	mov dword [esp+0x28], 0x6
	mov edx, colorWhite
	mov [esp+0x24], edx
	mov [esp+0x20], esi
	mov dword [esp+0x1c], 0x0
	mov dword [esp+0x18], 0x0
	mov dword [esp+0x14], 0x432f0000
	cvtsi2ss xmm0, eax
	mulss xmm0, [ebp-0xdb0]
	cvttss2si edx, xmm0
	mov eax, edx
	shr eax, 0x1f
	add eax, edx
	sar eax, 1
	cvtsi2ss xmm1, eax
	movss xmm0, dword [_float_320_00000000]
	subss xmm0, xmm1
	movss [esp+0x10], xmm0
	mov edi, [ebp-0xdd0]
	mov [esp+0xc], edi
	mov dword [esp+0x8], 0x7fffffff
	mov [esp+0x4], ebx
	mov eax, scrPlaceFull
	mov [esp], eax
	call _Z19UI_DrawTextWithGlowPK15ScreenPlacementPKciP6Font_sffiifPKfiS7_hh
_Z20UI_DrawConnectScreeni_70:
	add esp, 0xe0c
	pop ebx
	pop esi
	pop edi
	pop ebp
	ret
_Z20UI_DrawConnectScreeni_20:
	mov [esp], ebx
	call _Z18CG_DrawInformationi
	jmp _Z20UI_DrawConnectScreeni_10
_Z20UI_DrawConnectScreeni_160:
	mov eax, [sharedUiInfo+0x2c]
_Z20UI_DrawConnectScreeni_180:
	mov dword [esp+0x10], 0x3f000000
	mov [esp+0xc], eax
	mov dword [esp+0x8], 0x42b20000
	mov dword [esp+0x4], 0x43a00000
	lea eax, [edx+0xc]
	mov [esp], eax
	call _Z22UI_DisplayDownloadInfoPKcffP6Font_sf
	add esp, 0xe0c
	pop ebx
	pop esi
	pop edi
	pop ebp
	ret
_Z20UI_DrawConnectScreeni_90:
	xor esi, esi
	mov ebx, sharedUiInfo
_Z20UI_DrawConnectScreeni_210:
	mov eax, [ebx+0x1c60]
	mov [esp+0x4], eax
	mov dword [esp], g_mapname
	call _Z9I_stricmpPKcS0_
	test eax, eax
	jz _Z20UI_DrawConnectScreeni_200
	add esi, 0x1
	add ebx, 0xa0
	cmp esi, [sharedUiInfo+0x1c58]
	jl _Z20UI_DrawConnectScreeni_210
	jmp _Z20UI_DrawConnectScreeni_220
_Z20UI_DrawConnectScreeni_80:
	xor esi, esi
	mov ebx, sharedUiInfo
_Z20UI_DrawConnectScreeni_240:
	mov eax, [ebx+0x1150]
	mov [esp+0x4], eax
	mov dword [esp], g_gametype
	call _Z9I_stricmpPKcS0_
	test eax, eax
	jz _Z20UI_DrawConnectScreeni_230
	add esi, 0x1
	add ebx, 0x8
	cmp esi, [sharedUiInfo+0x114c]
	jl _Z20UI_DrawConnectScreeni_240
	jmp _Z20UI_DrawConnectScreeni_250
_Z20UI_DrawConnectScreeni_120:
	mov byte [ebp+edx-0x9b], 0x0
	mov dword [esp+0x4], 0x3f000000
	mov eax, [ebp-0xdd0]
	mov [esp], eax
	call _Z21R_NormalizedTextScaleP6Font_sf
	fstp dword [ebp-0xdbc]
	mov edx, [ebp-0xdd0]
	mov [esp+0x8], edx
	mov dword [esp+0x4], 0x0
	lea edi, [ebp-0x9c]
	mov [esp], edi
	call _Z11R_TextWidthPKciP6Font_s
	mov dword [esp+0x34], 0x0
	mov dword [esp+0x30], 0x0
	mov dword [esp+0x2c], 0x0
	mov dword [esp+0x28], 0x6
	mov edx, colorYellow
	mov [esp+0x24], edx
	mov dword [esp+0x20], 0x3f000000
	mov dword [esp+0x1c], 0x0
	mov dword [esp+0x18], 0x0
	movss xmm0, dword [ebp-0xdc8]
	movss [esp+0x14], xmm0
	cvtsi2ss xmm0, eax
	mulss xmm0, [ebp-0xdbc]
	cvttss2si edx, xmm0
	mov eax, edx
	shr eax, 0x1f
	add eax, edx
	sar eax, 1
	cvtsi2ss xmm1, eax
	movss xmm0, dword [_float_320_00000000]
	subss xmm0, xmm1
	movss [esp+0x10], xmm0
	mov eax, [ebp-0xdd0]
	mov [esp+0xc], eax
	mov dword [esp+0x8], 0x7fffffff
	mov [esp+0x4], edi
	mov eax, scrPlaceFull
	mov [esp], eax
	call _Z19UI_DrawTextWithGlowPK15ScreenPlacementPKciP6Font_sffiifPKfiS7_hh
	movss xmm0, dword [ebp-0xdc8]
	addss xmm0, [_float_22_00000000]
	movss [ebp-0xdc8], xmm0
	xor edi, edi
	xor edx, edx
	jmp _Z20UI_DrawConnectScreeni_260
_Z20UI_DrawConnectScreeni_390:
	mov edx, esi
	test dl, dl
	jz _Z20UI_DrawConnectScreeni_270
	mov dword [esp], _cstring_exe_awaitingchal
_Z20UI_DrawConnectScreeni_360:
	call _Z22UI_SafeTranslateStringPKc
	mov esi, eax
	cld
	mov ecx, 0xa
	xor eax, eax
	lea edi, [ebp-0x60]
	rep stosd
	mov eax, [ebp-0xda0]
	mov [esp+0x8], eax
	mov dword [esp+0x4], _cstring_d
	lea ebx, [ebp-0x38]
	mov [esp], ebx
	call sprintf
	mov dword [ebp-0x60], 0x1
	mov [ebp-0x5c], ebx
	mov dword [esp+0xc], 0x400
	lea ebx, [ebp-0x59c]
	mov [esp+0x8], ebx
	lea eax, [ebp-0x60]
	mov [esp+0x4], eax
	mov [esp], esi
	call _Z21UI_ReplaceConversionsPKcP19ConversionArgumentsPci
	mov [esp], ebx
	call _Z2vaPKcz
	mov edi, eax
	jmp _Z20UI_DrawConnectScreeni_280
_Z20UI_DrawConnectScreeni_420:
	mov edx, esi
	test dl, dl
	jz _Z20UI_DrawConnectScreeni_270
	mov dword [esp], _cstring_exe_awaitinghost
	call _Z22UI_SafeTranslateStringPKc
	mov edi, eax
	jmp _Z20UI_DrawConnectScreeni_280
_Z20UI_DrawConnectScreeni_410:
	mov edx, esi
	test dl, dl
	jz _Z20UI_DrawConnectScreeni_270
	mov dword [esp], _cstring_exe_uploadingsta
	call _Z22UI_SafeTranslateStringPKc
	mov edi, eax
	jmp _Z20UI_DrawConnectScreeni_280
_Z20UI_DrawConnectScreeni_170:
	mov eax, [ui_bigFont]
	ucomiss xmm1, [eax+0xc]
	jae _Z20UI_DrawConnectScreeni_290
	mov eax, [sharedUiInfo+0x38]
	jmp _Z20UI_DrawConnectScreeni_180
_Z20UI_DrawConnectScreeni_150:
	mov edx, esi
	test dl, dl
	jz _Z20UI_DrawConnectScreeni_270
	mov dword [esp], _cstring_exe_awaitinggame
	call _Z22UI_SafeTranslateStringPKc
	mov edi, eax
_Z20UI_DrawConnectScreeni_280:
	test edi, edi
	jz _Z20UI_DrawConnectScreeni_300
	call _Z16Sys_Millisecondsv
	mov ecx, eax
	mov edx, 0x10624dd3
	imul edx
	sar edx, 0x5
	mov eax, ecx
	sar eax, 0x1f
	sub edx, eax
	and edx, 0x3
	cmp edx, 0x2
	jz _Z20UI_DrawConnectScreeni_310
	cmp edx, 0x3
	jz _Z20UI_DrawConnectScreeni_320
	sub edx, 0x1
	jz _Z20UI_DrawConnectScreeni_330
	mov dword [ebp-0xdb8], _cstring____
_Z20UI_DrawConnectScreeni_370:
	mov ebx, 0x3f000000
	mov [esp+0x4], ebx
	mov edx, [ebp-0xdd0]
	mov [esp], edx
	call _Z21R_NormalizedTextScaleP6Font_sf
	fstp dword [ebp-0xdb4]
	mov eax, [ebp-0xdd0]
	mov [esp+0x8], eax
	mov dword [esp+0x4], 0x0
	mov [esp], edi
	call _Z11R_TextWidthPKciP6Font_s
	mov esi, eax
	mov edx, [ebp-0xdb8]
	mov [esp+0x8], edx
	mov [esp+0x4], edi
	mov dword [esp], _cstring_ss1
	call _Z2vaPKcz
	mov dword [esp+0x34], 0x0
	mov dword [esp+0x30], 0x0
	mov dword [esp+0x2c], 0x0
	mov dword [esp+0x28], 0x6
	mov edx, colorWhite
	mov [esp+0x24], edx
	mov [esp+0x20], ebx
	mov dword [esp+0x1c], 0x0
	mov dword [esp+0x18], 0x0
	mov dword [esp+0x14], 0x43110000
	cvtsi2ss xmm0, esi
	mulss xmm0, [ebp-0xdb4]
	cvttss2si ecx, xmm0
	mov edx, ecx
	shr edx, 0x1f
	add edx, ecx
	sar edx, 1
	cvtsi2ss xmm1, edx
	movss xmm0, dword [_float_320_00000000]
	subss xmm0, xmm1
	movss [esp+0x10], xmm0
	mov edi, [ebp-0xdd0]
	mov [esp+0xc], edi
	mov dword [esp+0x8], 0x7fffffff
	mov [esp+0x4], eax
	mov eax, scrPlaceFull
	mov [esp], eax
	call _Z19UI_DrawTextWithGlowPK15ScreenPlacementPKciP6Font_sffiifPKfiS7_hh
	mov eax, [ebp-0xda4]
	jmp _Z20UI_DrawConnectScreeni_270
_Z20UI_DrawConnectScreeni_290:
	mov eax, [sharedUiInfo+0x28]
	jmp _Z20UI_DrawConnectScreeni_180
_Z20UI_DrawConnectScreeni_200:
	lea eax, [esi+esi*4]
	shl eax, 0x5
	mov eax, [eax+sharedUiInfo+0x1c5c]
	mov [esp], eax
	call _Z22UI_SafeTranslateStringPKc
	mov esi, eax
	jmp _Z20UI_DrawConnectScreeni_340
_Z20UI_DrawConnectScreeni_230:
	mov eax, [esi*8+sharedUiInfo+0x1154]
	mov [esp], eax
	call _Z22UI_SafeTranslateStringPKc
	mov edi, eax
	jmp _Z20UI_DrawConnectScreeni_350
_Z20UI_DrawConnectScreeni_300:
	mov eax, [ebp-0xda4]
	jmp _Z20UI_DrawConnectScreeni_270
_Z20UI_DrawConnectScreeni_190:
	mov dword [esp], _cstring_exe_awaitingconn
	jmp _Z20UI_DrawConnectScreeni_360
_Z20UI_DrawConnectScreeni_310:
	mov dword [ebp-0xdb8], _cstring__
	jmp _Z20UI_DrawConnectScreeni_370
_Z20UI_DrawConnectScreeni_320:
	mov dword [ebp-0xdb8], _cstring_4
	jmp _Z20UI_DrawConnectScreeni_370
_Z20UI_DrawConnectScreeni_330:
	mov dword [ebp-0xdb8], _cstring___
	jmp _Z20UI_DrawConnectScreeni_370
	
	
_Z20UI_DrawConnectScreeni_jumptab_0:
	dd _Z20UI_DrawConnectScreeni_380
	dd _Z20UI_DrawConnectScreeni_390
	dd _Z20UI_DrawConnectScreeni_400
	dd _Z20UI_DrawConnectScreeni_410
	dd _Z20UI_DrawConnectScreeni_420
	dd _Z20UI_DrawConnectScreeni_420


;UI_DrawHighlightRect(ScreenPlacement const*, float, float, float, float, int, int, float, float const*, float const*)
_Z20UI_DrawHighlightRectPK15ScreenPlacementffffiifPKfS3_:
	push ebp
	mov ebp, esp
	push edi
	push esi
	push ebx
	sub esp, 0x5c
	mov edi, [ebp+0x1c]
	mov esi, [ebp+0x20]
	mov ebx, [ebp+0x24]
	mov [esp+0x18], esi
	mov [esp+0x14], edi
	lea eax, [ebp+0x18]
	mov [esp+0x10], eax
	lea eax, [ebp+0x14]
	mov [esp+0xc], eax
	lea eax, [ebp+0x10]
	mov [esp+0x8], eax
	lea eax, [ebp+0xc]
	mov [esp+0x4], eax
	mov eax, [ebp+0x8]
	mov [esp], eax
	call _Z18ScrPlace_ApplyRectPK15ScreenPlacementPfS2_S2_S2_ii
	xor eax, eax
	mov [ebp-0x1c], eax
	mov [ebp-0x20], eax
	mov [ebp-0x24], ebx
	mov [ebp-0x28], ebx
	mov [esp+0x18], esi
	mov [esp+0x14], edi
	lea eax, [ebp-0x28]
	mov [esp+0x10], eax
	lea eax, [ebp-0x24]
	mov [esp+0xc], eax
	lea eax, [ebp-0x20]
	mov [esp+0x8], eax
	lea eax, [ebp-0x1c]
	mov [esp+0x4], eax
	mov eax, [ebp+0x8]
	mov [esp], eax
	call _Z18ScrPlace_ApplyRectPK15ScreenPlacementPfS2_S2_S2_ii
	movss xmm1, dword [ebp+0x10]
	movss xmm2, dword [ebp+0xc]
	movss [ebp-0x48], xmm2
	lea ebx, [ebp-0x48]
	movss [ebp-0x44], xmm1
	movaps xmm0, xmm2
	addss xmm0, [ebp+0x14]
	movss [ebp-0x40], xmm0
	movss [ebp-0x3c], xmm1
	addss xmm1, [ebp-0x28]
	movss xmm3, dword [ebp-0x24]
	subss xmm0, xmm3
	movss [ebp-0x38], xmm0
	movss [ebp-0x34], xmm1
	addss xmm2, xmm3
	movss [ebp-0x30], xmm2
	movss [ebp-0x2c], xmm1
	mov eax, [sharedUiInfo+0x20]
	mov [esp+0x8], eax
	mov eax, [ebp+0x28]
	mov [esp+0x4], eax
	mov [esp], ebx
	call _Z19R_AddCmdDrawQuadPicPA2_KfPS_P8Material
	movss xmm1, dword [ebp+0x10]
	movss xmm2, dword [ebp+0xc]
	movss [ebp-0x48], xmm2
	movss [ebp-0x44], xmm1
	movss xmm4, dword [ebp-0x28]
	movaps xmm3, xmm2
	addss xmm3, [ebp-0x24]
	movss [ebp-0x40], xmm3
	movaps xmm0, xmm1
	addss xmm0, xmm4
	movss [ebp-0x3c], xmm0
	addss xmm1, [ebp+0x18]
	movss [ebp-0x38], xmm3
	movaps xmm0, xmm1
	subss xmm0, xmm4
	movss [ebp-0x34], xmm0
	movss [ebp-0x30], xmm2
	movss [ebp-0x2c], xmm1
	mov eax, [sharedUiInfo+0x20]
	mov [esp+0x8], eax
	mov eax, [ebp+0x28]
	mov [esp+0x4], eax
	mov [esp], ebx
	call _Z19R_AddCmdDrawQuadPicPA2_KfPS_P8Material
	movss xmm2, dword [ebp+0x10]
	addss xmm2, [ebp+0x18]
	movss xmm1, dword [ebp+0xc]
	movss [ebp-0x48], xmm1
	movss [ebp-0x44], xmm2
	movaps xmm4, xmm2
	subss xmm4, [ebp-0x28]
	movss xmm3, dword [ebp-0x24]
	movaps xmm0, xmm1
	addss xmm0, xmm3
	movss [ebp-0x40], xmm0
	movss [ebp-0x3c], xmm4
	addss xmm1, [ebp+0x14]
	movaps xmm0, xmm1
	subss xmm0, xmm3
	movss [ebp-0x38], xmm0
	movss [ebp-0x34], xmm4
	movss [ebp-0x30], xmm1
	movss [ebp-0x2c], xmm2
	mov eax, [sharedUiInfo+0x20]
	mov [esp+0x8], eax
	mov eax, [ebp+0x2c]
	mov [esp+0x4], eax
	mov [esp], ebx
	call _Z19R_AddCmdDrawQuadPicPA2_KfPS_P8Material
	movss xmm2, dword [ebp+0x10]
	movss xmm0, dword [ebp+0xc]
	addss xmm0, [ebp+0x14]
	movss [ebp-0x48], xmm0
	movss [ebp-0x44], xmm2
	movaps xmm1, xmm2
	addss xmm1, [ebp+0x18]
	movss [ebp-0x40], xmm0
	movss [ebp-0x3c], xmm1
	movss xmm3, dword [ebp-0x28]
	subss xmm0, [ebp-0x24]
	movss [ebp-0x38], xmm0
	subss xmm1, xmm3
	movss [ebp-0x34], xmm1
	movss [ebp-0x30], xmm0
	addss xmm2, xmm3
	movss [ebp-0x2c], xmm2
	mov eax, [sharedUiInfo+0x20]
	mov [esp+0x8], eax
	mov eax, [ebp+0x2c]
	mov [esp+0x4], eax
	mov [esp], ebx
	call _Z19R_AddCmdDrawQuadPicPA2_KfPS_P8Material
	add esp, 0x5c
	pop ebx
	pop esi
	pop edi
	pop ebp
	ret
	nop
	add [eax], al


;UI_FeederItemEnabled(int, float, int)
_Z20UI_FeederItemEnabledifi:
	push ebp
	mov ebp, esp
	mov eax, 0x1
	pop ebp
	ret


;UI_GetMapDisplayName(char const*)
_Z20UI_GetMapDisplayNamePKc:
	push ebp
	mov ebp, esp
	push edi
	push esi
	push ebx
	sub esp, 0x2c
	mov eax, [ebp+0x8]
	mov [ebp-0x1c], eax
	mov edx, [sharedUiInfo+0x1c58]
	test edx, edx
	jg _Z20UI_GetMapDisplayNamePKc_10
	add esp, 0x2c
	pop ebx
	pop esi
	pop edi
	pop ebp
	ret
_Z20UI_GetMapDisplayNamePKc_10:
	xor esi, esi
	mov ebx, sharedUiInfo
	mov edi, sharedUiInfo+0x1c5c
_Z20UI_GetMapDisplayNamePKc_30:
	mov eax, [ebx+0x1c60]
	mov [esp+0x4], eax
	mov eax, [ebp-0x1c]
	mov [esp], eax
	call _Z9I_stricmpPKcS0_
	test eax, eax
	jz _Z20UI_GetMapDisplayNamePKc_20
	add esi, 0x1
	add edi, 0xa0
	add ebx, 0xa0
	cmp esi, [sharedUiInfo+0x1c58]
	jl _Z20UI_GetMapDisplayNamePKc_30
	mov eax, [ebp-0x1c]
	add esp, 0x2c
	pop ebx
	pop esi
	pop edi
	pop ebp
	ret
_Z20UI_GetMapDisplayNamePKc_20:
	mov eax, [edi]
	mov [ebp+0x8], eax
	add esp, 0x2c
	pop ebx
	pop esi
	pop edi
	pop ebp
	jmp _Z22UI_SafeTranslateStringPKc
	nop


;UI_OverrideCursorPos(int, itemDef_s*)
_Z20UI_OverrideCursorPosiP9itemDef_s:
	push ebp
	mov ebp, esp
	push edi
	push esi
	push ebx
	sub esp, 0x1c
	mov edi, [ebp+0xc]
	movss xmm0, dword [edi+0x124]
	ucomiss xmm0, [_float_4_00000000]
	jnz _Z20UI_OverrideCursorPosiP9itemDef_s_10
	jp _Z20UI_OverrideCursorPosiP9itemDef_s_10
	mov eax, [ui_currentNetMap]
	mov esi, [eax+0xc]
	mov ebx, [sharedUiInfo+0x1c58]
	test ebx, ebx
	jle _Z20UI_OverrideCursorPosiP9itemDef_s_20
	xor edx, edx
	xor ecx, ecx
	mov eax, sharedUiInfo
_Z20UI_OverrideCursorPosiP9itemDef_s_50:
	cmp dword [eax+0x1cf8], 0x0
	jz _Z20UI_OverrideCursorPosiP9itemDef_s_30
	cmp edx, esi
	jz _Z20UI_OverrideCursorPosiP9itemDef_s_40
	add ecx, 0x1
_Z20UI_OverrideCursorPosiP9itemDef_s_30:
	add edx, 0x1
	add eax, 0xa0
	cmp ebx, edx
	jnz _Z20UI_OverrideCursorPosiP9itemDef_s_50
_Z20UI_OverrideCursorPosiP9itemDef_s_20:
	xor ecx, ecx
_Z20UI_OverrideCursorPosiP9itemDef_s_40:
	mov eax, [ebp+0x8]
	mov [edi+eax*4+0x128], ecx
_Z20UI_OverrideCursorPosiP9itemDef_s_70:
	add esp, 0x1c
	pop ebx
	pop esi
	pop edi
	pop ebp
	ret
_Z20UI_OverrideCursorPosiP9itemDef_s_10:
	ucomiss xmm0, [_float_39_00000000]
	jp _Z20UI_OverrideCursorPosiP9itemDef_s_60
	jz _Z20UI_OverrideCursorPosiP9itemDef_s_70
_Z20UI_OverrideCursorPosiP9itemDef_s_60:
	ucomiss xmm0, [_float_2_00000000]
	jnz _Z20UI_OverrideCursorPosiP9itemDef_s_70
	jp _Z20UI_OverrideCursorPosiP9itemDef_s_70
	mov esi, [edi+0x12c]
	mov ecx, [ebp+0x8]
	mov edx, [esi+ecx*4+0x8]
	test edx, edx
	jz _Z20UI_OverrideCursorPosiP9itemDef_s_80
	mov ecx, [sharedUiInfo+0x72f4]
	test ecx, ecx
	js _Z20UI_OverrideCursorPosiP9itemDef_s_70
	mov ebx, [ebp+0x8]
	mov eax, [edi+ebx*4+0x128]
	cmp eax, [esi+ebx*4+0x4]
	jl _Z20UI_OverrideCursorPosiP9itemDef_s_70
	cmp edx, eax
	jl _Z20UI_OverrideCursorPosiP9itemDef_s_70
	mov ebx, ecx
	sub ebx, eax
	mov [esp+0x4], edi
	mov eax, [ebp+0x8]
	mov [esp], eax
	call _Z22Item_ListBox_MaxScrolliP9itemDef_s
	mov edx, ebx
	mov ecx, [ebp+0x8]
	add edx, [esi+ecx*4+0x4]
	cmp eax, edx
	cmovg eax, edx
	test eax, eax
	mov edx, 0x0
	cmovle eax, edx
	mov [esi+ecx*4+0x4], eax
	add [esi+ecx*4+0x8], ebx
	mov eax, [sharedUiInfo+0x72f4]
	mov [edi+ecx*4+0x128], eax
	jmp _Z20UI_OverrideCursorPosiP9itemDef_s_70
_Z20UI_OverrideCursorPosiP9itemDef_s_80:
	mov dword [edi+ecx*4+0x128], 0xffffffff
	add esp, 0x1c
	pop ebx
	pop esi
	pop edi
	pop ebp
	ret
	add [eax], al


;UI_DrawTextWithCursor(ScreenPlacement const*, char const*, int, Font_s*, float, float, int, int, float, float const*, int, int, char)
_Z21UI_DrawTextWithCursorPK15ScreenPlacementPKciP6Font_sffiifPKfiic:
	push ebp
	mov ebp, esp
	push esi
	push ebx
	sub esp, 0x50
	mov esi, [ebp+0x14]
	movsx ebx, byte [ebp+0x38]
	mov eax, [ebp+0x28]
	mov [esp+0x4], eax
	mov [esp], esi
	call _Z21R_NormalizedTextScaleP6Font_sf
	fst dword [ebp-0xc]
	fstp dword [ebp-0x10]
	mov eax, [ebp+0x24]
	mov [esp+0x18], eax
	mov eax, [ebp+0x20]
	mov [esp+0x14], eax
	lea eax, [ebp-0x10]
	mov [esp+0x10], eax
	lea eax, [ebp-0xc]
	mov [esp+0xc], eax
	lea eax, [ebp+0x1c]
	mov [esp+0x8], eax
	lea eax, [ebp+0x18]
	mov [esp+0x4], eax
	mov eax, [ebp+0x8]
	mov [esp], eax
	call _Z18ScrPlace_ApplyRectPK15ScreenPlacementPfS2_S2_S2_ii
	movss xmm1, dword [_float_0_50000000]
	movss xmm0, dword [ebp+0x18]
	addss xmm0, xmm1
	movss [esp], xmm0
	movss [ebp-0x28], xmm1
	call floorf
	fstp dword [esp+0xc]
	movss xmm0, dword [esp+0xc]
	movss [ebp+0x18], xmm0
	movss xmm1, dword [ebp-0x28]
	addss xmm1, [ebp+0x1c]
	movss [esp], xmm1
	call floorf
	fst dword [ebp+0x1c]
	mov [esp+0x28], ebx
	mov eax, [ebp+0x34]
	mov [esp+0x24], eax
	mov eax, [ebp+0x30]
	mov [esp+0x20], eax
	mov eax, [ebp+0x2c]
	mov [esp+0x1c], eax
	mov eax, [ebp-0x10]
	mov [esp+0x18], eax
	mov eax, [ebp-0xc]
	mov [esp+0x14], eax
	fstp dword [esp+0x10]
	mov [esp+0x8], esi
	mov eax, [ebp+0x10]
	mov [esp+0x4], eax
	mov eax, [ebp+0xc]
	mov [esp], eax
	call _Z29CL_DrawTextPhysicalWithCursorPKciP6Font_sffffPKfiic
	add esp, 0x50
	pop ebx
	pop esi
	pop ebp
	ret
	nop


;UI_GetTalkerClientNum(int, int)
_Z21UI_GetTalkerClientNumii:
	push ebp
	mov ebp, esp
	push edi
	push esi
	push ebx
	sub esp, 0x1c
	mov edi, [ebp+0x8]
	xor esi, esi
	xor ebx, ebx
	jmp _Z21UI_GetTalkerClientNumii_10
_Z21UI_GetTalkerClientNumii_40:
	add esi, 0x1
_Z21UI_GetTalkerClientNumii_30:
	add ebx, 0x1
	cmp ebx, 0x40
	jz _Z21UI_GetTalkerClientNumii_20
_Z21UI_GetTalkerClientNumii_10:
	mov [esp], ebx
	call _Z16CL_IsClientLocali
	test al, al
	jnz _Z21UI_GetTalkerClientNumii_30
	mov [esp+0x4], ebx
	mov [esp], edi
	call _Z18CL_IsPlayerTalkingii
	test al, al
	jz _Z21UI_GetTalkerClientNumii_30
	cmp [ebp+0xc], esi
	jnz _Z21UI_GetTalkerClientNumii_40
	mov eax, ebx
	add esp, 0x1c
	pop ebx
	pop esi
	pop edi
	pop ebp
	ret
_Z21UI_GetTalkerClientNumii_20:
	mov ebx, 0xffffffff
	mov eax, ebx
	add esp, 0x1c
	pop ebx
	pop esi
	pop edi
	pop ebp
	ret
	nop


;UI_OwnerDrawHandleKey(int, int, float*, int)
_Z21UI_OwnerDrawHandleKeyiiPfi:
	push ebp
	mov ebp, esp
	push edi
	push esi
	push ebx
	sub esp, 0x3c
	mov eax, [ebp+0x8]
	sub eax, 0xcd
	cmp eax, 0x30
	ja _Z21UI_OwnerDrawHandleKeyiiPfi_10
	jmp dword [eax*4+_Z21UI_OwnerDrawHandleKeyiiPfi_jumptab_0]
_Z21UI_OwnerDrawHandleKeyiiPfi_470:
	mov eax, [ebp+0x14]
	sub eax, 0xc8
	cmp eax, 0x1
	jbe _Z21UI_OwnerDrawHandleKeyiiPfi_20
	cmp dword [ebp+0x14], 0xd
	jz _Z21UI_OwnerDrawHandleKeyiiPfi_20
	cmp dword [ebp+0x14], 0xbf
	jz _Z21UI_OwnerDrawHandleKeyiiPfi_20
_Z21UI_OwnerDrawHandleKeyiiPfi_10:
	xor eax, eax
_Z21UI_OwnerDrawHandleKeyiiPfi_50:
	add esp, 0x3c
	pop ebx
	pop esi
	pop edi
	pop ebp
	ret
_Z21UI_OwnerDrawHandleKeyiiPfi_510:
	mov eax, [ebp+0x14]
	sub eax, 0xc8
	cmp eax, 0x1
	jbe _Z21UI_OwnerDrawHandleKeyiiPfi_30
	cmp dword [ebp+0x14], 0xd
	jz _Z21UI_OwnerDrawHandleKeyiiPfi_30
	cmp dword [ebp+0x14], 0xbf
	jnz _Z21UI_OwnerDrawHandleKeyiiPfi_10
_Z21UI_OwnerDrawHandleKeyiiPfi_30:
	cmp dword [ebp+0x14], 0xc9
	jz _Z21UI_OwnerDrawHandleKeyiiPfi_40
	mov ecx, [ui_joinGameType]
	mov edx, [ecx+0xc]
	add edx, 0x1
	cmp edx, [sharedUiInfo+0x1b54]
	mov eax, 0x0
	cmovz edx, eax
_Z21UI_OwnerDrawHandleKeyiiPfi_370:
	mov [esp+0x4], edx
	mov [esp], ecx
	call _Z11Dvar_SetIntPK6dvar_si
	mov dword [esp+0x4], 0x1
	mov dword [esp], uiInfoArray
	call _Z25UI_BuildServerDisplayListP8uiInfo_si
	mov eax, 0x1
	jmp _Z21UI_OwnerDrawHandleKeyiiPfi_50
_Z21UI_OwnerDrawHandleKeyiiPfi_490:
	mov eax, [ebp+0x14]
	sub eax, 0xc8
	cmp eax, 0x1
	jbe _Z21UI_OwnerDrawHandleKeyiiPfi_60
	cmp dword [ebp+0x14], 0xd
	jz _Z21UI_OwnerDrawHandleKeyiiPfi_60
	cmp dword [ebp+0x14], 0xbf
	jnz _Z21UI_OwnerDrawHandleKeyiiPfi_10
_Z21UI_OwnerDrawHandleKeyiiPfi_60:
	cmp dword [ebp+0x14], 0xc9
	jz _Z21UI_OwnerDrawHandleKeyiiPfi_70
	mov eax, [ui_serverFilterType]
	add eax, 0x1
	mov [ui_serverFilterType], eax
_Z21UI_OwnerDrawHandleKeyiiPfi_380:
	cmp eax, 0x0
	jle _Z21UI_OwnerDrawHandleKeyiiPfi_80
_Z21UI_OwnerDrawHandleKeyiiPfi_450:
	mov dword [ui_serverFilterType], 0x0
	jmp _Z21UI_OwnerDrawHandleKeyiiPfi_90
_Z21UI_OwnerDrawHandleKeyiiPfi_500:
	mov eax, [ebp+0x14]
	sub eax, 0xc8
	cmp eax, 0x1
	jbe _Z21UI_OwnerDrawHandleKeyiiPfi_100
	cmp dword [ebp+0x14], 0xd
	jz _Z21UI_OwnerDrawHandleKeyiiPfi_100
	cmp dword [ebp+0x14], 0xbf
	jnz _Z21UI_OwnerDrawHandleKeyiiPfi_10
_Z21UI_OwnerDrawHandleKeyiiPfi_100:
	cmp dword [ebp+0x14], 0xc9
	jz _Z21UI_OwnerDrawHandleKeyiiPfi_110
	mov ecx, [ui_netGameType]
	mov edx, [ecx+0xc]
	add edx, 0x1
	cmp edx, [sharedUiInfo+0x114c]
	mov eax, 0x0
	cmovz edx, eax
_Z21UI_OwnerDrawHandleKeyiiPfi_340:
	mov [esp+0x4], edx
	mov [esp], ecx
	call _Z11Dvar_SetIntPK6dvar_si
	mov eax, [ui_netGameType]
	mov eax, [eax+0xc]
	mov eax, [eax*8+sharedUiInfo+0x1150]
	mov [esp+0x4], eax
	mov eax, [ui_netGameTypeName]
	mov [esp], eax
	call _Z14Dvar_SetStringPK6dvar_sPKc
	mov eax, [ui_netGameType]
	mov eax, [eax+0xc]
	mov eax, [eax*8+sharedUiInfo+0x1150]
	mov [esp+0x4], eax
	mov dword [esp], _cstring_g_gametype
	call _Z20Dvar_SetStringByNamePKcS0_
	mov eax, [ui_netGameType]
	mov esi, [eax+0xc]
	mov ecx, [sharedUiInfo+0x1c58]
	test ecx, ecx
	jle _Z21UI_OwnerDrawHandleKeyiiPfi_120
	xor ebx, ebx
	mov edx, sharedUiInfo
_Z21UI_OwnerDrawHandleKeyiiPfi_140:
	mov dword [edx+0x1cf8], 0x0
	mov eax, [edx+0x1c70]
	mov ecx, esi
	sar eax, cl
	test al, 0x1
	jz _Z21UI_OwnerDrawHandleKeyiiPfi_130
	mov dword [edx+0x1cf8], 0x1
_Z21UI_OwnerDrawHandleKeyiiPfi_130:
	add ebx, 0x1
	mov ecx, [sharedUiInfo+0x1c58]
	add edx, 0xa0
	cmp ebx, ecx
	jl _Z21UI_OwnerDrawHandleKeyiiPfi_140
_Z21UI_OwnerDrawHandleKeyiiPfi_120:
	mov eax, [ui_currentNetMap]
	mov ebx, [eax+0xc]
	lea eax, [ebx+ebx*4]
	shl eax, 0x5
	mov eax, [eax+sharedUiInfo+0x1cf8]
	test eax, eax
	jz _Z21UI_OwnerDrawHandleKeyiiPfi_150
	test ecx, ecx
	jle _Z21UI_OwnerDrawHandleKeyiiPfi_160
	xor esi, esi
	xor eax, eax
	mov edx, sharedUiInfo
_Z21UI_OwnerDrawHandleKeyiiPfi_190:
	mov edi, [edx+0x1cf8]
	test edi, edi
	jz _Z21UI_OwnerDrawHandleKeyiiPfi_170
	cmp eax, ebx
	jz _Z21UI_OwnerDrawHandleKeyiiPfi_180
	add esi, 0x1
_Z21UI_OwnerDrawHandleKeyiiPfi_170:
	add eax, 0x1
	add edx, 0xa0
	cmp ecx, eax
	jnz _Z21UI_OwnerDrawHandleKeyiiPfi_190
_Z21UI_OwnerDrawHandleKeyiiPfi_160:
	xor esi, esi
_Z21UI_OwnerDrawHandleKeyiiPfi_180:
	mov dword [esp+0x10], _cstring_createserver_map
	mov [esp+0xc], esi
	mov dword [esp+0x8], 0x4
	mov dword [esp+0x4], 0x0
	mov dword [esp], uiInfoArray
	call _Z23Menu_SetFeederSelectionP9UiContextP9menuDef_tiiPKc
_Z21UI_OwnerDrawHandleKeyiiPfi_430:
	xor eax, eax
	call _Z19UI_SelectCurrentMapi
_Z21UI_OwnerDrawHandleKeyiiPfi_310:
	mov eax, 0x1
_Z21UI_OwnerDrawHandleKeyiiPfi_320:
	add esp, 0x3c
	pop ebx
	pop esi
	pop edi
	pop ebp
	ret
_Z21UI_OwnerDrawHandleKeyiiPfi_480:
	mov eax, [ebp+0x14]
	sub eax, 0xc8
	cmp eax, 0x1
	jbe _Z21UI_OwnerDrawHandleKeyiiPfi_200
	cmp dword [ebp+0x14], 0xd
	jz _Z21UI_OwnerDrawHandleKeyiiPfi_200
	cmp dword [ebp+0x14], 0xbf
	jnz _Z21UI_OwnerDrawHandleKeyiiPfi_10
_Z21UI_OwnerDrawHandleKeyiiPfi_200:
	cmp dword [ebp+0x14], 0xc9
	jz _Z21UI_OwnerDrawHandleKeyiiPfi_210
	mov ecx, [ui_netSource]
	mov edx, [ecx+0xc]
	add edx, 0x1
	cmp edx, 0x3
	mov eax, 0x0
	cmovz edx, eax
_Z21UI_OwnerDrawHandleKeyiiPfi_360:
	mov [esp+0x4], edx
	mov [esp], ecx
	call _Z11Dvar_SetIntPK6dvar_si
	mov eax, [ui_netSource]
	cmp dword [eax+0xc], 0x1
	jz _Z21UI_OwnerDrawHandleKeyiiPfi_90
	mov edx, 0x1
	xor eax, eax
	call _Z21UI_StartServerRefreshii
_Z21UI_OwnerDrawHandleKeyiiPfi_90:
	mov dword [esp+0x4], 0x1
	mov dword [esp], uiInfoArray
	call _Z25UI_BuildServerDisplayListP8uiInfo_si
	xor eax, eax
	add esp, 0x3c
	pop ebx
	pop esi
	pop edi
	pop ebp
	ret
_Z21UI_OwnerDrawHandleKeyiiPfi_20:
	mov eax, [ui_netGameType]
	mov esi, [eax+0xc]
	mov eax, [sharedUiInfo+0x1c58]
	test eax, eax
	jle _Z21UI_OwnerDrawHandleKeyiiPfi_220
	xor ebx, ebx
	xor edi, edi
	mov edx, sharedUiInfo
_Z21UI_OwnerDrawHandleKeyiiPfi_240:
	mov dword [edx+0x1cf8], 0x0
	mov eax, [edx+0x1c70]
	mov ecx, esi
	sar eax, cl
	test al, 0x1
	jz _Z21UI_OwnerDrawHandleKeyiiPfi_230
	add edi, 0x1
	mov dword [edx+0x1cf8], 0x1
_Z21UI_OwnerDrawHandleKeyiiPfi_230:
	add ebx, 0x1
	add edx, 0xa0
	cmp [sharedUiInfo+0x1c58], ebx
	jg _Z21UI_OwnerDrawHandleKeyiiPfi_240
_Z21UI_OwnerDrawHandleKeyiiPfi_330:
	cmp dword [ebp+0x14], 0xc9
	jz _Z21UI_OwnerDrawHandleKeyiiPfi_250
	mov edx, [ui_gametype]
	mov eax, [edx+0xc]
	add eax, 0x1
	cmp eax, [sharedUiInfo+0x114c]
	jge _Z21UI_OwnerDrawHandleKeyiiPfi_260
	cmp eax, 0x2
	jz _Z21UI_OwnerDrawHandleKeyiiPfi_270
_Z21UI_OwnerDrawHandleKeyiiPfi_440:
	mov [esp+0x4], eax
	mov [esp], edx
	call _Z11Dvar_SetIntPK6dvar_si
	mov eax, [ui_netGameType]
	mov esi, [eax+0xc]
	mov eax, [sharedUiInfo+0x1c58]
	test eax, eax
	jle _Z21UI_OwnerDrawHandleKeyiiPfi_280
	mov dword [ebp-0x1c], 0x0
	xor ebx, ebx
	mov edx, sharedUiInfo
_Z21UI_OwnerDrawHandleKeyiiPfi_300:
	mov dword [edx+0x1cf8], 0x0
	mov eax, [edx+0x1c70]
	mov ecx, esi
	sar eax, cl
	test al, 0x1
	jz _Z21UI_OwnerDrawHandleKeyiiPfi_290
	add ebx, 0x1
	mov dword [edx+0x1cf8], 0x1
_Z21UI_OwnerDrawHandleKeyiiPfi_290:
	add dword [ebp-0x1c], 0x1
	add edx, 0xa0
	mov eax, [ebp-0x1c]
	cmp [sharedUiInfo+0x1c58], eax
	jg _Z21UI_OwnerDrawHandleKeyiiPfi_300
_Z21UI_OwnerDrawHandleKeyiiPfi_390:
	cmp ebx, edi
	jz _Z21UI_OwnerDrawHandleKeyiiPfi_310
	mov dword [esp+0x4], 0x0
	mov eax, [ui_currentMap]
	mov [esp], eax
	call _Z11Dvar_SetIntPK6dvar_si
	mov eax, 0x1
	jmp _Z21UI_OwnerDrawHandleKeyiiPfi_320
_Z21UI_OwnerDrawHandleKeyiiPfi_220:
	xor edi, edi
	jmp _Z21UI_OwnerDrawHandleKeyiiPfi_330
_Z21UI_OwnerDrawHandleKeyiiPfi_110:
	mov ecx, [ui_netGameType]
	mov eax, [ecx+0xc]
	test eax, eax
	cmovz eax, [sharedUiInfo+0x114c]
	lea edx, [eax-0x1]
	jmp _Z21UI_OwnerDrawHandleKeyiiPfi_340
_Z21UI_OwnerDrawHandleKeyiiPfi_210:
	mov ecx, [ui_netSource]
	mov eax, [ecx+0xc]
	test eax, eax
	jnz _Z21UI_OwnerDrawHandleKeyiiPfi_350
	mov edx, 0x2
	jmp _Z21UI_OwnerDrawHandleKeyiiPfi_360
_Z21UI_OwnerDrawHandleKeyiiPfi_40:
	mov ecx, [ui_joinGameType]
	mov eax, [ecx+0xc]
	test eax, eax
	cmovz eax, [sharedUiInfo+0x1b54]
	lea edx, [eax-0x1]
	jmp _Z21UI_OwnerDrawHandleKeyiiPfi_370
_Z21UI_OwnerDrawHandleKeyiiPfi_70:
	mov eax, [ui_serverFilterType]
	sub eax, 0x1
	mov [ui_serverFilterType], eax
	jmp _Z21UI_OwnerDrawHandleKeyiiPfi_380
_Z21UI_OwnerDrawHandleKeyiiPfi_280:
	xor ebx, ebx
	jmp _Z21UI_OwnerDrawHandleKeyiiPfi_390
_Z21UI_OwnerDrawHandleKeyiiPfi_150:
	test ecx, ecx
	jle _Z21UI_OwnerDrawHandleKeyiiPfi_400
	mov edx, [sharedUiInfo+0x1cf8]
	test edx, edx
	jnz _Z21UI_OwnerDrawHandleKeyiiPfi_410
	xor ebx, ebx
	mov edx, sharedUiInfo
_Z21UI_OwnerDrawHandleKeyiiPfi_420:
	add ebx, 0x1
	cmp ecx, ebx
	jz _Z21UI_OwnerDrawHandleKeyiiPfi_400
	mov eax, [edx+0x1d98]
	add edx, 0xa0
	test eax, eax
	jz _Z21UI_OwnerDrawHandleKeyiiPfi_420
_Z21UI_OwnerDrawHandleKeyiiPfi_460:
	mov dword [esp+0x10], _cstring_createserver_map
	mov dword [esp+0xc], 0x0
	mov dword [esp+0x8], 0x4
	mov dword [esp+0x4], 0x0
	mov dword [esp], uiInfoArray
	call _Z23Menu_SetFeederSelectionP9UiContextP9menuDef_tiiPKc
	mov [esp+0x4], ebx
	mov eax, [ui_currentNetMap]
	mov [esp], eax
	call _Z11Dvar_SetIntPK6dvar_si
	jmp _Z21UI_OwnerDrawHandleKeyiiPfi_430
_Z21UI_OwnerDrawHandleKeyiiPfi_260:
	mov eax, 0x1
	jmp _Z21UI_OwnerDrawHandleKeyiiPfi_440
_Z21UI_OwnerDrawHandleKeyiiPfi_250:
	mov edx, [ui_gametype]
	mov eax, [edx+0xc]
	sub eax, 0x1
	cmp eax, 0x2
	jz _Z21UI_OwnerDrawHandleKeyiiPfi_260
	cmp eax, 0x1
	jg _Z21UI_OwnerDrawHandleKeyiiPfi_440
	mov eax, [sharedUiInfo+0x114c]
	sub eax, 0x1
	jmp _Z21UI_OwnerDrawHandleKeyiiPfi_440
_Z21UI_OwnerDrawHandleKeyiiPfi_400:
	mov eax, [ui_netGameTypeName]
	mov eax, [eax+0xc]
	mov [esp+0x8], eax
	mov dword [esp+0x4], _cstring_no_active_maps_f
	mov dword [esp], 0x1
	call _Z9Com_Error11errorParm_tPKcz
	jmp _Z21UI_OwnerDrawHandleKeyiiPfi_430
_Z21UI_OwnerDrawHandleKeyiiPfi_80:
	jge _Z21UI_OwnerDrawHandleKeyiiPfi_90
	jmp _Z21UI_OwnerDrawHandleKeyiiPfi_450
_Z21UI_OwnerDrawHandleKeyiiPfi_350:
	lea edx, [eax-0x1]
	jmp _Z21UI_OwnerDrawHandleKeyiiPfi_360
_Z21UI_OwnerDrawHandleKeyiiPfi_410:
	xor ebx, ebx
	jmp _Z21UI_OwnerDrawHandleKeyiiPfi_460
_Z21UI_OwnerDrawHandleKeyiiPfi_270:
	mov al, 0x3
	jmp _Z21UI_OwnerDrawHandleKeyiiPfi_440
	nop
	
	
_Z21UI_OwnerDrawHandleKeyiiPfi_jumptab_0:
	dd _Z21UI_OwnerDrawHandleKeyiiPfi_470
	dd _Z21UI_OwnerDrawHandleKeyiiPfi_10
	dd _Z21UI_OwnerDrawHandleKeyiiPfi_10
	dd _Z21UI_OwnerDrawHandleKeyiiPfi_10
	dd _Z21UI_OwnerDrawHandleKeyiiPfi_10
	dd _Z21UI_OwnerDrawHandleKeyiiPfi_10
	dd _Z21UI_OwnerDrawHandleKeyiiPfi_10
	dd _Z21UI_OwnerDrawHandleKeyiiPfi_10
	dd _Z21UI_OwnerDrawHandleKeyiiPfi_10
	dd _Z21UI_OwnerDrawHandleKeyiiPfi_10
	dd _Z21UI_OwnerDrawHandleKeyiiPfi_10
	dd _Z21UI_OwnerDrawHandleKeyiiPfi_10
	dd _Z21UI_OwnerDrawHandleKeyiiPfi_10
	dd _Z21UI_OwnerDrawHandleKeyiiPfi_10
	dd _Z21UI_OwnerDrawHandleKeyiiPfi_10
	dd _Z21UI_OwnerDrawHandleKeyiiPfi_480
	dd _Z21UI_OwnerDrawHandleKeyiiPfi_10
	dd _Z21UI_OwnerDrawHandleKeyiiPfi_490
	dd _Z21UI_OwnerDrawHandleKeyiiPfi_10
	dd _Z21UI_OwnerDrawHandleKeyiiPfi_10
	dd _Z21UI_OwnerDrawHandleKeyiiPfi_10
	dd _Z21UI_OwnerDrawHandleKeyiiPfi_10
	dd _Z21UI_OwnerDrawHandleKeyiiPfi_10
	dd _Z21UI_OwnerDrawHandleKeyiiPfi_10
	dd _Z21UI_OwnerDrawHandleKeyiiPfi_10
	dd _Z21UI_OwnerDrawHandleKeyiiPfi_10
	dd _Z21UI_OwnerDrawHandleKeyiiPfi_10
	dd _Z21UI_OwnerDrawHandleKeyiiPfi_10
	dd _Z21UI_OwnerDrawHandleKeyiiPfi_10
	dd _Z21UI_OwnerDrawHandleKeyiiPfi_10
	dd _Z21UI_OwnerDrawHandleKeyiiPfi_10
	dd _Z21UI_OwnerDrawHandleKeyiiPfi_10
	dd _Z21UI_OwnerDrawHandleKeyiiPfi_10
	dd _Z21UI_OwnerDrawHandleKeyiiPfi_10
	dd _Z21UI_OwnerDrawHandleKeyiiPfi_10
	dd _Z21UI_OwnerDrawHandleKeyiiPfi_10
	dd _Z21UI_OwnerDrawHandleKeyiiPfi_10
	dd _Z21UI_OwnerDrawHandleKeyiiPfi_10
	dd _Z21UI_OwnerDrawHandleKeyiiPfi_10
	dd _Z21UI_OwnerDrawHandleKeyiiPfi_10
	dd _Z21UI_OwnerDrawHandleKeyiiPfi_500
	dd _Z21UI_OwnerDrawHandleKeyiiPfi_10
	dd _Z21UI_OwnerDrawHandleKeyiiPfi_10
	dd _Z21UI_OwnerDrawHandleKeyiiPfi_10
	dd _Z21UI_OwnerDrawHandleKeyiiPfi_10
	dd _Z21UI_OwnerDrawHandleKeyiiPfi_10
	dd _Z21UI_OwnerDrawHandleKeyiiPfi_10
	dd _Z21UI_OwnerDrawHandleKeyiiPfi_10
	dd _Z21UI_OwnerDrawHandleKeyiiPfi_510


;UI_ReplaceConversions(char const*, ConversionArguments*, char*, int)
_Z21UI_ReplaceConversionsPKcP19ConversionArgumentsPci:
	push ebp
	mov ebp, esp
	push edi
	push esi
	push ebx
	sub esp, 0x4c
	mov eax, [ebp+0x8]
	mov [ebp-0x28], eax
	mov edx, [ebp+0xc]
	mov [ebp-0x2c], edx
	mov ecx, [ebp+0x10]
	mov [ebp-0x30], ecx
	mov ebx, [ebp+0x14]
	mov dword [esp+0x4], _cstring_5
	mov [esp], eax
	call strstr
	test eax, eax
	jz _Z21UI_ReplaceConversionsPKcP19ConversionArgumentsPci_10
	cld
	mov ecx, 0xffffffff
	xor eax, eax
	mov edi, [ebp-0x28]
	repne scasb
	not ecx
	sub ecx, 0x1
	mov [ebp-0x24], ecx
	mov [esp+0x8], ebx
	mov dword [esp+0x4], 0x0
	mov edx, [ebp-0x30]
	mov [esp], edx
	call memset
	mov eax, [ebp-0x24]
	test eax, eax
	jg _Z21UI_ReplaceConversionsPKcP19ConversionArgumentsPci_20
_Z21UI_ReplaceConversionsPKcP19ConversionArgumentsPci_80:
	add esp, 0x4c
	pop ebx
	pop esi
	pop edi
	pop ebp
	ret
_Z21UI_ReplaceConversionsPKcP19ConversionArgumentsPci_20:
	mov dword [ebp-0x1c], 0x0
	mov dword [ebp-0x20], 0x0
	mov ebx, [ebp-0x28]
	add ebx, [ebp-0x20]
	mov ecx, 0x2
	cld
	mov esi, ebx
	mov edi, _cstring_5
	repe cmpsb
	mov eax, 0x0
	jz _Z21UI_ReplaceConversionsPKcP19ConversionArgumentsPci_30
	movzx eax, byte [esi-0x1]
	movzx ecx, byte [edi-0x1]
	sub eax, ecx
_Z21UI_ReplaceConversionsPKcP19ConversionArgumentsPci_30:
	test eax, eax
	jnz _Z21UI_ReplaceConversionsPKcP19ConversionArgumentsPci_40
_Z21UI_ReplaceConversionsPKcP19ConversionArgumentsPci_100:
	mov ecx, [ebp-0x28]
	mov edi, [ebp-0x20]
	movsx eax, byte [ecx+edi+0x2]
	cmp eax, 0xff
	ja _Z21UI_ReplaceConversionsPKcP19ConversionArgumentsPci_40
	mov edx, [0xd5cc084]
	test byte [edx+eax*4+0x35], 0x4
	jz _Z21UI_ReplaceConversionsPKcP19ConversionArgumentsPci_40
	lea esi, [eax-0x31]
	mov ecx, [ebp-0x2c]
	mov ecx, [ecx+esi*4+0x4]
	mov [ebp-0x3c], ecx
	mov ecx, 0xffffffff
	mov edi, [ebp-0x3c]
	xor eax, eax
	repne scasb
	not ecx
	sub ecx, 0x1
	test ecx, ecx
	jle _Z21UI_ReplaceConversionsPKcP19ConversionArgumentsPci_50
	mov edx, [ebp-0x30]
	add edx, [ebp-0x1c]
	xor ebx, ebx
	mov edi, [ebp-0x3c]
	jmp _Z21UI_ReplaceConversionsPKcP19ConversionArgumentsPci_60
_Z21UI_ReplaceConversionsPKcP19ConversionArgumentsPci_70:
	mov edi, [ebp-0x2c]
	mov edi, [edi+esi*4+0x4]
	mov [ebp-0x3c], edi
_Z21UI_ReplaceConversionsPKcP19ConversionArgumentsPci_60:
	movzx eax, byte [ebx+edi]
	mov [edx], al
	add dword [ebp-0x1c], 0x1
	add ebx, 0x1
	add edx, 0x1
	cmp ecx, ebx
	jnz _Z21UI_ReplaceConversionsPKcP19ConversionArgumentsPci_70
_Z21UI_ReplaceConversionsPKcP19ConversionArgumentsPci_50:
	add dword [ebp-0x20], 0x3
_Z21UI_ReplaceConversionsPKcP19ConversionArgumentsPci_110:
	mov eax, [ebp-0x20]
	cmp [ebp-0x24], eax
	jle _Z21UI_ReplaceConversionsPKcP19ConversionArgumentsPci_80
	mov ebx, [ebp-0x28]
	add ebx, [ebp-0x20]
	mov ecx, 0x2
	cld
	mov esi, ebx
	mov edi, _cstring_5
	repe cmpsb
	mov eax, 0x0
	jz _Z21UI_ReplaceConversionsPKcP19ConversionArgumentsPci_90
	movzx eax, byte [esi-0x1]
	movzx ecx, byte [edi-0x1]
	sub eax, ecx
_Z21UI_ReplaceConversionsPKcP19ConversionArgumentsPci_90:
	test eax, eax
	jz _Z21UI_ReplaceConversionsPKcP19ConversionArgumentsPci_100
_Z21UI_ReplaceConversionsPKcP19ConversionArgumentsPci_40:
	movzx eax, byte [ebx]
	mov edx, [ebp-0x30]
	mov ecx, [ebp-0x1c]
	mov [edx+ecx], al
	add ecx, 0x1
	mov [ebp-0x1c], ecx
	add dword [ebp-0x20], 0x1
	jmp _Z21UI_ReplaceConversionsPKcP19ConversionArgumentsPci_110
_Z21UI_ReplaceConversionsPKcP19ConversionArgumentsPci_10:
	mov [ebp+0x10], ebx
	mov edi, [ebp-0x28]
	mov [ebp+0xc], edi
	mov eax, [ebp-0x30]
	mov [ebp+0x8], eax
	add esp, 0x4c
	pop ebx
	pop esi
	pop edi
	pop ebp
	jmp _Z10I_strncpyzPcPKci


;UI_GetLocalVarsContext(int)
_Z22UI_GetLocalVarsContexti:
	push ebp
	mov ebp, esp
	mov eax, uiInfoArray+0xa78
	pop ebp
	ret


;UI_SafeTranslateString(char const*)
_Z22UI_SafeTranslateStringPKc:
	push ebp
	mov ebp, esp
	push ebx
	sub esp, 0x14
	mov ebx, [ebp+0x8]
	cmp byte [ebx], 0x15
	jz _Z22UI_SafeTranslateStringPKc_10
	mov [esp], ebx
	call _Z22SEH_StringEd_GetStringPKc
	test eax, eax
	jz _Z22UI_SafeTranslateStringPKc_20
	add esp, 0x14
	pop ebx
	pop ebp
	ret
_Z22UI_SafeTranslateStringPKc_10:
	add ebx, 0x1
_Z22UI_SafeTranslateStringPKc_20:
	mov eax, loc_warnings
	mov eax, [eax]
	cmp byte [eax+0xc], 0x0
	jz _Z22UI_SafeTranslateStringPKc_30
	mov eax, loc_warningsAsErrors
	mov eax, [eax]
	cmp byte [eax+0xc], 0x0
	jz _Z22UI_SafeTranslateStringPKc_40
	mov [esp+0x8], ebx
	mov dword [esp+0x4], _cstring_could_not_transl
	mov dword [esp], 0x7
	call _Z9Com_Error11errorParm_tPKcz
_Z22UI_SafeTranslateStringPKc_50:
	mov dword [_ZZ22UI_SafeTranslateStringPKcE11errorString], 0x4e55315e
	mov dword [_ZZ22UI_SafeTranslateStringPKcE11errorString+0x4], 0x41434f4c
	mov dword [_ZZ22UI_SafeTranslateStringPKcE11errorString+0x8], 0x455a494c
	mov dword [_ZZ22UI_SafeTranslateStringPKcE11errorString+0xc], 0x375e2844
	mov byte [_ZZ22UI_SafeTranslateStringPKcE11errorString+0x10], 0x0
	mov [esp+0x8], ebx
	mov dword [esp+0x4], 0x400
	mov dword [esp], _ZZ22UI_SafeTranslateStringPKcE11errorString
	call _Z9I_strncatPciPKc
	mov dword [esp+0x8], _cstring_171
	mov dword [esp+0x4], 0x400
	mov dword [esp], _ZZ22UI_SafeTranslateStringPKcE11errorString
	call _Z9I_strncatPciPKc
	mov eax, _ZZ22UI_SafeTranslateStringPKcE11errorString
	add esp, 0x14
	pop ebx
	pop ebp
	ret
_Z22UI_SafeTranslateStringPKc_40:
	mov [esp+0x8], ebx
	mov dword [esp+0x4], _cstring_warning_could_no
	mov dword [esp], 0xd
	call _Z16Com_PrintWarningiPKcz
	jmp _Z22UI_SafeTranslateStringPKc_50
_Z22UI_SafeTranslateStringPKc_30:
	mov [esp+0x4], ebx
	mov dword [esp], _ZZ22UI_SafeTranslateStringPKcE11errorString
	call strcpy
	mov eax, _ZZ22UI_SafeTranslateStringPKcE11errorString
	add esp, 0x14
	pop ebx
	pop ebp
	ret


;UI_ShouldDrawCrosshair()
_Z22UI_ShouldDrawCrosshairv:
	push ebp
	mov ebp, esp
	mov eax, [ui_drawCrosshair]
	movzx eax, byte [eax+0xc]
	pop ebp
	ret


;UI_ClosePopupScriptMenu(int, unsigned char)
_Z23UI_ClosePopupScriptMenuih:
	push ebp
	mov ebp, esp
	sub esp, 0x18
	mov eax, [ebp+0xc]
	cmp dword [uiInfoArray+0x18a0], 0x9
	jz _Z23UI_ClosePopupScriptMenuih_10
	leave
	ret
_Z23UI_ClosePopupScriptMenuih_10:
	mov [uiInfoArray+0x18a4], al
	mov eax, [ebp+0x8]
	mov [esp], eax
	call _Z19UI_CloseFocusedMenui
	mov byte [uiInfoArray+0x18a4], 0x1
	leave
	ret
	nop


;UI_GetTopActiveMenuName(int)
_Z23UI_GetTopActiveMenuNamei:
	push ebp
	mov ebp, esp
	mov eax, [uiInfoArray+0xa74]
	sub eax, 0x1
	jns _Z23UI_GetTopActiveMenuNamei_10
_Z23UI_GetTopActiveMenuNamei_20:
	xor eax, eax
	pop ebp
	ret
_Z23UI_GetTopActiveMenuNamei_10:
	cmp eax, [uiInfoArray+0xa30]
	jge _Z23UI_GetTopActiveMenuNamei_20
	mov eax, [eax*4+uiInfoArray+0xa34]
	mov eax, [eax]
	pop ebp
	ret


;Menu_IsMenuOpenAndVisible(int, char const*)
_Z25Menu_IsMenuOpenAndVisibleiPKc:
	push ebp
	mov ebp, esp
	push ebx
	sub esp, 0x14
	mov eax, [ebp+0xc]
	mov [esp+0x4], eax
	mov dword [esp], uiInfoArray
	call _Z16Menus_FindByNamePK9UiContextPKc
	mov ebx, eax
	test eax, eax
	jz _Z25Menu_IsMenuOpenAndVisibleiPKc_10
	mov [esp+0x4], eax
	mov dword [esp], uiInfoArray
	call _Z19Menus_MenuIsInStackP9UiContextP9menuDef_t
	test eax, eax
	jnz _Z25Menu_IsMenuOpenAndVisibleiPKc_20
_Z25Menu_IsMenuOpenAndVisibleiPKc_10:
	xor eax, eax
	add esp, 0x14
	pop ebx
	pop ebp
	ret
_Z25Menu_IsMenuOpenAndVisibleiPKc_20:
	mov [esp+0x4], ebx
	mov dword [esp], uiInfoArray
	call _Z14Menu_IsVisibleP9UiContextP9menuDef_t
	test al, al
	jz _Z25Menu_IsMenuOpenAndVisibleiPKc_10
	mov eax, 0x1
	add esp, 0x14
	pop ebx
	pop ebp
	ret
	nop


;UI_GetGameTypeDisplayName(char const*)
_Z25UI_GetGameTypeDisplayNamePKc:
	push ebp
	mov ebp, esp
	push edi
	push esi
	push ebx
	sub esp, 0x1c
	mov edi, [ebp+0x8]
	mov eax, [sharedUiInfo+0x114c]
	test eax, eax
	jg _Z25UI_GetGameTypeDisplayNamePKc_10
_Z25UI_GetGameTypeDisplayNamePKc_30:
	mov eax, edi
	add esp, 0x1c
	pop ebx
	pop esi
	pop edi
	pop ebp
	ret
_Z25UI_GetGameTypeDisplayNamePKc_10:
	xor esi, esi
	mov ebx, sharedUiInfo
	jmp _Z25UI_GetGameTypeDisplayNamePKc_20
_Z25UI_GetGameTypeDisplayNamePKc_40:
	add esi, 0x1
	add ebx, 0x8
	cmp esi, [sharedUiInfo+0x114c]
	jge _Z25UI_GetGameTypeDisplayNamePKc_30
_Z25UI_GetGameTypeDisplayNamePKc_20:
	mov eax, [ebx+0x1150]
	mov [esp+0x4], eax
	mov [esp], edi
	call _Z9I_stricmpPKcS0_
	test eax, eax
	jnz _Z25UI_GetGameTypeDisplayNamePKc_40
	mov eax, [esi*8+sharedUiInfo+0x1154]
	mov [ebp+0x8], eax
	add esp, 0x1c
	pop ebx
	pop esi
	pop edi
	pop ebp
	jmp _Z22UI_SafeTranslateStringPKc


;UI_AllowScriptMenuResponse(int)
_Z26UI_AllowScriptMenuResponsei:
	push ebp
	mov ebp, esp
	movzx eax, byte [uiInfoArray+0x18a4]
	pop ebp
	ret


;UI_ReplaceConversionString(char const*, char const*)
_Z26UI_ReplaceConversionStringPKcS0_:
	push ebp
	mov ebp, esp
	push edi
	push ebx
	sub esp, 0x440
	lea edx, [ebp-0x30]
	cld
	mov ecx, 0xa
	xor eax, eax
	mov edi, edx
	rep stosd
	mov dword [ebp-0x30], 0x1
	mov eax, [ebp+0xc]
	mov [ebp-0x2c], eax
	mov dword [esp+0xc], 0x400
	lea ebx, [ebp-0x430]
	mov [esp+0x8], ebx
	mov [esp+0x4], edx
	mov eax, [ebp+0x8]
	mov [esp], eax
	call _Z21UI_ReplaceConversionsPKcP19ConversionArgumentsPci
	mov [esp], ebx
	call _Z2vaPKcz
	add esp, 0x440
	pop ebx
	pop edi
	pop ebp
	ret


;CL_SelectStringTableEntryInDvar_f()
_Z33CL_SelectStringTableEntryInDvar_fv:
	push ebp
	mov ebp, esp
	push esi
	push ebx
	sub esp, 0x30
	mov eax, r_reflectionProbeGenerate
	mov eax, [eax]
	cmp byte [eax+0xc], 0x0
	jnz _Z33CL_SelectStringTableEntryInDvar_fv_10
	mov ebx, cmd_args
	mov edx, [ebx]
	cmp dword [ebx+edx*4+0x44], 0x3
	jle _Z33CL_SelectStringTableEntryInDvar_fv_20
	lea eax, [ebp-0xc]
	mov [esp+0x4], eax
	mov eax, [ebx+edx*4+0x64]
	mov eax, [eax+0x4]
	mov [esp], eax
	call _Z20StringTable_GetAssetPKcPPK11StringTable
	call _Z16Sys_Millisecondsv
	mov [esp], eax
	call _Z8ms_srandj
	mov eax, [ebp-0xc]
	cvtsi2ss xmm0, dword [eax+0x8]
	movss [ebp-0x28], xmm0
	call _Z7ms_randv
	cvtsi2ss xmm1, eax
	movss xmm0, dword [ebp-0x28]
	mulss xmm0, xmm1
	divss xmm0, dword [_float_32767_00000000]
	cvttss2si esi, xmm0
	mov eax, [ebx]
	cmp dword [ebx+eax*4+0x44], 0x2
	jg _Z33CL_SelectStringTableEntryInDvar_fv_30
	mov eax, _cstring_null
_Z33CL_SelectStringTableEntryInDvar_fv_60:
	mov [esp], eax
	call atoi
	mov [esp+0x8], eax
	mov [esp+0x4], esi
	mov eax, [ebp-0xc]
	mov [esp], eax
	call _Z32StringTable_GetColumnValueForRowPK11StringTableii
	mov ecx, eax
	mov eax, cmd_args
	mov edx, [eax]
	cmp dword [eax+edx*4+0x44], 0x3
	jg _Z33CL_SelectStringTableEntryInDvar_fv_40
	mov eax, _cstring_null
_Z33CL_SelectStringTableEntryInDvar_fv_50:
	mov [esp+0x4], ecx
	mov [esp], eax
	call _Z20Dvar_SetStringByNamePKcS0_
_Z33CL_SelectStringTableEntryInDvar_fv_10:
	add esp, 0x30
	pop ebx
	pop esi
	pop ebp
	ret
_Z33CL_SelectStringTableEntryInDvar_fv_20:
	mov dword [esp+0x4], _cstring_usage_selectstri
	mov dword [esp], 0x10
	call _Z10Com_PrintfiPKcz
	add esp, 0x30
	pop ebx
	pop esi
	pop ebp
	ret
_Z33CL_SelectStringTableEntryInDvar_fv_40:
	mov eax, [eax+edx*4+0x64]
	mov eax, [eax+0xc]
	jmp _Z33CL_SelectStringTableEntryInDvar_fv_50
_Z33CL_SelectStringTableEntryInDvar_fv_30:
	mov eax, [ebx+eax*4+0x64]
	mov eax, [eax+0x8]
	jmp _Z33CL_SelectStringTableEntryInDvar_fv_60


;UI_FilterStringForButtonAnimation(char*, unsigned int)
_Z33UI_FilterStringForButtonAnimationPcj:
	push ebp
	mov ebp, esp
	pop ebp
	ret
	nop


;UI_GetMapDisplayNameFromPartialLoadNameMatch(char const*, int*)
_Z44UI_GetMapDisplayNameFromPartialLoadNameMatchPKcPi:
	push ebp
	mov ebp, esp
	push edi
	push esi
	push ebx
	sub esp, 0x2c
	mov eax, [ebp+0x8]
	mov [ebp-0x1c], eax
	mov edx, [ebp+0xc]
	mov [ebp-0x20], edx
	mov eax, [sharedUiInfo+0x1c58]
	test eax, eax
	jg _Z44UI_GetMapDisplayNameFromPartialLoadNameMatchPKcPi_10
_Z44UI_GetMapDisplayNameFromPartialLoadNameMatchPKcPi_30:
	xor eax, eax
	add esp, 0x2c
	pop ebx
	pop esi
	pop edi
	pop ebp
	ret
_Z44UI_GetMapDisplayNameFromPartialLoadNameMatchPKcPi_10:
	xor esi, esi
	mov ebx, sharedUiInfo
	mov dword [ebp-0x24], sharedUiInfo+0x1c5c
	jmp _Z44UI_GetMapDisplayNameFromPartialLoadNameMatchPKcPi_20
_Z44UI_GetMapDisplayNameFromPartialLoadNameMatchPKcPi_40:
	add esi, 0x1
	add dword [ebp-0x24], 0xa0
	add ebx, 0xa0
	cmp esi, [sharedUiInfo+0x1c58]
	jge _Z44UI_GetMapDisplayNameFromPartialLoadNameMatchPKcPi_30
_Z44UI_GetMapDisplayNameFromPartialLoadNameMatchPKcPi_20:
	mov edi, [ebx+0x1c60]
	cld
	mov ecx, 0xffffffff
	xor eax, eax
	repne scasb
	not ecx
	sub ecx, 0x1
	mov edx, [ebp-0x20]
	mov [edx], ecx
	mov [esp+0x8], ecx
	mov eax, [ebx+0x1c60]
	mov [esp+0x4], eax
	mov eax, [ebp-0x1c]
	mov [esp], eax
	call _Z10I_strnicmpPKcS0_i
	test eax, eax
	jnz _Z44UI_GetMapDisplayNameFromPartialLoadNameMatchPKcPi_40
	mov edx, [ebp-0x24]
	mov eax, [edx]
	mov [ebp+0x8], eax
	add esp, 0x2c
	pop ebx
	pop esi
	pop edi
	pop ebp
	jmp _Z22UI_SafeTranslateStringPKc
	nop


;UI_Init(int)
_Z7UI_Initi:
	push ebp
	mov ebp, esp
	push edi
	push esi
	push ebx
	sub esp, 0x4c
	mov eax, [ebp+0x8]
	mov [uiInfoArray], eax
	mov byte [eax+g_ingameMenusLoaded], 0x0
	mov ebx, useFastFile
	mov eax, [ebx]
	cmp byte [eax+0xc], 0x0
	jnz _Z7UI_Initi_10
_Z7UI_Initi_140:
	cmp byte [eax+0xc], 0x0
	jz _Z7UI_Initi_20
_Z7UI_Initi_130:
	mov dword [esp+0xc], _cstring_custom_game_mode
	mov dword [esp+0x8], 0x0
	mov dword [esp+0x4], _cstring_null
	mov dword [esp], _cstring_ui_custommodenam
	call _Z19Dvar_RegisterStringPKcS0_tS0_
	mov [ui_customModeName], eax
	mov dword [esp+0xc], _cstring_name_to_give_the
	mov dword [esp+0x8], 0x0
	mov dword [esp+0x4], _cstring_null
	mov dword [esp], _cstring_ui_custommodeedi
	call _Z19Dvar_RegisterStringPKcS0_tS0_
	mov [ui_customModeEditName], eax
	mov dword [esp+0xc], _cstring_custom_class_nam
	mov dword [esp+0x8], 0x0
	mov dword [esp+0x4], _cstring_null
	mov dword [esp], _cstring_ui_customclassna
	call _Z19Dvar_RegisterStringPKcS0_tS0_
	mov [ui_customClassName], eax
	mov dword [esp+0xc], 0x0
	mov dword [esp+0x8], 0x1
	mov dword [esp+0x4], 0x1
	mov dword [esp], _cstring_g_allowvote
	call _Z17Dvar_RegisterBoolPKchtS0_
	mov dword [esp+0xc], 0x0
	mov dword [esp+0x8], 0x1
	mov dword [esp+0x4], 0x1
	mov dword [esp], _cstring_cg_brass
	call _Z17Dvar_RegisterBoolPKchtS0_
	mov dword [esp+0xc], 0x0
	mov dword [esp+0x8], 0x1
	mov dword [esp+0x4], 0x1
	mov dword [esp], _cstring_fx_marks
	call _Z17Dvar_RegisterBoolPKchtS0_
	mov dword [esp+0xc], _cstring_server_display
	mov dword [esp+0x8], 0x1
	mov dword [esp+0x4], _cstring_null
	mov dword [esp], _cstring_server1
	call _Z19Dvar_RegisterStringPKcS0_tS0_
	mov dword [esp+0xc], _cstring_server_display
	mov dword [esp+0x8], 0x1
	mov dword [esp+0x4], _cstring_null
	mov dword [esp], _cstring_server2
	call _Z19Dvar_RegisterStringPKcS0_tS0_
	mov dword [esp+0xc], _cstring_server_display
	mov dword [esp+0x8], 0x1
	mov dword [esp+0x4], _cstring_null
	mov dword [esp], _cstring_server3
	call _Z19Dvar_RegisterStringPKcS0_tS0_
	mov dword [esp+0xc], _cstring_server_display
	mov dword [esp+0x8], 0x1
	mov dword [esp+0x4], _cstring_null
	mov dword [esp], _cstring_server4
	call _Z19Dvar_RegisterStringPKcS0_tS0_
	mov dword [esp+0xc], _cstring_server_display
	mov dword [esp+0x8], 0x1
	mov dword [esp+0x4], _cstring_null
	mov dword [esp], _cstring_server5
	call _Z19Dvar_RegisterStringPKcS0_tS0_
	mov dword [esp+0xc], _cstring_server_display
	mov dword [esp+0x8], 0x1
	mov dword [esp+0x4], _cstring_null
	mov dword [esp], _cstring_server6
	call _Z19Dvar_RegisterStringPKcS0_tS0_
	mov dword [esp+0xc], _cstring_server_display
	mov dword [esp+0x8], 0x1
	mov dword [esp+0x4], _cstring_null
	mov dword [esp], _cstring_server7
	call _Z19Dvar_RegisterStringPKcS0_tS0_
	mov dword [esp+0xc], _cstring_server_display
	mov dword [esp+0x8], 0x1
	mov dword [esp+0x4], _cstring_null
	mov dword [esp], _cstring_server8
	call _Z19Dvar_RegisterStringPKcS0_tS0_
	mov dword [esp+0xc], _cstring_server_display
	mov dword [esp+0x8], 0x1
	mov dword [esp+0x4], _cstring_null
	mov dword [esp], _cstring_server9
	call _Z19Dvar_RegisterStringPKcS0_tS0_
	mov dword [esp+0xc], _cstring_server_display
	mov dword [esp+0x8], 0x1
	mov dword [esp+0x4], _cstring_null
	mov dword [esp], _cstring_server10
	call _Z19Dvar_RegisterStringPKcS0_tS0_
	mov dword [esp+0xc], _cstring_server_display
	mov dword [esp+0x8], 0x1
	mov dword [esp+0x4], _cstring_null
	mov dword [esp], _cstring_server11
	call _Z19Dvar_RegisterStringPKcS0_tS0_
	mov dword [esp+0xc], _cstring_server_display
	mov dword [esp+0x8], 0x1
	mov dword [esp+0x4], _cstring_null
	mov dword [esp], _cstring_server12
	call _Z19Dvar_RegisterStringPKcS0_tS0_
	mov dword [esp+0xc], _cstring_server_display
	mov dword [esp+0x8], 0x1
	mov dword [esp+0x4], _cstring_null
	mov dword [esp], _cstring_server13
	call _Z19Dvar_RegisterStringPKcS0_tS0_
	mov dword [esp+0xc], _cstring_server_display
	mov dword [esp+0x8], 0x1
	mov dword [esp+0x4], _cstring_null
	mov dword [esp], _cstring_server14
	call _Z19Dvar_RegisterStringPKcS0_tS0_
	mov dword [esp+0xc], _cstring_server_display
	mov dword [esp+0x8], 0x1
	mov dword [esp+0x4], _cstring_null
	mov dword [esp], _cstring_server15
	call _Z19Dvar_RegisterStringPKcS0_tS0_
	mov dword [esp+0xc], _cstring_server_display
	mov dword [esp+0x8], 0x1
	mov dword [esp+0x4], _cstring_null
	mov dword [esp], _cstring_server16
	call _Z19Dvar_RegisterStringPKcS0_tS0_
	mov dword [esp+0x14], _cstring_the_network_sour
	mov dword [esp+0x10], 0x1
	mov dword [esp+0xc], 0x2
	mov dword [esp+0x8], 0x0
	mov dword [esp+0x4], 0x1
	mov dword [esp], _cstring_ui_netsource
	call _Z16Dvar_RegisterIntPKciiitS0_
	mov [ui_netSource], eax
	mov dword [esp+0x14], _cstring_small_font_scale
	mov dword [esp+0x10], 0x1
	mov edi, 0x3f800000
	mov [esp+0xc], edi
	mov dword [esp+0x8], 0x0
	mov dword [esp+0x4], 0x3e800000
	mov dword [esp], _cstring_ui_smallfont
	call _Z18Dvar_RegisterFloatPKcffftS0_
	mov [ui_smallFont], eax
	mov dword [esp+0x14], _cstring_big_font_scale
	mov dword [esp+0x10], 0x1
	mov [esp+0xc], edi
	mov dword [esp+0x8], 0x0
	mov dword [esp+0x4], 0x3ecccccd
	mov dword [esp], _cstring_ui_bigfont
	call _Z18Dvar_RegisterFloatPKcffftS0_
	mov [ui_bigFont], eax
	mov dword [esp+0x14], _cstring_extra_big_font_s
	mov dword [esp+0x10], 0x1
	mov [esp+0xc], edi
	mov dword [esp+0x8], 0x0
	mov dword [esp+0x4], 0x3f0ccccd
	mov dword [esp], _cstring_ui_extrabigfont
	call _Z18Dvar_RegisterFloatPKcffftS0_
	mov [ui_extraBigFont], eax
	mov dword [esp+0x14], _cstring_current_map_inde
	mov dword [esp+0x10], 0x1
	mov dword [esp+0xc], 0x7fffffff
	mov dword [esp+0x8], 0x0
	mov dword [esp+0x4], 0x0
	mov dword [esp], _cstring_ui_currentmap
	call _Z16Dvar_RegisterIntPKciiitS0_
	mov [ui_currentMap], eax
	mov dword [esp+0x14], _cstring_game_type
	mov dword [esp+0x10], 0x1
	mov dword [esp+0xc], 0x7fffffff
	mov dword [esp+0x8], 0x0
	mov dword [esp+0x4], 0x3
	mov dword [esp], _cstring_ui_gametype
	call _Z16Dvar_RegisterIntPKciiitS0_
	mov [ui_gametype], eax
	mov dword [esp+0x14], _cstring_game_join_type
	mov dword [esp+0x10], 0x1
	mov dword [esp+0xc], 0x7fffffff
	mov dword [esp+0x8], 0x0
	mov dword [esp+0x4], 0x0
	mov dword [esp], _cstring_ui_joingametype
	call _Z16Dvar_RegisterIntPKciiitS0_
	mov [ui_joinGameType], eax
	mov dword [esp+0xc], _cstring_displayed_game_t
	mov dword [esp+0x8], 0x1
	mov dword [esp+0x4], _cstring_null
	mov dword [esp], _cstring_ui_netgametypena
	call _Z19Dvar_RegisterStringPKcS0_tS0_
	mov [ui_netGameTypeName], eax
	mov dword [esp+0x14], _cstring_true_if_this_is_
	mov dword [esp+0x10], 0x1
	mov dword [esp+0xc], 0x2
	mov dword [esp+0x8], 0x0
	mov dword [esp+0x4], 0x0
	mov dword [esp], _cstring_ui_dedicated
	call _Z16Dvar_RegisterIntPKciiitS0_
	mov [ui_dedicated], eax
	mov dword [esp+0x14], _cstring_currently_runnin
	mov dword [esp+0x10], 0x1
	mov dword [esp+0xc], 0x7fffffff
	mov dword [esp+0x8], 0x0
	mov dword [esp+0x4], 0x0
	mov dword [esp], _cstring_ui_currentnetmap
	call _Z16Dvar_RegisterIntPKciiitS0_
	mov [ui_currentNetMap], eax
	mov dword [esp+0xc], _cstring_show_full_server
	mov dword [esp+0x8], 0x1
	mov dword [esp+0x4], 0x1
	mov dword [esp], _cstring_ui_browsershowfu
	call _Z17Dvar_RegisterBoolPKchtS0_
	mov [ui_browserShowFull], eax
	mov dword [esp+0xc], _cstring_show_empty_serve
	mov dword [esp+0x8], 0x1
	mov dword [esp+0x4], 0x1
	mov dword [esp], _cstring_ui_browsershowem
	call _Z17Dvar_RegisterBoolPKchtS0_
	mov [ui_browserShowEmpty], eax
	mov dword [esp+0x14], _cstring_show_servers_tha
	mov dword [esp+0x10], 0x1
	mov dword [esp+0xc], 0x1
	mov dword [esp+0x8], 0xffffffff
	mov dword [esp+0x4], 0xffffffff
	mov dword [esp], _cstring_ui_browsershowpa
	call _Z16Dvar_RegisterIntPKciiitS0_
	mov [ui_browserShowPassword], eax
	mov dword [esp+0xc], _cstring_show_pure_server
	mov dword [esp+0x8], 0x1
	mov dword [esp+0x4], 0x1
	mov dword [esp], _cstring_ui_browsershowpu
	call _Z17Dvar_RegisterBoolPKchtS0_
	mov [ui_browserShowPure], eax
	mov dword [esp+0x14], _cstring_ui_mod_value
	mov dword [esp+0x10], 0x1
	mov dword [esp+0xc], 0x1
	mov dword [esp+0x8], 0xffffffff
	mov dword [esp+0x4], 0x0
	mov dword [esp], _cstring_ui_browsermod
	call _Z16Dvar_RegisterIntPKciiitS0_
	mov [ui_browserMod], eax
	mov dword [esp+0xc], _cstring_show_dedicated_s
	mov dword [esp+0x8], 0x1
	mov dword [esp+0x4], 0x0
	mov dword [esp], _cstring_ui_browsershowde
	call _Z17Dvar_RegisterBoolPKchtS0_
	mov [ui_browserShowDedicated], eax
	mov dword [esp+0x14], _cstring_friendly_fire_is
	mov dword [esp+0x10], 0x1
	mov dword [esp+0xc], 0x7fffffff
	mov dword [esp+0x8], 0x80000000
	mov dword [esp+0x4], 0xffffffff
	mov dword [esp], _cstring_ui_browserfriend
	call _Z16Dvar_RegisterIntPKciiitS0_
	mov [ui_browserFriendlyfire], eax
	mov dword [esp+0x14], _cstring_kill_cam_is_acti
	mov dword [esp+0x10], 0x1
	mov dword [esp+0xc], 0x7fffffff
	mov dword [esp+0x8], 0x80000000
	mov dword [esp+0x4], 0xffffffff
	mov dword [esp], _cstring_ui_browserkillca
	call _Z16Dvar_RegisterIntPKciiitS0_
	mov [ui_browserKillcam], eax
	mov dword [esp+0x14], _cstring_hardcore_mode
	mov dword [esp+0x10], 0x1
	mov dword [esp+0xc], 0x7fffffff
	mov dword [esp+0x8], 0x80000000
	mov dword [esp+0x4], 0xffffffff
	mov dword [esp], _cstring_ui_browserhardco
	call _Z16Dvar_RegisterIntPKciiitS0_
	mov [ui_browserHardcore], eax
	mov dword [esp+0x14], _cstring_oldschool_mode
	mov dword [esp+0x10], 0x1
	mov dword [esp+0xc], 0x7fffffff
	mov dword [esp+0x8], 0x80000000
	mov dword [esp+0x4], 0xffffffff
	mov dword [esp], _cstring_ui_browseroldsch
	call _Z16Dvar_RegisterIntPKciiitS0_
	mov [ui_browserOldSchool], eax
	mov dword [esp+0x14], _cstring_time_in_millisec
	mov dword [esp+0x10], 0x1
	mov dword [esp+0xc], 0x7fffffff
	mov dword [esp+0x8], 0x0
	mov dword [esp+0x4], 0x1b58
	mov dword [esp], _cstring_ui_serverstatust
	call _Z16Dvar_RegisterIntPKciiitS0_
	mov [ui_serverStatusTimeOut], eax
	mov dword [esp+0x14], _cstring_only_show_punkbu
	mov dword [esp+0x10], 0x1
	mov dword [esp+0xc], 0x7fffffff
	mov dword [esp+0x8], 0x80000000
	mov dword [esp+0x4], 0xffffffff
	mov dword [esp], _cstring_ui_browsershowpu1
	call _Z16Dvar_RegisterIntPKciiitS0_
	mov [ui_browserShowPunkBuster], eax
	mov dword [esp+0x14], _cstring_number_of_player
	mov dword [esp+0x10], 0x40
	mov dword [esp+0xc], 0x7fffffff
	mov dword [esp+0x8], 0x80000000
	mov dword [esp+0x4], 0x0
	mov dword [esp], _cstring_ui_playerprofile
	call _Z16Dvar_RegisterIntPKciiitS0_
	mov [ui_playerProfileCount], eax
	mov dword [esp+0xc], _cstring_selected_player_
	mov dword [esp+0x8], 0x40
	mov dword [esp+0x4], _cstring_null
	mov dword [esp], _cstring_ui_playerprofile1
	call _Z19Dvar_RegisterStringPKcS0_tS0_
	mov [ui_playerProfileSelected], eax
	mov dword [esp+0xc], _cstring_new_player_profi
	mov dword [esp+0x8], 0x0
	mov dword [esp+0x4], _cstring_null
	mov dword [esp], _cstring_ui_playerprofile2
	call _Z19Dvar_RegisterStringPKcS0_tS0_
	mov [ui_playerProfileNameNew], eax
	mov dword [esp+0x18], _cstring_where_to_draw_th
	mov dword [esp+0x14], 0x0
	mov dword [esp+0x10], 0x461c4000
	mov dword [esp+0xc], 0xc61c4000
	mov dword [esp+0x8], 0x42500000
	mov dword [esp+0x4], 0xc2c80000
	mov dword [esp], _cstring_ui_buildlocation
	call _Z17Dvar_RegisterVec2PKcfffftS0_
	mov [ui_buildLocation], eax
	mov dword [esp+0x14], _cstring_font_size_to_use
	mov dword [esp+0x10], 0x0
	mov [esp+0xc], edi
	mov dword [esp+0x8], 0x0
	mov esi, 0x3e99999a
	mov [esp+0x4], esi
	mov dword [esp], _cstring_ui_buildsize
	call _Z18Dvar_RegisterFloatPKcffftS0_
	mov [ui_buildSize], eax
	mov dword [esp+0xc], _cstring_show_onscreen_li
	mov dword [esp+0x8], 0x80
	mov dword [esp+0x4], 0x0
	mov dword [esp], _cstring_ui_showlist
	call _Z17Dvar_RegisterBoolPKchtS0_
	mov [ui_showList], eax
	mov dword [esp+0xc], _cstring_if_set_only_menu
	mov dword [esp+0x8], 0x0
	mov dword [esp+0x4], _cstring_null
	mov dword [esp], _cstring_ui_showmenuonly
	call _Z19Dvar_RegisterStringPKcS0_tS0_
	mov [ui_showMenuOnly], eax
	mov dword [esp+0xc], _cstring_currently_showin
	mov dword [esp+0x8], 0x0
	mov dword [esp+0x4], 0x0
	mov dword [esp], _cstring_ui_showendofgame
	call _Z17Dvar_RegisterBoolPKchtS0_
	mov [ui_showEndOfGame], eax
	mov dword [esp+0x14], _cstring_scales_the_borde
	mov dword [esp+0x10], 0x0
	mov [esp+0xc], edi
	mov dword [esp+0x8], 0x0
	mov ebx, 0x3f19999a
	mov [esp+0x4], ebx
	mov dword [esp], _cstring_ui_borderlowligh
	call _Z18Dvar_RegisterFloatPKcffftS0_
	mov [ui_borderLowLightScale], eax
	mov dword [esp+0xc], _cstring_shows_cinematics
	mov dword [esp+0x8], 0x0
	mov dword [esp+0x4], 0x0
	mov dword [esp], _cstring_ui_cinematicstim
	call _Z17Dvar_RegisterBoolPKchtS0_
	mov [ui_cinematicsTimestamp], eax
	mov dword [esp+0x20], _cstring_glow_color_appli
	mov dword [esp+0x1c], 0x0
	mov [esp+0x18], edi
	mov dword [esp+0x14], 0x0
	mov [esp+0x10], edi
	mov [esp+0xc], esi
	mov [esp+0x8], ebx
	mov [esp+0x4], esi
	mov dword [esp], _cstring_ui_connectscreen
	call _Z17Dvar_RegisterVec4PKcfffffftS0_
	mov [ui_connectScreenTextGlowColor], eax
	mov dword [esp+0xc], _cstring_whether_to_draw_
	mov dword [esp+0x8], 0x1
	mov dword [esp+0x4], 0x1
	mov dword [esp], _cstring_ui_drawcrosshair
	call _Z17Dvar_RegisterBoolPKchtS0_
	mov [ui_drawCrosshair], eax
	mov dword [esp+0xc], _cstring_whether_the_hud_
	mov dword [esp+0x8], 0x80
	mov dword [esp+0x4], 0x0
	mov dword [esp], _cstring_ui_hud_hardcore
	call _Z17Dvar_RegisterBoolPKchtS0_
	mov [ui_hud_hardcore], eax
	mov dword [esp+0xc], _cstring_whether_the_ui_s
	mov dword [esp+0x8], 0x80
	mov dword [esp+0x4], 0x0
	mov dword [esp], _cstring_ui_uav_allies
	call _Z17Dvar_RegisterBoolPKchtS0_
	mov [ui_uav_allies], eax
	mov dword [esp+0xc], _cstring_whether_the_ui_s1
	mov dword [esp+0x8], 0x80
	mov dword [esp+0x4], 0x0
	mov dword [esp], _cstring_ui_uav_axis
	call _Z17Dvar_RegisterBoolPKchtS0_
	mov [ui_uav_axis], eax
	mov dword [esp+0xc], _cstring_whether_the_ui_s2
	mov dword [esp+0x8], 0x80
	mov dword [esp+0x4], 0x0
	mov dword [esp], _cstring_ui_uav_client
	call _Z17Dvar_RegisterBoolPKchtS0_
	mov [ui_uav_client], eax
	mov dword [esp+0xc], _cstring_whether_the_ui_s3
	mov dword [esp+0x8], 0x80
	mov dword [esp+0x4], 0x0
	mov dword [esp], _cstring_ui_allow_classch
	call _Z17Dvar_RegisterBoolPKchtS0_
	mov [ui_allow_classchange], eax
	mov dword [esp+0xc], _cstring_whether_the_ui_s4
	mov dword [esp+0x8], 0x80
	mov dword [esp+0x4], 0x0
	mov dword [esp], _cstring_ui_allow_teamcha
	call _Z17Dvar_RegisterBoolPKchtS0_
	mov [ui_allow_teamchange], eax
	mov byte [uiInfoArray+0x18a4], 0x1
	call _Z11String_Initv
	mov dword [esp], uiInfoArray
	call _Z10Menu_SetupP9UiContext
	mov dword [esp+0x8], uiInfoArray+0x24
	mov dword [esp+0x4], uiInfoArray+0x20
	mov dword [esp], uiInfoArray+0x1c
	call _Z22CL_GetScreenDimensionsPiS_Pf
	mov ebx, [uiInfoArray+0x1c]
	mov ecx, [uiInfoArray+0x20]
	mov eax, ebx
	shl eax, 0x5
	mov edx, ebx
	shl edx, 0x9
	sub edx, eax
	lea eax, [ecx+ecx*4]
	shl eax, 0x7
	cmp edx, eax
	jle _Z7UI_Initi_30
	cvtsi2ss xmm1, ebx
	cvtsi2ss xmm0, ecx
	mulss xmm0, [_float__1_33333337]
	addss xmm1, xmm0
	mulss xmm1, [_float_0_50000000]
	movss [uiInfoArray+0x4], xmm1
_Z7UI_Initi_100:
	call _Z16Sys_Millisecondsv
	mov dword [sharedUiInfo+0x114c], 0x0
	mov dword [sharedUiInfo+0x1250], 0x0
	mov dword [sharedUiInfo+0x1b54], 0x0
	mov dword [esp], _cstring_all
	call _Z12String_AllocPKc
	mov [sharedUiInfo+0x1b58], eax
	mov eax, [sharedUiInfo+0x1b54]
	mov dword [eax*8+sharedUiInfo+0x1b5c], _cstring_null
	add dword [sharedUiInfo+0x1b54], 0x1
	mov ebx, useFastFile
	mov edx, [ebx]
	mov eax, _Z28UI_GetGameTypesList_FastFilev
	cmp byte [edx+0xc], 0x0
	mov edx, _Z27UI_GetGameTypesList_LoadObjv
	cmovz eax, edx
	call eax
	mov edx, [sharedUiInfo+0x114c]
	test edx, edx
	jz _Z7UI_Initi_40
_Z7UI_Initi_120:
	mov dword [esp+0x14], _cstring_game_type
	mov dword [esp+0x10], 0x1
	mov eax, [sharedUiInfo+0x114c]
	sub eax, 0x1
	mov [esp+0xc], eax
	mov dword [esp+0x8], 0x0
	mov dword [esp+0x4], 0x0
	mov dword [esp], _cstring_ui_netgametype
	call _Z16Dvar_RegisterIntPKciiitS0_
	mov [ui_netGameType], eax
	call _Z13UI_LoadArenasv
	mov eax, [ebx]
	cmp byte [eax+0xc], 0x0
	jnz _Z7UI_Initi_50
_Z7UI_Initi_110:
	cmp byte [g_mapname], 0x0
	jz _Z7UI_Initi_60
	mov eax, [ebx]
	cmp byte [eax+0xc], 0x0
	jz _Z7UI_Initi_60
	mov eax, useFastFile
	mov eax, [eax]
	cmp byte [eax+0xc], 0x0
	jz _Z7UI_Initi_70
_Z7UI_Initi_90:
	mov dword [esp+0x4], 0x3
	mov dword [esp], _cstring_white
	call _Z23Material_RegisterHandlePKci
	mov [sharedUiInfo+0x20], eax
	mov dword [esp+0x4], 0x3
	mov dword [esp], _cstring_ui_scrollbar
	call _Z23Material_RegisterHandlePKci
	mov [sharedUiInfo+0x10], eax
	mov dword [esp+0x4], 0x3
	mov dword [esp], _cstring_ui_scrollbar_arr
	call _Z23Material_RegisterHandlePKci
	mov [sharedUiInfo+0x4], eax
	mov dword [esp+0x4], 0x3
	mov dword [esp], _cstring_ui_scrollbar_arr1
	call _Z23Material_RegisterHandlePKci
	mov [sharedUiInfo], eax
	mov dword [esp+0x4], 0x3
	mov dword [esp], _cstring_ui_scrollbar_arr2
	call _Z23Material_RegisterHandlePKci
	mov [sharedUiInfo+0x8], eax
	mov dword [esp+0x4], 0x3
	mov dword [esp], _cstring_ui_scrollbar_arr3
	call _Z23Material_RegisterHandlePKci
	mov [sharedUiInfo+0xc], eax
	mov dword [esp+0x4], 0x3
	mov dword [esp], _cstring_ui_scrollbar_thu
	call _Z23Material_RegisterHandlePKci
	mov [sharedUiInfo+0x14], eax
	mov dword [esp+0x4], 0x3
	mov dword [esp], _cstring_ui_slider2
	call _Z23Material_RegisterHandlePKci
	mov [sharedUiInfo+0x18], eax
	mov dword [esp+0x4], 0x3
	mov dword [esp], _cstring_ui_sliderbutt_1
	call _Z23Material_RegisterHandlePKci
	mov [sharedUiInfo+0x1c], eax
	mov dword [esp+0x4], 0x0
	mov dword [esp], _cstring_ui_cursor
	call _Z23Material_RegisterHandlePKci
	mov [sharedUiInfo+0x24], eax
	mov dword [esp+0x4], 0x0
	mov dword [esp], _cstring_fontsbigfont
	call _Z15CL_RegisterFontPKci
	mov [sharedUiInfo+0x28], eax
	mov dword [esp+0x4], 0x0
	mov dword [esp], _cstring_fontssmallfont
	call _Z15CL_RegisterFontPKci
	mov [sharedUiInfo+0x2c], eax
	mov dword [esp+0x4], 0x0
	mov dword [esp], _cstring_fontsconsolefont
	call _Z15CL_RegisterFontPKci
	mov [sharedUiInfo+0x30], eax
	mov dword [esp+0x4], 0x0
	mov dword [esp], _cstring_fontsboldfont
	call _Z15CL_RegisterFontPKci
	mov [sharedUiInfo+0x34], eax
	mov dword [esp+0x4], 0x0
	mov dword [esp], _cstring_fontsnormalfont
	call _Z15CL_RegisterFontPKci
	mov [sharedUiInfo+0x38], eax
	mov dword [esp+0x4], 0x0
	mov dword [esp], _cstring_fontsextrabigfon
	call _Z15CL_RegisterFontPKci
	mov [sharedUiInfo+0x3c], eax
	mov dword [esp+0x4], 0x0
	mov dword [esp], _cstring_fontsobjectivefo
	call _Z15CL_RegisterFontPKci
	mov [sharedUiInfo+0x40], eax
	mov dword [esp], uiInfoArray
	call _Z14Menus_CloseAllP9UiContext
	mov dword [esp+0x4], 0x3
	mov dword [esp], _cstring_server_hardware_
	call _Z23Material_RegisterHandlePKci
	mov [sharedUiInfo+0x6c5c], eax
	mov dword [esp+0x4], 0x3
	mov dword [esp], _cstring_server_hardware_1
	call _Z23Material_RegisterHandlePKci
	mov [sharedUiInfo+0x6c60], eax
	mov dword [esp+0x4], 0x3
	mov dword [esp], _cstring_server_hardware_2
	call _Z23Material_RegisterHandlePKci
	mov [sharedUiInfo+0x6c64], eax
	mov dword [esp+0x4], 0x3
	mov dword [esp], _cstring_server_hardware_3
	call _Z23Material_RegisterHandlePKci
	mov [sharedUiInfo+0x6c68], eax
	mov dword [esp+0x4], 0x3
	mov dword [esp], _cstring_server_hardware_4
	call _Z23Material_RegisterHandlePKci
	mov [sharedUiInfo+0x6c74], eax
	mov dword [esp+0x4], 0x3
	mov dword [esp], _cstring_server_hardware_5
	call _Z23Material_RegisterHandlePKci
	mov [sharedUiInfo+0x6c78], eax
	call _Z21LAN_LoadCachedServersv
	cmp dword [sharedUiInfo+0x72e4], 0xa
	jz _Z7UI_Initi_80
	mov dword [sharedUiInfo+0x72e4], 0xa
	mov dword [esp+0xc], _Z22UI_ServersQsortComparePKvS0_
	mov dword [esp+0x8], 0x4
	mov eax, [sharedUiInfo+0x1ab78]
	mov [esp+0x4], eax
	mov dword [esp], sharedUiInfo+0x72f8
	call qsort
_Z7UI_Initi_80:
	mov dword [esp], _cstring_m_pitch
	call _Z13Dvar_GetFloatPKc
	fstp dword [ebp-0x1c]
	movss xmm0, dword [ebp-0x1c]
	xor eax, eax
	ucomiss xmm0, [_float_0_00000000]
	setb al
	mov [esp+0x4], eax
	mov dword [esp], _cstring_ui_mousepitch
	call _Z18Dvar_SetBoolByNamePKch
	mov eax, [ui_netGameType]
	mov eax, [eax+0xc]
	mov eax, [eax*8+sharedUiInfo+0x1150]
	mov [esp+0x4], eax
	mov eax, [ui_netGameTypeName]
	mov [esp], eax
	call _Z14Dvar_SetStringPK6dvar_sPKc
	mov dword [esp+0xc], _cstring_true_if_the_game
	mov dword [esp+0x8], 0x40
	mov dword [esp+0x4], 0x1
	mov dword [esp], _cstring_ui_multiplayer
	call _Z17Dvar_RegisterBoolPKchtS0_
	mov dword [esp+0x14], _cstring_spam_debug_info_
	mov dword [esp+0x10], 0x0
	mov dword [esp+0xc], 0x2
	mov dword [esp+0x8], 0x0
	mov dword [esp+0x4], 0x0
	mov dword [esp], _cstring_uiscript_debug
	call _Z16Dvar_RegisterIntPKciiitS0_
	mov [uiscript_debug], eax
	add esp, 0x4c
	pop ebx
	pop esi
	pop edi
	pop ebp
	ret
_Z7UI_Initi_60:
	mov dword [esp+0x4], 0x3
	mov dword [esp], _cstring_ui_mpmenustxt
	call _Z12UI_LoadMenusPKci
	mov [esp+0x4], eax
	mov dword [esp], uiInfoArray
	call _Z14UI_AddMenuListP9UiContextP8MenuList
	cmp byte [g_mapname], 0x0
	jz _Z7UI_Initi_90
	mov eax, useFastFile
	mov eax, [eax]
	cmp byte [eax+0xc], 0x0
	jnz _Z7UI_Initi_90
	jmp _Z7UI_Initi_70
_Z7UI_Initi_30:
	mov dword [uiInfoArray+0x4], 0x0
	jmp _Z7UI_Initi_100
_Z7UI_Initi_70:
	mov dword [esp+0x4], g_mapname
	mov dword [esp], _cstring_mapsmpscsv
	call _Z2vaPKcz
	mov [esp], eax
	call _Z14UI_MapLoadInfoPKc
	jmp _Z7UI_Initi_90
_Z7UI_Initi_50:
	mov dword [esp+0x4], 0x3
	mov dword [esp], _cstring_ui_mpcodetxt
	call _Z12UI_LoadMenusPKci
	mov [esp+0x4], eax
	mov dword [esp], uiInfoArray
	call _Z14UI_AddMenuListP9UiContextP8MenuList
	jmp _Z7UI_Initi_110
_Z7UI_Initi_40:
	mov dword [esp+0x4], _cstring_no_game_type_scr
	mov dword [esp], 0x1
	call _Z9Com_Error11errorParm_tPKcz
	jmp _Z7UI_Initi_120
_Z7UI_Initi_20:
	call _Z19UI_LoadSoundAliasesv
	jmp _Z7UI_Initi_130
_Z7UI_Initi_10:
	mov dword [esp], 0x0
	call _Z16DB_ResetZoneSizei
	mov eax, [ebx]
	jmp _Z7UI_Initi_140


;UI_Pause(int, int)
_Z8UI_Pauseii:
	push ebp
	mov ebp, esp
	push ebx
	sub esp, 0x14
	mov ebx, [ebp+0x8]
	mov edx, [ebp+0xc]
	test edx, edx
	jz _Z8UI_Pauseii_10
	mov dword [esp+0x4], 0x1
	mov dword [esp], _cstring_cl_paused
	call _Z17Dvar_SetIntByNamePKci
	mov dword [ebp+0xc], 0x10
	mov [ebp+0x8], ebx
	add esp, 0x14
	pop ebx
	pop ebp
	jmp _Z14Key_SetCatcherii
_Z8UI_Pauseii_10:
	mov dword [esp+0x4], 0xffffffef
	mov [esp], ebx
	call _Z17Key_RemoveCatcherii
	mov [esp], ebx
	call _Z15Key_ClearStatesi
	mov dword [ebp+0xc], 0x0
	mov dword [ebp+0x8], _cstring_cl_paused
	add esp, 0x14
	pop ebx
	pop ebp
	jmp _Z17Dvar_SetIntByNamePKci
	nop


;UI_Popup(int, char const*)
_Z8UI_PopupiPKc:
	push ebp
	mov ebp, esp
	push ebx
	sub esp, 0x14
	mov ebx, [ebp+0x8]
	mov [esp], ebx
	call _Z13CL_AllowPopupi
	test al, al
	jnz _Z8UI_PopupiPKc_10
_Z8UI_PopupiPKc_20:
	xor eax, eax
_Z8UI_PopupiPKc_40:
	add esp, 0x14
	pop ebx
	pop ebp
	ret
_Z8UI_PopupiPKc_10:
	mov dword [esp], uiInfoArray
	call _Z26Menus_AnyFullScreenVisibleP9UiContext
	test eax, eax
	jnz _Z8UI_PopupiPKc_20
	mov dword [esp+0x4], _cstring_uimenu_wm_quickm
	mov eax, [ebp+0xc]
	mov [esp], eax
	call _Z9I_stricmpPKcS0_
	test eax, eax
	jz _Z8UI_PopupiPKc_30
	mov eax, 0x1
	add esp, 0x14
	pop ebx
	pop ebp
	ret
_Z8UI_PopupiPKc_30:
	mov dword [esp+0x4], 0x7
	mov [esp], ebx
	call _Z16UI_SetActiveMenuii
	mov eax, 0x1
	jmp _Z8UI_PopupiPKc_40
	nop


;UI_SetMap(char const*, char const*)
_Z9UI_SetMapPKcS0_:
	push ebp
	mov ebp, esp
	push esi
	push ebx
	sub esp, 0x10
	mov esi, [ebp+0x8]
	mov ebx, [ebp+0xc]
	mov dword [esp+0x8], 0x40
	mov [esp+0x4], esi
	mov dword [esp], g_mapname
	call _Z10I_strncpyzPcPKci
	mov dword [esp+0x8], 0x40
	mov [esp+0x4], ebx
	mov dword [esp], g_gametype
	call _Z10I_strncpyzPcPKci
	movzx eax, byte [esi]
	test al, al
	setnz byte [g_showLoadingScreenMenu]
	jnz _Z9UI_SetMapPKcS0__10
_Z9UI_SetMapPKcS0__60:
	mov byte [g_showLoadingScreenMenu], 0x0
_Z9UI_SetMapPKcS0__50:
	mov eax, useFastFile
	mov eax, [eax]
	cmp byte [eax+0xc], 0x0
	jnz _Z9UI_SetMapPKcS0__20
	cmp byte [g_mapname], 0x0
	jnz _Z9UI_SetMapPKcS0__30
_Z9UI_SetMapPKcS0__20:
	add esp, 0x10
	pop ebx
	pop esi
	pop ebp
	ret
_Z9UI_SetMapPKcS0__30:
	mov dword [esp+0x4], g_mapname
	mov dword [esp], _cstring_mapsmpscsv
	call _Z2vaPKcz
	mov [ebp+0x8], eax
	add esp, 0x10
	pop ebx
	pop esi
	pop ebp
	jmp _Z14UI_MapLoadInfoPKc
_Z9UI_SetMapPKcS0__10:
	mov dword [esp+0x4], 0x0
	mov [esp], esi
	call _Z13DB_FileExistsPKc6FF_DIR
	test al, al
	jz _Z9UI_SetMapPKcS0__40
_Z9UI_SetMapPKcS0__70:
	mov byte [g_showLoadingScreenMenu], 0x1
	jmp _Z9UI_SetMapPKcS0__50
_Z9UI_SetMapPKcS0__40:
	mov [esp+0x4], esi
	mov dword [esp], _cstring_s_load
	call _Z2vaPKcz
	mov dword [esp+0x4], 0x2
	mov [esp], eax
	call _Z13DB_FileExistsPKc6FF_DIR
	test al, al
	jz _Z9UI_SetMapPKcS0__60
	jmp _Z9UI_SetMapPKcS0__70
	nop


;Initialized global or static variables of ui_main_mp:
SECTION .data
MonthAbbrev: dd _cstring_exe_month_abv_ja, _cstring_exe_month_abv_fe, _cstring_exe_month_abv_ma, _cstring_exe_month_abv_ap, _cstring_exe_month_abv_ma1, _cstring_exe_month_abv_ju, _cstring_exe_month_abv_ju1, _cstring_exe_month_abv_au, _cstring_exe_month_abv_se, _cstring_exe_month_abv_oc, _cstring_exe_month_abv_no, _cstring_exe_month_abv_de
netSources: dd _cstring_exe_local, _cstring_exe_internet, _cstring_exe_favorites
_ZZ17UI_FeederItemTextiP9itemDef_sfiiPP8MaterialE10lastColumn: dd 0xffffffff
_ZZ22UI_DisplayDownloadInfoPKcffP6Font_sfE12tleEstimates: dd 0x3c, 0x3c, 0x3c, 0x3c, 0x3c, 0x3c, 0x3c, 0x3c, 0x3c, 0x3c, 0x3c, 0x3c, 0x3c, 0x3c, 0x3c, 0x3c, 0x3c, 0x3c, 0x3c, 0x3c, 0x3c, 0x3c, 0x3c, 0x3c, 0x3c, 0x3c, 0x3c, 0x3c, 0x3c, 0x3c, 0x3c, 0x3c, 0x3c, 0x3c, 0x3c, 0x3c, 0x3c, 0x3c, 0x3c, 0x3c, 0x3c, 0x3c, 0x3c, 0x3c, 0x3c, 0x3c, 0x3c, 0x3c, 0x3c, 0x3c, 0x3c, 0x3c, 0x3c, 0x3c, 0x3c, 0x3c, 0x3c, 0x3c, 0x3c, 0x3c, 0x3c, 0x3c, 0x3c, 0x3c, 0x3c, 0x3c, 0x3c, 0x3c, 0x3c, 0x3c, 0x3c, 0x3c, 0x3c, 0x3c, 0x3c, 0x3c, 0x3c, 0x3c, 0x3c, 0x3c
_ZZ22UI_DisplayDownloadInfoPKcffP6Font_sfE8xferText: dd 0x5f455845, 0x4e415254, 0x41525f53
		db 0x54, 0x45, 0x0
_ZZ22UI_DisplayDownloadInfoPKcffP6Font_sfE7etaText: dd 0x5f455845, 0x5f545345, 0x454d4954, 0x46454c5f
		db 0x54, 0x0
_ZZ22UI_DisplayDownloadInfoPKcffP6Font_sfE6dlText: dd 0x5f455845, 0x4e574f44, 0x44414f4c, 0x474e49, 0x0, 0x0, 0x0, 0x0
		db 0x0, 0x0, 0x0
serverStatusDvars: dd _cstring_sv_hostname, _cstring_exe_sv_info_serv, 0x0, _cstring_address, _cstring_exe_sv_info_addr, 0x0, _cstring_pswrd, _cstring_exe_sv_info_pass, 0x1, _cstring_gamename, _cstring_exe_sv_info_game, 0x0, _cstring_g_gametype, _cstring_exe_sv_info_game1, 0x2, _cstring_sv_pure, _cstring_exe_sv_info_pure, 0x1, _cstring_mapname, _cstring_exe_sv_info_map, 0x3, _cstring_shortversion, _cstring_exe_sv_info_vers, 0x0, _cstring_protocol, _cstring_exe_sv_info_prot, 0x0, _cstring_sv_maxping, _cstring_exe_sv_info_maxp, 0x0, _cstring_sv_minping, _cstring_exe_sv_info_minp, 0x0, _cstring_sv_maxrate, _cstring_exe_sv_info_maxr, 0x0, _cstring_sv_floodprotect, _cstring_exe_sv_info_floo, 0x1, _cstring_sv_allowanonymou, _cstring_exe_sv_info_allo, 0x0, _cstring_sv_maxclients, _cstring_exe_sv_info_maxc, 0x0, _cstring_sv_privateclient, _cstring_exe_sv_info_priv, 0x0, _cstring_scr_friendlyfire, _cstring_exe_sv_info_frie, 0x0, _cstring_fs_game, _cstring_exe_sv_info_mod, 0x0, _cstring_mod, _cstring_menu_mods, 0x1, _cstring_scr_killcam, _cstring_exe_sv_info_kill, 0x1, _cstring_g_antilag, _cstring_exe_sv_info_anti, 0x1, _cstring_g_compassshowene, _cstring_exe_sv_info_comp, 0x1, _cstring_sv_voice, _cstring_exe_sv_info_voic, 0x1, _cstring_sv_punkbuster, _cstring_mpui_punkbuster, 0x1, _cstring_sv_disableclient, _cstring_exe_sv_info_clie, 0x1, 0x0, 0x0, 0x0, 0x0, 0x0


;Initialized constant data of ui_main_mp:
SECTION .rdata
serverFilters: dd _cstring_exe_all, _cstring_null, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0


;Zero initialized global or static variables of ui_main_mp:
SECTION .bss
g_gametype: resb 0x40
g_mapname: resb 0x40
g_ingameMenusLoaded: resb 0x4
ui_serverFilterType: resb 0x4
g_showLoadingScreenMenu: resb 0x18
menuBuf2: resb 0x8000
_ZZ22UI_SafeTranslateStringPKcE11errorString: resb 0x400
_ZZ18UI_FeederSelectionifiE4info: resb 0x400
_ZZ11UI_KeyEventiiiE14bypassKeyClear: resb 0x4
_ZZ25UI_BuildServerDisplayListP8uiInfo_siE8numclean: resb 0x4
_ZZ17UI_FeederItemTextiP9itemDef_sfiiPP8MaterialE8lastTime: resb 0x18
_ZZ17UI_FeederItemTextiP9itemDef_sfiiPP8MaterialE10clientBuff: resb 0x40
_ZZ17UI_FeederItemTextiP9itemDef_sfiiPP8MaterialE4info: resb 0x400
_ZZ22UI_BuildFindPlayerListvE11numTimeOuts: resb 0x4
_ZZ22UI_BuildFindPlayerListvE8numFound: resb 0x4
_ZZ22UI_DisplayDownloadInfoPKcffP6Font_sfE8tleIndex: resb 0x78
ui_showEndOfGame: resb 0x4
vehDriverViewHeightMax: resb 0x4
vehDriverViewHeightMin: resb 0x4
sharedUiInfo: resb 0x1c5c0
uiscript_debug: resb 0x4
ui_borderLowLightScale: resb 0x4
ui_showList: resb 0x4
ui_showMenuOnly: resb 0x4
uiInfoArray: resb 0x24b0
ui_allow_classchange: resb 0x4
ui_allow_teamchange: resb 0x4
ui_bigFont: resb 0x4
ui_browserFriendlyfire: resb 0x4
ui_browserHardcore: resb 0x4
ui_browserKillcam: resb 0x4
ui_browserMod: resb 0x4
ui_browserOldSchool: resb 0x4
ui_browserShowDedicated: resb 0x4
ui_browserShowEmpty: resb 0x4
ui_browserShowFull: resb 0x4
ui_browserShowPassword: resb 0x4
ui_browserShowPunkBuster: resb 0x70
ui_browserShowPure: resb 0x4
ui_buildLocation: resb 0x4
ui_buildSize: resb 0x4
ui_cinematicsTimestamp: resb 0x4
ui_connectScreenTextGlowColor: resb 0x4
ui_currentMap: resb 0x4
ui_currentNetMap: resb 0x4
ui_customClassName: resb 0x4
ui_customModeEditName: resb 0x4
ui_customModeName: resb 0x8
ui_dedicated: resb 0x4
ui_drawCrosshair: resb 0x4
ui_extraBigFont: resb 0x4
ui_gametype: resb 0x4
ui_hud_hardcore: resb 0x4
ui_joinGameType: resb 0x4
ui_netGameType: resb 0x4
ui_netGameTypeName: resb 0x4
ui_netSource: resb 0x8
ui_playerProfileCount: resb 0x4
ui_playerProfileNameNew: resb 0x4
ui_playerProfileSelected: resb 0x4
ui_serverStatusTimeOut: resb 0x4
ui_smallFont: resb 0x4
ui_uav_allies: resb 0x4
ui_uav_axis: resb 0x4
ui_uav_client: resb 0x4


;All cstrings:
SECTION .rdata
_cstring_menu_file_too_la:		db "menu file too large: %s is %i, max allowed is %i",0
_cstring_menu_file_not_fo:		db "menu file not found: %s, using default",0ah,0
_cstring_sv_maxclients:		db "sv_maxclients",0
_cstring_mapname:		db "mapname",0
_cstring_createserver_map:		db "createserver_maps",0
_cstring_loc_language:		db "loc_language",0
_cstring_ui_language:		db "ui_language",0
_cstring_ui_languagechang:		db "ui_languagechanged",0
_cstring_exe_favoriteadde:		db "EXE_FAVORITEADDED",0
_cstring_s:		db "%s",0ah,0
_cstring_exe_favoriteadde1:		db "@EXE_FAVORITEADDED",0
_cstring_ui_favorite_mess:		db "ui_favorite_message",0
_cstring_exe_favoriteaddr:		db "EXE_FAVORITEADDRESSEMPTY",0
_cstring_exe_favoriteaddr1:		db "@EXE_FAVORITEADDRESSEMPTY",0
_cstring_exe_favoritename:		db "EXE_FAVORITENAMEEMPTY",0
_cstring_exe_favoritename1:		db "@EXE_FAVORITENAMEEMPTY",0
_cstring_exe_badserveradd:		db "EXE_BADSERVERADDRESS",0
_cstring_exe_badserveradd1:		db "@EXE_BADSERVERADDRESS",0
_cstring_exe_favoriteinli:		db "EXE_FAVORITEINLIST",0
_cstring_exe_favoriteinli1:		db "@EXE_FAVORITEINLIST",0
_cstring_exe_favoritelist:		db "EXE_FAVORITELISTFULL",0
_cstring_exe_favoritelist1:		db "@EXE_FAVORITELISTFULL",0
_cstring_s_invalid_dvar_n:		db "%s: invalid dvar name.",0ah,0
_cstring_s_invalid_test_v:		db "%s: invalid test value.",0ah,0
_cstring_s_invalid_menu_n:		db "%s: invalid menu name.",0ah,0
_cstring_exe_kilobyte:		db "EXE_KILOBYTE",0
_cstring_d_s:		db "%d %s",0
_cstring_d:		db "%d",0
_cstring_exe_megabyte:		db "EXE_MEGABYTE",0
_cstring_02d_s:		db ".%02d %s",0
_cstring_exe_gigabyte:		db "EXE_GIGABYTE",0
_cstring_exe_bytes:		db "EXE_BYTES",0
_cstring_mapsmpgametypes_:		db "maps/mp/gametypes/_gametypes.txt",0
_cstring_mapsmpgametypess:		db "maps/mp/gametypes/%s.txt",0
_cstring_too_many_game_ty:		db "Too many game type scripts found! Only loading the first %i",0ah,0
_cstring_gsc:		db "gsc",0
_cstring_mapsmpgametypes:		db "maps/mp/gametypes",0
_cstring_gsc1:		db ".gsc",0
_cstring_ui_lastserverref:		db "ui_lastServerRefresh_%i",0
_cstring_s_i_i___i02i:		db "%s %i, %i   %i:%02i",0
_cstring_debug_protocol:		db "debug_protocol",0
_cstring_globalservers_d_:		db "globalservers %d %s full empty",0ah,0
_cstring_localservers:		db "localservers",0ah,0
_cstring_globalservers_d_1:		db "globalservers %d %d full empty",0ah,0
_cstring_cl_motdstring:		db "cl_motdString",0
_cstring_exe_cod_multipla:		db "EXE_COD_MULTIPLAYER",0
_cstring_17:		db "1.7",0
_cstring_s__s:		db "%s - %s",0
_cstring_clients:		db "clients",0
_cstring_addr:		db "addr",0
_cstring_000000000000:		db "000.000.000.000",0
_cstring_pswrd:		db "pswrd",0
_cstring_mod:		db "mod",0
_cstring_ff:		db "ff",0
_cstring_kc:		db "kc",0
_cstring_hc:		db "hc",0
_cstring_od:		db "od",0
_cstring_pb:		db "pb",0
_cstring_game:		db "game",0
_cstring_pure:		db "pure",0
_cstring_hw:		db "hw",0
_cstring_gametype:		db "gametype",0
_cstring_address:		db "address",0
_cstring_null:		db 0
_cstring_exe_sv_info_num:		db "@EXE_SV_INFO_NUM",0
_cstring_exe_sv_info_scor:		db "@EXE_SV_INFO_SCORE",0
_cstring_exe_sv_info_ping:		db "@EXE_SV_INFO_PING",0
_cstring_exe_sv_info_name:		db "@EXE_SV_INFO_NAME",0
_cstring_exe_yes:		db "@EXE_YES",0
_cstring_exe_no:		db "@EXE_NO",0
_cstring_searching_dd:		db "searching %d/%d...",0
_cstring_hostname:		db "hostname",0
_cstring_s1:		db "s",0
_cstring_d_servers_found_:		db "%d server%s found with player %s",0
_cstring_no_servers_found:		db "no servers found",0
_cstring_exe_estimating:		db "EXE_ESTIMATING",0
_cstring_exe_copied:		db "EXE_COPIED",0
_cstring_exe_of:		db "EXE_OF",0
_cstring_s_s_s_s_d:		db "%s %s %s %s (%d%%)",0
_cstring_exe_seconds:		db "EXE_SECONDS",0
_cstring_exe_minutes:		db "EXE_MINUTES",0
_cstring_d_s_d_s:		db "%d %s %d %s",0
_cstring_ss:		db "%s/%s",0
_cstring_s_s:		db "(%s %s)",0
_cstring_exe_hours:		db "EXE_HOURS",0
_cstring_si:		db "%s.%i",0
_cstring_cl_bypassmousein:		db "cl_bypassMouseInput",0
_cstring_d_servers_listed:		db "%d servers listed in browser with %d players.",0ah,0
_cstring_d_servers_not_li:		db "%d servers not listed (filtered out by game browser settings)",0ah,0
_cstring_cl_paused:		db "cl_paused",0
_cstring_exe_gettinginfof:		db "EXE_GETTINGINFOFORSERVERS",0
_cstring_1:		db "&&1",0
_cstring_exe_all:		db "EXE_ALL",0
_cstring_exe_netsources:		db "EXE_NETSOURCE",014h,"%s",0
_cstring_net_source:		db "net source",0
_cstring_exe_serverfilter:		db "EXE_SERVERFILTER",014h,"%s",0
_cstring_server_filter:		db "server filter",0
_cstring_exe_keywait:		db "EXE_KEYWAIT",0
_cstring_exe_keychange:		db "EXE_KEYCHANGE",0
_cstring_voice_on:		db "voice_on",0
_cstring_exe_refreshtime:		db "EXE_REFRESHTIME",0
_cstring_unable_to_find_c:		db "Unable to find client %i but they are talking",0ah,0
_cstring_exe_waitingforma:		db "EXE_WAITINGFORMASTERSERVERRESPONSE",0
_cstring_menu:		db ".menu",0
_cstring_startserver:		db "StartServer",0
_cstring_sv_punkbuster:		db "sv_punkbuster",0
_cstring_cl_punkbuster:		db "cl_punkbuster",0
_cstring_cg_thirdperson:		db "cg_thirdPerson",0
_cstring_i:		db "%i",0
_cstring_dedicated:		db "dedicated",0
_cstring_g_gametype:		db "g_gametype",0
_cstring_wait__wait__map_:		db "wait ; wait ; map %s",0ah,0
_cstring_getcdkey:		db "getCDKey",0
_cstring_cdkey1:		db "cdkey1",0
_cstring_cdkey2:		db "cdkey2",0
_cstring_cdkey3:		db "cdkey3",0
_cstring_cdkey4:		db "cdkey4",0
_cstring_cdkey5:		db "cdkey5",0
_cstring_verifycdkey:		db "verifyCDKey",0
_cstring_loadarenas:		db "loadArenas",0
_cstring_exe_cdkeyvalid:		db "EXE_CDKEYVALID",0
_cstring_ui_cdkeyvalid:		db "ui_cdkeyvalid",0
_cstring_startpb_popmenu:		db "startpb_popmenu",0
_cstring_exe_cdkeyinvalid:		db "EXE_CDKEYINVALID",0
_cstring_loadgameinfo:		db "loadGameInfo",0
_cstring_all:		db "All",0
_cstring_no_game_type_scr:		db 015h,"No game type scripts found in maps/mp/gametypes folder",0
_cstring_loadmods:		db "LoadMods",0
_cstring_modlist:		db "$modlist",0
_cstring_votetypemap:		db "voteTypeMap",0
_cstring_callvote_typemap:		db "callvote typemap %s %s",0ah,0
_cstring_votemap:		db "voteMap",0
_cstring_callvote_map_s:		db "callvote map %s",0ah,0
_cstring_votegame:		db "voteGame",0
_cstring_callvote_g_gamet:		db "callvote g_gametype %s",0ah,0
_cstring_clearerror:		db "clearError",0
_cstring_com_errormessage:		db "com_errorMessage",0
_cstring_com_isnotice:		db "com_isNotice",0
_cstring_refreshservers:		db "RefreshServers",0
_cstring_refreshfilter:		db "RefreshFilter",0
_cstring_addplayerprofile:		db "addPlayerProfiles",0
_cstring_:		db "/",0
_cstring_profiles:		db "profiles",0
_cstring_sortplayerprofil:		db "sortPlayerProfiles",0
_cstring_selectactiveplay:		db "selectActivePlayerProfile",0
_cstring_createplayerprof:		db "createPlayerProfile",0
_cstring_profile_create_f:		db "profile_create_fail_popmenu",0
_cstring_deleteplayerprof:		db "deletePlayerProfile",0
_cstring_profile_delete_f:		db "profile_delete_fail_popmenu",0
_cstring_loadplayerprofil:		db "loadPlayerProfile",0
_cstring_profile_exists_p:		db "profile_exists_popmenu",0
_cstring_runmod:		db "RunMod",0
_cstring_mods:		db "mods",0
_cstring_fs_game:		db "fs_game",0
_cstring_vid_restart:		db "vid_restart",0ah,0
_cstring_clearmods:		db "ClearMods",0
_cstring_closejoin:		db "closeJoin",0
_cstring_joinserver:		db "joinserver",0
_cstring_main:		db "main",0
_cstring_stoprefresh:		db "StopRefresh",0
_cstring_profile_create_t:		db "profile_create_too_many_popmenu",0
_cstring_serverstatus:		db "ServerStatus",0
_cstring_updatefilter:		db "UpdateFilter",0
_cstring_joinserver1:		db "JoinServer",0
_cstring_connect_s:		db "connect %s",0ah,0
_cstring_quit:		db "Quit",0
_cstring_quit1:		db "quit",0
_cstring_joinpb_popmenu:		db "joinpb_popmenu",0
_cstring_controls:		db "Controls",0
_cstring_setup_menu2:		db "setup_menu2",0
_cstring_leave:		db "Leave",0
_cstring_disconnect:		db "disconnect",0ah,0
_cstring_serversort:		db "ServerSort",0
_cstring_closeingame:		db "closeingame",0
_cstring_votekick:		db "voteKick",0
_cstring_callvote_kick_s:		db "callvote kick ",22h,"%s",22h,0ah,0
_cstring_votetempban:		db "voteTempBan",0
_cstring_callvote_tempban:		db "callvote tempBanUser ",22h,"%s",22h,0ah,0
_cstring_addfavorite:		db "addFavorite",0
_cstring_deletefavorite:		db "deleteFavorite",0
_cstring_createfavorite:		db "createFavorite",0
_cstring_default:		db "default",0
_cstring_ui_favoriteaddre:		db "ui_favoriteAddress",0
_cstring_update:		db "update",0
_cstring_ui_setname:		db "ui_SetName",0
_cstring_ui_name:		db "ui_Name",0
_cstring_name:		db "name",0
_cstring_setpbclstatus:		db "setPbClStatus",0
_cstring_ui_getname:		db "ui_GetName",0
_cstring_startsingleplaye:		db "startSingleplayer",0
_cstring_startsingleplaye1:		db "startSingleplayer",0ah,0
_cstring_ui_setrate:		db "ui_setRate",0
_cstring_rate:		db "rate",0
_cstring_cl_maxpackets:		db "cl_maxpackets",0
_cstring_cl_packetdup:		db "cl_packetdup",0
_cstring_getlanguage:		db "getLanguage",0
_cstring_verifylanguage:		db "verifyLanguage",0
_cstring_ui_mousepitch:		db "ui_mousePitch",0
_cstring_m_pitch:		db "m_pitch",0
_cstring_updatelanguage:		db "updateLanguage",0
_cstring_muteplayer:		db "mutePlayer",0
_cstring_openmenuondvar:		db "openMenuOnDvar",0
_cstring_openmenuondvarno:		db "openMenuOnDvarNot",0
_cstring_closemenuondvar:		db "closeMenuOnDvar",0
_cstring_s_cannot_find_dv:		db "%s: cannot find dvar %s",0ah,0
_cstring_closemenuondvarn:		db "closeMenuOnDvarNot",0
_cstring_setrecommended:		db "setRecommended",0
_cstring_clearloaderrorss:		db "clearLoadErrorsSummary",0
_cstring_unknown_ui_scrip:		db "unknown UI script %s in block:",0ah,"%s",0ah,0
_cstring_endofgame:		db "endofgame",0
_cstring_badcd:		db "badcd",0
_cstring_needcd:		db "needcd",0
_cstring_quickmessage:		db "quickmessage",0
_cstring_scoreboard:		db "scoreboard",0
_cstring_pregame_loaderro:		db "pregame_loaderror_mp",0
_cstring_2:		db ";",0
_cstring_error_popmenu:		db "error_popmenu",0
_cstring_ping:		db "ping",0
_cstring_mp_muted:		db "MP_MUTED",0
_cstring_x:		db "X",0
_cstring_3:		db 3fh,0
_cstring_voice:		db "voice",0
_cstring_s_s1:		db "%s (%s)",0
_cstring_4:		db "...",0
_cstring_ui_mpingametxt:		db "ui_mp/ingame.txt",0
_cstring_connect:		db "connect",0
_cstring_localhost:		db "localhost",0
_cstring_mod_s:		db "Mod: %s",0
_cstring_exe_awaitingchal:		db "EXE_AWAITINGCHALLENGE",0
_cstring_exe_awaitinghost:		db "EXE_AWAITINGHOST",0
_cstring_exe_uploadingsta:		db "EXE_UPLOADINGSTATS",0
_cstring_exe_awaitinggame:		db "EXE_AWAITINGGAMESTATE",0
_cstring____:		db "   ",0
_cstring_ss1:		db "%s%s",0
_cstring_exe_awaitingconn:		db "EXE_AWAITINGCONNECTION",0
_cstring__:		db ".. ",0
_cstring___:		db ".  ",0
_cstring_no_active_maps_f:		db "No active maps found for gametype ",27h,"%s",27h,".",0
_cstring_5:		db "&&",0
_cstring_could_not_transl:		db "Could not translate string ",22h,"%s",22h,0
_cstring_171:		db "^1)^7",0
_cstring_warning_could_no:		db "WARNING: Could not translate string ",22h,"%s",22h,0ah,0
_cstring_usage_selectstri:		db "usage: selectStringTableEntryInDvar <tableFileName> <columnNum> <dvarName>",0
_cstring_custom_game_mode:		db "Custom game mode name",0
_cstring_ui_custommodenam:		db "ui_customModeName",0
_cstring_name_to_give_the:		db "Name to give the currently edited custom game mode when editing is complete",0
_cstring_ui_custommodeedi:		db "ui_customModeEditName",0
_cstring_custom_class_nam:		db "Custom Class name",0
_cstring_ui_customclassna:		db "ui_customClassName",0
_cstring_g_allowvote:		db "g_allowvote",0
_cstring_cg_brass:		db "cg_brass",0
_cstring_fx_marks:		db "fx_marks",0
_cstring_server_display:		db "Server display",0
_cstring_server1:		db "server1",0
_cstring_server2:		db "server2",0
_cstring_server3:		db "server3",0
_cstring_server4:		db "server4",0
_cstring_server5:		db "server5",0
_cstring_server6:		db "server6",0
_cstring_server7:		db "server7",0
_cstring_server8:		db "server8",0
_cstring_server9:		db "server9",0
_cstring_server10:		db "server10",0
_cstring_server11:		db "server11",0
_cstring_server12:		db "server12",0
_cstring_server13:		db "server13",0
_cstring_server14:		db "server14",0
_cstring_server15:		db "server15",0
_cstring_server16:		db "server16",0
_cstring_the_network_sour:		db "The network source where:",0ah,"  0:Local",0ah,"  1:Internet",0ah,"  2:Favourites",0
_cstring_ui_netsource:		db "ui_netSource",0
_cstring_small_font_scale:		db "Small font scale",0
_cstring_ui_smallfont:		db "ui_smallFont",0
_cstring_big_font_scale:		db "Big font scale",0
_cstring_ui_bigfont:		db "ui_bigFont",0
_cstring_extra_big_font_s:		db "Extra big font scale",0
_cstring_ui_extrabigfont:		db "ui_extraBigFont",0
_cstring_current_map_inde:		db "Current map index",0
_cstring_ui_currentmap:		db "ui_currentMap",0
_cstring_game_type:		db "Game type",0
_cstring_ui_gametype:		db "ui_gametype",0
_cstring_game_join_type:		db "Game join type",0
_cstring_ui_joingametype:		db "ui_joinGametype",0
_cstring_displayed_game_t:		db "Displayed game type name",0
_cstring_ui_netgametypena:		db "ui_netGametypeName",0
_cstring_true_if_this_is_:		db "True if this is a dedicated server",0
_cstring_ui_dedicated:		db "ui_dedicated",0
_cstring_currently_runnin:		db "Currently running map",0
_cstring_ui_currentnetmap:		db "ui_currentNetMap",0
_cstring_show_full_server:		db "Show full servers",0
_cstring_ui_browsershowfu:		db "ui_browserShowFull",0
_cstring_show_empty_serve:		db "Show empty servers",0
_cstring_ui_browsershowem:		db "ui_browserShowEmpty",0
_cstring_show_servers_tha:		db "Show servers that are password protected",0
_cstring_ui_browsershowpa:		db "ui_browserShowPassword",0
_cstring_show_pure_server:		db "Show pure servers only",0
_cstring_ui_browsershowpu:		db "ui_browserShowPure",0
_cstring_ui_mod_value:		db "UI Mod value",0
_cstring_ui_browsermod:		db "ui_browserMod",0
_cstring_show_dedicated_s:		db "Show dedicated servers only",0
_cstring_ui_browsershowde:		db "ui_browserShowDedicated",0
_cstring_friendly_fire_is:		db "Friendly fire is active",0
_cstring_ui_browserfriend:		db "ui_browserFriendlyfire",0
_cstring_kill_cam_is_acti:		db "Kill cam is active",0
_cstring_ui_browserkillca:		db "ui_browserKillcam",0
_cstring_hardcore_mode:		db "Hardcore mode",0
_cstring_ui_browserhardco:		db "ui_browserHardcore",0
_cstring_oldschool_mode:		db "Oldschool mode",0
_cstring_ui_browseroldsch:		db "ui_browserOldSchool",0
_cstring_time_in_millisec:		db "Time in milliseconds before a server status request times out",0
_cstring_ui_serverstatust:		db "ui_serverStatusTimeOut",0
_cstring_only_show_punkbu:		db "Only show PunkBuster servers",3fh,0
_cstring_ui_browsershowpu1:		db "ui_browserShowPunkBuster",0
_cstring_number_of_player:		db "Number of player profiles",0
_cstring_ui_playerprofile:		db "ui_playerProfileCount",0
_cstring_selected_player_:		db "Selected player profile name",0
_cstring_ui_playerprofile1:		db "ui_playerProfileSelected",0
_cstring_new_player_profi:		db "New player profile name",0
_cstring_ui_playerprofile2:		db "ui_playerProfileNameNew",0
_cstring_where_to_draw_th:		db "Where to draw the build number",0
_cstring_ui_buildlocation:		db "ui_buildLocation",0
_cstring_font_size_to_use:		db "Font size to use for the build number",0
_cstring_ui_buildsize:		db "ui_buildSize",0
_cstring_show_onscreen_li:		db "Show onscreen list of currently visible menus",0
_cstring_ui_showlist:		db "ui_showList",0
_cstring_if_set_only_menu:		db "If set, only menus using this name will draw.",0
_cstring_ui_showmenuonly:		db "ui_showMenuOnly",0
_cstring_currently_showin:		db "Currently showing the end of game menu.",0
_cstring_ui_showendofgame:		db "ui_showEndOfGame",0
_cstring_scales_the_borde:		db "Scales the border color for the lowlight color on certain UI borders",0
_cstring_ui_borderlowligh:		db "ui_borderLowLightScale",0
_cstring_shows_cinematics:		db "Shows cinematics timestamp on subtitle UI elements.",0
_cstring_ui_cinematicstim:		db "ui_cinematicsTimestamp",0
_cstring_glow_color_appli:		db "Glow color applied to the mode and map name strings on the connect screen.",0
_cstring_ui_connectscreen:		db "ui_connectScreenTextGlowColor",0
_cstring_whether_to_draw_:		db "Whether to draw crosshairs.",0
_cstring_ui_drawcrosshair:		db "ui_drawCrosshair",0
_cstring_whether_the_hud_:		db "Whether the HUD should be suppressed for hardcore mode",0
_cstring_ui_hud_hardcore:		db "ui_hud_hardcore",0
_cstring_whether_the_ui_s:		db "Whether the UI should show UAV to allies",0
_cstring_ui_uav_allies:		db "ui_uav_allies",0
_cstring_whether_the_ui_s1:		db "Whether the UI should show UAV to axis",0
_cstring_ui_uav_axis:		db "ui_uav_axis",0
_cstring_whether_the_ui_s2:		db "Whether the UI should show UAV to this client",0
_cstring_ui_uav_client:		db "ui_uav_client",0
_cstring_whether_the_ui_s3:		db "Whether the UI should allow changing class",0
_cstring_ui_allow_classch:		db "ui_allow_classchange",0
_cstring_whether_the_ui_s4:		db "Whether the UI should allow changing team",0
_cstring_ui_allow_teamcha:		db "ui_allow_teamchange",0
_cstring_ui_netgametype:		db "ui_netGametype",0
_cstring_white:		db "white",0
_cstring_ui_scrollbar:		db "ui_scrollbar",0
_cstring_ui_scrollbar_arr:		db "ui_scrollbar_arrow_dwn_a",0
_cstring_ui_scrollbar_arr1:		db "ui_scrollbar_arrow_up_a",0
_cstring_ui_scrollbar_arr2:		db "ui_scrollbar_arrow_left",0
_cstring_ui_scrollbar_arr3:		db "ui_scrollbar_arrow_right",0
_cstring_ui_scrollbar_thu:		db "ui_scrollbar_thumb",0
_cstring_ui_slider2:		db "ui_slider2",0
_cstring_ui_sliderbutt_1:		db "ui_sliderbutt_1",0
_cstring_ui_cursor:		db "ui_cursor",0
_cstring_fontsbigfont:		db "fonts/bigfont",0
_cstring_fontssmallfont:		db "fonts/smallfont",0
_cstring_fontsconsolefont:		db "fonts/consolefont",0
_cstring_fontsboldfont:		db "fonts/boldfont",0
_cstring_fontsnormalfont:		db "fonts/normalfont",0
_cstring_fontsextrabigfon:		db "fonts/extrabigfont",0
_cstring_fontsobjectivefo:		db "fonts/objectivefont",0
_cstring_server_hardware_:		db "server_hardware_unknown",0
_cstring_server_hardware_1:		db "server_hardware_linux_dedicated",0
_cstring_server_hardware_2:		db "server_hardware_win_dedicated",0
_cstring_server_hardware_3:		db "server_hardware_mac_dedicated",0
_cstring_server_hardware_4:		db "server_hardware_win_listen",0
_cstring_server_hardware_5:		db "server_hardware_mac_listen",0
_cstring_true_if_the_game:		db "True if the game is multiplayer",0
_cstring_ui_multiplayer:		db "ui_multiplayer",0
_cstring_spam_debug_info_:		db "spam debug info for the ui script",0
_cstring_uiscript_debug:		db "uiscript_debug",0
_cstring_ui_mpmenustxt:		db "ui_mp/menus.txt",0
_cstring_mapsmpscsv:		db "maps/mp/%s.csv",0
_cstring_ui_mpcodetxt:		db "ui_mp/code.txt",0
_cstring_uimenu_wm_quickm:		db "UIMENU_WM_QUICKMESSAGE",0
_cstring_s_load:		db "%s_load",0
_cstring_exe_month_abv_ja:		db "EXE_MONTH_ABV_JANUARY",0
_cstring_exe_month_abv_fe:		db "EXE_MONTH_ABV_FEBRUARY",0
_cstring_exe_month_abv_ma:		db "EXE_MONTH_ABV_MARCH",0
_cstring_exe_month_abv_ap:		db "EXE_MONTH_ABV_APRIL",0
_cstring_exe_month_abv_ma1:		db "EXE_MONTH_ABV_MAY",0
_cstring_exe_month_abv_ju:		db "EXE_MONTH_ABV_JUN",0
_cstring_exe_month_abv_ju1:		db "EXE_MONTH_ABV_JULY",0
_cstring_exe_month_abv_au:		db "EXE_MONTH_ABV_AUGUST",0
_cstring_exe_month_abv_se:		db "EXE_MONTH_ABV_SEPTEMBER",0
_cstring_exe_month_abv_oc:		db "EXE_MONTH_ABV_OCTOBER",0
_cstring_exe_month_abv_no:		db "EXE_MONTH_ABV_NOVEMBER",0
_cstring_exe_month_abv_de:		db "EXE_MONTH_ABV_DECEMBER",0
_cstring_exe_local:		db "EXE_LOCAL",0
_cstring_exe_internet:		db "EXE_INTERNET",0
_cstring_exe_favorites:		db "EXE_FAVORITES",0
_cstring_sv_hostname:		db "sv_hostname",0
_cstring_exe_sv_info_serv:		db "@EXE_SV_INFO_SERVERNAME",0
_cstring_exe_sv_info_addr:		db "@EXE_SV_INFO_ADDRESS",0
_cstring_exe_sv_info_pass:		db "@EXE_SV_INFO_PASSWORD",0
_cstring_gamename:		db "gamename",0
_cstring_exe_sv_info_game:		db "@EXE_SV_INFO_GAMENAME",0
_cstring_exe_sv_info_game1:		db "@EXE_SV_INFO_GAMETYPE",0
_cstring_sv_pure:		db "sv_pure",0
_cstring_exe_sv_info_pure:		db "@EXE_SV_INFO_PURE",0
_cstring_exe_sv_info_map:		db "@EXE_SV_INFO_MAP",0
_cstring_shortversion:		db "shortversion",0
_cstring_exe_sv_info_vers:		db "@EXE_SV_INFO_VERSION",0
_cstring_protocol:		db "protocol",0
_cstring_exe_sv_info_prot:		db "@EXE_SV_INFO_PROTOCOL",0
_cstring_sv_maxping:		db "sv_maxping",0
_cstring_exe_sv_info_maxp:		db "@EXE_SV_INFO_MAXPING",0
_cstring_sv_minping:		db "sv_minping",0
_cstring_exe_sv_info_minp:		db "@EXE_SV_INFO_MINPING",0
_cstring_sv_maxrate:		db "sv_maxrate",0
_cstring_exe_sv_info_maxr:		db "@EXE_SV_INFO_MAXRATE",0
_cstring_sv_floodprotect:		db "sv_floodprotect",0
_cstring_exe_sv_info_floo:		db "@EXE_SV_INFO_FLOODPROTECT",0
_cstring_sv_allowanonymou:		db "sv_allowanonymous",0
_cstring_exe_sv_info_allo:		db "@EXE_SV_INFO_ALLOWANON",0
_cstring_exe_sv_info_maxc:		db "@EXE_SV_INFO_MAXCLIENTS",0
_cstring_sv_privateclient:		db "sv_privateclients",0
_cstring_exe_sv_info_priv:		db "@EXE_SV_INFO_PRIVATECLIENTS",0
_cstring_scr_friendlyfire:		db "scr_friendlyFire",0
_cstring_exe_sv_info_frie:		db "@EXE_SV_INFO_FRIENDLY_FIRE",0
_cstring_exe_sv_info_mod:		db "@EXE_SV_INFO_MOD",0
_cstring_menu_mods:		db "@MENU_MODS",0
_cstring_scr_killcam:		db "scr_killcam",0
_cstring_exe_sv_info_kill:		db "@EXE_SV_INFO_KILLCAM",0
_cstring_g_antilag:		db "g_antilag",0
_cstring_exe_sv_info_anti:		db "@EXE_SV_INFO_ANTILAG",0
_cstring_g_compassshowene:		db "g_compassShowEnemies",0
_cstring_exe_sv_info_comp:		db "@EXE_SV_INFO_COMPASS_ENEMIES",0
_cstring_sv_voice:		db "sv_voice",0
_cstring_exe_sv_info_voic:		db "@EXE_SV_INFO_VOICE",0
_cstring_mpui_punkbuster:		db "@MPUI_PUNKBUSTER",0
_cstring_sv_disableclient:		db "sv_disableClientConsole",0
_cstring_exe_sv_info_clie:		db "@EXE_SV_INFO_CLIENT_CONSOLE",0



;All constant floats and doubles:
SECTION .rdata
_float_184_00000000:		dd 0x43380000	; 184
_float_185_00000000:		dd 0x43390000	; 185
_float_186_00000000:		dd 0x433a0000	; 186
_float_640_00000000:		dd 0x44200000	; 640
_float_164_00000000:		dd 0x43240000	; 164
_float_165_00000000:		dd 0x43250000	; 165
_float_166_00000000:		dd 0x43260000	; 166
_float_210_00000000:		dd 0x43520000	; 210
_float_235_00000000:		dd 0x436b0000	; 235
_float_260_00000000:		dd 0x43820000	; 260
_float_430_00000000:		dd 0x43d70000	; 430
_float_100_00000000:		dd 0x42c80000	; 100
_float_340_00000000:		dd 0x43aa0000	; 340
_float_0_20000000:		dd 0x3e4ccccd	; 0.2
_float_320_00000000:		dd 0x43a00000	; 320
_float_32_00000000:		dd 0x42000000	; 32
_float__0_50000000:		dd 0xbf000000	; -0.5
_float__2_00000000:		dd 0xc0000000	; -2
_float_0_50000000:		dd 0x3f000000	; 0.5
_float_0_80000001:		dd 0x3f4ccccd	; 0.8
_double_0_50000000:		dq 0x3fe0000000000000	; 0.5
_float_2_00000000:		dd 0x40000000	; 2
_float_480_00000000:		dd 0x43f00000	; 480
_float_4_00000000:		dd 0x40800000	; 4
_float_9_00000000:		dd 0x41100000	; 9
_float_13_00000000:		dd 0x41500000	; 13
_float_7_00000000:		dd 0x40e00000	; 7
_float_39_00000000:		dd 0x421c0000	; 39
_float_20_00000000:		dd 0x41a00000	; 20
_float_24_00000000:		dd 0x41c00000	; 24
_float_29_00000000:		dd 0x41e80000	; 29
_float_1_00000000:		dd 0x3f800000	; 1
_float_299_00000000:		dd 0x43958000	; 299
_float_22_00000000:		dd 0x41b00000	; 22
_float_32767_00000000:		dd 0x46fffe00	; 32767
_float__1_33333337:		dd 0xbfaaaaab	; -1.33333
_float_0_00000000:		dd 0x0	; 0

