;Imports of cg_draw_mp:
	extern cgArray
	extern _Z14CG_Flashbangedi
	extern vec3_origin
	extern _Z15CG_TraceCapsuleP7trace_tPKfS2_S2_S2_ii
	extern _Z20Trace_GetEntityHitIdPK7trace_t
	extern cg_friendlyNameFadeOut
	extern cg_entitiesArray
	extern _Z15BG_GetWeaponDefj
	extern cg_enemyNameFadeOut
	extern _Z22FX_GetClientVisibilityiPKfS0_
	extern cg_chatHeight
	extern _Z24CG_IsScoreboardDisplayedi
	extern cg_hudChatIntermissionPosition
	extern cgsArray
	extern cg_chatTime
	extern scrPlaceView
	extern _Z16UI_GetFontHandlePK15ScreenPlacementif
	extern _Z12UI_TextWidthPKciP6Font_sf
	extern cgMedia
	extern _Z16UI_DrawHandlePicPK15ScreenPlacementffffiiPKfP8Material
	extern _Z11UI_DrawTextPK15ScreenPlacementPKciP6Font_sffiifPKfi
	extern cg_hudChatPosition
	extern _Z14CL_LookupColorihPf
	extern cg_overheadNamesFont
	extern _Z17Com_GetClientDObjii
	extern scr_const
	extern _Z21CG_DObjGetWorldTagPosPK7cpose_tP6DObj_sjPf
	extern _Z16CL_GetClientNameiiPci
	extern _Z14Com_PrintErroriPKcz
	extern _Z20CG_RelativeTeamColoriPKcPfi
	extern cg_overheadNamesNearDist
	extern cg_overheadNamesSize
	extern _Z21R_NormalizedTextScaleP6Font_sf
	extern _Z11R_TextWidthPKciP6Font_s
	extern floorf
	extern cg_overheadNamesGlow
	extern _Z21Dvar_GetUnpackedColorPK6dvar_sPf
	extern _Z30CL_DrawTextPhysicalWithEffectsPKciP6Font_sffffPKfiS4_P8MaterialS6_iiii
	extern _Z14CL_GetRankIconiiPP8Material
	extern _Z12R_TextHeightP6Font_s
	extern cg_overheadIconSize
	extern cg_overheadRankSize
	extern _Z14CL_GetRankDatai18rankTableColumns_t
	extern _Z25CL_DrawStretchPicPhysicalffffffffPKfP8Material
	extern _Z19CL_DrawTextPhysicalPKciP6Font_sffffPKfi
	extern cg_overheadNamesFarDist
	extern cg_overheadNamesFarScale
	extern cg_drawCrosshairNames
	extern cg_enemyNameFadeIn
	extern cg_friendlyNameFadeIn
	extern cg_drawFriendlyNames
	extern cg_drawThroughWalls
	extern cg_overheadNamesMaxDist
	extern _Z25CL_SetFOVSensitivityScaleif
	extern _Z22CL_SetUserCmdAimValuesiPKf
	extern _Z27BG_AssertOffhandIndexOrNonei
	extern _Z20CL_SetUserCmdWeaponsiii
	extern _Z18CL_SetExtraButtonsii
	extern _Z14CL_RenderScenePK8refdef_s
	extern cg_centertime
	extern _Z12CG_FadeColoriiii
	extern memset
	extern _Z30CG_AddAllPlayerSpriteDrawSurfsi
	extern _Z28CG_AddDrawSurfsFor3dHudElemsi
	extern _Z28CG_AddLocalEntityTracerBeamsi
	extern _Z26CG_TranslateHudElemMessageiPKcS0_Pc
	extern _Z10I_strncpyzPcPKci
	extern cg_draw2D
	extern net_showprofile
	extern _Z16CG_ShouldDrawHudi
	extern ui_showEndOfGame
	extern _Z22CG_CompassUpdateActorsi
	extern _Z17CG_DrawScoreboardi
	extern _Z18CG_DrawFlashDamagePK4cg_s
	extern _Z32CG_DrawDamageDirectionIndicatorsi
	extern _Z24CG_DrawGrenadeIndicatorsi
	extern cg_drawSpectatorMessages
	extern cg_descriptiveText
	extern _Z23SEH_LocalizeTextMessagePKcS0_15msgLocErrType_t
	extern _Z25CL_IsRenderingSplitScreenv
	extern colorWhite
	extern cg_hudVotePosition
	extern _Z31UI_GetKeyBindingLocalizedStringiPKcPc
	extern _Z22UI_SafeTranslateStringPKc
	extern _Z2vaPKcz
	extern colorYellow
	extern _Z16CG_DrawLagometeri
	extern _Z20CG_DrawDebugOverlaysi
	extern cg_minicon
	extern _Z14Con_DrawErrorsiiif
	extern cg_hudSayPosition
	extern _Z11Con_DrawSayiii
	extern _Z25CG_DrawNightVisionOverlayi
	extern _Z22CL_GetCurrentCmdNumberi
	extern _Z13CL_GetUserCmdiiP9usercmd_s
	extern _Z17CG_MenuShowNotifyii
	extern _Z19CG_CalcPlayerHealthPK13playerState_s
	extern hud_health_startpulse_injured
	extern hud_fade_healthbar
	extern _Z24CG_CheckPlayerForLowAmmoPK4cg_s
	extern _Z24CG_CheckPlayerForLowClipPK4cg_s
	extern hud_fade_ammodisplay
	extern hud_fade_compass
	extern hud_fade_stance
	extern hud_fade_offhand
	extern _Z19BG_GetMaxSprintTimePK13playerState_s
	extern _Z16PM_GetSprintLeftPK13playerState_si
	extern hud_fade_sprint
	extern _Z17CG_Draw2dHudElemsii
	extern _Z12Dvar_SetBoolPK6dvar_sh
	extern cgDC
	extern _Z17Menus_CloseByNameP9UiContextPKc
	extern _Z16UI_GetActiveMenui
	extern _Z19Con_DrawMiniConsoleiiif
	extern _Z28CL_GetLocalClientActiveCountv
	extern _Z16Menus_HideByNamePK9UiContextPKc
	extern _Z16CG_DrawCrosshairi
	extern _Z13Menu_PaintAllP9UiContext
	extern _Z16UI_SetActiveMenuii
	extern _Z19Key_IsCatcherActiveii
	extern _Z13UI_TextHeightP6Font_sf
	extern _Z26UI_ReplaceConversionStringPKcS0_
	extern _Z23UI_GetTopActiveMenuNamei
	extern _Z11Com_sprintfPciPKcz

;Exports of cg_draw_mp:
	global overheadFade
	global s_centerPrint
	global _Z25CG_ScanForCrosshairEntityi
	global _Z19CG_DrawChatMessagesi
	global _Z20CG_DrawOverheadNamesiPK9centity_sf
	global _Z21CG_DrawCrosshairNamesi
	global _Z20CG_DrawFriendlyNamesi
	global _Z13CG_DrawActivei
	global _Z19CG_ClearCenterPrinti
	global _Z19CG_DrawCenterStringiPK9rectDef_sP6Font_sfPfi
	global _Z20CG_ClearOverheadFadev
	global _Z21CG_GenerateSceneVertsi
	global _Z22CG_AddSceneTracerBeamsi
	global _Z22CG_PriorityCenterPrintiPKci
	global _Z9CG_Draw2Di


SECTION .text


;CG_ScanForCrosshairEntity(int)
_Z25CG_ScanForCrosshairEntityi:
	push ebp
	mov ebp, esp
	push edi
	push esi
	push ebx
	sub esp, 0xbc
	mov [ebp-0x78], eax
	mov esi, cgArray
	and dword [esi+0x4614c], 0xffffffe7
	mov [esp], eax
	call _Z14CG_Flashbangedi
	test al, al
	jz _Z25CG_ScanForCrosshairEntityi_10
_Z25CG_ScanForCrosshairEntityi_20:
	add esp, 0xbc
	pop ebx
	pop esi
	pop edi
	pop ebp
	ret
_Z25CG_ScanForCrosshairEntityi_10:
	mov eax, [esi+0x492e0]
	mov [ebp-0x24], eax
	mov eax, [esi+0x492e4]
	mov [ebp-0x20], eax
	movss xmm2, dword [esi+0x492e8]
	movss [ebp-0x1c], xmm2
	movss xmm1, dword [_float_8192_00000000]
	movss xmm0, dword [esi+0x492ec]
	mulss xmm0, xmm1
	addss xmm0, [ebp-0x24]
	movss [ebp-0x30], xmm0
	movss xmm0, dword [esi+0x492f0]
	mulss xmm0, xmm1
	addss xmm0, [ebp-0x20]
	movss [ebp-0x2c], xmm0
	mulss xmm1, [esi+0x492f4]
	addss xmm2, xmm1
	movss [ebp-0x28], xmm2
	mov dword [esp+0x18], 0x2803001
	mov eax, [esi+0x24]
	mov eax, [eax+0xe8]
	mov [esp+0x14], eax
	lea eax, [ebp-0x30]
	mov [esp+0x10], eax
	mov eax, vec3_origin
	mov [esp+0xc], eax
	mov [esp+0x8], eax
	lea eax, [ebp-0x24]
	mov [esp+0x4], eax
	lea ebx, [ebp-0x68]
	mov [esp], ebx
	call _Z15CG_TraceCapsuleP7trace_tPKfS2_S2_S2_ii
	mov [esp], ebx
	call _Z20Trace_GetEntityHitIdPK7trace_t
	mov edi, eax
	cmp ax, 0x3f
	ja _Z25CG_ScanForCrosshairEntityi_20
	mov eax, cg_friendlyNameFadeOut
	mov eax, [eax]
	mov eax, [eax+0xc]
	mov [ebp-0x70], eax
	mov edx, [esi+0x24]
	mov [ebp-0x6c], edx
	mov edx, [edx+0xe8]
	lea eax, [edx+edx*8]
	mov ecx, eax
	shl ecx, 0x4
	add eax, ecx
	lea eax, [edx+eax*2]
	mov ebx, [esi+eax*4+0xe9f50]
	cmp ebx, 0x3
	jz _Z25CG_ScanForCrosshairEntityi_30
	mov eax, [esi+0x502f8]
	lea edx, [eax+eax*8]
	mov ecx, edx
	shl ecx, 0x4
	add edx, ecx
	lea edx, [eax+edx*2]
	cmp ebx, [esi+edx*4+0xe9f50]
	jz _Z25CG_ScanForCrosshairEntityi_40
_Z25CG_ScanForCrosshairEntityi_70:
	movzx eax, di
	lea edx, [eax*4]
	shl eax, 0x5
	sub eax, edx
	mov edx, eax
	shl edx, 0x4
	add eax, edx
	add eax, cg_entitiesArray
	lea edx, [eax+0x1c]
	movss xmm0, dword [eax+0x1c]
	subss xmm0, [ebp-0x24]
	movss xmm2, dword [edx+0x4]
	subss xmm2, [ebp-0x20]
	movss xmm3, dword [edx+0x8]
	subss xmm3, [ebp-0x1c]
	mov edx, [ebp-0x6c]
	mov eax, [edx+0xf4]
	mov [esp], eax
	movss [ebp-0x88], xmm0
	movss [ebp-0x98], xmm2
	movss [ebp-0xa8], xmm3
	call _Z15BG_GetWeaponDefj
	movss xmm1, dword [eax+0x410]
	movss xmm0, dword [ebp-0x88]
	mulss xmm0, xmm0
	movss xmm2, dword [ebp-0x98]
	mulss xmm2, xmm2
	addss xmm0, xmm2
	movss xmm3, dword [ebp-0xa8]
	mulss xmm3, xmm3
	addss xmm0, xmm3
	mulss xmm1, xmm1
	ucomiss xmm0, xmm1
	ja _Z25CG_ScanForCrosshairEntityi_20
	or dword [esi+0x4614c], 0x10
	mov eax, cg_enemyNameFadeOut
	mov eax, [eax]
	mov eax, [eax+0xc]
	mov [ebp-0x70], eax
_Z25CG_ScanForCrosshairEntityi_30:
	movss xmm2, dword [ebp-0x68]
	movss xmm1, dword [ebp-0x24]
	movss xmm0, dword [ebp-0x30]
	subss xmm0, xmm1
	mulss xmm0, xmm2
	addss xmm1, xmm0
	movss [ebp-0x3c], xmm1
	movss xmm1, dword [ebp-0x20]
	movss xmm0, dword [ebp-0x2c]
	subss xmm0, xmm1
	mulss xmm0, xmm2
	addss xmm1, xmm0
	movss [ebp-0x38], xmm1
	movss xmm1, dword [ebp-0x1c]
	movss xmm0, dword [ebp-0x28]
	subss xmm0, xmm1
	mulss xmm2, xmm0
	addss xmm1, xmm2
	movss [ebp-0x34], xmm1
	lea eax, [ebp-0x3c]
	mov [esp+0x8], eax
	lea eax, [ebp-0x24]
	mov [esp+0x4], eax
	mov edx, [ebp-0x78]
	mov [esp], edx
	call _Z22FX_GetClientVisibilityiPKfS0_
	fstp dword [ebp-0x74]
	movss xmm0, dword [ebp-0x74]
	ucomiss xmm0, [_float_0_20000000]
	jp _Z25CG_ScanForCrosshairEntityi_50
	jb _Z25CG_ScanForCrosshairEntityi_20
_Z25CG_ScanForCrosshairEntityi_50:
	movzx ebx, di
	mov edx, cgArray
	cmp [edx+0x502f8], ebx
	jz _Z25CG_ScanForCrosshairEntityi_60
	mov ecx, [edx+0x46128]
_Z25CG_ScanForCrosshairEntityi_80:
	mov [edx+0x502f8], ebx
	mov [edx+0x50300], ecx
	mov eax, [edx+0x46128]
_Z25CG_ScanForCrosshairEntityi_90:
	mov [edx+0x502fc], eax
	add esp, 0xbc
	pop ebx
	pop esi
	pop edi
	pop ebp
	ret
_Z25CG_ScanForCrosshairEntityi_40:
	test ebx, ebx
	jz _Z25CG_ScanForCrosshairEntityi_70
	or dword [esi+0x4614c], 0x8
	jmp _Z25CG_ScanForCrosshairEntityi_30
_Z25CG_ScanForCrosshairEntityi_60:
	mov ecx, [edx+0x46128]
	mov eax, ecx
	sub eax, [edx+0x502fc]
	cmp [ebp-0x70], eax
	jl _Z25CG_ScanForCrosshairEntityi_80
	mov eax, ecx
	jmp _Z25CG_ScanForCrosshairEntityi_90


;CG_DrawChatMessages(int)
_Z19CG_DrawChatMessagesi:
	push ebp
	mov ebp, esp
	push edi
	push esi
	push ebx
	sub esp, 0x8c
	mov [ebp-0x5c], eax
	mov eax, cg_chatHeight
	mov eax, [eax]
	mov eax, [eax+0xc]
	mov [ebp-0x4c], eax
	test eax, eax
	jnz _Z19CG_DrawChatMessagesi_10
_Z19CG_DrawChatMessagesi_50:
	add esp, 0x8c
	pop ebx
	pop esi
	pop edi
	pop ebp
	ret
_Z19CG_DrawChatMessagesi_10:
	mov eax, [ebp-0x5c]
	mov [esp], eax
	call _Z24CG_IsScoreboardDisplayedi
	test eax, eax
	jz _Z19CG_DrawChatMessagesi_20
	mov eax, cg_hudChatIntermissionPosition
	mov eax, [eax]
_Z19CG_DrawChatMessagesi_150:
	cvttss2si edx, [eax+0xc]
	mov [ebp-0x3c], edx
	cvttss2si esi, [eax+0x10]
	mov ecx, cgsArray
	cmp dword [ecx+0xc], 0x300
	jle _Z19CG_DrawChatMessagesi_30
	movss xmm0, dword [_float_10_00000000]
	movss [ebp-0x38], xmm0
	movss xmm1, dword [_float_0_20833333]
	movss [ebp-0x30], xmm1
_Z19CG_DrawChatMessagesi_140:
	mov eax, cgsArray
	cmp dword [eax+0x8], 0x300
	jle _Z19CG_DrawChatMessagesi_40
	movss xmm0, dword [_float_8_00000000]
	movss [ebp-0x34], xmm0
_Z19CG_DrawChatMessagesi_130:
	mov eax, cgsArray
	mov ecx, [eax+0x13b4]
	cmp ecx, [eax+0x13b0]
	jz _Z19CG_DrawChatMessagesi_50
	mov ebx, eax
	mov eax, cgArray
	mov eax, [eax+0x46128]
	mov [ebp-0x50], eax
	mov eax, ecx
	cdq
	idiv dword [ebp-0x4c]
	mov eax, [ebp-0x50]
	sub eax, [ebx+edx*4+0x1390]
	mov edx, eax
	mov eax, cg_chatTime
	mov eax, [eax]
	cmp edx, [eax+0xc]
	jg _Z19CG_DrawChatMessagesi_60
_Z19CG_DrawChatMessagesi_160:
	mov eax, [ebp-0x5c]
	shl eax, 0x6
	mov edx, [ebp-0x5c]
	lea edi, [eax+edx*4]
	add edi, scrPlaceView
	movss xmm0, dword [ebp-0x30]
	movss [esp+0x8], xmm0
	mov dword [esp+0x4], 0x0
	mov [esp], edi
	call _Z16UI_GetFontHandlePK15ScreenPlacementif
	mov [ebp-0x40], eax
	mov eax, cgsArray
	mov ebx, [eax+0x13b0]
	sub ebx, 0x1
	cmp ebx, [eax+0x13b4]
	jl _Z19CG_DrawChatMessagesi_50
	movss xmm0, dword [ebp-0x34]
	mulss xmm0, [_float_3_00000000]
	movss [ebp-0x54], xmm0
	cvtsi2ss xmm1, esi
	movss [ebp-0x58], xmm1
	mov ecx, cgsArray
	jmp _Z19CG_DrawChatMessagesi_70
_Z19CG_DrawChatMessagesi_100:
	movss xmm0, dword [_float_1_00000000]
	movss [ebp-0x44], xmm0
	movss xmm1, dword [_float_0_60000002]
	movss [ebp-0x2c], xmm1
_Z19CG_DrawChatMessagesi_120:
	lea eax, [edx+edx*4]
	shl eax, 0x5
	mov edx, cgsArray
	lea esi, [eax+edx+0xe90]
	test esi, esi
	jz _Z19CG_DrawChatMessagesi_80
	cmp byte [esi], 0x5e
	jz _Z19CG_DrawChatMessagesi_90
_Z19CG_DrawChatMessagesi_80:
	mov dword [ebp-0x28], 0x3f800000
	mov dword [ebp-0x24], 0x3f800000
	mov dword [ebp-0x20], 0x3f800000
_Z19CG_DrawChatMessagesi_170:
	movss xmm0, dword [ebp-0x28]
	mulss xmm0, [_float_0_25000000]
	movss [ebp-0x28], xmm0
	movss xmm0, dword [ebp-0x24]
	mulss xmm0, [_float_0_25000000]
	movss [ebp-0x24], xmm0
	movss xmm0, dword [ebp-0x20]
	mulss xmm0, [_float_0_25000000]
	movss [ebp-0x20], xmm0
	movss xmm0, dword [ebp-0x2c]
	movss [ebp-0x1c], xmm0
	mov edx, cgsArray
	mov eax, [edx+0x13b0]
	sub eax, ebx
	cvtsi2ss xmm0, eax
	mulss xmm0, [ebp-0x38]
	movss xmm1, dword [ebp-0x58]
	subss xmm1, xmm0
	movss [ebp-0x48], xmm1
	movss xmm0, dword [ebp-0x30]
	movss [esp+0xc], xmm0
	mov eax, [ebp-0x40]
	mov [esp+0x8], eax
	mov dword [esp+0x4], 0x0
	mov [esp], esi
	call _Z12UI_TextWidthPKciP6Font_sf
	mov edx, cgMedia
	mov edx, [edx+0x4]
	mov [esp+0x20], edx
	lea edx, [ebp-0x28]
	mov [esp+0x1c], edx
	mov dword [esp+0x18], 0x1
	mov dword [esp+0x14], 0x1
	movss xmm0, dword [ebp-0x38]
	movss [esp+0x10], xmm0
	cvtsi2ss xmm0, eax
	addss xmm0, [ebp-0x54]
	movss [esp+0xc], xmm0
	movss xmm1, dword [ebp-0x48]
	movss [esp+0x8], xmm1
	mov dword [esp+0x4], 0x0
	mov [esp], edi
	call _Z16UI_DrawHandlePicPK15ScreenPlacementffffiiPKfP8Material
	movss xmm0, dword [ebp-0x44]
	movss [ebp-0x1c], xmm0
	mov edx, cgsArray
	mov eax, [edx+0x13b0]
	sub eax, ebx
	cvtsi2ss xmm0, eax
	mulss xmm0, [ebp-0x38]
	movss xmm1, dword [ebp-0x58]
	subss xmm1, xmm0
	movss xmm0, dword [ebp-0x38]
	subss xmm0, [_float_1_00000000]
	addss xmm1, xmm0
	mov dword [ebp-0x28], 0x3f800000
	mov dword [ebp-0x24], 0x3f800000
	mov dword [ebp-0x20], 0x3f800000
	mov dword [esp+0x28], 0x3
	lea ecx, [ebp-0x28]
	mov [esp+0x24], ecx
	movss xmm0, dword [ebp-0x30]
	movss [esp+0x20], xmm0
	mov dword [esp+0x1c], 0x1
	mov dword [esp+0x18], 0x1
	movss [esp+0x14], xmm1
	cvtsi2ss xmm0, dword [ebp-0x3c]
	movss [esp+0x10], xmm0
	mov eax, [ebp-0x40]
	mov [esp+0xc], eax
	mov dword [esp+0x8], 0x7fffffff
	mov [esp+0x4], esi
	mov [esp], edi
	call _Z11UI_DrawTextPK15ScreenPlacementPKciP6Font_sffiifPKfi
_Z19CG_DrawChatMessagesi_110:
	sub ebx, 0x1
	mov edx, cgsArray
	cmp ebx, [edx+0x13b4]
	jl _Z19CG_DrawChatMessagesi_50
	mov ecx, edx
_Z19CG_DrawChatMessagesi_70:
	mov eax, ebx
	cdq
	idiv dword [ebp-0x4c]
	mov eax, cg_chatTime
	mov eax, [eax]
	cvtsi2ss xmm1, dword [eax+0xc]
	mov eax, [ebp-0x50]
	sub eax, [ecx+edx*4+0x1390]
	cvtsi2ss xmm0, eax
	subss xmm1, xmm0
	ucomiss xmm1, [_float_200_00000000]
	ja _Z19CG_DrawChatMessagesi_100
	divss xmm1, dword [_float_200_00000000]
	movss [ebp-0x44], xmm1
	pxor xmm0, xmm0
	ucomiss xmm0, xmm1
	jae _Z19CG_DrawChatMessagesi_110
	mulss xmm1, [_float_0_60000002]
	movss [ebp-0x2c], xmm1
	jmp _Z19CG_DrawChatMessagesi_120
_Z19CG_DrawChatMessagesi_40:
	movss xmm1, dword [_float_12_00000000]
	movss [ebp-0x34], xmm1
	jmp _Z19CG_DrawChatMessagesi_130
_Z19CG_DrawChatMessagesi_30:
	movss xmm0, dword [_float_16_00000000]
	movss [ebp-0x38], xmm0
	movss xmm1, dword [_float_0_33333334]
	movss [ebp-0x30], xmm1
	jmp _Z19CG_DrawChatMessagesi_140
_Z19CG_DrawChatMessagesi_20:
	mov eax, cg_hudChatPosition
	mov eax, [eax]
	jmp _Z19CG_DrawChatMessagesi_150
_Z19CG_DrawChatMessagesi_60:
	lea eax, [ecx+0x1]
	mov [ebx+0x13b4], eax
	jmp _Z19CG_DrawChatMessagesi_160
_Z19CG_DrawChatMessagesi_90:
	movzx eax, byte [esi+0x1]
	test al, al
	jz _Z19CG_DrawChatMessagesi_80
	cmp al, 0x5e
	jz _Z19CG_DrawChatMessagesi_80
	cmp al, 0x2f
	jle _Z19CG_DrawChatMessagesi_80
	cmp al, 0x39
	jg _Z19CG_DrawChatMessagesi_80
	lea ecx, [ebp-0x28]
	mov [esp+0x8], ecx
	movzx eax, al
	mov [esp+0x4], eax
	mov eax, [ebp-0x5c]
	mov [esp], eax
	call _Z14CL_LookupColorihPf
	jmp _Z19CG_DrawChatMessagesi_170
	nop


;CG_DrawOverheadNames(int, centity_s const*, float)
_Z20CG_DrawOverheadNamesiPK9centity_sf:
	push ebp
	mov ebp, esp
	push edi
	push esi
	push ebx
	sub esp, 0xec
	mov ebx, eax
	mov esi, edx
	movss [ebp-0xac], xmm0
	ucomiss xmm0, [_float_0_00100000]
	jp _Z20CG_DrawOverheadNamesiPK9centity_sf_10
	ja _Z20CG_DrawOverheadNamesiPK9centity_sf_10
_Z20CG_DrawOverheadNamesiPK9centity_sf_70:
	add esp, 0xec
	pop ebx
	pop esi
	pop edi
	pop ebp
	ret
_Z20CG_DrawOverheadNamesiPK9centity_sf_10:
	mov dword [esp+0x8], 0x3f800000
	mov eax, cg_overheadNamesFont
	mov eax, [eax]
	mov eax, [eax+0xc]
	mov [esp+0x4], eax
	mov dword [esp], 0x0
	call _Z16UI_GetFontHandlePK15ScreenPlacementif
	mov edi, eax
	mov [esp+0x4], ebx
	mov eax, [esi+0xcc]
	mov [esp], eax
	call _Z17Com_GetClientDObjii
	mov edx, eax
	test eax, eax
	jz _Z20CG_DrawOverheadNamesiPK9centity_sf_20
	lea eax, [ebp-0x28]
	mov [esp+0xc], eax
	mov eax, scr_const
	movzx eax, word [eax+0x130]
	mov [esp+0x8], eax
	mov [esp+0x4], edx
	mov [esp], esi
	call _Z21CG_DObjGetWorldTagPosPK7cpose_tP6DObj_sjPf
	test eax, eax
	jnz _Z20CG_DrawOverheadNamesiPK9centity_sf_30
_Z20CG_DrawOverheadNamesiPK9centity_sf_20:
	lea edx, [esi+0x1c]
	mov eax, [esi+0x1c]
	mov [ebp-0x28], eax
	mov eax, [edx+0x4]
	mov [ebp-0x24], eax
	movss xmm0, dword [_float_82_00000000]
	addss xmm0, [edx+0x8]
	movss [ebp-0x20], xmm0
_Z20CG_DrawOverheadNamesiPK9centity_sf_90:
	mov dword [esp+0xc], 0x26
	lea eax, [ebp-0x7a]
	mov [esp+0x8], eax
	mov eax, [esi+0x158]
	mov [esp+0x4], eax
	mov [esp], ebx
	call _Z16CL_GetClientNameiiPci
	test eax, eax
	jnz _Z20CG_DrawOverheadNamesiPK9centity_sf_40
	mov eax, [esi+0x158]
	mov [esp+0x8], eax
	mov dword [esp+0x4], _cstring_unable_to_get_na
	mov dword [esp], 0xe
	call _Z14Com_PrintErroriPKcz
	add esp, 0xec
	pop ebx
	pop esi
	pop edi
	pop ebp
	ret
_Z20CG_DrawOverheadNamesiPK9centity_sf_40:
	mov [esp+0xc], ebx
	lea edx, [ebp-0x44]
	mov [esp+0x8], edx
	mov dword [esp+0x4], _cstring_g_teamcolor
	mov eax, [esi+0x158]
	mov [esp], eax
	call _Z20CG_RelativeTeamColoriPKcPfi
	movss xmm0, dword [ebp-0xac]
	movss [ebp-0x38], xmm0
	mov eax, ebx
	shl eax, 0x6
	lea eax, [eax+ebx*4]
	add eax, scrPlaceView
	mov ebx, cgArray
	movss xmm4, dword [ebp-0x28]
	subss xmm4, [ebx+0x492e0]
	movss xmm3, dword [ebp-0x24]
	subss xmm3, [ebx+0x492e4]
	movss xmm2, dword [ebp-0x20]
	subss xmm2, [ebx+0x492e8]
	xor ecx, ecx
	mov [ebp-0xb0], ebx
	lea edx, [ebx+0x492e0]
_Z20CG_DrawOverheadNamesiPK9centity_sf_50:
	movaps xmm0, xmm4
	mulss xmm0, [edx+0xc]
	movaps xmm1, xmm3
	mulss xmm1, [edx+0x10]
	addss xmm0, xmm1
	movaps xmm1, xmm2
	mulss xmm1, [edx+0x14]
	addss xmm0, xmm1
	movss [ebp+ecx*4-0x34], xmm0
	add ecx, 0x1
	add edx, 0xc
	cmp ecx, 0x3
	jnz _Z20CG_DrawOverheadNamesiPK9centity_sf_50
	movss xmm2, dword [ebp-0x34]
	ucomiss xmm2, [_float_0_00000000]
	jp _Z20CG_DrawOverheadNamesiPK9centity_sf_60
	jb _Z20CG_DrawOverheadNamesiPK9centity_sf_70
_Z20CG_DrawOverheadNamesiPK9centity_sf_60:
	movss xmm1, dword [_float_0_50000000]
	movss xmm3, dword [eax+0x28]
	mulss xmm3, xmm1
	movss [ebp-0xa0], xmm3
	movss xmm0, dword [ebp-0x30]
	mov edx, [ebp-0xb0]
	divss xmm0, dword [edx+0x492d8]
	divss xmm0, xmm2
	movss xmm5, dword [_float_1_00000000]
	movaps xmm3, xmm5
	subss xmm3, xmm0
	movaps xmm0, xmm3
	mulss xmm0, [ebp-0xa0]
	movss [ebp-0xa0], xmm0
	movss [ebp-0x9c], xmm1
	mulss xmm1, [eax+0x2c]
	movss [ebp-0x9c], xmm1
	movss xmm0, dword [ebp-0x2c]
	divss xmm0, dword [edx+0x492dc]
	divss xmm0, xmm2
	movaps xmm1, xmm5
	subss xmm1, xmm0
	movaps xmm0, xmm1
	mulss xmm0, [ebp-0x9c]
	movss [ebp-0x9c], xmm0
	movss xmm2, dword [ebp-0x28]
	subss xmm2, [ebx+0x492e0]
	movss xmm0, dword [ebp-0x24]
	subss xmm0, [ebx+0x492e4]
	movss xmm1, dword [ebp-0x20]
	subss xmm1, [ebx+0x492e8]
	mulss xmm2, xmm2
	mulss xmm0, xmm0
	addss xmm2, xmm0
	mulss xmm1, xmm1
	addss xmm2, xmm1
	mov eax, cg_overheadNamesNearDist
	mov eax, [eax]
	movss xmm3, dword [eax+0xc]
	movaps xmm0, xmm3
	mulss xmm0, xmm3
	ucomiss xmm0, xmm2
	jbe _Z20CG_DrawOverheadNamesiPK9centity_sf_80
	movss [ebp-0xa8], xmm5
	movaps xmm0, xmm5
_Z20CG_DrawOverheadNamesiPK9centity_sf_110:
	mov eax, cg_overheadNamesSize
	mov eax, [eax]
	mulss xmm0, [eax+0xc]
	movss [esp+0x4], xmm0
	mov [esp], edi
	call _Z21R_NormalizedTextScaleP6Font_sf
	fstp dword [ebp-0xa4]
	mov [esp+0x8], edi
	mov dword [esp+0x4], 0x20
	lea eax, [ebp-0x7a]
	mov [esp], eax
	call _Z11R_TextWidthPKciP6Font_s
	movss xmm0, dword [ebp-0xa4]
	mulss xmm0, [_float__0_50000000]
	cvtsi2ss xmm1, eax
	mulss xmm0, xmm1
	addss xmm0, [ebp-0xa0]
	addss xmm0, [_float_0_50000000]
	movss [esp], xmm0
	call floorf
	fstp dword [ebp-0xb4]
	movss xmm0, dword [_float_0_50000000]
	addss xmm0, [ebp-0x9c]
	movss [esp], xmm0
	call floorf
	fstp dword [ebp-0xb8]
	lea ebx, [ebp-0x54]
	mov [esp+0x4], ebx
	mov eax, cg_overheadNamesGlow
	mov eax, [eax]
	mov [esp], eax
	call _Z21Dvar_GetUnpackedColorPK6dvar_sPf
	movss xmm0, dword [ebp-0xac]
	mulss xmm0, [ebp-0x48]
	movss [ebp-0x48], xmm0
	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 [esp+0x24], ebx
	mov dword [esp+0x20], 0x3
	lea eax, [ebp-0x44]
	mov [esp+0x1c], eax
	movss xmm0, dword [ebp-0xa4]
	movss [esp+0x18], xmm0
	movss [esp+0x14], xmm0
	movss xmm1, dword [ebp-0xb8]
	movss [esp+0x10], xmm1
	movss xmm3, dword [ebp-0xb4]
	movss [esp+0xc], xmm3
	mov [esp+0x8], edi
	mov dword [esp+0x4], 0x20
	lea eax, [ebp-0x7a]
	mov [esp], eax
	call _Z30CL_DrawTextPhysicalWithEffectsPKciP6Font_sffffPKfiS4_P8MaterialS6_iiii
	mov edx, [esi+0x158]
	lea eax, [edx+edx*8]
	mov ecx, eax
	shl ecx, 0x4
	add eax, ecx
	lea eax, [edx+eax*2]
	shl eax, 0x2
	add eax, cgArray
	mov ebx, [eax+0xe9f58]
	lea edx, [ebp-0x1c]
	mov [esp+0x8], edx
	mov eax, [eax+0xe9f5c]
	mov [esp+0x4], eax
	mov [esp], ebx
	call _Z14CL_GetRankIconiiPP8Material
	mov edx, [ebp-0x1c]
	test edx, edx
	jz _Z20CG_DrawOverheadNamesiPK9centity_sf_70
	mov [esp], edi
	call _Z12R_TextHeightP6Font_s
	cvtsi2ss xmm0, eax
	movss xmm1, dword [ebp-0xa4]
	mulss xmm1, xmm0
	movss [ebp-0x94], xmm1
	mov eax, cg_overheadIconSize
	mov eax, [eax]
	mulss xmm1, [eax+0xc]
	movss [ebp-0x98], xmm1
	mov eax, cg_overheadRankSize
	mov eax, [eax]
	movss xmm0, dword [ebp-0xa8]
	mulss xmm0, [eax+0xc]
	movss [esp+0x4], xmm0
	mov [esp], edi
	call _Z21R_NormalizedTextScaleP6Font_sf
	fstp dword [ebp-0x8c]
	mov dword [esp+0x4], 0xe
	mov [esp], ebx
	call _Z14CL_GetRankDatai18rankTableColumns_t
	mov ebx, eax
	mov [esp+0x8], edi
	mov dword [esp+0x4], 0x20
	mov [esp], eax
	call _Z11R_TextWidthPKciP6Font_s
	movss xmm3, dword [ebp-0xa8]
	addss xmm3, xmm3
	movss xmm0, dword [ebp-0x98]
	addss xmm0, xmm3
	movss [ebp-0xa8], xmm0
	cvtsi2ss xmm0, eax
	mulss xmm0, [ebp-0x8c]
	addss xmm0, [ebp-0xa8]
	movss xmm1, dword [ebp-0xb4]
	subss xmm1, xmm0
	movss [ebp-0x90], xmm1
	mov edx, 0x3f800000
	mov [ebp-0x44], edx
	mov [ebp-0x40], edx
	mov [ebp-0x3c], edx
	movss xmm3, dword [ebp-0xac]
	movss [ebp-0x38], xmm3
	mov eax, [ebp-0x1c]
	mov [esp+0x24], eax
	lea eax, [ebp-0x44]
	mov [esp+0x20], eax
	mov [esp+0x1c], edx
	mov [esp+0x18], edx
	xor eax, eax
	mov [esp+0x14], eax
	mov [esp+0x10], eax
	movss xmm0, dword [ebp-0x98]
	movss [esp+0xc], xmm0
	movss [esp+0x8], xmm0
	movss xmm1, dword [ebp-0x94]
	addss xmm1, xmm0
	movss xmm3, dword [_float__0_50000000]
	mulss xmm3, xmm1
	movss xmm0, dword [ebp-0xb8]
	addss xmm0, xmm3
	movss [esp+0x4], xmm0
	movss xmm1, dword [ebp-0x90]
	movss [esp], xmm1
	call _Z25CL_DrawStretchPicPhysicalffffffffPKfP8Material
	mov [esp], edi
	call _Z12R_TextHeightP6Font_s
	mov dword [esp+0x20], 0x3
	lea edx, [ebp-0x44]
	mov [esp+0x1c], edx
	movss xmm0, dword [ebp-0x8c]
	movss [esp+0x18], xmm0
	movss [esp+0x14], xmm0
	cvtsi2ss xmm0, eax
	mulss xmm0, [ebp-0x8c]
	movss [ebp-0x8c], xmm0
	mulss xmm0, [_float_0_25000000]
	movss xmm1, dword [ebp-0xb8]
	addss xmm1, xmm0
	movss [esp+0x10], xmm1
	movss xmm3, dword [ebp-0x98]
	addss xmm3, [ebp-0x90]
	movss [esp+0xc], xmm3
	mov [esp+0x8], edi
	mov dword [esp+0x4], 0x3
	mov [esp], ebx
	call _Z19CL_DrawTextPhysicalPKciP6Font_sffffPKfi
	add esp, 0xec
	pop ebx
	pop esi
	pop edi
	pop ebp
	ret
_Z20CG_DrawOverheadNamesiPK9centity_sf_30:
	movss xmm0, dword [_float_10_00000000]
	addss xmm0, [ebp-0x20]
	movss [ebp-0x20], xmm0
	jmp _Z20CG_DrawOverheadNamesiPK9centity_sf_90
_Z20CG_DrawOverheadNamesiPK9centity_sf_80:
	mov eax, cg_overheadNamesFarDist
	mov eax, [eax]
	movss xmm4, dword [eax+0xc]
	movaps xmm0, xmm4
	mulss xmm0, xmm4
	ucomiss xmm2, xmm0
	jbe _Z20CG_DrawOverheadNamesiPK9centity_sf_100
	mov eax, cg_overheadNamesFarScale
	mov eax, [eax]
	movss xmm3, dword [eax+0xc]
	movss [ebp-0xa8], xmm3
	movaps xmm0, xmm3
	jmp _Z20CG_DrawOverheadNamesiPK9centity_sf_110
_Z20CG_DrawOverheadNamesiPK9centity_sf_100:
	sqrtss xmm1, xmm2
	subss xmm1, xmm3
	subss xmm4, xmm3
	divss xmm1, xmm4
	mov eax, cg_overheadNamesFarScale
	mov eax, [eax]
	movaps xmm0, xmm1
	mulss xmm0, [eax+0xc]
	movss [ebp-0xa8], xmm0
	movaps xmm0, xmm5
	subss xmm0, xmm1
	addss xmm0, [ebp-0xa8]
	movss [ebp-0xa8], xmm0
	jmp _Z20CG_DrawOverheadNamesiPK9centity_sf_110


;CG_DrawCrosshairNames(int)
_Z21CG_DrawCrosshairNamesi:
	push ebp
	mov ebp, esp
	push edi
	push esi
	push ebx
	sub esp, 0x1c
	mov [ebp-0x1c], eax
	mov eax, cg_drawCrosshairNames
	mov eax, [eax]
	cmp byte [eax+0xc], 0x0
	jz _Z21CG_DrawCrosshairNamesi_10
	mov edi, cgArray
	mov eax, [edi+0x46138]
	test eax, eax
	jnz _Z21CG_DrawCrosshairNamesi_10
	mov esi, [edi+0x502f8]
	cmp esi, 0x40
	jg _Z21CG_DrawCrosshairNamesi_10
	mov ebx, [edi+0x24]
	mov eax, [ebx+0xe8]
	lea edx, [eax+eax*8]
	mov ecx, edx
	shl ecx, 0x4
	add edx, ecx
	lea edx, [eax+edx*2]
	shl edx, 0x2
	mov [ebp-0x20], edx
	mov eax, [edx+edi+0xe9f34]
	test eax, eax
	jz _Z21CG_DrawCrosshairNamesi_10
	lea eax, [esi+esi*8]
	mov edx, eax
	shl edx, 0x4
	add eax, edx
	lea eax, [esi+eax*2]
	shl eax, 0x2
	mov ecx, [eax+edi+0xe9f34]
	test ecx, ecx
	jz _Z21CG_DrawCrosshairNamesi_10
	mov edx, [ebx+0x2f70]
	mov [ebp-0x18], edx
	test edx, edx
	jle _Z21CG_DrawCrosshairNamesi_10
	mov ecx, ebx
	xor ebx, ebx
	mov edx, [ebp-0x20]
	mov [ebp-0x24], edx
	mov [ebp-0x28], eax
	jmp _Z21CG_DrawCrosshairNamesi_20
_Z21CG_DrawCrosshairNamesi_30:
	add ebx, 0x1
	add ecx, 0xf4
	cmp ebx, [ebp-0x18]
	jz _Z21CG_DrawCrosshairNamesi_10
_Z21CG_DrawCrosshairNamesi_20:
	mov eax, [ecx+0x2f78]
	lea edx, [eax*4]
	shl eax, 0x5
	sub eax, edx
	mov edx, eax
	shl edx, 0x4
	lea edx, [eax+edx]
	add edx, cg_entitiesArray
	cmp dword [edx+0xd0], 0x1
	jnz _Z21CG_DrawCrosshairNamesi_30
	cmp esi, [edx+0x158]
	jnz _Z21CG_DrawCrosshairNamesi_30
	mov ecx, [ebp-0x24]
	mov eax, [ecx+edi+0xe9f50]
	cmp eax, 0x3
	jz _Z21CG_DrawCrosshairNamesi_40
	test eax, eax
	jz _Z21CG_DrawCrosshairNamesi_50
	mov ecx, [ebp-0x28]
	cmp eax, [ecx+edi+0xe9f50]
	jz _Z21CG_DrawCrosshairNamesi_40
_Z21CG_DrawCrosshairNamesi_50:
	mov eax, cg_enemyNameFadeOut
	mov eax, [eax]
	mov ebx, [eax+0xc]
	mov eax, cg_enemyNameFadeIn
	mov eax, [eax]
	mov eax, [eax+0xc]
	mov [ebp-0x10], eax
	mov ecx, [edi+0x502fc]
	mov esi, [edi+0x50300]
	mov eax, [edi+0x46128]
	sub eax, ecx
	cmp ebx, eax
	jle _Z21CG_DrawCrosshairNamesi_60
	sub ecx, esi
	cmp [ebp-0x10], ecx
	jg _Z21CG_DrawCrosshairNamesi_60
_Z21CG_DrawCrosshairNamesi_70:
	mov ecx, ebx
	sub ecx, eax
	cvtsi2ss xmm1, ecx
	cvtsi2ss xmm0, ebx
	divss xmm1, xmm0
_Z21CG_DrawCrosshairNamesi_80:
	movaps xmm0, xmm1
	mov eax, [ebp-0x1c]
	add esp, 0x1c
	pop ebx
	pop esi
	pop edi
	pop ebp
	jmp _Z20CG_DrawOverheadNamesiPK9centity_sf
_Z21CG_DrawCrosshairNamesi_10:
	add esp, 0x1c
	pop ebx
	pop esi
	pop edi
	pop ebp
	ret
_Z21CG_DrawCrosshairNamesi_40:
	mov eax, cg_friendlyNameFadeOut
	mov eax, [eax]
	mov ebx, [eax+0xc]
	mov eax, cg_friendlyNameFadeIn
	mov eax, [eax]
	mov eax, [eax+0xc]
	mov [ebp-0x14], eax
	mov ecx, [edi+0x502fc]
	mov esi, [edi+0x50300]
	mov eax, [edi+0x46128]
	sub eax, ecx
	cmp ebx, eax
	jle _Z21CG_DrawCrosshairNamesi_60
	sub ecx, esi
	cmp [ebp-0x14], ecx
	jle _Z21CG_DrawCrosshairNamesi_70
_Z21CG_DrawCrosshairNamesi_60:
	pxor xmm1, xmm1
	jmp _Z21CG_DrawCrosshairNamesi_80


;CG_DrawFriendlyNames(int)
_Z20CG_DrawFriendlyNamesi:
	push ebp
	mov ebp, esp
	push edi
	push esi
	push ebx
	sub esp, 0xbc
	mov [ebp-0x90], eax
	mov eax, cg_drawFriendlyNames
	mov eax, [eax]
	cmp byte [eax+0xc], 0x0
	jnz _Z20CG_DrawFriendlyNamesi_10
_Z20CG_DrawFriendlyNamesi_20:
	add esp, 0xbc
	pop ebx
	pop esi
	pop edi
	pop ebp
	ret
_Z20CG_DrawFriendlyNamesi_10:
	mov ebx, cgArray
	mov eax, [ebx+0x24]
	mov [ebp-0x8c], eax
	mov eax, [eax+0xe8]
	lea edx, [eax+eax*8]
	mov ecx, edx
	shl ecx, 0x4
	add edx, ecx
	lea edx, [eax+edx*2]
	mov edx, [ebx+edx*4+0xe9f50]
	mov [ebp-0x84], edx
	mov ecx, [ebp-0x90]
	mov [esp], ecx
	call _Z14CG_Flashbangedi
	mov [ebp-0x7d], al
	mov eax, [ebp-0x8c]
	mov edx, [eax+0x2f70]
	test edx, edx
	jle _Z20CG_DrawFriendlyNamesi_20
	mov edi, eax
	mov dword [ebp-0x88], 0x0
	lea edx, [ebx+0x492f0]
	mov [ebp-0x74], edx
	add ebx, 0x492f4
	mov [ebp-0x70], ebx
	jmp _Z20CG_DrawFriendlyNamesi_30
_Z20CG_DrawFriendlyNamesi_40:
	add dword [ebp-0x88], 0x1
	add edi, 0xf4
	mov ecx, [ebp-0x88]
	mov edx, [ebp-0x8c]
	cmp ecx, [edx+0x2f70]
	jge _Z20CG_DrawFriendlyNamesi_20
_Z20CG_DrawFriendlyNamesi_30:
	mov eax, [edi+0x2f78]
	lea edx, [eax*4]
	shl eax, 0x5
	sub eax, edx
	mov edx, eax
	shl edx, 0x4
	lea esi, [eax+edx]
	add esi, cg_entitiesArray
	cmp dword [esi+0xd0], 0x1
	jnz _Z20CG_DrawFriendlyNamesi_40
	mov ecx, [esi+0xcc]
	mov [ebp-0x7c], ecx
	mov eax, cgArray
	mov ebx, [eax+0x24]
	test byte [ebx+0x20], 0x6
	jz _Z20CG_DrawFriendlyNamesi_50
	cmp ecx, [ebx+0xe8]
	jz _Z20CG_DrawFriendlyNamesi_60
_Z20CG_DrawFriendlyNamesi_50:
	xor eax, eax
_Z20CG_DrawFriendlyNamesi_120:
	test eax, eax
	jz _Z20CG_DrawFriendlyNamesi_70
	mov edx, cgArray
	mov eax, [edx+0x46138]
	test eax, eax
	jz _Z20CG_DrawFriendlyNamesi_40
_Z20CG_DrawFriendlyNamesi_70:
	mov eax, [ebp-0x84]
	test eax, eax
	jz _Z20CG_DrawFriendlyNamesi_40
	cmp dword [ebp-0x84], 0x3
	jz _Z20CG_DrawFriendlyNamesi_80
	mov eax, [esi+0x158]
	lea edx, [eax+eax*8]
	mov ecx, edx
	shl ecx, 0x4
	add edx, ecx
	lea edx, [eax+edx*2]
	mov eax, [ebp-0x84]
	mov ecx, cgArray
	cmp eax, [ecx+edx*4+0xe9f50]
	jnz _Z20CG_DrawFriendlyNamesi_40
_Z20CG_DrawFriendlyNamesi_80:
	cmp byte [ebp-0x7d], 0x0
	jnz _Z20CG_DrawFriendlyNamesi_90
	mov eax, cg_drawThroughWalls
	mov eax, [eax]
	cmp byte [eax+0xc], 0x0
	jz _Z20CG_DrawFriendlyNamesi_100
_Z20CG_DrawFriendlyNamesi_170:
	mov edx, [esi+0x158]
	lea eax, [edx+edx*2]
	lea ecx, [eax*4]
	cmp byte [ecx+overheadFade+0x8], 0x0
	jnz _Z20CG_DrawFriendlyNamesi_110
	mov byte [ecx+overheadFade+0x8], 0x1
	mov edx, cgArray
	mov eax, [edx+0x46128]
	mov [ecx+overheadFade+0x4], eax
	mov edx, [esi+0x158]
	jmp _Z20CG_DrawFriendlyNamesi_110
_Z20CG_DrawFriendlyNamesi_60:
	mov eax, 0x1
	jmp _Z20CG_DrawFriendlyNamesi_120
_Z20CG_DrawFriendlyNamesi_100:
	add ebx, 0xc
	mov edx, cgArray
	mov eax, [edx+0x492e0]
	mov [ebp-0x24], eax
	mov eax, [edx+0x492e4]
	mov [ebp-0x20], eax
	mov eax, [edx+0x492e8]
	mov [ebp-0x1c], eax
	mov ecx, [ebp-0x90]
	mov [esp+0x4], ecx
	mov eax, [ebp-0x7c]
	mov [esp], eax
	call _Z17Com_GetClientDObjii
	mov edx, eax
	test eax, eax
	jz _Z20CG_DrawFriendlyNamesi_130
	lea eax, [ebp-0x30]
	mov [esp+0xc], eax
	mov eax, scr_const
	movzx eax, word [eax+0x130]
	mov [esp+0x8], eax
	mov [esp+0x4], edx
	mov [esp], esi
	call _Z21CG_DObjGetWorldTagPosPK7cpose_tP6DObj_sjPf
	test eax, eax
	jnz _Z20CG_DrawFriendlyNamesi_140
_Z20CG_DrawFriendlyNamesi_130:
	lea edx, [esi+0x1c]
	mov eax, [esi+0x1c]
	mov [ebp-0x30], eax
	mov eax, [edx+0x4]
	mov [ebp-0x2c], eax
	mov eax, [edx+0x8]
	mov [ebp-0x28], eax
_Z20CG_DrawFriendlyNamesi_140:
	movss xmm2, dword [ebp-0x30]
	movss xmm3, dword [ebp-0x2c]
	movss xmm4, dword [ebp-0x28]
	movaps xmm0, xmm2
	mov edx, cgArray
	subss xmm0, [edx+0x492e0]
	mulss xmm0, [edx+0x492ec]
	movaps xmm1, xmm3
	subss xmm1, [edx+0x492e4]
	mov ecx, [ebp-0x74]
	mulss xmm1, [ecx]
	addss xmm0, xmm1
	movaps xmm1, xmm4
	subss xmm1, [edx+0x492e8]
	mov eax, [ebp-0x70]
	mulss xmm1, [eax]
	addss xmm0, xmm1
	ucomiss xmm0, [_float_0_00000000]
	jp _Z20CG_DrawFriendlyNamesi_150
	jb _Z20CG_DrawFriendlyNamesi_90
_Z20CG_DrawFriendlyNamesi_150:
	subss xmm2, [ebp-0x24]
	subss xmm3, [ebp-0x20]
	subss xmm4, [ebp-0x1c]
	mov eax, cg_overheadNamesMaxDist
	mov eax, [eax]
	movss xmm0, dword [eax+0xc]
	mulss xmm2, xmm2
	mulss xmm3, xmm3
	addss xmm2, xmm3
	mulss xmm4, xmm4
	addss xmm2, xmm4
	mulss xmm0, xmm0
	ucomiss xmm2, xmm0
	ja _Z20CG_DrawFriendlyNamesi_90
	mov dword [esp+0x18], 0x2803001
	mov eax, [ebx+0xdc]
	mov [esp+0x14], eax
	lea eax, [ebp-0x30]
	mov [esp+0x10], eax
	mov eax, vec3_origin
	mov [esp+0xc], eax
	mov [esp+0x8], eax
	lea edx, [ebp-0x24]
	mov [esp+0x4], edx
	lea ebx, [ebp-0x68]
	mov [esp], ebx
	call _Z15CG_TraceCapsuleP7trace_tPKfS2_S2_S2_ii
	mov [esp], ebx
	call _Z20Trace_GetEntityHitIdPK7trace_t
	cmp ax, 0x3ff
	jz _Z20CG_DrawFriendlyNamesi_160
	movzx eax, ax
	cmp eax, [esi+0x158]
	jnz _Z20CG_DrawFriendlyNamesi_90
_Z20CG_DrawFriendlyNamesi_160:
	movss xmm2, dword [ebp-0x68]
	movss xmm1, dword [ebp-0x24]
	movss xmm0, dword [ebp-0x30]
	subss xmm0, xmm1
	mulss xmm0, xmm2
	addss xmm1, xmm0
	movss [ebp-0x3c], xmm1
	movss xmm1, dword [ebp-0x20]
	movss xmm0, dword [ebp-0x2c]
	subss xmm0, xmm1
	mulss xmm0, xmm2
	addss xmm1, xmm0
	movss [ebp-0x38], xmm1
	movss xmm1, dword [ebp-0x1c]
	movss xmm0, dword [ebp-0x28]
	subss xmm0, xmm1
	mulss xmm2, xmm0
	addss xmm1, xmm2
	movss [ebp-0x34], xmm1
	lea eax, [ebp-0x3c]
	mov [esp+0x8], eax
	lea ecx, [ebp-0x24]
	mov [esp+0x4], ecx
	mov eax, [ebp-0x90]
	mov [esp], eax
	call _Z22FX_GetClientVisibilityiPKfS0_
	fstp dword [ebp-0x78]
	movss xmm0, dword [ebp-0x78]
	ucomiss xmm0, [_float_0_20000000]
	jae _Z20CG_DrawFriendlyNamesi_170
	jp _Z20CG_DrawFriendlyNamesi_170
_Z20CG_DrawFriendlyNamesi_90:
	mov eax, [esi+0x158]
	lea eax, [eax+eax*2]
	mov byte [eax*4+overheadFade+0x8], 0x0
	mov edx, [esi+0x158]
_Z20CG_DrawFriendlyNamesi_110:
	lea eax, [edx+edx*2]
	lea edx, [eax*4]
	cmp byte [edx+overheadFade+0x8], 0x0
	jz _Z20CG_DrawFriendlyNamesi_180
	mov ecx, cgArray
	mov eax, [ecx+0x46128]
	mov [edx+overheadFade], eax
	mov ecx, eax
_Z20CG_DrawFriendlyNamesi_210:
	mov eax, cg_friendlyNameFadeOut
	mov eax, [eax]
	mov ebx, [eax+0xc]
	mov eax, cg_friendlyNameFadeIn
	mov eax, [eax]
	mov eax, [eax+0xc]
	mov [ebp-0x6c], eax
	mov edx, [edx+overheadFade+0x4]
	mov [ebp-0x9c], edx
	mov eax, cgArray
	mov edx, [eax+0x46128]
	sub edx, ecx
	cmp ebx, edx
	jle _Z20CG_DrawFriendlyNamesi_190
	sub ecx, [ebp-0x9c]
	cmp [ebp-0x6c], ecx
	jle _Z20CG_DrawFriendlyNamesi_200
_Z20CG_DrawFriendlyNamesi_190:
	pxor xmm1, xmm1
_Z20CG_DrawFriendlyNamesi_220:
	movaps xmm0, xmm1
	mov edx, esi
	mov eax, [ebp-0x90]
	call _Z20CG_DrawOverheadNamesiPK9centity_sf
	jmp _Z20CG_DrawFriendlyNamesi_40
_Z20CG_DrawFriendlyNamesi_180:
	mov ecx, [edx+overheadFade]
	jmp _Z20CG_DrawFriendlyNamesi_210
_Z20CG_DrawFriendlyNamesi_200:
	mov eax, ebx
	sub eax, edx
	cvtsi2ss xmm1, eax
	cvtsi2ss xmm0, ebx
	divss xmm1, xmm0
	jmp _Z20CG_DrawFriendlyNamesi_220


;CG_DrawActive(int)
_Z13CG_DrawActivei:
	push ebp
	mov ebp, esp
	push esi
	push ebx
	sub esp, 0x20
	mov esi, [ebp+0x8]
	mov eax, cgArray
	movss xmm0, dword [eax+0x4f39c]
	movss xmm1, dword [eax+0x504e0]
	ucomiss xmm1, [_float_0_00000000]
	jp _Z13CG_DrawActivei_10
	jz _Z13CG_DrawActivei_20
_Z13CG_DrawActivei_10:
	mulss xmm0, xmm1
_Z13CG_DrawActivei_20:
	movss [esp+0x4], xmm0
	mov [esp], esi
	call _Z25CL_SetFOVSensitivityScaleif
	mov ebx, cgArray
	movss xmm0, dword [ebx+0x5041c]
	addss xmm0, [ebx+0x50428]
	movss [ebp-0x14], xmm0
	movss xmm0, dword [ebx+0x50420]
	addss xmm0, [ebx+0x5042c]
	movss [ebp-0x10], xmm0
	movss xmm0, dword [ebx+0x50424]
	addss xmm0, [ebx+0x50430]
	movss [ebp-0xc], xmm0
	lea eax, [ebp-0x14]
	mov [esp+0x4], eax
	mov [esp], esi
	call _Z22CL_SetUserCmdAimValuesiPKf
	mov eax, [ebx+0x5037c]
	mov [esp], eax
	call _Z27BG_AssertOffhandIndexOrNonei
	mov eax, [ebx+0x5037c]
	mov [esp+0x8], eax
	mov eax, [ebx+0x5036c]
	mov [esp+0x4], eax
	mov [esp], esi
	call _Z20CL_SetUserCmdWeaponsiii
	mov eax, [ebx+0xfd750]
	mov [esp+0x4], eax
	mov [esp], esi
	call _Z18CL_SetExtraButtonsii
	mov dword [ebx+0xfd750], 0x0
	add ebx, 0x492c8
	mov [esp], ebx
	call _Z14CL_RenderScenePK8refdef_s
	add esp, 0x20
	pop ebx
	pop esi
	pop ebp
	ret


;CG_ClearCenterPrint(int)
_Z19CG_ClearCenterPrinti:
	push ebp
	mov ebp, esp
	mov edx, [ebp+0x8]
	mov eax, edx
	shl eax, 0xa
	mov dword [eax+edx*8+s_centerPrint], 0x0
	pop ebp
	ret


;CG_DrawCenterString(int, rectDef_s const*, Font_s*, float, float*, int)
_Z19CG_DrawCenterStringiPK9rectDef_sP6Font_sfPfi:
	push ebp
	mov ebp, esp
	push edi
	push esi
	push ebx
	sub esp, 0x4c
	mov edi, [ebp+0x8]
	mov esi, [ebp+0x18]
	mov eax, cgArray
	mov ecx, [eax+0x46128]
	mov eax, edi
	shl eax, 0xa
	lea ebx, [eax+edi*8]
	lea eax, [ebx+s_centerPrint]
	mov [ebp-0x1c], eax
	cmp ecx, [ebx+s_centerPrint]
	jge _Z19CG_DrawCenterStringiPK9rectDef_sP6Font_sfPfi_10
	mov dword [ebx+s_centerPrint], 0x0
_Z19CG_DrawCenterStringiPK9rectDef_sP6Font_sfPfi_10:
	mov edx, [ebx+s_centerPrint]
	test edx, edx
	jnz _Z19CG_DrawCenterStringiPK9rectDef_sP6Font_sfPfi_20
	add esp, 0x4c
	pop ebx
	pop esi
	pop edi
	pop ebp
	ret
_Z19CG_DrawCenterStringiPK9rectDef_sP6Font_sfPfi_20:
	mov dword [esp+0xc], 0x64
	mov eax, cg_centertime
	mov eax, [eax]
	movss xmm0, dword [_float_1000_00000000]
	mulss xmm0, [eax+0xc]
	cvttss2si eax, xmm0
	mov [esp+0x8], eax
	mov [esp+0x4], edx
	mov [esp], ecx
	call _Z12CG_FadeColoriiii
	test eax, eax
	jz _Z19CG_DrawCenterStringiPK9rectDef_sP6Font_sfPfi_30
	movss xmm0, dword [esi]
	mulss xmm0, [eax]
	movss [esi], xmm0
	movss xmm0, dword [esi+0x4]
	mulss xmm0, [eax+0x4]
	movss [esi+0x4], xmm0
	movss xmm0, dword [esi+0x8]
	mulss xmm0, [eax+0x8]
	movss [esi+0x8], xmm0
	movss xmm0, dword [esi+0xc]
	mulss xmm0, [eax+0xc]
	movss [esi+0xc], xmm0
	mov ecx, [ebp+0xc]
	movss xmm0, dword [ecx]
	movss [ebp-0x20], xmm0
	mov ebx, [ebp-0x1c]
	add ebx, 0x4
	movss xmm1, dword [ebp+0x14]
	movss [esp+0xc], xmm1
	mov eax, [ebp+0x10]
	mov [esp+0x8], eax
	mov dword [esp+0x4], 0x0
	mov [esp], ebx
	call _Z12UI_TextWidthPKciP6Font_sf
	mov edx, [ebp+0x1c]
	mov [esp+0x28], edx
	mov [esp+0x24], esi
	movss xmm0, dword [ebp+0x14]
	movss [esp+0x20], xmm0
	mov ecx, [ebp+0xc]
	mov edx, [ecx+0x14]
	mov [esp+0x1c], edx
	mov edx, [ecx+0x10]
	mov [esp+0x18], edx
	mov edx, [ecx+0x4]
	mov [esp+0x14], edx
	cvtsi2ss xmm0, eax
	movss xmm1, dword [_float_0_50000000]
	mulss xmm0, xmm1
	addss xmm0, xmm1
	movss [esp], xmm0
	call floorf
	fstp dword [ebp-0x24]
	cvttss2si eax, [ebp-0x24]
	cvtsi2ss xmm0, eax
	movss xmm1, dword [ebp-0x20]
	subss xmm1, xmm0
	movss [esp+0x10], xmm1
	mov eax, [ebp+0x10]
	mov [esp+0xc], eax
	mov dword [esp+0x8], 0x7fffffff
	mov [esp+0x4], ebx
	mov eax, edi
	shl eax, 0x6
	lea eax, [eax+edi*4]
	add eax, scrPlaceView
	mov [esp], eax
	call _Z11UI_DrawTextPK15ScreenPlacementPKciP6Font_sffiifPKfi
	add esp, 0x4c
	pop ebx
	pop esi
	pop edi
	pop ebp
	ret
_Z19CG_DrawCenterStringiPK9rectDef_sP6Font_sfPfi_30:
	mov dword [ebx+s_centerPrint], 0x0
	mov edx, [ebp-0x1c]
	mov dword [edx+0x404], 0x0
	add esp, 0x4c
	pop ebx
	pop esi
	pop edi
	pop ebp
	ret
	nop


;CG_ClearOverheadFade()
_Z20CG_ClearOverheadFadev:
	push ebp
	mov ebp, esp
	sub esp, 0x18
	mov dword [esp+0x8], 0x300
	mov dword [esp+0x4], 0x0
	mov dword [esp], overheadFade
	call memset
	leave
	ret


;CG_GenerateSceneVerts(int)
_Z21CG_GenerateSceneVertsi:
	push ebp
	mov ebp, esp
	push ebx
	sub esp, 0x14
	mov ebx, [ebp+0x8]
	mov [esp], ebx
	call _Z30CG_AddAllPlayerSpriteDrawSurfsi
	mov [ebp+0x8], ebx
	add esp, 0x14
	pop ebx
	pop ebp
	jmp _Z28CG_AddDrawSurfsFor3dHudElemsi
	nop


;CG_AddSceneTracerBeams(int)
_Z22CG_AddSceneTracerBeamsi:
	push ebp
	mov ebp, esp
	pop ebp
	jmp _Z28CG_AddLocalEntityTracerBeamsi
	nop


;CG_PriorityCenterPrint(int, char const*, int)
_Z22CG_PriorityCenterPrintiPKci:
	push ebp
	mov ebp, esp
	push edi
	push esi
	push ebx
	sub esp, 0x11c
	mov edx, [ebp+0x8]
	mov eax, edx
	shl eax, 0xa
	lea edi, [eax+edx*8]
	lea esi, [edi+s_centerPrint]
	mov eax, [edi+s_centerPrint]
	test eax, eax
	jz _Z22CG_PriorityCenterPrintiPKci_10
	mov eax, [ebp+0x10]
	cmp eax, [esi+0x404]
	jl _Z22CG_PriorityCenterPrintiPKci_20
_Z22CG_PriorityCenterPrintiPKci_10:
	lea ebx, [ebp-0x118]
	mov [esp+0xc], ebx
	mov dword [esp+0x8], _cstring_center_print
	mov eax, [ebp+0xc]
	mov [esp+0x4], eax
	mov [esp], edx
	call _Z26CG_TranslateHudElemMessageiPKcS0_Pc
	mov dword [esp+0x8], 0x100
	mov [esp+0x4], ebx
	lea eax, [esi+0x4]
	mov [esp], eax
	call _Z10I_strncpyzPcPKci
	mov eax, [ebp+0x10]
	mov [esi+0x404], eax
	mov eax, cgArray
	mov eax, [eax+0x46128]
	mov [edi+s_centerPrint], eax
_Z22CG_PriorityCenterPrintiPKci_20:
	add esp, 0x11c
	pop ebx
	pop esi
	pop edi
	pop ebp
	ret
	nop


;CG_Draw2D(int)
_Z9CG_Draw2Di:
	push ebp
	mov ebp, esp
	push edi
	push esi
	push ebx
	sub esp, 0x42c
	mov ebx, cgArray
	mov eax, [ebx+0xc]
	test eax, eax
	jnz _Z9CG_Draw2Di_10
	mov eax, cg_draw2D
	mov eax, [eax]
	cmp byte [eax+0xc], 0x0
	jz _Z9CG_Draw2Di_10
	mov eax, net_showprofile
	mov eax, [eax]
	mov eax, [eax+0xc]
	test eax, eax
	jnz _Z9CG_Draw2Di_10
	mov eax, [ebp+0x8]
	mov [esp], eax
	call _Z16CG_ShouldDrawHudi
	mov [ebp-0x3b5], al
	mov esi, [ebx+0x24]
	add esi, 0xc
	cmp dword [esi+0x4], 0x5
	jz _Z9CG_Draw2Di_20
	mov eax, ui_showEndOfGame
	mov eax, [eax]
	cmp byte [eax+0xc], 0x0
	jnz _Z9CG_Draw2Di_30
_Z9CG_Draw2Di_630:
	mov edx, [ebp+0x8]
	mov [esp], edx
	call _Z22CG_CompassUpdateActorsi
	mov ecx, [ebp+0x8]
	mov [esp], ecx
	call _Z24CG_IsScoreboardDisplayedi
	mov [ebp-0x3bc], eax
	cmp dword [esi+0x4], 0x4
	jnz _Z9CG_Draw2Di_40
	cmp byte [ebp-0x3b5], 0x0
	jnz _Z9CG_Draw2Di_50
_Z9CG_Draw2Di_620:
	mov edx, [ebp+0x8]
	mov [esp], edx
	call _Z17CG_DrawScoreboardi
	mov [ebp-0x3c0], eax
	cmp byte [ebp-0x3b5], 0x0
	jz _Z9CG_Draw2Di_10
	mov eax, [ebp-0x3bc]
	test eax, eax
	jnz _Z9CG_Draw2Di_60
_Z9CG_Draw2Di_790:
	mov ebx, cgArray
	mov [esp], ebx
	call _Z18CG_DrawFlashDamagePK4cg_s
	mov ecx, [ebp+0x8]
	mov [esp], ecx
	call _Z32CG_DrawDamageDirectionIndicatorsi
	mov esi, [ebp+0x8]
	mov [esp], esi
	call _Z24CG_DrawGrenadeIndicatorsi
	mov eax, [ebp-0x3c0]
	test eax, eax
	jnz _Z9CG_Draw2Di_70
	mov eax, cg_drawSpectatorMessages
	mov eax, [eax]
	cmp byte [eax+0xc], 0x0
	jz _Z9CG_Draw2Di_70
	mov dword [ebp-0x78], _cstring_toggleads_throw
	mov dword [ebp-0x74], _cstring_speed_throw
	mov dword [ebp-0x70], _cstring_speed
	mov dword [ebp-0x6c], _cstring_toggleads
	mov dword [ebp-0x378], _cstring_melee
	mov dword [ebp-0x374], _cstring_melee_breath
	mov eax, cg_descriptiveText
	mov eax, [eax]
	cmp byte [eax+0xc], 0x0
	jnz _Z9CG_Draw2Di_80
_Z9CG_Draw2Di_910:
	mov eax, cgArray
	mov edx, [eax+0x24]
	add edx, 0xc
	test byte [edx+0x14], 0x2
	jz _Z9CG_Draw2Di_70
	mov esi, [eax+0x5052c]
	test esi, esi
	jnz _Z9CG_Draw2Di_70
	mov dword [esp+0xc], 0x26
	lea eax, [ebp-0x378]
	mov [esp+0x8], eax
	mov eax, [edx+0xdc]
	mov [esp+0x4], eax
	mov edx, [ebp+0x8]
	mov [esp], edx
	call _Z16CL_GetClientNameiiPci
	test eax, eax
	jz _Z9CG_Draw2Di_90
_Z9CG_Draw2Di_1100:
	mov dword [esp+0x8], 0x0
	mov dword [esp+0x4], _cstring_spectator_follow
	mov dword [esp], _cstring_cgame_following
	call _Z23SEH_LocalizeTextMessagePKcS0_15msgLocErrType_t
	mov [ebp-0x398], eax
	call _Z25CL_IsRenderingSplitScreenv
	test al, al
	jz _Z9CG_Draw2Di_100
	movss xmm0, dword [_float_0_50000000]
	movss [ebp-0x394], xmm0
_Z9CG_Draw2Di_1030:
	mov eax, [ebp+0x8]
	shl eax, 0x6
	mov edx, [ebp+0x8]
	lea esi, [eax+edx*4]
	add esi, scrPlaceView
	mov dword [esp+0x8], 0x3eaaaaab
	mov dword [esp+0x4], 0x6
	mov [esp], esi
	call _Z16UI_GetFontHandlePK15ScreenPlacementif
	mov ebx, eax
	movss xmm0, dword [ebp-0x394]
	movss [esp+0xc], xmm0
	mov [esp+0x8], eax
	mov dword [esp+0x4], 0x0
	mov eax, [ebp-0x398]
	mov [esp], eax
	call _Z12UI_TextWidthPKciP6Font_sf
	mov dword [esp+0x28], 0x3
	mov edi, colorWhite
	mov [esp+0x24], edi
	movss xmm0, dword [ebp-0x394]
	movss [esp+0x20], xmm0
	mov dword [esp+0x1c], 0x1
	mov dword [esp+0x18], 0x7
	mov dword [esp+0x14], 0x41a00000
	neg eax
	cvtsi2ss xmm0, eax
	mulss xmm0, [_float_0_50000000]
	movss [esp+0x10], xmm0
	mov [esp+0xc], ebx
	mov dword [esp+0x8], 0x7fffffff
	mov eax, [ebp-0x398]
	mov [esp+0x4], eax
	mov [esp], esi
	call _Z11UI_DrawTextPK15ScreenPlacementPKciP6Font_sffiifPKfi
	movss xmm0, dword [ebp-0x394]
	movss [esp+0xc], xmm0
	mov [esp+0x8], ebx
	mov dword [esp+0x4], 0x0
	lea eax, [ebp-0x378]
	mov [esp], eax
	call _Z12UI_TextWidthPKciP6Font_sf
	mov dword [esp+0x28], 0x3
	mov [esp+0x24], edi
	movss xmm0, dword [ebp-0x394]
	movss [esp+0x20], xmm0
	mov dword [esp+0x1c], 0x1
	mov dword [esp+0x18], 0x7
	mov dword [esp+0x14], 0x42100000
	neg eax
	cvtsi2ss xmm0, eax
	mulss xmm0, [_float_0_50000000]
	movss [esp+0x10], xmm0
	mov [esp+0xc], ebx
	mov dword [esp+0x8], 0x7fffffff
	lea eax, [ebp-0x378]
	mov [esp+0x4], eax
	mov [esp], esi
	call _Z11UI_DrawTextPK15ScreenPlacementPKciP6Font_sffiifPKfi
_Z9CG_Draw2Di_70:
	mov edx, cgsArray
	mov ebx, [edx+0x188]
	test ebx, ebx
	jz _Z9CG_Draw2Di_110
	mov eax, [ebp+0x8]
	shl eax, 0x6
	mov ecx, [ebp+0x8]
	lea eax, [eax+ecx*4]
	mov esi, scrPlaceView
	add eax, esi
	mov [ebp-0x380], eax
	cmp dword [edx+0xc], 0x300
	jg _Z9CG_Draw2Di_120
	movss xmm0, dword [_float_16_00000000]
	movss [ebp-0x388], xmm0
	movss xmm0, dword [_float_0_33333334]
	movss [ebp-0x37c], xmm0
_Z9CG_Draw2Di_730:
	movss [esp+0x8], xmm0
	mov dword [esp+0x4], 0x0
	mov eax, [ebp-0x380]
	mov [esp], eax
	call _Z16UI_GetFontHandlePK15ScreenPlacementif
	mov [ebp-0x384], eax
	mov eax, cg_hudVotePosition
	mov eax, [eax]
	movss xmm0, dword [eax+0xc]
	movss [ebp-0x390], xmm0
	movss xmm0, dword [ebp-0x388]
	addss xmm0, [eax+0x10]
	movss [ebp-0x38c], xmm0
	lea eax, [ebp-0x378]
	mov [esp+0x8], eax
	mov dword [esp+0x4], _cstring_vote_yes
	mov edx, [ebp+0x8]
	mov [esp], edx
	call _Z31UI_GetKeyBindingLocalizedStringiPKcPc
	test eax, eax
	jz _Z9CG_Draw2Di_130
	mov dword [esp+0x8], 0x100
	lea ecx, [ebp-0x378]
	mov [esp+0x4], ecx
	lea esi, [ebp-0x178]
	mov [esp], esi
	call _Z10I_strncpyzPcPKci
_Z9CG_Draw2Di_820:
	lea eax, [ebp-0x378]
	mov [esp+0x8], eax
	mov dword [esp+0x4], _cstring_vote_no
	mov edx, [ebp+0x8]
	mov [esp], edx
	call _Z31UI_GetKeyBindingLocalizedStringiPKcPc
	test eax, eax
	jz _Z9CG_Draw2Di_140
	mov dword [esp+0x8], 0x100
	lea ecx, [ebp-0x378]
	mov [esp+0x4], ecx
	lea esi, [ebp-0x278]
	mov [esp], esi
	call _Z10I_strncpyzPcPKci
_Z9CG_Draw2Di_810:
	mov esi, cgsArray
	mov ecx, cgArray
	mov ebx, [esi+0x188]
	sub ebx, [ecx+0x46128]
	mov edx, 0x10624dd3
	mov eax, ebx
	imul edx
	sar edx, 0x6
	mov eax, ebx
	sar eax, 0x1f
	mov ebx, edx
	sub ebx, eax
	mov eax, 0x0
	cmovs ebx, eax
	mov eax, [ecx+0x24]
	test byte [eax+0xbe], 0x10
	jz _Z9CG_Draw2Di_150
	mov dword [esp], _cstring_cgame_vote
	call _Z22UI_SafeTranslateStringPKc
	lea edx, [esi+0x194]
	mov [esp+0xc], edx
	mov [esp+0x8], ebx
	mov [esp+0x4], eax
	mov dword [esp], _cstring_sis
	call _Z2vaPKcz
	mov dword [esp+0x28], 0x3
	mov edx, colorYellow
	mov [esp+0x24], edx
	movss xmm0, dword [ebp-0x37c]
	movss [esp+0x20], xmm0
	mov dword [esp+0x1c], 0x1
	mov dword [esp+0x18], 0x1
	movss xmm0, dword [ebp-0x38c]
	movss [esp+0x14], xmm0
	movss xmm0, dword [ebp-0x390]
	movss [esp+0x10], xmm0
	mov edx, [ebp-0x384]
	mov [esp+0xc], edx
	mov dword [esp+0x8], 0x7fffffff
	mov [esp+0x4], eax
	mov ecx, [ebp-0x380]
	mov [esp], ecx
	call _Z11UI_DrawTextPK15ScreenPlacementPKciP6Font_sffiifPKfi
	mov edi, [esi+0x190]
	mov dword [esp], _cstring_cgame_no
	call _Z22UI_SafeTranslateStringPKc
	mov ebx, eax
	mov esi, [esi+0x18c]
	mov dword [esp], _cstring_cgame_yes
	call _Z22UI_SafeTranslateStringPKc
	mov [esp+0x10], edi
	mov [esp+0xc], ebx
	mov [esp+0x8], esi
	mov [esp+0x4], eax
	mov dword [esp], _cstring_si_si
	call _Z2vaPKcz
	mov dword [esp+0x28], 0x3
	mov esi, colorYellow
	mov [esp+0x24], esi
_Z9CG_Draw2Di_800:
	movss xmm0, dword [ebp-0x37c]
	movss [esp+0x20], xmm0
	mov dword [esp+0x1c], 0x1
	mov dword [esp+0x18], 0x1
	movss xmm0, dword [ebp-0x388]
	addss xmm0, [ebp-0x38c]
	movss [esp+0x14], xmm0
	movss xmm0, dword [ebp-0x390]
	movss [esp+0x10], xmm0
	mov edx, [ebp-0x384]
	mov [esp+0xc], edx
	mov dword [esp+0x8], 0x7fffffff
	mov [esp+0x4], eax
	mov ecx, [ebp-0x380]
	mov [esp], ecx
	call _Z11UI_DrawTextPK15ScreenPlacementPKciP6Font_sffiifPKfi
_Z9CG_Draw2Di_110:
	mov esi, [ebp+0x8]
	mov [esp], esi
	call _Z16CG_DrawLagometeri
	mov [esp], esi
	call _Z20CG_DrawDebugOverlaysi
	mov ecx, [ebp-0x3c0]
	test ecx, ecx
	jnz _Z9CG_Draw2Di_160
	mov eax, cg_minicon
	mov eax, [eax]
	cmp byte [eax+0xc], 0x0
	jnz _Z9CG_Draw2Di_170
_Z9CG_Draw2Di_760:
	mov dword [esp+0xc], 0x3f800000
	mov dword [esp+0x8], 0x12c
	mov dword [esp+0x4], 0x2
	mov edi, [ebp+0x8]
	mov [esp], edi
	call _Z14Con_DrawErrorsiiif
_Z9CG_Draw2Di_160:
	mov eax, cg_hudSayPosition
	mov edx, [eax]
	cvttss2si eax, [edx+0x10]
	add eax, 0x18
	mov [esp+0x8], eax
	cvttss2si eax, [edx+0xc]
	mov [esp+0x4], eax
	mov eax, [ebp+0x8]
	mov [esp], eax
	call _Z11Con_DrawSayiii
_Z9CG_Draw2Di_10:
	add esp, 0x42c
	pop ebx
	pop esi
	pop edi
	pop ebp
	ret
_Z9CG_Draw2Di_40:
	mov edi, [ebp+0x8]
	mov [esp], edi
	call _Z25CG_DrawNightVisionOverlayi
	mov eax, edi
	call _Z25CG_ScanForCrosshairEntityi
	cmp dword [esi+0x4], 0x6
	jle _Z9CG_Draw2Di_180
_Z9CG_Draw2Di_830:
	cmp byte [ebp-0x3b5], 0x0
	jz _Z9CG_Draw2Di_190
	cmp dword [esi+0x4], 0x6
	jle _Z9CG_Draw2Di_200
_Z9CG_Draw2Di_890:
	mov eax, [ebp-0x3bc]
	test eax, eax
	jnz _Z9CG_Draw2Di_190
	mov eax, [ebp+0x8]
	call _Z19CG_DrawChatMessagesi
_Z9CG_Draw2Di_190:
	mov ebx, cgArray
	mov edx, [ebx+0x50368]
	test edx, edx
	jnz _Z9CG_Draw2Di_210
_Z9CG_Draw2Di_640:
	mov edx, [ebp+0x8]
	mov [esp], edx
	call _Z22CL_GetCurrentCmdNumberi
	mov ebx, eax
	cmp eax, 0x1
	jle _Z9CG_Draw2Di_220
	lea eax, [ebp-0x38]
	mov [esp+0x8], eax
	lea eax, [ebx-0x1]
	mov [esp+0x4], eax
	mov ecx, [ebp+0x8]
	mov [esp], ecx
	call _Z13CL_GetUserCmdiiP9usercmd_s
	lea eax, [ebp-0x58]
	mov [esp+0x8], eax
	mov [esp+0x4], ebx
	mov esi, [ebp+0x8]
	mov [esp], esi
	call _Z13CL_GetUserCmdiiP9usercmd_s
	mov edx, [ebp-0x34]
	mov edi, [ebp-0x54]
	mov [ebp-0x3c4], edi
	xor edi, edx
	mov [ebp-0x3b4], edi
	movzx eax, byte [ebp-0x1a]
	mov [ebp-0x35a], al
	movzx eax, byte [ebp-0x1b]
	mov [ebp-0x35b], al
	movzx eax, byte [ebp-0x1c]
	mov [ebp-0x35c], al
	mov eax, [ebp-0x20]
	mov [ebp-0x360], eax
	movzx eax, byte [ebp-0x21]
	mov [ebp-0x361], al
	movzx eax, byte [ebp-0x22]
	mov [ebp-0x362], al
	movzx eax, byte [ebp-0x23]
	mov [ebp-0x363], al
	movzx eax, byte [ebp-0x24]
	mov [ebp-0x364], al
	mov eax, [ebp-0x28]
	mov [ebp-0x368], eax
	mov eax, [ebp-0x2c]
	mov [ebp-0x36c], eax
	mov eax, [ebp-0x30]
	mov [ebp-0x370], eax
	mov [ebp-0x374], edx
	mov eax, [ebp-0x38]
	mov [ebp-0x378], eax
	movzx eax, byte [ebp-0x3a]
	mov [ebp-0x5a], al
	movzx eax, byte [ebp-0x3b]
	mov [ebp-0x5b], al
	movzx eax, byte [ebp-0x3c]
	mov [ebp-0x5c], al
	mov eax, [ebp-0x40]
	mov [ebp-0x60], eax
	movzx eax, byte [ebp-0x41]
	mov [ebp-0x61], al
	movzx eax, byte [ebp-0x42]
	mov [ebp-0x62], al
	movzx eax, byte [ebp-0x43]
	mov [ebp-0x63], al
	movzx eax, byte [ebp-0x44]
	mov [ebp-0x64], al
	mov eax, [ebp-0x48]
	mov [ebp-0x68], eax
	mov eax, [ebp-0x4c]
	mov [ebp-0x6c], eax
	mov eax, [ebp-0x50]
	mov [ebp-0x70], eax
	mov eax, [ebp-0x3c4]
	mov [ebp-0x74], eax
	mov eax, [ebp-0x58]
	mov [ebp-0x78], eax
	mov ebx, 0xc
	cld
	lea esi, [ebp-0x370]
	lea edi, [ebp-0x70]
	mov ecx, ebx
	repe cmpsb
	mov eax, 0x0
	jz _Z9CG_Draw2Di_230
	movzx eax, byte [esi-0x1]
	movzx ecx, byte [edi-0x1]
	sub eax, ecx
_Z9CG_Draw2Di_230:
	test eax, eax
	jz _Z9CG_Draw2Di_240
_Z9CG_Draw2Di_740:
	mov ebx, 0x1
_Z9CG_Draw2Di_750:
	test byte [ebp-0x3c4], 0x1
	jz _Z9CG_Draw2Di_250
	mov eax, cgArray
	test dword [eax+0x461ec], 0x300
	jz _Z9CG_Draw2Di_260
_Z9CG_Draw2Di_250:
	test byte [ebp-0x3c4], 0x30
	jz _Z9CG_Draw2Di_270
	mov eax, cgArray
	test byte [eax+0x46148], 0x4
	jnz _Z9CG_Draw2Di_270
	test dword [eax+0x461ec], 0x300
	jnz _Z9CG_Draw2Di_270
_Z9CG_Draw2Di_260:
	mov dword [esp+0x4], 0x1
	mov ecx, [ebp+0x8]
	mov [esp], ecx
	call _Z17CG_MenuShowNotifyii
	mov ebx, 0x1
	mov esi, [ebp-0x54]
	mov [ebp-0x3c4], esi
_Z9CG_Draw2Di_270:
	test word [ebp-0x3c4], 0xc000
	jnz _Z9CG_Draw2Di_280
_Z9CG_Draw2Di_860:
	test dword [ebp-0x3b4], 0x1300
	jnz _Z9CG_Draw2Di_290
	test dword [ebp-0x3c4], 0x1300
	jnz _Z9CG_Draw2Di_300
_Z9CG_Draw2Di_900:
	test ebx, ebx
	jnz _Z9CG_Draw2Di_310
	test dword [ebp-0x3b4], 0xffffecff
	jz _Z9CG_Draw2Di_220
_Z9CG_Draw2Di_310:
	mov dword [esp+0x4], 0x2
	mov esi, [ebp+0x8]
	mov [esp], esi
	call _Z17CG_MenuShowNotifyii
_Z9CG_Draw2Di_220:
	mov ebx, cgArray
	mov eax, [ebx+0x24]
	add eax, 0xc
	mov [esp], eax
	call _Z19CG_CalcPlayerHealthPK13playerState_s
	fstp dword [ebp-0x3b0]
	mov eax, hud_health_startpulse_injured
	mov eax, [eax]
	movss xmm0, dword [eax+0xc]
	ucomiss xmm0, [ebp-0x3b0]
	ja _Z9CG_Draw2Di_320
	mov eax, hud_fade_healthbar
	mov eax, [eax]
	movss xmm1, dword [eax+0xc]
	ucomiss xmm1, [_float_0_00000000]
	jp _Z9CG_Draw2Di_330
	jnz _Z9CG_Draw2Di_330
	mov esi, cgArray
_Z9CG_Draw2Di_670:
	mov [esp], esi
	call _Z24CG_CheckPlayerForLowAmmoPK4cg_s
	test al, al
	jnz _Z9CG_Draw2Di_340
	mov [esp], esi
	call _Z24CG_CheckPlayerForLowClipPK4cg_s
	test al, al
	jz _Z9CG_Draw2Di_350
_Z9CG_Draw2Di_340:
	mov dword [esp+0x4], 0x1
	mov esi, [ebp+0x8]
	mov [esp], esi
	call _Z17CG_MenuShowNotifyii
_Z9CG_Draw2Di_350:
	mov eax, hud_fade_ammodisplay
	mov eax, [eax]
	movss xmm1, dword [eax+0xc]
	pxor xmm2, xmm2
	ucomiss xmm1, xmm2
	jp _Z9CG_Draw2Di_360
	jz _Z9CG_Draw2Di_370
_Z9CG_Draw2Di_360:
	mov esi, cgArray
	mov edx, [esi+0x504bc]
	test edx, edx
	jz _Z9CG_Draw2Di_380
	mov eax, [esi+0x46128]
	sub eax, edx
	cvtsi2ss xmm0, eax
	mulss xmm1, [_float_1000_00000000]
	ucomiss xmm0, xmm1
	ja _Z9CG_Draw2Di_390
_Z9CG_Draw2Di_380:
	mov eax, hud_fade_compass
	mov eax, [eax]
	movss xmm1, dword [eax+0xc]
	ucomiss xmm1, xmm2
	jp _Z9CG_Draw2Di_400
	jz _Z9CG_Draw2Di_410
_Z9CG_Draw2Di_400:
	mov edx, [esi+0x504b4]
	test edx, edx
	jz _Z9CG_Draw2Di_410
	mov eax, [esi+0x46128]
	sub eax, edx
	cvtsi2ss xmm0, eax
	mulss xmm1, [_float_1000_00000000]
	ucomiss xmm0, xmm1
	ja _Z9CG_Draw2Di_420
_Z9CG_Draw2Di_410:
	mov eax, [esi+0x24]
	mov eax, [eax+0xbc]
	test al, 0x8
	jz _Z9CG_Draw2Di_430
	test ah, 0x1
	jnz _Z9CG_Draw2Di_440
_Z9CG_Draw2Di_430:
	test al, 0x4
	jz _Z9CG_Draw2Di_450
	test ah, 0x2
	jnz _Z9CG_Draw2Di_460
_Z9CG_Draw2Di_450:
	mov eax, hud_fade_stance
	mov eax, [eax]
	movss xmm1, dword [eax+0xc]
	pxor xmm2, xmm2
	ucomiss xmm1, xmm2
	jp _Z9CG_Draw2Di_470
	jz _Z9CG_Draw2Di_480
_Z9CG_Draw2Di_470:
	mov eax, cgArray
	mov edx, [eax+0x504c0]
	test edx, edx
	jz _Z9CG_Draw2Di_480
	mov eax, [eax+0x46128]
	sub eax, edx
	cvtsi2ss xmm0, eax
	mulss xmm1, [_float_1000_00000000]
	ucomiss xmm0, xmm1
	ja _Z9CG_Draw2Di_490
_Z9CG_Draw2Di_480:
	mov eax, hud_fade_offhand
	mov eax, [eax]
	movss xmm1, dword [eax+0xc]
	ucomiss xmm1, xmm2
	jp _Z9CG_Draw2Di_500
	jz _Z9CG_Draw2Di_510
_Z9CG_Draw2Di_500:
	mov eax, cgArray
	mov edx, [eax+0x504c8]
	test edx, edx
	jz _Z9CG_Draw2Di_510
	mov eax, [eax+0x46128]
	sub eax, edx
	cvtsi2ss xmm0, eax
	mulss xmm1, [_float_1000_00000000]
	ucomiss xmm0, xmm1
	ja _Z9CG_Draw2Di_520
_Z9CG_Draw2Di_510:
	mov edx, [ebp+0x8]
	mov [esp], edx
	call _Z24CG_IsScoreboardDisplayedi
	test eax, eax
	jz _Z9CG_Draw2Di_530
	mov esi, cgArray
	mov eax, [esi+0x46128]
	sub eax, [esi+0x502e4]
	cmp eax, 0x64
	jg _Z9CG_Draw2Di_540
_Z9CG_Draw2Di_780:
	mov edi, [esi+0x24]
	add edi, 0xc
	cmp dword [edi+0x4], 0x7
	jz _Z9CG_Draw2Di_550
	mov [esp], edi
	call _Z19BG_GetMaxSprintTimePK13playerState_s
	mov ebx, eax
	mov eax, [esi+0x46128]
	mov [esp+0x4], eax
	mov [esp], edi
	call _Z16PM_GetSprintLeftPK13playerState_si
	cmp ebx, eax
	jg _Z9CG_Draw2Di_560
_Z9CG_Draw2Di_880:
	cmp dword [edi+0x4], 0x7
	jz _Z9CG_Draw2Di_550
	mov eax, [esi+0x466fc]
	cmp eax, [esi+0x46700]
	jg _Z9CG_Draw2Di_570
_Z9CG_Draw2Di_550:
	mov eax, hud_fade_sprint
	mov eax, [eax]
	pxor xmm0, xmm0
	ucomiss xmm0, [eax+0xc]
	jp _Z9CG_Draw2Di_580
	jz _Z9CG_Draw2Di_590
_Z9CG_Draw2Di_580:
	mov eax, cgArray
	mov edx, [eax+0x504c4]
	test edx, edx
	jz _Z9CG_Draw2Di_590
	mov eax, [eax+0x46128]
	sub eax, edx
	cvtsi2ss xmm1, eax
	mov eax, hud_fade_stance
	mov eax, [eax]
	movss xmm0, dword [_float_1000_00000000]
	mulss xmm0, [eax+0xc]
	ucomiss xmm1, xmm0
	ja _Z9CG_Draw2Di_600
_Z9CG_Draw2Di_590:
	cmp byte [ebp-0x3b5], 0x0
	jnz _Z9CG_Draw2Di_610
_Z9CG_Draw2Di_840:
	mov dword [esp+0x4], 0x1
	mov eax, [ebp+0x8]
	mov [esp], eax
	call _Z17CG_Draw2dHudElemsii
	jmp _Z9CG_Draw2Di_620
_Z9CG_Draw2Di_30:
	mov dword [esp+0x4], 0x0
	mov [esp], eax
	call _Z12Dvar_SetBoolPK6dvar_sh
	jmp _Z9CG_Draw2Di_630
_Z9CG_Draw2Di_210:
	mov eax, [ebx+0x46128]
	sub eax, edx
	cmp eax, 0x9c4
	jle _Z9CG_Draw2Di_640
	mov dword [esp+0x4], _cstring_voicemenu
	mov eax, [ebp+0x8]
	lea edx, [eax+eax*4]
	shl edx, 0x7
	mov eax, edx
	sub eax, [ebp+0x8]
	lea eax, [edx+eax*8]
	add eax, cgDC
	mov [esp], eax
	call _Z17Menus_CloseByNameP9UiContextPKc
	mov dword [ebx+0x50368], 0x0
	jmp _Z9CG_Draw2Di_640
_Z9CG_Draw2Di_330:
	mov edx, [ebx+0x504b8]
	test edx, edx
	jz _Z9CG_Draw2Di_650
	mov eax, [ebx+0x46128]
	sub eax, edx
	cvtsi2ss xmm0, eax
	mulss xmm1, [_float_1000_00000000]
	ucomiss xmm0, xmm1
	ja _Z9CG_Draw2Di_660
_Z9CG_Draw2Di_650:
	mov esi, ebx
	jmp _Z9CG_Draw2Di_670
_Z9CG_Draw2Di_20:
	mov edx, [ebp+0x8]
	mov [esp], edx
	call _Z16UI_GetActiveMenui
	cmp eax, 0x9
	jz _Z9CG_Draw2Di_680
_Z9CG_Draw2Di_1020:
	mov esi, ui_showEndOfGame
	mov eax, [esi]
	cmp byte [eax+0xc], 0x0
	jnz _Z9CG_Draw2Di_690
	mov dword [ebx+0x502e0], 0x1
	mov eax, [ebx+0x46128]
	mov [ebx+0x502e4], eax
	mov edi, [ebp+0x8]
	mov [esp], edi
	call _Z16UI_GetActiveMenui
	cmp eax, 0xa
	jz _Z9CG_Draw2Di_700
	mov eax, [esi]
	cmp byte [eax+0xc], 0x0
	jz _Z9CG_Draw2Di_710
_Z9CG_Draw2Di_700:
	mov edi, [ebp+0x8]
	mov [esp], edi
	call _Z16UI_GetActiveMenui
	cmp eax, 0xa
	jz _Z9CG_Draw2Di_720
_Z9CG_Draw2Di_870:
	mov eax, [ebp+0x8]
	call _Z19CG_DrawChatMessagesi
	jmp _Z9CG_Draw2Di_160
_Z9CG_Draw2Di_120:
	movss xmm0, dword [_float_10_00000000]
	movss [ebp-0x388], xmm0
	movss xmm0, dword [_float_0_20833333]
	movss [ebp-0x37c], xmm0
	jmp _Z9CG_Draw2Di_730
_Z9CG_Draw2Di_240:
	cmp word [ebp-0x62], 0x0
	jnz _Z9CG_Draw2Di_740
	and ebx, 0xffffff00
	jmp _Z9CG_Draw2Di_750
_Z9CG_Draw2Di_170:
	mov dword [esp+0xc], 0x3f800000
	mov dword [esp+0x8], 0x4
	mov dword [esp+0x4], 0x2
	mov [esp], esi
	call _Z19Con_DrawMiniConsoleiiif
	jmp _Z9CG_Draw2Di_760
_Z9CG_Draw2Di_660:
	call _Z28CL_GetLocalClientActiveCountv
	sub eax, 0x1
	jz _Z9CG_Draw2Di_770
	mov dword [esp+0x4], _cstring_health_mp
	mov ecx, [ebp+0x8]
	lea edx, [ecx+ecx*4]
	shl edx, 0x7
	mov eax, edx
	sub eax, ecx
	lea eax, [edx+eax*8]
	add eax, cgDC
	mov [esp], eax
	call _Z16Menus_HideByNamePK9UiContextPKc
_Z9CG_Draw2Di_1090:
	mov esi, cgArray
	mov dword [esi+0x504b8], 0x0
	jmp _Z9CG_Draw2Di_670
_Z9CG_Draw2Di_370:
	mov esi, cgArray
	jmp _Z9CG_Draw2Di_380
_Z9CG_Draw2Di_530:
	mov esi, cgArray
	jmp _Z9CG_Draw2Di_780
_Z9CG_Draw2Di_60:
	mov eax, [ebp+0x8]
	call _Z19CG_DrawChatMessagesi
	jmp _Z9CG_Draw2Di_790
_Z9CG_Draw2Di_150:
	mov dword [esp], _cstring_cgame_vote
	call _Z22UI_SafeTranslateStringPKc
	lea edx, [esi+0x194]
	mov [esp+0xc], edx
	mov [esp+0x8], ebx
	mov [esp+0x4], eax
	mov dword [esp], _cstring_sis
	call _Z2vaPKcz
	mov dword [esp+0x28], 0x3
	mov edi, colorYellow
	mov [esp+0x24], edi
	movss xmm0, dword [ebp-0x37c]
	movss [esp+0x20], xmm0
	mov dword [esp+0x1c], 0x1
	mov dword [esp+0x18], 0x1
	movss xmm0, dword [ebp-0x38c]
	movss [esp+0x14], xmm0
	movss xmm0, dword [ebp-0x390]
	movss [esp+0x10], xmm0
	mov edx, [ebp-0x384]
	mov [esp+0xc], edx
	mov dword [esp+0x8], 0x7fffffff
	mov [esp+0x4], eax
	mov ecx, [ebp-0x380]
	mov [esp], ecx
	call _Z11UI_DrawTextPK15ScreenPlacementPKciP6Font_sffiifPKfi
	mov edi, [esi+0x190]
	mov dword [esp], _cstring_cgame_no
	call _Z22UI_SafeTranslateStringPKc
	mov ebx, eax
	mov esi, [esi+0x18c]
	mov dword [esp], _cstring_cgame_yes
	call _Z22UI_SafeTranslateStringPKc
	mov [esp+0x18], edi
	lea edi, [ebp-0x278]
	mov [esp+0x14], edi
	mov [esp+0x10], ebx
	mov [esp+0xc], esi
	lea edx, [ebp-0x178]
	mov [esp+0x8], edx
	mov [esp+0x4], eax
	mov dword [esp], _cstring_ssi_ssi
	call _Z2vaPKcz
	mov dword [esp+0x28], 0x3
	mov ecx, colorYellow
	mov [esp+0x24], ecx
	jmp _Z9CG_Draw2Di_800
_Z9CG_Draw2Di_140:
	mov dword [esp+0x8], 0x100
	mov dword [esp+0x4], _cstring_vote_no
	lea edi, [ebp-0x278]
	mov [esp], edi
	call _Z10I_strncpyzPcPKci
	jmp _Z9CG_Draw2Di_810
_Z9CG_Draw2Di_130:
	mov dword [esp+0x8], 0x100
	mov dword [esp+0x4], _cstring_vote_yes
	lea edi, [ebp-0x178]
	mov [esp], edi
	call _Z10I_strncpyzPcPKci
	jmp _Z9CG_Draw2Di_820
_Z9CG_Draw2Di_180:
	mov [esp], edi
	call _Z16CG_DrawCrosshairi
	jmp _Z9CG_Draw2Di_830
_Z9CG_Draw2Di_320:
	mov dword [esp+0x4], 0x0
	mov edi, [ebp+0x8]
	mov [esp], edi
	call _Z17CG_MenuShowNotifyii
	mov esi, ebx
	jmp _Z9CG_Draw2Di_670
_Z9CG_Draw2Di_610:
	mov dword [esp+0x4], 0x0
	mov edi, [ebp+0x8]
	mov [esp], edi
	call _Z17CG_Draw2dHudElemsii
	lea edx, [edi+edi*4]
	shl edx, 0x7
	mov eax, edx
	sub eax, edi
	lea eax, [edx+eax*8]
	add eax, cgDC
	mov [esp], eax
	call _Z13Menu_PaintAllP9UiContext
	jmp _Z9CG_Draw2Di_840
_Z9CG_Draw2Di_50:
	mov eax, [ebp+0x8]
	call _Z25CG_ScanForCrosshairEntityi
	mov eax, [ebp+0x8]
	call _Z21CG_DrawCrosshairNamesi
	mov eax, [ebp+0x8]
	call _Z20CG_DrawFriendlyNamesi
	mov eax, [ebp-0x3bc]
	test eax, eax
	jz _Z9CG_Draw2Di_850
_Z9CG_Draw2Di_960:
	mov dword [esp+0x4], 0x0
	mov esi, [ebp+0x8]
	mov [esp], esi
	call _Z17CG_Draw2dHudElemsii
	lea edx, [esi+esi*4]
	shl edx, 0x7
	mov eax, edx
	sub eax, esi
	lea eax, [edx+eax*8]
	add eax, cgDC
	mov [esp], eax
	call _Z13Menu_PaintAllP9UiContext
	mov dword [esp+0x4], 0x1
	mov [esp], esi
	call _Z17CG_Draw2dHudElemsii
	jmp _Z9CG_Draw2Di_620
_Z9CG_Draw2Di_290:
	mov dword [esp+0x4], 0x3
	mov edx, [ebp+0x8]
	mov [esp], edx
	call _Z17CG_MenuShowNotifyii
	jmp _Z9CG_Draw2Di_310
_Z9CG_Draw2Di_280:
	mov dword [esp+0x4], 0x4
	mov edi, [ebp+0x8]
	mov [esp], edi
	call _Z17CG_MenuShowNotifyii
	mov ebx, 0x1
	mov eax, [ebp-0x54]
	mov [ebp-0x3c4], eax
	jmp _Z9CG_Draw2Di_860
_Z9CG_Draw2Di_690:
	mov edx, [ebp+0x8]
	mov [esp], edx
	call _Z16UI_GetActiveMenui
	cmp eax, 0xb
	jz _Z9CG_Draw2Di_870
	mov dword [esp+0x4], 0xb
	mov ecx, [ebp+0x8]
	mov [esp], ecx
	call _Z16UI_SetActiveMenuii
	jmp _Z9CG_Draw2Di_870
_Z9CG_Draw2Di_560:
	mov dword [esp+0x4], 0x6
	mov eax, [ebp+0x8]
	mov [esp], eax
	call _Z17CG_MenuShowNotifyii
	jmp _Z9CG_Draw2Di_880
_Z9CG_Draw2Di_540:
	mov dword [esp+0x4], _cstring_objectiveinfo
	mov ecx, [ebp+0x8]
	lea edx, [ecx+ecx*4]
	shl edx, 0x7
	mov eax, edx
	sub eax, ecx
	lea eax, [edx+eax*8]
	add eax, cgDC
	mov [esp], eax
	call _Z16Menus_HideByNamePK9UiContextPKc
	jmp _Z9CG_Draw2Di_780
_Z9CG_Draw2Di_200:
	mov eax, [ebp+0x8]
	call _Z21CG_DrawCrosshairNamesi
	mov eax, [ebp+0x8]
	call _Z20CG_DrawFriendlyNamesi
	jmp _Z9CG_Draw2Di_890
_Z9CG_Draw2Di_440:
	mov dword [esp+0x4], 0x3
	mov edi, [ebp+0x8]
	mov [esp], edi
	call _Z17CG_MenuShowNotifyii
	jmp _Z9CG_Draw2Di_450
_Z9CG_Draw2Di_300:
	mov dword [esp+0x4], 0x3
	mov ecx, [ebp+0x8]
	mov [esp], ecx
	call _Z17CG_MenuShowNotifyii
	jmp _Z9CG_Draw2Di_900
_Z9CG_Draw2Di_460:
	mov dword [esp+0x4], 0x3
	mov eax, [ebp+0x8]
	mov [esp], eax
	call _Z17CG_MenuShowNotifyii
	jmp _Z9CG_Draw2Di_450
_Z9CG_Draw2Di_570:
	mov dword [esp+0x4], 0x6
	mov edx, [ebp+0x8]
	mov [esp], edx
	call _Z17CG_MenuShowNotifyii
	jmp _Z9CG_Draw2Di_550
_Z9CG_Draw2Di_80:
	mov dword [esp+0x4], 0x10
	mov [esp], esi
	call _Z19Key_IsCatcherActiveii
	test al, al
	jnz _Z9CG_Draw2Di_910
	mov edi, [ebx+0x24]
	add edi, 0xc
	test byte [edi+0x14], 0x18
	jz _Z9CG_Draw2Di_910
	mov eax, esi
	shl eax, 0x6
	lea eax, [eax+esi*4]
	mov edx, scrPlaceView
	add eax, edx
	mov [ebp-0x39c], eax
	mov ebx, 0x3e555555
	mov [esp+0x8], ebx
	mov dword [esp+0x4], 0x0
	mov [esp], eax
	call _Z16UI_GetFontHandlePK15ScreenPlacementif
	mov [ebp-0x3a4], eax
	mov [esp+0x4], ebx
	mov [esp], eax
	call _Z13UI_TextHeightP6Font_sf
	cvtsi2ss xmm0, eax
	movss [ebp-0x3a0], xmm0
	mulss xmm0, [_float__2_00000000]
	addss xmm0, [_float_436_00000000]
	movss [ebp-0x3ac], xmm0
	mov eax, [edi+0x14]
	test al, 0x8
	jnz _Z9CG_Draw2Di_920
	mov dword [ebp-0x3a8], 0x0
_Z9CG_Draw2Di_1130:
	test al, 0x10
	jnz _Z9CG_Draw2Di_930
_Z9CG_Draw2Di_1160:
	mov edi, [ebp-0x3a8]
	test edi, edi
	jle _Z9CG_Draw2Di_910
	xor esi, esi
	jmp _Z9CG_Draw2Di_940
_Z9CG_Draw2Di_950:
	mov eax, [ebp+ebx-0x38]
	mov [esp], eax
	call _Z22UI_SafeTranslateStringPKc
	lea ecx, [ebp-0x178]
	mov [esp+0x4], ecx
	mov [esp], eax
	call _Z26UI_ReplaceConversionStringPKcS0_
	mov dword [esp+0x28], 0x3
	mov edx, colorWhite
	mov [esp+0x24], edx
	mov dword [esp+0x20], 0x3e555555
	mov dword [esp+0x1c], 0x0
	mov dword [esp+0x18], 0x0
	movss xmm0, dword [ebp-0x3ac]
	movss [esp+0x14], xmm0
	mov dword [esp+0x10], 0x43700000
	mov edx, [ebp-0x3a4]
	mov [esp+0xc], edx
	mov dword [esp+0x8], 0x7fffffff
	mov [esp+0x4], eax
	mov ecx, [ebp-0x39c]
	mov [esp], ecx
	call _Z11UI_DrawTextPK15ScreenPlacementPKciP6Font_sffiifPKfi
	movss xmm0, dword [ebp-0x3ac]
	addss xmm0, [ebp-0x3a0]
	movss [ebp-0x3ac], xmm0
	add esi, 0x1
	cmp [ebp-0x3a8], esi
	jz _Z9CG_Draw2Di_910
_Z9CG_Draw2Di_940:
	lea edi, [ebp-0x178]
	mov [esp+0x8], edi
	lea ebx, [esi*4]
	mov eax, [ebp+ebx-0x58]
	mov [esp+0x4], eax
	mov eax, [ebp+0x8]
	mov [esp], eax
	call _Z31UI_GetKeyBindingLocalizedStringiPKcPc
	test eax, eax
	jnz _Z9CG_Draw2Di_950
	mov dword [esp], _cstring_key_unbound
	call _Z22UI_SafeTranslateStringPKc
	mov dword [esp+0x8], 0x100
	mov [esp+0x4], eax
	mov [esp], edi
	call _Z10I_strncpyzPcPKci
	jmp _Z9CG_Draw2Di_950
_Z9CG_Draw2Di_850:
	mov eax, [ebp+0x8]
	call _Z19CG_DrawChatMessagesi
	jmp _Z9CG_Draw2Di_960
_Z9CG_Draw2Di_600:
	call _Z28CL_GetLocalClientActiveCountv
	sub eax, 0x1
	jz _Z9CG_Draw2Di_970
	mov dword [esp+0x4], _cstring_sprintmeter_mp
	mov esi, [ebp+0x8]
	lea edx, [esi+esi*4]
	shl edx, 0x7
	mov eax, edx
	sub eax, esi
	lea eax, [edx+eax*8]
	add eax, cgDC
	mov [esp], eax
	call _Z16Menus_HideByNamePK9UiContextPKc
_Z9CG_Draw2Di_1070:
	mov eax, cgArray
	mov dword [eax+0x504c4], 0x0
	jmp _Z9CG_Draw2Di_590
_Z9CG_Draw2Di_490:
	call _Z28CL_GetLocalClientActiveCountv
	sub eax, 0x1
	jz _Z9CG_Draw2Di_980
	mov dword [esp+0x4], _cstring_stance_mp
	mov esi, [ebp+0x8]
	lea edx, [esi+esi*4]
	shl edx, 0x7
	mov eax, edx
	sub eax, esi
	lea eax, [edx+eax*8]
	add eax, cgDC
	mov [esp], eax
	call _Z16Menus_HideByNamePK9UiContextPKc
_Z9CG_Draw2Di_1050:
	mov eax, cgArray
	mov dword [eax+0x504c0], 0x0
	pxor xmm2, xmm2
	jmp _Z9CG_Draw2Di_480
_Z9CG_Draw2Di_420:
	call _Z28CL_GetLocalClientActiveCountv
	sub eax, 0x1
	jz _Z9CG_Draw2Di_990
	mov dword [esp+0x4], _cstring_compass_mp
	mov esi, [ebp+0x8]
	lea edx, [esi+esi*4]
	shl edx, 0x7
	mov eax, edx
	sub eax, esi
	lea eax, [edx+eax*8]
	add eax, cgDC
	mov [esp], eax
	call _Z16Menus_HideByNamePK9UiContextPKc
_Z9CG_Draw2Di_1080:
	mov esi, cgArray
	mov dword [esi+0x504b4], 0x0
	jmp _Z9CG_Draw2Di_410
_Z9CG_Draw2Di_520:
	call _Z28CL_GetLocalClientActiveCountv
	sub eax, 0x1
	jz _Z9CG_Draw2Di_1000
	mov dword [esp+0x4], _cstring_offhandinfo_mp
	mov eax, [ebp+0x8]
	lea edx, [eax+eax*4]
	shl edx, 0x7
	mov eax, edx
	sub eax, [ebp+0x8]
	lea eax, [edx+eax*8]
	add eax, cgDC
	mov [esp], eax
	call _Z16Menus_HideByNamePK9UiContextPKc
_Z9CG_Draw2Di_1060:
	mov eax, cgArray
	mov dword [eax+0x504c8], 0x0
	jmp _Z9CG_Draw2Di_510
_Z9CG_Draw2Di_390:
	call _Z28CL_GetLocalClientActiveCountv
	sub eax, 0x1
	jz _Z9CG_Draw2Di_1010
	mov dword [esp+0x4], _cstring_weaponinfo_mp
	mov eax, [ebp+0x8]
	lea edx, [eax+eax*4]
	shl edx, 0x7
	mov eax, edx
	sub eax, [ebp+0x8]
	lea eax, [edx+eax*8]
	add eax, cgDC
	mov [esp], eax
	call _Z16Menus_HideByNamePK9UiContextPKc
_Z9CG_Draw2Di_1040:
	mov esi, cgArray
	mov dword [esi+0x504bc], 0x0
	pxor xmm2, xmm2
	jmp _Z9CG_Draw2Di_380
_Z9CG_Draw2Di_680:
	mov ecx, [ebp+0x8]
	mov [esp], ecx
	call _Z23UI_GetTopActiveMenuNamei
	test eax, eax
	jz _Z9CG_Draw2Di_1020
	mov eax, [ebp+0x8]
	mov [esp], eax
	call _Z17CG_DrawScoreboardi
	jmp _Z9CG_Draw2Di_870
_Z9CG_Draw2Di_710:
	mov dword [esp+0x4], 0xa
	mov esi, [ebp+0x8]
	mov [esp], esi
	call _Z16UI_SetActiveMenuii
	jmp _Z9CG_Draw2Di_700
_Z9CG_Draw2Di_100:
	movss xmm0, dword [_float_0_33333334]
	movss [ebp-0x394], xmm0
	jmp _Z9CG_Draw2Di_1030
_Z9CG_Draw2Di_720:
	mov [esp], edi
	call _Z17CG_DrawScoreboardi
	jmp _Z9CG_Draw2Di_870
_Z9CG_Draw2Di_1010:
	mov edi, [ebp+0x8]
	lea eax, [edi+edi*4]
	shl eax, 0x7
	mov ebx, eax
	sub ebx, edi
	lea ebx, [eax+ebx*8]
	add ebx, cgDC
	mov dword [esp+0x4], _cstring_weaponinfo
	mov [esp], ebx
	call _Z16Menus_HideByNamePK9UiContextPKc
	mov dword [esp+0x4], _cstring_weaponinfo_lowde
	mov [esp], ebx
	call _Z16Menus_HideByNamePK9UiContextPKc
	jmp _Z9CG_Draw2Di_1040
_Z9CG_Draw2Di_980:
	mov dword [esp+0x4], _cstring_stance
	mov ecx, [ebp+0x8]
	lea edx, [ecx+ecx*4]
	shl edx, 0x7
	mov eax, edx
	sub eax, ecx
	lea eax, [edx+eax*8]
	add eax, cgDC
	mov [esp], eax
	call _Z16Menus_HideByNamePK9UiContextPKc
	jmp _Z9CG_Draw2Di_1050
_Z9CG_Draw2Di_1000:
	mov dword [esp+0x4], _cstring_offhandinfo
	mov edi, [ebp+0x8]
	lea edx, [edi+edi*4]
	shl edx, 0x7
	mov eax, edx
	sub eax, edi
	lea eax, [edx+eax*8]
	add eax, cgDC
	mov [esp], eax
	call _Z16Menus_HideByNamePK9UiContextPKc
	jmp _Z9CG_Draw2Di_1060
_Z9CG_Draw2Di_970:
	mov dword [esp+0x4], _cstring_sprintmeter
	mov ecx, [ebp+0x8]
	lea edx, [ecx+ecx*4]
	shl edx, 0x7
	mov eax, edx
	sub eax, ecx
	lea eax, [edx+eax*8]
	add eax, cgDC
	mov [esp], eax
	call _Z16Menus_HideByNamePK9UiContextPKc
	jmp _Z9CG_Draw2Di_1070
_Z9CG_Draw2Di_990:
	mov dword [esp+0x4], _cstring_compass
	mov ecx, [ebp+0x8]
	lea edx, [ecx+ecx*4]
	shl edx, 0x7
	mov eax, edx
	sub eax, ecx
	lea eax, [edx+eax*8]
	add eax, cgDC
	mov [esp], eax
	call _Z16Menus_HideByNamePK9UiContextPKc
	jmp _Z9CG_Draw2Di_1080
_Z9CG_Draw2Di_770:
	mov dword [esp+0x4], _cstring_health
	mov eax, [ebp+0x8]
	lea edx, [eax+eax*4]
	shl edx, 0x7
	mov eax, edx
	sub eax, [ebp+0x8]
	lea eax, [edx+eax*8]
	add eax, cgDC
	mov [esp], eax
	call _Z16Menus_HideByNamePK9UiContextPKc
	jmp _Z9CG_Draw2Di_1090
_Z9CG_Draw2Di_90:
	mov dword [esp+0x8], _cstring_
	mov dword [esp+0x4], 0x26
	lea ecx, [ebp-0x378]
	mov [esp], ecx
	call _Z11Com_sprintfPciPKcz
	jmp _Z9CG_Draw2Di_1100
_Z9CG_Draw2Di_920:
	mov dword [ebp-0x58], _cstring_attack
	mov dword [ebp-0x38], _cstring_platform_follown
	xor ebx, ebx
_Z9CG_Draw2Di_1120:
	lea eax, [ebp-0x78]
	lea esi, [ebx+eax]
	lea edx, [ebp-0x278]
	mov [esp+0x8], edx
	mov eax, [esi]
	mov [esp+0x4], eax
	mov ecx, [ebp+0x8]
	mov [esp], ecx
	call _Z31UI_GetKeyBindingLocalizedStringiPKcPc
	test eax, eax
	jnz _Z9CG_Draw2Di_1110
	add ebx, 0x4
	cmp ebx, 0x10
	jnz _Z9CG_Draw2Di_1120
	mov eax, [ebp-0x78]
_Z9CG_Draw2Di_1170:
	mov [ebp-0x54], eax
	mov dword [ebp-0x34], _cstring_platform_followp
	mov dword [ebp-0x3a8], 0x2
	mov eax, [edi+0x14]
	jmp _Z9CG_Draw2Di_1130
_Z9CG_Draw2Di_930:
	xor ebx, ebx
_Z9CG_Draw2Di_1150:
	lea edi, [ebp-0x378]
	lea esi, [ebx+edi]
	lea eax, [ebp-0x278]
	mov [esp+0x8], eax
	mov eax, [esi]
	mov [esp+0x4], eax
	mov edx, [ebp+0x8]
	mov [esp], edx
	call _Z31UI_GetKeyBindingLocalizedStringiPKcPc
	test eax, eax
	jnz _Z9CG_Draw2Di_1140
	add ebx, 0x4
	cmp ebx, 0x8
	jnz _Z9CG_Draw2Di_1150
	mov eax, [ebp-0x378]
_Z9CG_Draw2Di_1180:
	mov ecx, [ebp-0x3a8]
	mov [ebp+ecx*4-0x58], eax
	mov dword [ebp+ecx*4-0x38], _cstring_platform_follows
	add ecx, 0x1
	mov [ebp-0x3a8], ecx
	jmp _Z9CG_Draw2Di_1160
_Z9CG_Draw2Di_1110:
	mov eax, [esi]
	jmp _Z9CG_Draw2Di_1170
_Z9CG_Draw2Di_1140:
	mov eax, [esi]
	jmp _Z9CG_Draw2Di_1180


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


;Initialized constant data of cg_draw_mp:
SECTION .rdata


;Zero initialized global or static variables of cg_draw_mp:
SECTION .bss
overheadFade: resb 0x300
s_centerPrint: resb 0x480


;All cstrings:
SECTION .rdata
_cstring_unable_to_get_na:		db "Unable to get name for client num: %i",0ah,0
_cstring_g_teamcolor:		db "g_TeamColor",0
_cstring_center_print:		db "Center Print",0
_cstring_toggleads_throw:		db "+toggleads_throw",0
_cstring_speed_throw:		db "+speed_throw",0
_cstring_speed:		db "+speed",0
_cstring_toggleads:		db "toggleads",0
_cstring_melee:		db "+melee",0
_cstring_melee_breath:		db "+melee_breath",0
_cstring_spectator_follow:		db "spectator follow string",0
_cstring_cgame_following:		db "CGAME_FOLLOWING",015h,0
_cstring_vote_yes:		db "vote yes",0
_cstring_vote_no:		db "vote no",0
_cstring_cgame_vote:		db "CGAME_VOTE",0
_cstring_sis:		db "%s(%i):%s",0
_cstring_cgame_no:		db "CGAME_NO",0
_cstring_cgame_yes:		db "CGAME_YES",0
_cstring_si_si:		db "%s:%i, %s:%i",0
_cstring_voicemenu:		db "voiceMenu",0
_cstring_health_mp:		db "Health_mp",0
_cstring_ssi_ssi:		db "%s(%s):%i, %s(%s):%i",0
_cstring_objectiveinfo:		db "objectiveinfo",0
_cstring_key_unbound:		db "KEY_UNBOUND",0
_cstring_sprintmeter_mp:		db "sprintMeter_mp",0
_cstring_stance_mp:		db "stance_mp",0
_cstring_compass_mp:		db "Compass_mp",0
_cstring_offhandinfo_mp:		db "offhandinfo_mp",0
_cstring_weaponinfo_mp:		db "weaponinfo_mp",0
_cstring_weaponinfo:		db "weaponinfo",0
_cstring_weaponinfo_lowde:		db "weaponinfo_lowdef",0
_cstring_stance:		db "stance",0
_cstring_offhandinfo:		db "offhandinfo",0
_cstring_sprintmeter:		db "sprintMeter",0
_cstring_compass:		db "Compass",0
_cstring_health:		db "Health",0
_cstring_:		db 3fh,0
_cstring_attack:		db "+attack",0
_cstring_platform_follown:		db "PLATFORM_FOLLOWNEXTPLAYER",0
_cstring_platform_followp:		db "PLATFORM_FOLLOWPREVIOUSPLAYER",0
_cstring_platform_follows:		db "PLATFORM_FOLLOWSTOP",0



;All constant floats and doubles:
SECTION .rdata
_float_8192_00000000:		dd 0x46000000	; 8192
_float_0_20000000:		dd 0x3e4ccccd	; 0.2
_float_10_00000000:		dd 0x41200000	; 10
_float_0_20833333:		dd 0x3e555555	; 0.208333
_float_8_00000000:		dd 0x41000000	; 8
_float_3_00000000:		dd 0x40400000	; 3
_float_1_00000000:		dd 0x3f800000	; 1
_float_0_60000002:		dd 0x3f19999a	; 0.6
_float_0_25000000:		dd 0x3e800000	; 0.25
_float_200_00000000:		dd 0x43480000	; 200
_float_12_00000000:		dd 0x41400000	; 12
_float_16_00000000:		dd 0x41800000	; 16
_float_0_33333334:		dd 0x3eaaaaab	; 0.333333
_float_0_00100000:		dd 0x3a83126f	; 0.001
_float_82_00000000:		dd 0x42a40000	; 82
_float_0_00000000:		dd 0x0	; 0
_float_0_50000000:		dd 0x3f000000	; 0.5
_float__0_50000000:		dd 0xbf000000	; -0.5
_float_1000_00000000:		dd 0x447a0000	; 1000
_float__2_00000000:		dd 0xc0000000	; -2
_float_436_00000000:		dd 0x43da0000	; 436

