;Imports of g_scr_main_mp:
	extern _Z15Scr_GetNumParamv
	extern _Z9Scr_ErrorPKc
	extern _Z13Scr_GetStringj
	extern _Z15Con_OpenChannelPKch
	extern level
	extern _Z11Scr_GetTypej
	extern _Z14Scr_ParamErrorjPKc
	extern _Z10Scr_GetIntj
	extern _Z17Con_IsChannelOpeni
	extern _Z23Con_ScriptHasPermissioni
	extern _Z14Con_GetChannelPKcPi
	extern _Z10Scr_AddInti
	extern g_NoScriptSpam
	extern _Z18Scr_GetDebugStringj
	extern _Z10Com_PrintfiPKcz
	extern _Z2vaPKcz
	extern _Z24SV_GameSendServerCommandi11svscmd_typePKc
	extern _Z13Scr_GetVectorjPf
	extern _Z16G_AddDebugStringPKfS0_fPKci
	extern _Z12Scr_GetFloatj
	extern _Z15CL_AddDebugLinePKfS0_S0_iii
	extern _Z18Scr_GetConstStringj
	extern _Z7G_Spawnv
	extern _Z13Scr_SetStringPtj
	extern _Z17G_CallSpawnEntityP9gentity_s
	extern _Z13Scr_AddEntityP9gentity_s
	extern _Z18SL_ConvertToStringj
	extern _Z13Scr_GetEntityj
	extern _Z13G_SpawnTurretP9gentity_sPKc
	extern _Z23G_GetWeaponIndexForNamePKc
	extern scr_const
	extern _Z17G_SpawnHelicopterP9gentity_sS0_PKcS2_
	extern _Z18Scr_GetPointerTypej
	extern _Z21Dvar_GetVariantStringPKc
	extern _Z13Scr_AddStringPKc
	extern atoi
	extern atof
	extern _Z12Scr_AddFloatf
	extern _Z11I_CleanCharc
	extern _Z16Dvar_IsValidNamePKc
	extern _Z24Dvar_SetFromStringByNamePKcS0_
	extern _Z12Dvar_FindVarPKc
	extern _Z13Dvar_AddFlagsPK6dvar_si
	extern g_entities
	extern _Z9I_stricmpPKcS0_
	extern _Z15BG_GetWeaponDefj
	extern _Z13XModelGetNamePK6XModel
	extern _Z11Scr_GetAnimjP11XAnimTree_s
	extern _Z12Scr_GetAnimsj
	extern _Z16XAnimIsPrimitiveP7XAnim_sj
	extern _Z14XAnimGetLengthPK7XAnim_sj
	extern _Z20XAnimNotetrackExistsPK7XAnim_sjj
	extern _Z11Scr_AddBooli
	extern _Z13Scr_MakeArrayv
	extern _Z35XAnimAddNotetrackTimesToScriptArrayPK7XAnim_sjj
	extern _Z13Scr_AddVectorPKf
	extern _Z17G_LocationalTraceP7trace_tPKfS2_iiPh
	extern _Z25Scr_AddArrayStringIndexedj
	extern _Z20Trace_GetEntityHitIdPK7trace_t
	extern _Z18Scr_AddConstStringj
	extern _Z21Com_SurfaceTypeToNamei
	extern _Z16Scr_AddUndefinedv
	extern _Z23G_LocationalTracePassedPKfS0_iiiPh
	extern vec3_origin
	extern _Z14G_TraceCapsuleP7trace_tPKfS2_S2_S2_ii
	extern playerMaxs
	extern playerMins
	extern _Z16XAnimGetRelDeltaPK7XAnim_sjPfS2_ff
	extern _Z13RotationToYawPKf
	extern _Z18SV_GetConfigstringiPci
	extern _Z5irandii
	extern _Z6flrandff
	extern sin
	extern cos
	extern sinf
	extern cosf
	extern asinf
	extern acosf
	extern atanf
	extern _Z15Scr_GetTypeNamej
	extern floorf
	extern ceilf
	extern _Z12Vec2DistancePKfS0_
	extern _Z11vectoanglesPKfPf
	extern _Z12AngleVectorsPKfPfS1_S1_
	extern _Z12AnglesToAxisPKfPA3_f
	extern _Z14MatrixMultiplyPA3_KfS1_PA3_f
	extern _Z12AxisToAnglesPA3_KfPf
	extern strstr
	extern tolower
	extern _Z17SL_AddRefToStringj
	extern _Z12Scr_AddArrayv
	extern _Z20SL_RemoveRefToStringj
	extern _Z18SV_SetConfigstringiPKc
	extern _Z12G_ModelIndexPKc
	extern _Z17G_ShellShockIndexPKc
	extern _Z22BG_LoadShellShockDvarsPKc
	extern _Z9Com_Error11errorParm_tPKcz
	extern _Z21BG_GetShellshockParmsi
	extern _Z30BG_SetShellShockParmsFromDvarsP18shellshock_parms_t
	extern _Z10G_FindItemPKci
	extern _Z15G_MaterialIndexPKc
	extern _Z14Scr_GetIStringj
	extern _Z22G_LocalizedStringIndexPKc
	extern _Z9I_strncmpPKcS0_i
	extern _Z13G_EffectIndexPKc
	extern _Z12G_TempEntityPKfi
	extern _Z27Scr_GetConstLowercaseStringj
	extern strchr
	extern _Z19SV_DObjGetBoneIndexPK9gentity_sj
	extern _Z23G_FindConfigstringIndexPKciiiS0_
	extern _Z10G_AddEventP9gentity_sij
	extern _Z15SV_DObjDumpInfoP9gentity_s
	extern _Z11G_ModelNamei
	extern _Z11G_SetOriginP9gentity_sPKf
	extern _Z13SV_LinkEntityP9gentity_s
	extern g_fogColorReadOnly
	extern _Z13Dvar_SetColorPK6dvar_sffff
	extern g_fogStartDistReadOnly
	extern _Z13Dvar_SetFloatPK6dvar_sf
	extern g_fogHalfDistReadOnly
	extern _Z8G_setfogPKc
	extern _Z9DirToBytePKf
	extern _Z19BG_WeaponIsClipOnlyi
	extern _Z20BG_GetWeaponTypeName10weapType_t
	extern _Z21BG_GetWeaponClassName11weapClass_t
	extern _Z29BG_GetWeaponInventoryTypeName19weapInventoryType_t
	extern _Z16Info_ValueForKeyPKcS0_
	extern _Z19Info_SetValueForKeyPcPKcS1_
	extern strcmp
	extern _Z10I_strncpyzPcPKci
	extern _Z21ClientUserinfoChangedi
	extern g_maxclients
	extern _Z11G_LogPrintfPKcz
	extern _Z9I_strncatPciPKc
	extern _Z29G_MeansOfDeathFromScriptParami
	extern _Z15CM_AreaEntitiesPKfS0_Piii
	extern _Z11Com_DPrintfiPKcz
	extern _Z12Cbuf_AddTextiPKc
	extern _Z11SV_MatchEndv
	extern _Z9ExitLevelv
	extern _Z16SV_AddTestClientv
	extern _Z19Dvar_RegisterStringPKcS0_tS0_
	extern _Z12SV_MapExistsPKc
	extern _Z11Dvar_GetIntPKc
	extern _Z21Com_TryFindSoundAliasPKc
	extern _Z15SV_SetMapCenterPf
	extern _Z17SV_SetGameEndTimei
	extern _Z13Scr_GetObjectj
	extern _Z16Scr_AddArrayKeysj
	extern useFastFile
	extern _Z20StringTable_GetAssetPKcPPK11StringTable
	extern _Z18StringTable_LookupPK11StringTableiPKci
	extern _Z14Scr_AddIStringPKc
	extern _Z11G_EntDetachP9gentity_sPKcj
	extern _Z11G_EntAttachP9gentity_sPKcji
	extern _Z15Scr_ObjectErrorPKc
	extern _Z14G_EntDetachAllP9gentity_s
	extern _Z13BG_WeaponAmmoPK13playerState_si
	extern _Z17Com_GetServerDObji
	extern _Z21DObjGetModelBoneIndexPK6DObj_sPKcjPh
	extern _Z19DObjSetHidePartBitsP6DObj_sPKj
	extern _Z16DObjGetBoneIndexPK6DObj_sjPh
	extern _Z11G_EntLinkToP9gentity_sS0_j
	extern _Z13SV_DObjExistsP9gentity_s
	extern _Z21G_EntLinkToWithOffsetP9gentity_sS0_jPKfS2_
	extern _Z11G_EntUnlinkP9gentity_s
	extern _Z10Scr_NotifyP9gentity_stj
	extern entityHandlers
	extern _Z19ExpandBoundsToWidthPfS_
	extern _Z16SV_EntityContactPKfS0_PK9gentity_s
	extern _Z17G_SoundAliasIndexPKc
	extern _Z12G_FreeEntityP9gentity_s
	extern _Z10G_SetModelP9gentity_sPKc
	extern _Z12G_DObjUpdateP9gentity_s
	extern _Z14Com_PrintErroriPKcz
	extern hintStrings
	extern level_bgs
	extern bgs
	extern _Z18BG_AnimScriptEventP13playerState_s22scriptAnimEventTypes_tii
	extern _Z16G_ExplodeMissileP9gentity_s
	extern _ZN9EntHandle6setEntEP9gentity_s
	extern _Z16Com_PrintWarningiPKcz
	extern _Z16SV_GetClientStatii
	extern _Z22Scr_LoadedImpureScriptv
	extern _Z12Dvar_GetBoolPKc
	extern _Z16SV_SetClientStatiii
	extern bg_itemlist
	extern _Z23G_ExitAfterConnectPathsv
	extern _Z14Scr_LoadScriptPKc
	extern _Z21Scr_GetFunctionHandlePKcS0_
	extern _Z14G_RadiusDamagePKfP9gentity_sS2_ffffPfS2_ii
	extern _Z23G_DObjGetWorldTagMatrixP9gentity_sjPA3_f
	extern memset
	extern _Z14FS_GetFileListPKcS0_16FsListBehavior_ePci
	extern _Z6strlwrPc
	extern _Z18FS_FOpenFileByModePKcPi8fsMode_t
	extern _Z13FS_FCloseFilei
	extern _Z7FS_ReadPvii
	extern _Z9Com_ParsePPKc
	extern _Z19DB_FindXAssetHeader10XAssetTypePKc
	extern _Z8I_strlwrPc
	extern _Z9CanDamageP9gentity_sS0_PKffPfi
	extern _Z16Player_GetMethodPPKc
	extern _Z19ScriptEnt_GetMethodPPKc
	extern _Z17HudElem_GetMethodPPKc
	extern _Z20Helicopter_GetMethodPPKc
	extern _Z14Scr_ExecThreadij
	extern _Z14Scr_FreeThreadt
	extern _Z10G_SetAngleP9gentity_sPKf
	extern _Z15Scr_AllocStringPKci
	extern _Z18Scr_RemoveClassMapj
	extern _Z12SV_XModelGetPKc
	extern _Z14XModelNumBonesPK6XModel
	extern _Z15XModelBoneNamesP6XModel
	extern _Z20Scr_BeginLoadScriptsv
	extern _Z11Com_sprintfPciPKcz
	extern _Z22Scr_PostCompileScriptsv
	extern _Z15Scr_SetClassMapj
	extern _Z23GScr_AddFieldsForEntityv
	extern _Z25GScr_AddFieldsForHudElemsv
	extern _Z24GScr_AddFieldsForRadiantv
	extern _Z18Scr_EndLoadScriptsv
	extern _Z22G_GetHitLocationString13hitLocation_t
	extern _Z17Scr_ExecEntThreadP9gentity_sij
	extern modNames
	extern _Z22G_GetPlayerCorpseIndexP9gentity_s
	extern _Z13XAnimGetAnimsPK11XAnimTree_s
	extern _Z17Scr_GetAnimsIndexPK7XAnim_s
	extern _Z11Scr_AddAnim10scr_anim_s
	extern _Z12G_SightTracePiPKfS1_ii
	extern g_gametype
	extern __maskrune
	extern loc_warnings
	extern loc_warningsAsErrors
	extern _Z10Scr_GetEntv
	extern _Z15Scr_GetEntArrayv
	extern _Z13Scr_AddStructv
	extern _Z29Scr_MissileCreateAttractorEntv
	extern _Z32Scr_MissileCreateAttractorOriginv
	extern _Z28Scr_MissileCreateRepulsorEntv
	extern _Z31Scr_MissileCreateRepulsorOriginv
	extern _Z26Scr_MissileDeleteAttractorv
	extern _Z15GScr_NewHudElemv
	extern _Z21GScr_NewClientHudElemv
	extern _Z19GScr_NewTeamHudElemv
	extern _Z16Scr_ResetTimeoutv

;Exports of g_scr_main_mp:
	global _Z23GScr_CreatePrintChannelv
	global _Z20GScr_printChannelSetv
	global _Z5printv
	global _Z7printlnv
	global _Z8iprintlnv
	global _Z12iprintlnboldv
	global _Z12GScr_print3dv
	global _Z9GScr_linev
	global _Z13Scr_LogStringv
	global _Z10GScr_Spawnv
	global _Z15GScr_SpawnPlanev
	global _Z16GScr_SpawnTurretv
	global _Z19GScr_PrecacheTurretv
	global _Z20GScr_SpawnHelicopterv
	global _Z9assertCmdv
	global _Z11assertexCmdv
	global _Z12assertmsgCmdv
	global _Z14GScr_IsDefinedv
	global _Z13GScr_IsStringv
	global _Z12GScr_IsAlivev
	global _Z12GScr_GetDvarv
	global _Z15GScr_GetDvarIntv
	global _Z17GScr_GetDvarFloatv
	global _Z12GScr_SetDvarv
	global _Z12GScr_GetTimev
	global _Z15Scr_GetEntByNumv
	global _Z18Scr_GetWeaponModelv
	global _Z18GScr_GetAnimLengthv
	global _Z21GScr_AnimHasNotetrackv
	global _Z22GScr_GetNotetrackTimesv
	global _Z24GScr_GetBrushModelCenterv
	global _Z17Scr_Objective_Addv
	global _Z20Scr_Objective_Deletev
	global _Z19Scr_Objective_Statev
	global _Z18Scr_Objective_Iconv
	global _Z22Scr_Objective_Positionv
	global _Z22Scr_Objective_OnEntityv
	global _Z21Scr_Objective_Currentv
	global _Z15Scr_BulletTracev
	global _Z21Scr_BulletTracePassedv
	global _Z16Scr_PhysicsTracev
	global _Z22Scr_PlayerPhysicsTracev
	global _Z17GScr_GetMoveDeltav
	global _Z18GScr_GetAngleDeltav
	global _Z16GScr_GetNorthYawv
	global _Z13Scr_RandomIntv
	global _Z15Scr_RandomFloatv
	global _Z18Scr_RandomIntRangev
	global _Z20Scr_RandomFloatRangev
	global _Z8GScr_sinv
	global _Z8GScr_cosv
	global _Z8GScr_tanv
	global _Z9GScr_asinv
	global _Z9GScr_acosv
	global _Z9GScr_atanv
	global _Z12GScr_CastIntv
	global _Z8GScr_absv
	global _Z8GScr_minv
	global _Z8GScr_maxv
	global _Z10GScr_floorv
	global _Z9GScr_ceilv
	global _Z9GScr_sqrtv
	global _Z26GScr_VectorFromLineToPointv
	global _Z33GScr_PointOnSegmentNearestToPointv
	global _Z12Scr_Distancev
	global _Z14Scr_Distance2Dv
	global _Z19Scr_DistanceSquaredv
	global _Z10Scr_Lengthv
	global _Z17Scr_LengthSquaredv
	global _Z10Scr_Closerv
	global _Z13Scr_VectorDotv
	global _Z19Scr_VectorNormalizev
	global _Z18Scr_VectorToAnglesv
	global _Z14Scr_VectorLerpv
	global _Z14Scr_AnglesToUpv
	global _Z17Scr_AnglesToRightv
	global _Z19Scr_AnglesToForwardv
	global _Z17Scr_CombineAnglesv
	global _Z12Scr_IsSubStrv
	global _Z13Scr_GetSubStrv
	global _Z11Scr_ToLowerv
	global _Z10Scr_StrTokv
	global _Z13Scr_MusicPlayv
	global _Z13Scr_MusicStopv
	global _Z13Scr_SoundFadev
	global _Z15Scr_AmbientPlayv
	global _Z15Scr_AmbientStopv
	global _Z17Scr_PrecacheModelv
	global _Z22Scr_PrecacheShellShockv
	global _Z16Scr_PrecacheItemv
	global _Z18Scr_PrecacheShaderv
	global _Z18Scr_PrecacheStringv
	global _Z18Scr_PrecacheRumblev
	global _Z10Scr_LoadFXv
	global _Z10Scr_PlayFXv
	global _Z15Scr_PlayFXOnTagv
	global _Z16Scr_PlayLoopedFXv
	global _Z11Scr_SpawnFXv
	global _Z13Scr_TriggerFXv
	global _Z26Scr_PhysicsExplosionSpherev
	global _Z28Scr_PhysicsExplosionCylinderv
	global _Z21Scr_PhysicsRadiusJoltv
	global _Z23Scr_PhysicsRadiusJitterv
	global _Z21Scr_SetExponentialFogv
	global _Z26Scr_GrenadeExplosionEffectv
	global _Z17GScr_RadiusDamagev
	global _Z32GScr_SetPlayerIgnoreRadiusDamagev
	global _Z15GScr_Earthquakev
	global _Z19GScr_WeaponFireTimev
	global _Z21GScr_IsWeaponClipOnlyv
	global _Z28GScr_IsWeaponDetonationTimedv
	global _Z19GScr_WeaponClipSizev
	global _Z21GScr_WeaponIsSemiAutov
	global _Z23GScr_WeaponIsBoltActionv
	global _Z15GScr_WeaponTypev
	global _Z16GScr_WeaponClassv
	global _Z24GScr_WeaponInventoryTypev
	global _Z20GScr_WeaponStartAmmov
	global _Z18GScr_WeaponMaxAmmov
	global _Z24GScr_WeaponAltWeaponNamev
	global _Z13GScr_IsPlayerv
	global _Z19GScr_IsPlayerNumberv
	global _Z21GScr_SetWinningPlayerv
	global _Z19GScr_SetWinningTeamv
	global _Z17GScr_Announcementv
	global _Z23GScr_ClientAnnouncementv
	global _Z17GScr_GetTeamScorev
	global _Z17GScr_SetTeamScorev
	global _Z22GScr_SetClientNameModev
	global _Z22GScr_UpdateClientNamesv
	global _Z24GScr_GetTeamPlayersAlivev
	global _Z19GScr_Objective_Teamv
	global _Z13GScr_LogPrintv
	global _Z19GScr_WorldEntNumberv
	global _Z13GScr_Obituaryv
	global _Z26GScr_positionWouldTelefragv
	global _Z17GScr_getStartTimev
	global _Z17GScr_PrecacheMenuv
	global _Z23GScr_PrecacheStatusIconv
	global _Z21GScr_PrecacheHeadIconv
	global _Z29GScr_PrecacheLocationSelectorv
	global _Z15GScr_MapRestartv
	global _Z14GScr_ExitLevelv
	global _Z18GScr_AddTestClientv
	global _Z23GScr_MakeDvarServerInfov
	global _Z15GScr_SetArchivev
	global _Z20GScr_AllClientsPrintv
	global _Z16GScr_ClientPrintv
	global _Z14GScr_MapExistsv
	global _Z20GScr_IsValidGameTypev
	global _Z13GScr_MatchEndv
	global _Z22GScr_SetPlayerTeamRankv
	global _Z22GScr_SendXboxLiveRanksv
	global _Z21GScr_EndXboxLiveLobbyv
	global _Z17GScr_SetTeamRadarv
	global _Z17GScr_GetTeamRadarv
	global _Z20GScr_GetAssignedTeamv
	global _Z18GScr_SetVoteStringv
	global _Z16GScr_SetVoteTimev
	global _Z20GScr_SetVoteYesCountv
	global _Z19GScr_SetVoteNoCountv
	global _Z13GScr_OpenFilev
	global _Z14GScr_CloseFilev
	global _Z13GScr_FPrintlnv
	global _Z17GScr_FPrintFieldsv
	global _Z12GScr_FReadLnv
	global _Z12GScr_FGetArgv
	global _Z15GScr_KickPlayerv
	global _Z14GScr_BanPlayerv
	global _Z12GScr_LoadMapv
	global _Z24Scr_PlayRumbleOnPositionv
	global _Z28Scr_PlayRumbleLoopOnPositionv
	global _Z18Scr_StopAllRumblesv
	global _Z18ScrCmd_SoundExistsv
	global _Z17Scr_IsSplitscreenv
	global _Z15GScr_SetMiniMapv
	global _Z17GScr_SetMapCenterv
	global _Z19GScr_SetGameEndTimev
	global _Z17GScr_GetArrayKeysv
	global _Z25GScr_SearchForOnlineGamesv
	global _Z14GScr_QuitLobbyv
	global _Z14GScr_QuitPartyv
	global _Z15GScr_StartPartyv
	global _Z22GScr_StartPrivateMatchv
	global _Z18Scr_VisionSetNakedv
	global _Z18Scr_VisionSetNightv
	global _Z15Scr_TableLookupv
	global _Z22Scr_TableLookupIStringv
	global _Z13GScr_EndLobbyv
	global _Z13ScrCmd_attach12scr_entref_t
	global _Z13ScrCmd_detach12scr_entref_t
	global _Z16ScrCmd_detachAll12scr_entref_t
	global _Z20ScrCmd_GetAttachSize12scr_entref_t
	global _Z25ScrCmd_GetAttachModelName12scr_entref_t
	global _Z23ScrCmd_GetAttachTagName12scr_entref_t
	global _Z31ScrCmd_GetAttachIgnoreCollision12scr_entref_t
	global _Z17GScr_GetAmmoCount12scr_entref_t
	global _Z16ScrCmd_GetClanId12scr_entref_t
	global _Z18ScrCmd_GetClanName12scr_entref_t
	global _Z15ScrCmd_hidepart12scr_entref_t
	global _Z15ScrCmd_showpart12scr_entref_t
	global _Z19ScrCmd_showallparts12scr_entref_t
	global _Z13ScrCmd_LinkTo12scr_entref_t
	global _Z13ScrCmd_Unlink12scr_entref_t
	global _Z19ScrCmd_EnableLinkTo12scr_entref_t
	global _Z16ScrCmd_GetOrigin12scr_entref_t
	global _Z13ScrCmd_GetEye12scr_entref_t
	global _Z12ScrCmd_UseBy12scr_entref_t
	global _Z20Scr_SetStableMissile12scr_entref_t
	global _Z17ScrCmd_IsTouching12scr_entref_t
	global _Z16ScrCmd_PlaySound12scr_entref_t
	global _Z24ScrCmd_PlaySoundAsMaster12scr_entref_t
	global _Z22ScrCmd_PlaySoundToTeam12scr_entref_t
	global _Z24ScrCmd_PlaySoundToPlayer12scr_entref_t
	global _Z20ScrCmd_PlayLoopSound12scr_entref_t
	global _Z20ScrCmd_StopLoopSound12scr_entref_t
	global _Z25ScrCmd_PlayRumbleOnEntity12scr_entref_t
	global _Z29ScrCmd_PlayRumbleLoopOnEntity12scr_entref_t
	global _Z17ScrCmd_StopRumble12scr_entref_t
	global _Z13ScrCmd_Delete12scr_entref_t
	global _Z15ScrCmd_SetModel12scr_entref_t
	global _Z22ScrCmd_GetNormalHealth12scr_entref_t
	global _Z22ScrCmd_SetNormalHealth12scr_entref_t
	global _Z14ScrCmd_LaserOn12scr_entref_t
	global _Z15ScrCmd_LaserOff12scr_entref_t
	global _Z18ScrCmd_SetContents12scr_entref_t
	global _Z16ScrCmd_GetStance12scr_entref_t
	global _Z18GScr_SetCursorHint12scr_entref_t
	global _Z18GScr_SetHintString12scr_entref_t
	global _Z28GScr_UseTriggerRequireLookAt12scr_entref_t
	global _Z15GScr_ShellShock12scr_entref_t
	global _Z19GScr_StopShellShock12scr_entref_t
	global _Z20GScr_SetDepthOfField12scr_entref_t
	global _Z29GScr_SetViewModelDepthOfField12scr_entref_t
	global _Z13GScr_ViewKick12scr_entref_t
	global _Z23GScr_LocalToWorldCoords12scr_entref_t
	global _Z16GScr_SetRightArc12scr_entref_t
	global _Z15GScr_SetLeftArc12scr_entref_t
	global _Z14GScr_SetTopArc12scr_entref_t
	global _Z17GScr_SetBottomArc12scr_entref_t
	global _Z23GScr_EntityRadiusDamage12scr_entref_t
	global _Z13GScr_Detonate12scr_entref_t
	global _Z20GScr_DamageConeTrace12scr_entref_t
	global _Z19GScr_SightConeTrace12scr_entref_t
	global _Z20GScr_GetEntityNumber12scr_entref_t
	global _Z20GScr_PlaceSpawnPoint12scr_entref_t
	global _Z22GScr_SetTeamForTrigger12scr_entref_t
	global _Z23GScr_ClientClaimTrigger12scr_entref_t
	global _Z25GScr_ClientReleaseTrigger12scr_entref_t
	global _Z26GScr_ReleaseClaimedTrigger12scr_entref_t
	global _Z12GScr_GetStat12scr_entref_t
	global _Z12GScr_SetStat12scr_entref_t
	global _Z21GScr_SendLeaderboards12scr_entref_t
	global _Z24ScrCmd_SetMoveSpeedScale12scr_entref_t
	global _Z16ScrCmd_LogString12scr_entref_t
	global _Z24ScrCmd_ItemWeaponSetAmmo12scr_entref_t
	global _Z23GScr_LoadScriptAndLabelPKcS0_i
	global _Z16SetObjectiveIconP11objective_ti
	global _Z25GScr_RadiusDamageInternalP9gentity_s
	global _Z22GScr_UpdateTagInternalP9gentity_sjP16cached_tag_mat_ti
	global _Z29Scr_ParseGameTypeList_LoadObjv
	global _Z30Scr_ParseGameTypeList_FastFilev
	global _Z28GScr_DamageConeTraceInternal12scr_entref_ti
	global _Z15GetPlayerEntity12scr_entref_t
	global _Z15Scr_SetFxAnglesiPA3_fPf
	global _Z11ScrCmd_Hide12scr_entref_t
	global _Z11ScrCmd_Show12scr_entref_t
	global _Z13GScr_Shutdownv
	global _Z13Scr_GetMethodPPKcPi
	global _Z13Scr_LoadLevelv
	global _Z13Scr_SetAnglesP9gentity_si
	global _Z13Scr_SetHealthP9gentity_si
	global _Z13Scr_SetOriginP9gentity_si
	global _Z14GScr_AddEntityP9gentity_s
	global _Z14GScr_IsRagdoll12scr_entref_t
	global _Z14Scr_PlayerVoteP9gentity_sPc
	global _Z14Scr_VoteCalledP9gentity_sPcS1_S1_
	global _Z15GScr_IsMantling12scr_entref_t
	global _Z15GScr_IsOnLadder12scr_entref_t
	global _Z15Scr_GetFunctionPPKcPi
	global _Z16GScr_AllocStringPKc
	global _Z16GScr_FreeScriptsv
	global _Z16GScr_GetNumPartsv
	global _Z16GScr_GetPartNamev
	global _Z16GScr_LoadScriptsv
	global _Z16G_InitObjectivesv
	global _Z16Scr_LoadGameTypev
	global _Z16Scr_PlayerDamageP9gentity_sS0_S0_iiiiPKfS2_13hitLocation_ti
	global _Z16Scr_PlayerKilledP9gentity_sS0_S0_iiiPKf13hitLocation_tii
	global _Z17GScr_GetTagAngles12scr_entref_t
	global _Z17GScr_GetTagOrigin12scr_entref_t
	global _Z17GScr_StartRagdoll12scr_entref_t
	global _Z17Scr_PlayerConnectP9gentity_s
	global _Z18GScr_GetCorpseAnim12scr_entref_t
	global _Z19GScr_GetLocSelIndexPKc
	global _Z19ScrCmd_ShowToPlayer12scr_entref_t
	global _Z19Scr_IsValidGameTypePKc
	global _Z19Scr_MakeGameMessageiPKc
	global _Z19Scr_PlayerLastStandP9gentity_sS0_S0_iiiPKf13hitLocation_ti
	global _Z19Scr_StartupGameTypev
	global _Z20GScr_EnableAimAssist12scr_entref_t
	global _Z20G_GetHintStringIndexPiPKc
	global _Z20Scr_PlayerDisconnectP9gentity_s
	global _Z20Scr_SightTracePassedv
	global _Z21GScr_DisableAimAssist12scr_entref_t
	global _Z21GScr_GetHeadIconIndexPKc
	global _Z21GScr_MissileSetTarget12scr_entref_t
	global _Z21Scr_ParseGameTypeListv
	global _Z21Scr_VerifyWeaponIndexiPKc
	global _Z23GScr_GetScriptMenuIndexPKc
	global _Z23GScr_GetStatusIconIndexPKc
	global _Z23GScr_LoadGameTypeScriptv
	global _Z26Scr_ConstructMessageStringiiPKcPcj
	global _Z28Scr_GetGameTypeNameForScriptPKc
	global _Z29GScr_EnableGrenadeTouchDamage12scr_entref_t
	global _Z30GScr_DisableGrenadeTouchDamage12scr_entref_t
	global functions
	global g_scr_data


SECTION .text


;GScr_CreatePrintChannel()
_Z23GScr_CreatePrintChannelv:
	push ebp
	mov ebp, esp
	sub esp, 0x18
	call _Z15Scr_GetNumParamv
	sub eax, 0x1
	jz _Z23GScr_CreatePrintChannelv_10
	mov dword [esp], _cstring_illegal_call_to_
	call _Z9Scr_ErrorPKc
_Z23GScr_CreatePrintChannelv_10:
	mov dword [esp], 0x0
	call _Z13Scr_GetStringj
	mov dword [esp+0x4], 0x1
	mov [esp], eax
	call _Z15Con_OpenChannelPKch
	test al, al
	jz _Z23GScr_CreatePrintChannelv_20
	leave
	ret
_Z23GScr_CreatePrintChannelv_20:
	mov dword [esp], _cstring_unable_to_create
	call _Z9Scr_ErrorPKc
	leave
	ret


;GScr_printChannelSet()
_Z20GScr_printChannelSetv:
	push ebp
	mov ebp, esp
	push ebx
	sub esp, 0x24
	mov dword [ebp-0xc], 0x18
	call _Z15Scr_GetNumParamv
	sub eax, 0x1
	jz _Z20GScr_printChannelSetv_10
	mov dword [esp], _cstring_illegal_call_to_1
	call _Z9Scr_ErrorPKc
_Z20GScr_printChannelSetv_60:
	add esp, 0x24
	pop ebx
	pop ebp
	ret
_Z20GScr_printChannelSetv_10:
	mov eax, level
	mov ebx, [eax+0x2e4c]
	mov dword [esp], 0x0
	call _Z11Scr_GetTypej
	cmp eax, 0x2
	jz _Z20GScr_printChannelSetv_20
	cmp eax, 0x6
	jz _Z20GScr_printChannelSetv_30
_Z20GScr_printChannelSetv_40:
	mov dword [esp+0x4], _cstring_invalid_print_ch
	mov dword [esp], 0x0
	call _Z14Scr_ParamErrorjPKc
	add esp, 0x24
	pop ebx
	pop ebp
	ret
_Z20GScr_printChannelSetv_30:
	mov dword [esp], 0x0
	call _Z10Scr_GetIntj
	mov [ebp-0xc], eax
	mov [esp], eax
	call _Z17Con_IsChannelOpeni
	test al, al
	jz _Z20GScr_printChannelSetv_40
_Z20GScr_printChannelSetv_70:
	mov eax, [ebp-0xc]
	mov [esp], eax
	call _Z23Con_ScriptHasPermissioni
	test al, al
	jnz _Z20GScr_printChannelSetv_50
	mov dword [esp+0x4], _cstring_script_does_not_
	mov dword [esp], 0x0
	call _Z14Scr_ParamErrorjPKc
	jmp _Z20GScr_printChannelSetv_60
_Z20GScr_printChannelSetv_20:
	mov dword [esp], 0x0
	call _Z13Scr_GetStringj
	lea edx, [ebp-0xc]
	mov [esp+0x4], edx
	mov [esp], eax
	call _Z14Con_GetChannelPKcPi
	test al, al
	jnz _Z20GScr_printChannelSetv_70
	jmp _Z20GScr_printChannelSetv_40
_Z20GScr_printChannelSetv_50:
	mov edx, [ebp-0xc]
	mov eax, level
	mov [eax+0x2e4c], edx
	mov [esp], ebx
	call _Z10Scr_AddInti
	jmp _Z20GScr_printChannelSetv_60


;print()
_Z5printv:
	push ebp
	mov ebp, esp
	push edi
	push esi
	push ebx
	sub esp, 0x1c
	mov eax, g_NoScriptSpam
	mov eax, [eax]
	cmp byte [eax+0xc], 0x0
	jz _Z5printv_10
_Z5printv_20:
	add esp, 0x1c
	pop ebx
	pop esi
	pop edi
	pop ebp
	ret
_Z5printv_10:
	call _Z15Scr_GetNumParamv
	mov esi, eax
	test eax, eax
	jle _Z5printv_20
	xor ebx, ebx
	mov edi, level
_Z5printv_30:
	mov [esp], ebx
	call _Z18Scr_GetDebugStringj
	mov [esp+0x8], eax
	mov dword [esp+0x4], _cstring_s
	mov eax, [edi+0x2e4c]
	mov [esp], eax
	call _Z10Com_PrintfiPKcz
	add ebx, 0x1
	cmp esi, ebx
	jnz _Z5printv_30
	add esp, 0x1c
	pop ebx
	pop esi
	pop edi
	pop ebp
	ret


;println()
_Z7printlnv:
	push ebp
	mov ebp, esp
	push edi
	push esi
	push ebx
	sub esp, 0x1c
	mov eax, g_NoScriptSpam
	mov eax, [eax]
	cmp byte [eax+0xc], 0x0
	jz _Z7printlnv_10
	add esp, 0x1c
	pop ebx
	pop esi
	pop edi
	pop ebp
	ret
_Z7printlnv_10:
	call _Z15Scr_GetNumParamv
	mov esi, eax
	test eax, eax
	jg _Z7printlnv_20
_Z7printlnv_40:
	mov dword [esp+0x4], _cstring_
	mov eax, level
	mov eax, [eax+0x2e4c]
	mov [esp], eax
	call _Z10Com_PrintfiPKcz
	add esp, 0x1c
	pop ebx
	pop esi
	pop edi
	pop ebp
	ret
_Z7printlnv_20:
	xor ebx, ebx
	mov edi, level
_Z7printlnv_30:
	mov [esp], ebx
	call _Z18Scr_GetDebugStringj
	mov [esp+0x8], eax
	mov dword [esp+0x4], _cstring_s
	mov eax, [edi+0x2e4c]
	mov [esp], eax
	call _Z10Com_PrintfiPKcz
	add ebx, 0x1
	cmp esi, ebx
	jnz _Z7printlnv_30
	jmp _Z7printlnv_40
	nop


;iprintln()
_Z8iprintlnv:
	push ebp
	mov ebp, esp
	push esi
	push ebx
	sub esp, 0x420
	mov dword [esp+0x4], 0x66
	mov dword [esp], _cstring_c
	call _Z2vaPKcz
	mov esi, eax
	call _Z15Scr_GetNumParamv
	mov dword [esp+0x10], 0x400
	lea ebx, [ebp-0x408]
	mov [esp+0xc], ebx
	mov dword [esp+0x8], _cstring_game_message
	sub eax, 0x1
	mov [esp+0x4], eax
	mov dword [esp], 0x0
	call _Z26Scr_ConstructMessageStringiiPKcPcj
	mov [esp+0x8], ebx
	mov [esp+0x4], esi
	mov dword [esp], _cstring_s_s
	call _Z2vaPKcz
	mov [esp+0x8], eax
	mov dword [esp+0x4], 0x0
	mov dword [esp], 0xffffffff
	call _Z24SV_GameSendServerCommandi11svscmd_typePKc
	add esp, 0x420
	pop ebx
	pop esi
	pop ebp
	ret
	nop


;iprintlnbold()
_Z12iprintlnboldv:
	push ebp
	mov ebp, esp
	push esi
	push ebx
	sub esp, 0x420
	mov dword [esp+0x4], 0x67
	mov dword [esp], _cstring_c
	call _Z2vaPKcz
	mov esi, eax
	call _Z15Scr_GetNumParamv
	mov dword [esp+0x10], 0x400
	lea ebx, [ebp-0x408]
	mov [esp+0xc], ebx
	mov dword [esp+0x8], _cstring_game_message
	sub eax, 0x1
	mov [esp+0x4], eax
	mov dword [esp], 0x0
	call _Z26Scr_ConstructMessageStringiiPKcPcj
	mov [esp+0x8], ebx
	mov [esp+0x4], esi
	mov dword [esp], _cstring_s_s
	call _Z2vaPKcz
	mov [esp+0x8], eax
	mov dword [esp+0x4], 0x0
	mov dword [esp], 0xffffffff
	call _Z24SV_GameSendServerCommandi11svscmd_typePKc
	add esp, 0x420
	pop ebx
	pop esi
	pop ebp
	ret
	nop


;GScr_print3d()
_Z12GScr_print3dv:
	push ebp
	mov ebp, esp
	push edi
	push esi
	push ebx
	sub esp, 0x6c
	mov eax, 0x3f800000
	mov [ebp-0x40], eax
	mov [ebp-0x3c], eax
	mov [ebp-0x38], eax
	mov [ebp-0x34], eax
	call _Z15Scr_GetNumParamv
	cmp eax, 0x6
	ja _Z12GScr_print3dv_10
	jmp dword [eax*4+_Z12GScr_print3dv_jumptab_0]
_Z12GScr_print3dv_10:
	mov dword [esp], _cstring_illegal_call_to_2
	call _Z9Scr_ErrorPKc
	add esp, 0x6c
	pop ebx
	pop esi
	pop edi
	pop ebp
	ret
_Z12GScr_print3dv_60:
	mov edi, 0x1
	movss xmm0, dword [_float_1_00000000]
	movss [ebp-0x4c], xmm0
_Z12GScr_print3dv_20:
	mov dword [esp], 0x1
	call _Z13Scr_GetStringj
	mov ebx, eax
	lea esi, [ebp-0x24]
	mov [esp+0x4], esi
	mov dword [esp], 0x0
	call _Z13Scr_GetVectorjPf
	mov [esp+0x10], edi
	mov [esp+0xc], ebx
	movss xmm0, dword [ebp-0x4c]
	movss [esp+0x8], xmm0
	lea eax, [ebp-0x40]
	mov [esp+0x4], eax
	mov [esp], esi
	call _Z16G_AddDebugStringPKfS0_fPKci
	add esp, 0x6c
	pop ebx
	pop esi
	pop edi
	pop ebp
	ret
_Z12GScr_print3dv_100:
	mov dword [esp], 0x5
	call _Z10Scr_GetIntj
	mov edi, eax
_Z12GScr_print3dv_30:
	mov dword [esp], 0x4
	call _Z12Scr_GetFloatj
	fstp dword [ebp-0x4c]
_Z12GScr_print3dv_40:
	mov dword [esp], 0x3
	call _Z12Scr_GetFloatj
	fstp dword [ebp-0x34]
_Z12GScr_print3dv_50:
	lea eax, [ebp-0x30]
	mov [esp+0x4], eax
	mov dword [esp], 0x2
	call _Z13Scr_GetVectorjPf
	mov eax, [ebp-0x30]
	mov [ebp-0x40], eax
	mov eax, [ebp-0x2c]
	mov [ebp-0x3c], eax
	mov eax, [ebp-0x28]
	mov [ebp-0x38], eax
	jmp _Z12GScr_print3dv_20
_Z12GScr_print3dv_90:
	mov edi, 0x1
	jmp _Z12GScr_print3dv_30
_Z12GScr_print3dv_80:
	mov edi, 0x1
	movss xmm0, dword [_float_1_00000000]
	movss [ebp-0x4c], xmm0
	jmp _Z12GScr_print3dv_40
_Z12GScr_print3dv_70:
	mov edi, 0x1
	movss xmm0, dword [_float_1_00000000]
	movss [ebp-0x4c], xmm0
	jmp _Z12GScr_print3dv_50
	nop
	
	
_Z12GScr_print3dv_jumptab_0:
	dd _Z12GScr_print3dv_10
	dd _Z12GScr_print3dv_10
	dd _Z12GScr_print3dv_60
	dd _Z12GScr_print3dv_70
	dd _Z12GScr_print3dv_80
	dd _Z12GScr_print3dv_90
	dd _Z12GScr_print3dv_100


;GScr_line()
_Z9GScr_linev:
	push ebp
	mov ebp, esp
	push edi
	push esi
	push ebx
	sub esp, 0x7c
	mov eax, 0x3f800000
	mov [ebp-0x4c], eax
	mov [ebp-0x48], eax
	mov [ebp-0x44], eax
	mov [ebp-0x40], eax
	call _Z15Scr_GetNumParamv
	cmp eax, 0x6
	ja _Z9GScr_linev_10
	jmp dword [eax*4+_Z9GScr_linev_jumptab_0]
_Z9GScr_linev_10:
	mov dword [esp], _cstring_illegal_call_to_3
	call _Z9Scr_ErrorPKc
	mov dword [ebp-0x5c], 0x0
	xor edi, edi
	lea esi, [ebp-0x30]
	lea ebx, [ebp-0x24]
_Z9GScr_linev_20:
	mov dword [esp+0x14], 0x1
	mov eax, [ebp-0x5c]
	mov [esp+0x10], eax
	mov [esp+0xc], edi
	lea eax, [ebp-0x4c]
	mov [esp+0x8], eax
	mov [esp+0x4], esi
	mov [esp], ebx
	call _Z15CL_AddDebugLinePKfS0_S0_iii
	add esp, 0x7c
	pop ebx
	pop esi
	pop edi
	pop ebp
	ret
_Z9GScr_linev_70:
	mov dword [ebp-0x5c], 0x0
	xor edi, edi
_Z9GScr_linev_30:
	lea esi, [ebp-0x30]
	mov [esp+0x4], esi
	mov dword [esp], 0x1
	call _Z13Scr_GetVectorjPf
	lea ebx, [ebp-0x24]
	mov [esp+0x4], ebx
	mov dword [esp], 0x0
	call _Z13Scr_GetVectorjPf
	jmp _Z9GScr_linev_20
_Z9GScr_linev_110:
	mov dword [esp], 0x5
	call _Z10Scr_GetIntj
	mov [ebp-0x5c], eax
_Z9GScr_linev_40:
	mov dword [esp], 0x4
	call _Z10Scr_GetIntj
	mov edi, eax
_Z9GScr_linev_50:
	mov dword [esp], 0x3
	call _Z12Scr_GetFloatj
	fstp dword [ebp-0x40]
_Z9GScr_linev_60:
	lea eax, [ebp-0x3c]
	mov [esp+0x4], eax
	mov dword [esp], 0x2
	call _Z13Scr_GetVectorjPf
	mov eax, [ebp-0x3c]
	mov [ebp-0x4c], eax
	mov eax, [ebp-0x38]
	mov [ebp-0x48], eax
	mov eax, [ebp-0x34]
	mov [ebp-0x44], eax
	jmp _Z9GScr_linev_30
_Z9GScr_linev_100:
	mov dword [ebp-0x5c], 0x0
	jmp _Z9GScr_linev_40
_Z9GScr_linev_90:
	mov dword [ebp-0x5c], 0x0
	xor edi, edi
	jmp _Z9GScr_linev_50
_Z9GScr_linev_80:
	mov dword [ebp-0x5c], 0x0
	xor edi, edi
	jmp _Z9GScr_linev_60
	nop
	
	
_Z9GScr_linev_jumptab_0:
	dd _Z9GScr_linev_10
	dd _Z9GScr_linev_10
	dd _Z9GScr_linev_70
	dd _Z9GScr_linev_80
	dd _Z9GScr_linev_90
	dd _Z9GScr_linev_100
	dd _Z9GScr_linev_110


;Scr_LogString()
_Z13Scr_LogStringv:
	push ebp
	mov ebp, esp
	pop ebp
	ret
	nop


;GScr_Spawn()
_Z10GScr_Spawnv:
	push ebp
	mov ebp, esp
	push edi
	push esi
	push ebx
	sub esp, 0x2c
	mov dword [esp], 0x0
	call _Z18Scr_GetConstStringj
	mov esi, eax
	lea eax, [ebp-0x24]
	mov [esp+0x4], eax
	mov dword [esp], 0x1
	call _Z13Scr_GetVectorjPf
	call _Z15Scr_GetNumParamv
	cmp eax, 0x2
	ja _Z10GScr_Spawnv_10
	xor edi, edi
_Z10GScr_Spawnv_30:
	call _Z7G_Spawnv
	mov ebx, eax
	movzx esi, si
	mov [esp+0x4], esi
	lea eax, [eax+0x170]
	mov [esp], eax
	call _Z13Scr_SetStringPtj
	lea edx, [ebx+0x13c]
	mov eax, [ebp-0x24]
	mov [ebx+0x13c], eax
	mov eax, [ebp-0x20]
	mov [edx+0x4], eax
	mov eax, [ebp-0x1c]
	mov [edx+0x8], eax
	mov [ebx+0x17c], edi
	mov [esp], ebx
	call _Z17G_CallSpawnEntityP9gentity_s
	test eax, eax
	jz _Z10GScr_Spawnv_20
	mov [esp], ebx
	call _Z13Scr_AddEntityP9gentity_s
	add esp, 0x2c
	pop ebx
	pop esi
	pop edi
	pop ebp
	ret
_Z10GScr_Spawnv_20:
	mov [esp], esi
	call _Z18SL_ConvertToStringj
	mov [esp+0x4], eax
	mov dword [esp], _cstring_unable_to_spawn_
	call _Z2vaPKcz
	mov [esp], eax
	call _Z9Scr_ErrorPKc
	add esp, 0x2c
	pop ebx
	pop esi
	pop edi
	pop ebp
	ret
_Z10GScr_Spawnv_10:
	mov dword [esp], 0x2
	call _Z10Scr_GetIntj
	mov edi, eax
	jmp _Z10GScr_Spawnv_30


;GScr_SpawnPlane()
_Z15GScr_SpawnPlanev:
	push ebp
	mov ebp, esp
	push edi
	push esi
	push ebx
	sub esp, 0x3c
	mov dword [esp], 0x0
	call _Z13Scr_GetEntityj
	mov edi, eax
	mov ebx, [eax+0x15c]
	test ebx, ebx
	jz _Z15GScr_SpawnPlanev_10
_Z15GScr_SpawnPlanev_50:
	mov dword [esp], 0x1
	call _Z18Scr_GetConstStringj
	mov esi, eax
	lea eax, [ebp-0x24]
	mov [esp+0x4], eax
	mov dword [esp], 0x2
	call _Z13Scr_GetVectorjPf
	call _Z15Scr_GetNumParamv
	cmp eax, 0x3
	ja _Z15GScr_SpawnPlanev_20
	mov dword [ebp-0x2c], 0x0
_Z15GScr_SpawnPlanev_40:
	call _Z7G_Spawnv
	mov ebx, eax
	movzx esi, si
	mov [ebp-0x30], esi
	mov [esp+0x4], esi
	lea eax, [ebx+0x170]
	mov [esp], eax
	call _Z13Scr_SetStringPtj
	lea edx, [ebx+0x13c]
	mov eax, [ebp-0x24]
	mov [ebx+0x13c], eax
	mov eax, [ebp-0x20]
	mov [edx+0x4], eax
	mov eax, [ebp-0x1c]
	mov [edx+0x8], eax
	mov eax, [ebp-0x2c]
	mov [ebx+0x17c], eax
	mov eax, [edi+0x15c]
	mov esi, [eax+0x3010]
	mov edx, level
	sub eax, [edx]
	sar eax, 0x2
	imul edi, eax, 0x408b97a1
	mov [esp], ebx
	call _Z17G_CallSpawnEntityP9gentity_s
	test eax, eax
	jz _Z15GScr_SpawnPlanev_30
	mov [esp], ebx
	call _Z13Scr_AddEntityP9gentity_s
	mov dword [ebx+0x4], 0xd
	lea eax, [edi*4]
	or esi, eax
	mov [ebx+0x6c], esi
	add esp, 0x3c
	pop ebx
	pop esi
	pop edi
	pop ebp
	ret
_Z15GScr_SpawnPlanev_30:
	mov dword [ebx+0x4], 0xd
	lea eax, [edi*4]
	or esi, eax
	mov [ebx+0x6c], esi
	mov eax, [ebp-0x30]
	mov [esp], eax
	call _Z18SL_ConvertToStringj
	mov [esp+0x4], eax
	mov dword [esp], _cstring_unable_to_spawn_
	call _Z2vaPKcz
	mov [esp], eax
	call _Z9Scr_ErrorPKc
	add esp, 0x3c
	pop ebx
	pop esi
	pop edi
	pop ebp
	ret
_Z15GScr_SpawnPlanev_20:
	mov dword [esp], 0x3
	call _Z10Scr_GetIntj
	mov [ebp-0x2c], eax
	jmp _Z15GScr_SpawnPlanev_40
_Z15GScr_SpawnPlanev_10:
	mov dword [esp+0x4], _cstring_owner_entity_is_
	mov dword [esp], 0x0
	call _Z14Scr_ParamErrorjPKc
	jmp _Z15GScr_SpawnPlanev_50
	nop


;GScr_SpawnTurret()
_Z16GScr_SpawnTurretv:
	push ebp
	mov ebp, esp
	push edi
	push esi
	push ebx
	sub esp, 0x2c
	mov dword [esp], 0x0
	call _Z18Scr_GetConstStringj
	mov edi, eax
	lea eax, [ebp-0x24]
	mov [esp+0x4], eax
	mov dword [esp], 0x1
	call _Z13Scr_GetVectorjPf
	mov dword [esp], 0x2
	call _Z13Scr_GetStringj
	mov esi, eax
	call _Z7G_Spawnv
	mov ebx, eax
	movzx eax, di
	mov [esp+0x4], eax
	lea eax, [ebx+0x170]
	mov [esp], eax
	call _Z13Scr_SetStringPtj
	lea edx, [ebx+0x13c]
	mov eax, [ebp-0x24]
	mov [ebx+0x13c], eax
	mov eax, [ebp-0x20]
	mov [edx+0x4], eax
	mov eax, [ebp-0x1c]
	mov [edx+0x8], eax
	mov [esp+0x4], esi
	mov [esp], ebx
	call _Z13G_SpawnTurretP9gentity_sPKc
	mov [esp], ebx
	call _Z13Scr_AddEntityP9gentity_s
	add esp, 0x2c
	pop ebx
	pop esi
	pop edi
	pop ebp
	ret
	nop


;GScr_PrecacheTurret()
_Z19GScr_PrecacheTurretv:
	push ebp
	mov ebp, esp
	sub esp, 0x18
	mov eax, level
	mov eax, [eax+0x1c]
	test eax, eax
	jnz _Z19GScr_PrecacheTurretv_10
	mov dword [esp], _cstring_precacheturret_m
	call _Z9Scr_ErrorPKc
_Z19GScr_PrecacheTurretv_10:
	mov dword [esp], 0x0
	call _Z13Scr_GetStringj
	mov [esp], eax
	call _Z23G_GetWeaponIndexForNamePKc
	leave
	ret


;GScr_SpawnHelicopter()
_Z20GScr_SpawnHelicopterv:
	push ebp
	mov ebp, esp
	push edi
	push esi
	push ebx
	sub esp, 0x4c
	mov dword [esp], 0x0
	call _Z13Scr_GetEntityj
	mov [ebp-0x3c], eax
	mov esi, [eax+0x15c]
	test esi, esi
	jz _Z20GScr_SpawnHelicopterv_10
_Z20GScr_SpawnHelicopterv_20:
	lea eax, [ebp-0x24]
	mov [esp+0x4], eax
	mov dword [esp], 0x1
	call _Z13Scr_GetVectorjPf
	lea eax, [ebp-0x30]
	mov [esp+0x4], eax
	mov dword [esp], 0x2
	call _Z13Scr_GetVectorjPf
	mov dword [esp], 0x3
	call _Z13Scr_GetStringj
	mov edi, eax
	mov dword [esp], 0x4
	call _Z13Scr_GetStringj
	mov esi, eax
	call _Z7G_Spawnv
	mov ebx, eax
	mov eax, scr_const
	movzx eax, word [eax+0xf8]
	mov [esp+0x4], eax
	lea eax, [ebx+0x170]
	mov [esp], eax
	call _Z13Scr_SetStringPtj
	lea edx, [ebx+0x13c]
	mov eax, [ebp-0x24]
	mov [ebx+0x13c], eax
	mov eax, [ebp-0x20]
	mov [edx+0x4], eax
	mov eax, [ebp-0x1c]
	mov [edx+0x8], eax
	lea edx, [ebx+0x148]
	mov eax, [ebp-0x30]
	mov [ebx+0x148], eax
	mov eax, [ebp-0x2c]
	mov [edx+0x4], eax
	mov eax, [ebp-0x28]
	mov [edx+0x8], eax
	mov [esp+0xc], esi
	mov [esp+0x8], edi
	mov eax, [ebp-0x3c]
	mov [esp+0x4], eax
	mov [esp], ebx
	call _Z17G_SpawnHelicopterP9gentity_sS0_PKcS2_
	mov [esp], ebx
	call _Z13Scr_AddEntityP9gentity_s
	add esp, 0x4c
	pop ebx
	pop esi
	pop edi
	pop ebp
	ret
_Z20GScr_SpawnHelicopterv_10:
	mov dword [esp+0x4], _cstring_owner_entity_is_
	mov dword [esp], 0x0
	call _Z14Scr_ParamErrorjPKc
	jmp _Z20GScr_SpawnHelicopterv_20
	nop


;assertCmd()
_Z9assertCmdv:
	push ebp
	mov ebp, esp
	sub esp, 0x18
	mov dword [esp], 0x0
	call _Z10Scr_GetIntj
	test eax, eax
	jz _Z9assertCmdv_10
	leave
	ret
_Z9assertCmdv_10:
	mov dword [esp], _cstring_assert_fail
	call _Z9Scr_ErrorPKc
	leave
	ret


;assertexCmd()
_Z11assertexCmdv:
	push ebp
	mov ebp, esp
	sub esp, 0x18
	mov dword [esp], 0x0
	call _Z10Scr_GetIntj
	test eax, eax
	jz _Z11assertexCmdv_10
	leave
	ret
_Z11assertexCmdv_10:
	mov dword [esp], 0x1
	call _Z13Scr_GetStringj
	mov [esp+0x4], eax
	mov dword [esp], _cstring_assert_fail_s
	call _Z2vaPKcz
	mov [esp], eax
	call _Z9Scr_ErrorPKc
	leave
	ret


;assertmsgCmd()
_Z12assertmsgCmdv:
	push ebp
	mov ebp, esp
	sub esp, 0x18
	mov dword [esp], 0x0
	call _Z13Scr_GetStringj
	mov [esp+0x4], eax
	mov dword [esp], _cstring_assert_fail_s
	call _Z2vaPKcz
	mov [esp], eax
	call _Z9Scr_ErrorPKc
	leave
	ret


;GScr_IsDefined()
_Z14GScr_IsDefinedv:
	push ebp
	mov ebp, esp
	sub esp, 0x18
	mov dword [esp], 0x0
	call _Z11Scr_GetTypej
	cmp eax, 0x1
	jz _Z14GScr_IsDefinedv_10
	test eax, eax
	setnz al
	movzx eax, al
	mov [esp], eax
	call _Z10Scr_AddInti
	leave
	ret
_Z14GScr_IsDefinedv_10:
	mov dword [esp], 0x0
	call _Z18Scr_GetPointerTypej
	cmp eax, 0x15
	jg _Z14GScr_IsDefinedv_20
	cmp eax, 0x13
	jz _Z14GScr_IsDefinedv_20
	mov eax, 0x1
	mov [esp], eax
	call _Z10Scr_AddInti
	leave
	ret
_Z14GScr_IsDefinedv_20:
	xor eax, eax
	mov [esp], eax
	call _Z10Scr_AddInti
	leave
	ret


;GScr_IsString()
_Z13GScr_IsStringv:
	push ebp
	mov ebp, esp
	sub esp, 0x18
	mov dword [esp], 0x0
	call _Z11Scr_GetTypej
	cmp eax, 0x2
	setz al
	movzx eax, al
	mov [esp], eax
	call _Z10Scr_AddInti
	leave
	ret
	nop


;GScr_IsAlive()
_Z12GScr_IsAlivev:
	push ebp
	mov ebp, esp
	sub esp, 0x18
	mov dword [esp], 0x0
	call _Z11Scr_GetTypej
	sub eax, 0x1
	jz _Z12GScr_IsAlivev_10
_Z12GScr_IsAlivev_20:
	mov dword [esp], 0x0
	call _Z10Scr_AddInti
	leave
	ret
_Z12GScr_IsAlivev_10:
	mov dword [esp], 0x0
	call _Z18Scr_GetPointerTypej
	cmp eax, 0x14
	jnz _Z12GScr_IsAlivev_20
	mov dword [esp], 0x0
	call _Z13Scr_GetEntityj
	mov edx, [eax+0x1a0]
	test edx, edx
	jle _Z12GScr_IsAlivev_20
	mov dword [esp], 0x1
	call _Z10Scr_AddInti
	leave
	ret


;GScr_GetDvar()
_Z12GScr_GetDvarv:
	push ebp
	mov ebp, esp
	sub esp, 0x18
	mov dword [esp], 0x0
	call _Z13Scr_GetStringj
	mov [esp], eax
	call _Z21Dvar_GetVariantStringPKc
	mov [esp], eax
	call _Z13Scr_AddStringPKc
	leave
	ret


;GScr_GetDvarInt()
_Z15GScr_GetDvarIntv:
	push ebp
	mov ebp, esp
	sub esp, 0x18
	mov dword [esp], 0x0
	call _Z13Scr_GetStringj
	mov [esp], eax
	call _Z21Dvar_GetVariantStringPKc
	mov [esp], eax
	call atoi
	mov [esp], eax
	call _Z10Scr_AddInti
	leave
	ret


;GScr_GetDvarFloat()
_Z17GScr_GetDvarFloatv:
	push ebp
	mov ebp, esp
	sub esp, 0x28
	mov dword [esp], 0x0
	call _Z13Scr_GetStringj
	mov [esp], eax
	call _Z21Dvar_GetVariantStringPKc
	mov [esp], eax
	call atof
	fstp qword [ebp-0x10]
	cvtsd2ss xmm0, [ebp-0x10]
	movss [esp], xmm0
	call _Z12Scr_AddFloatf
	leave
	ret


;GScr_SetDvar()
_Z12GScr_SetDvarv:
	push ebp
	mov ebp, esp
	push edi
	push esi
	push ebx
	sub esp, 0x83c
	mov dword [esp], 0x0
	call _Z13Scr_GetStringj
	mov [ebp-0x81c], eax
	mov dword [esp], 0x1
	call _Z11Scr_GetTypej
	cmp eax, 0x3
	jz _Z12GScr_SetDvarv_10
	mov dword [esp], 0x1
	call _Z13Scr_GetStringj
	mov edi, eax
_Z12GScr_SetDvarv_80:
	lea esi, [ebp-0x818]
	mov ebx, 0x1
	jmp _Z12GScr_SetDvarv_20
_Z12GScr_SetDvarv_40:
	movsx eax, al
	mov [esp], eax
	call _Z11I_CleanCharc
	mov edx, 0x27
	cmp al, 0x22
	cmovnz edx, eax
	mov [esi], dl
	add esi, 0x1
	add ebx, 0x1
	cmp ebx, 0x400
	jz _Z12GScr_SetDvarv_30
_Z12GScr_SetDvarv_20:
	movzx eax, byte [edi+ebx-0x1]
	test al, al
	jnz _Z12GScr_SetDvarv_40
_Z12GScr_SetDvarv_30:
	mov byte [esi], 0x0
	mov eax, [ebp-0x81c]
	mov [esp], eax
	call _Z16Dvar_IsValidNamePKc
	test al, al
	jnz _Z12GScr_SetDvarv_50
	mov eax, [ebp-0x81c]
	mov [esp+0x4], eax
	mov dword [esp], _cstring_dvar_s_has_an_in
	call _Z2vaPKcz
	mov [esp], eax
	call _Z9Scr_ErrorPKc
_Z12GScr_SetDvarv_70:
	add esp, 0x83c
	pop ebx
	pop esi
	pop edi
	pop ebp
	ret
_Z12GScr_SetDvarv_50:
	call _Z15Scr_GetNumParamv
	cmp eax, 0x2
	ja _Z12GScr_SetDvarv_60
_Z12GScr_SetDvarv_90:
	xor ebx, ebx
_Z12GScr_SetDvarv_100:
	mov [esp+0x4], edi
	mov eax, [ebp-0x81c]
	mov [esp], eax
	call _Z24Dvar_SetFromStringByNamePKcS0_
	test bl, bl
	jz _Z12GScr_SetDvarv_70
	mov eax, [ebp-0x81c]
	mov [esp], eax
	call _Z12Dvar_FindVarPKc
	mov dword [esp+0x4], 0x400
	mov [esp], eax
	call _Z13Dvar_AddFlagsPK6dvar_si
	add esp, 0x83c
	pop ebx
	pop esi
	pop edi
	pop ebp
	ret
_Z12GScr_SetDvarv_10:
	call _Z15Scr_GetNumParamv
	mov dword [esp+0x10], 0x400
	lea ebx, [ebp-0x418]
	mov [esp+0xc], ebx
	mov dword [esp+0x8], _cstring_dvar_value
	sub eax, 0x1
	mov [esp+0x4], eax
	mov dword [esp], 0x1
	call _Z26Scr_ConstructMessageStringiiPKcPcj
	mov edi, ebx
	jmp _Z12GScr_SetDvarv_80
_Z12GScr_SetDvarv_60:
	mov dword [esp], 0x2
	call _Z10Scr_GetIntj
	test eax, eax
	jz _Z12GScr_SetDvarv_90
	mov ebx, 0x1
	jmp _Z12GScr_SetDvarv_100


;GScr_GetTime()
_Z12GScr_GetTimev:
	push ebp
	mov ebp, esp
	sub esp, 0x18
	mov eax, level
	mov eax, [eax+0x1ec]
	mov [esp], eax
	call _Z10Scr_AddInti
	leave
	ret
	nop


;Scr_GetEntByNum()
_Z15Scr_GetEntByNumv:
	push ebp
	mov ebp, esp
	sub esp, 0x18
	mov dword [esp], 0x0
	call _Z10Scr_GetIntj
	mov ecx, eax
	cmp eax, 0x3ff
	ja _Z15Scr_GetEntByNumv_10
	lea eax, [eax+eax*8]
	lea eax, [ecx+eax*2]
	mov edx, eax
	shl edx, 0x5
	add eax, edx
	add eax, ecx
	add eax, g_entities
	cmp byte [eax+0x100], 0x0
	jnz _Z15Scr_GetEntByNumv_20
_Z15Scr_GetEntByNumv_10:
	leave
	ret
_Z15Scr_GetEntByNumv_20:
	mov [esp], eax
	call _Z13Scr_AddEntityP9gentity_s
	leave
	ret
	nop


;Scr_GetWeaponModel()
_Z18Scr_GetWeaponModelv:
	push ebp
	mov ebp, esp
	push esi
	push ebx
	sub esp, 0x10
	mov dword [esp], 0x0
	call _Z13Scr_GetStringj
	mov ebx, eax
	mov [esp], eax
	call _Z23G_GetWeaponIndexForNamePKc
	mov esi, eax
	test eax, eax
	jnz _Z18Scr_GetWeaponModelv_10
	cmp byte [ebx], 0x0
	jnz _Z18Scr_GetWeaponModelv_20
_Z18Scr_GetWeaponModelv_30:
	mov dword [esp], _cstring_null
	call _Z13Scr_AddStringPKc
	add esp, 0x10
	pop ebx
	pop esi
	pop ebp
	ret
_Z18Scr_GetWeaponModelv_20:
	mov dword [esp+0x4], _cstring_none
	mov [esp], ebx
	call _Z9I_stricmpPKcS0_
	test eax, eax
	jz _Z18Scr_GetWeaponModelv_30
	mov [esp+0x4], ebx
	mov dword [esp], _cstring_unknown_weapon_s
	call _Z2vaPKcz
	mov [esp+0x4], eax
	mov dword [esp], 0x11
	call _Z10Com_PrintfiPKcz
	jmp _Z18Scr_GetWeaponModelv_30
_Z18Scr_GetWeaponModelv_10:
	call _Z15Scr_GetNumParamv
	cmp eax, 0x2
	jz _Z18Scr_GetWeaponModelv_40
_Z18Scr_GetWeaponModelv_50:
	xor ebx, ebx
_Z18Scr_GetWeaponModelv_60:
	mov [esp], esi
	call _Z15BG_GetWeaponDefj
	mov eax, [eax+ebx*4+0x2bc]
	mov [esp], eax
	call _Z13XModelGetNamePK6XModel
	mov [esp], eax
	call _Z13Scr_AddStringPKc
	add esp, 0x10
	pop ebx
	pop esi
	pop ebp
	ret
_Z18Scr_GetWeaponModelv_40:
	mov dword [esp], 0x1
	call _Z10Scr_GetIntj
	mov ebx, eax
	cmp eax, 0xff
	ja _Z18Scr_GetWeaponModelv_50
	mov [esp], esi
	call _Z15BG_GetWeaponDefj
	mov ecx, [eax+ebx*4+0x2bc]
	test ecx, ecx
	mov eax, 0x0
	cmovz ebx, eax
	jmp _Z18Scr_GetWeaponModelv_60


;GScr_GetAnimLength()
_Z18GScr_GetAnimLengthv:
	push ebp
	mov ebp, esp
	push esi
	push ebx
	sub esp, 0x10
	mov dword [esp+0x4], 0x0
	mov dword [esp], 0x0
	call _Z11Scr_GetAnimjP11XAnimTree_s
	mov ebx, eax
	shr eax, 0x10
	mov [esp], eax
	call _Z12Scr_GetAnimsj
	mov esi, eax
	movzx ebx, bx
	mov [esp+0x4], ebx
	mov [esp], eax
	call _Z16XAnimIsPrimitiveP7XAnim_sj
	test al, al
	jnz _Z18GScr_GetAnimLengthv_10
	mov dword [esp+0x4], _cstring_nonprimitive_ani
	mov dword [esp], 0x0
	call _Z14Scr_ParamErrorjPKc
_Z18GScr_GetAnimLengthv_10:
	mov [esp+0x4], ebx
	mov [esp], esi
	call _Z14XAnimGetLengthPK7XAnim_sj
	fstp dword [esp]
	call _Z12Scr_AddFloatf
	add esp, 0x10
	pop ebx
	pop esi
	pop ebp
	ret
	nop


;GScr_AnimHasNotetrack()
_Z21GScr_AnimHasNotetrackv:
	push ebp
	mov ebp, esp
	push edi
	push esi
	push ebx
	sub esp, 0x1c
	mov dword [esp+0x4], 0x0
	mov dword [esp], 0x0
	call _Z11Scr_GetAnimjP11XAnimTree_s
	mov ebx, eax
	mov dword [esp], 0x1
	call _Z18Scr_GetConstStringj
	mov edi, eax
	movzx esi, bx
	shr ebx, 0x10
	mov [esp], ebx
	call _Z12Scr_GetAnimsj
	movzx edx, di
	mov [esp+0x8], edx
	mov [esp+0x4], esi
	mov [esp], eax
	call _Z20XAnimNotetrackExistsPK7XAnim_sjj
	movzx eax, al
	mov [esp], eax
	call _Z11Scr_AddBooli
	add esp, 0x1c
	pop ebx
	pop esi
	pop edi
	pop ebp
	ret
	nop


;GScr_GetNotetrackTimes()
_Z22GScr_GetNotetrackTimesv:
	push ebp
	mov ebp, esp
	push edi
	push esi
	push ebx
	sub esp, 0x1c
	mov dword [esp+0x4], 0x0
	mov dword [esp], 0x0
	call _Z11Scr_GetAnimjP11XAnimTree_s
	mov ebx, eax
	mov dword [esp], 0x1
	call _Z18Scr_GetConstStringj
	mov edi, eax
	call _Z13Scr_MakeArrayv
	movzx esi, bx
	shr ebx, 0x10
	mov [esp], ebx
	call _Z12Scr_GetAnimsj
	mov [esp+0x8], edi
	mov [esp+0x4], esi
	mov [esp], eax
	call _Z35XAnimAddNotetrackTimesToScriptArrayPK7XAnim_sjj
	add esp, 0x1c
	pop ebx
	pop esi
	pop edi
	pop ebp
	ret


;GScr_GetBrushModelCenter()
_Z24GScr_GetBrushModelCenterv:
	push ebp
	mov ebp, esp
	sub esp, 0x28
	mov dword [esp], 0x0
	call _Z13Scr_GetEntityj
	lea edx, [eax+0x124]
	lea ecx, [eax+0x130]
	movss xmm3, dword [eax+0x124]
	addss xmm3, [eax+0x130]
	movss [ebp-0x14], xmm3
	movss xmm1, dword [edx+0x4]
	addss xmm1, [ecx+0x4]
	movss [ebp-0x10], xmm1
	movss xmm2, dword [edx+0x8]
	addss xmm2, [ecx+0x8]
	movss xmm0, dword [_float_0_50000000]
	mulss xmm3, xmm0
	movss [ebp-0x14], xmm3
	mulss xmm1, xmm0
	movss [ebp-0x10], xmm1
	mulss xmm2, xmm0
	movss [ebp-0xc], xmm2
	lea eax, [ebp-0x14]
	mov [esp], eax
	call _Z13Scr_AddVectorPKf
	leave
	ret


;Scr_Objective_Add()
_Z17Scr_Objective_Addv:
	push ebp
	mov ebp, esp
	push esi
	push ebx
	sub esp, 0x10
	call _Z15Scr_GetNumParamv
	mov esi, eax
	cmp eax, 0x1
	jle _Z17Scr_Objective_Addv_10
_Z17Scr_Objective_Addv_140:
	mov dword [esp], 0x0
	call _Z10Scr_GetIntj
	mov ebx, eax
	cmp eax, 0xf
	ja _Z17Scr_Objective_Addv_20
_Z17Scr_Objective_Addv_120:
	lea eax, [ebx*4]
	shl ebx, 0x5
	sub ebx, eax
	mov eax, level
	add eax, 0x24
	add ebx, eax
	mov ecx, [ebx+0x10]
	cmp ecx, 0x3ff
	jz _Z17Scr_Objective_Addv_30
	lea eax, [ecx+ecx*8]
	lea eax, [ecx+eax*2]
	mov edx, eax
	shl edx, 0x5
	add eax, edx
	add eax, ecx
	add eax, g_entities
	cmp byte [eax+0x100], 0x0
	jnz _Z17Scr_Objective_Addv_40
_Z17Scr_Objective_Addv_100:
	mov dword [ebx+0x10], 0x3ff
_Z17Scr_Objective_Addv_30:
	mov dword [esp], 0x1
	call _Z18Scr_GetConstStringj
	mov ecx, scr_const
	movzx edx, ax
	cmp [ecx+0x2a], ax
	jz _Z17Scr_Objective_Addv_50
	movzx eax, word [ecx+0x48]
	cmp edx, eax
	jz _Z17Scr_Objective_Addv_60
	movzx eax, word [ecx+0x1a]
	cmp edx, eax
	jz _Z17Scr_Objective_Addv_70
	movzx eax, word [ecx+0x2]
	cmp edx, eax
	jz _Z17Scr_Objective_Addv_80
	mov [esp], edx
	call _Z18SL_ConvertToStringj
	mov [esp+0x4], eax
	mov dword [esp], _cstring_illegal_objectiv
	call _Z2vaPKcz
	mov [esp+0x4], eax
	mov dword [esp], 0x1
	call _Z14Scr_ParamErrorjPKc
_Z17Scr_Objective_Addv_50:
	xor eax, eax
_Z17Scr_Objective_Addv_130:
	mov [ebx], eax
	cmp esi, 0x2
	jg _Z17Scr_Objective_Addv_90
_Z17Scr_Objective_Addv_110:
	mov dword [ebx+0x14], 0x0
	add esp, 0x10
	pop ebx
	pop esi
	pop ebp
	ret
_Z17Scr_Objective_Addv_40:
	and byte [eax+0xf6], 0xef
	jmp _Z17Scr_Objective_Addv_100
_Z17Scr_Objective_Addv_90:
	lea eax, [ebx+0x4]
	mov [esp+0x4], eax
	mov dword [esp], 0x2
	call _Z13Scr_GetVectorjPf
	cvttss2si eax, [ebx+0x4]
	cvtsi2ss xmm0, eax
	movss [ebx+0x4], xmm0
	cvttss2si eax, [ebx+0x8]
	cvtsi2ss xmm0, eax
	movss [ebx+0x8], xmm0
	cvttss2si eax, [ebx+0xc]
	cvtsi2ss xmm0, eax
	movss [ebx+0xc], xmm0
	mov dword [ebx+0x10], 0x3ff
	cmp esi, 0x3
	jle _Z17Scr_Objective_Addv_110
	mov edx, 0x3
	mov eax, ebx
	call _Z16SetObjectiveIconP11objective_ti
	mov dword [ebx+0x14], 0x0
	add esp, 0x10
	pop ebx
	pop esi
	pop ebp
	ret
_Z17Scr_Objective_Addv_20:
	mov dword [esp+0x8], 0xf
	mov [esp+0x4], eax
	mov dword [esp], _cstring_index_i_is_an_il
	call _Z2vaPKcz
	mov [esp+0x4], eax
	mov dword [esp], 0x0
	call _Z14Scr_ParamErrorjPKc
	jmp _Z17Scr_Objective_Addv_120
_Z17Scr_Objective_Addv_60:
	mov eax, 0x2
	jmp _Z17Scr_Objective_Addv_130
_Z17Scr_Objective_Addv_70:
	mov eax, 0x4
	jmp _Z17Scr_Objective_Addv_130
_Z17Scr_Objective_Addv_80:
	mov eax, 0x1
	jmp _Z17Scr_Objective_Addv_130
_Z17Scr_Objective_Addv_10:
	mov dword [esp], _cstring_objective_add_ne
	call _Z9Scr_ErrorPKc
	jmp _Z17Scr_Objective_Addv_140


;Scr_Objective_Delete()
_Z20Scr_Objective_Deletev:
	push ebp
	mov ebp, esp
	push ebx
	sub esp, 0x14
	mov dword [esp], 0x0
	call _Z10Scr_GetIntj
	mov ebx, eax
	cmp eax, 0xf
	ja _Z20Scr_Objective_Deletev_10
_Z20Scr_Objective_Deletev_50:
	lea eax, [ebx*4]
	shl ebx, 0x5
	sub ebx, eax
	mov eax, level
	add eax, 0x24
	add ebx, eax
	mov ecx, [ebx+0x10]
	cmp ecx, 0x3ff
	jz _Z20Scr_Objective_Deletev_20
	lea eax, [ecx+ecx*8]
	lea eax, [ecx+eax*2]
	mov edx, eax
	shl edx, 0x5
	add eax, edx
	add eax, ecx
	add eax, g_entities
	cmp byte [eax+0x100], 0x0
	jnz _Z20Scr_Objective_Deletev_30
_Z20Scr_Objective_Deletev_40:
	mov dword [ebx+0x10], 0x3ff
_Z20Scr_Objective_Deletev_20:
	mov dword [ebx], 0x0
	lea edx, [ebx+0x4]
	xor eax, eax
	mov [ebx+0x4], eax
	mov [edx+0x4], eax
	mov [edx+0x8], eax
	mov dword [ebx+0x10], 0x3ff
	mov dword [ebx+0x14], 0x0
	mov dword [ebx+0x18], 0x0
	add esp, 0x14
	pop ebx
	pop ebp
	ret
_Z20Scr_Objective_Deletev_30:
	and byte [eax+0xf6], 0xef
	jmp _Z20Scr_Objective_Deletev_40
_Z20Scr_Objective_Deletev_10:
	mov dword [esp+0x8], 0xf
	mov [esp+0x4], eax
	mov dword [esp], _cstring_index_i_is_an_il
	call _Z2vaPKcz
	mov [esp+0x4], eax
	mov dword [esp], 0x0
	call _Z14Scr_ParamErrorjPKc
	jmp _Z20Scr_Objective_Deletev_50
	nop


;Scr_Objective_State()
_Z19Scr_Objective_Statev:
	push ebp
	mov ebp, esp
	push ebx
	sub esp, 0x14
	mov dword [esp], 0x0
	call _Z10Scr_GetIntj
	mov ebx, eax
	cmp eax, 0xf
	ja _Z19Scr_Objective_Statev_10
_Z19Scr_Objective_Statev_100:
	lea eax, [ebx*4]
	shl ebx, 0x5
	sub ebx, eax
	mov eax, level
	add eax, 0x24
	add ebx, eax
	mov dword [esp], 0x1
	call _Z18Scr_GetConstStringj
	mov ecx, scr_const
	movzx edx, ax
	cmp [ecx+0x2a], ax
	jz _Z19Scr_Objective_Statev_20
	movzx eax, word [ecx+0x48]
	cmp edx, eax
	jz _Z19Scr_Objective_Statev_30
	movzx eax, word [ecx+0x1a]
	cmp edx, eax
	jz _Z19Scr_Objective_Statev_40
	movzx eax, word [ecx+0x2]
	cmp edx, eax
	jz _Z19Scr_Objective_Statev_50
	mov dword [esp], 0x1
	call _Z13Scr_GetStringj
	mov [esp+0x4], eax
	mov dword [esp], _cstring_illegal_objectiv
	call _Z2vaPKcz
	mov [esp+0x4], eax
	mov dword [esp], 0x1
	call _Z14Scr_ParamErrorjPKc
_Z19Scr_Objective_Statev_20:
	xor eax, eax
_Z19Scr_Objective_Statev_110:
	mov [ebx], eax
	test eax, eax
	jz _Z19Scr_Objective_Statev_60
	cmp eax, 0x2
	jz _Z19Scr_Objective_Statev_60
_Z19Scr_Objective_Statev_70:
	add esp, 0x14
	pop ebx
	pop ebp
	ret
_Z19Scr_Objective_Statev_60:
	mov ecx, [ebx+0x10]
	cmp ecx, 0x3ff
	jz _Z19Scr_Objective_Statev_70
	lea eax, [ecx+ecx*8]
	lea eax, [ecx+eax*2]
	mov edx, eax
	shl edx, 0x5
	add eax, edx
	add eax, ecx
	add eax, g_entities
	cmp byte [eax+0x100], 0x0
	jnz _Z19Scr_Objective_Statev_80
	mov dword [ebx+0x10], 0x3ff
_Z19Scr_Objective_Statev_90:
	add esp, 0x14
	pop ebx
	pop ebp
	ret
_Z19Scr_Objective_Statev_80:
	and byte [eax+0xf6], 0xef
	mov dword [ebx+0x10], 0x3ff
	jmp _Z19Scr_Objective_Statev_90
_Z19Scr_Objective_Statev_10:
	mov dword [esp+0x8], 0xf
	mov [esp+0x4], eax
	mov dword [esp], _cstring_index_i_is_an_il
	call _Z2vaPKcz
	mov [esp+0x4], eax
	mov dword [esp], 0x0
	call _Z14Scr_ParamErrorjPKc
	jmp _Z19Scr_Objective_Statev_100
_Z19Scr_Objective_Statev_30:
	mov eax, 0x2
	jmp _Z19Scr_Objective_Statev_110
_Z19Scr_Objective_Statev_40:
	mov eax, 0x4
	jmp _Z19Scr_Objective_Statev_110
_Z19Scr_Objective_Statev_50:
	mov eax, 0x1
	jmp _Z19Scr_Objective_Statev_110
	nop


;Scr_Objective_Icon()
_Z18Scr_Objective_Iconv:
	push ebp
	mov ebp, esp
	push ebx
	sub esp, 0x14
	mov dword [esp], 0x0
	call _Z10Scr_GetIntj
	mov ebx, eax
	cmp eax, 0xf
	jbe _Z18Scr_Objective_Iconv_10
	mov dword [esp+0x8], 0xf
	mov [esp+0x4], eax
	mov dword [esp], _cstring_index_i_is_an_il
	call _Z2vaPKcz
	mov [esp+0x4], eax
	mov dword [esp], 0x0
	call _Z14Scr_ParamErrorjPKc
_Z18Scr_Objective_Iconv_10:
	lea eax, [ebx*4]
	shl ebx, 0x5
	sub ebx, eax
	mov eax, level
	add eax, 0x24
	lea eax, [ebx+eax]
	mov edx, 0x1
	add esp, 0x14
	pop ebx
	pop ebp
	jmp _Z16SetObjectiveIconP11objective_ti


;Scr_Objective_Position()
_Z22Scr_Objective_Positionv:
	push ebp
	mov ebp, esp
	push ebx
	sub esp, 0x14
	mov dword [esp], 0x0
	call _Z10Scr_GetIntj
	mov ebx, eax
	cmp eax, 0xf
	ja _Z22Scr_Objective_Positionv_10
_Z22Scr_Objective_Positionv_50:
	lea eax, [ebx*4]
	shl ebx, 0x5
	sub ebx, eax
	mov eax, level
	add eax, 0x24
	add ebx, eax
	mov ecx, [ebx+0x10]
	cmp ecx, 0x3ff
	jz _Z22Scr_Objective_Positionv_20
	lea eax, [ecx+ecx*8]
	lea eax, [ecx+eax*2]
	mov edx, eax
	shl edx, 0x5
	add eax, edx
	add eax, ecx
	add eax, g_entities
	cmp byte [eax+0x100], 0x0
	jnz _Z22Scr_Objective_Positionv_30
_Z22Scr_Objective_Positionv_40:
	mov dword [ebx+0x10], 0x3ff
_Z22Scr_Objective_Positionv_20:
	lea eax, [ebx+0x4]
	mov [esp+0x4], eax
	mov dword [esp], 0x1
	call _Z13Scr_GetVectorjPf
	cvttss2si eax, [ebx+0x4]
	cvtsi2ss xmm0, eax
	movss [ebx+0x4], xmm0
	cvttss2si eax, [ebx+0x8]
	cvtsi2ss xmm0, eax
	movss [ebx+0x8], xmm0
	cvttss2si eax, [ebx+0xc]
	cvtsi2ss xmm0, eax
	movss [ebx+0xc], xmm0
	add esp, 0x14
	pop ebx
	pop ebp
	ret
_Z22Scr_Objective_Positionv_30:
	and byte [eax+0xf6], 0xef
	jmp _Z22Scr_Objective_Positionv_40
_Z22Scr_Objective_Positionv_10:
	mov dword [esp+0x8], 0xf
	mov [esp+0x4], eax
	mov dword [esp], _cstring_index_i_is_an_il
	call _Z2vaPKcz
	mov [esp+0x4], eax
	mov dword [esp], 0x0
	call _Z14Scr_ParamErrorjPKc
	jmp _Z22Scr_Objective_Positionv_50
	nop


;Scr_Objective_OnEntity()
_Z22Scr_Objective_OnEntityv:
	push ebp
	mov ebp, esp
	push ebx
	sub esp, 0x14
	mov dword [esp], 0x0
	call _Z10Scr_GetIntj
	mov ebx, eax
	cmp eax, 0xf
	ja _Z22Scr_Objective_OnEntityv_10
_Z22Scr_Objective_OnEntityv_50:
	lea eax, [ebx*4]
	shl ebx, 0x5
	sub ebx, eax
	mov eax, level
	add eax, 0x24
	add ebx, eax
	mov ecx, [ebx+0x10]
	cmp ecx, 0x3ff
	jz _Z22Scr_Objective_OnEntityv_20
	lea eax, [ecx+ecx*8]
	lea eax, [ecx+eax*2]
	mov edx, eax
	shl edx, 0x5
	add eax, edx
	add eax, ecx
	add eax, g_entities
	cmp byte [eax+0x100], 0x0
	jnz _Z22Scr_Objective_OnEntityv_30
_Z22Scr_Objective_OnEntityv_40:
	mov dword [ebx+0x10], 0x3ff
_Z22Scr_Objective_OnEntityv_20:
	mov dword [esp], 0x1
	call _Z13Scr_GetEntityj
	or byte [eax+0xf6], 0x10
	mov eax, [eax]
	mov [ebx+0x10], eax
	add esp, 0x14
	pop ebx
	pop ebp
	ret
_Z22Scr_Objective_OnEntityv_30:
	and byte [eax+0xf6], 0xef
	jmp _Z22Scr_Objective_OnEntityv_40
_Z22Scr_Objective_OnEntityv_10:
	mov dword [esp+0x8], 0xf
	mov [esp+0x4], eax
	mov dword [esp], _cstring_index_i_is_an_il
	call _Z2vaPKcz
	mov [esp+0x4], eax
	mov dword [esp], 0x0
	call _Z14Scr_ParamErrorjPKc
	jmp _Z22Scr_Objective_OnEntityv_50


;Scr_Objective_Current()
_Z21Scr_Objective_Currentv:
	push ebp
	mov ebp, esp
	push edi
	push esi
	push ebx
	sub esp, 0x6c
	call _Z15Scr_GetNumParamv
	mov [ebp-0x5c], eax
	lea esi, [ebp-0x58]
	cld
	mov ecx, 0x10
	xor eax, eax
	mov edi, esi
	rep stosd
	mov ebx, [ebp-0x5c]
	test ebx, ebx
	jg _Z21Scr_Objective_Currentv_10
_Z21Scr_Objective_Currentv_70:
	mov eax, 0x1
	mov edx, level
	add edx, 0x24
	jmp _Z21Scr_Objective_Currentv_20
_Z21Scr_Objective_Currentv_40:
	mov dword [edx], 0x4
_Z21Scr_Objective_Currentv_50:
	add eax, 0x1
	add edx, 0x1c
	cmp eax, 0x11
	jz _Z21Scr_Objective_Currentv_30
_Z21Scr_Objective_Currentv_20:
	mov ecx, [esi+eax*4-0x4]
	test ecx, ecx
	jnz _Z21Scr_Objective_Currentv_40
	cmp dword [edx], 0x4
	jnz _Z21Scr_Objective_Currentv_50
	mov dword [edx], 0x1
	add eax, 0x1
	add edx, 0x1c
	cmp eax, 0x11
	jnz _Z21Scr_Objective_Currentv_20
_Z21Scr_Objective_Currentv_30:
	add esp, 0x6c
	pop ebx
	pop esi
	pop edi
	pop ebp
	ret
_Z21Scr_Objective_Currentv_10:
	xor ebx, ebx
	jmp _Z21Scr_Objective_Currentv_60
_Z21Scr_Objective_Currentv_80:
	mov dword [ebp+edi*4-0x58], 0x1
	add ebx, 0x1
	cmp [ebp-0x5c], ebx
	jz _Z21Scr_Objective_Currentv_70
_Z21Scr_Objective_Currentv_60:
	mov [esp], ebx
	call _Z10Scr_GetIntj
	mov edi, eax
	cmp eax, 0xf
	jbe _Z21Scr_Objective_Currentv_80
	mov dword [esp+0x8], 0xf
	mov [esp+0x4], eax
	mov dword [esp], _cstring_index_i_is_an_il
	call _Z2vaPKcz
	mov [esp+0x4], eax
	mov [esp], ebx
	call _Z14Scr_ParamErrorjPKc
	jmp _Z21Scr_Objective_Currentv_80
	nop


;Scr_BulletTrace()
_Z15Scr_BulletTracev:
	push ebp
	mov ebp, esp
	push edi
	push esi
	push ebx
	sub esp, 0x8c
	lea edi, [ebp-0x24]
	mov [esp+0x4], edi
	mov dword [esp], 0x0
	call _Z13Scr_GetVectorjPf
	lea esi, [ebp-0x30]
	mov [esp+0x4], esi
	mov dword [esp], 0x1
	call _Z13Scr_GetVectorjPf
	mov dword [esp], 0x2
	call _Z10Scr_GetIntj
	cmp eax, 0x1
	sbb ebx, ebx
	and ebx, 0xfe000000
	add ebx, 0x2806831
	mov dword [esp], 0x3
	call _Z11Scr_GetTypej
	sub eax, 0x1
	jz _Z15Scr_BulletTracev_10
_Z15Scr_BulletTracev_60:
	mov eax, 0x3ff
_Z15Scr_BulletTracev_70:
	mov dword [esp+0x14], 0x0
	mov [esp+0x10], ebx
	mov [esp+0xc], eax
	mov [esp+0x8], esi
	mov [esp+0x4], edi
	lea esi, [ebp-0x74]
	mov [esp], esi
	call _Z17G_LocationalTraceP7trace_tPKfS2_iiPh
	call _Z13Scr_MakeArrayv
	mov eax, [ebp-0x74]
	mov [esp], eax
	call _Z12Scr_AddFloatf
	mov ebx, scr_const
	movzx eax, word [ebx+0x36]
	mov [esp], eax
	call _Z25Scr_AddArrayStringIndexedj
	movss xmm2, dword [ebp-0x74]
	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], eax
	call _Z13Scr_AddVectorPKf
	movzx eax, word [ebx+0x5e]
	mov [esp], eax
	call _Z25Scr_AddArrayStringIndexedj
	mov [esp], esi
	call _Z20Trace_GetEntityHitIdPK7trace_t
	mov edx, eax
	lea eax, [edx-0x3fe]
	cmp ax, 0x1
	jbe _Z15Scr_BulletTracev_20
	movzx eax, dx
	lea edx, [eax+eax*8]
	lea edx, [eax+edx*2]
	mov ecx, edx
	shl ecx, 0x5
	add edx, ecx
	add edx, eax
	add edx, g_entities
	mov [esp], edx
	call _Z13Scr_AddEntityP9gentity_s
_Z15Scr_BulletTracev_50:
	mov ebx, scr_const
	movzx eax, word [ebx+0x2e]
	mov [esp], eax
	call _Z25Scr_AddArrayStringIndexedj
	movss xmm4, dword [_float_1_00000000]
	ucomiss xmm4, [ebp-0x74]
	ja _Z15Scr_BulletTracev_30
	movss xmm3, dword [ebp-0x30]
	subss xmm3, [ebp-0x24]
	movss [ebp-0x48], xmm3
	movss xmm1, dword [ebp-0x2c]
	subss xmm1, [ebp-0x20]
	movss [ebp-0x44], xmm1
	movss xmm0, dword [ebp-0x28]
	subss xmm0, [ebp-0x1c]
	movss [ebp-0x40], xmm0
	movaps xmm2, xmm3
	mulss xmm2, xmm3
	mulss xmm1, xmm1
	addss xmm2, xmm1
	mulss xmm0, xmm0
	addss xmm2, xmm0
	sqrtss xmm2, xmm2
	movaps xmm0, xmm2
	xorps xmm0, [_data16_80000000]
	ucomiss xmm0, [_float_0_00000000]
	jb _Z15Scr_BulletTracev_40
	movaps xmm1, xmm4
_Z15Scr_BulletTracev_80:
	mulss xmm3, xmm1
	movss [ebp-0x48], xmm3
	movaps xmm0, xmm1
	mulss xmm0, [ebp-0x44]
	movss [ebp-0x44], xmm0
	mulss xmm1, [ebp-0x40]
	movss [ebp-0x40], xmm1
	lea eax, [ebp-0x48]
	mov [esp], eax
	call _Z13Scr_AddVectorPKf
	mov ebx, scr_const
	movzx eax, word [ebx+0x5a]
	mov [esp], eax
	call _Z25Scr_AddArrayStringIndexedj
	movzx eax, word [ebx+0x58]
	mov [esp], eax
	call _Z18Scr_AddConstStringj
	movzx eax, word [ebx+0x84]
	mov [esp], eax
	call _Z25Scr_AddArrayStringIndexedj
	add esp, 0x8c
	pop ebx
	pop esi
	pop edi
	pop ebp
	ret
_Z15Scr_BulletTracev_30:
	lea eax, [ebp-0x70]
	mov [esp], eax
	call _Z13Scr_AddVectorPKf
	movzx eax, word [ebx+0x5a]
	mov [esp], eax
	call _Z25Scr_AddArrayStringIndexedj
	mov eax, [ebp-0x64]
	and eax, 0x1f00000
	shr eax, 0x14
	mov [esp], eax
	call _Z21Com_SurfaceTypeToNamei
	mov [esp], eax
	call _Z13Scr_AddStringPKc
	movzx eax, word [ebx+0x84]
	mov [esp], eax
	call _Z25Scr_AddArrayStringIndexedj
	add esp, 0x8c
	pop ebx
	pop esi
	pop edi
	pop ebp
	ret
_Z15Scr_BulletTracev_20:
	call _Z16Scr_AddUndefinedv
	jmp _Z15Scr_BulletTracev_50
_Z15Scr_BulletTracev_10:
	mov dword [esp], 0x3
	call _Z18Scr_GetPointerTypej
	cmp eax, 0x14
	jnz _Z15Scr_BulletTracev_60
	mov dword [esp], 0x3
	call _Z13Scr_GetEntityj
	mov eax, [eax]
	jmp _Z15Scr_BulletTracev_70
_Z15Scr_BulletTracev_40:
	movaps xmm1, xmm4
	divss xmm1, xmm2
	jmp _Z15Scr_BulletTracev_80


;Scr_BulletTracePassed()
_Z21Scr_BulletTracePassedv:
	push ebp
	mov ebp, esp
	push edi
	push esi
	push ebx
	sub esp, 0x4c
	lea edi, [ebp-0x24]
	mov [esp+0x4], edi
	mov dword [esp], 0x0
	call _Z13Scr_GetVectorjPf
	lea esi, [ebp-0x30]
	mov [esp+0x4], esi
	mov dword [esp], 0x1
	call _Z13Scr_GetVectorjPf
	mov dword [esp], 0x2
	call _Z10Scr_GetIntj
	cmp eax, 0x1
	sbb ebx, ebx
	and ebx, 0xfe000000
	add ebx, 0x2806831
	mov dword [esp], 0x3
	call _Z11Scr_GetTypej
	sub eax, 0x1
	jz _Z21Scr_BulletTracePassedv_10
_Z21Scr_BulletTracePassedv_20:
	mov eax, 0x3ff
_Z21Scr_BulletTracePassedv_30:
	mov dword [esp+0x14], 0x0
	mov [esp+0x10], ebx
	mov dword [esp+0xc], 0x3ff
	mov [esp+0x8], eax
	mov [esp+0x4], esi
	mov [esp], edi
	call _Z23G_LocationalTracePassedPKfS0_iiiPh
	mov [esp], eax
	call _Z11Scr_AddBooli
	add esp, 0x4c
	pop ebx
	pop esi
	pop edi
	pop ebp
	ret
_Z21Scr_BulletTracePassedv_10:
	mov dword [esp], 0x3
	call _Z18Scr_GetPointerTypej
	cmp eax, 0x14
	jnz _Z21Scr_BulletTracePassedv_20
	mov dword [esp], 0x3
	call _Z13Scr_GetEntityj
	mov eax, [eax]
	jmp _Z21Scr_BulletTracePassedv_30
	nop


;Scr_PhysicsTrace()
_Z16Scr_PhysicsTracev:
	push ebp
	mov ebp, esp
	push esi
	push ebx
	sub esp, 0x70
	lea esi, [ebp-0x14]
	mov [esp+0x4], esi
	mov dword [esp], 0x0
	call _Z13Scr_GetVectorjPf
	lea ebx, [ebp-0x20]
	mov [esp+0x4], ebx
	mov dword [esp], 0x1
	call _Z13Scr_GetVectorjPf
	mov dword [esp+0x18], 0x820011
	mov dword [esp+0x14], 0x3ff
	mov [esp+0x10], ebx
	mov eax, vec3_origin
	mov [esp+0xc], eax
	mov [esp+0x8], eax
	mov [esp+0x4], esi
	lea eax, [ebp-0x58]
	mov [esp], eax
	call _Z14G_TraceCapsuleP7trace_tPKfS2_S2_S2_ii
	movss xmm2, dword [ebp-0x58]
	movss xmm1, dword [ebp-0x14]
	movss xmm0, dword [ebp-0x20]
	subss xmm0, xmm1
	mulss xmm0, xmm2
	addss xmm1, xmm0
	movss [ebp-0x2c], xmm1
	movss xmm1, dword [ebp-0x10]
	movss xmm0, dword [ebp-0x1c]
	subss xmm0, xmm1
	mulss xmm0, xmm2
	addss xmm1, xmm0
	movss [ebp-0x28], xmm1
	movss xmm1, dword [ebp-0xc]
	movss xmm0, dword [ebp-0x18]
	subss xmm0, xmm1
	mulss xmm2, xmm0
	addss xmm1, xmm2
	movss [ebp-0x24], xmm1
	lea eax, [ebp-0x2c]
	mov [esp], eax
	call _Z13Scr_AddVectorPKf
	add esp, 0x70
	pop ebx
	pop esi
	pop ebp
	ret


;Scr_PlayerPhysicsTrace()
_Z22Scr_PlayerPhysicsTracev:
	push ebp
	mov ebp, esp
	push esi
	push ebx
	sub esp, 0x70
	lea esi, [ebp-0x14]
	mov [esp+0x4], esi
	mov dword [esp], 0x0
	call _Z13Scr_GetVectorjPf
	lea ebx, [ebp-0x20]
	mov [esp+0x4], ebx
	mov dword [esp], 0x1
	call _Z13Scr_GetVectorjPf
	mov dword [esp+0x18], 0x820011
	mov dword [esp+0x14], 0x3ff
	mov [esp+0x10], ebx
	mov eax, playerMaxs
	mov [esp+0xc], eax
	mov eax, playerMins
	mov [esp+0x8], eax
	mov [esp+0x4], esi
	lea eax, [ebp-0x58]
	mov [esp], eax
	call _Z14G_TraceCapsuleP7trace_tPKfS2_S2_S2_ii
	movss xmm2, dword [ebp-0x58]
	movss xmm1, dword [ebp-0x14]
	movss xmm0, dword [ebp-0x20]
	subss xmm0, xmm1
	mulss xmm0, xmm2
	addss xmm1, xmm0
	movss [ebp-0x2c], xmm1
	movss xmm1, dword [ebp-0x10]
	movss xmm0, dword [ebp-0x1c]
	subss xmm0, xmm1
	mulss xmm0, xmm2
	addss xmm1, xmm0
	movss [ebp-0x28], xmm1
	movss xmm1, dword [ebp-0xc]
	movss xmm0, dword [ebp-0x18]
	subss xmm0, xmm1
	mulss xmm2, xmm0
	addss xmm1, xmm2
	movss [ebp-0x24], xmm1
	lea eax, [ebp-0x2c]
	mov [esp], eax
	call _Z13Scr_AddVectorPKf
	add esp, 0x70
	pop ebx
	pop esi
	pop ebp
	ret
	nop


;GScr_GetMoveDelta()
_Z17GScr_GetMoveDeltav:
	push ebp
	mov ebp, esp
	push esi
	push ebx
	sub esp, 0x50
	call _Z15Scr_GetNumParamv
	cmp eax, 0x1
	jz _Z17GScr_GetMoveDeltav_10
	cmp eax, 0x2
	jz _Z17GScr_GetMoveDeltav_20
	mov dword [esp], 0x2
	call _Z12Scr_GetFloatj
	fstp dword [ebp-0x2c]
	movss xmm0, dword [ebp-0x2c]
	ucomiss xmm0, [_float_0_00000000]
	jb _Z17GScr_GetMoveDeltav_30
_Z17GScr_GetMoveDeltav_90:
	ucomiss xmm0, [_float_1_00000000]
	jbe _Z17GScr_GetMoveDeltav_40
_Z17GScr_GetMoveDeltav_80:
	mov dword [esp+0x4], _cstring_end_time_must_be
	mov dword [esp], 0x2
	call _Z14Scr_ParamErrorjPKc
_Z17GScr_GetMoveDeltav_40:
	mov dword [esp], 0x1
	call _Z12Scr_GetFloatj
	fstp dword [ebp-0x30]
	movss xmm0, dword [ebp-0x30]
	ucomiss xmm0, [_float_0_00000000]
	jp _Z17GScr_GetMoveDeltav_50
	jb _Z17GScr_GetMoveDeltav_60
_Z17GScr_GetMoveDeltav_50:
	ucomiss xmm0, [_float_1_00000000]
	jbe _Z17GScr_GetMoveDeltav_70
_Z17GScr_GetMoveDeltav_60:
	mov dword [esp+0x4], _cstring_start_time_must_
	mov dword [esp], 0x1
	call _Z14Scr_ParamErrorjPKc
_Z17GScr_GetMoveDeltav_70:
	mov dword [esp+0x4], 0x0
	mov dword [esp], 0x0
	call _Z11Scr_GetAnimjP11XAnimTree_s
	movzx esi, ax
	shr eax, 0x10
	mov [esp], eax
	call _Z12Scr_GetAnimsj
	movss xmm0, dword [ebp-0x2c]
	movss [esp+0x14], xmm0
	movss xmm0, dword [ebp-0x30]
	movss [esp+0x10], xmm0
	lea ebx, [ebp-0x1c]
	mov [esp+0xc], ebx
	lea edx, [ebp-0x10]
	mov [esp+0x8], edx
	mov [esp+0x4], esi
	mov [esp], eax
	call _Z16XAnimGetRelDeltaPK7XAnim_sjPfS2_ff
	mov [esp], ebx
	call _Z13Scr_AddVectorPKf
	add esp, 0x50
	pop ebx
	pop esi
	pop ebp
	ret
_Z17GScr_GetMoveDeltav_10:
	pxor xmm0, xmm0
	movss [ebp-0x30], xmm0
	movss xmm0, dword [_float_1_00000000]
	movss [ebp-0x2c], xmm0
	jmp _Z17GScr_GetMoveDeltav_70
_Z17GScr_GetMoveDeltav_20:
	movss xmm0, dword [_float_1_00000000]
	movss [ebp-0x2c], xmm0
	jmp _Z17GScr_GetMoveDeltav_40
_Z17GScr_GetMoveDeltav_30:
	jnp _Z17GScr_GetMoveDeltav_80
	jmp _Z17GScr_GetMoveDeltav_90
	nop


;GScr_GetAngleDelta()
_Z18GScr_GetAngleDeltav:
	push ebp
	mov ebp, esp
	push esi
	push ebx
	sub esp, 0x50
	call _Z15Scr_GetNumParamv
	cmp eax, 0x1
	jz _Z18GScr_GetAngleDeltav_10
	cmp eax, 0x2
	jz _Z18GScr_GetAngleDeltav_20
	mov dword [esp], 0x2
	call _Z12Scr_GetFloatj
	fstp dword [ebp-0x2c]
	movss xmm0, dword [ebp-0x2c]
	ucomiss xmm0, [_float_0_00000000]
	jb _Z18GScr_GetAngleDeltav_30
_Z18GScr_GetAngleDeltav_90:
	ucomiss xmm0, [_float_1_00000000]
	jbe _Z18GScr_GetAngleDeltav_40
_Z18GScr_GetAngleDeltav_80:
	mov dword [esp+0x4], _cstring_end_time_must_be
	mov dword [esp], 0x2
	call _Z14Scr_ParamErrorjPKc
_Z18GScr_GetAngleDeltav_40:
	mov dword [esp], 0x1
	call _Z12Scr_GetFloatj
	fstp dword [ebp-0x30]
	movss xmm0, dword [ebp-0x30]
	ucomiss xmm0, [_float_0_00000000]
	jp _Z18GScr_GetAngleDeltav_50
	jb _Z18GScr_GetAngleDeltav_60
_Z18GScr_GetAngleDeltav_50:
	ucomiss xmm0, [_float_1_00000000]
	jbe _Z18GScr_GetAngleDeltav_70
_Z18GScr_GetAngleDeltav_60:
	mov dword [esp+0x4], _cstring_start_time_must_
	mov dword [esp], 0x1
	call _Z14Scr_ParamErrorjPKc
_Z18GScr_GetAngleDeltav_70:
	mov dword [esp+0x4], 0x0
	mov dword [esp], 0x0
	call _Z11Scr_GetAnimjP11XAnimTree_s
	movzx esi, ax
	shr eax, 0x10
	mov [esp], eax
	call _Z12Scr_GetAnimsj
	movss xmm0, dword [ebp-0x2c]
	movss [esp+0x14], xmm0
	movss xmm0, dword [ebp-0x30]
	movss [esp+0x10], xmm0
	lea edx, [ebp-0x1c]
	mov [esp+0xc], edx
	lea ebx, [ebp-0x10]
	mov [esp+0x8], ebx
	mov [esp+0x4], esi
	mov [esp], eax
	call _Z16XAnimGetRelDeltaPK7XAnim_sjPfS2_ff
	mov [esp], ebx
	call _Z13RotationToYawPKf
	fstp dword [esp]
	call _Z12Scr_AddFloatf
	add esp, 0x50
	pop ebx
	pop esi
	pop ebp
	ret
_Z18GScr_GetAngleDeltav_10:
	pxor xmm0, xmm0
	movss [ebp-0x30], xmm0
	movss xmm0, dword [_float_1_00000000]
	movss [ebp-0x2c], xmm0
	jmp _Z18GScr_GetAngleDeltav_70
_Z18GScr_GetAngleDeltav_20:
	movss xmm0, dword [_float_1_00000000]
	movss [ebp-0x2c], xmm0
	jmp _Z18GScr_GetAngleDeltav_40
_Z18GScr_GetAngleDeltav_30:
	jnp _Z18GScr_GetAngleDeltav_80
	jmp _Z18GScr_GetAngleDeltav_90


;GScr_GetNorthYaw()
_Z16GScr_GetNorthYawv:
	push ebp
	mov ebp, esp
	push ebx
	sub esp, 0x44
	mov dword [esp+0x8], 0x20
	lea ebx, [ebp-0x28]
	mov [esp+0x4], ebx
	mov dword [esp], 0x336
	call _Z18SV_GetConfigstringiPci
	mov [esp], ebx
	call atof
	fstp qword [ebp-0x30]
	cvtsd2ss xmm0, [ebp-0x30]
	movss [esp], xmm0
	call _Z12Scr_AddFloatf
	add esp, 0x44
	pop ebx
	pop ebp
	ret


;Scr_RandomInt()
_Z13Scr_RandomIntv:
	push ebp
	mov ebp, esp
	sub esp, 0x18
	mov dword [esp], 0x0
	call _Z10Scr_GetIntj
	test eax, eax
	jle _Z13Scr_RandomIntv_10
	mov [esp+0x4], eax
	mov dword [esp], 0x0
	call _Z5irandii
	mov [esp], eax
	call _Z10Scr_AddInti
	leave
	ret
_Z13Scr_RandomIntv_10:
	mov [esp+0x8], eax
	mov dword [esp+0x4], _cstring_randomint_parm_d
	mov dword [esp], 0x17
	call _Z10Com_PrintfiPKcz
	mov dword [esp], _cstring_randomint_parm_m
	call _Z9Scr_ErrorPKc
	leave
	ret


;Scr_RandomFloat()
_Z15Scr_RandomFloatv:
	push ebp
	mov ebp, esp
	sub esp, 0x18
	mov dword [esp], 0x0
	call _Z12Scr_GetFloatj
	fstp dword [esp+0x4]
	mov dword [esp], 0x0
	call _Z6flrandff
	fstp dword [esp]
	call _Z12Scr_AddFloatf
	leave
	ret


;Scr_RandomIntRange()
_Z18Scr_RandomIntRangev:
	push ebp
	mov ebp, esp
	push esi
	push ebx
	sub esp, 0x10
	mov dword [esp], 0x0
	call _Z10Scr_GetIntj
	mov esi, eax
	mov dword [esp], 0x1
	call _Z10Scr_GetIntj
	mov ebx, eax
	cmp esi, eax
	jl _Z18Scr_RandomIntRangev_10
	mov [esp+0xc], eax
	mov [esp+0x8], esi
	mov dword [esp+0x4], _cstring_randomintrange_p
	mov dword [esp], 0x17
	call _Z10Com_PrintfiPKcz
	mov dword [esp], _cstring_randomintrange_r
	call _Z9Scr_ErrorPKc
_Z18Scr_RandomIntRangev_10:
	mov [esp+0x4], ebx
	mov [esp], esi
	call _Z5irandii
	mov [esp], eax
	call _Z10Scr_AddInti
	add esp, 0x10
	pop ebx
	pop esi
	pop ebp
	ret
	nop


;Scr_RandomFloatRange()
_Z20Scr_RandomFloatRangev:
	push ebp
	mov ebp, esp
	sub esp, 0x38
	mov dword [esp], 0x0
	call _Z12Scr_GetFloatj
	fstp dword [ebp-0x10]
	mov dword [esp], 0x1
	call _Z12Scr_GetFloatj
	fstp dword [ebp-0xc]
	movss xmm0, dword [ebp-0x10]
	ucomiss xmm0, [ebp-0xc]
	jb _Z20Scr_RandomFloatRangev_10
	cvtss2sd xmm0, [ebp-0xc]
	movsd [esp+0x10], xmm0
	cvtss2sd xmm0, [ebp-0x10]
	movsd [esp+0x8], xmm0
	mov dword [esp+0x4], _cstring_scr_randomfloatr
	mov dword [esp], 0x17
	call _Z10Com_PrintfiPKcz
	mov dword [esp], _cstring_scr_randomfloatr1
	call _Z9Scr_ErrorPKc
_Z20Scr_RandomFloatRangev_10:
	movss xmm0, dword [ebp-0xc]
	movss [esp+0x4], xmm0
	movss xmm0, dword [ebp-0x10]
	movss [esp], xmm0
	call _Z6flrandff
	fstp dword [esp]
	call _Z12Scr_AddFloatf
	leave
	ret
	nop


;GScr_sin()
_Z8GScr_sinv:
	push ebp
	mov ebp, esp
	sub esp, 0x28
	mov dword [esp], 0x0
	call _Z12Scr_GetFloatj
	fstp dword [ebp-0xc]
	cvtss2sd xmm0, [ebp-0xc]
	mulsd xmm0, [_double_0_01745329]
	movsd [esp], xmm0
	call sin
	fstp qword [ebp-0x18]
	cvtsd2ss xmm0, [ebp-0x18]
	movss [esp], xmm0
	call _Z12Scr_AddFloatf
	leave
	ret


;GScr_cos()
_Z8GScr_cosv:
	push ebp
	mov ebp, esp
	sub esp, 0x28
	mov dword [esp], 0x0
	call _Z12Scr_GetFloatj
	fstp dword [ebp-0xc]
	cvtss2sd xmm0, [ebp-0xc]
	mulsd xmm0, [_double_0_01745329]
	movsd [esp], xmm0
	call cos
	fstp qword [ebp-0x18]
	cvtsd2ss xmm0, [ebp-0x18]
	movss [esp], xmm0
	call _Z12Scr_AddFloatf
	leave
	ret


;GScr_tan()
_Z8GScr_tanv:
	push ebp
	mov ebp, esp
	sub esp, 0x28
	mov dword [esp], 0x0
	call _Z12Scr_GetFloatj
	fstp dword [ebp-0x18]
	cvtss2sd xmm0, [ebp-0x18]
	mulsd xmm0, [_double_0_01745329]
	cvtsd2ss xmm0, xmm0
	movss [ebp-0x14], xmm0
	movss [esp], xmm0
	call sinf
	fstp dword [ebp-0x10]
	movss xmm0, dword [ebp-0x14]
	movss [esp], xmm0
	call cosf
	fstp dword [ebp-0xc]
	movss xmm0, dword [ebp-0xc]
	ucomiss xmm0, [_float_0_00000000]
	jz _Z8GScr_tanv_10
_Z8GScr_tanv_20:
	movss xmm0, dword [ebp-0x10]
	divss xmm0, dword [ebp-0xc]
	movss [esp], xmm0
	call _Z12Scr_AddFloatf
	leave
	ret
_Z8GScr_tanv_10:
	jp _Z8GScr_tanv_20
	mov dword [esp], _cstring_divide_by_0
	call _Z9Scr_ErrorPKc
	movss xmm0, dword [ebp-0x10]
	divss xmm0, dword [ebp-0xc]
	movss [esp], xmm0
	call _Z12Scr_AddFloatf
	leave
	ret


;GScr_asin()
_Z9GScr_asinv:
	push ebp
	mov ebp, esp
	sub esp, 0x28
	mov dword [esp], 0x0
	call _Z12Scr_GetFloatj
	fstp dword [ebp-0xc]
	movss xmm0, dword [ebp-0xc]
	ucomiss xmm0, [_float__1_00000000]
	jp _Z9GScr_asinv_10
	jb _Z9GScr_asinv_20
_Z9GScr_asinv_10:
	ucomiss xmm0, [_float_1_00000000]
	jbe _Z9GScr_asinv_30
_Z9GScr_asinv_20:
	cvtss2sd xmm0, [ebp-0xc]
	movsd [esp+0x4], xmm0
	mov dword [esp], _cstring_g_out_of_range
	call _Z2vaPKcz
	mov [esp], eax
	call _Z9Scr_ErrorPKc
_Z9GScr_asinv_30:
	movss xmm0, dword [ebp-0xc]
	movss [esp], xmm0
	call asinf
	fstp dword [ebp-0x10]
	cvtss2sd xmm0, [ebp-0x10]
	mulsd xmm0, [_double_57_29577951]
	cvtsd2ss xmm0, xmm0
	movss [esp], xmm0
	call _Z12Scr_AddFloatf
	leave
	ret


;GScr_acos()
_Z9GScr_acosv:
	push ebp
	mov ebp, esp
	sub esp, 0x28
	mov dword [esp], 0x0
	call _Z12Scr_GetFloatj
	fstp dword [ebp-0xc]
	movss xmm0, dword [ebp-0xc]
	ucomiss xmm0, [_float__1_00000000]
	jp _Z9GScr_acosv_10
	jb _Z9GScr_acosv_20
_Z9GScr_acosv_10:
	ucomiss xmm0, [_float_1_00000000]
	jbe _Z9GScr_acosv_30
_Z9GScr_acosv_20:
	cvtss2sd xmm0, [ebp-0xc]
	movsd [esp+0x4], xmm0
	mov dword [esp], _cstring_g_out_of_range
	call _Z2vaPKcz
	mov [esp], eax
	call _Z9Scr_ErrorPKc
_Z9GScr_acosv_30:
	movss xmm0, dword [ebp-0xc]
	movss [esp], xmm0
	call acosf
	fstp dword [ebp-0x10]
	cvtss2sd xmm0, [ebp-0x10]
	mulsd xmm0, [_double_57_29577951]
	cvtsd2ss xmm0, xmm0
	movss [esp], xmm0
	call _Z12Scr_AddFloatf
	leave
	ret


;GScr_atan()
_Z9GScr_atanv:
	push ebp
	mov ebp, esp
	sub esp, 0x28
	mov dword [esp], 0x0
	call _Z12Scr_GetFloatj
	fstp dword [esp]
	call atanf
	fstp dword [ebp-0xc]
	cvtss2sd xmm0, [ebp-0xc]
	mulsd xmm0, [_double_57_29577951]
	cvtsd2ss xmm0, xmm0
	movss [esp], xmm0
	call _Z12Scr_AddFloatf
	leave
	ret


;GScr_CastInt()
_Z12GScr_CastIntv:
	push ebp
	mov ebp, esp
	sub esp, 0x28
	mov dword [esp], 0x0
	call _Z11Scr_GetTypej
	cmp eax, 0x5
	jz _Z12GScr_CastIntv_10
	cmp eax, 0x6
	jz _Z12GScr_CastIntv_20
	cmp eax, 0x2
	jz _Z12GScr_CastIntv_30
	mov dword [esp], 0x0
	call _Z15Scr_GetTypeNamej
	mov [esp+0x4], eax
	mov dword [esp], _cstring_cannot_cast_s_to
	call _Z2vaPKcz
	mov [esp+0x4], eax
	mov dword [esp], 0x0
	call _Z14Scr_ParamErrorjPKc
	leave
	ret
_Z12GScr_CastIntv_10:
	mov dword [esp], 0x0
	call _Z12Scr_GetFloatj
	fstp dword [ebp-0xc]
	cvttss2si eax, [ebp-0xc]
	mov [esp], eax
	call _Z10Scr_AddInti
	leave
	ret
_Z12GScr_CastIntv_20:
	mov dword [esp], 0x0
	call _Z10Scr_GetIntj
	mov [esp], eax
	call _Z10Scr_AddInti
	leave
	ret
_Z12GScr_CastIntv_30:
	mov dword [esp], 0x0
	call _Z13Scr_GetStringj
	mov [esp], eax
	call atoi
	mov [esp], eax
	call _Z10Scr_AddInti
	leave
	ret
	nop


;GScr_abs()
_Z8GScr_absv:
	push ebp
	mov ebp, esp
	sub esp, 0x28
	mov dword [esp], 0x0
	call _Z12Scr_GetFloatj
	fstp dword [ebp-0xc]
	mov eax, [ebp-0xc]
	and eax, 0x7fffffff
	mov [esp], eax
	call _Z12Scr_AddFloatf
	leave
	ret
	nop


;GScr_min()
_Z8GScr_minv:
	push ebp
	mov ebp, esp
	sub esp, 0x38
	mov dword [esp], 0x1
	call _Z12Scr_GetFloatj
	fstp dword [ebp-0x1c]
	movss xmm1, dword [ebp-0x1c]
	mov dword [esp], 0x0
	movss [ebp-0x18], xmm1
	call _Z12Scr_GetFloatj
	fstp dword [ebp-0x1c]
	movss xmm3, dword [ebp-0x1c]
	movss xmm1, dword [ebp-0x18]
	movaps xmm2, xmm1
	subss xmm2, xmm3
	pxor xmm0, xmm0
	cmpss xmm0, xmm2, 0x6
	andps xmm1, xmm0
	andnps xmm0, xmm3
	orps xmm0, xmm1
	movss [esp], xmm0
	call _Z12Scr_AddFloatf
	leave
	ret
	nop


;GScr_max()
_Z8GScr_maxv:
	push ebp
	mov ebp, esp
	sub esp, 0x38
	mov dword [esp], 0x1
	call _Z12Scr_GetFloatj
	fstp dword [ebp-0x1c]
	movss xmm1, dword [ebp-0x1c]
	mov dword [esp], 0x0
	movss [ebp-0x18], xmm1
	call _Z12Scr_GetFloatj
	fstp dword [ebp-0x1c]
	movss xmm3, dword [ebp-0x1c]
	movss xmm1, dword [ebp-0x18]
	movaps xmm2, xmm3
	subss xmm2, xmm1
	pxor xmm0, xmm0
	cmpss xmm0, xmm2, 0x6
	andps xmm1, xmm0
	andnps xmm0, xmm3
	orps xmm0, xmm1
	movss [esp], xmm0
	call _Z12Scr_AddFloatf
	leave
	ret
	nop


;GScr_floor()
_Z10GScr_floorv:
	push ebp
	mov ebp, esp
	sub esp, 0x18
	mov dword [esp], 0x0
	call _Z12Scr_GetFloatj
	fstp dword [esp]
	call floorf
	fstp dword [esp]
	call _Z12Scr_AddFloatf
	leave
	ret


;GScr_ceil()
_Z9GScr_ceilv:
	push ebp
	mov ebp, esp
	sub esp, 0x18
	mov dword [esp], 0x0
	call _Z12Scr_GetFloatj
	fstp dword [esp]
	call ceilf
	fstp dword [esp]
	call _Z12Scr_AddFloatf
	leave
	ret


;GScr_sqrt()
_Z9GScr_sqrtv:
	push ebp
	mov ebp, esp
	sub esp, 0x28
	mov dword [esp], 0x0
	call _Z12Scr_GetFloatj
	fstp dword [ebp-0xc]
	sqrtss xmm0, [ebp-0xc]
	movss [esp], xmm0
	call _Z12Scr_AddFloatf
	leave
	ret


;GScr_VectorFromLineToPoint()
_Z26GScr_VectorFromLineToPointv:
	push ebp
	mov ebp, esp
	sub esp, 0x88
	lea eax, [ebp-0x14]
	mov [esp+0x4], eax
	mov dword [esp], 0x0
	call _Z13Scr_GetVectorjPf
	lea eax, [ebp-0x20]
	mov [esp+0x4], eax
	mov dword [esp], 0x1
	call _Z13Scr_GetVectorjPf
	lea eax, [ebp-0x2c]
	mov [esp+0x4], eax
	mov dword [esp], 0x2
	call _Z13Scr_GetVectorjPf
	movss xmm5, dword [ebp-0x20]
	subss xmm5, [ebp-0x14]
	movss xmm6, dword [ebp-0x1c]
	subss xmm6, [ebp-0x10]
	movss xmm7, dword [ebp-0x18]
	subss xmm7, [ebp-0xc]
	movaps xmm0, xmm5
	mulss xmm0, xmm5
	movss [ebp-0x3c], xmm0
	movaps xmm0, xmm6
	mulss xmm0, xmm6
	addss xmm0, [ebp-0x3c]
	movss [ebp-0x3c], xmm0
	movaps xmm0, xmm7
	mulss xmm0, xmm7
	addss xmm0, [ebp-0x3c]
	movss [ebp-0x3c], xmm0
	ucomiss xmm0, [_float_0_00000000]
	jz _Z26GScr_VectorFromLineToPointv_10
_Z26GScr_VectorFromLineToPointv_20:
	movss xmm2, dword [ebp-0x2c]
	subss xmm2, [ebp-0x14]
	movss xmm3, dword [ebp-0x28]
	subss xmm3, [ebp-0x10]
	movss xmm4, dword [ebp-0x24]
	subss xmm4, [ebp-0xc]
	movaps xmm0, xmm5
	mulss xmm0, xmm2
	movaps xmm1, xmm6
	mulss xmm1, xmm3
	addss xmm0, xmm1
	movaps xmm1, xmm7
	mulss xmm1, xmm4
	addss xmm0, xmm1
	divss xmm0, dword [ebp-0x3c]
	xorps xmm0, [_data16_80000000]
	mulss xmm5, xmm0
	addss xmm2, xmm5
	movss [ebp-0x38], xmm2
	mulss xmm6, xmm0
	addss xmm3, xmm6
	movss [ebp-0x34], xmm3
	mulss xmm7, xmm0
	addss xmm4, xmm7
	movss [ebp-0x30], xmm4
	lea eax, [ebp-0x38]
	mov [esp], eax
	call _Z13Scr_AddVectorPKf
	leave
	ret
_Z26GScr_VectorFromLineToPointv_10:
	jp _Z26GScr_VectorFromLineToPointv_20
	mov dword [esp+0x4], _cstring_the_two_points_o
	mov dword [esp], 0x0
	movss [ebp-0x58], xmm5
	movss [ebp-0x68], xmm6
	movss [ebp-0x78], xmm7
	call _Z14Scr_ParamErrorjPKc
	movss xmm7, dword [ebp-0x78]
	movss xmm6, dword [ebp-0x68]
	movss xmm5, dword [ebp-0x58]
	jmp _Z26GScr_VectorFromLineToPointv_20
	nop


;GScr_PointOnSegmentNearestToPoint()
_Z33GScr_PointOnSegmentNearestToPointv:
	push ebp
	mov ebp, esp
	push esi
	push ebx
	sub esp, 0x90
	lea esi, [ebp-0x14]
	mov [esp+0x4], esi
	mov dword [esp], 0x0
	call _Z13Scr_GetVectorjPf
	lea ebx, [ebp-0x20]
	mov [esp+0x4], ebx
	mov dword [esp], 0x1
	call _Z13Scr_GetVectorjPf
	lea eax, [ebp-0x2c]
	mov [esp+0x4], eax
	mov dword [esp], 0x2
	call _Z13Scr_GetVectorjPf
	movss xmm3, dword [ebp-0x20]
	subss xmm3, [ebp-0x14]
	movss xmm4, dword [ebp-0x1c]
	subss xmm4, [ebp-0x10]
	movss xmm5, dword [ebp-0x18]
	subss xmm5, [ebp-0xc]
	movaps xmm2, xmm3
	mulss xmm2, xmm3
	movaps xmm0, xmm4
	mulss xmm0, xmm4
	addss xmm2, xmm0
	movaps xmm0, xmm5
	mulss xmm0, xmm5
	addss xmm2, xmm0
	pxor xmm0, xmm0
	ucomiss xmm2, xmm0
	jz _Z33GScr_PointOnSegmentNearestToPointv_10
_Z33GScr_PointOnSegmentNearestToPointv_40:
	movss xmm6, dword [ebp-0x14]
	movss xmm7, dword [ebp-0x10]
	movss xmm0, dword [ebp-0xc]
	movss [ebp-0x3c], xmm0
	movss xmm1, dword [ebp-0x2c]
	subss xmm1, xmm6
	mulss xmm1, xmm3
	movss xmm0, dword [ebp-0x28]
	subss xmm0, xmm7
	mulss xmm0, xmm4
	addss xmm1, xmm0
	movss xmm0, dword [ebp-0x24]
	subss xmm0, [ebp-0x3c]
	mulss xmm0, xmm5
	addss xmm1, xmm0
	divss xmm1, xmm2
	pxor xmm0, xmm0
	ucomiss xmm0, xmm1
	ja _Z33GScr_PointOnSegmentNearestToPointv_20
	ucomiss xmm1, [_float_1_00000000]
	jbe _Z33GScr_PointOnSegmentNearestToPointv_30
	mov [esp], ebx
	call _Z13Scr_AddVectorPKf
	add esp, 0x90
	pop ebx
	pop esi
	pop ebp
	ret
_Z33GScr_PointOnSegmentNearestToPointv_10:
	jp _Z33GScr_PointOnSegmentNearestToPointv_40
	mov dword [esp+0x4], _cstring_line_segment_mus
	mov dword [esp], 0x0
	movss [ebp-0x58], xmm2
	movss [ebp-0x68], xmm3
	movss [ebp-0x78], xmm4
	movss [ebp-0x88], xmm5
	call _Z14Scr_ParamErrorjPKc
	movss xmm5, dword [ebp-0x88]
	movss xmm4, dword [ebp-0x78]
	movss xmm3, dword [ebp-0x68]
	movss xmm2, dword [ebp-0x58]
	jmp _Z33GScr_PointOnSegmentNearestToPointv_40
_Z33GScr_PointOnSegmentNearestToPointv_30:
	mulss xmm3, xmm1
	addss xmm6, xmm3
	movss [ebp-0x38], xmm6
	mulss xmm4, xmm1
	addss xmm7, xmm4
	movss [ebp-0x34], xmm7
	mulss xmm5, xmm1
	addss xmm5, [ebp-0x3c]
	movss [ebp-0x30], xmm5
	lea eax, [ebp-0x38]
	mov [esp], eax
	call _Z13Scr_AddVectorPKf
	add esp, 0x90
	pop ebx
	pop esi
	pop ebp
	ret
_Z33GScr_PointOnSegmentNearestToPointv_20:
	mov [esp], esi
	call _Z13Scr_AddVectorPKf
	add esp, 0x90
	pop ebx
	pop esi
	pop ebp
	ret


;Scr_Distance()
_Z12Scr_Distancev:
	push ebp
	mov ebp, esp
	sub esp, 0x38
	lea eax, [ebp-0x14]
	mov [esp+0x4], eax
	mov dword [esp], 0x0
	call _Z13Scr_GetVectorjPf
	lea eax, [ebp-0x20]
	mov [esp+0x4], eax
	mov dword [esp], 0x1
	call _Z13Scr_GetVectorjPf
	movss xmm0, dword [ebp-0x20]
	subss xmm0, [ebp-0x14]
	movss xmm1, dword [ebp-0x1c]
	subss xmm1, [ebp-0x10]
	movss xmm2, dword [ebp-0x18]
	subss xmm2, [ebp-0xc]
	mulss xmm0, xmm0
	mulss xmm1, xmm1
	addss xmm0, xmm1
	mulss xmm2, xmm2
	addss xmm0, xmm2
	sqrtss xmm0, xmm0
	movss [esp], xmm0
	call _Z12Scr_AddFloatf
	leave
	ret


;Scr_Distance2D()
_Z14Scr_Distance2Dv:
	push ebp
	mov ebp, esp
	push esi
	push ebx
	sub esp, 0x30
	lea esi, [ebp-0x14]
	mov [esp+0x4], esi
	mov dword [esp], 0x0
	call _Z13Scr_GetVectorjPf
	lea ebx, [ebp-0x20]
	mov [esp+0x4], ebx
	mov dword [esp], 0x1
	call _Z13Scr_GetVectorjPf
	mov [esp+0x4], ebx
	mov [esp], esi
	call _Z12Vec2DistancePKfS0_
	fstp dword [esp]
	call _Z12Scr_AddFloatf
	add esp, 0x30
	pop ebx
	pop esi
	pop ebp
	ret
	nop


;Scr_DistanceSquared()
_Z19Scr_DistanceSquaredv:
	push ebp
	mov ebp, esp
	sub esp, 0x38
	lea eax, [ebp-0x14]
	mov [esp+0x4], eax
	mov dword [esp], 0x0
	call _Z13Scr_GetVectorjPf
	lea eax, [ebp-0x20]
	mov [esp+0x4], eax
	mov dword [esp], 0x1
	call _Z13Scr_GetVectorjPf
	movss xmm0, dword [ebp-0x20]
	subss xmm0, [ebp-0x14]
	movss xmm1, dword [ebp-0x1c]
	subss xmm1, [ebp-0x10]
	movss xmm2, dword [ebp-0x18]
	subss xmm2, [ebp-0xc]
	mulss xmm0, xmm0
	mulss xmm1, xmm1
	addss xmm0, xmm1
	mulss xmm2, xmm2
	addss xmm0, xmm2
	movss [esp], xmm0
	call _Z12Scr_AddFloatf
	leave
	ret


;Scr_Length()
_Z10Scr_Lengthv:
	push ebp
	mov ebp, esp
	sub esp, 0x28
	lea eax, [ebp-0x14]
	mov [esp+0x4], eax
	mov dword [esp], 0x0
	call _Z13Scr_GetVectorjPf
	movss xmm0, dword [ebp-0x14]
	movss xmm1, dword [ebp-0x10]
	movss xmm2, dword [ebp-0xc]
	mulss xmm0, xmm0
	mulss xmm1, xmm1
	addss xmm0, xmm1
	mulss xmm2, xmm2
	addss xmm0, xmm2
	sqrtss xmm0, xmm0
	movss [esp], xmm0
	call _Z12Scr_AddFloatf
	leave
	ret


;Scr_LengthSquared()
_Z17Scr_LengthSquaredv:
	push ebp
	mov ebp, esp
	sub esp, 0x28
	lea eax, [ebp-0x14]
	mov [esp+0x4], eax
	mov dword [esp], 0x0
	call _Z13Scr_GetVectorjPf
	movss xmm0, dword [ebp-0x14]
	movss xmm1, dword [ebp-0x10]
	movss xmm2, dword [ebp-0xc]
	mulss xmm0, xmm0
	mulss xmm1, xmm1
	addss xmm0, xmm1
	mulss xmm2, xmm2
	addss xmm0, xmm2
	movss [esp], xmm0
	call _Z12Scr_AddFloatf
	leave
	ret


;Scr_Closer()
_Z10Scr_Closerv:
	push ebp
	mov ebp, esp
	sub esp, 0x48
	lea eax, [ebp-0x14]
	mov [esp+0x4], eax
	mov dword [esp], 0x0
	call _Z13Scr_GetVectorjPf
	lea eax, [ebp-0x20]
	mov [esp+0x4], eax
	mov dword [esp], 0x1
	call _Z13Scr_GetVectorjPf
	lea eax, [ebp-0x2c]
	mov [esp+0x4], eax
	mov dword [esp], 0x2
	call _Z13Scr_GetVectorjPf
	movss xmm0, dword [ebp-0x14]
	movaps xmm3, xmm0
	subss xmm3, [ebp-0x20]
	movss xmm1, dword [ebp-0x10]
	movaps xmm4, xmm1
	subss xmm4, [ebp-0x1c]
	movss xmm2, dword [ebp-0xc]
	movaps xmm5, xmm2
	subss xmm5, [ebp-0x18]
	subss xmm0, [ebp-0x2c]
	subss xmm1, [ebp-0x28]
	subss xmm2, [ebp-0x24]
	mulss xmm3, xmm3
	mulss xmm4, xmm4
	addss xmm3, xmm4
	mulss xmm5, xmm5
	addss xmm3, xmm5
	mulss xmm0, xmm0
	mulss xmm1, xmm1
	addss xmm0, xmm1
	mulss xmm2, xmm2
	addss xmm0, xmm2
	xor eax, eax
	ucomiss xmm0, xmm3
	seta al
	mov [esp], eax
	call _Z10Scr_AddInti
	leave
	ret
	nop


;Scr_VectorDot()
_Z13Scr_VectorDotv:
	push ebp
	mov ebp, esp
	sub esp, 0x38
	lea eax, [ebp-0x14]
	mov [esp+0x4], eax
	mov dword [esp], 0x0
	call _Z13Scr_GetVectorjPf
	lea eax, [ebp-0x20]
	mov [esp+0x4], eax
	mov dword [esp], 0x1
	call _Z13Scr_GetVectorjPf
	movss xmm1, dword [ebp-0x14]
	mulss xmm1, [ebp-0x20]
	movss xmm0, dword [ebp-0x10]
	mulss xmm0, [ebp-0x1c]
	addss xmm1, xmm0
	movss xmm0, dword [ebp-0xc]
	mulss xmm0, [ebp-0x18]
	addss xmm1, xmm0
	movss [esp], xmm1
	call _Z12Scr_AddFloatf
	leave
	ret


;Scr_VectorNormalize()
_Z19Scr_VectorNormalizev:
	push ebp
	mov ebp, esp
	sub esp, 0x38
	call _Z15Scr_GetNumParamv
	sub eax, 0x1
	jz _Z19Scr_VectorNormalizev_10
	mov dword [esp], _cstring_wrong_number_of_
	call _Z9Scr_ErrorPKc
_Z19Scr_VectorNormalizev_10:
	lea eax, [ebp-0x14]
	mov [esp+0x4], eax
	mov dword [esp], 0x0
	call _Z13Scr_GetVectorjPf
	movss xmm3, dword [ebp-0x14]
	movss [ebp-0x20], xmm3
	movss xmm1, dword [ebp-0x10]
	movss [ebp-0x1c], xmm1
	movss xmm2, dword [ebp-0xc]
	movss [ebp-0x18], xmm2
	movaps xmm0, xmm3
	mulss xmm0, xmm3
	mulss xmm1, xmm1
	addss xmm0, xmm1
	mulss xmm2, xmm2
	addss xmm0, xmm2
	sqrtss xmm2, xmm0
	movaps xmm0, xmm2
	xorps xmm0, [_data16_80000000]
	ucomiss xmm0, [_float_0_00000000]
	jb _Z19Scr_VectorNormalizev_20
	movss xmm1, dword [_float_1_00000000]
_Z19Scr_VectorNormalizev_30:
	mulss xmm3, xmm1
	movss [ebp-0x20], xmm3
	movaps xmm0, xmm1
	mulss xmm0, [ebp-0x1c]
	movss [ebp-0x1c], xmm0
	mulss xmm1, [ebp-0x18]
	movss [ebp-0x18], xmm1
	lea eax, [ebp-0x20]
	mov [esp], eax
	call _Z13Scr_AddVectorPKf
	leave
	ret
_Z19Scr_VectorNormalizev_20:
	movss xmm1, dword [_float_1_00000000]
	divss xmm1, xmm2
	jmp _Z19Scr_VectorNormalizev_30


;Scr_VectorToAngles()
_Z18Scr_VectorToAnglesv:
	push ebp
	mov ebp, esp
	push esi
	push ebx
	sub esp, 0x30
	call _Z15Scr_GetNumParamv
	sub eax, 0x1
	jz _Z18Scr_VectorToAnglesv_10
	mov dword [esp], _cstring_wrong_number_of_1
	call _Z9Scr_ErrorPKc
_Z18Scr_VectorToAnglesv_10:
	lea esi, [ebp-0x14]
	mov [esp+0x4], esi
	mov dword [esp], 0x0
	call _Z13Scr_GetVectorjPf
	lea ebx, [ebp-0x20]
	mov [esp+0x4], ebx
	mov [esp], esi
	call _Z11vectoanglesPKfPf
	mov [esp], ebx
	call _Z13Scr_AddVectorPKf
	add esp, 0x30
	pop ebx
	pop esi
	pop ebp
	ret
	nop


;Scr_VectorLerp()
_Z14Scr_VectorLerpv:
	push ebp
	mov ebp, esp
	sub esp, 0x58
	call _Z15Scr_GetNumParamv
	cmp eax, 0x3
	jz _Z14Scr_VectorLerpv_10
	mov dword [esp], _cstring_wrong_number_of_2
	call _Z9Scr_ErrorPKc
_Z14Scr_VectorLerpv_10:
	lea eax, [ebp-0x14]
	mov [esp+0x4], eax
	mov dword [esp], 0x0
	call _Z13Scr_GetVectorjPf
	lea eax, [ebp-0x20]
	mov [esp+0x4], eax
	mov dword [esp], 0x1
	call _Z13Scr_GetVectorjPf
	mov dword [esp], 0x2
	call _Z12Scr_GetFloatj
	fstp dword [ebp-0x3c]
	movss xmm2, dword [ebp-0x3c]
	movss xmm1, dword [ebp-0x14]
	movss xmm0, dword [ebp-0x20]
	subss xmm0, xmm1
	mulss xmm0, xmm2
	addss xmm1, xmm0
	movss [ebp-0x2c], xmm1
	movss xmm1, dword [ebp-0x10]
	movss xmm0, dword [ebp-0x1c]
	subss xmm0, xmm1
	mulss xmm0, xmm2
	addss xmm1, xmm0
	movss [ebp-0x28], xmm1
	movss xmm1, dword [ebp-0xc]
	movss xmm0, dword [ebp-0x18]
	subss xmm0, xmm1
	mulss xmm0, xmm2
	addss xmm1, xmm0
	movss [ebp-0x24], xmm1
	lea eax, [ebp-0x2c]
	mov [esp], eax
	call _Z13Scr_AddVectorPKf
	leave
	ret


;Scr_AnglesToUp()
_Z14Scr_AnglesToUpv:
	push ebp
	mov ebp, esp
	push esi
	push ebx
	sub esp, 0x30
	lea esi, [ebp-0x14]
	mov [esp+0x4], esi
	mov dword [esp], 0x0
	call _Z13Scr_GetVectorjPf
	lea ebx, [ebp-0x20]
	mov [esp+0xc], ebx
	mov dword [esp+0x8], 0x0
	mov dword [esp+0x4], 0x0
	mov [esp], esi
	call _Z12AngleVectorsPKfPfS1_S1_
	mov [esp], ebx
	call _Z13Scr_AddVectorPKf
	add esp, 0x30
	pop ebx
	pop esi
	pop ebp
	ret
	nop


;Scr_AnglesToRight()
_Z17Scr_AnglesToRightv:
	push ebp
	mov ebp, esp
	push esi
	push ebx
	sub esp, 0x30
	lea esi, [ebp-0x14]
	mov [esp+0x4], esi
	mov dword [esp], 0x0
	call _Z13Scr_GetVectorjPf
	mov dword [esp+0xc], 0x0
	lea ebx, [ebp-0x20]
	mov [esp+0x8], ebx
	mov dword [esp+0x4], 0x0
	mov [esp], esi
	call _Z12AngleVectorsPKfPfS1_S1_
	mov [esp], ebx
	call _Z13Scr_AddVectorPKf
	add esp, 0x30
	pop ebx
	pop esi
	pop ebp
	ret
	nop


;Scr_AnglesToForward()
_Z19Scr_AnglesToForwardv:
	push ebp
	mov ebp, esp
	push esi
	push ebx
	sub esp, 0x30
	lea esi, [ebp-0x14]
	mov [esp+0x4], esi
	mov dword [esp], 0x0
	call _Z13Scr_GetVectorjPf
	mov dword [esp+0xc], 0x0
	mov dword [esp+0x8], 0x0
	lea ebx, [ebp-0x20]
	mov [esp+0x4], ebx
	mov [esp], esi
	call _Z12AngleVectorsPKfPfS1_S1_
	mov [esp], ebx
	call _Z13Scr_AddVectorPKf
	add esp, 0x30
	pop ebx
	pop esi
	pop ebp
	ret
	nop


;Scr_CombineAngles()
_Z17Scr_CombineAnglesv:
	push ebp
	mov ebp, esp
	push edi
	push esi
	push ebx
	sub esp, 0xac
	lea ebx, [ebp-0x24]
	mov [esp+0x4], ebx
	mov dword [esp], 0x0
	call _Z13Scr_GetVectorjPf
	lea esi, [ebp-0x30]
	mov [esp+0x4], esi
	mov dword [esp], 0x1
	call _Z13Scr_GetVectorjPf
	lea edi, [ebp-0x60]
	mov [esp+0x4], edi
	mov [esp], ebx
	call _Z12AnglesToAxisPKfPA3_f
	lea ebx, [ebp-0x84]
	mov [esp+0x4], ebx
	mov [esp], esi
	call _Z12AnglesToAxisPKfPA3_f
	lea esi, [ebp-0xa8]
	mov [esp+0x8], esi
	mov [esp+0x4], edi
	mov [esp], ebx
	call _Z14MatrixMultiplyPA3_KfS1_PA3_f
	lea ebx, [ebp-0x3c]
	mov [esp+0x4], ebx
	mov [esp], esi
	call _Z12AxisToAnglesPA3_KfPf
	mov [esp], ebx
	call _Z13Scr_AddVectorPKf
	add esp, 0xac
	pop ebx
	pop esi
	pop edi
	pop ebp
	ret
	nop


;Scr_IsSubStr()
_Z12Scr_IsSubStrv:
	push ebp
	mov ebp, esp
	push ebx
	sub esp, 0x14
	mov dword [esp], 0x1
	call _Z13Scr_GetStringj
	mov ebx, eax
	mov dword [esp], 0x0
	call _Z13Scr_GetStringj
	mov [esp+0x4], ebx
	mov [esp], eax
	call strstr
	test eax, eax
	setnz al
	movzx eax, al
	mov [esp], eax
	call _Z11Scr_AddBooli
	add esp, 0x14
	pop ebx
	pop ebp
	ret
	nop


;Scr_GetSubStr()
_Z13Scr_GetSubStrv:
	push ebp
	mov ebp, esp
	push edi
	push esi
	push ebx
	sub esp, 0x42c
	mov dword [esp], 0x0
	call _Z13Scr_GetStringj
	mov [ebp-0x41c], eax
	mov dword [esp], 0x1
	call _Z10Scr_GetIntj
	mov ebx, eax
	call _Z15Scr_GetNumParamv
	cmp eax, 0x2
	ja _Z13Scr_GetSubStrv_10
	mov eax, 0x7fffffff
_Z13Scr_GetSubStrv_50:
	cmp eax, ebx
	jg _Z13Scr_GetSubStrv_20
	xor esi, esi
_Z13Scr_GetSubStrv_30:
	mov byte [ebp+esi-0x418], 0x0
	lea eax, [ebp-0x418]
	mov [esp], eax
	call _Z13Scr_AddStringPKc
	add esp, 0x42c
	pop ebx
	pop esi
	pop edi
	pop ebp
	ret
_Z13Scr_GetSubStrv_20:
	xor esi, esi
	mov edi, eax
	sub edi, ebx
	add ebx, [ebp-0x41c]
_Z13Scr_GetSubStrv_40:
	movzx eax, byte [ebx]
	test al, al
	jz _Z13Scr_GetSubStrv_30
	mov [esi+ebp-0x418], al
	add esi, 0x1
	add ebx, 0x1
	cmp edi, esi
	jz _Z13Scr_GetSubStrv_30
	cmp esi, 0x3ff
	jle _Z13Scr_GetSubStrv_40
	mov dword [esp], _cstring_string_too_long
	call _Z9Scr_ErrorPKc
	jmp _Z13Scr_GetSubStrv_40
_Z13Scr_GetSubStrv_10:
	mov dword [esp], 0x2
	call _Z10Scr_GetIntj
	jmp _Z13Scr_GetSubStrv_50


;Scr_ToLower()
_Z11Scr_ToLowerv:
	push ebp
	mov ebp, esp
	push edi
	push esi
	push ebx
	sub esp, 0x41c
	mov dword [esp], 0x0
	call _Z13Scr_GetStringj
	mov ebx, eax
	mov esi, 0x1
	lea edi, [ebp-0x418]
	jmp _Z11Scr_ToLowerv_10
_Z11Scr_ToLowerv_30:
	add ebx, 0x1
	add esi, 0x1
	cmp esi, 0x401
	jz _Z11Scr_ToLowerv_20
_Z11Scr_ToLowerv_10:
	movsx eax, byte [ebx]
	mov [esp], eax
	call tolower
	mov [esi+edi-0x1], al
	test al, al
	jnz _Z11Scr_ToLowerv_30
	mov [esp], edi
	call _Z13Scr_AddStringPKc
_Z11Scr_ToLowerv_40:
	add esp, 0x41c
	pop ebx
	pop esi
	pop edi
	pop ebp
	ret
_Z11Scr_ToLowerv_20:
	mov dword [esp], _cstring_string_too_long
	call _Z9Scr_ErrorPKc
	jmp _Z11Scr_ToLowerv_40
	nop


;Scr_StrTok()
_Z10Scr_StrTokv:
	push ebp
	mov ebp, esp
	push edi
	push esi
	push ebx
	sub esp, 0x42c
	mov dword [esp], 0x0
	call _Z18Scr_GetConstStringj
	mov [ebp-0x420], eax
	mov dword [esp], 0x1
	call _Z18Scr_GetConstStringj
	mov [ebp-0x41c], eax
	mov eax, [ebp-0x420]
	mov [esp], eax
	call _Z18SL_ConvertToStringj
	mov ebx, eax
	mov eax, [ebp-0x41c]
	mov [esp], eax
	call _Z18SL_ConvertToStringj
	mov esi, eax
	mov eax, [ebp-0x420]
	mov [esp], eax
	call _Z17SL_AddRefToStringj
	mov eax, [ebp-0x41c]
	mov [esp], eax
	call _Z17SL_AddRefToStringj
	cld
	mov ecx, 0xffffffff
	xor eax, eax
	mov edi, esi
	repne scasb
	not ecx
	sub ecx, 0x1
	mov [ebp-0x428], ecx
	call _Z13Scr_MakeArrayv
	movzx ecx, byte [ebx]
	test cl, cl
	jz _Z10Scr_StrTokv_10
	mov dword [ebp-0x424], 0x0
_Z10Scr_StrTokv_60:
	mov eax, [ebp-0x428]
	test eax, eax
	jle _Z10Scr_StrTokv_20
	movsx edi, cl
	cmp [esi], cl
	jz _Z10Scr_StrTokv_30
	xor edx, edx
_Z10Scr_StrTokv_40:
	add edx, 0x1
	cmp [ebp-0x428], edx
	jz _Z10Scr_StrTokv_20
	movsx eax, byte [edx+esi]
	cmp eax, edi
	jnz _Z10Scr_StrTokv_40
_Z10Scr_StrTokv_30:
	mov edi, [ebp-0x424]
	test edi, edi
	jnz _Z10Scr_StrTokv_50
_Z10Scr_StrTokv_70:
	movzx ecx, byte [ebx+0x1]
	add ebx, 0x1
	test cl, cl
	jnz _Z10Scr_StrTokv_60
	mov esi, [ebp-0x424]
	test esi, esi
	jz _Z10Scr_StrTokv_10
	mov eax, [ebp-0x424]
	mov byte [ebp+eax-0x418], 0x0
	lea eax, [ebp-0x418]
	mov [esp], eax
	call _Z13Scr_AddStringPKc
	call _Z12Scr_AddArrayv
_Z10Scr_StrTokv_10:
	mov eax, [ebp-0x420]
	mov [esp], eax
	call _Z20SL_RemoveRefToStringj
	mov eax, [ebp-0x41c]
	mov [esp], eax
	call _Z20SL_RemoveRefToStringj
	add esp, 0x42c
	pop ebx
	pop esi
	pop edi
	pop ebp
	ret
_Z10Scr_StrTokv_20:
	mov eax, [ebp-0x424]
	mov [ebp+eax-0x418], cl
	add eax, 0x1
	mov [ebp-0x424], eax
	cmp eax, 0x3ff
	jle _Z10Scr_StrTokv_70
	mov eax, [ebp-0x420]
	mov [esp], eax
	call _Z20SL_RemoveRefToStringj
	mov eax, [ebp-0x41c]
	mov [esp], eax
	call _Z20SL_RemoveRefToStringj
	mov dword [esp], _cstring_string_too_long
	call _Z9Scr_ErrorPKc
	jmp _Z10Scr_StrTokv_70
_Z10Scr_StrTokv_50:
	mov eax, [ebp-0x424]
	mov byte [ebp+eax-0x418], 0x0
	lea eax, [ebp-0x418]
	mov [esp], eax
	call _Z13Scr_AddStringPKc
	call _Z12Scr_AddArrayv
	mov dword [ebp-0x424], 0x0
	jmp _Z10Scr_StrTokv_70


;Scr_MusicPlay()
_Z13Scr_MusicPlayv:
	push ebp
	mov ebp, esp
	sub esp, 0x18
	mov dword [esp], 0x0
	call _Z13Scr_GetStringj
	mov [esp+0x8], eax
	mov dword [esp+0x4], 0x6f
	mov dword [esp], _cstring_c_s_1
	call _Z2vaPKcz
	mov [esp+0x8], eax
	mov dword [esp+0x4], 0x1
	mov dword [esp], 0xffffffff
	call _Z24SV_GameSendServerCommandi11svscmd_typePKc
	leave
	ret


;Scr_MusicStop()
_Z13Scr_MusicStopv:
	push ebp
	mov ebp, esp
	push ebx
	sub esp, 0x34
	call _Z15Scr_GetNumParamv
	test eax, eax
	jz _Z13Scr_MusicStopv_10
	sub eax, 0x1
	jz _Z13Scr_MusicStopv_20
	mov dword [esp], _cstring_usage_musicstopf
	call _Z2vaPKcz
	mov [esp], eax
	call _Z9Scr_ErrorPKc
	add esp, 0x34
	pop ebx
	pop ebp
	ret
_Z13Scr_MusicStopv_10:
	xor ebx, ebx
_Z13Scr_MusicStopv_30:
	mov [esp+0x8], ebx
	mov dword [esp+0x4], 0x70
	mov dword [esp], _cstring_c_i
	call _Z2vaPKcz
	mov [esp+0x8], eax
	mov dword [esp+0x4], 0x1
	mov dword [esp], 0xffffffff
	call _Z24SV_GameSendServerCommandi11svscmd_typePKc
	add esp, 0x34
	pop ebx
	pop ebp
	ret
_Z13Scr_MusicStopv_20:
	mov dword [esp], 0x0
	call _Z12Scr_GetFloatj
	fstp dword [ebp-0x1c]
	movss xmm0, dword [ebp-0x1c]
	mulss xmm0, [_float_1000_00000000]
	addss xmm0, [_float_0_50000000]
	movss [esp], xmm0
	call floorf
	fstp dword [ebp-0xc]
	cvttss2si ebx, [ebp-0xc]
	test ebx, ebx
	jns _Z13Scr_MusicStopv_30
	mov dword [esp], _cstring_musicstop_fade_t
	call _Z2vaPKcz
	mov [esp], eax
	call _Z9Scr_ErrorPKc
	jmp _Z13Scr_MusicStopv_30


;Scr_SoundFade()
_Z13Scr_SoundFadev:
	push ebp
	mov ebp, esp
	sub esp, 0x48
	mov dword [esp], 0x0
	call _Z12Scr_GetFloatj
	fstp dword [ebp-0xc]
	call _Z15Scr_GetNumParamv
	cmp eax, 0x1
	jbe _Z13Scr_SoundFadev_10
	mov dword [esp], 0x1
	call _Z12Scr_GetFloatj
	fstp dword [ebp-0x1c]
	movss xmm0, dword [ebp-0x1c]
	mulss xmm0, [_float_1000_00000000]
	cvttss2si eax, xmm0
_Z13Scr_SoundFadev_20:
	mov [esp+0x10], eax
	cvtss2sd xmm0, [ebp-0xc]
	movsd [esp+0x8], xmm0
	mov dword [esp+0x4], 0x71
	mov dword [esp], _cstring_c_f_i
	call _Z2vaPKcz
	mov [esp+0x8], eax
	mov dword [esp+0x4], 0x1
	mov dword [esp], 0xffffffff
	call _Z24SV_GameSendServerCommandi11svscmd_typePKc
	leave
	ret
_Z13Scr_SoundFadev_10:
	xor eax, eax
	jmp _Z13Scr_SoundFadev_20


;Scr_AmbientPlay()
_Z15Scr_AmbientPlayv:
	push ebp
	mov ebp, esp
	push esi
	push ebx
	sub esp, 0x30
	call _Z15Scr_GetNumParamv
	cmp eax, 0x1
	jz _Z15Scr_AmbientPlayv_10
	cmp eax, 0x2
	jz _Z15Scr_AmbientPlayv_20
	mov dword [esp], _cstring_usage_ambientpla
	call _Z2vaPKcz
	mov [esp], eax
	call _Z9Scr_ErrorPKc
	add esp, 0x30
	pop ebx
	pop esi
	pop ebp
	ret
_Z15Scr_AmbientPlayv_10:
	xor ebx, ebx
	mov dword [esp], 0x0
	call _Z13Scr_GetStringj
	mov esi, eax
	cmp byte [eax], 0x0
	jz _Z15Scr_AmbientPlayv_30
_Z15Scr_AmbientPlayv_50:
	test ebx, ebx
	js _Z15Scr_AmbientPlayv_40
_Z15Scr_AmbientPlayv_60:
	mov eax, level
	add ebx, [eax+0x1ec]
	mov [esp+0x8], ebx
	mov [esp+0x4], esi
	mov dword [esp], _cstring_nsti
	call _Z2vaPKcz
	mov [esp+0x4], eax
	mov dword [esp], 0x335
	call _Z18SV_SetConfigstringiPKc
	add esp, 0x30
	pop ebx
	pop esi
	pop ebp
	ret
_Z15Scr_AmbientPlayv_20:
	mov dword [esp], 0x1
	call _Z12Scr_GetFloatj
	fstp dword [ebp-0x1c]
	movss xmm0, dword [ebp-0x1c]
	mulss xmm0, [_float_1000_00000000]
	addss xmm0, [_float_0_50000000]
	movss [esp], xmm0
	call floorf
	fstp dword [ebp-0xc]
	cvttss2si ebx, [ebp-0xc]
	mov dword [esp], 0x0
	call _Z13Scr_GetStringj
	mov esi, eax
	cmp byte [eax], 0x0
	jnz _Z15Scr_AmbientPlayv_50
_Z15Scr_AmbientPlayv_30:
	mov dword [esp], _cstring_ambientplay_alia
	call _Z2vaPKcz
	mov [esp], eax
	call _Z9Scr_ErrorPKc
	jmp _Z15Scr_AmbientPlayv_50
_Z15Scr_AmbientPlayv_40:
	mov dword [esp], _cstring_ambientplay_fade
	call _Z2vaPKcz
	mov [esp], eax
	call _Z9Scr_ErrorPKc
	jmp _Z15Scr_AmbientPlayv_60


;Scr_AmbientStop()
_Z15Scr_AmbientStopv:
	push ebp
	mov ebp, esp
	push ebx
	sub esp, 0x34
	call _Z15Scr_GetNumParamv
	test eax, eax
	jz _Z15Scr_AmbientStopv_10
	sub eax, 0x1
	jz _Z15Scr_AmbientStopv_20
	mov dword [esp], _cstring_usage_ambientsto
	call _Z2vaPKcz
	mov [esp], eax
	call _Z9Scr_ErrorPKc
	add esp, 0x34
	pop ebx
	pop ebp
	ret
_Z15Scr_AmbientStopv_10:
	xor ebx, ebx
_Z15Scr_AmbientStopv_30:
	mov eax, level
	add ebx, [eax+0x1ec]
	mov [esp+0x4], ebx
	mov dword [esp], _cstring_ti
	call _Z2vaPKcz
	mov [esp+0x4], eax
	mov dword [esp], 0x335
	call _Z18SV_SetConfigstringiPKc
	add esp, 0x34
	pop ebx
	pop ebp
	ret
_Z15Scr_AmbientStopv_20:
	mov dword [esp], 0x0
	call _Z12Scr_GetFloatj
	fstp dword [ebp-0x1c]
	movss xmm0, dword [ebp-0x1c]
	mulss xmm0, [_float_1000_00000000]
	addss xmm0, [_float_0_50000000]
	movss [esp], xmm0
	call floorf
	fstp dword [ebp-0xc]
	cvttss2si ebx, [ebp-0xc]
	test ebx, ebx
	jns _Z15Scr_AmbientStopv_30
	mov dword [esp], _cstring_ambientstop_fade
	call _Z2vaPKcz
	mov [esp], eax
	call _Z9Scr_ErrorPKc
	jmp _Z15Scr_AmbientStopv_30
	nop


;Scr_PrecacheModel()
_Z17Scr_PrecacheModelv:
	push ebp
	mov ebp, esp
	push ebx
	sub esp, 0x14
	mov eax, level
	mov eax, [eax+0x1c]
	test eax, eax
	jz _Z17Scr_PrecacheModelv_10
_Z17Scr_PrecacheModelv_30:
	mov dword [esp], 0x0
	call _Z13Scr_GetStringj
	mov ebx, eax
	cmp byte [eax], 0x0
	jnz _Z17Scr_PrecacheModelv_20
	mov dword [esp+0x4], _cstring_model_name_strin
	mov dword [esp], 0x0
	call _Z14Scr_ParamErrorjPKc
_Z17Scr_PrecacheModelv_20:
	mov [esp], ebx
	call _Z12G_ModelIndexPKc
	add esp, 0x14
	pop ebx
	pop ebp
	ret
_Z17Scr_PrecacheModelv_10:
	mov dword [esp], _cstring_precachemodel_mu
	call _Z9Scr_ErrorPKc
	jmp _Z17Scr_PrecacheModelv_30


;Scr_PrecacheShellShock()
_Z22Scr_PrecacheShellShockv:
	push ebp
	mov ebp, esp
	push esi
	push ebx
	sub esp, 0x10
	mov eax, level
	mov eax, [eax+0x1c]
	test eax, eax
	jz _Z22Scr_PrecacheShellShockv_10
_Z22Scr_PrecacheShellShockv_30:
	mov dword [esp], 0x0
	call _Z13Scr_GetStringj
	mov ebx, eax
	mov [esp], eax
	call _Z17G_ShellShockIndexPKc
	mov esi, eax
	mov [esp], ebx
	call _Z22BG_LoadShellShockDvarsPKc
	test eax, eax
	jnz _Z22Scr_PrecacheShellShockv_20
	mov [esp+0x8], ebx
	mov dword [esp+0x4], _cstring_couldnt_find_she
	mov dword [esp], 0x2
	call _Z9Com_Error11errorParm_tPKcz
_Z22Scr_PrecacheShellShockv_20:
	mov [esp], esi
	call _Z21BG_GetShellshockParmsi
	mov [esp], eax
	call _Z30BG_SetShellShockParmsFromDvarsP18shellshock_parms_t
	add esp, 0x10
	pop ebx
	pop esi
	pop ebp
	ret
_Z22Scr_PrecacheShellShockv_10:
	mov dword [esp], _cstring_precacheshellsho
	call _Z9Scr_ErrorPKc
	jmp _Z22Scr_PrecacheShellShockv_30
	nop


;Scr_PrecacheItem()
_Z16Scr_PrecacheItemv:
	push ebp
	mov ebp, esp
	push ebx
	sub esp, 0x14
	mov eax, level
	mov eax, [eax+0x1c]
	test eax, eax
	jz _Z16Scr_PrecacheItemv_10
	mov dword [esp], 0x0
	call _Z13Scr_GetStringj
	mov ebx, eax
	mov dword [esp+0x4], 0x0
	mov [esp], eax
	call _Z10G_FindItemPKci
	test eax, eax
	jz _Z16Scr_PrecacheItemv_20
_Z16Scr_PrecacheItemv_30:
	add esp, 0x14
	pop ebx
	pop ebp
	ret
_Z16Scr_PrecacheItemv_10:
	mov dword [esp], _cstring_precacheitem_mus
	call _Z9Scr_ErrorPKc
	mov dword [esp], 0x0
	call _Z13Scr_GetStringj
	mov ebx, eax
	mov dword [esp+0x4], 0x0
	mov [esp], eax
	call _Z10G_FindItemPKci
	test eax, eax
	jnz _Z16Scr_PrecacheItemv_30
_Z16Scr_PrecacheItemv_20:
	mov [esp+0x4], ebx
	mov dword [esp], _cstring_unknown_item_s
	call _Z2vaPKcz
	mov [esp+0x4], eax
	mov dword [esp], 0x0
	call _Z14Scr_ParamErrorjPKc
	add esp, 0x14
	pop ebx
	pop ebp
	ret
	nop


;Scr_PrecacheShader()
_Z18Scr_PrecacheShaderv:
	push ebp
	mov ebp, esp
	push ebx
	sub esp, 0x14
	mov eax, level
	mov eax, [eax+0x1c]
	test eax, eax
	jz _Z18Scr_PrecacheShaderv_10
_Z18Scr_PrecacheShaderv_30:
	mov dword [esp], 0x0
	call _Z13Scr_GetStringj
	mov ebx, eax
	cmp byte [eax], 0x0
	jnz _Z18Scr_PrecacheShaderv_20
	mov dword [esp+0x4], _cstring_shader_name_stri
	mov dword [esp], 0x0
	call _Z14Scr_ParamErrorjPKc
_Z18Scr_PrecacheShaderv_20:
	mov [esp], ebx
	call _Z15G_MaterialIndexPKc
	add esp, 0x14
	pop ebx
	pop ebp
	ret
_Z18Scr_PrecacheShaderv_10:
	mov dword [esp], _cstring_precacheshader_m
	call _Z9Scr_ErrorPKc
	jmp _Z18Scr_PrecacheShaderv_30


;Scr_PrecacheString()
_Z18Scr_PrecacheStringv:
	push ebp
	mov ebp, esp
	sub esp, 0x18
	mov eax, level
	mov eax, [eax+0x1c]
	test eax, eax
	jz _Z18Scr_PrecacheStringv_10
_Z18Scr_PrecacheStringv_30:
	mov dword [esp], 0x0
	call _Z14Scr_GetIStringj
	cmp byte [eax], 0x0
	jnz _Z18Scr_PrecacheStringv_20
	leave
	ret
_Z18Scr_PrecacheStringv_20:
	mov [esp], eax
	call _Z22G_LocalizedStringIndexPKc
	leave
	ret
_Z18Scr_PrecacheStringv_10:
	mov dword [esp], _cstring_precachestring_m
	call _Z9Scr_ErrorPKc
	jmp _Z18Scr_PrecacheStringv_30
	nop


;Scr_PrecacheRumble()
_Z18Scr_PrecacheRumblev:
	push ebp
	mov ebp, esp
	pop ebp
	ret
	nop


;Scr_LoadFX()
_Z10Scr_LoadFXv:
	push ebp
	mov ebp, esp
	push ebx
	sub esp, 0x14
	mov dword [esp], 0x0
	call _Z13Scr_GetStringj
	mov ebx, eax
	mov dword [esp+0x8], 0x3
	mov dword [esp+0x4], _cstring_fx
	mov [esp], eax
	call _Z9I_strncmpPKcS0_i
	test eax, eax
	jz _Z10Scr_LoadFXv_10
_Z10Scr_LoadFXv_40:
	mov [esp], ebx
	call _Z13G_EffectIndexPKc
	mov ebx, eax
	test eax, eax
	jnz _Z10Scr_LoadFXv_20
	mov eax, level
	mov edx, [eax+0x1c]
	test edx, edx
	jz _Z10Scr_LoadFXv_30
_Z10Scr_LoadFXv_20:
	mov [esp], ebx
	call _Z10Scr_AddInti
	add esp, 0x14
	pop ebx
	pop ebp
	ret
_Z10Scr_LoadFXv_30:
	mov dword [esp], _cstring_loadfx_must_be_c
	call _Z9Scr_ErrorPKc
	mov [esp], ebx
	call _Z10Scr_AddInti
	add esp, 0x14
	pop ebx
	pop ebp
	ret
_Z10Scr_LoadFXv_10:
	mov dword [esp+0x4], _cstring_effect_name_shou
	mov dword [esp], 0x0
	call _Z14Scr_ParamErrorjPKc
	jmp _Z10Scr_LoadFXv_40
	nop


;Scr_PlayFX()
_Z10Scr_PlayFXv:
	push ebp
	mov ebp, esp
	push edi
	push esi
	push ebx
	sub esp, 0x44c
	call _Z15Scr_GetNumParamv
	mov esi, eax
	lea eax, [eax-0x2]
	cmp eax, 0x2
	ja _Z10Scr_PlayFXv_10
_Z10Scr_PlayFXv_120:
	mov dword [esp], 0x0
	call _Z10Scr_GetIntj
	mov edi, eax
	lea ebx, [ebp-0x24]
	mov [esp+0x4], ebx
	mov dword [esp], 0x1
	call _Z13Scr_GetVectorjPf
	mov dword [esp+0x4], 0x37
	mov [esp], ebx
	call _Z12G_TempEntityPKfi
	mov ebx, eax
	mov edx, edi
	movzx eax, dl
	mov [ebx+0x9c], eax
	cmp esi, 0x2
	jz _Z10Scr_PlayFXv_20
	lea eax, [ebp-0x48]
	mov [esp+0x4], eax
	mov dword [esp], 0x2
	call _Z13Scr_GetVectorjPf
	movss xmm3, dword [ebp-0x48]
	lea edx, [ebp-0x44]
	movss xmm1, dword [ebp-0x44]
	lea eax, [ebp-0x40]
	movss xmm2, dword [ebp-0x40]
	movaps xmm0, xmm3
	mulss xmm0, xmm3
	mulss xmm1, xmm1
	addss xmm0, xmm1
	mulss xmm2, xmm2
	addss xmm0, xmm2
	sqrtss xmm2, xmm0
	movaps xmm0, xmm2
	xorps xmm0, [_data16_80000000]
	pxor xmm4, xmm4
	ucomiss xmm0, xmm4
	jb _Z10Scr_PlayFXv_30
	movss xmm1, dword [_float_1_00000000]
_Z10Scr_PlayFXv_160:
	mulss xmm3, xmm1
	movss [ebp-0x48], xmm3
	movaps xmm0, xmm1
	mulss xmm0, [edx]
	movss [edx], xmm0
	mulss xmm1, [eax]
	movss [eax], xmm1
	ucomiss xmm2, xmm4
	jz _Z10Scr_PlayFXv_40
_Z10Scr_PlayFXv_90:
	cmp esi, 0x3
	jz _Z10Scr_PlayFXv_50
_Z10Scr_PlayFXv_110:
	lea eax, [ebp-0x30]
	mov [esp+0x4], eax
	mov dword [esp], 0x3
	call _Z13Scr_GetVectorjPf
	movss xmm3, dword [ebp-0x30]
	lea edx, [ebp-0x2c]
	movss xmm1, dword [ebp-0x2c]
	lea eax, [ebp-0x28]
	movss xmm2, dword [ebp-0x28]
	movaps xmm0, xmm3
	mulss xmm0, xmm3
	mulss xmm1, xmm1
	addss xmm0, xmm1
	mulss xmm2, xmm2
	addss xmm0, xmm2
	sqrtss xmm1, xmm0
	movaps xmm0, xmm1
	xorps xmm0, [_data16_80000000]
	pxor xmm4, xmm4
	ucomiss xmm0, xmm4
	jb _Z10Scr_PlayFXv_60
	movss xmm2, dword [_float_1_00000000]
_Z10Scr_PlayFXv_150:
	mulss xmm3, xmm2
	movss [ebp-0x30], xmm3
	movaps xmm0, xmm2
	mulss xmm0, [edx]
	movss [edx], xmm0
	mulss xmm2, [eax]
	movss [eax], xmm2
	ucomiss xmm1, xmm4
	jnz _Z10Scr_PlayFXv_70
	jp _Z10Scr_PlayFXv_70
	test edi, edi
	jz _Z10Scr_PlayFXv_80
	mov dword [esp+0x8], 0x400
	lea edx, [ebp-0x448]
	mov [esp+0x4], edx
	lea eax, [edi+0x63e]
	mov [esp], eax
	call _Z18SV_GetConfigstringiPci
_Z10Scr_PlayFXv_140:
	lea eax, [ebp-0x448]
	mov [esp+0x8], eax
	mov dword [esp+0x4], _cstring_playfx_called_wi
	mov dword [esp], _cstring_s_effect__s
	call _Z2vaPKcz
	mov [esp+0x4], eax
	mov dword [esp], 0x3
	call _Z14Scr_ParamErrorjPKc
_Z10Scr_PlayFXv_70:
	lea ecx, [ebx+0x3c]
	lea edx, [ebp-0x48]
	mov eax, 0x2
	call _Z15Scr_SetFxAnglesiPA3_fPf
	add esp, 0x44c
	pop ebx
	pop esi
	pop edi
	pop ebp
	ret
_Z10Scr_PlayFXv_40:
	jp _Z10Scr_PlayFXv_90
	test edi, edi
	jz _Z10Scr_PlayFXv_100
	mov dword [esp+0x8], 0x400
	lea edx, [ebp-0x448]
	mov [esp+0x4], edx
	lea eax, [edi+0x63e]
	mov [esp], eax
	call _Z18SV_GetConfigstringiPci
_Z10Scr_PlayFXv_130:
	lea eax, [ebp-0x448]
	mov [esp+0x8], eax
	mov dword [esp+0x4], _cstring_playfx_called_wi1
	mov dword [esp], _cstring_s_effect__s
	call _Z2vaPKcz
	mov [esp+0x4], eax
	mov dword [esp], 0x2
	call _Z14Scr_ParamErrorjPKc
	cmp esi, 0x3
	jnz _Z10Scr_PlayFXv_110
_Z10Scr_PlayFXv_50:
	lea ecx, [ebx+0x3c]
	lea edx, [ebp-0x48]
	mov eax, 0x1
	call _Z15Scr_SetFxAnglesiPA3_fPf
	add esp, 0x44c
	pop ebx
	pop esi
	pop edi
	pop ebp
	ret
_Z10Scr_PlayFXv_10:
	mov dword [esp], _cstring_incorrect_number
	call _Z9Scr_ErrorPKc
	jmp _Z10Scr_PlayFXv_120
_Z10Scr_PlayFXv_20:
	lea ecx, [ebx+0x3c]
	lea edx, [ebp-0x48]
	xor eax, eax
	call _Z15Scr_SetFxAnglesiPA3_fPf
	add esp, 0x44c
	pop ebx
	pop esi
	pop edi
	pop ebp
	ret
_Z10Scr_PlayFXv_100:
	mov dword [ebp-0x448], 0x20746f6e
	mov dword [ebp-0x444], 0x63637573
	mov dword [ebp-0x440], 0x66737365
	mov dword [ebp-0x43c], 0x796c6c75
	mov dword [ebp-0x438], 0x616f6c20
	mov dword [ebp-0x434], 0x646564
	jmp _Z10Scr_PlayFXv_130
_Z10Scr_PlayFXv_80:
	mov dword [ebp-0x448], 0x20746f6e
	mov dword [ebp-0x444], 0x63637573
	mov dword [ebp-0x440], 0x66737365
	mov dword [ebp-0x43c], 0x796c6c75
	mov dword [ebp-0x438], 0x616f6c20
	mov dword [ebp-0x434], 0x646564
	jmp _Z10Scr_PlayFXv_140
_Z10Scr_PlayFXv_60:
	movss xmm2, dword [_float_1_00000000]
	divss xmm2, xmm1
	jmp _Z10Scr_PlayFXv_150
_Z10Scr_PlayFXv_30:
	movss xmm1, dword [_float_1_00000000]
	divss xmm1, xmm2
	jmp _Z10Scr_PlayFXv_160
	nop


;Scr_PlayFXOnTag()
_Z15Scr_PlayFXOnTagv:
	push ebp
	mov ebp, esp
	push edi
	push esi
	push ebx
	sub esp, 0x3c
	call _Z15Scr_GetNumParamv
	cmp eax, 0x3
	jz _Z15Scr_PlayFXOnTagv_10
	mov dword [esp], _cstring_incorrect_number
	call _Z9Scr_ErrorPKc
_Z15Scr_PlayFXOnTagv_10:
	mov dword [esp], 0x0
	call _Z10Scr_GetIntj
	mov [ebp-0x1c], eax
	sub eax, 0x1
	cmp eax, 0x62
	ja _Z15Scr_PlayFXOnTagv_20
	mov dword [esp], 0x1
	call _Z13Scr_GetEntityj
	mov edi, eax
	cmp word [eax+0x168], 0x0
	jz _Z15Scr_PlayFXOnTagv_30
_Z15Scr_PlayFXOnTagv_60:
	mov dword [esp], 0x2
	call _Z27Scr_GetConstLowercaseStringj
	mov esi, eax
	mov [esp], eax
	call _Z18SL_ConvertToStringj
	mov dword [esp+0x4], 0x22
	mov [esp], eax
	call strchr
	test eax, eax
	jz _Z15Scr_PlayFXOnTagv_40
	mov dword [esp+0x4], _cstring_cannot_use__char
	mov dword [esp], 0x2
	call _Z14Scr_ParamErrorjPKc
_Z15Scr_PlayFXOnTagv_40:
	mov [esp+0x4], esi
	mov [esp], edi
	call _Z19SV_DObjGetBoneIndexPK9gentity_sj
	test eax, eax
	js _Z15Scr_PlayFXOnTagv_50
_Z15Scr_PlayFXOnTagv_70:
	mov [esp], esi
	call _Z18SL_ConvertToStringj
	mov [esp+0x8], eax
	mov eax, [ebp-0x1c]
	mov [esp+0x4], eax
	mov dword [esp], _cstring_02ds
	call _Z2vaPKcz
	mov dword [esp+0x10], 0x0
	mov dword [esp+0xc], 0x1
	mov dword [esp+0x8], 0x100
	mov dword [esp+0x4], 0x6a2
	mov [esp], eax
	call _Z23G_FindConfigstringIndexPKciiiS0_
	mov [esp+0x8], eax
	mov dword [esp+0x4], 0x38
	mov [esp], edi
	call _Z10G_AddEventP9gentity_sij
	add esp, 0x3c
	pop ebx
	pop esi
	pop edi
	pop ebp
	ret
_Z15Scr_PlayFXOnTagv_20:
	mov eax, [ebp-0x1c]
	mov [esp+0x4], eax
	mov dword [esp], _cstring_effect_id_i_is_i
	call _Z2vaPKcz
	mov [esp+0x4], eax
	mov dword [esp], 0x0
	call _Z14Scr_ParamErrorjPKc
	mov dword [esp], 0x1
	call _Z13Scr_GetEntityj
	mov edi, eax
	cmp word [eax+0x168], 0x0
	jnz _Z15Scr_PlayFXOnTagv_60
_Z15Scr_PlayFXOnTagv_30:
	mov dword [esp+0x4], _cstring_cannot_play_fx_o
	mov dword [esp], 0x1
	call _Z14Scr_ParamErrorjPKc
	jmp _Z15Scr_PlayFXOnTagv_60
_Z15Scr_PlayFXOnTagv_50:
	mov [esp], edi
	call _Z15SV_DObjDumpInfoP9gentity_s
	movzx eax, word [edi+0x168]
	mov [esp], eax
	call _Z11G_ModelNamei
	mov [esp], eax
	call _Z18SL_ConvertToStringj
	mov ebx, eax
	mov [esp], esi
	call _Z18SL_ConvertToStringj
	mov [esp+0x8], ebx
	mov [esp+0x4], eax
	mov dword [esp], _cstring_tag_s_does_not_e
	call _Z2vaPKcz
	mov [esp+0x4], eax
	mov dword [esp], 0x2
	call _Z14Scr_ParamErrorjPKc
	jmp _Z15Scr_PlayFXOnTagv_70
	nop


;Scr_PlayLoopedFX()
_Z16Scr_PlayLoopedFXv:
	push ebp
	mov ebp, esp
	push edi
	push esi
	push ebx
	sub esp, 0x46c
	call _Z15Scr_GetNumParamv
	cmp eax, 0x2
	jbe _Z16Scr_PlayLoopedFXv_10
	call _Z15Scr_GetNumParamv
	cmp eax, 0x6
	ja _Z16Scr_PlayLoopedFXv_10
	mov dword [esp], 0x0
	call _Z10Scr_GetIntj
	mov edi, eax
	call _Z15Scr_GetNumParamv
	cmp eax, 0x5
	jz _Z16Scr_PlayLoopedFXv_20
_Z16Scr_PlayLoopedFXv_60:
	cmp eax, 0x6
	jz _Z16Scr_PlayLoopedFXv_30
	cmp eax, 0x4
	jz _Z16Scr_PlayLoopedFXv_40
	mov dword [ebp-0x450], 0x0
	pxor xmm0, xmm0
	movss [ebp-0x44c], xmm0
_Z16Scr_PlayLoopedFXv_100:
	lea edx, [ebp-0x24]
	mov [esp+0x4], edx
	mov dword [esp], 0x2
	call _Z13Scr_GetVectorjPf
	mov dword [esp], 0x1
	call _Z12Scr_GetFloatj
	fstp dword [ebp-0x45c]
	movss xmm0, dword [ebp-0x45c]
	mulss xmm0, [_float_1000_00000000]
	addss xmm0, [_float_0_50000000]
	movss [esp], xmm0
	call floorf
	fstp dword [ebp-0x454]
	cvttss2si esi, [ebp-0x454]
	test esi, esi
	jle _Z16Scr_PlayLoopedFXv_50
_Z16Scr_PlayLoopedFXv_120:
	call _Z7G_Spawnv
	mov ebx, eax
	mov dword [eax+0x4], 0x9
	or byte [eax+0xf6], 0x8
	mov edx, edi
	movzx eax, dl
	mov [ebx+0xd4], eax
	lea eax, [ebp-0x24]
	mov [esp+0x4], eax
	mov [esp], ebx
	call _Z11G_SetOriginP9gentity_sPKf
	lea ecx, [ebx+0x3c]
	lea edx, [ebp-0x48]
	mov eax, [ebp-0x450]
	call _Z15Scr_SetFxAnglesiPA3_fPf
	movss xmm0, dword [ebp-0x44c]
	movss [ebx+0x54], xmm0
	mov [ebx+0x58], esi
	mov [esp], ebx
	call _Z13SV_LinkEntityP9gentity_s
	mov [esp], ebx
	call _Z13Scr_AddEntityP9gentity_s
	add esp, 0x46c
	pop ebx
	pop esi
	pop edi
	pop ebp
	ret
_Z16Scr_PlayLoopedFXv_10:
	mov dword [esp], _cstring_incorrect_number
	call _Z9Scr_ErrorPKc
	mov dword [esp], 0x0
	call _Z10Scr_GetIntj
	mov edi, eax
	call _Z15Scr_GetNumParamv
	cmp eax, 0x5
	jnz _Z16Scr_PlayLoopedFXv_60
_Z16Scr_PlayLoopedFXv_20:
	mov dword [ebp-0x450], 0x1
_Z16Scr_PlayLoopedFXv_160:
	lea eax, [ebp-0x48]
	mov [esp+0x4], eax
	mov dword [esp], 0x4
	call _Z13Scr_GetVectorjPf
	movss xmm3, dword [ebp-0x48]
	lea edx, [ebp-0x44]
	movss xmm1, dword [ebp-0x44]
	lea eax, [ebp-0x40]
	movss xmm2, dword [ebp-0x40]
	movaps xmm0, xmm3
	mulss xmm0, xmm3
	mulss xmm1, xmm1
	addss xmm0, xmm1
	mulss xmm2, xmm2
	addss xmm0, xmm2
	sqrtss xmm2, xmm0
	movaps xmm0, xmm2
	xorps xmm0, [_data16_80000000]
	pxor xmm4, xmm4
	ucomiss xmm0, xmm4
	jb _Z16Scr_PlayLoopedFXv_70
	movss xmm1, dword [_float_1_00000000]
_Z16Scr_PlayLoopedFXv_190:
	mulss xmm3, xmm1
	movss [ebp-0x48], xmm3
	movaps xmm0, xmm1
	mulss xmm0, [edx]
	movss [edx], xmm0
	mulss xmm1, [eax]
	movss [eax], xmm1
	ucomiss xmm2, xmm4
	jnz _Z16Scr_PlayLoopedFXv_80
	jp _Z16Scr_PlayLoopedFXv_80
	test edi, edi
	jz _Z16Scr_PlayLoopedFXv_90
	mov dword [esp+0x8], 0x400
	lea ebx, [ebp-0x448]
	mov [esp+0x4], ebx
	lea eax, [edi+0x63e]
	mov [esp], eax
	call _Z18SV_GetConfigstringiPci
_Z16Scr_PlayLoopedFXv_180:
	mov [esp+0x8], ebx
	mov dword [esp+0x4], _cstring_playloopedfx_cal
	mov dword [esp], _cstring_s_effect__s
	call _Z2vaPKcz
	mov [esp+0x4], eax
	mov dword [esp], 0x4
	call _Z14Scr_ParamErrorjPKc
_Z16Scr_PlayLoopedFXv_80:
	mov dword [esp], 0x3
	call _Z12Scr_GetFloatj
	fstp dword [ebp-0x44c]
	jmp _Z16Scr_PlayLoopedFXv_100
_Z16Scr_PlayLoopedFXv_50:
	test edi, edi
	jz _Z16Scr_PlayLoopedFXv_110
	mov dword [esp+0x8], 0x400
	lea ebx, [ebp-0x448]
	mov [esp+0x4], ebx
	lea eax, [edi+0x63e]
	mov [esp], eax
	call _Z18SV_GetConfigstringiPci
_Z16Scr_PlayLoopedFXv_170:
	mov [esp+0x8], ebx
	mov dword [esp+0x4], _cstring_playloopedfx_cal1
	mov dword [esp], _cstring_s_effect__s
	call _Z2vaPKcz
	mov [esp+0x4], eax
	mov dword [esp], 0x1
	call _Z14Scr_ParamErrorjPKc
	jmp _Z16Scr_PlayLoopedFXv_120
_Z16Scr_PlayLoopedFXv_30:
	lea eax, [ebp-0x30]
	mov [esp+0x4], eax
	mov dword [esp], 0x5
	call _Z13Scr_GetVectorjPf
	movss xmm3, dword [ebp-0x30]
	lea edx, [ebp-0x2c]
	movss xmm1, dword [ebp-0x2c]
	lea eax, [ebp-0x28]
	movss xmm2, dword [ebp-0x28]
	movaps xmm0, xmm3
	mulss xmm0, xmm3
	mulss xmm1, xmm1
	addss xmm0, xmm1
	mulss xmm2, xmm2
	addss xmm0, xmm2
	sqrtss xmm2, xmm0
	movaps xmm0, xmm2
	xorps xmm0, [_data16_80000000]
	pxor xmm4, xmm4
	ucomiss xmm0, xmm4
	jb _Z16Scr_PlayLoopedFXv_130
	movss xmm1, dword [_float_1_00000000]
_Z16Scr_PlayLoopedFXv_210:
	mulss xmm3, xmm1
	movss [ebp-0x30], xmm3
	movaps xmm0, xmm1
	mulss xmm0, [edx]
	movss [edx], xmm0
	mulss xmm1, [eax]
	movss [eax], xmm1
	ucomiss xmm2, xmm4
	jp _Z16Scr_PlayLoopedFXv_140
	jnz _Z16Scr_PlayLoopedFXv_140
	test edi, edi
	jz _Z16Scr_PlayLoopedFXv_150
	mov dword [esp+0x8], 0x400
	lea ebx, [ebp-0x448]
	mov [esp+0x4], ebx
	lea eax, [edi+0x63e]
	mov [esp], eax
	call _Z18SV_GetConfigstringiPci
_Z16Scr_PlayLoopedFXv_200:
	mov [esp+0x8], ebx
	mov dword [esp+0x4], _cstring_playloopedfx_cal2
	mov dword [esp], _cstring_s_effect__s
	call _Z2vaPKcz
	mov [esp+0x4], eax
	mov dword [esp], 0x5
	call _Z14Scr_ParamErrorjPKc
_Z16Scr_PlayLoopedFXv_140:
	mov dword [ebp-0x450], 0x2
	jmp _Z16Scr_PlayLoopedFXv_160
_Z16Scr_PlayLoopedFXv_110:
	mov dword [ebp-0x448], 0x20746f6e
	mov dword [ebp-0x444], 0x63637573
	mov dword [ebp-0x440], 0x66737365
	mov dword [ebp-0x43c], 0x796c6c75
	mov dword [ebp-0x438], 0x616f6c20
	mov dword [ebp-0x434], 0x646564
	lea ebx, [ebp-0x448]
	jmp _Z16Scr_PlayLoopedFXv_170
_Z16Scr_PlayLoopedFXv_40:
	mov dword [ebp-0x450], 0x0
	mov dword [esp], 0x3
	call _Z12Scr_GetFloatj
	fstp dword [ebp-0x44c]
	jmp _Z16Scr_PlayLoopedFXv_100
_Z16Scr_PlayLoopedFXv_90:
	mov dword [ebp-0x448], 0x20746f6e
	mov dword [ebp-0x444], 0x63637573
	mov dword [ebp-0x440], 0x66737365
	mov dword [ebp-0x43c], 0x796c6c75
	mov dword [ebp-0x438], 0x616f6c20
	mov dword [ebp-0x434], 0x646564
	lea ebx, [ebp-0x448]
	jmp _Z16Scr_PlayLoopedFXv_180
_Z16Scr_PlayLoopedFXv_70:
	movss xmm1, dword [_float_1_00000000]
	divss xmm1, xmm2
	jmp _Z16Scr_PlayLoopedFXv_190
_Z16Scr_PlayLoopedFXv_150:
	mov dword [ebp-0x448], 0x20746f6e
	mov dword [ebp-0x444], 0x63637573
	mov dword [ebp-0x440], 0x66737365
	mov dword [ebp-0x43c], 0x796c6c75
	mov dword [ebp-0x438], 0x616f6c20
	mov dword [ebp-0x434], 0x646564
	lea ebx, [ebp-0x448]
	jmp _Z16Scr_PlayLoopedFXv_200
_Z16Scr_PlayLoopedFXv_130:
	movss xmm1, dword [_float_1_00000000]
	divss xmm1, xmm2
	jmp _Z16Scr_PlayLoopedFXv_210
	nop


;Scr_SpawnFX()
_Z11Scr_SpawnFXv:
	push ebp
	mov ebp, esp
	push edi
	push esi
	push ebx
	sub esp, 0x45c
	call _Z15Scr_GetNumParamv
	cmp eax, 0x1
	jbe _Z11Scr_SpawnFXv_10
	call _Z15Scr_GetNumParamv
	cmp eax, 0x4
	ja _Z11Scr_SpawnFXv_10
	mov dword [esp], 0x0
	call _Z10Scr_GetIntj
	mov edi, eax
	call _Z15Scr_GetNumParamv
	cmp eax, 0x3
	jz _Z11Scr_SpawnFXv_20
_Z11Scr_SpawnFXv_40:
	cmp eax, 0x4
	jz _Z11Scr_SpawnFXv_30
	mov dword [ebp-0x44c], 0x0
_Z11Scr_SpawnFXv_60:
	lea esi, [ebp-0x24]
	mov [esp+0x4], esi
	mov dword [esp], 0x1
	call _Z13Scr_GetVectorjPf
	call _Z7G_Spawnv
	mov ebx, eax
	mov dword [eax+0x4], 0x8
	or byte [eax+0xf6], 0x8
	mov edx, edi
	movzx eax, dl
	mov [ebx+0xd4], eax
	mov [esp+0x4], esi
	mov [esp], ebx
	call _Z11G_SetOriginP9gentity_sPKf
	lea ecx, [ebx+0x3c]
	lea edx, [ebp-0x48]
	mov eax, [ebp-0x44c]
	call _Z15Scr_SetFxAnglesiPA3_fPf
	mov [esp], ebx
	call _Z13SV_LinkEntityP9gentity_s
	mov [esp], ebx
	call _Z13Scr_AddEntityP9gentity_s
	add esp, 0x45c
	pop ebx
	pop esi
	pop edi
	pop ebp
	ret
_Z11Scr_SpawnFXv_10:
	mov dword [esp], _cstring_incorrect_number
	call _Z9Scr_ErrorPKc
	mov dword [esp], 0x0
	call _Z10Scr_GetIntj
	mov edi, eax
	call _Z15Scr_GetNumParamv
	cmp eax, 0x3
	jnz _Z11Scr_SpawnFXv_40
_Z11Scr_SpawnFXv_20:
	mov dword [ebp-0x44c], 0x1
_Z11Scr_SpawnFXv_110:
	lea eax, [ebp-0x48]
	mov [esp+0x4], eax
	mov dword [esp], 0x2
	call _Z13Scr_GetVectorjPf
	movss xmm3, dword [ebp-0x48]
	lea edx, [ebp-0x44]
	movss xmm1, dword [ebp-0x44]
	lea eax, [ebp-0x40]
	movss xmm2, dword [ebp-0x40]
	movaps xmm0, xmm3
	mulss xmm0, xmm3
	mulss xmm1, xmm1
	addss xmm0, xmm1
	mulss xmm2, xmm2
	addss xmm0, xmm2
	sqrtss xmm2, xmm0
	movaps xmm0, xmm2
	xorps xmm0, [_data16_80000000]
	pxor xmm4, xmm4
	ucomiss xmm0, xmm4
	jb _Z11Scr_SpawnFXv_50
	movss xmm1, dword [_float_1_00000000]
_Z11Scr_SpawnFXv_130:
	mulss xmm3, xmm1
	movss [ebp-0x48], xmm3
	movaps xmm0, xmm1
	mulss xmm0, [edx]
	movss [edx], xmm0
	mulss xmm1, [eax]
	movss [eax], xmm1
	ucomiss xmm2, xmm4
	jnz _Z11Scr_SpawnFXv_60
	jp _Z11Scr_SpawnFXv_60
	test edi, edi
	jz _Z11Scr_SpawnFXv_70
	mov dword [esp+0x8], 0x400
	lea ebx, [ebp-0x448]
	mov [esp+0x4], ebx
	lea eax, [edi+0x63e]
	mov [esp], eax
	call _Z18SV_GetConfigstringiPci
_Z11Scr_SpawnFXv_120:
	mov [esp+0x8], ebx
	mov dword [esp+0x4], _cstring_spawnfx_called_w
	mov dword [esp], _cstring_s_effect__s
	call _Z2vaPKcz
	mov [esp+0x4], eax
	mov dword [esp], 0x2
	call _Z14Scr_ParamErrorjPKc
	jmp _Z11Scr_SpawnFXv_60
_Z11Scr_SpawnFXv_30:
	lea eax, [ebp-0x30]
	mov [esp+0x4], eax
	mov dword [esp], 0x3
	call _Z13Scr_GetVectorjPf
	movss xmm3, dword [ebp-0x30]
	lea edx, [ebp-0x2c]
	movss xmm1, dword [ebp-0x2c]
	lea eax, [ebp-0x28]
	movss xmm2, dword [ebp-0x28]
	movaps xmm0, xmm3
	mulss xmm0, xmm3
	mulss xmm1, xmm1
	addss xmm0, xmm1
	mulss xmm2, xmm2
	addss xmm0, xmm2
	sqrtss xmm2, xmm0
	movaps xmm0, xmm2
	xorps xmm0, [_data16_80000000]
	pxor xmm4, xmm4
	ucomiss xmm0, xmm4
	jb _Z11Scr_SpawnFXv_80
	movss xmm1, dword [_float_1_00000000]
_Z11Scr_SpawnFXv_150:
	mulss xmm3, xmm1
	movss [ebp-0x30], xmm3
	movaps xmm0, xmm1
	mulss xmm0, [edx]
	movss [edx], xmm0
	mulss xmm1, [eax]
	movss [eax], xmm1
	ucomiss xmm2, xmm4
	jp _Z11Scr_SpawnFXv_90
	jnz _Z11Scr_SpawnFXv_90
	test edi, edi
	jz _Z11Scr_SpawnFXv_100
	mov dword [esp+0x8], 0x400
	lea ebx, [ebp-0x448]
	mov [esp+0x4], ebx
	lea eax, [edi+0x63e]
	mov [esp], eax
	call _Z18SV_GetConfigstringiPci
_Z11Scr_SpawnFXv_140:
	mov [esp+0x8], ebx
	mov dword [esp+0x4], _cstring_spawnfx_called_w1
	mov dword [esp], _cstring_s_effect__s
	call _Z2vaPKcz
	mov [esp+0x4], eax
	mov dword [esp], 0x3
	call _Z14Scr_ParamErrorjPKc
_Z11Scr_SpawnFXv_90:
	mov dword [ebp-0x44c], 0x2
	jmp _Z11Scr_SpawnFXv_110
_Z11Scr_SpawnFXv_70:
	mov dword [ebp-0x448], 0x20746f6e
	mov dword [ebp-0x444], 0x63637573
	mov dword [ebp-0x440], 0x66737365
	mov dword [ebp-0x43c], 0x796c6c75
	mov dword [ebp-0x438], 0x616f6c20
	mov dword [ebp-0x434], 0x646564
	lea ebx, [ebp-0x448]
	jmp _Z11Scr_SpawnFXv_120
_Z11Scr_SpawnFXv_50:
	movss xmm1, dword [_float_1_00000000]
	divss xmm1, xmm2
	jmp _Z11Scr_SpawnFXv_130
_Z11Scr_SpawnFXv_100:
	mov dword [ebp-0x448], 0x20746f6e
	mov dword [ebp-0x444], 0x63637573
	mov dword [ebp-0x440], 0x66737365
	mov dword [ebp-0x43c], 0x796c6c75
	mov dword [ebp-0x438], 0x616f6c20
	mov dword [ebp-0x434], 0x646564
	lea ebx, [ebp-0x448]
	jmp _Z11Scr_SpawnFXv_140
_Z11Scr_SpawnFXv_80:
	movss xmm1, dword [_float_1_00000000]
	divss xmm1, xmm2
	jmp _Z11Scr_SpawnFXv_150
	add [eax], al


;Scr_TriggerFX()
_Z13Scr_TriggerFXv:
	push ebp
	mov ebp, esp
	push ebx
	sub esp, 0x34
	call _Z15Scr_GetNumParamv
	test eax, eax
	jz _Z13Scr_TriggerFXv_10
	call _Z15Scr_GetNumParamv
	cmp eax, 0x2
	ja _Z13Scr_TriggerFXv_10
_Z13Scr_TriggerFXv_40:
	mov dword [esp], 0x0
	call _Z13Scr_GetEntityj
	mov ebx, eax
	cmp dword [eax+0x4], 0x8
	jz _Z13Scr_TriggerFXv_20
	mov dword [esp+0x4], _cstring_entity_wasnt_cre
	mov dword [esp], 0x0
	call _Z14Scr_ParamErrorjPKc
_Z13Scr_TriggerFXv_20:
	call _Z15Scr_GetNumParamv
	cmp eax, 0x2
	jz _Z13Scr_TriggerFXv_30
	mov eax, level
	mov eax, [eax+0x1ec]
	mov [ebx+0x70], eax
	add esp, 0x34
	pop ebx
	pop ebp
	ret
_Z13Scr_TriggerFXv_10:
	mov dword [esp], _cstring_incorrect_number
	call _Z9Scr_ErrorPKc
	jmp _Z13Scr_TriggerFXv_40
_Z13Scr_TriggerFXv_30:
	mov dword [esp], 0x1
	call _Z12Scr_GetFloatj
	fstp dword [ebp-0x1c]
	movss xmm0, dword [ebp-0x1c]
	mulss xmm0, [_float_1000_00000000]
	addss xmm0, [_float_0_50000000]
	movss [esp], xmm0
	call floorf
	fstp dword [ebp-0xc]
	cvttss2si eax, [ebp-0xc]
	mov [ebx+0x70], eax
	add esp, 0x34
	pop ebx
	pop ebp
	ret
	nop


;Scr_PhysicsExplosionSphere()
_Z26Scr_PhysicsExplosionSpherev:
	push ebp
	mov ebp, esp
	push ebx
	sub esp, 0x34
	call _Z15Scr_GetNumParamv
	cmp eax, 0x4
	jz _Z26Scr_PhysicsExplosionSpherev_10
	mov dword [esp], _cstring_incorrect_number
	call _Z9Scr_ErrorPKc
_Z26Scr_PhysicsExplosionSpherev_10:
	lea ebx, [ebp-0x14]
	mov [esp+0x4], ebx
	mov dword [esp], 0x0
	call _Z13Scr_GetVectorjPf
	mov dword [esp+0x4], 0x39
	mov [esp], ebx
	call _Z12G_TempEntityPKfi
	mov ebx, eax
	mov dword [esp], 0x1
	call _Z10Scr_GetIntj
	mov [ebx+0x9c], eax
	mov dword [esp], 0x2
	call _Z12Scr_GetFloatj
	fstp dword [ebp-0x1c]
	movss xmm0, dword [ebp-0x1c]
	movss [ebx+0x54], xmm0
	ucomiss xmm0, [_float_0_00000000]
	jb _Z26Scr_PhysicsExplosionSpherev_20
_Z26Scr_PhysicsExplosionSpherev_60:
	mov edx, [ebx+0x9c]
	test edx, edx
	js _Z26Scr_PhysicsExplosionSpherev_30
	cvtsi2ss xmm1, edx
_Z26Scr_PhysicsExplosionSpherev_50:
	movss xmm0, dword [ebx+0x54]
	ucomiss xmm0, xmm1
	jbe _Z26Scr_PhysicsExplosionSpherev_40
	mov dword [esp], _cstring_inner_radius_is_
	call _Z9Scr_ErrorPKc
_Z26Scr_PhysicsExplosionSpherev_40:
	mov dword [esp], 0x3
	call _Z12Scr_GetFloatj
	fstp dword [ebx+0x58]
	add esp, 0x34
	pop ebx
	pop ebp
	ret
_Z26Scr_PhysicsExplosionSpherev_30:
	mov eax, edx
	shr eax, 1
	and edx, 0x1
	or eax, edx
	cvtsi2ss xmm1, eax
	addss xmm1, xmm1
	jmp _Z26Scr_PhysicsExplosionSpherev_50
_Z26Scr_PhysicsExplosionSpherev_20:
	jp _Z26Scr_PhysicsExplosionSpherev_60
	mov dword [esp+0x4], _cstring_radius_is_negati
	mov dword [esp], 0x2
	call _Z14Scr_ParamErrorjPKc
	jmp _Z26Scr_PhysicsExplosionSpherev_60


;Scr_PhysicsExplosionCylinder()
_Z28Scr_PhysicsExplosionCylinderv:
	push ebp
	mov ebp, esp
	push ebx
	sub esp, 0x34
	call _Z15Scr_GetNumParamv
	cmp eax, 0x4
	jz _Z28Scr_PhysicsExplosionCylinderv_10
	mov dword [esp], _cstring_incorrect_number
	call _Z9Scr_ErrorPKc
_Z28Scr_PhysicsExplosionCylinderv_10:
	lea ebx, [ebp-0x14]
	mov [esp+0x4], ebx
	mov dword [esp], 0x0
	call _Z13Scr_GetVectorjPf
	mov dword [esp+0x4], 0x3a
	mov [esp], ebx
	call _Z12G_TempEntityPKfi
	mov ebx, eax
	mov dword [esp], 0x1
	call _Z10Scr_GetIntj
	mov [ebx+0x9c], eax
	mov dword [esp], 0x2
	call _Z12Scr_GetFloatj
	fstp dword [ebp-0x1c]
	movss xmm0, dword [ebp-0x1c]
	movss [ebx+0x54], xmm0
	ucomiss xmm0, [_float_0_00000000]
	jb _Z28Scr_PhysicsExplosionCylinderv_20
_Z28Scr_PhysicsExplosionCylinderv_60:
	mov edx, [ebx+0x9c]
	test edx, edx
	js _Z28Scr_PhysicsExplosionCylinderv_30
	cvtsi2ss xmm1, edx
_Z28Scr_PhysicsExplosionCylinderv_50:
	movss xmm0, dword [ebx+0x54]
	ucomiss xmm0, xmm1
	jbe _Z28Scr_PhysicsExplosionCylinderv_40
	mov dword [esp], _cstring_inner_radius_is_
	call _Z9Scr_ErrorPKc
_Z28Scr_PhysicsExplosionCylinderv_40:
	mov dword [esp], 0x3
	call _Z12Scr_GetFloatj
	fstp dword [ebx+0x58]
	add esp, 0x34
	pop ebx
	pop ebp
	ret
_Z28Scr_PhysicsExplosionCylinderv_30:
	mov eax, edx
	shr eax, 1
	and edx, 0x1
	or eax, edx
	cvtsi2ss xmm1, eax
	addss xmm1, xmm1
	jmp _Z28Scr_PhysicsExplosionCylinderv_50
_Z28Scr_PhysicsExplosionCylinderv_20:
	jp _Z28Scr_PhysicsExplosionCylinderv_60
	mov dword [esp+0x4], _cstring_radius_is_negati
	mov dword [esp], 0x2
	call _Z14Scr_ParamErrorjPKc
	jmp _Z28Scr_PhysicsExplosionCylinderv_60


;Scr_PhysicsRadiusJolt()
_Z21Scr_PhysicsRadiusJoltv:
	push ebp
	mov ebp, esp
	push esi
	push ebx
	sub esp, 0x30
	call _Z15Scr_GetNumParamv
	cmp eax, 0x4
	jz _Z21Scr_PhysicsRadiusJoltv_10
	mov dword [esp], _cstring_incorrect_number
	call _Z9Scr_ErrorPKc
_Z21Scr_PhysicsRadiusJoltv_10:
	lea ebx, [ebp-0x14]
	mov [esp+0x4], ebx
	mov dword [esp], 0x0
	call _Z13Scr_GetVectorjPf
	mov dword [esp+0x4], 0x3b
	mov [esp], ebx
	call _Z12G_TempEntityPKfi
	mov ebx, eax
	mov dword [esp], 0x1
	call _Z10Scr_GetIntj
	mov [ebx+0x9c], eax
	mov dword [esp], 0x2
	call _Z12Scr_GetFloatj
	fstp dword [ebp-0x1c]
	movss xmm0, dword [ebp-0x1c]
	movss [ebx+0x54], xmm0
	ucomiss xmm0, [_float_0_00000000]
	jb _Z21Scr_PhysicsRadiusJoltv_20
_Z21Scr_PhysicsRadiusJoltv_70:
	mov edx, [ebx+0x9c]
	test edx, edx
	js _Z21Scr_PhysicsRadiusJoltv_30
	cvtsi2ss xmm1, edx
_Z21Scr_PhysicsRadiusJoltv_60:
	movss xmm0, dword [ebx+0x54]
	ucomiss xmm0, xmm1
	jbe _Z21Scr_PhysicsRadiusJoltv_40
	mov dword [esp], _cstring_inner_radius_is_
	call _Z9Scr_ErrorPKc
_Z21Scr_PhysicsRadiusJoltv_40:
	lea esi, [ebx+0x58]
	mov [esp+0x4], esi
	mov dword [esp], 0x3
	call _Z13Scr_GetVectorjPf
	mov eax, vec3_origin
	movss xmm0, dword [eax]
	ucomiss xmm0, [ebx+0x58]
	jnz _Z21Scr_PhysicsRadiusJoltv_50
	jp _Z21Scr_PhysicsRadiusJoltv_50
	movss xmm0, dword [eax+0x4]
	ucomiss xmm0, [esi+0x4]
	jnz _Z21Scr_PhysicsRadiusJoltv_50
	jp _Z21Scr_PhysicsRadiusJoltv_50
	movss xmm0, dword [eax+0x8]
	ucomiss xmm0, [esi+0x8]
	jnz _Z21Scr_PhysicsRadiusJoltv_50
	jp _Z21Scr_PhysicsRadiusJoltv_50
	mov dword [ebx+0x58], 0x800000
_Z21Scr_PhysicsRadiusJoltv_50:
	add esp, 0x30
	pop ebx
	pop esi
	pop ebp
	ret
_Z21Scr_PhysicsRadiusJoltv_30:
	mov eax, edx
	shr eax, 1
	and edx, 0x1
	or eax, edx
	cvtsi2ss xmm1, eax
	addss xmm1, xmm1
	jmp _Z21Scr_PhysicsRadiusJoltv_60
_Z21Scr_PhysicsRadiusJoltv_20:
	jp _Z21Scr_PhysicsRadiusJoltv_70
	mov dword [esp+0x4], _cstring_radius_is_negati
	mov dword [esp], 0x2
	call _Z14Scr_ParamErrorjPKc
	jmp _Z21Scr_PhysicsRadiusJoltv_70
	nop


;Scr_PhysicsRadiusJitter()
_Z23Scr_PhysicsRadiusJitterv:
	push ebp
	mov ebp, esp
	push ebx
	sub esp, 0x34
	call _Z15Scr_GetNumParamv
	cmp eax, 0x5
	jz _Z23Scr_PhysicsRadiusJitterv_10
	mov dword [esp], _cstring_incorrect_number
	call _Z9Scr_ErrorPKc
_Z23Scr_PhysicsRadiusJitterv_10:
	lea ebx, [ebp-0x14]
	mov [esp+0x4], ebx
	mov dword [esp], 0x0
	call _Z13Scr_GetVectorjPf
	mov dword [esp+0x4], 0x3c
	mov [esp], ebx
	call _Z12G_TempEntityPKfi
	mov ebx, eax
	mov dword [esp], 0x1
	call _Z10Scr_GetIntj
	mov [ebx+0x9c], eax
	mov dword [esp], 0x2
	call _Z12Scr_GetFloatj
	fstp dword [ebp-0x20]
	movss xmm0, dword [ebp-0x20]
	movss [ebx+0x54], xmm0
	ucomiss xmm0, [_float_0_00000000]
	jb _Z23Scr_PhysicsRadiusJitterv_20
_Z23Scr_PhysicsRadiusJitterv_70:
	mov edx, [ebx+0x9c]
	test edx, edx
	js _Z23Scr_PhysicsRadiusJitterv_30
	cvtsi2ss xmm1, edx
_Z23Scr_PhysicsRadiusJitterv_60:
	movss xmm0, dword [ebx+0x54]
	ucomiss xmm0, xmm1
	jbe _Z23Scr_PhysicsRadiusJitterv_40
	mov dword [esp], _cstring_inner_radius_is_
	call _Z9Scr_ErrorPKc
_Z23Scr_PhysicsRadiusJitterv_40:
	mov dword [esp], 0x3
	call _Z12Scr_GetFloatj
	fstp dword [ebx+0x58]
	mov dword [esp], 0x4
	call _Z12Scr_GetFloatj
	fstp dword [ebp-0x1c]
	movss xmm0, dword [ebp-0x1c]
	movss [ebx+0x5c], xmm0
	movss xmm0, dword [ebx+0x58]
	ucomiss xmm0, [ebp-0x1c]
	jbe _Z23Scr_PhysicsRadiusJitterv_50
	mov dword [esp], _cstring_maximum_jitter_i
	call _Z9Scr_ErrorPKc
_Z23Scr_PhysicsRadiusJitterv_50:
	add esp, 0x34
	pop ebx
	pop ebp
	ret
_Z23Scr_PhysicsRadiusJitterv_30:
	mov eax, edx
	shr eax, 1
	and edx, 0x1
	or eax, edx
	cvtsi2ss xmm1, eax
	addss xmm1, xmm1
	jmp _Z23Scr_PhysicsRadiusJitterv_60
_Z23Scr_PhysicsRadiusJitterv_20:
	jp _Z23Scr_PhysicsRadiusJitterv_70
	mov dword [esp+0x4], _cstring_radius_is_negati
	mov dword [esp], 0x2
	call _Z14Scr_ParamErrorjPKc
	jmp _Z23Scr_PhysicsRadiusJitterv_70
	nop


;Scr_SetExponentialFog()
_Z21Scr_SetExponentialFogv:
	push ebp
	mov ebp, esp
	sub esp, 0x68
	call _Z15Scr_GetNumParamv
	cmp eax, 0x6
	jz _Z21Scr_SetExponentialFogv_10
	mov dword [esp], _cstring_incorrect_number1
	call _Z9Scr_ErrorPKc
_Z21Scr_SetExponentialFogv_10:
	mov dword [esp], 0x0
	call _Z12Scr_GetFloatj
	fstp dword [ebp-0x24]
	movss xmm0, dword [ebp-0x24]
	ucomiss xmm0, [_float_0_00000000]
	jb _Z21Scr_SetExponentialFogv_20
_Z21Scr_SetExponentialFogv_100:
	mov dword [esp], 0x1
	call _Z12Scr_GetFloatj
	fstp dword [ebp-0x20]
	pxor xmm0, xmm0
	ucomiss xmm0, [ebp-0x20]
	jae _Z21Scr_SetExponentialFogv_30
_Z21Scr_SetExponentialFogv_110:
	movss xmm0, dword [_float_0_69314718]
	divss xmm0, dword [ebp-0x20]
	movss [ebp-0x1c], xmm0
	mov dword [esp], 0x2
	call _Z12Scr_GetFloatj
	fstp dword [ebp-0x18]
	mov dword [esp], 0x3
	call _Z12Scr_GetFloatj
	fstp dword [ebp-0x14]
	mov dword [esp], 0x4
	call _Z12Scr_GetFloatj
	fstp dword [ebp-0x10]
	mov dword [esp], 0x5
	call _Z12Scr_GetFloatj
	fstp dword [ebp-0xc]
	mov dword [esp+0x10], 0x3f800000
	movss xmm0, dword [ebp-0x10]
	movss [esp+0xc], xmm0
	movss xmm0, dword [ebp-0x14]
	movss [esp+0x8], xmm0
	movss xmm0, dword [ebp-0x18]
	movss [esp+0x4], xmm0
	mov eax, g_fogColorReadOnly
	mov eax, [eax]
	mov [esp], eax
	call _Z13Dvar_SetColorPK6dvar_sffff
	movss xmm0, dword [ebp-0x24]
	movss [esp+0x4], xmm0
	mov eax, g_fogStartDistReadOnly
	mov eax, [eax]
	mov [esp], eax
	call _Z13Dvar_SetFloatPK6dvar_sf
	movss xmm0, dword [ebp-0x20]
	movss [esp+0x4], xmm0
	mov eax, g_fogHalfDistReadOnly
	mov eax, [eax]
	mov [esp], eax
	call _Z13Dvar_SetFloatPK6dvar_sf
	pxor xmm0, xmm0
	ucomiss xmm0, [ebp-0x24]
	ja _Z21Scr_SetExponentialFogv_40
_Z21Scr_SetExponentialFogv_120:
	ucomiss xmm0, [ebp-0x18]
	ja _Z21Scr_SetExponentialFogv_50
	movss xmm0, dword [ebp-0x18]
	ucomiss xmm0, [_float_1_00000000]
	jbe _Z21Scr_SetExponentialFogv_60
_Z21Scr_SetExponentialFogv_50:
	mov dword [esp+0x4], _cstring_setexpfog
	mov dword [esp], _cstring_s_redgreenblue_c
	call _Z2vaPKcz
	mov [esp], eax
	call _Z9Scr_ErrorPKc
_Z21Scr_SetExponentialFogv_80:
	movss xmm0, dword [ebp-0xc]
	ucomiss xmm0, [_float_0_00000000]
	jb _Z21Scr_SetExponentialFogv_70
_Z21Scr_SetExponentialFogv_90:
	mulss xmm0, [_float_1000_00000000]
	cvtss2sd xmm0, xmm0
	movsd [esp+0x2c], xmm0
	cvtss2sd xmm0, [ebp-0x10]
	movsd [esp+0x24], xmm0
	cvtss2sd xmm0, [ebp-0x14]
	movsd [esp+0x1c], xmm0
	cvtss2sd xmm0, [ebp-0x18]
	movsd [esp+0x14], xmm0
	cvtss2sd xmm0, [ebp-0x1c]
	movsd [esp+0xc], xmm0
	cvtss2sd xmm0, [ebp-0x24]
	movsd [esp+0x4], xmm0
	mov dword [esp], _cstring_g_g_g_g_g_0f
	call _Z2vaPKcz
	mov [esp], eax
	call _Z8G_setfogPKc
	leave
	ret
_Z21Scr_SetExponentialFogv_60:
	pxor xmm0, xmm0
	ucomiss xmm0, [ebp-0x14]
	ja _Z21Scr_SetExponentialFogv_50
	movss xmm0, dword [ebp-0x14]
	ucomiss xmm0, [_float_1_00000000]
	ja _Z21Scr_SetExponentialFogv_50
	pxor xmm0, xmm0
	ucomiss xmm0, [ebp-0x10]
	ja _Z21Scr_SetExponentialFogv_50
	movss xmm0, dword [ebp-0x10]
	ucomiss xmm0, [_float_1_00000000]
	ja _Z21Scr_SetExponentialFogv_50
	jmp _Z21Scr_SetExponentialFogv_80
_Z21Scr_SetExponentialFogv_70:
	jp _Z21Scr_SetExponentialFogv_90
	mov dword [esp+0x4], _cstring_setexpfog
	mov dword [esp], _cstring_s_transition_tim
	call _Z2vaPKcz
	mov [esp], eax
	call _Z9Scr_ErrorPKc
	movss xmm0, dword [ebp-0xc]
	jmp _Z21Scr_SetExponentialFogv_90
_Z21Scr_SetExponentialFogv_20:
	jp _Z21Scr_SetExponentialFogv_100
	mov dword [esp], _cstring_setexpfog_startd
	call _Z9Scr_ErrorPKc
	mov dword [esp], 0x1
	call _Z12Scr_GetFloatj
	fstp dword [ebp-0x20]
	pxor xmm0, xmm0
	ucomiss xmm0, [ebp-0x20]
	jb _Z21Scr_SetExponentialFogv_110
_Z21Scr_SetExponentialFogv_30:
	mov dword [esp], _cstring_setexpfog_halfwa
	call _Z9Scr_ErrorPKc
	jmp _Z21Scr_SetExponentialFogv_110
_Z21Scr_SetExponentialFogv_40:
	mov dword [esp+0x4], _cstring_setexpfog
	mov dword [esp], _cstring_s_near_distance_
	call _Z2vaPKcz
	mov [esp], eax
	call _Z9Scr_ErrorPKc
	pxor xmm0, xmm0
	jmp _Z21Scr_SetExponentialFogv_120
	nop


;Scr_GrenadeExplosionEffect()
_Z26Scr_GrenadeExplosionEffectv:
	push ebp
	mov ebp, esp
	push esi
	push ebx
	add esp, 0xffffff80
	lea eax, [ebp-0x14]
	mov [esp+0x4], eax
	mov dword [esp], 0x0
	call _Z13Scr_GetVectorjPf
	mov eax, [ebp-0x14]
	mov [ebp-0x2c], eax
	mov eax, [ebp-0x10]
	mov [ebp-0x28], eax
	movss xmm0, dword [ebp-0xc]
	addss xmm0, [_float_1_00000000]
	movss [ebp-0x24], xmm0
	mov dword [esp+0x4], 0x2d
	lea ebx, [ebp-0x2c]
	mov [esp], ebx
	call _Z12G_TempEntityPKfi
	mov esi, eax
	xor eax, eax
	mov [ebp-0x20], eax
	mov [ebp-0x1c], eax
	mov dword [ebp-0x18], 0x3f800000
	lea eax, [ebp-0x20]
	mov [esp], eax
	call _Z9DirToBytePKf
	movzx eax, al
	mov [esi+0x9c], eax
	mov eax, [ebp-0x2c]
	mov [ebp-0x38], eax
	mov eax, [ebp-0x28]
	mov [ebp-0x34], eax
	movss xmm0, dword [ebp-0x24]
	subss xmm0, [_float_17_00000000]
	movss [ebp-0x30], xmm0
	mov dword [esp+0x18], 0x811
	mov dword [esp+0x14], 0x3ff
	lea eax, [ebp-0x38]
	mov [esp+0x10], eax
	mov eax, vec3_origin
	mov [esp+0xc], eax
	mov [esp+0x8], eax
	mov [esp+0x4], ebx
	lea eax, [ebp-0x64]
	mov [esp], eax
	call _Z14G_TraceCapsuleP7trace_tPKfS2_S2_S2_ii
	mov eax, [ebp-0x54]
	and eax, 0x1f00000
	shr eax, 0x14
	mov [esi+0x84], eax
	sub esp, 0xffffff80
	pop ebx
	pop esi
	pop ebp
	ret


;GScr_RadiusDamage()
_Z17GScr_RadiusDamagev:
	push ebp
	mov ebp, esp
	xor eax, eax
	pop ebp
	jmp _Z25GScr_RadiusDamageInternalP9gentity_s
	nop


;GScr_SetPlayerIgnoreRadiusDamage()
_Z32GScr_SetPlayerIgnoreRadiusDamagev:
	push ebp
	mov ebp, esp
	sub esp, 0x18
	mov dword [esp], 0x0
	call _Z10Scr_GetIntj
	mov edx, level
	mov [edx+0x2de4], eax
	leave
	ret


;GScr_Earthquake()
_Z15GScr_Earthquakev:
	push ebp
	mov ebp, esp
	push esi
	push ebx
	sub esp, 0x40
	mov dword [esp], 0x0
	call _Z12Scr_GetFloatj
	fstp dword [ebp-0x20]
	mov dword [esp], 0x1
	call _Z12Scr_GetFloatj
	fstp dword [ebp-0x2c]
	movss xmm0, dword [ebp-0x2c]
	mulss xmm0, [_float_1000_00000000]
	addss xmm0, [_float_0_50000000]
	movss [esp], xmm0
	call floorf
	fstp dword [ebp-0x24]
	cvttss2si ebx, [ebp-0x24]
	lea esi, [ebp-0x14]
	mov [esp+0x4], esi
	mov dword [esp], 0x2
	call _Z13Scr_GetVectorjPf
	mov dword [esp], 0x3
	call _Z12Scr_GetFloatj
	fstp dword [ebp-0x1c]
	movss xmm0, dword [ebp-0x20]
	ucomiss xmm0, [_float_0_00000000]
	jbe _Z15GScr_Earthquakev_10
_Z15GScr_Earthquakev_50:
	test ebx, ebx
	jle _Z15GScr_Earthquakev_20
_Z15GScr_Earthquakev_60:
	pxor xmm0, xmm0
	ucomiss xmm0, [ebp-0x1c]
	jae _Z15GScr_Earthquakev_30
_Z15GScr_Earthquakev_40:
	mov dword [esp+0x4], 0x3d
	mov [esp], esi
	call _Z12G_TempEntityPKfi
	movss xmm0, dword [ebp-0x20]
	movss [eax+0x54], xmm0
	mov [eax+0x5c], ebx
	movss xmm0, dword [ebp-0x1c]
	movss [eax+0x58], xmm0
	add esp, 0x40
	pop ebx
	pop esi
	pop ebp
	ret
_Z15GScr_Earthquakev_30:
	mov dword [esp+0x4], _cstring_radius_must_be_g
	mov dword [esp], 0x3
	call _Z14Scr_ParamErrorjPKc
	jmp _Z15GScr_Earthquakev_40
_Z15GScr_Earthquakev_10:
	jp _Z15GScr_Earthquakev_50
	mov dword [esp+0x4], _cstring_scale_must_be_gr
	mov dword [esp], 0x0
	call _Z14Scr_ParamErrorjPKc
	test ebx, ebx
	jg _Z15GScr_Earthquakev_60
_Z15GScr_Earthquakev_20:
	mov dword [esp+0x4], _cstring_duration_must_be
	mov dword [esp], 0x1
	call _Z14Scr_ParamErrorjPKc
	jmp _Z15GScr_Earthquakev_60
	nop


;GScr_WeaponFireTime()
_Z19GScr_WeaponFireTimev:
	push ebp
	mov ebp, esp
	sub esp, 0x18
	mov dword [esp], 0x0
	call _Z13Scr_GetStringj
	mov [esp], eax
	call _Z23G_GetWeaponIndexForNamePKc
	test eax, eax
	jnz _Z19GScr_WeaponFireTimev_10
	mov dword [esp], 0x0
	call _Z12Scr_AddFloatf
	leave
	ret
_Z19GScr_WeaponFireTimev_10:
	mov [esp], eax
	call _Z15BG_GetWeaponDefj
	cvtsi2ss xmm0, dword [eax+0x36c]
	mulss xmm0, [_float_0_00100000]
	movss [esp], xmm0
	call _Z12Scr_AddFloatf
	leave
	ret


;GScr_IsWeaponClipOnly()
_Z21GScr_IsWeaponClipOnlyv:
	push ebp
	mov ebp, esp
	sub esp, 0x18
	mov dword [esp], 0x0
	call _Z13Scr_GetStringj
	mov [esp], eax
	call _Z23G_GetWeaponIndexForNamePKc
	test eax, eax
	jnz _Z21GScr_IsWeaponClipOnlyv_10
	mov dword [esp], 0x0
	call _Z11Scr_AddBooli
	leave
	ret
_Z21GScr_IsWeaponClipOnlyv_10:
	mov [esp], eax
	call _Z19BG_WeaponIsClipOnlyi
	mov [esp], eax
	call _Z11Scr_AddBooli
	leave
	ret


;GScr_IsWeaponDetonationTimed()
_Z28GScr_IsWeaponDetonationTimedv:
	push ebp
	mov ebp, esp
	sub esp, 0x18
	mov dword [esp], 0x0
	call _Z13Scr_GetStringj
	mov [esp], eax
	call _Z23G_GetWeaponIndexForNamePKc
	test eax, eax
	jnz _Z28GScr_IsWeaponDetonationTimedv_10
	mov dword [esp], 0x0
	call _Z11Scr_AddBooli
	leave
	ret
_Z28GScr_IsWeaponDetonationTimedv_10:
	mov [esp], eax
	call _Z15BG_GetWeaponDefj
	mov eax, [eax+0x5ac]
	mov [esp], eax
	call _Z11Scr_AddBooli
	leave
	ret


;GScr_WeaponClipSize()
_Z19GScr_WeaponClipSizev:
	push ebp
	mov ebp, esp
	push esi
	push ebx
	sub esp, 0x10
	mov dword [esp], 0x0
	call _Z13Scr_GetStringj
	mov ebx, eax
	mov [esp], eax
	call _Z23G_GetWeaponIndexForNamePKc
	mov esi, eax
	mov [esp+0x4], ebx
	mov [esp], eax
	call _Z21Scr_VerifyWeaponIndexiPKc
	mov [esp], esi
	call _Z15BG_GetWeaponDefj
	mov eax, [eax+0x338]
	mov [esp], eax
	call _Z10Scr_AddInti
	add esp, 0x10
	pop ebx
	pop esi
	pop ebp
	ret
	nop


;GScr_WeaponIsSemiAuto()
_Z21GScr_WeaponIsSemiAutov:
	push ebp
	mov ebp, esp
	push esi
	push ebx
	sub esp, 0x10
	mov dword [esp], 0x0
	call _Z13Scr_GetStringj
	mov ebx, eax
	mov [esp], eax
	call _Z23G_GetWeaponIndexForNamePKc
	mov esi, eax
	mov [esp+0x4], ebx
	mov [esp], eax
	call _Z21Scr_VerifyWeaponIndexiPKc
	mov [esp], esi
	call _Z15BG_GetWeaponDefj
	cmp dword [eax+0x140], 0x1
	setz al
	movzx eax, al
	mov [esp], eax
	call _Z10Scr_AddInti
	add esp, 0x10
	pop ebx
	pop esi
	pop ebp
	ret


;GScr_WeaponIsBoltAction()
_Z23GScr_WeaponIsBoltActionv:
	push ebp
	mov ebp, esp
	push esi
	push ebx
	sub esp, 0x10
	mov dword [esp], 0x0
	call _Z13Scr_GetStringj
	mov ebx, eax
	mov [esp], eax
	call _Z23G_GetWeaponIndexForNamePKc
	mov esi, eax
	mov [esp+0x4], ebx
	mov [esp], eax
	call _Z21Scr_VerifyWeaponIndexiPKc
	mov [esp], esi
	call _Z15BG_GetWeaponDefj
	mov eax, [eax+0x4e8]
	mov [esp], eax
	call _Z10Scr_AddInti
	add esp, 0x10
	pop ebx
	pop esi
	pop ebp
	ret
	nop


;GScr_WeaponType()
_Z15GScr_WeaponTypev:
	push ebp
	mov ebp, esp
	push esi
	push ebx
	sub esp, 0x10
	mov dword [esp], 0x0
	call _Z13Scr_GetStringj
	mov ebx, eax
	mov [esp], eax
	call _Z23G_GetWeaponIndexForNamePKc
	mov esi, eax
	mov [esp+0x4], ebx
	mov [esp], eax
	call _Z21Scr_VerifyWeaponIndexiPKc
	mov [esp], esi
	call _Z15BG_GetWeaponDefj
	mov eax, [eax+0x12c]
	mov [esp], eax
	call _Z20BG_GetWeaponTypeName10weapType_t
	mov [esp], eax
	call _Z13Scr_AddStringPKc
	add esp, 0x10
	pop ebx
	pop esi
	pop ebp
	ret
	nop


;GScr_WeaponClass()
_Z16GScr_WeaponClassv:
	push ebp
	mov ebp, esp
	sub esp, 0x18
	mov dword [esp], 0x0
	call _Z13Scr_GetStringj
	mov [esp], eax
	call _Z23G_GetWeaponIndexForNamePKc
	test eax, eax
	jnz _Z16GScr_WeaponClassv_10
	mov dword [esp], _cstring_none
	call _Z13Scr_AddStringPKc
	leave
	ret
_Z16GScr_WeaponClassv_10:
	mov [esp], eax
	call _Z15BG_GetWeaponDefj
	mov eax, [eax+0x130]
	mov [esp], eax
	call _Z21BG_GetWeaponClassName11weapClass_t
	mov [esp], eax
	call _Z13Scr_AddStringPKc
	leave
	ret


;GScr_WeaponInventoryType()
_Z24GScr_WeaponInventoryTypev:
	push ebp
	mov ebp, esp
	push esi
	push ebx
	sub esp, 0x10
	mov dword [esp], 0x0
	call _Z13Scr_GetStringj
	mov ebx, eax
	mov [esp], eax
	call _Z23G_GetWeaponIndexForNamePKc
	mov esi, eax
	mov [esp+0x4], ebx
	mov [esp], eax
	call _Z21Scr_VerifyWeaponIndexiPKc
	mov [esp], esi
	call _Z15BG_GetWeaponDefj
	mov eax, [eax+0x13c]
	mov [esp], eax
	call _Z29BG_GetWeaponInventoryTypeName19weapInventoryType_t
	mov [esp], eax
	call _Z13Scr_AddStringPKc
	add esp, 0x10
	pop ebx
	pop esi
	pop ebp
	ret
	nop


;GScr_WeaponStartAmmo()
_Z20GScr_WeaponStartAmmov:
	push ebp
	mov ebp, esp
	push esi
	push ebx
	sub esp, 0x10
	mov dword [esp], 0x0
	call _Z13Scr_GetStringj
	mov ebx, eax
	mov [esp], eax
	call _Z23G_GetWeaponIndexForNamePKc
	mov esi, eax
	mov [esp+0x4], ebx
	mov [esp], eax
	call _Z21Scr_VerifyWeaponIndexiPKc
	mov [esp], esi
	call _Z15BG_GetWeaponDefj
	mov eax, [eax+0x320]
	mov [esp], eax
	call _Z10Scr_AddInti
	add esp, 0x10
	pop ebx
	pop esi
	pop ebp
	ret
	nop


;GScr_WeaponMaxAmmo()
_Z18GScr_WeaponMaxAmmov:
	push ebp
	mov ebp, esp
	push esi
	push ebx
	sub esp, 0x10
	mov dword [esp], 0x0
	call _Z13Scr_GetStringj
	mov ebx, eax
	mov [esp], eax
	call _Z23G_GetWeaponIndexForNamePKc
	mov esi, eax
	mov [esp+0x4], ebx
	mov [esp], eax
	call _Z21Scr_VerifyWeaponIndexiPKc
	mov [esp], esi
	call _Z15BG_GetWeaponDefj
	mov eax, [eax+0x334]
	mov [esp], eax
	call _Z10Scr_AddInti
	add esp, 0x10
	pop ebx
	pop esi
	pop ebp
	ret
	nop


;GScr_WeaponAltWeaponName()
_Z24GScr_WeaponAltWeaponNamev:
	push ebp
	mov ebp, esp
	push esi
	push ebx
	sub esp, 0x10
	mov dword [esp], 0x0
	call _Z13Scr_GetStringj
	mov ebx, eax
	mov [esp], eax
	call _Z23G_GetWeaponIndexForNamePKc
	mov esi, eax
	mov [esp+0x4], ebx
	mov [esp], eax
	call _Z21Scr_VerifyWeaponIndexiPKc
	mov [esp], esi
	call _Z15BG_GetWeaponDefj
	mov eax, [eax+0x540]
	test eax, eax
	jnz _Z24GScr_WeaponAltWeaponNamev_10
	mov eax, scr_const
	movzx eax, word [eax+0x58]
	mov [esp], eax
	call _Z18Scr_AddConstStringj
	add esp, 0x10
	pop ebx
	pop esi
	pop ebp
	ret
_Z24GScr_WeaponAltWeaponNamev_10:
	mov [esp], eax
	call _Z15BG_GetWeaponDefj
	mov eax, [eax]
	mov [esp], eax
	call _Z13Scr_AddStringPKc
	add esp, 0x10
	pop ebx
	pop esi
	pop ebp
	ret
	nop


;GScr_IsPlayer()
_Z13GScr_IsPlayerv:
	push ebp
	mov ebp, esp
	sub esp, 0x18
	mov dword [esp], 0x0
	call _Z11Scr_GetTypej
	sub eax, 0x1
	jz _Z13GScr_IsPlayerv_10
_Z13GScr_IsPlayerv_20:
	mov dword [esp], 0x0
	call _Z10Scr_AddInti
	leave
	ret
_Z13GScr_IsPlayerv_10:
	mov dword [esp], 0x0
	call _Z18Scr_GetPointerTypej
	cmp eax, 0x14
	jnz _Z13GScr_IsPlayerv_20
	mov dword [esp], 0x0
	call _Z13Scr_GetEntityj
	mov ecx, [eax+0x15c]
	test ecx, ecx
	jz _Z13GScr_IsPlayerv_20
	mov dword [esp], 0x1
	call _Z10Scr_AddInti
	leave
	ret


;GScr_IsPlayerNumber()
_Z19GScr_IsPlayerNumberv:
	push ebp
	mov ebp, esp
	sub esp, 0x18
	mov dword [esp], 0x0
	call _Z10Scr_GetIntj
	cmp eax, 0x3f
	jbe _Z19GScr_IsPlayerNumberv_10
	mov dword [esp], 0x0
	call _Z10Scr_AddInti
	leave
	ret
_Z19GScr_IsPlayerNumberv_10:
	mov dword [esp], 0x1
	call _Z10Scr_AddInti
	leave
	ret
	nop


;GScr_SetWinningPlayer()
_Z21GScr_SetWinningPlayerv:
	push ebp
	mov ebp, esp
	push esi
	push ebx
	sub esp, 0x410
	mov dword [esp], 0x0
	call _Z13Scr_GetEntityj
	mov ebx, [eax]
	add ebx, 0x1
	mov dword [esp+0x8], 0x400
	lea esi, [ebp-0x408]
	mov [esp+0x4], esi
	mov dword [esp], 0x13
	call _Z18SV_GetConfigstringiPci
	mov [esp+0x4], ebx
	mov dword [esp], _cstring_i
	call _Z2vaPKcz
	mov ebx, eax
	mov dword [esp+0x4], _cstring_winner
	mov [esp], esi
	call _Z16Info_ValueForKeyPKcS0_
	mov [esp+0x4], ebx
	mov [esp], eax
	call _Z9I_stricmpPKcS0_
	test eax, eax
	jz _Z21GScr_SetWinningPlayerv_10
	mov [esp+0x8], ebx
	mov dword [esp+0x4], _cstring_winner
	mov [esp], esi
	call _Z19Info_SetValueForKeyPcPKcS1_
	mov [esp+0x4], esi
	mov dword [esp], 0x13
	call _Z18SV_SetConfigstringiPKc
_Z21GScr_SetWinningPlayerv_10:
	add esp, 0x410
	pop ebx
	pop esi
	pop ebp
	ret


;GScr_SetWinningTeam()
_Z19GScr_SetWinningTeamv:
	push ebp
	mov ebp, esp
	push esi
	push ebx
	sub esp, 0x410
	mov dword [esp], 0x0
	call _Z18Scr_GetConstStringj
	mov edx, scr_const
	cmp ax, [edx+0xc]
	jz _Z19GScr_SetWinningTeamv_10
	cmp ax, [edx+0xe]
	jz _Z19GScr_SetWinningTeamv_20
	cmp ax, [edx+0x58]
	jz _Z19GScr_SetWinningTeamv_30
	movzx eax, ax
	mov [esp], eax
	call _Z18SL_ConvertToStringj
	mov [esp+0x4], eax
	mov dword [esp], _cstring_illegal_team_str
	call _Z2vaPKcz
	mov [esp+0x4], eax
	mov dword [esp], 0x0
	call _Z14Scr_ParamErrorjPKc
_Z19GScr_SetWinningTeamv_40:
	add esp, 0x410
	pop ebx
	pop esi
	pop ebp
	ret
_Z19GScr_SetWinningTeamv_30:
	xor ebx, ebx
_Z19GScr_SetWinningTeamv_50:
	mov dword [esp+0x8], 0x400
	lea esi, [ebp-0x408]
	mov [esp+0x4], esi
	mov dword [esp], 0x13
	call _Z18SV_GetConfigstringiPci
	mov [esp+0x4], ebx
	mov dword [esp], _cstring_i
	call _Z2vaPKcz
	mov ebx, eax
	mov dword [esp+0x4], _cstring_winner
	mov [esp], esi
	call _Z16Info_ValueForKeyPKcS0_
	mov [esp+0x4], ebx
	mov [esp], eax
	call _Z9I_stricmpPKcS0_
	test eax, eax
	jz _Z19GScr_SetWinningTeamv_40
	mov [esp+0x8], ebx
	mov dword [esp+0x4], _cstring_winner
	mov [esp], esi
	call _Z19Info_SetValueForKeyPcPKcS1_
	mov [esp+0x4], esi
	mov dword [esp], 0x13
	call _Z18SV_SetConfigstringiPKc
	add esp, 0x410
	pop ebx
	pop esi
	pop ebp
	ret
_Z19GScr_SetWinningTeamv_20:
	mov ebx, 0xffffffff
	jmp _Z19GScr_SetWinningTeamv_50
_Z19GScr_SetWinningTeamv_10:
	mov ebx, 0xfffffffe
	jmp _Z19GScr_SetWinningTeamv_50


;GScr_Announcement()
_Z17GScr_Announcementv:
	push ebp
	mov ebp, esp
	push ebx
	sub esp, 0x424
	call _Z15Scr_GetNumParamv
	mov dword [esp+0x10], 0x400
	lea ebx, [ebp-0x408]
	mov [esp+0xc], ebx
	mov dword [esp+0x8], _cstring_announcement
	sub eax, 0x1
	mov [esp+0x4], eax
	mov dword [esp], 0x0
	call _Z26Scr_ConstructMessageStringiiPKcPcj
	mov [esp+0x8], ebx
	mov dword [esp+0x4], 0x63
	mov dword [esp], _cstring_c_s_2
	call _Z2vaPKcz
	mov [esp+0x8], eax
	mov dword [esp+0x4], 0x0
	mov dword [esp], 0xffffffff
	call _Z24SV_GameSendServerCommandi11svscmd_typePKc
	add esp, 0x424
	pop ebx
	pop ebp
	ret
	nop


;GScr_ClientAnnouncement()
_Z23GScr_ClientAnnouncementv:
	push ebp
	mov ebp, esp
	push esi
	push ebx
	sub esp, 0x420
	mov dword [esp], 0x0
	call _Z13Scr_GetEntityj
	mov esi, eax
	call _Z15Scr_GetNumParamv
	mov dword [esp+0x10], 0x400
	lea ebx, [ebp-0x408]
	mov [esp+0xc], ebx
	mov dword [esp+0x8], _cstring_announcement
	sub eax, 0x1
	mov [esp+0x4], eax
	mov dword [esp], 0x1
	call _Z26Scr_ConstructMessageStringiiPKcPcj
	mov [esp+0x8], ebx
	mov dword [esp+0x4], 0x63
	mov dword [esp], _cstring_c_s_2
	call _Z2vaPKcz
	mov [esp+0x8], eax
	mov dword [esp+0x4], 0x0
	mov eax, [esi]
	mov [esp], eax
	call _Z24SV_GameSendServerCommandi11svscmd_typePKc
	add esp, 0x420
	pop ebx
	pop esi
	pop ebp
	ret
	nop


;GScr_GetTeamScore()
_Z17GScr_GetTeamScorev:
	push ebp
	mov ebp, esp
	push esi
	push ebx
	sub esp, 0x10
	mov dword [esp], 0x0
	call _Z18Scr_GetConstStringj
	mov ebx, eax
	mov esi, scr_const
	cmp ax, [esi+0xc]
	jz _Z17GScr_GetTeamScorev_10
	cmp ax, [esi+0xe]
	jz _Z17GScr_GetTeamScorev_20
	movzx eax, ax
	mov [esp], eax
	call _Z18SL_ConvertToStringj
	mov [esp+0x4], eax
	mov dword [esp], _cstring_illegal_team_str1
	call _Z2vaPKcz
	mov [esp], eax
	call _Z9Scr_ErrorPKc
	cmp bx, [esi+0xc]
	jz _Z17GScr_GetTeamScorev_10
_Z17GScr_GetTeamScorev_20:
	mov eax, level
	mov eax, [eax+0x200]
	mov [esp], eax
	call _Z10Scr_AddInti
	add esp, 0x10
	pop ebx
	pop esi
	pop ebp
	ret
_Z17GScr_GetTeamScorev_10:
	mov eax, level
	mov eax, [eax+0x204]
	mov [esp], eax
	call _Z10Scr_AddInti
	add esp, 0x10
	pop ebx
	pop esi
	pop ebp
	ret
	nop


;GScr_SetTeamScore()
_Z17GScr_SetTeamScorev:
	push ebp
	mov ebp, esp
	push ebx
	sub esp, 0x14
	mov dword [esp], 0x0
	call _Z18Scr_GetConstStringj
	mov ebx, eax
	mov eax, scr_const
	cmp bx, [eax+0xc]
	jz _Z17GScr_SetTeamScorev_10
	cmp bx, [eax+0xe]
	jz _Z17GScr_SetTeamScorev_10
	movzx eax, bx
	mov [esp], eax
	call _Z18SL_ConvertToStringj
	mov [esp+0x4], eax
	mov dword [esp], _cstring_illegal_team_str1
	call _Z2vaPKcz
	mov [esp], eax
	call _Z9Scr_ErrorPKc
_Z17GScr_SetTeamScorev_10:
	mov dword [esp], 0x1
	call _Z10Scr_GetIntj
	mov edx, eax
	mov eax, scr_const
	cmp bx, [eax+0xc]
	jz _Z17GScr_SetTeamScorev_20
	mov eax, level
	mov [eax+0x200], edx
	mov [esp+0x8], edx
	mov dword [esp+0x4], 0x47
_Z17GScr_SetTeamScorev_30:
	mov dword [esp], _cstring_c_i
	call _Z2vaPKcz
	mov [esp+0x8], eax
	mov dword [esp+0x4], 0x0
	mov dword [esp], 0xffffffff
	call _Z24SV_GameSendServerCommandi11svscmd_typePKc
	mov eax, level
	mov dword [eax+0x210], 0x1
	add esp, 0x14
	pop ebx
	pop ebp
	ret
_Z17GScr_SetTeamScorev_20:
	mov eax, level
	mov [eax+0x204], edx
	mov [esp+0x8], edx
	mov dword [esp+0x4], 0x48
	jmp _Z17GScr_SetTeamScorev_30
	nop


;GScr_SetClientNameMode()
_Z22GScr_SetClientNameModev:
	push ebp
	mov ebp, esp
	sub esp, 0x18
	mov dword [esp], 0x0
	call _Z18Scr_GetConstStringj
	mov edx, scr_const
	cmp ax, [edx+0x11e]
	jz _Z22GScr_SetClientNameModev_10
	cmp ax, [edx+0x132]
	jz _Z22GScr_SetClientNameModev_20
	mov dword [esp], _cstring_unknown_mode
	call _Z9Scr_ErrorPKc
	leave
	ret
_Z22GScr_SetClientNameModev_20:
	mov eax, level
	mov dword [eax+0x218], 0x1
	leave
	ret
_Z22GScr_SetClientNameModev_10:
	mov eax, level
	mov dword [eax+0x218], 0x0
	leave
	ret


;GScr_UpdateClientNames()
_Z22GScr_UpdateClientNamesv:
	push ebp
	mov ebp, esp
	push edi
	push esi
	push ebx
	sub esp, 0x4c
	mov edi, level
	mov eax, [edi+0x218]
	test eax, eax
	jz _Z22GScr_UpdateClientNamesv_10
_Z22GScr_UpdateClientNamesv_50:
	mov ebx, [edi]
	mov esi, [edi+0x1e4]
	test esi, esi
	jle _Z22GScr_UpdateClientNamesv_20
	xor esi, esi
	mov [ebp-0x40], edi
	jmp _Z22GScr_UpdateClientNamesv_30
_Z22GScr_UpdateClientNamesv_40:
	add esi, 0x1
	add ebx, 0x3184
	mov eax, [ebp-0x40]
	cmp esi, [eax+0x1e4]
	jge _Z22GScr_UpdateClientNamesv_20
_Z22GScr_UpdateClientNamesv_30:
	cmp dword [ebx+0x2f8c], 0x2
	jnz _Z22GScr_UpdateClientNamesv_40
	lea eax, [ebx+0x2fd8]
	mov [ebp-0x3c], eax
	lea edi, [ebx+0x3048]
	mov [esp+0x4], eax
	mov [esp], edi
	call strcmp
	test eax, eax
	jz _Z22GScr_UpdateClientNamesv_40
	mov dword [esp+0x8], 0x20
	mov [esp+0x4], edi
	lea eax, [ebp-0x38]
	mov [esp], eax
	call _Z10I_strncpyzPcPKci
	mov dword [esp+0x8], 0x10
	mov eax, [ebp-0x3c]
	mov [esp+0x4], eax
	mov [esp], edi
	call _Z10I_strncpyzPcPKci
	mov [esp], esi
	call _Z21ClientUserinfoChangedi
	add esi, 0x1
	add ebx, 0x3184
	mov eax, [ebp-0x40]
	cmp esi, [eax+0x1e4]
	jl _Z22GScr_UpdateClientNamesv_30
_Z22GScr_UpdateClientNamesv_20:
	add esp, 0x4c
	pop ebx
	pop esi
	pop edi
	pop ebp
	ret
_Z22GScr_UpdateClientNamesv_10:
	mov dword [esp], _cstring_only_works_in_ma
	call _Z9Scr_ErrorPKc
	jmp _Z22GScr_UpdateClientNamesv_50
	nop


;GScr_GetTeamPlayersAlive()
_Z24GScr_GetTeamPlayersAlivev:
	push ebp
	mov ebp, esp
	push edi
	push esi
	push ebx
	sub esp, 0x1c
	mov dword [esp], 0x0
	call _Z18Scr_GetConstStringj
	mov ebx, eax
	mov esi, scr_const
	cmp ax, [esi+0xc]
	jz _Z24GScr_GetTeamPlayersAlivev_10
	cmp ax, [esi+0xe]
	jz _Z24GScr_GetTeamPlayersAlivev_20
	movzx eax, ax
	mov [esp], eax
	call _Z18SL_ConvertToStringj
	mov [esp+0x4], eax
	mov dword [esp], _cstring_illegal_team_str1
	call _Z2vaPKcz
	mov [esp], eax
	call _Z9Scr_ErrorPKc
	cmp bx, [esi+0xc]
	jz _Z24GScr_GetTeamPlayersAlivev_10
_Z24GScr_GetTeamPlayersAlivev_20:
	mov edi, 0x1
_Z24GScr_GetTeamPlayersAlivev_70:
	mov eax, g_maxclients
	mov eax, [eax]
	mov ebx, [eax+0xc]
	test ebx, ebx
	jg _Z24GScr_GetTeamPlayersAlivev_30
	xor esi, esi
_Z24GScr_GetTeamPlayersAlivev_50:
	mov [esp], esi
	call _Z10Scr_AddInti
	add esp, 0x1c
	pop ebx
	pop esi
	pop edi
	pop ebp
	ret
_Z24GScr_GetTeamPlayersAlivev_30:
	xor ecx, ecx
	xor esi, esi
	mov edx, g_entities
	add edx, 0x100
	jmp _Z24GScr_GetTeamPlayersAlivev_40
_Z24GScr_GetTeamPlayersAlivev_60:
	add ecx, 0x1
	add edx, 0x274
	cmp ecx, ebx
	jz _Z24GScr_GetTeamPlayersAlivev_50
_Z24GScr_GetTeamPlayersAlivev_40:
	cmp byte [edx], 0x0
	jz _Z24GScr_GetTeamPlayersAlivev_60
	mov eax, [edx+0x5c]
	cmp edi, [eax+0x3010]
	jnz _Z24GScr_GetTeamPlayersAlivev_60
	lea eax, [esi+0x1]
	cmp dword [edx+0xa0], 0x1
	cmovge esi, eax
	jmp _Z24GScr_GetTeamPlayersAlivev_60
_Z24GScr_GetTeamPlayersAlivev_10:
	mov edi, 0x2
	jmp _Z24GScr_GetTeamPlayersAlivev_70


;GScr_Objective_Team()
_Z19GScr_Objective_Teamv:
	push ebp
	mov ebp, esp
	push ebx
	sub esp, 0x14
	mov dword [esp], 0x0
	call _Z10Scr_GetIntj
	mov ebx, eax
	cmp eax, 0xf
	ja _Z19GScr_Objective_Teamv_10
_Z19GScr_Objective_Teamv_50:
	lea eax, [ebx*4]
	shl ebx, 0x5
	sub ebx, eax
	mov eax, level
	add eax, 0x24
	add ebx, eax
	mov dword [esp], 0x1
	call _Z18Scr_GetConstStringj
	mov edx, scr_const
	cmp ax, [edx+0xc]
	jz _Z19GScr_Objective_Teamv_20
	cmp ax, [edx+0xe]
	jz _Z19GScr_Objective_Teamv_30
	cmp ax, [edx+0x58]
	jz _Z19GScr_Objective_Teamv_40
	movzx eax, ax
	mov [esp], eax
	call _Z18SL_ConvertToStringj
	mov [esp+0x4], eax
	mov dword [esp], _cstring_illegal_team_str
	call _Z2vaPKcz
	mov [esp+0x4], eax
	mov dword [esp], 0x1
	call _Z14Scr_ParamErrorjPKc
	add esp, 0x14
	pop ebx
	pop ebp
	ret
_Z19GScr_Objective_Teamv_40:
	mov dword [ebx+0x14], 0x0
	add esp, 0x14
	pop ebx
	pop ebp
	ret
_Z19GScr_Objective_Teamv_10:
	mov dword [esp+0x8], 0xf
	mov [esp+0x4], eax
	mov dword [esp], _cstring_index_i_is_an_il
	call _Z2vaPKcz
	mov [esp+0x4], eax
	mov dword [esp], 0x0
	call _Z14Scr_ParamErrorjPKc
	jmp _Z19GScr_Objective_Teamv_50
_Z19GScr_Objective_Teamv_20:
	mov dword [ebx+0x14], 0x2
	add esp, 0x14
	pop ebx
	pop ebp
	ret
_Z19GScr_Objective_Teamv_30:
	mov dword [ebx+0x14], 0x1
	add esp, 0x14
	pop ebx
	pop ebp
	ret
	nop


;GScr_LogPrint()
_Z13GScr_LogPrintv:
	push ebp
	mov ebp, esp
	push edi
	push esi
	push ebx
	sub esp, 0x42c
	mov byte [ebp-0x418], 0x0
	call _Z15Scr_GetNumParamv
	mov [ebp-0x41c], eax
	test eax, eax
	jg _Z13GScr_LogPrintv_10
_Z13GScr_LogPrintv_20:
	lea eax, [ebp-0x418]
	mov [esp], eax
	call _Z11G_LogPrintfPKcz
	add esp, 0x42c
	pop ebx
	pop esi
	pop edi
	pop ebp
	ret
_Z13GScr_LogPrintv_10:
	xor esi, esi
	xor ebx, ebx
_Z13GScr_LogPrintv_30:
	mov [esp], ebx
	call _Z13Scr_GetStringj
	mov edx, eax
	cld
	mov ecx, 0xffffffff
	mov edi, eax
	xor eax, eax
	repne scasb
	not ecx
	lea esi, [ecx+esi-0x1]
	cmp esi, 0x3ff
	jg _Z13GScr_LogPrintv_20
	mov [esp+0x8], edx
	mov dword [esp+0x4], 0x400
	lea eax, [ebp-0x418]
	mov [esp], eax
	call _Z9I_strncatPciPKc
	add ebx, 0x1
	cmp [ebp-0x41c], ebx
	jnz _Z13GScr_LogPrintv_30
	lea eax, [ebp-0x418]
	mov [esp], eax
	call _Z11G_LogPrintfPKcz
	add esp, 0x42c
	pop ebx
	pop esi
	pop edi
	pop ebp
	ret
	nop


;GScr_WorldEntNumber()
_Z19GScr_WorldEntNumberv:
	push ebp
	mov ebp, esp
	sub esp, 0x18
	mov dword [esp], 0x3fe
	call _Z10Scr_AddInti
	leave
	ret


;GScr_Obituary()
_Z13GScr_Obituaryv:
	push ebp
	mov ebp, esp
	push edi
	push esi
	push ebx
	sub esp, 0x2c
	mov dword [esp], 0x2
	call _Z13Scr_GetStringj
	mov [esp], eax
	call _Z23G_GetWeaponIndexForNamePKc
	mov [ebp-0x1c], eax
	mov dword [esp], 0x3
	call _Z29G_MeansOfDeathFromScriptParami
	mov esi, eax
	mov dword [esp], 0x0
	call _Z13Scr_GetEntityj
	mov ebx, eax
	mov dword [esp+0x4], 0x42
	mov eax, vec3_origin
	mov [esp], eax
	call _Z12G_TempEntityPKfi
	mov edi, eax
	mov eax, [ebx]
	mov [edi+0x74], eax
	mov dword [esp], 0x1
	call _Z11Scr_GetTypej
	sub eax, 0x1
	jz _Z13GScr_Obituaryv_10
_Z13GScr_Obituaryv_30:
	mov dword [edi+0x78], 0x3fe
_Z13GScr_Obituaryv_40:
	mov byte [edi+0xf6], 0x8
	cmp esi, 0xf
	jz _Z13GScr_Obituaryv_20
	cmp esi, 0x7
	jz _Z13GScr_Obituaryv_20
	cmp esi, 0x8
	jz _Z13GScr_Obituaryv_20
	cmp esi, 0xc
	jz _Z13GScr_Obituaryv_20
	cmp esi, 0xb
	jz _Z13GScr_Obituaryv_20
	cmp esi, 0x9
	jz _Z13GScr_Obituaryv_20
	mov eax, [ebp-0x1c]
	mov [edi+0x9c], eax
	add esp, 0x2c
	pop ebx
	pop esi
	pop edi
	pop ebp
	ret
_Z13GScr_Obituaryv_20:
	or esi, 0x80
	mov [edi+0x9c], esi
	add esp, 0x2c
	pop ebx
	pop esi
	pop edi
	pop ebp
	ret
_Z13GScr_Obituaryv_10:
	mov dword [esp], 0x1
	call _Z18Scr_GetPointerTypej
	cmp eax, 0x14
	jnz _Z13GScr_Obituaryv_30
	mov dword [esp], 0x1
	call _Z13Scr_GetEntityj
	mov eax, [eax]
	mov [edi+0x78], eax
	jmp _Z13GScr_Obituaryv_40


;GScr_positionWouldTelefrag()
_Z26GScr_positionWouldTelefragv:
	push ebp
	mov ebp, esp
	push edi
	push esi
	push ebx
	sub esp, 0x105c
	lea eax, [ebp-0x3c]
	mov [esp+0x4], eax
	mov dword [esp], 0x0
	call _Z13Scr_GetVectorjPf
	movss xmm3, dword [ebp-0x3c]
	mov eax, playerMins
	movaps xmm0, xmm3
	addss xmm0, [eax]
	movss [ebp-0x24], xmm0
	movss xmm2, dword [ebp-0x38]
	movaps xmm0, xmm2
	addss xmm0, [eax+0x4]
	movss [ebp-0x20], xmm0
	movss xmm1, dword [ebp-0x34]
	movaps xmm0, xmm1
	addss xmm0, [eax+0x8]
	movss [ebp-0x1c], xmm0
	mov eax, playerMaxs
	addss xmm3, [eax]
	movss [ebp-0x30], xmm3
	addss xmm2, [eax+0x4]
	movss [ebp-0x2c], xmm2
	addss xmm1, [eax+0x8]
	movss [ebp-0x28], xmm1
	mov dword [esp+0x10], 0x2000000
	mov dword [esp+0xc], 0x400
	lea eax, [ebp-0x103c]
	mov [esp+0x8], eax
	lea eax, [ebp-0x30]
	mov [esp+0x4], eax
	lea eax, [ebp-0x24]
	mov [esp], eax
	call _Z15CM_AreaEntitiesPKfS0_Piii
	mov esi, eax
	test eax, eax
	jle _Z26GScr_positionWouldTelefragv_10
	xor ebx, ebx
	mov edi, g_entities
_Z26GScr_positionWouldTelefragv_40:
	mov eax, [ebp+ebx*4-0x103c]
	lea edx, [eax+eax*8]
	lea edx, [eax+edx*2]
	mov ecx, edx
	shl ecx, 0x5
	add edx, ecx
	add edx, eax
	mov eax, [edi+edx+0x15c]
	test eax, eax
	jz _Z26GScr_positionWouldTelefragv_20
	cmp dword [eax+0x4], 0x6
	jle _Z26GScr_positionWouldTelefragv_30
_Z26GScr_positionWouldTelefragv_20:
	add ebx, 0x1
	cmp esi, ebx
	jnz _Z26GScr_positionWouldTelefragv_40
_Z26GScr_positionWouldTelefragv_10:
	mov dword [esp], 0x0
	call _Z10Scr_AddInti
	add esp, 0x105c
	pop ebx
	pop esi
	pop edi
	pop ebp
	ret
_Z26GScr_positionWouldTelefragv_30:
	mov dword [esp], 0x1
	call _Z10Scr_AddInti
	add esp, 0x105c
	pop ebx
	pop esi
	pop edi
	pop ebp
	ret
	nop


;GScr_getStartTime()
_Z17GScr_getStartTimev:
	push ebp
	mov ebp, esp
	sub esp, 0x18
	mov eax, level
	mov eax, [eax+0x1f8]
	mov [esp], eax
	call _Z10Scr_AddInti
	leave
	ret
	nop


;GScr_PrecacheMenu()
_Z17GScr_PrecacheMenuv:
	push ebp
	mov ebp, esp
	push edi
	push esi
	push ebx
	sub esp, 0x42c
	mov dword [esp], 0x0
	call _Z13Scr_GetStringj
	mov [ebp-0x41c], eax
	mov ebx, 0x7b2
	lea edi, [ebp-0x418]
	jmp _Z17GScr_PrecacheMenuv_10
_Z17GScr_PrecacheMenuv_30:
	add ebx, 0x1
	cmp ebx, 0x7d2
	jz _Z17GScr_PrecacheMenuv_20
_Z17GScr_PrecacheMenuv_10:
	mov dword [esp+0x8], 0x400
	mov [esp+0x4], edi
	mov [esp], ebx
	call _Z18SV_GetConfigstringiPci
	mov eax, [ebp-0x41c]
	mov [esp+0x4], eax
	mov [esp], edi
	call _Z9I_stricmpPKcS0_
	test eax, eax
	jnz _Z17GScr_PrecacheMenuv_30
	mov eax, [ebp-0x41c]
	mov [esp+0x8], eax
	mov dword [esp+0x4], _cstring_script_tried_to_
	mov dword [esp], 0x17
	call _Z11Com_DPrintfiPKcz
	add esp, 0x42c
	pop ebx
	pop esi
	pop edi
	pop ebp
	ret
_Z17GScr_PrecacheMenuv_20:
	xor esi, esi
	jmp _Z17GScr_PrecacheMenuv_40
_Z17GScr_PrecacheMenuv_60:
	add esi, 0x1
	cmp esi, 0x20
	jz _Z17GScr_PrecacheMenuv_50
_Z17GScr_PrecacheMenuv_40:
	lea ebx, [esi+0x7b2]
	mov dword [esp+0x8], 0x400
	mov [esp+0x4], edi
	mov [esp], ebx
	call _Z18SV_GetConfigstringiPci
	cmp byte [ebp-0x418], 0x0
	jnz _Z17GScr_PrecacheMenuv_60
	mov eax, [ebp-0x41c]
	mov [esp+0x4], eax
	mov [esp], ebx
	call _Z18SV_SetConfigstringiPKc
_Z17GScr_PrecacheMenuv_70:
	add esp, 0x42c
	pop ebx
	pop esi
	pop edi
	pop ebp
	ret
_Z17GScr_PrecacheMenuv_50:
	mov dword [esp+0x4], 0x20
	mov dword [esp], _cstring_too_many_menus_p
	call _Z2vaPKcz
	mov [esp], eax
	call _Z9Scr_ErrorPKc
	mov ebx, 0x7d2
	mov eax, [ebp-0x41c]
	mov [esp+0x4], eax
	mov [esp], ebx
	call _Z18SV_SetConfigstringiPKc
	jmp _Z17GScr_PrecacheMenuv_70


;GScr_PrecacheStatusIcon()
_Z23GScr_PrecacheStatusIconv:
	push ebp
	mov ebp, esp
	push edi
	push esi
	push ebx
	sub esp, 0x42c
	mov dword [esp], 0x0
	call _Z13Scr_GetStringj
	mov [ebp-0x41c], eax
	mov ebx, 0x8d3
	lea edi, [ebp-0x418]
_Z23GScr_PrecacheStatusIconv_20:
	mov dword [esp+0x8], 0x400
	mov [esp+0x4], edi
	mov [esp], ebx
	call _Z18SV_GetConfigstringiPci
	mov eax, [ebp-0x41c]
	mov [esp+0x4], eax
	mov [esp], edi
	call _Z9I_stricmpPKcS0_
	test eax, eax
	jz _Z23GScr_PrecacheStatusIconv_10
	add ebx, 0x1
	cmp ebx, 0x8db
	jnz _Z23GScr_PrecacheStatusIconv_20
	xor esi, esi
_Z23GScr_PrecacheStatusIconv_40:
	lea ebx, [esi+0x8d3]
	mov dword [esp+0x8], 0x400
	mov [esp+0x4], edi
	mov [esp], ebx
	call _Z18SV_GetConfigstringiPci
	cmp byte [ebp-0x418], 0x0
	jz _Z23GScr_PrecacheStatusIconv_30
	add esi, 0x1
	cmp esi, 0x8
	jnz _Z23GScr_PrecacheStatusIconv_40
	mov dword [esp+0x4], 0x8
	mov dword [esp], _cstring_too_many_player_
	call _Z2vaPKcz
	mov [esp], eax
	call _Z9Scr_ErrorPKc
	mov ebx, 0x8db
_Z23GScr_PrecacheStatusIconv_30:
	mov eax, [ebp-0x41c]
	mov [esp+0x4], eax
	mov [esp], ebx
	call _Z18SV_SetConfigstringiPKc
	add esp, 0x42c
	pop ebx
	pop esi
	pop edi
	pop ebp
	ret
_Z23GScr_PrecacheStatusIconv_10:
	mov eax, [ebp-0x41c]
	mov [esp+0x8], eax
	mov dword [esp+0x4], _cstring_script_tried_to_1
	mov dword [esp], 0x17
	call _Z11Com_DPrintfiPKcz
	add esp, 0x42c
	pop ebx
	pop esi
	pop edi
	pop ebp
	ret


;GScr_PrecacheHeadIcon()
_Z21GScr_PrecacheHeadIconv:
	push ebp
	mov ebp, esp
	push edi
	push esi
	push ebx
	sub esp, 0x42c
	mov dword [esp], 0x0
	call _Z13Scr_GetStringj
	mov [ebp-0x41c], eax
	mov ebx, 0x8db
	lea edi, [ebp-0x418]
_Z21GScr_PrecacheHeadIconv_20:
	mov dword [esp+0x8], 0x400
	mov [esp+0x4], edi
	mov [esp], ebx
	call _Z18SV_GetConfigstringiPci
	mov eax, [ebp-0x41c]
	mov [esp+0x4], eax
	mov [esp], edi
	call _Z9I_stricmpPKcS0_
	test eax, eax
	jz _Z21GScr_PrecacheHeadIconv_10
	add ebx, 0x1
	cmp ebx, 0x8ea
	jnz _Z21GScr_PrecacheHeadIconv_20
	xor esi, esi
_Z21GScr_PrecacheHeadIconv_40:
	lea ebx, [esi+0x8db]
	mov dword [esp+0x8], 0x400
	mov [esp+0x4], edi
	mov [esp], ebx
	call _Z18SV_GetConfigstringiPci
	cmp byte [ebp-0x418], 0x0
	jz _Z21GScr_PrecacheHeadIconv_30
	add esi, 0x1
	cmp esi, 0xf
	jnz _Z21GScr_PrecacheHeadIconv_40
	mov dword [esp+0x4], 0xf
	mov dword [esp], _cstring_too_many_player_1
	call _Z2vaPKcz
	mov [esp], eax
	call _Z9Scr_ErrorPKc
	mov ebx, 0x8ea
_Z21GScr_PrecacheHeadIconv_30:
	mov eax, [ebp-0x41c]
	mov [esp+0x4], eax
	mov [esp], ebx
	call _Z18SV_SetConfigstringiPKc
	add esp, 0x42c
	pop ebx
	pop esi
	pop edi
	pop ebp
	ret
_Z21GScr_PrecacheHeadIconv_10:
	mov eax, [ebp-0x41c]
	mov [esp+0x8], eax
	mov dword [esp+0x4], _cstring_script_tried_to_2
	mov dword [esp], 0x17
	call _Z11Com_DPrintfiPKcz
	add esp, 0x42c
	pop ebx
	pop esi
	pop edi
	pop ebp
	ret


;GScr_PrecacheLocationSelector()
_Z29GScr_PrecacheLocationSelectorv:
	push ebp
	mov ebp, esp
	push edi
	push esi
	push ebx
	sub esp, 0x42c
	mov dword [esp], 0x0
	call _Z13Scr_GetStringj
	mov [ebp-0x41c], eax
	mov ebx, 0x33b
	lea edi, [ebp-0x418]
_Z29GScr_PrecacheLocationSelectorv_20:
	mov dword [esp+0x8], 0x400
	mov [esp+0x4], edi
	mov [esp], ebx
	call _Z18SV_GetConfigstringiPci
	mov eax, [ebp-0x41c]
	mov [esp+0x4], eax
	mov [esp], edi
	call _Z9I_stricmpPKcS0_
	test eax, eax
	jz _Z29GScr_PrecacheLocationSelectorv_10
	add ebx, 0x1
	cmp ebx, 0x33e
	jnz _Z29GScr_PrecacheLocationSelectorv_20
	xor esi, esi
_Z29GScr_PrecacheLocationSelectorv_40:
	lea ebx, [esi+0x33b]
	mov dword [esp+0x8], 0x400
	mov [esp+0x4], edi
	mov [esp], ebx
	call _Z18SV_GetConfigstringiPci
	cmp byte [ebp-0x418], 0x0
	jz _Z29GScr_PrecacheLocationSelectorv_30
	add esi, 0x1
	cmp esi, 0x3
	jnz _Z29GScr_PrecacheLocationSelectorv_40
	mov dword [esp+0x4], 0x3
	mov dword [esp], _cstring_too_many_locatio
	call _Z2vaPKcz
	mov [esp], eax
	call _Z9Scr_ErrorPKc
	mov ebx, 0x33e
_Z29GScr_PrecacheLocationSelectorv_30:
	mov eax, [ebp-0x41c]
	mov [esp+0x4], eax
	mov [esp], ebx
	call _Z18SV_SetConfigstringiPKc
	add esp, 0x42c
	pop ebx
	pop esi
	pop edi
	pop ebp
	ret
_Z29GScr_PrecacheLocationSelectorv_10:
	mov eax, [ebp-0x41c]
	mov [esp+0x8], eax
	mov dword [esp+0x4], _cstring_script_tried_to_3
	mov dword [esp], 0x17
	call _Z11Com_DPrintfiPKcz
	add esp, 0x42c
	pop ebx
	pop esi
	pop edi
	pop ebp
	ret


;GScr_MapRestart()
_Z15GScr_MapRestartv:
	push ebp
	mov ebp, esp
	push ebx
	sub esp, 0x14
	mov ebx, level
	mov edx, [ebx+0x2ddc]
	test edx, edx
	jz _Z15GScr_MapRestartv_10
	mov eax, _cstring_map_restart_alre
	sub edx, 0x1
	mov edx, _cstring_exitlevel_alread
	cmovnz eax, edx
	mov [esp], eax
	call _Z9Scr_ErrorPKc
_Z15GScr_MapRestartv_10:
	mov dword [ebx+0x2ddc], 0x1
	mov dword [ebx+0x1540], 0x0
	call _Z15Scr_GetNumParamv
	test eax, eax
	jz _Z15GScr_MapRestartv_20
	mov dword [esp], 0x0
	call _Z10Scr_GetIntj
	mov [ebx+0x1540], eax
_Z15GScr_MapRestartv_20:
	mov dword [esp+0x4], _cstring_fast_restart
	mov dword [esp], 0x0
	call _Z12Cbuf_AddTextiPKc
	add esp, 0x14
	pop ebx
	pop ebp
	ret


;GScr_ExitLevel()
_Z14GScr_ExitLevelv:
	push ebp
	mov ebp, esp
	push ebx
	sub esp, 0x14
	mov ebx, level
	mov edx, [ebx+0x2ddc]
	test edx, edx
	jz _Z14GScr_ExitLevelv_10
	mov eax, _cstring_map_restart_alre
	sub edx, 0x1
	mov edx, _cstring_exitlevel_alread
	cmovnz eax, edx
	mov [esp], eax
	call _Z9Scr_ErrorPKc
_Z14GScr_ExitLevelv_10:
	mov dword [ebx+0x2ddc], 0x3
	mov dword [ebx+0x1540], 0x0
	call _Z15Scr_GetNumParamv
	test eax, eax
	jz _Z14GScr_ExitLevelv_20
	mov dword [esp], 0x0
	call _Z10Scr_GetIntj
	mov [ebx+0x1540], eax
_Z14GScr_ExitLevelv_20:
	call _Z11SV_MatchEndv
	add esp, 0x14
	pop ebx
	pop ebp
	jmp _Z9ExitLevelv
	nop


;GScr_AddTestClient()
_Z18GScr_AddTestClientv:
	push ebp
	mov ebp, esp
	sub esp, 0x18
	call _Z16SV_AddTestClientv
	test eax, eax
	jz _Z18GScr_AddTestClientv_10
	mov [esp], eax
	call _Z13Scr_AddEntityP9gentity_s
_Z18GScr_AddTestClientv_10:
	leave
	ret
	nop


;GScr_MakeDvarServerInfo()
_Z23GScr_MakeDvarServerInfov:
	push ebp
	mov ebp, esp
	push edi
	push esi
	push ebx
	sub esp, 0x83c
	mov dword [esp], 0x0
	call _Z13Scr_GetStringj
	mov [ebp-0x81c], eax
	mov [esp], eax
	call _Z12Dvar_FindVarPKc
	test eax, eax
	jz _Z23GScr_MakeDvarServerInfov_10
	mov dword [esp+0x4], 0x100
	mov [esp], eax
	call _Z13Dvar_AddFlagsPK6dvar_si
	add esp, 0x83c
	pop ebx
	pop esi
	pop edi
	pop ebp
	ret
_Z23GScr_MakeDvarServerInfov_10:
	mov dword [esp], 0x1
	call _Z11Scr_GetTypej
	cmp eax, 0x3
	jz _Z23GScr_MakeDvarServerInfov_20
	mov dword [esp], 0x1
	call _Z13Scr_GetStringj
	mov edi, eax
_Z23GScr_MakeDvarServerInfov_60:
	lea esi, [ebp-0x818]
	mov ebx, 0x1
	jmp _Z23GScr_MakeDvarServerInfov_30
_Z23GScr_MakeDvarServerInfov_50:
	movsx eax, al
	mov [esp], eax
	call _Z11I_CleanCharc
	mov edx, 0x27
	cmp al, 0x22
	cmovnz edx, eax
	mov [esi], dl
	add esi, 0x1
	add ebx, 0x1
	cmp ebx, 0x400
	jz _Z23GScr_MakeDvarServerInfov_40
_Z23GScr_MakeDvarServerInfov_30:
	movzx eax, byte [edi+ebx-0x1]
	test al, al
	jnz _Z23GScr_MakeDvarServerInfov_50
_Z23GScr_MakeDvarServerInfov_40:
	mov byte [esi], 0x0
	mov dword [esp+0xc], _cstring_script_defined_u
	mov dword [esp+0x8], 0x4100
	mov [esp+0x4], edi
	mov eax, [ebp-0x81c]
	mov [esp], eax
	call _Z19Dvar_RegisterStringPKcS0_tS0_
	add esp, 0x83c
	pop ebx
	pop esi
	pop edi
	pop ebp
	ret
_Z23GScr_MakeDvarServerInfov_20:
	call _Z15Scr_GetNumParamv
	mov dword [esp+0x10], 0x400
	lea ebx, [ebp-0x418]
	mov [esp+0xc], ebx
	mov dword [esp+0x8], _cstring_dvar_value
	sub eax, 0x1
	mov [esp+0x4], eax
	mov dword [esp], 0x1
	call _Z26Scr_ConstructMessageStringiiPKcPcj
	mov edi, ebx
	jmp _Z23GScr_MakeDvarServerInfov_60


;GScr_SetArchive()
_Z15GScr_SetArchivev:
	push ebp
	mov ebp, esp
	pop ebp
	ret
	nop


;GScr_AllClientsPrint()
_Z20GScr_AllClientsPrintv:
	push ebp
	mov ebp, esp
	sub esp, 0x18
	call _Z15Scr_GetNumParamv
	test eax, eax
	jnz _Z20GScr_AllClientsPrintv_10
	leave
	ret
_Z20GScr_AllClientsPrintv_10:
	mov dword [esp], 0x0
	call _Z13Scr_GetStringj
	mov [esp+0x8], eax
	mov dword [esp+0x4], 0x65
	mov dword [esp], _cstring_c_s
	call _Z2vaPKcz
	mov [esp+0x8], eax
	mov dword [esp+0x4], 0x0
	mov dword [esp], 0xffffffff
	call _Z24SV_GameSendServerCommandi11svscmd_typePKc
	leave
	ret
	nop


;GScr_ClientPrint()
_Z16GScr_ClientPrintv:
	push ebp
	mov ebp, esp
	push ebx
	sub esp, 0x14
	call _Z15Scr_GetNumParamv
	test eax, eax
	jz _Z16GScr_ClientPrintv_10
	mov dword [esp], 0x0
	call _Z13Scr_GetEntityj
	mov ebx, eax
	mov dword [esp], 0x1
	call _Z13Scr_GetStringj
	mov [esp+0x8], eax
	mov dword [esp+0x4], 0x65
	mov dword [esp], _cstring_c_s
	call _Z2vaPKcz
	mov [esp+0x8], eax
	mov dword [esp+0x4], 0x0
	sub ebx, g_entities
	sar ebx, 0x2
	imul eax, ebx, 0x2c0685b5
	mov [esp], eax
	call _Z24SV_GameSendServerCommandi11svscmd_typePKc
_Z16GScr_ClientPrintv_10:
	add esp, 0x14
	pop ebx
	pop ebp
	ret
	nop


;GScr_MapExists()
_Z14GScr_MapExistsv:
	push ebp
	mov ebp, esp
	sub esp, 0x18
	call _Z15Scr_GetNumParamv
	test eax, eax
	jnz _Z14GScr_MapExistsv_10
	leave
	ret
_Z14GScr_MapExistsv_10:
	mov dword [esp], 0x0
	call _Z13Scr_GetStringj
	mov [esp], eax
	call _Z12SV_MapExistsPKc
	test eax, eax
	jz _Z14GScr_MapExistsv_20
	mov dword [esp], 0x1
	call _Z10Scr_AddInti
	leave
	ret
_Z14GScr_MapExistsv_20:
	mov dword [esp], 0x0
	call _Z10Scr_AddInti
	leave
	ret
	nop


;GScr_IsValidGameType()
_Z20GScr_IsValidGameTypev:
	push ebp
	mov ebp, esp
	push edi
	push esi
	push ebx
	sub esp, 0x1c
	call _Z15Scr_GetNumParamv
	test eax, eax
	jnz _Z20GScr_IsValidGameTypev_10
_Z20GScr_IsValidGameTypev_60:
	add esp, 0x1c
	pop ebx
	pop esi
	pop edi
	pop ebp
	ret
_Z20GScr_IsValidGameTypev_10:
	mov dword [esp], 0x0
	call _Z13Scr_GetStringj
	mov edi, eax
	mov eax, [g_scr_data+0x2c]
	test eax, eax
	jg _Z20GScr_IsValidGameTypev_20
_Z20GScr_IsValidGameTypev_40:
	mov dword [esp], 0x0
	call _Z10Scr_AddInti
	add esp, 0x1c
	pop ebx
	pop esi
	pop edi
	pop ebp
	ret
_Z20GScr_IsValidGameTypev_20:
	xor ebx, ebx
	jmp _Z20GScr_IsValidGameTypev_30
_Z20GScr_IsValidGameTypev_50:
	add ebx, 0x1
	cmp ebx, [g_scr_data+0x2c]
	jge _Z20GScr_IsValidGameTypev_40
_Z20GScr_IsValidGameTypev_30:
	mov [esp+0x4], edi
	mov eax, ebx
	shl eax, 0x7
	lea esi, [eax+ebx*4]
	lea eax, [esi+g_scr_data+0x30]
	mov [esp], eax
	call _Z9I_stricmpPKcS0_
	test eax, eax
	jnz _Z20GScr_IsValidGameTypev_50
	add esi, g_scr_data+0x70
	jz _Z20GScr_IsValidGameTypev_40
	mov dword [esp], 0x1
	call _Z10Scr_AddInti
	jmp _Z20GScr_IsValidGameTypev_60


;GScr_MatchEnd()
_Z13GScr_MatchEndv:
	push ebp
	mov ebp, esp
	pop ebp
	ret
	nop


;GScr_SetPlayerTeamRank()
_Z22GScr_SetPlayerTeamRankv:
	push ebp
	mov ebp, esp
	pop ebp
	ret
	nop


;GScr_SendXboxLiveRanks()
_Z22GScr_SendXboxLiveRanksv:
	push ebp
	mov ebp, esp
	pop ebp
	ret
	nop


;GScr_EndXboxLiveLobby()
_Z21GScr_EndXboxLiveLobbyv:
	push ebp
	mov ebp, esp
	pop ebp
	ret
	nop


;GScr_SetTeamRadar()
_Z17GScr_SetTeamRadarv:
	push ebp
	mov ebp, esp
	push ebx
	sub esp, 0x14
	mov dword [esp], 0x0
	call _Z18Scr_GetConstStringj
	mov ebx, eax
	mov eax, scr_const
	cmp bx, [eax+0xc]
	jz _Z17GScr_SetTeamRadarv_10
	cmp bx, [eax+0xe]
	jz _Z17GScr_SetTeamRadarv_10
	cmp bx, [eax+0x58]
	jz _Z17GScr_SetTeamRadarv_10
	movzx eax, bx
	mov [esp], eax
	call _Z18SL_ConvertToStringj
	mov [esp+0x4], eax
	mov dword [esp], _cstring_illegal_team_str
	call _Z2vaPKcz
	mov [esp+0x4], eax
	mov dword [esp], 0x0
	call _Z14Scr_ParamErrorjPKc
_Z17GScr_SetTeamRadarv_10:
	mov dword [esp], 0x1
	call _Z10Scr_GetIntj
	test eax, eax
	setnz dl
	mov eax, scr_const
	cmp bx, [eax+0xc]
	jz _Z17GScr_SetTeamRadarv_20
	cmp bx, [eax+0xe]
	jz _Z17GScr_SetTeamRadarv_30
	mov eax, level
	mov [eax+0x214], dl
	add esp, 0x14
	pop ebx
	pop ebp
	ret
_Z17GScr_SetTeamRadarv_20:
	mov eax, level
	mov [eax+0x216], dl
	add esp, 0x14
	pop ebx
	pop ebp
	ret
_Z17GScr_SetTeamRadarv_30:
	mov eax, level
	mov [eax+0x215], dl
	add esp, 0x14
	pop ebx
	pop ebp
	ret


;GScr_GetTeamRadar()
_Z17GScr_GetTeamRadarv:
	push ebp
	mov ebp, esp
	sub esp, 0x18
	mov dword [esp], 0x0
	call _Z18Scr_GetConstStringj
	mov edx, scr_const
	cmp ax, [edx+0xc]
	jz _Z17GScr_GetTeamRadarv_10
	cmp ax, [edx+0xe]
	jz _Z17GScr_GetTeamRadarv_20
	cmp ax, [edx+0x58]
	jz _Z17GScr_GetTeamRadarv_30
	movzx eax, ax
	mov [esp], eax
	call _Z18SL_ConvertToStringj
	mov [esp+0x4], eax
	mov dword [esp], _cstring_illegal_team_str
	call _Z2vaPKcz
	mov [esp+0x4], eax
	mov dword [esp], 0x0
	call _Z14Scr_ParamErrorjPKc
	leave
	ret
_Z17GScr_GetTeamRadarv_30:
	mov eax, level
	movzx eax, byte [eax+0x214]
_Z17GScr_GetTeamRadarv_40:
	movzx eax, al
	mov [esp], eax
	call _Z10Scr_AddInti
	leave
	ret
_Z17GScr_GetTeamRadarv_10:
	mov eax, level
	movzx eax, byte [eax+0x216]
	jmp _Z17GScr_GetTeamRadarv_40
_Z17GScr_GetTeamRadarv_20:
	mov eax, level
	movzx eax, byte [eax+0x215]
	jmp _Z17GScr_GetTeamRadarv_40


;GScr_GetAssignedTeam()
_Z20GScr_GetAssignedTeamv:
	push ebp
	mov ebp, esp
	sub esp, 0x18
	mov dword [esp], 0x0
	call _Z10Scr_AddInti
	leave
	ret


;GScr_SetVoteString()
_Z18GScr_SetVoteStringv:
	push ebp
	mov ebp, esp
	push ebx
	sub esp, 0x14
	call _Z15Scr_GetNumParamv
	test eax, eax
	jz _Z18GScr_SetVoteStringv_10
	mov dword [esp], 0x0
	call _Z13Scr_GetStringj
	mov [esp+0x4], eax
	mov dword [esp], 0xe
	call _Z18SV_SetConfigstringiPKc
	mov dword [esp], _cstring_sv_serverid
	call _Z11Dvar_GetIntPKc
	mov [esp+0x8], eax
	mov ebx, level
	mov eax, [ebx+0xb20]
	mov [esp+0x4], eax
	mov dword [esp], _cstring_i_i
	call _Z2vaPKcz
	mov [esp+0x4], eax
	mov dword [esp], 0xd
	call _Z18SV_SetConfigstringiPKc
	mov eax, [ebx+0xb28]
	mov [esp+0x4], eax
	mov dword [esp], _cstring_i
	call _Z2vaPKcz
	mov [esp+0x4], eax
	mov dword [esp], 0xf
	call _Z18SV_SetConfigstringiPKc
	mov eax, [ebx+0xb2c]
	mov [esp+0x4], eax
	mov dword [esp], _cstring_i
	call _Z2vaPKcz
	mov [esp+0x4], eax
	mov dword [esp], 0x10
	call _Z18SV_SetConfigstringiPKc
_Z18GScr_SetVoteStringv_10:
	add esp, 0x14
	pop ebx
	pop ebp
	ret


;GScr_SetVoteTime()
_Z16GScr_SetVoteTimev:
	push ebp
	mov ebp, esp
	push ebx
	sub esp, 0x14
	call _Z15Scr_GetNumParamv
	test eax, eax
	jz _Z16GScr_SetVoteTimev_10
	mov dword [esp], 0x0
	call _Z10Scr_GetIntj
	mov ebx, eax
	mov dword [esp], _cstring_sv_serverid
	call _Z11Dvar_GetIntPKc
	mov [esp+0x8], eax
	mov [esp+0x4], ebx
	mov dword [esp], _cstring_i_i
	call _Z2vaPKcz
	mov [esp+0x4], eax
	mov dword [esp], 0xd
	call _Z18SV_SetConfigstringiPKc
	mov ebx, level
	mov eax, [ebx+0xb28]
	mov [esp+0x4], eax
	mov dword [esp], _cstring_i
	call _Z2vaPKcz
	mov [esp+0x4], eax
	mov dword [esp], 0xf
	call _Z18SV_SetConfigstringiPKc
	mov eax, [ebx+0xb2c]
	mov [esp+0x4], eax
	mov dword [esp], _cstring_i
	call _Z2vaPKcz
	mov [esp+0x4], eax
	mov dword [esp], 0x10
	call _Z18SV_SetConfigstringiPKc
_Z16GScr_SetVoteTimev_10:
	add esp, 0x14
	pop ebx
	pop ebp
	ret


;GScr_SetVoteYesCount()
_Z20GScr_SetVoteYesCountv:
	push ebp
	mov ebp, esp
	sub esp, 0x18
	call _Z15Scr_GetNumParamv
	test eax, eax
	jnz _Z20GScr_SetVoteYesCountv_10
	leave
	ret
_Z20GScr_SetVoteYesCountv_10:
	mov dword [esp], 0x0
	call _Z10Scr_GetIntj
	mov [esp+0x4], eax
	mov dword [esp], _cstring_i
	call _Z2vaPKcz
	mov [esp+0x4], eax
	mov dword [esp], 0xf
	call _Z18SV_SetConfigstringiPKc
	mov eax, level
	mov eax, [eax+0xb2c]
	mov [esp+0x4], eax
	mov dword [esp], _cstring_i
	call _Z2vaPKcz
	mov [esp+0x4], eax
	mov dword [esp], 0x10
	call _Z18SV_SetConfigstringiPKc
	leave
	ret


;GScr_SetVoteNoCount()
_Z19GScr_SetVoteNoCountv:
	push ebp
	mov ebp, esp
	sub esp, 0x18
	call _Z15Scr_GetNumParamv
	test eax, eax
	jnz _Z19GScr_SetVoteNoCountv_10
	leave
	ret
_Z19GScr_SetVoteNoCountv_10:
	mov dword [esp], 0x0
	call _Z10Scr_GetIntj
	mov [esp+0x4], eax
	mov dword [esp], _cstring_i
	call _Z2vaPKcz
	mov [esp+0x4], eax
	mov dword [esp], 0x10
	call _Z18SV_SetConfigstringiPKc
	leave
	ret
	nop


;GScr_OpenFile()
_Z13GScr_OpenFilev:
	push ebp
	mov ebp, esp
	pop ebp
	ret
	nop


;GScr_CloseFile()
_Z14GScr_CloseFilev:
	push ebp
	mov ebp, esp
	pop ebp
	ret
	nop


;GScr_FPrintln()
_Z13GScr_FPrintlnv:
	push ebp
	mov ebp, esp
	pop ebp
	ret
	nop


;GScr_FPrintFields()
_Z17GScr_FPrintFieldsv:
	push ebp
	mov ebp, esp
	pop ebp
	ret
	nop


;GScr_FReadLn()
_Z12GScr_FReadLnv:
	push ebp
	mov ebp, esp
	pop ebp
	ret
	nop


;GScr_FGetArg()
_Z12GScr_FGetArgv:
	push ebp
	mov ebp, esp
	pop ebp
	ret
	nop


;GScr_KickPlayer()
_Z15GScr_KickPlayerv:
	push ebp
	mov ebp, esp
	sub esp, 0x18
	call _Z15Scr_GetNumParamv
	test eax, eax
	jnz _Z15GScr_KickPlayerv_10
	leave
	ret
_Z15GScr_KickPlayerv_10:
	mov dword [esp], 0x0
	call _Z10Scr_GetIntj
	mov [esp+0x4], eax
	mov dword [esp], _cstring_tempbanclient_i
	call _Z2vaPKcz
	mov [esp+0x4], eax
	mov dword [esp], 0x0
	call _Z12Cbuf_AddTextiPKc
	leave
	ret
	nop


;GScr_BanPlayer()
_Z14GScr_BanPlayerv:
	push ebp
	mov ebp, esp
	sub esp, 0x18
	call _Z15Scr_GetNumParamv
	test eax, eax
	jnz _Z14GScr_BanPlayerv_10
	leave
	ret
_Z14GScr_BanPlayerv_10:
	mov dword [esp], 0x0
	call _Z10Scr_GetIntj
	mov [esp+0x4], eax
	mov dword [esp], _cstring_banclient_i
	call _Z2vaPKcz
	mov [esp+0x4], eax
	mov dword [esp], 0x0
	call _Z12Cbuf_AddTextiPKc
	leave
	ret
	nop


;GScr_LoadMap()
_Z12GScr_LoadMapv:
	push ebp
	mov ebp, esp
	push esi
	push ebx
	sub esp, 0x10
	call _Z15Scr_GetNumParamv
	test eax, eax
	jnz _Z12GScr_LoadMapv_10
_Z12GScr_LoadMapv_20:
	add esp, 0x10
	pop ebx
	pop esi
	pop ebp
	ret
_Z12GScr_LoadMapv_10:
	mov dword [esp], 0x0
	call _Z13Scr_GetStringj
	mov esi, eax
	mov [esp], eax
	call _Z12SV_MapExistsPKc
	test eax, eax
	jz _Z12GScr_LoadMapv_20
	mov ebx, level
	mov edx, [ebx+0x2ddc]
	test edx, edx
	jnz _Z12GScr_LoadMapv_30
	mov dword [ebx+0x2ddc], 0x2
	mov dword [ebx+0x1540], 0x0
	call _Z15Scr_GetNumParamv
	cmp eax, 0x1
	jbe _Z12GScr_LoadMapv_40
_Z12GScr_LoadMapv_50:
	mov dword [esp], 0x1
	call _Z10Scr_GetIntj
	mov [ebx+0x1540], eax
_Z12GScr_LoadMapv_40:
	mov [esp+0x4], esi
	mov dword [esp], _cstring_map_s
	call _Z2vaPKcz
	mov [esp+0x4], eax
	mov dword [esp], 0x0
	call _Z12Cbuf_AddTextiPKc
	add esp, 0x10
	pop ebx
	pop esi
	pop ebp
	ret
_Z12GScr_LoadMapv_30:
	mov eax, _cstring_map_already_call
	cmp edx, 0x2
	mov edx, _cstring_exitlevel_alread
	cmovnz eax, edx
	mov [esp], eax
	call _Z9Scr_ErrorPKc
	mov dword [ebx+0x2ddc], 0x2
	mov dword [ebx+0x1540], 0x0
	call _Z15Scr_GetNumParamv
	cmp eax, 0x1
	ja _Z12GScr_LoadMapv_50
	jmp _Z12GScr_LoadMapv_40
	nop


;Scr_PlayRumbleOnPosition()
_Z24Scr_PlayRumbleOnPositionv:
	push ebp
	mov ebp, esp
	pop ebp
	ret
	nop


;Scr_PlayRumbleLoopOnPosition()
_Z28Scr_PlayRumbleLoopOnPositionv:
	push ebp
	mov ebp, esp
	pop ebp
	ret
	nop


;Scr_StopAllRumbles()
_Z18Scr_StopAllRumblesv:
	push ebp
	mov ebp, esp
	pop ebp
	ret
	nop


;ScrCmd_SoundExists()
_Z18ScrCmd_SoundExistsv:
	push ebp
	mov ebp, esp
	sub esp, 0x18
	mov dword [esp], 0x0
	call _Z13Scr_GetStringj
	mov [esp], eax
	call _Z21Com_TryFindSoundAliasPKc
	test eax, eax
	setnz al
	movzx eax, al
	mov [esp], eax
	call _Z11Scr_AddBooli
	leave
	ret


;Scr_IsSplitscreen()
_Z17Scr_IsSplitscreenv:
	push ebp
	mov ebp, esp
	sub esp, 0x18
	mov dword [esp], 0x0
	call _Z10Scr_AddInti
	leave
	ret


;GScr_SetMiniMap()
_Z15GScr_SetMiniMapv:
	push ebp
	mov ebp, esp
	push esi
	push ebx
	sub esp, 0x90
	call _Z15Scr_GetNumParamv
	cmp eax, 0x5
	jz _Z15GScr_SetMiniMapv_10
	mov dword [esp], _cstring_expecting_5_argu
	call _Z9Scr_ErrorPKc
_Z15GScr_SetMiniMapv_10:
	mov dword [esp], 0x0
	call _Z13Scr_GetStringj
	mov esi, eax
	mov dword [esp], 0x1
	call _Z12Scr_GetFloatj
	fstp dword [ebp-0x34]
	mov dword [esp], 0x2
	call _Z12Scr_GetFloatj
	fstp dword [ebp-0x38]
	mov dword [esp], 0x3
	call _Z12Scr_GetFloatj
	fstp dword [ebp-0x2c]
	mov dword [esp], 0x4
	call _Z12Scr_GetFloatj
	fstp dword [ebp-0x30]
	mov dword [esp+0x8], 0x20
	lea ebx, [ebp-0x28]
	mov [esp+0x4], ebx
	mov dword [esp], 0x336
	call _Z18SV_GetConfigstringiPci
	mov [esp], ebx
	call atof
	fstp qword [ebp-0x48]
	cvtsd2ss xmm0, [ebp-0x48]
	cvtss2sd xmm0, xmm0
	mulsd xmm0, [_double_0_01745329]
	cvtsd2ss xmm0, xmm0
	movss [ebp-0x3c], xmm0
	movss [esp], xmm0
	call sinf
	fstp dword [ebp-0x4c]
	movss xmm0, dword [ebp-0x3c]
	movss [esp], xmm0
	call cosf
	fstp dword [ebp-0x5c]
	movss xmm4, dword [ebp-0x5c]
	movss xmm3, dword [ebp-0x2c]
	subss xmm3, [ebp-0x34]
	movss xmm2, dword [ebp-0x30]
	subss xmm2, [ebp-0x38]
	mov ebx, level
	movss xmm0, dword [ebp-0x4c]
	mulss xmm0, xmm3
	movaps xmm1, xmm4
	mulss xmm1, xmm2
	subss xmm0, xmm1
	movss [ebx+0x2e58], xmm0
	xorps xmm3, [_data16_80000000]
	mulss xmm3, xmm4
	mulss xmm2, [ebp-0x4c]
	subss xmm3, xmm2
	movss [ebx+0x2e5c], xmm3
	pxor xmm0, xmm0
	ucomiss xmm0, [ebx+0x2e58]
	ja _Z15GScr_SetMiniMapv_20
	ucomiss xmm0, xmm3
	ja _Z15GScr_SetMiniMapv_20
_Z15GScr_SetMiniMapv_30:
	movss xmm0, dword [ebp-0x34]
	movss [ebx+0x2e50], xmm0
	movss xmm0, dword [ebp-0x38]
	movss [ebx+0x2e54], xmm0
	cvtss2sd xmm0, [ebp-0x30]
	movsd [esp+0x20], xmm0
	cvtss2sd xmm0, [ebp-0x2c]
	movsd [esp+0x18], xmm0
	cvtss2sd xmm0, [ebp-0x38]
	movsd [esp+0x10], xmm0
	cvtss2sd xmm0, [ebp-0x34]
	movsd [esp+0x8], xmm0
	mov [esp+0x4], esi
	mov dword [esp], _cstring_s_f_f_f_f
	call _Z2vaPKcz
	mov [esp+0x4], eax
	mov dword [esp], 0x337
	call _Z18SV_SetConfigstringiPKc
	add esp, 0x90
	pop ebx
	pop esi
	pop ebp
	ret
_Z15GScr_SetMiniMapv_20:
	mov dword [esp], _cstring_lowerright_x_and
	call _Z9Scr_ErrorPKc
	jmp _Z15GScr_SetMiniMapv_30
	nop


;GScr_SetMapCenter()
_Z17GScr_SetMapCenterv:
	push ebp
	mov ebp, esp
	push ebx
	sub esp, 0x24
	call _Z15Scr_GetNumParamv
	sub eax, 0x1
	jz _Z17GScr_SetMapCenterv_10
	mov dword [esp], _cstring_expected_1_argum
	call _Z9Scr_ErrorPKc
_Z17GScr_SetMapCenterv_10:
	lea ebx, [ebp-0x14]
	mov [esp+0x4], ebx
	mov dword [esp], 0x0
	call _Z13Scr_GetVectorjPf
	mov [esp], ebx
	call _Z15SV_SetMapCenterPf
	add esp, 0x24
	pop ebx
	pop ebp
	ret


;GScr_SetGameEndTime()
_Z19GScr_SetGameEndTimev:
	push ebp
	mov ebp, esp
	sub esp, 0x18
	call _Z15Scr_GetNumParamv
	sub eax, 0x1
	jz _Z19GScr_SetGameEndTimev_10
	mov dword [esp], _cstring_expected_1_argum1
	call _Z9Scr_ErrorPKc
_Z19GScr_SetGameEndTimev_10:
	mov dword [esp], 0x0
	call _Z10Scr_GetIntj
	mov [esp], eax
	call _Z17SV_SetGameEndTimei
	leave
	ret


;GScr_GetArrayKeys()
_Z17GScr_GetArrayKeysv:
	push ebp
	mov ebp, esp
	sub esp, 0x18
	mov dword [esp], 0x0
	call _Z18Scr_GetPointerTypej
	cmp eax, 0x15
	jz _Z17GScr_GetArrayKeysv_10
	mov dword [esp], 0x0
	call _Z15Scr_GetTypeNamej
	mov [esp+0x4], eax
	mov dword [esp], _cstring_parameter_s_must
	call _Z2vaPKcz
	mov [esp+0x4], eax
	mov dword [esp], 0x0
	call _Z14Scr_ParamErrorjPKc
_Z17GScr_GetArrayKeysv_10:
	mov dword [esp], 0x0
	call _Z13Scr_GetObjectj
	mov [esp], eax
	call _Z16Scr_AddArrayKeysj
	leave
	ret
	nop


;GScr_SearchForOnlineGames()
_Z25GScr_SearchForOnlineGamesv:
	push ebp
	mov ebp, esp
	pop ebp
	ret
	nop


;GScr_QuitLobby()
_Z14GScr_QuitLobbyv:
	push ebp
	mov ebp, esp
	pop ebp
	ret
	nop


;GScr_QuitParty()
_Z14GScr_QuitPartyv:
	push ebp
	mov ebp, esp
	pop ebp
	ret
	nop


;GScr_StartParty()
_Z15GScr_StartPartyv:
	push ebp
	mov ebp, esp
	pop ebp
	ret
	nop


;GScr_StartPrivateMatch()
_Z22GScr_StartPrivateMatchv:
	push ebp
	mov ebp, esp
	pop ebp
	ret
	nop


;Scr_VisionSetNaked()
_Z18Scr_VisionSetNakedv:
	push ebp
	mov ebp, esp
	push ebx
	sub esp, 0x34
	call _Z15Scr_GetNumParamv
	cmp eax, 0x1
	jz _Z18Scr_VisionSetNakedv_10
	cmp eax, 0x2
	jz _Z18Scr_VisionSetNakedv_20
	mov dword [esp], _cstring_usage_visionsetn
	call _Z9Scr_ErrorPKc
	add esp, 0x34
	pop ebx
	pop ebp
	ret
_Z18Scr_VisionSetNakedv_10:
	mov ebx, 0x3e8
_Z18Scr_VisionSetNakedv_30:
	mov dword [esp], 0x0
	call _Z13Scr_GetStringj
	mov [esp+0x8], ebx
	mov [esp+0x4], eax
	mov dword [esp], _cstring_s_i
	call _Z2vaPKcz
	mov [esp+0x4], eax
	mov dword [esp], 0x338
	call _Z18SV_SetConfigstringiPKc
	add esp, 0x34
	pop ebx
	pop ebp
	ret
_Z18Scr_VisionSetNakedv_20:
	mov dword [esp], 0x1
	call _Z12Scr_GetFloatj
	fstp dword [ebp-0x1c]
	movss xmm0, dword [ebp-0x1c]
	mulss xmm0, [_float_1000_00000000]
	addss xmm0, [_float_0_50000000]
	movss [esp], xmm0
	call floorf
	fstp dword [ebp-0xc]
	cvttss2si ebx, [ebp-0xc]
	jmp _Z18Scr_VisionSetNakedv_30
	nop


;Scr_VisionSetNight()
_Z18Scr_VisionSetNightv:
	push ebp
	mov ebp, esp
	push ebx
	sub esp, 0x34
	call _Z15Scr_GetNumParamv
	cmp eax, 0x1
	jz _Z18Scr_VisionSetNightv_10
	cmp eax, 0x2
	jz _Z18Scr_VisionSetNightv_20
	mov dword [esp], _cstring_usage_visionsetn1
	call _Z9Scr_ErrorPKc
	add esp, 0x34
	pop ebx
	pop ebp
	ret
_Z18Scr_VisionSetNightv_10:
	mov ebx, 0x3e8
_Z18Scr_VisionSetNightv_30:
	mov dword [esp], 0x0
	call _Z13Scr_GetStringj
	mov [esp+0x8], ebx
	mov [esp+0x4], eax
	mov dword [esp], _cstring_s_i
	call _Z2vaPKcz
	mov [esp+0x4], eax
	mov dword [esp], 0x339
	call _Z18SV_SetConfigstringiPKc
	add esp, 0x34
	pop ebx
	pop ebp
	ret
_Z18Scr_VisionSetNightv_20:
	mov dword [esp], 0x1
	call _Z12Scr_GetFloatj
	fstp dword [ebp-0x1c]
	movss xmm0, dword [ebp-0x1c]
	mulss xmm0, [_float_1000_00000000]
	addss xmm0, [_float_0_50000000]
	movss [esp], xmm0
	call floorf
	fstp dword [ebp-0xc]
	cvttss2si ebx, [ebp-0xc]
	jmp _Z18Scr_VisionSetNightv_30
	nop


;Scr_TableLookup()
_Z15Scr_TableLookupv:
	push ebp
	mov ebp, esp
	push esi
	push ebx
	sub esp, 0x20
	mov eax, useFastFile
	mov eax, [eax]
	cmp byte [eax+0xc], 0x0
	jnz _Z15Scr_TableLookupv_10
	mov dword [esp+0x4], _cstring_you_cannot_do_ta
	mov dword [esp], 0x10
	call _Z10Com_PrintfiPKcz
	mov dword [esp], _cstring_null
	call _Z13Scr_AddStringPKc
	add esp, 0x20
	pop ebx
	pop esi
	pop ebp
	ret
_Z15Scr_TableLookupv_10:
	call _Z15Scr_GetNumParamv
	cmp eax, 0x2
	jbe _Z15Scr_TableLookupv_20
_Z15Scr_TableLookupv_30:
	mov dword [esp], 0x0
	call _Z13Scr_GetStringj
	lea edx, [ebp-0xc]
	mov [esp+0x4], edx
	mov [esp], eax
	call _Z20StringTable_GetAssetPKcPPK11StringTable
	mov dword [esp], 0x1
	call _Z10Scr_GetIntj
	mov esi, eax
	mov dword [esp], 0x2
	call _Z13Scr_GetStringj
	mov ebx, eax
	mov dword [esp], 0x3
	call _Z10Scr_GetIntj
	mov [esp+0xc], eax
	mov [esp+0x8], ebx
	mov [esp+0x4], esi
	mov eax, [ebp-0xc]
	mov [esp], eax
	call _Z18StringTable_LookupPK11StringTableiPKci
	mov [esp], eax
	call _Z13Scr_AddStringPKc
	add esp, 0x20
	pop ebx
	pop esi
	pop ebp
	ret
_Z15Scr_TableLookupv_20:
	mov dword [esp], _cstring_usage_tablelooku
	call _Z9Scr_ErrorPKc
	jmp _Z15Scr_TableLookupv_30
	nop


;Scr_TableLookupIString()
_Z22Scr_TableLookupIStringv:
	push ebp
	mov ebp, esp
	push esi
	push ebx
	sub esp, 0x20
	mov eax, useFastFile
	mov eax, [eax]
	cmp byte [eax+0xc], 0x0
	jnz _Z22Scr_TableLookupIStringv_10
	mov dword [esp+0x4], _cstring_you_cannot_do_ta
	mov dword [esp], 0x10
	call _Z10Com_PrintfiPKcz
	mov dword [esp], _cstring_null
	call _Z14Scr_AddIStringPKc
	add esp, 0x20
	pop ebx
	pop esi
	pop ebp
	ret
_Z22Scr_TableLookupIStringv_10:
	call _Z15Scr_GetNumParamv
	cmp eax, 0x2
	jbe _Z22Scr_TableLookupIStringv_20
_Z22Scr_TableLookupIStringv_30:
	mov dword [esp], 0x0
	call _Z13Scr_GetStringj
	lea edx, [ebp-0xc]
	mov [esp+0x4], edx
	mov [esp], eax
	call _Z20StringTable_GetAssetPKcPPK11StringTable
	mov dword [esp], 0x1
	call _Z10Scr_GetIntj
	mov esi, eax
	mov dword [esp], 0x2
	call _Z13Scr_GetStringj
	mov ebx, eax
	mov dword [esp], 0x3
	call _Z10Scr_GetIntj
	mov [esp+0xc], eax
	mov [esp+0x8], ebx
	mov [esp+0x4], esi
	mov eax, [ebp-0xc]
	mov [esp], eax
	call _Z18StringTable_LookupPK11StringTableiPKci
	mov [esp], eax
	call _Z14Scr_AddIStringPKc
	add esp, 0x20
	pop ebx
	pop esi
	pop ebp
	ret
_Z22Scr_TableLookupIStringv_20:
	mov dword [esp], _cstring_usage_tablelooku1
	call _Z9Scr_ErrorPKc
	jmp _Z22Scr_TableLookupIStringv_30
	nop


;GScr_EndLobby()
_Z13GScr_EndLobbyv:
	push ebp
	mov ebp, esp
	pop ebp
	ret
	nop


;ScrCmd_attach(scr_entref_t)
_Z13ScrCmd_attach12scr_entref_t:
	push ebp
	mov ebp, esp
	push edi
	push esi
	push ebx
	sub esp, 0x2c
	mov eax, [ebp+0x8]
	mov edx, eax
	shr eax, 0x10
	test ax, ax
	jnz _Z13ScrCmd_attach12scr_entref_t_10
	movzx eax, dx
	lea edx, [eax+eax*8]
	lea edx, [eax+edx*2]
	mov ecx, edx
	shl ecx, 0x5
	add edx, ecx
	lea esi, [edx+eax]
	add esi, g_entities
_Z13ScrCmd_attach12scr_entref_t_80:
	mov dword [esp], 0x0
	call _Z13Scr_GetStringj
	mov edi, eax
	call _Z15Scr_GetNumParamv
	cmp eax, 0x1
	jbe _Z13ScrCmd_attach12scr_entref_t_20
	mov dword [esp], 0x1
	call _Z27Scr_GetConstLowercaseStringj
	mov ebx, eax
	call _Z15Scr_GetNumParamv
	cmp eax, 0x2
	ja _Z13ScrCmd_attach12scr_entref_t_30
_Z13ScrCmd_attach12scr_entref_t_60:
	mov dword [ebp-0x1c], 0x0
	mov [esp+0x8], ebx
	mov [esp+0x4], edi
	mov [esp], esi
	call _Z11G_EntDetachP9gentity_sPKcj
	test eax, eax
	jnz _Z13ScrCmd_attach12scr_entref_t_40
_Z13ScrCmd_attach12scr_entref_t_70:
	mov eax, [ebp-0x1c]
	mov [esp+0xc], eax
	mov [esp+0x8], ebx
	mov [esp+0x4], edi
	mov [esp], esi
	call _Z11G_EntAttachP9gentity_sPKcji
	test eax, eax
	jz _Z13ScrCmd_attach12scr_entref_t_50
	add esp, 0x2c
	pop ebx
	pop esi
	pop edi
	pop ebp
	ret
_Z13ScrCmd_attach12scr_entref_t_50:
	mov [esp], ebx
	call _Z18SL_ConvertToStringj
	mov [esp+0x8], eax
	mov [esp+0x4], edi
	mov dword [esp], _cstring_failed_to_attach
	call _Z2vaPKcz
	mov [ebp+0x8], eax
	add esp, 0x2c
	pop ebx
	pop esi
	pop edi
	pop ebp
	jmp _Z9Scr_ErrorPKc
_Z13ScrCmd_attach12scr_entref_t_20:
	mov eax, scr_const
	movzx ebx, word [eax]
	call _Z15Scr_GetNumParamv
	cmp eax, 0x2
	jbe _Z13ScrCmd_attach12scr_entref_t_60
_Z13ScrCmd_attach12scr_entref_t_30:
	mov dword [esp], 0x2
	call _Z10Scr_GetIntj
	mov [ebp-0x1c], eax
	mov [esp+0x8], ebx
	mov [esp+0x4], edi
	mov [esp], esi
	call _Z11G_EntDetachP9gentity_sPKcj
	test eax, eax
	jz _Z13ScrCmd_attach12scr_entref_t_70
_Z13ScrCmd_attach12scr_entref_t_40:
	mov [esp], ebx
	call _Z18SL_ConvertToStringj
	mov [esp+0x8], eax
	mov [esp+0x4], edi
	mov dword [esp], _cstring_model_s_already_
	call _Z2vaPKcz
	mov [esp], eax
	call _Z9Scr_ErrorPKc
	jmp _Z13ScrCmd_attach12scr_entref_t_70
_Z13ScrCmd_attach12scr_entref_t_10:
	mov dword [esp], _cstring_not_an_entity
	call _Z15Scr_ObjectErrorPKc
	xor esi, esi
	jmp _Z13ScrCmd_attach12scr_entref_t_80
	nop


;ScrCmd_detach(scr_entref_t)
_Z13ScrCmd_detach12scr_entref_t:
	push ebp
	mov ebp, esp
	push edi
	push esi
	push ebx
	sub esp, 0x2c
	mov eax, [ebp+0x8]
	mov edx, eax
	shr eax, 0x10
	test ax, ax
	jnz _Z13ScrCmd_detach12scr_entref_t_10
	movzx eax, dx
	lea edx, [eax+eax*8]
	lea edx, [eax+edx*2]
	mov ecx, edx
	shl ecx, 0x5
	add edx, ecx
	lea ebx, [edx+eax]
	add ebx, g_entities
_Z13ScrCmd_detach12scr_entref_t_80:
	mov dword [esp], 0x0
	call _Z13Scr_GetStringj
	mov [ebp-0x20], eax
	call _Z15Scr_GetNumParamv
	cmp eax, 0x1
	jbe _Z13ScrCmd_detach12scr_entref_t_20
	mov dword [esp], 0x1
	call _Z27Scr_GetConstLowercaseStringj
	mov [ebp-0x1c], eax
_Z13ScrCmd_detach12scr_entref_t_70:
	mov [esp+0x8], eax
	mov eax, [ebp-0x20]
	mov [esp+0x4], eax
	mov [esp], ebx
	call _Z11G_EntDetachP9gentity_sPKcj
	test eax, eax
	jz _Z13ScrCmd_detach12scr_entref_t_30
	add esp, 0x2c
	pop ebx
	pop esi
	pop edi
	pop ebp
	ret
_Z13ScrCmd_detach12scr_entref_t_30:
	mov dword [esp+0x4], _cstring_current_attachme
	mov dword [esp], 0x17
	call _Z10Com_PrintfiPKcz
	mov esi, ebx
	mov edi, 0x13
	jmp _Z13ScrCmd_detach12scr_entref_t_40
_Z13ScrCmd_detach12scr_entref_t_60:
	add esi, 0x2
	sub edi, 0x1
	jz _Z13ScrCmd_detach12scr_entref_t_50
_Z13ScrCmd_detach12scr_entref_t_40:
	cmp word [esi+0x220], 0x0
	jz _Z13ScrCmd_detach12scr_entref_t_60
	movzx eax, word [esi+0x246]
	test ax, ax
	jz _Z13ScrCmd_detach12scr_entref_t_60
	movzx eax, ax
	mov [esp], eax
	call _Z18SL_ConvertToStringj
	mov ebx, eax
	movzx eax, word [esi+0x220]
	mov [esp], eax
	call _Z11G_ModelNamei
	mov [esp], eax
	call _Z18SL_ConvertToStringj
	mov [esp+0xc], ebx
	mov [esp+0x8], eax
	mov dword [esp+0x4], _cstring_model_s_tag_s
	mov dword [esp], 0x17
	call _Z10Com_PrintfiPKcz
	add esi, 0x2
	sub edi, 0x1
	jnz _Z13ScrCmd_detach12scr_entref_t_40
_Z13ScrCmd_detach12scr_entref_t_50:
	mov eax, [ebp-0x1c]
	mov [esp], eax
	call _Z18SL_ConvertToStringj
	mov [esp+0x8], eax
	mov eax, [ebp-0x20]
	mov [esp+0x4], eax
	mov dword [esp], _cstring_failed_to_detach
	call _Z2vaPKcz
	mov [ebp+0x8], eax
	add esp, 0x2c
	pop ebx
	pop esi
	pop edi
	pop ebp
	jmp _Z9Scr_ErrorPKc
_Z13ScrCmd_detach12scr_entref_t_20:
	mov eax, scr_const
	movzx eax, word [eax]
	mov [ebp-0x1c], eax
	jmp _Z13ScrCmd_detach12scr_entref_t_70
_Z13ScrCmd_detach12scr_entref_t_10:
	mov dword [esp], _cstring_not_an_entity
	call _Z15Scr_ObjectErrorPKc
	xor ebx, ebx
	jmp _Z13ScrCmd_detach12scr_entref_t_80
	nop


;ScrCmd_detachAll(scr_entref_t)
_Z16ScrCmd_detachAll12scr_entref_t:
	push ebp
	mov ebp, esp
	sub esp, 0x18
	mov eax, [ebp+0x8]
	mov edx, eax
	shr eax, 0x10
	test ax, ax
	jnz _Z16ScrCmd_detachAll12scr_entref_t_10
	movzx eax, dx
	lea edx, [eax+eax*8]
	lea edx, [eax+edx*2]
	mov ecx, edx
	shl ecx, 0x5
	add edx, ecx
	lea eax, [edx+eax]
	add eax, g_entities
	mov [ebp+0x8], eax
	leave
	jmp _Z14G_EntDetachAllP9gentity_s
_Z16ScrCmd_detachAll12scr_entref_t_10:
	mov dword [esp], _cstring_not_an_entity
	call _Z15Scr_ObjectErrorPKc
	xor eax, eax
	mov [ebp+0x8], eax
	leave
	jmp _Z14G_EntDetachAllP9gentity_s


;ScrCmd_GetAttachSize(scr_entref_t)
_Z20ScrCmd_GetAttachSize12scr_entref_t:
	push ebp
	mov ebp, esp
	sub esp, 0x18
	mov eax, [ebp+0x8]
	mov edx, eax
	shr eax, 0x10
	test ax, ax
	jnz _Z20ScrCmd_GetAttachSize12scr_entref_t_10
	movzx eax, dx
	lea edx, [eax+eax*8]
	lea edx, [eax+edx*2]
	mov ecx, edx
	shl ecx, 0x5
	add edx, ecx
	lea eax, [edx+eax]
	add eax, g_entities
_Z20ScrCmd_GetAttachSize12scr_entref_t_50:
	xor edx, edx
	jmp _Z20ScrCmd_GetAttachSize12scr_entref_t_20
_Z20ScrCmd_GetAttachSize12scr_entref_t_40:
	add edx, 0x1
	add eax, 0x2
	cmp edx, 0x13
	jz _Z20ScrCmd_GetAttachSize12scr_entref_t_30
_Z20ScrCmd_GetAttachSize12scr_entref_t_20:
	cmp word [eax+0x220], 0x0
	jnz _Z20ScrCmd_GetAttachSize12scr_entref_t_40
_Z20ScrCmd_GetAttachSize12scr_entref_t_30:
	mov [ebp+0x8], edx
	leave
	jmp _Z10Scr_AddInti
_Z20ScrCmd_GetAttachSize12scr_entref_t_10:
	mov dword [esp], _cstring_not_an_entity
	call _Z15Scr_ObjectErrorPKc
	xor eax, eax
	jmp _Z20ScrCmd_GetAttachSize12scr_entref_t_50


;ScrCmd_GetAttachModelName(scr_entref_t)
_Z25ScrCmd_GetAttachModelName12scr_entref_t:
	push ebp
	mov ebp, esp
	push esi
	push ebx
	sub esp, 0x10
	mov eax, [ebp+0x8]
	mov edx, eax
	shr eax, 0x10
	test ax, ax
	jnz _Z25ScrCmd_GetAttachModelName12scr_entref_t_10
	movzx eax, dx
	lea edx, [eax+eax*8]
	lea edx, [eax+edx*2]
	mov ecx, edx
	shl ecx, 0x5
	add edx, ecx
	lea esi, [edx+eax]
	add esi, g_entities
_Z25ScrCmd_GetAttachModelName12scr_entref_t_40:
	mov dword [esp], 0x0
	call _Z10Scr_GetIntj
	mov ebx, eax
	cmp eax, 0x12
	ja _Z25ScrCmd_GetAttachModelName12scr_entref_t_20
	cmp word [esi+eax*2+0x220], 0x0
	jnz _Z25ScrCmd_GetAttachModelName12scr_entref_t_30
_Z25ScrCmd_GetAttachModelName12scr_entref_t_20:
	mov dword [esp+0x4], _cstring_bad_index
	mov dword [esp], 0x0
	call _Z14Scr_ParamErrorjPKc
_Z25ScrCmd_GetAttachModelName12scr_entref_t_30:
	movzx eax, word [esi+ebx*2+0x220]
	mov [esp], eax
	call _Z11G_ModelNamei
	mov [ebp+0x8], eax
	add esp, 0x10
	pop ebx
	pop esi
	pop ebp
	jmp _Z18Scr_AddConstStringj
_Z25ScrCmd_GetAttachModelName12scr_entref_t_10:
	mov dword [esp], _cstring_not_an_entity
	call _Z15Scr_ObjectErrorPKc
	xor esi, esi
	jmp _Z25ScrCmd_GetAttachModelName12scr_entref_t_40


;ScrCmd_GetAttachTagName(scr_entref_t)
_Z23ScrCmd_GetAttachTagName12scr_entref_t:
	push ebp
	mov ebp, esp
	push esi
	push ebx
	sub esp, 0x10
	mov eax, [ebp+0x8]
	mov edx, eax
	shr eax, 0x10
	test ax, ax
	jnz _Z23ScrCmd_GetAttachTagName12scr_entref_t_10
	movzx eax, dx
	lea edx, [eax+eax*8]
	lea edx, [eax+edx*2]
	mov ecx, edx
	shl ecx, 0x5
	add edx, ecx
	lea esi, [edx+eax]
	add esi, g_entities
_Z23ScrCmd_GetAttachTagName12scr_entref_t_40:
	mov dword [esp], 0x0
	call _Z10Scr_GetIntj
	mov ebx, eax
	cmp eax, 0x12
	ja _Z23ScrCmd_GetAttachTagName12scr_entref_t_20
	cmp word [esi+eax*2+0x220], 0x0
	jnz _Z23ScrCmd_GetAttachTagName12scr_entref_t_30
_Z23ScrCmd_GetAttachTagName12scr_entref_t_20:
	mov dword [esp+0x4], _cstring_bad_index
	mov dword [esp], 0x0
	call _Z14Scr_ParamErrorjPKc
_Z23ScrCmd_GetAttachTagName12scr_entref_t_30:
	movzx eax, word [esi+ebx*2+0x246]
	mov [ebp+0x8], eax
	add esp, 0x10
	pop ebx
	pop esi
	pop ebp
	jmp _Z18Scr_AddConstStringj
_Z23ScrCmd_GetAttachTagName12scr_entref_t_10:
	mov dword [esp], _cstring_not_an_entity
	call _Z15Scr_ObjectErrorPKc
	xor esi, esi
	jmp _Z23ScrCmd_GetAttachTagName12scr_entref_t_40


;ScrCmd_GetAttachIgnoreCollision(scr_entref_t)
_Z31ScrCmd_GetAttachIgnoreCollision12scr_entref_t:
	push ebp
	mov ebp, esp
	push esi
	push ebx
	sub esp, 0x10
	mov eax, [ebp+0x8]
	mov edx, eax
	shr eax, 0x10
	test ax, ax
	jnz _Z31ScrCmd_GetAttachIgnoreCollision12scr_entref_t_10
	movzx eax, dx
	lea edx, [eax+eax*8]
	lea edx, [eax+edx*2]
	mov ecx, edx
	shl ecx, 0x5
	add edx, ecx
	lea esi, [edx+eax]
	add esi, g_entities
_Z31ScrCmd_GetAttachIgnoreCollision12scr_entref_t_40:
	mov dword [esp], 0x0
	call _Z10Scr_GetIntj
	mov ebx, eax
	cmp eax, 0x12
	ja _Z31ScrCmd_GetAttachIgnoreCollision12scr_entref_t_20
	cmp word [esi+eax*2+0x220], 0x0
	jnz _Z31ScrCmd_GetAttachIgnoreCollision12scr_entref_t_30
_Z31ScrCmd_GetAttachIgnoreCollision12scr_entref_t_20:
	mov dword [esp+0x4], _cstring_bad_index
	mov dword [esp], 0x0
	call _Z14Scr_ParamErrorjPKc
_Z31ScrCmd_GetAttachIgnoreCollision12scr_entref_t_30:
	mov eax, 0x1
	mov ecx, ebx
	shl eax, cl
	test [esi+0x178], eax
	setnz al
	movzx eax, al
	mov [ebp+0x8], eax
	add esp, 0x10
	pop ebx
	pop esi
	pop ebp
	jmp _Z11Scr_AddBooli
_Z31ScrCmd_GetAttachIgnoreCollision12scr_entref_t_10:
	mov dword [esp], _cstring_not_an_entity
	call _Z15Scr_ObjectErrorPKc
	xor esi, esi
	jmp _Z31ScrCmd_GetAttachIgnoreCollision12scr_entref_t_40
	nop


;GScr_GetAmmoCount(scr_entref_t)
_Z17GScr_GetAmmoCount12scr_entref_t:
	push ebp
	mov ebp, esp
	push ebx
	sub esp, 0x14
	mov eax, [ebp+0x8]
	call _Z15GetPlayerEntity12scr_entref_t
	mov ebx, eax
	mov dword [esp], 0x0
	call _Z13Scr_GetStringj
	mov [esp], eax
	call _Z23G_GetWeaponIndexForNamePKc
	test eax, eax
	jnz _Z17GScr_GetAmmoCount12scr_entref_t_10
	mov dword [ebp+0x8], 0x0
	add esp, 0x14
	pop ebx
	pop ebp
	jmp _Z10Scr_AddInti
_Z17GScr_GetAmmoCount12scr_entref_t_10:
	mov [esp+0x4], eax
	mov eax, [ebx+0x15c]
	mov [esp], eax
	call _Z13BG_WeaponAmmoPK13playerState_si
	mov [ebp+0x8], eax
	add esp, 0x14
	pop ebx
	pop ebp
	jmp _Z10Scr_AddInti
	nop


;ScrCmd_GetClanId(scr_entref_t)
_Z16ScrCmd_GetClanId12scr_entref_t:
	push ebp
	mov ebp, esp
	mov dword [ebp+0x8], _cstring_0
	pop ebp
	jmp _Z13Scr_AddStringPKc


;ScrCmd_GetClanName(scr_entref_t)
_Z18ScrCmd_GetClanName12scr_entref_t:
	push ebp
	mov ebp, esp
	mov dword [ebp+0x8], _cstring_null
	pop ebp
	jmp _Z13Scr_AddStringPKc


;ScrCmd_hidepart(scr_entref_t)
_Z15ScrCmd_hidepart12scr_entref_t:
	push ebp
	mov ebp, esp
	push edi
	push esi
	push ebx
	sub esp, 0x4c
	mov eax, [ebp+0x8]
	mov edx, eax
	shr eax, 0x10
	test ax, ax
	jnz _Z15ScrCmd_hidepart12scr_entref_t_10
	movzx eax, dx
	lea edx, [eax+eax*8]
	lea edx, [eax+edx*2]
	mov ecx, edx
	shl ecx, 0x5
	add edx, ecx
	lea edi, [edx+eax]
	add edi, g_entities
_Z15ScrCmd_hidepart12scr_entref_t_60:
	mov eax, [edi]
	mov [esp], eax
	call _Z17Com_GetServerDObji
	mov [ebp-0x3c], eax
	test eax, eax
	jz _Z15ScrCmd_hidepart12scr_entref_t_20
_Z15ScrCmd_hidepart12scr_entref_t_70:
	mov byte [ebp-0x19], 0xfe
	mov dword [esp], 0x0
	call _Z27Scr_GetConstLowercaseStringj
	mov ebx, eax
	call _Z15Scr_GetNumParamv
	sub eax, 0x1
	jz _Z15ScrCmd_hidepart12scr_entref_t_30
	mov dword [esp], 0x1
	call _Z13Scr_GetStringj
	mov esi, eax
	lea eax, [ebp-0x19]
	mov [esp+0xc], eax
	mov [esp+0x8], ebx
	mov [esp+0x4], esi
	mov eax, [ebp-0x3c]
	mov [esp], eax
	call _Z21DObjGetModelBoneIndexPK6DObj_sPKcjPh
	test eax, eax
	jz _Z15ScrCmd_hidepart12scr_entref_t_40
_Z15ScrCmd_hidepart12scr_entref_t_50:
	lea esi, [ebp-0x2c]
	lea ebx, [edi+0xe4]
	mov eax, [edi+0xe4]
	mov [ebp-0x2c], eax
	mov eax, [ebx+0x4]
	mov [ebp-0x28], eax
	mov eax, [ebx+0x8]
	mov [ebp-0x24], eax
	mov eax, [ebx+0xc]
	mov [ebp-0x20], eax
	movzx ecx, byte [ebp-0x19]
	mov edx, ecx
	shr dl, 0x5
	movzx edx, dl
	and ecx, 0x1f
	mov eax, 0x80000000
	shr eax, cl
	or [ebp+edx*4-0x2c], eax
	mov [esp+0x4], esi
	mov eax, [ebp-0x3c]
	mov [esp], eax
	call _Z19DObjSetHidePartBitsP6DObj_sPKj
	mov eax, [ebp-0x2c]
	mov [edi+0xe4], eax
	mov eax, [ebp-0x28]
	mov [ebx+0x4], eax
	mov eax, [ebp-0x24]
	mov [ebx+0x8], eax
	mov eax, [ebp-0x20]
	mov [ebx+0xc], eax
	add esp, 0x4c
	pop ebx
	pop esi
	pop edi
	pop ebp
	ret
_Z15ScrCmd_hidepart12scr_entref_t_40:
	mov [esp], ebx
	call _Z18SL_ConvertToStringj
	mov [esp+0x8], esi
	mov [esp+0x4], eax
	mov dword [esp], _cstring_cannot_find_part
	call _Z2vaPKcz
	mov [esp], eax
	call _Z9Scr_ErrorPKc
	jmp _Z15ScrCmd_hidepart12scr_entref_t_50
_Z15ScrCmd_hidepart12scr_entref_t_10:
	mov dword [esp], _cstring_not_an_entity
	call _Z15Scr_ObjectErrorPKc
	xor edi, edi
	jmp _Z15ScrCmd_hidepart12scr_entref_t_60
_Z15ScrCmd_hidepart12scr_entref_t_30:
	lea eax, [ebp-0x19]
	mov [esp+0x8], eax
	mov [esp+0x4], ebx
	mov eax, [ebp-0x3c]
	mov [esp], eax
	call _Z16DObjGetBoneIndexPK6DObj_sjPh
	test eax, eax
	jnz _Z15ScrCmd_hidepart12scr_entref_t_50
	mov [esp], ebx
	call _Z18SL_ConvertToStringj
	mov [esp+0x4], eax
	mov dword [esp], _cstring_cannot_find_part1
	call _Z2vaPKcz
	mov [esp], eax
	call _Z9Scr_ErrorPKc
	jmp _Z15ScrCmd_hidepart12scr_entref_t_50
_Z15ScrCmd_hidepart12scr_entref_t_20:
	mov dword [esp], _cstring_entity_has_no_mo
	call _Z9Scr_ErrorPKc
	jmp _Z15ScrCmd_hidepart12scr_entref_t_70


;ScrCmd_showpart(scr_entref_t)
_Z15ScrCmd_showpart12scr_entref_t:
	push ebp
	mov ebp, esp
	push edi
	push esi
	push ebx
	sub esp, 0x4c
	mov eax, [ebp+0x8]
	mov edx, eax
	shr eax, 0x10
	test ax, ax
	jnz _Z15ScrCmd_showpart12scr_entref_t_10
	movzx eax, dx
	lea edx, [eax+eax*8]
	lea edx, [eax+edx*2]
	mov ecx, edx
	shl ecx, 0x5
	add edx, ecx
	lea edi, [edx+eax]
	add edi, g_entities
_Z15ScrCmd_showpart12scr_entref_t_60:
	mov eax, [edi]
	mov [esp], eax
	call _Z17Com_GetServerDObji
	mov [ebp-0x3c], eax
	test eax, eax
	jz _Z15ScrCmd_showpart12scr_entref_t_20
_Z15ScrCmd_showpart12scr_entref_t_70:
	mov byte [ebp-0x19], 0xfe
	mov dword [esp], 0x0
	call _Z27Scr_GetConstLowercaseStringj
	mov ebx, eax
	call _Z15Scr_GetNumParamv
	sub eax, 0x1
	jz _Z15ScrCmd_showpart12scr_entref_t_30
	mov dword [esp], 0x1
	call _Z13Scr_GetStringj
	mov esi, eax
	lea eax, [ebp-0x19]
	mov [esp+0xc], eax
	mov [esp+0x8], ebx
	mov [esp+0x4], esi
	mov eax, [ebp-0x3c]
	mov [esp], eax
	call _Z21DObjGetModelBoneIndexPK6DObj_sPKcjPh
	test eax, eax
	jz _Z15ScrCmd_showpart12scr_entref_t_40
_Z15ScrCmd_showpart12scr_entref_t_50:
	lea esi, [ebp-0x2c]
	lea ebx, [edi+0xe4]
	mov eax, [edi+0xe4]
	mov [ebp-0x2c], eax
	mov eax, [ebx+0x4]
	mov [ebp-0x28], eax
	mov eax, [ebx+0x8]
	mov [ebp-0x24], eax
	mov eax, [ebx+0xc]
	mov [ebp-0x20], eax
	movzx ecx, byte [ebp-0x19]
	mov edx, ecx
	shr dl, 0x5
	movzx edx, dl
	and ecx, 0x1f
	mov eax, 0x80000000
	shr eax, cl
	not eax
	and [ebp+edx*4-0x2c], eax
	mov [esp+0x4], esi
	mov eax, [ebp-0x3c]
	mov [esp], eax
	call _Z19DObjSetHidePartBitsP6DObj_sPKj
	mov eax, [ebp-0x2c]
	mov [edi+0xe4], eax
	mov eax, [ebp-0x28]
	mov [ebx+0x4], eax
	mov eax, [ebp-0x24]
	mov [ebx+0x8], eax
	mov eax, [ebp-0x20]
	mov [ebx+0xc], eax
	add esp, 0x4c
	pop ebx
	pop esi
	pop edi
	pop ebp
	ret
_Z15ScrCmd_showpart12scr_entref_t_40:
	mov [esp], ebx
	call _Z18SL_ConvertToStringj
	mov [esp+0x8], esi
	mov [esp+0x4], eax
	mov dword [esp], _cstring_cannot_find_part
	call _Z2vaPKcz
	mov [esp], eax
	call _Z9Scr_ErrorPKc
	jmp _Z15ScrCmd_showpart12scr_entref_t_50
_Z15ScrCmd_showpart12scr_entref_t_10:
	mov dword [esp], _cstring_not_an_entity
	call _Z15Scr_ObjectErrorPKc
	xor edi, edi
	jmp _Z15ScrCmd_showpart12scr_entref_t_60
_Z15ScrCmd_showpart12scr_entref_t_30:
	lea eax, [ebp-0x19]
	mov [esp+0x8], eax
	mov [esp+0x4], ebx
	mov eax, [ebp-0x3c]
	mov [esp], eax
	call _Z16DObjGetBoneIndexPK6DObj_sjPh
	test eax, eax
	jnz _Z15ScrCmd_showpart12scr_entref_t_50
	mov [esp], ebx
	call _Z18SL_ConvertToStringj
	mov [esp+0x4], eax
	mov dword [esp], _cstring_cannot_find_part1
	call _Z2vaPKcz
	mov [esp], eax
	call _Z9Scr_ErrorPKc
	jmp _Z15ScrCmd_showpart12scr_entref_t_50
_Z15ScrCmd_showpart12scr_entref_t_20:
	mov dword [esp], _cstring_entity_has_no_mo
	call _Z9Scr_ErrorPKc
	jmp _Z15ScrCmd_showpart12scr_entref_t_70


;ScrCmd_showallparts(scr_entref_t)
_Z19ScrCmd_showallparts12scr_entref_t:
	push ebp
	mov ebp, esp
	push esi
	push ebx
	sub esp, 0x20
	mov eax, [ebp+0x8]
	mov edx, eax
	shr eax, 0x10
	test ax, ax
	jnz _Z19ScrCmd_showallparts12scr_entref_t_10
	movzx eax, dx
	lea edx, [eax+eax*8]
	lea edx, [eax+edx*2]
	mov ecx, edx
	shl ecx, 0x5
	add edx, ecx
	lea ebx, [edx+eax]
	add ebx, g_entities
	mov eax, [ebx]
	mov [esp], eax
	call _Z17Com_GetServerDObji
	mov esi, eax
	test eax, eax
	jz _Z19ScrCmd_showallparts12scr_entref_t_20
_Z19ScrCmd_showallparts12scr_entref_t_30:
	lea eax, [ebp-0x18]
	mov dword [ebp-0x18], 0x0
	mov dword [ebp-0x14], 0x0
	mov dword [ebp-0x10], 0x0
	mov dword [ebp-0xc], 0x0
	mov [esp+0x4], eax
	mov [esp], esi
	call _Z19DObjSetHidePartBitsP6DObj_sPKj
	lea edx, [ebx+0xe4]
	mov eax, [ebp-0x18]
	mov [ebx+0xe4], eax
	mov eax, [ebp-0x14]
	mov [edx+0x4], eax
	mov eax, [ebp-0x10]
	mov [edx+0x8], eax
	mov eax, [ebp-0xc]
	mov [edx+0xc], eax
	add esp, 0x20
	pop ebx
	pop esi
	pop ebp
	ret
_Z19ScrCmd_showallparts12scr_entref_t_10:
	mov dword [esp], _cstring_not_an_entity
	call _Z15Scr_ObjectErrorPKc
	xor ebx, ebx
	mov eax, [ebx]
	mov [esp], eax
	call _Z17Com_GetServerDObji
	mov esi, eax
	test eax, eax
	jnz _Z19ScrCmd_showallparts12scr_entref_t_30
_Z19ScrCmd_showallparts12scr_entref_t_20:
	mov dword [esp], _cstring_entity_has_no_mo
	call _Z9Scr_ErrorPKc
	jmp _Z19ScrCmd_showallparts12scr_entref_t_30
	nop


;ScrCmd_LinkTo(scr_entref_t)
_Z13ScrCmd_LinkTo12scr_entref_t:
	push ebp
	mov ebp, esp
	push edi
	push esi
	push ebx
	sub esp, 0x5c
	mov eax, [ebp+0x8]
	mov edx, eax
	shr eax, 0x10
	test ax, ax
	jnz _Z13ScrCmd_LinkTo12scr_entref_t_10
	movzx eax, dx
	lea edx, [eax+eax*8]
	lea edx, [eax+edx*2]
	mov ecx, edx
	shl ecx, 0x5
	add edx, ecx
	lea edi, [edx+eax]
	add edi, g_entities
	mov dword [esp], 0x0
	call _Z11Scr_GetTypej
	sub eax, 0x1
	jz _Z13ScrCmd_LinkTo12scr_entref_t_20
_Z13ScrCmd_LinkTo12scr_entref_t_130:
	mov dword [esp+0x4], _cstring_not_an_entity
	mov dword [esp], 0x0
	call _Z14Scr_ParamErrorjPKc
_Z13ScrCmd_LinkTo12scr_entref_t_140:
	test byte [edi+0x181], 0x10
	jz _Z13ScrCmd_LinkTo12scr_entref_t_30
_Z13ScrCmd_LinkTo12scr_entref_t_150:
	mov dword [esp], 0x0
	call _Z13Scr_GetEntityj
	mov [ebp-0x40], eax
	call _Z15Scr_GetNumParamv
	mov ebx, eax
	cmp eax, 0x1
	jle _Z13ScrCmd_LinkTo12scr_entref_t_40
	mov dword [esp], 0x1
	call _Z27Scr_GetConstLowercaseStringj
	mov [ebp-0x3c], eax
	mov eax, scr_const
	movzx eax, word [eax]
	cmp [ebp-0x3c], eax
	jz _Z13ScrCmd_LinkTo12scr_entref_t_40
	cmp ebx, 0x2
	jg _Z13ScrCmd_LinkTo12scr_entref_t_50
_Z13ScrCmd_LinkTo12scr_entref_t_100:
	mov eax, [ebp-0x3c]
	mov [esp+0x8], eax
	mov edx, [ebp-0x40]
	mov [esp+0x4], edx
	mov [esp], edi
	call _Z11G_EntLinkToP9gentity_sS0_j
	test eax, eax
	jnz _Z13ScrCmd_LinkTo12scr_entref_t_60
	mov eax, [ebp-0x40]
	mov [esp], eax
	call _Z13SV_DObjExistsP9gentity_s
	test eax, eax
	jnz _Z13ScrCmd_LinkTo12scr_entref_t_70
_Z13ScrCmd_LinkTo12scr_entref_t_110:
	mov edx, [ebp-0x40]
	cmp word [edx+0x168], 0x0
	jz _Z13ScrCmd_LinkTo12scr_entref_t_80
_Z13ScrCmd_LinkTo12scr_entref_t_160:
	movzx eax, word [edx+0x168]
	mov [esp], eax
	call _Z11G_ModelNamei
	mov [esp], eax
	call _Z18SL_ConvertToStringj
	mov [esp+0x4], eax
	mov dword [esp], _cstring_failed_to_link_e
	call _Z2vaPKcz
	mov [esp], eax
	call _Z9Scr_ErrorPKc
_Z13ScrCmd_LinkTo12scr_entref_t_70:
	mov eax, [ebp-0x3c]
	test eax, eax
	jnz _Z13ScrCmd_LinkTo12scr_entref_t_90
_Z13ScrCmd_LinkTo12scr_entref_t_120:
	mov dword [esp], _cstring_failed_to_link_e1
	call _Z9Scr_ErrorPKc
_Z13ScrCmd_LinkTo12scr_entref_t_60:
	add esp, 0x5c
	pop ebx
	pop esi
	pop edi
	pop ebp
	ret
_Z13ScrCmd_LinkTo12scr_entref_t_40:
	mov dword [ebp-0x3c], 0x0
	cmp ebx, 0x2
	jle _Z13ScrCmd_LinkTo12scr_entref_t_100
_Z13ScrCmd_LinkTo12scr_entref_t_50:
	lea esi, [ebp-0x24]
	mov [esp+0x4], esi
	mov dword [esp], 0x2
	call _Z13Scr_GetVectorjPf
	lea ebx, [ebp-0x30]
	mov [esp+0x4], ebx
	mov dword [esp], 0x3
	call _Z13Scr_GetVectorjPf
	mov [esp+0x10], ebx
	mov [esp+0xc], esi
	mov eax, [ebp-0x3c]
	mov [esp+0x8], eax
	mov edx, [ebp-0x40]
	mov [esp+0x4], edx
	mov [esp], edi
	call _Z21G_EntLinkToWithOffsetP9gentity_sS0_jPKfS2_
	test eax, eax
	jnz _Z13ScrCmd_LinkTo12scr_entref_t_60
	mov eax, [ebp-0x40]
	mov [esp], eax
	call _Z13SV_DObjExistsP9gentity_s
	test eax, eax
	jnz _Z13ScrCmd_LinkTo12scr_entref_t_70
	jmp _Z13ScrCmd_LinkTo12scr_entref_t_110
_Z13ScrCmd_LinkTo12scr_entref_t_90:
	mov eax, [ebp-0x3c]
	mov [esp+0x4], eax
	mov edx, [ebp-0x40]
	mov [esp], edx
	call _Z19SV_DObjGetBoneIndexPK9gentity_sj
	test eax, eax
	jns _Z13ScrCmd_LinkTo12scr_entref_t_120
	mov eax, [ebp-0x40]
	mov [esp], eax
	call _Z15SV_DObjDumpInfoP9gentity_s
	mov edx, [ebp-0x40]
	movzx eax, word [edx+0x168]
	mov [esp], eax
	call _Z11G_ModelNamei
	mov [esp], eax
	call _Z18SL_ConvertToStringj
	mov ebx, eax
	mov eax, [ebp-0x3c]
	mov [esp], eax
	call _Z18SL_ConvertToStringj
	mov [esp+0x8], ebx
	mov [esp+0x4], eax
	mov dword [esp], _cstring_failed_to_link_e2
	call _Z2vaPKcz
	mov [esp], eax
	call _Z9Scr_ErrorPKc
	jmp _Z13ScrCmd_LinkTo12scr_entref_t_120
_Z13ScrCmd_LinkTo12scr_entref_t_10:
	mov dword [esp], _cstring_not_an_entity
	call _Z15Scr_ObjectErrorPKc
	xor edi, edi
	mov dword [esp], 0x0
	call _Z11Scr_GetTypej
	sub eax, 0x1
	jnz _Z13ScrCmd_LinkTo12scr_entref_t_130
_Z13ScrCmd_LinkTo12scr_entref_t_20:
	mov dword [esp], 0x0
	call _Z18Scr_GetPointerTypej
	cmp eax, 0x14
	jnz _Z13ScrCmd_LinkTo12scr_entref_t_130
	jmp _Z13ScrCmd_LinkTo12scr_entref_t_140
_Z13ScrCmd_LinkTo12scr_entref_t_30:
	movzx eax, word [edi+0x170]
	mov [esp], eax
	call _Z18SL_ConvertToStringj
	mov [esp+0x4], eax
	mov dword [esp], _cstring_entity_classname
	call _Z2vaPKcz
	mov [esp], eax
	call _Z15Scr_ObjectErrorPKc
	jmp _Z13ScrCmd_LinkTo12scr_entref_t_150
_Z13ScrCmd_LinkTo12scr_entref_t_80:
	mov dword [esp], _cstring_failed_to_link_e3
	call _Z9Scr_ErrorPKc
	mov edx, [ebp-0x40]
	jmp _Z13ScrCmd_LinkTo12scr_entref_t_160
	nop


;ScrCmd_Unlink(scr_entref_t)
_Z13ScrCmd_Unlink12scr_entref_t:
	push ebp
	mov ebp, esp
	sub esp, 0x18
	mov eax, [ebp+0x8]
	mov edx, eax
	shr eax, 0x10
	test ax, ax
	jnz _Z13ScrCmd_Unlink12scr_entref_t_10
	movzx eax, dx
	lea edx, [eax+eax*8]
	lea edx, [eax+edx*2]
	mov ecx, edx
	shl ecx, 0x5
	add edx, ecx
	lea eax, [edx+eax]
	add eax, g_entities
	mov [ebp+0x8], eax
	leave
	jmp _Z11G_EntUnlinkP9gentity_s
_Z13ScrCmd_Unlink12scr_entref_t_10:
	mov dword [esp], _cstring_not_an_entity
	call _Z15Scr_ObjectErrorPKc
	xor eax, eax
	mov [ebp+0x8], eax
	leave
	jmp _Z11G_EntUnlinkP9gentity_s


;ScrCmd_EnableLinkTo(scr_entref_t)
_Z19ScrCmd_EnableLinkTo12scr_entref_t:
	push ebp
	mov ebp, esp
	push ebx
	sub esp, 0x14
	mov eax, [ebp+0x8]
	mov edx, eax
	shr eax, 0x10
	test ax, ax
	jnz _Z19ScrCmd_EnableLinkTo12scr_entref_t_10
	movzx eax, dx
	lea edx, [eax+eax*8]
	lea edx, [eax+edx*2]
	mov ecx, edx
	shl ecx, 0x5
	add edx, ecx
	lea ebx, [edx+eax]
	add ebx, g_entities
	test byte [ebx+0x181], 0x10
	jnz _Z19ScrCmd_EnableLinkTo12scr_entref_t_20
_Z19ScrCmd_EnableLinkTo12scr_entref_t_50:
	mov eax, [ebx+0x4]
	test eax, eax
	jnz _Z19ScrCmd_EnableLinkTo12scr_entref_t_30
	cmp byte [ebx+0x16a], 0x0
	jz _Z19ScrCmd_EnableLinkTo12scr_entref_t_40
_Z19ScrCmd_EnableLinkTo12scr_entref_t_30:
	movzx eax, word [ebx+0x170]
	mov [esp], eax
	call _Z18SL_ConvertToStringj
	mov [esp+0x4], eax
	mov dword [esp], _cstring_entity_classname1
	call _Z2vaPKcz
	mov [esp], eax
	call _Z15Scr_ObjectErrorPKc
_Z19ScrCmd_EnableLinkTo12scr_entref_t_40:
	or dword [ebx+0x180], 0x1000
	add esp, 0x14
	pop ebx
	pop ebp
	ret
_Z19ScrCmd_EnableLinkTo12scr_entref_t_10:
	mov dword [esp], _cstring_not_an_entity
	call _Z15Scr_ObjectErrorPKc
	xor ebx, ebx
	test byte [ebx+0x181], 0x10
	jz _Z19ScrCmd_EnableLinkTo12scr_entref_t_50
_Z19ScrCmd_EnableLinkTo12scr_entref_t_20:
	mov dword [esp], _cstring_entity_already_h
	call _Z15Scr_ObjectErrorPKc
	jmp _Z19ScrCmd_EnableLinkTo12scr_entref_t_50


;ScrCmd_GetOrigin(scr_entref_t)
_Z16ScrCmd_GetOrigin12scr_entref_t:
	push ebp
	mov ebp, esp
	sub esp, 0x28
	mov eax, [ebp+0x8]
	mov edx, eax
	shr eax, 0x10
	test ax, ax
	jnz _Z16ScrCmd_GetOrigin12scr_entref_t_10
	movzx eax, dx
	lea edx, [eax+eax*8]
	lea edx, [eax+edx*2]
	mov ecx, edx
	shl ecx, 0x5
	add edx, ecx
	lea eax, [edx+eax]
	add eax, g_entities
	lea edx, [eax+0x13c]
	mov eax, [eax+0x13c]
	mov [ebp-0x14], eax
	mov eax, [edx+0x4]
	mov [ebp-0x10], eax
	mov eax, [edx+0x8]
	mov [ebp-0xc], eax
	lea eax, [ebp-0x14]
	mov [esp], eax
	call _Z13Scr_AddVectorPKf
	leave
	ret
_Z16ScrCmd_GetOrigin12scr_entref_t_10:
	mov dword [esp], _cstring_not_an_entity
	call _Z15Scr_ObjectErrorPKc
	xor eax, eax
	lea edx, [eax+0x13c]
	mov eax, [eax+0x13c]
	mov [ebp-0x14], eax
	mov eax, [edx+0x4]
	mov [ebp-0x10], eax
	mov eax, [edx+0x8]
	mov [ebp-0xc], eax
	lea eax, [ebp-0x14]
	mov [esp], eax
	call _Z13Scr_AddVectorPKf
	leave
	ret


;ScrCmd_GetEye(scr_entref_t)
_Z13ScrCmd_GetEye12scr_entref_t:
	push ebp
	mov ebp, esp
	sub esp, 0x28
	mov eax, [ebp+0x8]
	mov edx, eax
	shr eax, 0x10
	test ax, ax
	jnz _Z13ScrCmd_GetEye12scr_entref_t_10
	movzx eax, dx
	lea edx, [eax+eax*8]
	lea edx, [eax+edx*2]
	mov ecx, edx
	shl ecx, 0x5
	add edx, ecx
	lea eax, [edx+eax]
	add eax, g_entities
_Z13ScrCmd_GetEye12scr_entref_t_20:
	lea edx, [eax+0x13c]
	mov eax, [eax+0x13c]
	mov [ebp-0x14], eax
	mov eax, [edx+0x4]
	mov [ebp-0x10], eax
	movss xmm0, dword [_float_40_00000000]
	addss xmm0, [edx+0x8]
	movss [ebp-0xc], xmm0
	lea eax, [ebp-0x14]
	mov [esp], eax
	call _Z13Scr_AddVectorPKf
	leave
	ret
_Z13ScrCmd_GetEye12scr_entref_t_10:
	mov dword [esp], _cstring_not_an_entity
	call _Z15Scr_ObjectErrorPKc
	xor eax, eax
	jmp _Z13ScrCmd_GetEye12scr_entref_t_20


;ScrCmd_UseBy(scr_entref_t)
_Z12ScrCmd_UseBy12scr_entref_t:
	push ebp
	mov ebp, esp
	push esi
	push ebx
	sub esp, 0x10
	mov eax, [ebp+0x8]
	mov edx, eax
	shr eax, 0x10
	test ax, ax
	jnz _Z12ScrCmd_UseBy12scr_entref_t_10
	movzx eax, dx
	lea edx, [eax+eax*8]
	lea edx, [eax+edx*2]
	mov ecx, edx
	shl ecx, 0x5
	add edx, ecx
	lea ebx, [edx+eax]
	add ebx, g_entities
_Z12ScrCmd_UseBy12scr_entref_t_30:
	mov dword [esp], 0x0
	call _Z13Scr_GetEntityj
	mov esi, eax
	mov [esp], eax
	call _Z13Scr_AddEntityP9gentity_s
	mov dword [esp+0x8], 0x1
	mov eax, scr_const
	movzx eax, word [eax+0xbc]
	mov [esp+0x4], eax
	mov [esp], ebx
	call _Z10Scr_NotifyP9gentity_stj
	movzx eax, byte [ebx+0x16e]
	lea eax, [eax+eax*4]
	shl eax, 0x3
	add eax, entityHandlers
	mov eax, [eax+0x10]
	test eax, eax
	jz _Z12ScrCmd_UseBy12scr_entref_t_20
	mov [esp+0x8], esi
	mov [esp+0x4], esi
	mov [esp], ebx
	call eax
_Z12ScrCmd_UseBy12scr_entref_t_20:
	add esp, 0x10
	pop ebx
	pop esi
	pop ebp
	ret
_Z12ScrCmd_UseBy12scr_entref_t_10:
	mov dword [esp], _cstring_not_an_entity
	call _Z15Scr_ObjectErrorPKc
	xor ebx, ebx
	jmp _Z12ScrCmd_UseBy12scr_entref_t_30


;Scr_SetStableMissile(scr_entref_t)
_Z20Scr_SetStableMissile12scr_entref_t:
	push ebp
	mov ebp, esp
	push esi
	push ebx
	sub esp, 0x10
	mov eax, [ebp+0x8]
	mov edx, eax
	shr eax, 0x10
	test ax, ax
	jnz _Z20Scr_SetStableMissile12scr_entref_t_10
	movzx eax, dx
	lea edx, [eax+eax*8]
	lea edx, [eax+edx*2]
	mov ecx, edx
	shl ecx, 0x5
	add edx, ecx
	lea ebx, [edx+eax]
	add ebx, g_entities
_Z20Scr_SetStableMissile12scr_entref_t_40:
	mov dword [esp], 0x0
	call _Z10Scr_GetIntj
	mov esi, eax
	cmp dword [ebx+0x4], 0x1
	jz _Z20Scr_SetStableMissile12scr_entref_t_20
	mov dword [esp], _cstring_type_should_be_a
	call _Z9Scr_ErrorPKc
_Z20Scr_SetStableMissile12scr_entref_t_20:
	test esi, esi
	jz _Z20Scr_SetStableMissile12scr_entref_t_30
	or dword [ebx+0x180], 0x20000
	add esp, 0x10
	pop ebx
	pop esi
	pop ebp
	ret
_Z20Scr_SetStableMissile12scr_entref_t_30:
	and dword [ebx+0x180], 0xfffdffff
	add esp, 0x10
	pop ebx
	pop esi
	pop ebp
	ret
_Z20Scr_SetStableMissile12scr_entref_t_10:
	mov dword [esp], _cstring_not_an_entity
	call _Z15Scr_ObjectErrorPKc
	xor ebx, ebx
	jmp _Z20Scr_SetStableMissile12scr_entref_t_40


;ScrCmd_IsTouching(scr_entref_t)
_Z17ScrCmd_IsTouching12scr_entref_t:
	push ebp
	mov ebp, esp
	push edi
	push esi
	push ebx
	sub esp, 0x3c
	mov eax, [ebp+0x8]
	mov edx, eax
	shr eax, 0x10
	test ax, ax
	jnz _Z17ScrCmd_IsTouching12scr_entref_t_10
	movzx eax, dx
	lea edx, [eax+eax*8]
	lea edx, [eax+edx*2]
	mov ecx, edx
	shl ecx, 0x5
	add edx, ecx
	lea esi, [edx+eax]
	add esi, g_entities
_Z17ScrCmd_IsTouching12scr_entref_t_70:
	cmp byte [esi+0xf5], 0x0
	jnz _Z17ScrCmd_IsTouching12scr_entref_t_20
	movzx eax, byte [esi+0xf6]
	test al, 0x60
	jz _Z17ScrCmd_IsTouching12scr_entref_t_30
_Z17ScrCmd_IsTouching12scr_entref_t_20:
	mov dword [esp], 0x0
	call _Z13Scr_GetEntityj
	mov ebx, eax
	cmp byte [eax+0xf5], 0x0
	jnz _Z17ScrCmd_IsTouching12scr_entref_t_40
	movzx eax, byte [eax+0xf6]
	test al, 0x60
	jz _Z17ScrCmd_IsTouching12scr_entref_t_50
_Z17ScrCmd_IsTouching12scr_entref_t_40:
	mov dword [esp], _cstring_istouching_canno
	call _Z9Scr_ErrorPKc
_Z17ScrCmd_IsTouching12scr_entref_t_50:
	mov edi, esi
_Z17ScrCmd_IsTouching12scr_entref_t_60:
	lea eax, [ebx+0x108]
	movss xmm0, dword [ebx+0x13c]
	addss xmm0, [ebx+0x108]
	movss [ebp-0x24], xmm0
	movss xmm0, dword [ebx+0x140]
	addss xmm0, [eax+0x4]
	movss [ebp-0x20], xmm0
	movss xmm0, dword [ebx+0x144]
	addss xmm0, [eax+0x8]
	movss [ebp-0x1c], xmm0
	lea eax, [ebx+0x114]
	movss xmm0, dword [ebx+0x13c]
	addss xmm0, [ebx+0x114]
	movss [ebp-0x30], xmm0
	movss xmm0, dword [ebx+0x140]
	addss xmm0, [eax+0x4]
	movss [ebp-0x2c], xmm0
	movss xmm0, dword [ebx+0x144]
	addss xmm0, [eax+0x8]
	movss [ebp-0x28], xmm0
	lea esi, [ebp-0x30]
	mov [esp+0x4], esi
	lea ebx, [ebp-0x24]
	mov [esp], ebx
	call _Z19ExpandBoundsToWidthPfS_
	mov [esp+0x8], edi
	mov [esp+0x4], esi
	mov [esp], ebx
	call _Z16SV_EntityContactPKfS0_PK9gentity_s
	mov [esp], eax
	call _Z10Scr_AddInti
	add esp, 0x3c
	pop ebx
	pop esi
	pop edi
	pop ebp
	ret
_Z17ScrCmd_IsTouching12scr_entref_t_30:
	mov dword [esp], 0x0
	call _Z13Scr_GetEntityj
	mov edi, eax
	mov ebx, esi
	jmp _Z17ScrCmd_IsTouching12scr_entref_t_60
_Z17ScrCmd_IsTouching12scr_entref_t_10:
	mov dword [esp], _cstring_not_an_entity
	call _Z15Scr_ObjectErrorPKc
	xor esi, esi
	jmp _Z17ScrCmd_IsTouching12scr_entref_t_70
	nop


;ScrCmd_PlaySound(scr_entref_t)
_Z16ScrCmd_PlaySound12scr_entref_t:
	push ebp
	mov ebp, esp
	push esi
	push ebx
	sub esp, 0x10
	mov eax, [ebp+0x8]
	mov edx, eax
	shr eax, 0x10
	test ax, ax
	jnz _Z16ScrCmd_PlaySound12scr_entref_t_10
	movzx eax, dx
	lea edx, [eax+eax*8]
	lea edx, [eax+edx*2]
	mov ecx, edx
	shl ecx, 0x5
	add edx, ecx
	lea ebx, [edx+eax]
	add ebx, g_entities
_Z16ScrCmd_PlaySound12scr_entref_t_30:
	mov dword [esp], 0x0
	call _Z13Scr_GetStringj
	mov [esp], eax
	call _Z17G_SoundAliasIndexPKc
	mov esi, eax
	mov dword [esp+0x4], 0x3
	lea eax, [ebx+0x13c]
	mov [esp], eax
	call _Z12G_TempEntityPKfi
	or byte [eax+0xf6], 0x8
	mov ecx, esi
	movzx edx, cl
	mov [eax+0x9c], edx
	call _Z15Scr_GetNumParamv
	sub eax, 0x1
	jz _Z16ScrCmd_PlaySound12scr_entref_t_20
	call _Z15Scr_GetNumParamv
	mov [esp+0x4], eax
	mov dword [esp], _cstring_playsound_has_d_
	call _Z2vaPKcz
	mov [ebp+0x8], eax
	add esp, 0x10
	pop ebx
	pop esi
	pop ebp
	jmp _Z9Scr_ErrorPKc
_Z16ScrCmd_PlaySound12scr_entref_t_20:
	add esp, 0x10
	pop ebx
	pop esi
	pop ebp
	ret
_Z16ScrCmd_PlaySound12scr_entref_t_10:
	mov dword [esp], _cstring_not_an_entity
	call _Z15Scr_ObjectErrorPKc
	xor ebx, ebx
	jmp _Z16ScrCmd_PlaySound12scr_entref_t_30
	nop


;ScrCmd_PlaySoundAsMaster(scr_entref_t)
_Z24ScrCmd_PlaySoundAsMaster12scr_entref_t:
	push ebp
	mov ebp, esp
	push esi
	push ebx
	sub esp, 0x10
	mov eax, [ebp+0x8]
	mov edx, eax
	shr eax, 0x10
	test ax, ax
	jnz _Z24ScrCmd_PlaySoundAsMaster12scr_entref_t_10
	movzx eax, dx
	lea edx, [eax+eax*8]
	lea edx, [eax+edx*2]
	mov ecx, edx
	shl ecx, 0x5
	add edx, ecx
	lea ebx, [edx+eax]
	add ebx, g_entities
_Z24ScrCmd_PlaySoundAsMaster12scr_entref_t_30:
	mov dword [esp], 0x0
	call _Z13Scr_GetStringj
	mov [esp], eax
	call _Z17G_SoundAliasIndexPKc
	mov esi, eax
	mov dword [esp+0x4], 0x4
	lea eax, [ebx+0x13c]
	mov [esp], eax
	call _Z12G_TempEntityPKfi
	or byte [eax+0xf6], 0x8
	mov ecx, esi
	movzx edx, cl
	mov [eax+0x9c], edx
	call _Z15Scr_GetNumParamv
	sub eax, 0x1
	jz _Z24ScrCmd_PlaySoundAsMaster12scr_entref_t_20
	call _Z15Scr_GetNumParamv
	mov [esp+0x4], eax
	mov dword [esp], _cstring_playsoundasmaste
	call _Z2vaPKcz
	mov [ebp+0x8], eax
	add esp, 0x10
	pop ebx
	pop esi
	pop ebp
	jmp _Z9Scr_ErrorPKc
_Z24ScrCmd_PlaySoundAsMaster12scr_entref_t_20:
	add esp, 0x10
	pop ebx
	pop esi
	pop ebp
	ret
_Z24ScrCmd_PlaySoundAsMaster12scr_entref_t_10:
	mov dword [esp], _cstring_not_an_entity
	call _Z15Scr_ObjectErrorPKc
	xor ebx, ebx
	jmp _Z24ScrCmd_PlaySoundAsMaster12scr_entref_t_30
	nop


;ScrCmd_PlaySoundToTeam(scr_entref_t)
_Z22ScrCmd_PlaySoundToTeam12scr_entref_t:
	push ebp
	mov ebp, esp
	push edi
	push esi
	push ebx
	sub esp, 0x3c
	mov eax, [ebp+0x8]
	mov edx, eax
	shr eax, 0x10
	test ax, ax
	jnz _Z22ScrCmd_PlaySoundToTeam12scr_entref_t_10
	movzx eax, dx
	lea edx, [eax+eax*8]
	lea edx, [eax+edx*2]
	mov ecx, edx
	shl ecx, 0x5
	add edx, ecx
	lea ebx, [edx+eax]
	add ebx, g_entities
_Z22ScrCmd_PlaySoundToTeam12scr_entref_t_100:
	mov dword [esp], 0x0
	call _Z13Scr_GetStringj
	mov [esp], eax
	call _Z17G_SoundAliasIndexPKc
	mov esi, eax
	mov dword [esp+0x4], 0x3
	lea eax, [ebx+0x13c]
	mov [esp], eax
	call _Z12G_TempEntityPKfi
	mov edi, eax
	or byte [eax+0xf6], 0x8
	mov edx, esi
	movzx eax, dl
	mov [edi+0x9c], eax
	mov dword [esp], 0x1
	call _Z18Scr_GetConstStringj
	mov ebx, eax
	mov esi, scr_const
	cmp ax, [esi+0xc]
	jz _Z22ScrCmd_PlaySoundToTeam12scr_entref_t_20
	cmp ax, [esi+0xe]
	jz _Z22ScrCmd_PlaySoundToTeam12scr_entref_t_30
	movzx eax, ax
	mov [esp], eax
	call _Z18SL_ConvertToStringj
	mov [esp+0x4], eax
	mov dword [esp], _cstring_illegal_team_str1
	call _Z2vaPKcz
	mov [esp], eax
	call _Z9Scr_ErrorPKc
	cmp bx, [esi+0xc]
	jz _Z22ScrCmd_PlaySoundToTeam12scr_entref_t_20
_Z22ScrCmd_PlaySoundToTeam12scr_entref_t_30:
	mov dword [ebp-0x1c], 0x1
	call _Z15Scr_GetNumParamv
	cmp eax, 0x2
	ja _Z22ScrCmd_PlaySoundToTeam12scr_entref_t_40
_Z22ScrCmd_PlaySoundToTeam12scr_entref_t_80:
	mov dword [ebp-0x20], 0x0
_Z22ScrCmd_PlaySoundToTeam12scr_entref_t_90:
	mov dword [edi+0xf8], 0xffffffff
	mov dword [edi+0xfc], 0xffffffff
	mov edx, g_maxclients
	mov eax, [edx]
	mov esi, [eax+0xc]
	test esi, esi
	jle _Z22ScrCmd_PlaySoundToTeam12scr_entref_t_50
	mov esi, g_entities
	xor ebx, ebx
	lea edx, [esi+0x100]
	jmp _Z22ScrCmd_PlaySoundToTeam12scr_entref_t_60
_Z22ScrCmd_PlaySoundToTeam12scr_entref_t_70:
	add ebx, 0x1
	add esi, 0x274
	add edx, 0x274
	mov ecx, g_maxclients
	mov eax, [ecx]
	cmp ebx, [eax+0xc]
	jge _Z22ScrCmd_PlaySoundToTeam12scr_entref_t_50
_Z22ScrCmd_PlaySoundToTeam12scr_entref_t_60:
	cmp byte [edx], 0x0
	jz _Z22ScrCmd_PlaySoundToTeam12scr_entref_t_70
	cmp [ebp-0x20], esi
	jz _Z22ScrCmd_PlaySoundToTeam12scr_entref_t_70
	mov eax, [edx+0x5c]
	mov ecx, [ebp-0x1c]
	cmp ecx, [eax+0x3010]
	jnz _Z22ScrCmd_PlaySoundToTeam12scr_entref_t_70
	mov ecx, [edx-0x100]
	mov eax, ecx
	sar eax, 0x5
	mov [ebp-0x2c], eax
	and ecx, 0x1f
	mov eax, 0x1
	shl eax, cl
	mov ecx, eax
	not ecx
	mov eax, [ebp-0x2c]
	and [edi+eax*4+0xf8], ecx
	add ebx, 0x1
	add esi, 0x274
	add edx, 0x274
	mov ecx, g_maxclients
	mov eax, [ecx]
	cmp ebx, [eax+0xc]
	jl _Z22ScrCmd_PlaySoundToTeam12scr_entref_t_60
_Z22ScrCmd_PlaySoundToTeam12scr_entref_t_50:
	add esp, 0x3c
	pop ebx
	pop esi
	pop edi
	pop ebp
	ret
_Z22ScrCmd_PlaySoundToTeam12scr_entref_t_20:
	mov dword [ebp-0x1c], 0x2
	call _Z15Scr_GetNumParamv
	cmp eax, 0x2
	jbe _Z22ScrCmd_PlaySoundToTeam12scr_entref_t_80
_Z22ScrCmd_PlaySoundToTeam12scr_entref_t_40:
	mov dword [esp], 0x2
	call _Z13Scr_GetEntityj
	mov [ebp-0x20], eax
	mov edx, [eax+0x15c]
	test edx, edx
	jnz _Z22ScrCmd_PlaySoundToTeam12scr_entref_t_90
	mov eax, [eax]
	mov [esp+0x4], eax
	mov dword [esp], _cstring_entity_i_is_not_
	call _Z2vaPKcz
	mov [esp], eax
	call _Z15Scr_ObjectErrorPKc
	jmp _Z22ScrCmd_PlaySoundToTeam12scr_entref_t_90
_Z22ScrCmd_PlaySoundToTeam12scr_entref_t_10:
	mov dword [esp], _cstring_not_an_entity
	call _Z15Scr_ObjectErrorPKc
	xor ebx, ebx
	jmp _Z22ScrCmd_PlaySoundToTeam12scr_entref_t_100
	nop


;ScrCmd_PlaySoundToPlayer(scr_entref_t)
_Z24ScrCmd_PlaySoundToPlayer12scr_entref_t:
	push ebp
	mov ebp, esp
	push esi
	push ebx
	sub esp, 0x10
	mov eax, [ebp+0x8]
	mov edx, eax
	shr eax, 0x10
	test ax, ax
	jnz _Z24ScrCmd_PlaySoundToPlayer12scr_entref_t_10
	movzx eax, dx
	lea edx, [eax+eax*8]
	lea edx, [eax+edx*2]
	mov ecx, edx
	shl ecx, 0x5
	add edx, ecx
	lea ebx, [edx+eax]
	add ebx, g_entities
_Z24ScrCmd_PlaySoundToPlayer12scr_entref_t_30:
	mov dword [esp], 0x0
	call _Z13Scr_GetStringj
	mov [esp], eax
	call _Z17G_SoundAliasIndexPKc
	mov esi, eax
	mov dword [esp+0x4], 0x3
	lea eax, [ebx+0x13c]
	mov [esp], eax
	call _Z12G_TempEntityPKfi
	mov ebx, eax
	or byte [eax+0xf6], 0x8
	mov edx, esi
	movzx eax, dl
	mov [ebx+0x9c], eax
	mov dword [esp], 0x1
	call _Z13Scr_GetEntityj
	mov esi, eax
	mov eax, [eax+0x15c]
	test eax, eax
	jz _Z24ScrCmd_PlaySoundToPlayer12scr_entref_t_20
_Z24ScrCmd_PlaySoundToPlayer12scr_entref_t_40:
	mov dword [ebx+0xf8], 0xffffffff
	mov dword [ebx+0xfc], 0xffffffff
	mov ecx, [esi]
	mov edx, ecx
	sar edx, 0x5
	and ecx, 0x1f
	mov eax, 0xfffffffe
	rol eax, cl
	and [ebx+edx*4+0xf8], eax
	add esp, 0x10
	pop ebx
	pop esi
	pop ebp
	ret
_Z24ScrCmd_PlaySoundToPlayer12scr_entref_t_10:
	mov dword [esp], _cstring_not_an_entity
	call _Z15Scr_ObjectErrorPKc
	xor ebx, ebx
	jmp _Z24ScrCmd_PlaySoundToPlayer12scr_entref_t_30
_Z24ScrCmd_PlaySoundToPlayer12scr_entref_t_20:
	mov eax, [esi]
	mov [esp+0x4], eax
	mov dword [esp], _cstring_entity_i_is_not_
	call _Z2vaPKcz
	mov [esp], eax
	call _Z15Scr_ObjectErrorPKc
	jmp _Z24ScrCmd_PlaySoundToPlayer12scr_entref_t_40


;ScrCmd_PlayLoopSound(scr_entref_t)
_Z20ScrCmd_PlayLoopSound12scr_entref_t:
	push ebp
	mov ebp, esp
	push ebx
	sub esp, 0x14
	mov eax, [ebp+0x8]
	mov edx, eax
	shr eax, 0x10
	test ax, ax
	jnz _Z20ScrCmd_PlayLoopSound12scr_entref_t_10
	movzx eax, dx
	lea edx, [eax+eax*8]
	lea edx, [eax+edx*2]
	mov ecx, edx
	shl ecx, 0x5
	add edx, ecx
	lea ebx, [edx+eax]
	add ebx, g_entities
_Z20ScrCmd_PlayLoopSound12scr_entref_t_20:
	mov dword [esp], 0x0
	call _Z13Scr_GetStringj
	mov [esp], eax
	call _Z17G_SoundAliasIndexPKc
	mov dword [ebx+0x104], 0xffffffff
	movzx eax, al
	mov [ebx+0x80], eax
	add esp, 0x14
	pop ebx
	pop ebp
	ret
_Z20ScrCmd_PlayLoopSound12scr_entref_t_10:
	mov dword [esp], _cstring_not_an_entity
	call _Z15Scr_ObjectErrorPKc
	xor ebx, ebx
	jmp _Z20ScrCmd_PlayLoopSound12scr_entref_t_20


;ScrCmd_StopLoopSound(scr_entref_t)
_Z20ScrCmd_StopLoopSound12scr_entref_t:
	push ebp
	mov ebp, esp
	sub esp, 0x18
	mov eax, [ebp+0x8]
	mov edx, eax
	shr eax, 0x10
	test ax, ax
	jnz _Z20ScrCmd_StopLoopSound12scr_entref_t_10
	movzx eax, dx
	lea edx, [eax+eax*8]
	lea edx, [eax+edx*2]
	mov ecx, edx
	shl ecx, 0x5
	add edx, ecx
	add edx, eax
	add edx, g_entities
	mov eax, level
	mov eax, [eax+0x1ec]
	add eax, 0x12c
	mov [edx+0x104], eax
	mov dword [edx+0x80], 0x0
	leave
	ret
_Z20ScrCmd_StopLoopSound12scr_entref_t_10:
	mov dword [esp], _cstring_not_an_entity
	call _Z15Scr_ObjectErrorPKc
	xor edx, edx
	mov eax, level
	mov eax, [eax+0x1ec]
	add eax, 0x12c
	mov [edx+0x104], eax
	mov dword [edx+0x80], 0x0
	leave
	ret
	nop


;ScrCmd_PlayRumbleOnEntity(scr_entref_t)
_Z25ScrCmd_PlayRumbleOnEntity12scr_entref_t:
	push ebp
	mov ebp, esp
	pop ebp
	ret
	nop


;ScrCmd_PlayRumbleLoopOnEntity(scr_entref_t)
_Z29ScrCmd_PlayRumbleLoopOnEntity12scr_entref_t:
	push ebp
	mov ebp, esp
	pop ebp
	ret
	nop


;ScrCmd_StopRumble(scr_entref_t)
_Z17ScrCmd_StopRumble12scr_entref_t:
	push ebp
	mov ebp, esp
	pop ebp
	ret
	nop


;ScrCmd_Delete(scr_entref_t)
_Z13ScrCmd_Delete12scr_entref_t:
	push ebp
	mov ebp, esp
	push ebx
	sub esp, 0x14
	mov eax, [ebp+0x8]
	mov edx, eax
	shr eax, 0x10
	test ax, ax
	jnz _Z13ScrCmd_Delete12scr_entref_t_10
	movzx eax, dx
	lea edx, [eax+eax*8]
	lea edx, [eax+edx*2]
	mov ecx, edx
	shl ecx, 0x5
	add edx, ecx
	lea ebx, [edx+eax]
	add ebx, g_entities
_Z13ScrCmd_Delete12scr_entref_t_40:
	mov eax, [ebx+0x15c]
	test eax, eax
	jz _Z13ScrCmd_Delete12scr_entref_t_20
	mov dword [esp], _cstring_cannot_delete_a_
	call _Z9Scr_ErrorPKc
_Z13ScrCmd_Delete12scr_entref_t_20:
	mov eax, level
	mov eax, [eax+0x2df0]
	cmp eax, [ebx]
	jz _Z13ScrCmd_Delete12scr_entref_t_30
_Z13ScrCmd_Delete12scr_entref_t_50:
	mov dword [esp+0x8], 0x0
	mov eax, scr_const
	movzx eax, word [eax+0x20]
	mov [esp+0x4], eax
	mov [esp], ebx
	call _Z10Scr_NotifyP9gentity_stj
	mov [ebp+0x8], ebx
	add esp, 0x14
	pop ebx
	pop ebp
	jmp _Z12G_FreeEntityP9gentity_s
_Z13ScrCmd_Delete12scr_entref_t_10:
	mov dword [esp], _cstring_not_an_entity
	call _Z15Scr_ObjectErrorPKc
	xor ebx, ebx
	jmp _Z13ScrCmd_Delete12scr_entref_t_40
_Z13ScrCmd_Delete12scr_entref_t_30:
	mov dword [esp], _cstring_cannot_delete_en
	call _Z9Scr_ErrorPKc
	jmp _Z13ScrCmd_Delete12scr_entref_t_50


;ScrCmd_SetModel(scr_entref_t)
_Z15ScrCmd_SetModel12scr_entref_t:
	push ebp
	mov ebp, esp
	push ebx
	sub esp, 0x14
	mov eax, [ebp+0x8]
	mov edx, eax
	shr eax, 0x10
	test ax, ax
	jnz _Z15ScrCmd_SetModel12scr_entref_t_10
	movzx eax, dx
	lea edx, [eax+eax*8]
	lea edx, [eax+edx*2]
	mov ecx, edx
	shl ecx, 0x5
	add edx, ecx
	lea ebx, [edx+eax]
	add ebx, g_entities
_Z15ScrCmd_SetModel12scr_entref_t_20:
	mov dword [esp], 0x0
	call _Z13Scr_GetStringj
	mov [esp+0x4], eax
	mov [esp], ebx
	call _Z10G_SetModelP9gentity_sPKc
	mov [esp], ebx
	call _Z12G_DObjUpdateP9gentity_s
	mov [ebp+0x8], ebx
	add esp, 0x14
	pop ebx
	pop ebp
	jmp _Z13SV_LinkEntityP9gentity_s
_Z15ScrCmd_SetModel12scr_entref_t_10:
	mov dword [esp], _cstring_not_an_entity
	call _Z15Scr_ObjectErrorPKc
	xor ebx, ebx
	jmp _Z15ScrCmd_SetModel12scr_entref_t_20


;ScrCmd_GetNormalHealth(scr_entref_t)
_Z22ScrCmd_GetNormalHealth12scr_entref_t:
	push ebp
	mov ebp, esp
	sub esp, 0x18
	mov eax, [ebp+0x8]
	mov edx, eax
	shr eax, 0x10
	test ax, ax
	jnz _Z22ScrCmd_GetNormalHealth12scr_entref_t_10
	movzx eax, dx
	lea edx, [eax+eax*8]
	lea edx, [eax+edx*2]
	mov ecx, edx
	shl ecx, 0x5
	add edx, ecx
	lea eax, [edx+eax]
	add eax, g_entities
_Z22ScrCmd_GetNormalHealth12scr_entref_t_40:
	mov edx, [eax+0x15c]
	test edx, edx
	jz _Z22ScrCmd_GetNormalHealth12scr_entref_t_20
	mov eax, [eax+0x1a0]
	test eax, eax
	jnz _Z22ScrCmd_GetNormalHealth12scr_entref_t_30
	mov dword [ebp+0x8], 0x0
	leave
	jmp _Z12Scr_AddFloatf
_Z22ScrCmd_GetNormalHealth12scr_entref_t_30:
	cvtsi2ss xmm0, eax
	cvtsi2ss xmm1, dword [edx+0x2fe8]
	divss xmm0, xmm1
	movss [ebp+0x8], xmm0
	leave
	jmp _Z12Scr_AddFloatf
_Z22ScrCmd_GetNormalHealth12scr_entref_t_10:
	mov dword [esp], _cstring_not_an_entity
	call _Z15Scr_ObjectErrorPKc
	xor eax, eax
	jmp _Z22ScrCmd_GetNormalHealth12scr_entref_t_40
_Z22ScrCmd_GetNormalHealth12scr_entref_t_20:
	cvtsi2ss xmm0, dword [eax+0x1a0]
	movss [ebp+0x8], xmm0
	leave
	jmp _Z12Scr_AddFloatf
	nop


;ScrCmd_SetNormalHealth(scr_entref_t)
_Z22ScrCmd_SetNormalHealth12scr_entref_t:
	push ebp
	mov ebp, esp
	push esi
	push ebx
	sub esp, 0x30
	mov eax, [ebp+0x8]
	mov edx, eax
	shr eax, 0x10
	test ax, ax
	jnz _Z22ScrCmd_SetNormalHealth12scr_entref_t_10
	movzx eax, dx
	lea edx, [eax+eax*8]
	lea edx, [eax+edx*2]
	mov ecx, edx
	shl ecx, 0x5
	add edx, ecx
	lea ebx, [edx+eax]
	add ebx, g_entities
_Z22ScrCmd_SetNormalHealth12scr_entref_t_60:
	mov dword [esp], 0x0
	call _Z12Scr_GetFloatj
	fstp dword [ebp-0x1c]
	movss xmm1, dword [ebp-0x1c]
	movss xmm0, dword [_float_1_00000000]
	minss xmm0, xmm1
	movaps xmm1, xmm0
	mov eax, [ebx+0x15c]
	test eax, eax
	jz _Z22ScrCmd_SetNormalHealth12scr_entref_t_20
	cvtsi2ss xmm0, dword [eax+0x2fe8]
	mulss xmm1, xmm0
	addss xmm1, [_float_0_50000000]
	movss [esp], xmm1
	call floorf
	fstp dword [ebp-0xc]
	cvttss2si esi, [ebp-0xc]
	mov dword [esp+0x8], 0x0
	mov dword [esp+0x4], 0x4a
	mov dword [esp], _cstring_c_i1
	call _Z2vaPKcz
	mov [esp+0x8], eax
	mov dword [esp+0x4], 0x0
	mov eax, ebx
	sub eax, g_entities
	sar eax, 0x2
	imul eax, eax, 0x2c0685b5
	mov [esp], eax
	call _Z24SV_GameSendServerCommandi11svscmd_typePKc
_Z22ScrCmd_SetNormalHealth12scr_entref_t_70:
	test esi, esi
	jle _Z22ScrCmd_SetNormalHealth12scr_entref_t_30
_Z22ScrCmd_SetNormalHealth12scr_entref_t_50:
	mov [ebx+0x1a0], esi
	add esp, 0x30
	pop ebx
	pop esi
	pop ebp
	ret
_Z22ScrCmd_SetNormalHealth12scr_entref_t_20:
	mov eax, [ebx+0x1a4]
	test eax, eax
	jnz _Z22ScrCmd_SetNormalHealth12scr_entref_t_40
	cvttss2si esi, xmm0
	test esi, esi
	jg _Z22ScrCmd_SetNormalHealth12scr_entref_t_50
_Z22ScrCmd_SetNormalHealth12scr_entref_t_30:
	mov dword [esp+0x4], _cstring_error_cannot_set
	mov dword [esp], 0x17
	call _Z14Com_PrintErroriPKcz
	add esp, 0x30
	pop ebx
	pop esi
	pop ebp
	ret
_Z22ScrCmd_SetNormalHealth12scr_entref_t_10:
	mov dword [esp], _cstring_not_an_entity
	call _Z15Scr_ObjectErrorPKc
	xor ebx, ebx
	jmp _Z22ScrCmd_SetNormalHealth12scr_entref_t_60
_Z22ScrCmd_SetNormalHealth12scr_entref_t_40:
	cvtsi2ss xmm0, eax
	mulss xmm0, xmm1
	cvttss2si esi, xmm0
	jmp _Z22ScrCmd_SetNormalHealth12scr_entref_t_70
	nop


;ScrCmd_LaserOn(scr_entref_t)
_Z14ScrCmd_LaserOn12scr_entref_t:
	push ebp
	mov ebp, esp
	sub esp, 0x18
	mov eax, [ebp+0x8]
	mov edx, eax
	shr eax, 0x10
	test ax, ax
	jnz _Z14ScrCmd_LaserOn12scr_entref_t_10
	movzx eax, dx
	lea edx, [eax+eax*8]
	lea edx, [eax+edx*2]
	mov ecx, edx
	shl ecx, 0x5
	add edx, ecx
	lea eax, [edx+eax]
	add eax, g_entities
	or dword [eax+0x8], 0x4000
	leave
	ret
_Z14ScrCmd_LaserOn12scr_entref_t_10:
	mov dword [esp], _cstring_not_an_entity
	call _Z15Scr_ObjectErrorPKc
	xor eax, eax
	or dword [eax+0x8], 0x4000
	leave
	ret


;ScrCmd_LaserOff(scr_entref_t)
_Z15ScrCmd_LaserOff12scr_entref_t:
	push ebp
	mov ebp, esp
	sub esp, 0x18
	mov eax, [ebp+0x8]
	mov edx, eax
	shr eax, 0x10
	test ax, ax
	jnz _Z15ScrCmd_LaserOff12scr_entref_t_10
	movzx eax, dx
	lea edx, [eax+eax*8]
	lea edx, [eax+edx*2]
	mov ecx, edx
	shl ecx, 0x5
	add edx, ecx
	lea eax, [edx+eax]
	add eax, g_entities
	and dword [eax+0x8], 0xffffbfff
	leave
	ret
_Z15ScrCmd_LaserOff12scr_entref_t_10:
	mov dword [esp], _cstring_not_an_entity
	call _Z15Scr_ObjectErrorPKc
	xor eax, eax
	and dword [eax+0x8], 0xffffbfff
	leave
	ret


;ScrCmd_SetContents(scr_entref_t)
_Z18ScrCmd_SetContents12scr_entref_t:
	push ebp
	mov ebp, esp
	push esi
	push ebx
	sub esp, 0x10
	mov eax, [ebp+0x8]
	mov edx, eax
	shr eax, 0x10
	test ax, ax
	jnz _Z18ScrCmd_SetContents12scr_entref_t_10
	movzx eax, dx
	lea edx, [eax+eax*8]
	lea edx, [eax+edx*2]
	mov ecx, edx
	shl ecx, 0x5
	add edx, ecx
	lea esi, [edx+eax]
	add esi, g_entities
_Z18ScrCmd_SetContents12scr_entref_t_20:
	mov dword [esp], 0x0
	call _Z10Scr_GetIntj
	mov ebx, eax
	mov eax, [esi+0x120]
	mov [esp], eax
	call _Z10Scr_AddInti
	mov [esi+0x120], ebx
	mov [ebp+0x8], esi
	add esp, 0x10
	pop ebx
	pop esi
	pop ebp
	jmp _Z13SV_LinkEntityP9gentity_s
_Z18ScrCmd_SetContents12scr_entref_t_10:
	mov dword [esp], _cstring_not_an_entity
	call _Z15Scr_ObjectErrorPKc
	xor esi, esi
	jmp _Z18ScrCmd_SetContents12scr_entref_t_20


;ScrCmd_GetStance(scr_entref_t)
_Z16ScrCmd_GetStance12scr_entref_t:
	push ebp
	mov ebp, esp
	sub esp, 0x18
	mov eax, [ebp+0x8]
	mov edx, eax
	shr eax, 0x10
	test ax, ax
	jnz _Z16ScrCmd_GetStance12scr_entref_t_10
	movzx eax, dx
	lea edx, [eax+eax*8]
	lea edx, [eax+edx*2]
	mov ecx, edx
	shl ecx, 0x5
	add edx, ecx
	lea eax, [edx+eax]
	add eax, g_entities
_Z16ScrCmd_GetStance12scr_entref_t_50:
	mov eax, [eax+0x15c]
	test eax, eax
	jz _Z16ScrCmd_GetStance12scr_entref_t_20
	mov eax, [eax+0xc]
	test al, 0x1
	jnz _Z16ScrCmd_GetStance12scr_entref_t_30
	test al, 0x2
	jnz _Z16ScrCmd_GetStance12scr_entref_t_40
	mov eax, scr_const
	movzx eax, word [eax+0x7e]
	mov [ebp+0x8], eax
	leave
	jmp _Z18Scr_AddConstStringj
_Z16ScrCmd_GetStance12scr_entref_t_40:
	mov eax, scr_const
	movzx eax, word [eax+0x18]
	mov [ebp+0x8], eax
	leave
	jmp _Z18Scr_AddConstStringj
_Z16ScrCmd_GetStance12scr_entref_t_10:
	mov dword [esp], _cstring_not_an_entity
	call _Z15Scr_ObjectErrorPKc
	xor eax, eax
	jmp _Z16ScrCmd_GetStance12scr_entref_t_50
_Z16ScrCmd_GetStance12scr_entref_t_30:
	mov eax, scr_const
	movzx eax, word [eax+0x62]
	mov [ebp+0x8], eax
	leave
	jmp _Z18Scr_AddConstStringj
_Z16ScrCmd_GetStance12scr_entref_t_20:
	mov dword [ebp+0x8], _cstring_getstance_is_onl
	leave
	jmp _Z9Scr_ErrorPKc


;GScr_SetCursorHint(scr_entref_t)
_Z18GScr_SetCursorHint12scr_entref_t:
	push ebp
	mov ebp, esp
	push edi
	push esi
	push ebx
	sub esp, 0x2c
	mov eax, [ebp+0x8]
	mov edx, eax
	shr eax, 0x10
	test ax, ax
	jnz _Z18GScr_SetCursorHint12scr_entref_t_10
	movzx eax, dx
	lea edx, [eax+eax*8]
	lea edx, [eax+edx*2]
	mov ecx, edx
	shl ecx, 0x5
	add edx, ecx
	lea edi, [edx+eax]
	add edi, g_entities
_Z18GScr_SetCursorHint12scr_entref_t_90:
	mov dword [esp], 0x0
	call _Z13Scr_GetStringj
	mov [ebp-0x1c], eax
	movzx eax, word [edi+0x170]
	mov edx, scr_const
	cmp ax, [edx+0xbe]
	jz _Z18GScr_SetCursorHint12scr_entref_t_20
	cmp ax, [edx+0xc0]
	jz _Z18GScr_SetCursorHint12scr_entref_t_20
_Z18GScr_SetCursorHint12scr_entref_t_80:
	mov esi, 0x1
	mov ebx, hintStrings
_Z18GScr_SetCursorHint12scr_entref_t_40:
	mov eax, [ebx+0x4]
	mov [esp+0x4], eax
	mov eax, [ebp-0x1c]
	mov [esp], eax
	call _Z9I_stricmpPKcS0_
	test eax, eax
	jz _Z18GScr_SetCursorHint12scr_entref_t_30
	add esi, 0x1
	add ebx, 0x4
	cmp esi, 0x5
	jnz _Z18GScr_SetCursorHint12scr_entref_t_40
	mov dword [esp+0x4], _cstring_list_of_valid_hi
	mov dword [esp], 0x17
	call _Z10Com_PrintfiPKcz
	movzx eax, word [edi+0x170]
	mov edx, scr_const
	cmp ax, [edx+0xbe]
	jz _Z18GScr_SetCursorHint12scr_entref_t_50
	cmp ax, [edx+0xc0]
	jz _Z18GScr_SetCursorHint12scr_entref_t_50
_Z18GScr_SetCursorHint12scr_entref_t_70:
	mov ebx, hintStrings
	lea esi, [ebx+0x10]
_Z18GScr_SetCursorHint12scr_entref_t_60:
	mov eax, [ebx+0x4]
	mov [esp+0x8], eax
	mov dword [esp+0x4], _cstring_s1
	mov dword [esp], 0x17
	call _Z10Com_PrintfiPKcz
	add ebx, 0x4
	cmp ebx, esi
	jnz _Z18GScr_SetCursorHint12scr_entref_t_60
	mov eax, [ebp-0x1c]
	mov [esp+0x4], eax
	mov dword [esp], _cstring_s_is_not_a_valid
	call _Z2vaPKcz
	mov [ebp+0x8], eax
	add esp, 0x2c
	pop ebx
	pop esi
	pop edi
	pop ebp
	jmp _Z9Scr_ErrorPKc
_Z18GScr_SetCursorHint12scr_entref_t_50:
	mov dword [esp+0x4], _cstring_hint_inherit_for
	mov dword [esp], 0x17
	call _Z10Com_PrintfiPKcz
	jmp _Z18GScr_SetCursorHint12scr_entref_t_70
_Z18GScr_SetCursorHint12scr_entref_t_20:
	mov dword [esp+0x4], _cstring_hint_inherit
	mov eax, [ebp-0x1c]
	mov [esp], eax
	call _Z9I_stricmpPKcS0_
	test eax, eax
	jnz _Z18GScr_SetCursorHint12scr_entref_t_80
	mov dword [edi+0xd8], 0xffffffff
	add esp, 0x2c
	pop ebx
	pop esi
	pop edi
	pop ebp
	ret
_Z18GScr_SetCursorHint12scr_entref_t_10:
	mov dword [esp], _cstring_not_an_entity
	call _Z15Scr_ObjectErrorPKc
	xor edi, edi
	jmp _Z18GScr_SetCursorHint12scr_entref_t_90
_Z18GScr_SetCursorHint12scr_entref_t_30:
	mov [edi+0xd8], esi
	add esp, 0x2c
	pop ebx
	pop esi
	pop edi
	pop ebp
	ret
	nop


;GScr_SetHintString(scr_entref_t)
_Z18GScr_SetHintString12scr_entref_t:
	push ebp
	mov ebp, esp
	push edi
	push esi
	push ebx
	sub esp, 0x83c
	mov eax, [ebp+0x8]
	mov edx, eax
	shr eax, 0x10
	test ax, ax
	jnz _Z18GScr_SetHintString12scr_entref_t_10
	movzx eax, dx
	lea edx, [eax+eax*8]
	lea edx, [eax+edx*2]
	mov ecx, edx
	shl ecx, 0x5
	add edx, ecx
	add edx, eax
	mov eax, g_entities
	add edx, eax
	mov [ebp-0x81c], edx
_Z18GScr_SetHintString12scr_entref_t_80:
	movzx eax, word [edx+0x170]
	mov edx, scr_const
	cmp ax, [edx+0xbe]
	jz _Z18GScr_SetHintString12scr_entref_t_20
	cmp ax, [edx+0xc0]
	jz _Z18GScr_SetHintString12scr_entref_t_20
	mov dword [esp], _cstring_the_sethintstrin
	call _Z9Scr_ErrorPKc
_Z18GScr_SetHintString12scr_entref_t_20:
	mov dword [esp], 0x0
	call _Z11Scr_GetTypej
	cmp eax, 0x2
	jz _Z18GScr_SetHintString12scr_entref_t_30
_Z18GScr_SetHintString12scr_entref_t_90:
	call _Z15Scr_GetNumParamv
	mov dword [esp+0x10], 0x400
	lea edx, [ebp-0x418]
	mov [esp+0xc], edx
	mov dword [esp+0x8], _cstring_hint_string
	sub eax, 0x1
	mov [esp+0x4], eax
	mov dword [esp], 0x0
	call _Z26Scr_ConstructMessageStringiiPKcPcj
	xor esi, esi
	lea edi, [ebp-0x818]
	jmp _Z18GScr_SetHintString12scr_entref_t_40
_Z18GScr_SetHintString12scr_entref_t_70:
	mov [esp+0x4], edi
	lea eax, [ebp-0x418]
	mov [esp], eax
	call strcmp
	test eax, eax
	jz _Z18GScr_SetHintString12scr_entref_t_50
	add esi, 0x1
	cmp esi, 0x20
	jz _Z18GScr_SetHintString12scr_entref_t_60
_Z18GScr_SetHintString12scr_entref_t_40:
	lea ebx, [esi+0x115]
	mov dword [esp+0x8], 0x400
	mov [esp+0x4], edi
	mov [esp], ebx
	call _Z18SV_GetConfigstringiPci
	cmp byte [ebp-0x818], 0x0
	jnz _Z18GScr_SetHintString12scr_entref_t_70
	lea eax, [ebp-0x418]
	mov [esp+0x4], eax
	mov [esp], ebx
	call _Z18SV_SetConfigstringiPKc
_Z18GScr_SetHintString12scr_entref_t_50:
	mov eax, esi
_Z18GScr_SetHintString12scr_entref_t_100:
	movzx eax, al
	mov edx, [ebp-0x81c]
	mov [edx+0xd4], eax
	add esp, 0x83c
	pop ebx
	pop esi
	pop edi
	pop ebp
	ret
_Z18GScr_SetHintString12scr_entref_t_10:
	mov dword [esp], _cstring_not_an_entity
	call _Z15Scr_ObjectErrorPKc
	mov dword [ebp-0x81c], 0x0
	mov edx, [ebp-0x81c]
	jmp _Z18GScr_SetHintString12scr_entref_t_80
_Z18GScr_SetHintString12scr_entref_t_30:
	mov dword [esp], 0x0
	call _Z13Scr_GetStringj
	mov dword [esp+0x4], _cstring_null
	mov [esp], eax
	call _Z9I_stricmpPKcS0_
	test eax, eax
	jnz _Z18GScr_SetHintString12scr_entref_t_90
	mov eax, [ebp-0x81c]
	mov dword [eax+0xd4], 0xff
	add esp, 0x83c
	pop ebx
	pop esi
	pop edi
	pop ebp
	ret
_Z18GScr_SetHintString12scr_entref_t_60:
	mov dword [esp+0x4], 0x20
	mov dword [esp], _cstring_too_many_differe
	call _Z2vaPKcz
	mov [esp], eax
	call _Z9Scr_ErrorPKc
	mov eax, 0xffffffff
	jmp _Z18GScr_SetHintString12scr_entref_t_100
	nop


;GScr_UseTriggerRequireLookAt(scr_entref_t)
_Z28GScr_UseTriggerRequireLookAt12scr_entref_t:
	push ebp
	mov ebp, esp
	push ebx
	sub esp, 0x14
	mov eax, [ebp+0x8]
	mov edx, eax
	shr eax, 0x10
	test ax, ax
	jnz _Z28GScr_UseTriggerRequireLookAt12scr_entref_t_10
	movzx eax, dx
	lea edx, [eax+eax*8]
	lea edx, [eax+edx*2]
	mov ecx, edx
	shl ecx, 0x5
	add edx, ecx
	lea ebx, [edx+eax]
	add ebx, g_entities
_Z28GScr_UseTriggerRequireLookAt12scr_entref_t_30:
	movzx edx, word [ebx+0x170]
	mov eax, scr_const
	cmp dx, [eax+0xbe]
	jz _Z28GScr_UseTriggerRequireLookAt12scr_entref_t_20
	mov dword [esp], _cstring_the_usetriggerre
	call _Z9Scr_ErrorPKc
_Z28GScr_UseTriggerRequireLookAt12scr_entref_t_20:
	mov byte [ebx+0x1c4], 0x1
	add esp, 0x14
	pop ebx
	pop ebp
	ret
_Z28GScr_UseTriggerRequireLookAt12scr_entref_t_10:
	mov dword [esp], _cstring_not_an_entity
	call _Z15Scr_ObjectErrorPKc
	xor ebx, ebx
	jmp _Z28GScr_UseTriggerRequireLookAt12scr_entref_t_30
	nop


;GScr_ShellShock(scr_entref_t)
_Z15GScr_ShellShock12scr_entref_t:
	push ebp
	mov ebp, esp
	push edi
	push esi
	push ebx
	sub esp, 0x43c
	mov eax, [ebp+0x8]
	call _Z15GetPlayerEntity12scr_entref_t
	mov [ebp-0x41c], eax
	call _Z15Scr_GetNumParamv
	cmp eax, 0x2
	jz _Z15GScr_ShellShock12scr_entref_t_10
	mov dword [esp], _cstring_usage_player_she
	call _Z9Scr_ErrorPKc
_Z15GScr_ShellShock12scr_entref_t_10:
	mov dword [esp], 0x0
	call _Z13Scr_GetStringj
	mov edi, eax
	mov ebx, 0x1
	lea esi, [ebp-0x418]
_Z15GScr_ShellShock12scr_entref_t_30:
	mov dword [esp+0x8], 0x400
	mov [esp+0x4], esi
	lea eax, [ebx+0x7a2]
	mov [esp], eax
	call _Z18SV_GetConfigstringiPci
	mov [esp+0x4], edi
	mov [esp], esi
	call _Z9I_stricmpPKcS0_
	test eax, eax
	jz _Z15GScr_ShellShock12scr_entref_t_20
	add ebx, 0x1
	cmp ebx, 0x10
	jnz _Z15GScr_ShellShock12scr_entref_t_30
	mov [esp+0x4], edi
	mov dword [esp], _cstring_shellshock_s_was
	call _Z2vaPKcz
	mov [esp], eax
	call _Z9Scr_ErrorPKc
_Z15GScr_ShellShock12scr_entref_t_50:
	add esp, 0x43c
	pop ebx
	pop esi
	pop edi
	pop ebp
	ret
_Z15GScr_ShellShock12scr_entref_t_20:
	mov dword [esp], 0x1
	call _Z12Scr_GetFloatj
	fstp dword [ebp-0x42c]
	movss xmm0, dword [ebp-0x42c]
	mulss xmm0, [_float_1000_00000000]
	addss xmm0, [_float_0_50000000]
	movss [esp], xmm0
	call floorf
	fstp dword [ebp-0x420]
	cvttss2si esi, [ebp-0x420]
	cmp esi, 0xea60
	ja _Z15GScr_ShellShock12scr_entref_t_40
_Z15GScr_ShellShock12scr_entref_t_60:
	mov edx, [ebp-0x41c]
	mov eax, [edx+0x15c]
	mov [eax+0x62c], ebx
	mov eax, [ebp-0x41c]
	mov edx, [eax+0x15c]
	mov eax, level
	mov eax, [eax+0x1ec]
	mov [edx+0x630], eax
	mov edx, [ebp-0x41c]
	mov eax, [edx+0x15c]
	mov [eax+0x634], esi
	mov eax, [edx+0x1a0]
	test eax, eax
	jle _Z15GScr_ShellShock12scr_entref_t_50
	mov eax, [edx+0x15c]
	or dword [eax+0xc], 0x10000
	mov edx, level_bgs
	mov eax, bgs
	mov [eax], edx
	mov dword [esp+0xc], 0x1
	mov dword [esp+0x8], 0x0
	mov dword [esp+0x4], 0x14
	mov edx, [ebp-0x41c]
	mov eax, [edx+0x15c]
	mov [esp], eax
	call _Z18BG_AnimScriptEventP13playerState_s22scriptAnimEventTypes_tii
	add esp, 0x43c
	pop ebx
	pop esi
	pop edi
	pop ebp
	ret
_Z15GScr_ShellShock12scr_entref_t_40:
	cvtsi2ss xmm0, esi
	mulss xmm0, [_float_0_00100000]
	cvtss2sd xmm0, xmm0
	movsd [esp+0x4], xmm0
	mov dword [esp], _cstring_duration_g_shoul
	call _Z2vaPKcz
	mov [esp+0x4], eax
	mov dword [esp], 0x1
	call _Z14Scr_ParamErrorjPKc
	jmp _Z15GScr_ShellShock12scr_entref_t_60
	nop


;GScr_StopShellShock(scr_entref_t)
_Z19GScr_StopShellShock12scr_entref_t:
	push ebp
	mov ebp, esp
	push ebx
	sub esp, 0x14
	mov eax, [ebp+0x8]
	call _Z15GetPlayerEntity12scr_entref_t
	mov ebx, eax
	call _Z15Scr_GetNumParamv
	test eax, eax
	jz _Z19GScr_StopShellShock12scr_entref_t_10
	mov dword [esp], _cstring_usage_player_sto
	call _Z9Scr_ErrorPKc
_Z19GScr_StopShellShock12scr_entref_t_10:
	mov eax, [ebx+0x15c]
	mov dword [eax+0x62c], 0x0
	mov eax, [ebx+0x15c]
	mov dword [eax+0x630], 0x0
	mov eax, [ebx+0x15c]
	mov dword [eax+0x634], 0x0
	mov eax, [ebx+0x15c]
	and dword [eax+0xc], 0xfffeffff
	add esp, 0x14
	pop ebx
	pop ebp
	ret
	nop


;GScr_SetDepthOfField(scr_entref_t)
_Z20GScr_SetDepthOfField12scr_entref_t:
	push ebp
	mov ebp, esp
	push ebx
	sub esp, 0x44
	mov eax, [ebp+0x8]
	call _Z15GetPlayerEntity12scr_entref_t
	mov ebx, eax
	call _Z15Scr_GetNumParamv
	cmp eax, 0x6
	jz _Z20GScr_SetDepthOfField12scr_entref_t_10
	mov dword [esp], _cstring_incorrect_number2
	call _Z9Scr_ErrorPKc
_Z20GScr_SetDepthOfField12scr_entref_t_10:
	mov dword [esp], 0x0
	call _Z12Scr_GetFloatj
	fstp dword [ebp-0x20]
	mov dword [esp], 0x1
	call _Z12Scr_GetFloatj
	fstp dword [ebp-0x1c]
	mov dword [esp], 0x2
	call _Z12Scr_GetFloatj
	fstp dword [ebp-0x18]
	mov dword [esp], 0x3
	call _Z12Scr_GetFloatj
	fstp dword [ebp-0x14]
	mov dword [esp], 0x4
	call _Z12Scr_GetFloatj
	fstp dword [ebp-0x10]
	mov dword [esp], 0x5
	call _Z12Scr_GetFloatj
	fstp dword [ebp-0xc]
	movss xmm0, dword [ebp-0x20]
	ucomiss xmm0, [_float_0_00000000]
	jb _Z20GScr_SetDepthOfField12scr_entref_t_20
_Z20GScr_SetDepthOfField12scr_entref_t_170:
	pxor xmm0, xmm0
	ucomiss xmm0, [ebp-0x1c]
	ja _Z20GScr_SetDepthOfField12scr_entref_t_30
_Z20GScr_SetDepthOfField12scr_entref_t_180:
	ucomiss xmm0, [ebp-0x18]
	ja _Z20GScr_SetDepthOfField12scr_entref_t_40
_Z20GScr_SetDepthOfField12scr_entref_t_190:
	ucomiss xmm0, [ebp-0x14]
	ja _Z20GScr_SetDepthOfField12scr_entref_t_50
_Z20GScr_SetDepthOfField12scr_entref_t_160:
	movss xmm0, dword [ebp-0x10]
	ucomiss xmm0, [_float_4_00000000]
	jp _Z20GScr_SetDepthOfField12scr_entref_t_60
	jb _Z20GScr_SetDepthOfField12scr_entref_t_70
_Z20GScr_SetDepthOfField12scr_entref_t_60:
	ucomiss xmm0, [_float_10_00000000]
	ja _Z20GScr_SetDepthOfField12scr_entref_t_70
_Z20GScr_SetDepthOfField12scr_entref_t_150:
	movss xmm0, dword [ebp-0xc]
	ucomiss xmm0, [_float_0_00000000]
	jp _Z20GScr_SetDepthOfField12scr_entref_t_80
	jb _Z20GScr_SetDepthOfField12scr_entref_t_90
_Z20GScr_SetDepthOfField12scr_entref_t_80:
	ucomiss xmm0, [ebp-0x10]
	ja _Z20GScr_SetDepthOfField12scr_entref_t_90
_Z20GScr_SetDepthOfField12scr_entref_t_140:
	movss xmm0, dword [ebp-0x20]
	ucomiss xmm0, [ebp-0x1c]
	jb _Z20GScr_SetDepthOfField12scr_entref_t_100
	pxor xmm0, xmm0
	movss [ebp-0x1c], xmm0
	movss [ebp-0x20], xmm0
_Z20GScr_SetDepthOfField12scr_entref_t_100:
	movss xmm0, dword [ebp-0x18]
	ucomiss xmm0, [ebp-0x14]
	jae _Z20GScr_SetDepthOfField12scr_entref_t_110
	movss xmm0, dword [ebp-0xc]
	ucomiss xmm0, [_float_0_00000000]
	jp _Z20GScr_SetDepthOfField12scr_entref_t_120
	jz _Z20GScr_SetDepthOfField12scr_entref_t_110
_Z20GScr_SetDepthOfField12scr_entref_t_120:
	movss xmm0, dword [ebp-0x1c]
	ucomiss xmm0, [ebp-0x18]
	jbe _Z20GScr_SetDepthOfField12scr_entref_t_130
	mov dword [esp+0x4], _cstring_far_start_must_b
	mov dword [esp], 0x2
	call _Z14Scr_ParamErrorjPKc
	jmp _Z20GScr_SetDepthOfField12scr_entref_t_130
_Z20GScr_SetDepthOfField12scr_entref_t_90:
	mov dword [esp+0x4], 0x0
	mov dword [esp+0x8], 0x0
	mov dword [esp], _cstring_far_blur_should_
	call _Z2vaPKcz
	mov [esp+0x4], eax
	mov dword [esp], 0x5
	call _Z14Scr_ParamErrorjPKc
	jmp _Z20GScr_SetDepthOfField12scr_entref_t_140
_Z20GScr_SetDepthOfField12scr_entref_t_70:
	mov dword [esp+0xc], 0x0
	mov dword [esp+0x10], 0x40240000
	mov dword [esp+0x4], 0x0
	mov dword [esp+0x8], 0x40100000
	mov dword [esp], _cstring_near_blur_should
	call _Z2vaPKcz
	mov [esp+0x4], eax
	mov dword [esp], 0x4
	call _Z14Scr_ParamErrorjPKc
	jmp _Z20GScr_SetDepthOfField12scr_entref_t_150
_Z20GScr_SetDepthOfField12scr_entref_t_110:
	pxor xmm0, xmm0
	movss [ebp-0x14], xmm0
	movss [ebp-0x18], xmm0
_Z20GScr_SetDepthOfField12scr_entref_t_130:
	mov eax, [ebx+0x15c]
	movss xmm0, dword [ebp-0x20]
	movss [eax+0x638], xmm0
	mov eax, [ebx+0x15c]
	movss xmm0, dword [ebp-0x1c]
	movss [eax+0x63c], xmm0
	mov eax, [ebx+0x15c]
	movss xmm0, dword [ebp-0x18]
	movss [eax+0x640], xmm0
	mov eax, [ebx+0x15c]
	movss xmm0, dword [ebp-0x14]
	movss [eax+0x644], xmm0
	mov eax, [ebx+0x15c]
	movss xmm0, dword [ebp-0x10]
	movss [eax+0x648], xmm0
	mov eax, [ebx+0x15c]
	movss xmm0, dword [ebp-0xc]
	movss [eax+0x64c], xmm0
	add esp, 0x44
	pop ebx
	pop ebp
	ret
_Z20GScr_SetDepthOfField12scr_entref_t_50:
	mov dword [esp+0x4], _cstring_far_end_must_be_
	mov dword [esp], 0x3
	call _Z14Scr_ParamErrorjPKc
	jmp _Z20GScr_SetDepthOfField12scr_entref_t_160
_Z20GScr_SetDepthOfField12scr_entref_t_20:
	jp _Z20GScr_SetDepthOfField12scr_entref_t_170
	mov dword [esp+0x4], _cstring_near_start_must_
	mov dword [esp], 0x0
	call _Z14Scr_ParamErrorjPKc
	pxor xmm0, xmm0
	ucomiss xmm0, [ebp-0x1c]
	jbe _Z20GScr_SetDepthOfField12scr_entref_t_180
_Z20GScr_SetDepthOfField12scr_entref_t_30:
	mov dword [esp+0x4], _cstring_near_end_must_be
	mov dword [esp], 0x1
	call _Z14Scr_ParamErrorjPKc
	pxor xmm0, xmm0
	ucomiss xmm0, [ebp-0x18]
	jbe _Z20GScr_SetDepthOfField12scr_entref_t_190
_Z20GScr_SetDepthOfField12scr_entref_t_40:
	mov dword [esp+0x4], _cstring_far_start_must_b1
	mov dword [esp], 0x2
	call _Z14Scr_ParamErrorjPKc
	pxor xmm0, xmm0
	jmp _Z20GScr_SetDepthOfField12scr_entref_t_190


;GScr_SetViewModelDepthOfField(scr_entref_t)
_Z29GScr_SetViewModelDepthOfField12scr_entref_t:
	push ebp
	mov ebp, esp
	push ebx
	sub esp, 0x24
	mov eax, [ebp+0x8]
	call _Z15GetPlayerEntity12scr_entref_t
	mov ebx, eax
	mov dword [esp], 0x0
	call _Z12Scr_GetFloatj
	fstp dword [ebp-0x10]
	mov dword [esp], 0x1
	call _Z12Scr_GetFloatj
	fstp dword [ebp-0xc]
	movss xmm0, dword [ebp-0x10]
	ucomiss xmm0, [_float_0_00000000]
	jb _Z29GScr_SetViewModelDepthOfField12scr_entref_t_10
_Z29GScr_SetViewModelDepthOfField12scr_entref_t_40:
	pxor xmm0, xmm0
	ucomiss xmm0, [ebp-0xc]
	ja _Z29GScr_SetViewModelDepthOfField12scr_entref_t_20
_Z29GScr_SetViewModelDepthOfField12scr_entref_t_50:
	movss xmm0, dword [ebp-0x10]
	ucomiss xmm0, [ebp-0xc]
	jb _Z29GScr_SetViewModelDepthOfField12scr_entref_t_30
	pxor xmm0, xmm0
	movss [ebp-0xc], xmm0
	movss [ebp-0x10], xmm0
_Z29GScr_SetViewModelDepthOfField12scr_entref_t_30:
	mov eax, [ebx+0x15c]
	movss [eax+0x650], xmm0
	mov eax, [ebx+0x15c]
	movss xmm0, dword [ebp-0xc]
	movss [eax+0x654], xmm0
	add esp, 0x24
	pop ebx
	pop ebp
	ret
_Z29GScr_SetViewModelDepthOfField12scr_entref_t_10:
	jp _Z29GScr_SetViewModelDepthOfField12scr_entref_t_40
	mov dword [esp+0x4], _cstring_start_must_be__0
	mov dword [esp], 0x0
	call _Z14Scr_ParamErrorjPKc
	pxor xmm0, xmm0
	ucomiss xmm0, [ebp-0xc]
	jbe _Z29GScr_SetViewModelDepthOfField12scr_entref_t_50
_Z29GScr_SetViewModelDepthOfField12scr_entref_t_20:
	mov dword [esp+0x4], _cstring_end_must_be__0
	mov dword [esp], 0x1
	call _Z14Scr_ParamErrorjPKc
	jmp _Z29GScr_SetViewModelDepthOfField12scr_entref_t_50
	nop


;GScr_ViewKick(scr_entref_t)
_Z13GScr_ViewKick12scr_entref_t:
	push ebp
	mov ebp, esp
	push esi
	push ebx
	sub esp, 0x30
	mov eax, [ebp+0x8]
	call _Z15GetPlayerEntity12scr_entref_t
	mov esi, eax
	call _Z15Scr_GetNumParamv
	cmp eax, 0x2
	jz _Z13GScr_ViewKick12scr_entref_t_10
	mov dword [esp], _cstring_usage_player_vie
	call _Z9Scr_ErrorPKc
_Z13GScr_ViewKick12scr_entref_t_10:
	mov ebx, [esi+0x15c]
	mov dword [esp], 0x0
	call _Z10Scr_GetIntj
	imul eax, [esi+0x1a4]
	lea ecx, [eax+0x32]
	mov edx, 0x51eb851f
	mov eax, ecx
	imul edx
	sar edx, 0x5
	mov eax, ecx
	sar eax, 0x1f
	sub edx, eax
	mov [ebx+0x30ac], edx
	mov eax, [esi+0x15c]
	mov eax, [eax+0x30ac]
	test eax, eax
	js _Z13GScr_ViewKick12scr_entref_t_20
_Z13GScr_ViewKick12scr_entref_t_30:
	lea eax, [ebp-0x14]
	mov [esp+0x4], eax
	mov dword [esp], 0x1
	call _Z13Scr_GetVectorjPf
	mov eax, [esi+0x15c]
	lea ecx, [eax+0x30b0]
	lea edx, [eax+0x1c]
	movss xmm0, dword [eax+0x1c]
	subss xmm0, [ebp-0x14]
	movss [eax+0x30b0], xmm0
	movss xmm0, dword [edx+0x4]
	subss xmm0, [ebp-0x10]
	movss [ecx+0x4], xmm0
	movss xmm0, dword [edx+0x8]
	subss xmm0, [ebp-0xc]
	movss [ecx+0x8], xmm0
	add esp, 0x30
	pop ebx
	pop esi
	pop ebp
	ret
_Z13GScr_ViewKick12scr_entref_t_20:
	mov dword [esp], 0x0
	call _Z12Scr_GetFloatj
	fstp dword [ebp-0x1c]
	cvtss2sd xmm0, [ebp-0x1c]
	movsd [esp+0x4], xmm0
	mov dword [esp], _cstring_viewkick_damage_
	call _Z2vaPKcz
	mov [esp], eax
	call _Z9Scr_ErrorPKc
	jmp _Z13GScr_ViewKick12scr_entref_t_30
	nop


;GScr_LocalToWorldCoords(scr_entref_t)
_Z23GScr_LocalToWorldCoords12scr_entref_t:
	push ebp
	mov ebp, esp
	push ebx
	sub esp, 0x54
	mov eax, [ebp+0x8]
	mov edx, eax
	shr eax, 0x10
	test ax, ax
	jnz _Z23GScr_LocalToWorldCoords12scr_entref_t_10
	movzx eax, dx
	lea edx, [eax+eax*8]
	lea edx, [eax+edx*2]
	mov ecx, edx
	shl ecx, 0x5
	add edx, ecx
	lea ebx, [edx+eax]
	add ebx, g_entities
_Z23GScr_LocalToWorldCoords12scr_entref_t_20:
	lea eax, [ebp-0x14]
	mov [esp+0x4], eax
	mov dword [esp], 0x0
	call _Z13Scr_GetVectorjPf
	lea eax, [ebp-0x44]
	mov [esp+0x4], eax
	lea eax, [ebx+0x148]
	mov [esp], eax
	call _Z12AnglesToAxisPKfPA3_f
	movss xmm2, dword [ebp-0x14]
	movss xmm4, dword [ebp-0x10]
	movss xmm5, dword [ebp-0xc]
	movaps xmm3, xmm2
	mulss xmm3, [ebp-0x44]
	movaps xmm0, xmm4
	mulss xmm0, [ebp-0x38]
	addss xmm3, xmm0
	movaps xmm0, xmm5
	mulss xmm0, [ebp-0x2c]
	addss xmm3, xmm0
	movss [ebp-0x20], xmm3
	movaps xmm1, xmm2
	mulss xmm1, [ebp-0x40]
	movaps xmm0, xmm4
	mulss xmm0, [ebp-0x34]
	addss xmm1, xmm0
	movaps xmm0, xmm5
	mulss xmm0, [ebp-0x28]
	addss xmm1, xmm0
	movss [ebp-0x1c], xmm1
	mulss xmm2, [ebp-0x3c]
	mulss xmm4, [ebp-0x30]
	addss xmm2, xmm4
	mulss xmm5, [ebp-0x24]
	addss xmm2, xmm5
	movss [ebp-0x18], xmm2
	lea eax, [ebx+0x13c]
	addss xmm3, [ebx+0x13c]
	movss [ebp-0x20], xmm3
	addss xmm1, [eax+0x4]
	movss [ebp-0x1c], xmm1
	addss xmm2, [eax+0x8]
	movss [ebp-0x18], xmm2
	lea eax, [ebp-0x20]
	mov [esp], eax
	call _Z13Scr_AddVectorPKf
	add esp, 0x54
	pop ebx
	pop ebp
	ret
_Z23GScr_LocalToWorldCoords12scr_entref_t_10:
	mov dword [esp], _cstring_not_an_entity
	call _Z15Scr_ObjectErrorPKc
	xor ebx, ebx
	jmp _Z23GScr_LocalToWorldCoords12scr_entref_t_20
	nop


;GScr_SetRightArc(scr_entref_t)
_Z16GScr_SetRightArc12scr_entref_t:
	push ebp
	mov ebp, esp
	push ebx
	sub esp, 0x24
	mov eax, [ebp+0x8]
	mov edx, eax
	shr eax, 0x10
	test ax, ax
	jnz _Z16GScr_SetRightArc12scr_entref_t_10
	movzx eax, dx
	lea edx, [eax+eax*8]
	lea edx, [eax+edx*2]
	mov ecx, edx
	shl ecx, 0x5
	add edx, ecx
	lea eax, [edx+eax]
	add eax, g_entities
_Z16GScr_SetRightArc12scr_entref_t_40:
	mov ebx, [eax+0x160]
	test ebx, ebx
	jz _Z16GScr_SetRightArc12scr_entref_t_20
_Z16GScr_SetRightArc12scr_entref_t_50:
	mov dword [esp], 0x0
	call _Z12Scr_GetFloatj
	fstp dword [ebp-0xc]
	movss xmm0, dword [ebp-0xc]
	xorps xmm0, [_data16_80000000]
	movss [ebx+0x10], xmm0
	pxor xmm1, xmm1
	ucomiss xmm0, xmm1
	jbe _Z16GScr_SetRightArc12scr_entref_t_30
	movss [ebx+0x10], xmm1
_Z16GScr_SetRightArc12scr_entref_t_30:
	add esp, 0x24
	pop ebx
	pop ebp
	ret
_Z16GScr_SetRightArc12scr_entref_t_10:
	mov dword [esp], _cstring_not_an_entity
	call _Z15Scr_ObjectErrorPKc
	xor eax, eax
	jmp _Z16GScr_SetRightArc12scr_entref_t_40
_Z16GScr_SetRightArc12scr_entref_t_20:
	mov dword [esp], _cstring_entity_is_not_a_
	call _Z9Scr_ErrorPKc
	jmp _Z16GScr_SetRightArc12scr_entref_t_50
	nop


;GScr_SetLeftArc(scr_entref_t)
_Z15GScr_SetLeftArc12scr_entref_t:
	push ebp
	mov ebp, esp
	push ebx
	sub esp, 0x24
	mov eax, [ebp+0x8]
	mov edx, eax
	shr eax, 0x10
	test ax, ax
	jnz _Z15GScr_SetLeftArc12scr_entref_t_10
	movzx eax, dx
	lea edx, [eax+eax*8]
	lea edx, [eax+edx*2]
	mov ecx, edx
	shl ecx, 0x5
	add edx, ecx
	lea eax, [edx+eax]
	add eax, g_entities
_Z15GScr_SetLeftArc12scr_entref_t_50:
	mov ebx, [eax+0x160]
	test ebx, ebx
	jz _Z15GScr_SetLeftArc12scr_entref_t_20
_Z15GScr_SetLeftArc12scr_entref_t_60:
	mov dword [esp], 0x0
	call _Z12Scr_GetFloatj
	fstp dword [ebp-0xc]
	movss xmm0, dword [ebp-0xc]
	movss [ebx+0x18], xmm0
	ucomiss xmm0, [_float_0_00000000]
	jb _Z15GScr_SetLeftArc12scr_entref_t_30
_Z15GScr_SetLeftArc12scr_entref_t_40:
	add esp, 0x24
	pop ebx
	pop ebp
	ret
_Z15GScr_SetLeftArc12scr_entref_t_30:
	jp _Z15GScr_SetLeftArc12scr_entref_t_40
	xor eax, eax
	mov [ebx+0x18], eax
	add esp, 0x24
	pop ebx
	pop ebp
	ret
_Z15GScr_SetLeftArc12scr_entref_t_10:
	mov dword [esp], _cstring_not_an_entity
	call _Z15Scr_ObjectErrorPKc
	xor eax, eax
	jmp _Z15GScr_SetLeftArc12scr_entref_t_50
_Z15GScr_SetLeftArc12scr_entref_t_20:
	mov dword [esp], _cstring_entity_is_not_a_
	call _Z9Scr_ErrorPKc
	jmp _Z15GScr_SetLeftArc12scr_entref_t_60


;GScr_SetTopArc(scr_entref_t)
_Z14GScr_SetTopArc12scr_entref_t:
	push ebp
	mov ebp, esp
	push ebx
	sub esp, 0x24
	mov eax, [ebp+0x8]
	mov edx, eax
	shr eax, 0x10
	test ax, ax
	jnz _Z14GScr_SetTopArc12scr_entref_t_10
	movzx eax, dx
	lea edx, [eax+eax*8]
	lea edx, [eax+edx*2]
	mov ecx, edx
	shl ecx, 0x5
	add edx, ecx
	lea eax, [edx+eax]
	add eax, g_entities
_Z14GScr_SetTopArc12scr_entref_t_40:
	mov ebx, [eax+0x160]
	test ebx, ebx
	jz _Z14GScr_SetTopArc12scr_entref_t_20
_Z14GScr_SetTopArc12scr_entref_t_50:
	mov dword [esp], 0x0
	call _Z12Scr_GetFloatj
	fstp dword [ebp-0xc]
	movss xmm0, dword [ebp-0xc]
	xorps xmm0, [_data16_80000000]
	movss [ebx+0xc], xmm0
	pxor xmm1, xmm1
	ucomiss xmm0, xmm1
	jbe _Z14GScr_SetTopArc12scr_entref_t_30
	movss [ebx+0xc], xmm1
_Z14GScr_SetTopArc12scr_entref_t_30:
	add esp, 0x24
	pop ebx
	pop ebp
	ret
_Z14GScr_SetTopArc12scr_entref_t_10:
	mov dword [esp], _cstring_not_an_entity
	call _Z15Scr_ObjectErrorPKc
	xor eax, eax
	jmp _Z14GScr_SetTopArc12scr_entref_t_40
_Z14GScr_SetTopArc12scr_entref_t_20:
	mov dword [esp], _cstring_entity_is_not_a_
	call _Z9Scr_ErrorPKc
	jmp _Z14GScr_SetTopArc12scr_entref_t_50
	nop


;GScr_SetBottomArc(scr_entref_t)
_Z17GScr_SetBottomArc12scr_entref_t:
	push ebp
	mov ebp, esp
	push ebx
	sub esp, 0x24
	mov eax, [ebp+0x8]
	mov edx, eax
	shr eax, 0x10
	test ax, ax
	jnz _Z17GScr_SetBottomArc12scr_entref_t_10
	movzx eax, dx
	lea edx, [eax+eax*8]
	lea edx, [eax+edx*2]
	mov ecx, edx
	shl ecx, 0x5
	add edx, ecx
	lea eax, [edx+eax]
	add eax, g_entities
_Z17GScr_SetBottomArc12scr_entref_t_50:
	mov ebx, [eax+0x160]
	test ebx, ebx
	jz _Z17GScr_SetBottomArc12scr_entref_t_20
_Z17GScr_SetBottomArc12scr_entref_t_60:
	mov dword [esp], 0x0
	call _Z12Scr_GetFloatj
	fstp dword [ebp-0xc]
	movss xmm0, dword [ebp-0xc]
	movss [ebx+0x14], xmm0
	ucomiss xmm0, [_float_0_00000000]
	jb _Z17GScr_SetBottomArc12scr_entref_t_30
_Z17GScr_SetBottomArc12scr_entref_t_40:
	add esp, 0x24
	pop ebx
	pop ebp
	ret
_Z17GScr_SetBottomArc12scr_entref_t_30:
	jp _Z17GScr_SetBottomArc12scr_entref_t_40
	xor eax, eax
	mov [ebx+0x14], eax
	add esp, 0x24
	pop ebx
	pop ebp
	ret
_Z17GScr_SetBottomArc12scr_entref_t_10:
	mov dword [esp], _cstring_not_an_entity
	call _Z15Scr_ObjectErrorPKc
	xor eax, eax
	jmp _Z17GScr_SetBottomArc12scr_entref_t_50
_Z17GScr_SetBottomArc12scr_entref_t_20:
	mov dword [esp], _cstring_entity_is_not_a_
	call _Z9Scr_ErrorPKc
	jmp _Z17GScr_SetBottomArc12scr_entref_t_60


;GScr_EntityRadiusDamage(scr_entref_t)
_Z23GScr_EntityRadiusDamage12scr_entref_t:
	push ebp
	mov ebp, esp
	sub esp, 0x18
	mov eax, [ebp+0x8]
	mov edx, eax
	shr eax, 0x10
	test ax, ax
	jnz _Z23GScr_EntityRadiusDamage12scr_entref_t_10
	movzx eax, dx
	lea edx, [eax+eax*8]
	lea edx, [eax+edx*2]
	mov ecx, edx
	shl ecx, 0x5
	add edx, ecx
	lea eax, [edx+eax]
	add eax, g_entities
	leave
	jmp _Z25GScr_RadiusDamageInternalP9gentity_s
_Z23GScr_EntityRadiusDamage12scr_entref_t_10:
	mov dword [esp], _cstring_not_an_entity
	call _Z15Scr_ObjectErrorPKc
	xor eax, eax
	leave
	jmp _Z25GScr_RadiusDamageInternalP9gentity_s


;GScr_Detonate(scr_entref_t)
_Z13GScr_Detonate12scr_entref_t:
	push ebp
	mov ebp, esp
	push esi
	push ebx
	sub esp, 0x10
	mov eax, [ebp+0x8]
	mov edx, eax
	shr eax, 0x10
	test ax, ax
	jnz _Z13GScr_Detonate12scr_entref_t_10
	movzx eax, dx
	lea edx, [eax+eax*8]
	lea edx, [eax+edx*2]
	mov ecx, edx
	shl ecx, 0x5
	add edx, ecx
	lea ebx, [edx+eax]
	add ebx, g_entities
_Z13GScr_Detonate12scr_entref_t_70:
	mov eax, [ebx+0xc4]
	mov [esp], eax
	call _Z15BG_GetWeaponDefj
	cmp dword [ebx+0x4], 0x4
	jz _Z13GScr_Detonate12scr_entref_t_20
_Z13GScr_Detonate12scr_entref_t_40:
	mov dword [esp], _cstring_entity_is_not_a_1
	call _Z15Scr_ObjectErrorPKc
	call _Z15Scr_GetNumParamv
	test eax, eax
	jnz _Z13GScr_Detonate12scr_entref_t_30
_Z13GScr_Detonate12scr_entref_t_50:
	mov [ebp+0x8], ebx
	add esp, 0x10
	pop ebx
	pop esi
	pop ebp
	jmp _Z16G_ExplodeMissileP9gentity_s
_Z13GScr_Detonate12scr_entref_t_20:
	test eax, eax
	jz _Z13GScr_Detonate12scr_entref_t_40
	cmp dword [eax+0x12c], 0x1
	jnz _Z13GScr_Detonate12scr_entref_t_40
	call _Z15Scr_GetNumParamv
	test eax, eax
	jz _Z13GScr_Detonate12scr_entref_t_50
_Z13GScr_Detonate12scr_entref_t_30:
	mov dword [esp], 0x0
	call _Z11Scr_GetTypej
	test eax, eax
	jnz _Z13GScr_Detonate12scr_entref_t_60
	mov esi, g_entities
	add esi, 0x9cb18
_Z13GScr_Detonate12scr_entref_t_80:
	mov [esp+0x4], esi
	lea eax, [ebx+0x198]
	mov [esp], eax
	call _ZN9EntHandle6setEntEP9gentity_s
	mov [ebp+0x8], ebx
	add esp, 0x10
	pop ebx
	pop esi
	pop ebp
	jmp _Z16G_ExplodeMissileP9gentity_s
_Z13GScr_Detonate12scr_entref_t_10:
	mov dword [esp], _cstring_not_an_entity
	call _Z15Scr_ObjectErrorPKc
	xor ebx, ebx
	jmp _Z13GScr_Detonate12scr_entref_t_70
_Z13GScr_Detonate12scr_entref_t_60:
	mov dword [esp], 0x0
	call _Z13Scr_GetEntityj
	mov esi, eax
	mov eax, [eax+0x15c]
	test eax, eax
	jnz _Z13GScr_Detonate12scr_entref_t_80
	mov dword [esp+0x4], _cstring_entity_is_not_a_2
	mov dword [esp], 0x0
	call _Z14Scr_ParamErrorjPKc
	jmp _Z13GScr_Detonate12scr_entref_t_80


;GScr_DamageConeTrace(scr_entref_t)
_Z20GScr_DamageConeTrace12scr_entref_t:
	push ebp
	mov ebp, esp
	mov eax, [ebp+0x8]
	mov edx, 0x802011
	pop ebp
	jmp _Z28GScr_DamageConeTraceInternal12scr_entref_ti
	nop


;GScr_SightConeTrace(scr_entref_t)
_Z19GScr_SightConeTrace12scr_entref_t:
	push ebp
	mov ebp, esp
	mov eax, [ebp+0x8]
	mov edx, 0x801
	pop ebp
	jmp _Z28GScr_DamageConeTraceInternal12scr_entref_ti
	nop


;GScr_GetEntityNumber(scr_entref_t)
_Z20GScr_GetEntityNumber12scr_entref_t:
	push ebp
	mov ebp, esp
	sub esp, 0x18
	mov eax, [ebp+0x8]
	mov edx, eax
	shr eax, 0x10
	test ax, ax
	jnz _Z20GScr_GetEntityNumber12scr_entref_t_10
	movzx eax, dx
	lea edx, [eax+eax*8]
	lea edx, [eax+edx*2]
	mov ecx, edx
	shl ecx, 0x5
	add edx, ecx
	lea eax, [edx+eax]
	add eax, g_entities
	mov eax, [eax]
	mov [ebp+0x8], eax
	leave
	jmp _Z10Scr_AddInti
_Z20GScr_GetEntityNumber12scr_entref_t_10:
	mov dword [esp], _cstring_not_an_entity
	call _Z15Scr_ObjectErrorPKc
	xor eax, eax
	mov eax, [eax]
	mov [ebp+0x8], eax
	leave
	jmp _Z10Scr_AddInti


;GScr_PlaceSpawnPoint(scr_entref_t)
_Z20GScr_PlaceSpawnPoint12scr_entref_t:
	push ebp
	mov ebp, esp
	push edi
	push esi
	push ebx
	sub esp, 0x7c
	mov eax, [ebp+0x8]
	mov edx, eax
	shr eax, 0x10
	test ax, ax
	jnz _Z20GScr_PlaceSpawnPoint12scr_entref_t_10
	movzx eax, dx
	lea edx, [eax+eax*8]
	lea edx, [eax+edx*2]
	mov ecx, edx
	shl ecx, 0x5
	add edx, ecx
	lea edi, [edx+eax]
	add edi, g_entities
_Z20GScr_PlaceSpawnPoint12scr_entref_t_30:
	mov eax, [edi+0x13c]
	mov [ebp-0x24], eax
	mov eax, [edi+0x140]
	mov [ebp-0x20], eax
	mov eax, [edi+0x144]
	mov [ebp-0x1c], eax
	mov eax, [edi+0x13c]
	mov [ebp-0x30], eax
	mov eax, [edi+0x140]
	mov [ebp-0x2c], eax
	movss xmm0, dword [_float_128_00000000]
	addss xmm0, [edi+0x144]
	movss [ebp-0x28], xmm0
	mov dword [esp+0x18], 0x2810011
	mov eax, [edi]
	mov [esp+0x14], eax
	lea ebx, [ebp-0x30]
	mov [esp+0x10], ebx
	mov eax, playerMaxs
	mov [esp+0xc], eax
	mov eax, playerMins
	mov [esp+0x8], eax
	lea esi, [ebp-0x24]
	mov [esp+0x4], esi
	lea eax, [ebp-0x5c]
	mov [esp], eax
	call _Z14G_TraceCapsuleP7trace_tPKfS2_S2_S2_ii
	movss xmm4, dword [ebp-0x5c]
	movss xmm0, dword [ebp-0x24]
	movss xmm2, dword [ebp-0x30]
	subss xmm2, xmm0
	mulss xmm2, xmm4
	addss xmm2, xmm0
	movss [ebp-0x24], xmm2
	movss xmm0, dword [ebp-0x20]
	movss xmm1, dword [ebp-0x2c]
	subss xmm1, xmm0
	mulss xmm1, xmm4
	addss xmm1, xmm0
	movss [ebp-0x20], xmm1
	movss xmm3, dword [ebp-0x1c]
	movss xmm0, dword [ebp-0x28]
	subss xmm0, xmm3
	mulss xmm0, xmm4
	addss xmm0, xmm3
	movss [ebp-0x1c], xmm0
	movss [ebp-0x30], xmm2
	movss [ebp-0x2c], xmm1
	subss xmm0, [_float_262144_00000000]
	movss [ebp-0x28], xmm0
	mov dword [esp+0x18], 0x2810011
	mov eax, [edi]
	mov [esp+0x14], eax
	mov [esp+0x10], ebx
	mov eax, playerMaxs
	mov [esp+0xc], eax
	mov eax, playerMins
	mov [esp+0x8], eax
	mov [esp+0x4], esi
	lea eax, [ebp-0x5c]
	mov [esp], eax
	call _Z14G_TraceCapsuleP7trace_tPKfS2_S2_S2_ii
	lea eax, [ebp-0x5c]
	mov [esp], eax
	call _Z20Trace_GetEntityHitIdPK7trace_t
	movzx eax, ax
	mov [edi+0x7c], eax
	lea edx, [eax+eax*8]
	lea edx, [eax+edx*2]
	mov ecx, edx
	shl ecx, 0x5
	add edx, ecx
	add edx, eax
	add edx, g_entities
	or dword [edx+0x180], 0x100000
	movss xmm2, dword [ebp-0x5c]
	movss xmm1, dword [ebp-0x24]
	movss xmm0, dword [ebp-0x30]
	subss xmm0, xmm1
	mulss xmm0, xmm2
	addss xmm1, xmm0
	movss [ebp-0x24], xmm1
	movss xmm1, dword [ebp-0x20]
	movss xmm0, dword [ebp-0x2c]
	subss xmm0, xmm1
	mulss xmm0, xmm2
	addss xmm1, xmm0
	movss [ebp-0x20], xmm1
	movss xmm1, dword [ebp-0x1c]
	movss xmm0, dword [ebp-0x28]
	subss xmm0, xmm1
	mulss xmm2, xmm0
	addss xmm1, xmm2
	movss [ebp-0x1c], xmm1
	mov dword [esp+0x18], 0x2810011
	mov eax, [edi]
	mov [esp+0x14], eax
	mov [esp+0x10], esi
	mov eax, playerMaxs
	mov [esp+0xc], eax
	mov eax, playerMins
	mov [esp+0x8], eax
	mov [esp+0x4], esi
	lea eax, [ebp-0x5c]
	mov [esp], eax
	call _Z14G_TraceCapsuleP7trace_tPKfS2_S2_S2_ii
	cmp byte [ebp-0x34], 0x0
	jz _Z20GScr_PlaceSpawnPoint12scr_entref_t_20
	cvttss2si eax, [edi+0x144]
	mov [esp+0x14], eax
	cvttss2si eax, [edi+0x140]
	mov [esp+0x10], eax
	cvttss2si eax, [edi+0x13c]
	mov [esp+0xc], eax
	mov eax, [edi]
	mov [esp+0x8], eax
	mov dword [esp+0x4], _cstring_warning_spawn_po
	mov dword [esp], 0x17
	call _Z16Com_PrintWarningiPKcz
_Z20GScr_PlaceSpawnPoint12scr_entref_t_20:
	mov [esp+0x4], esi
	mov [esp], edi
	call _Z11G_SetOriginP9gentity_sPKf
	add esp, 0x7c
	pop ebx
	pop esi
	pop edi
	pop ebp
	ret
_Z20GScr_PlaceSpawnPoint12scr_entref_t_10:
	mov dword [esp], _cstring_not_an_entity
	call _Z15Scr_ObjectErrorPKc
	xor edi, edi
	jmp _Z20GScr_PlaceSpawnPoint12scr_entref_t_30


;GScr_SetTeamForTrigger(scr_entref_t)
_Z22GScr_SetTeamForTrigger12scr_entref_t:
	push ebp
	mov ebp, esp
	push edi
	push esi
	push ebx
	sub esp, 0x1c
	mov eax, [ebp+0x8]
	mov edx, eax
	shr eax, 0x10
	test ax, ax
	jnz _Z22GScr_SetTeamForTrigger12scr_entref_t_10
	movzx eax, dx
	lea edx, [eax+eax*8]
	lea edx, [eax+edx*2]
	mov ecx, edx
	shl ecx, 0x5
	add edx, ecx
	lea esi, [edx+eax]
	add esi, g_entities
_Z22GScr_SetTeamForTrigger12scr_entref_t_60:
	movzx edx, word [esi+0x170]
	mov edi, scr_const
	cmp dx, [edi+0xbe]
	jz _Z22GScr_SetTeamForTrigger12scr_entref_t_20
	movzx eax, word [edi+0xc0]
	cmp dx, ax
	jz _Z22GScr_SetTeamForTrigger12scr_entref_t_20
	movzx eax, ax
	mov [esp], eax
	call _Z18SL_ConvertToStringj
	mov ebx, eax
	movzx eax, word [edi+0xbe]
	mov [esp], eax
	call _Z18SL_ConvertToStringj
	mov [esp+0x8], ebx
	mov [esp+0x4], eax
	mov dword [esp], _cstring_setteamfortrigge
	call _Z2vaPKcz
	mov [esp], eax
	call _Z9Scr_ErrorPKc
_Z22GScr_SetTeamForTrigger12scr_entref_t_20:
	mov dword [esp], 0x0
	call _Z18Scr_GetConstStringj
	mov edi, scr_const
	cmp ax, [edi+0xc]
	jz _Z22GScr_SetTeamForTrigger12scr_entref_t_30
	cmp ax, [edi+0xe]
	jz _Z22GScr_SetTeamForTrigger12scr_entref_t_40
	movzx edx, word [edi+0x58]
	cmp ax, dx
	jz _Z22GScr_SetTeamForTrigger12scr_entref_t_50
	movzx eax, dx
	mov [esp], eax
	call _Z18SL_ConvertToStringj
	mov esi, eax
	movzx eax, word [edi+0xe]
	mov [esp], eax
	call _Z18SL_ConvertToStringj
	mov ebx, eax
	movzx eax, word [edi+0xc]
	mov [esp], eax
	call _Z18SL_ConvertToStringj
	mov [esp+0xc], esi
	mov [esp+0x8], ebx
	mov [esp+0x4], eax
	mov dword [esp], _cstring_setteamfortrigge1
	call _Z2vaPKcz
	mov [ebp+0x8], eax
	add esp, 0x1c
	pop ebx
	pop esi
	pop edi
	pop ebp
	jmp _Z9Scr_ErrorPKc
_Z22GScr_SetTeamForTrigger12scr_entref_t_50:
	mov byte [esi+0x16f], 0x0
	add esp, 0x1c
	pop ebx
	pop esi
	pop edi
	pop ebp
	ret
_Z22GScr_SetTeamForTrigger12scr_entref_t_10:
	mov dword [esp], _cstring_not_an_entity
	call _Z15Scr_ObjectErrorPKc
	xor esi, esi
	jmp _Z22GScr_SetTeamForTrigger12scr_entref_t_60
_Z22GScr_SetTeamForTrigger12scr_entref_t_30:
	mov byte [esi+0x16f], 0x2
	add esp, 0x1c
	pop ebx
	pop esi
	pop edi
	pop ebp
	ret
_Z22GScr_SetTeamForTrigger12scr_entref_t_40:
	mov byte [esi+0x16f], 0x1
	add esp, 0x1c
	pop ebx
	pop esi
	pop edi
	pop ebp
	ret


;GScr_ClientClaimTrigger(scr_entref_t)
_Z23GScr_ClientClaimTrigger12scr_entref_t:
	push ebp
	mov ebp, esp
	push edi
	push esi
	push ebx
	sub esp, 0x2c
	mov eax, [ebp+0x8]
	mov edx, eax
	shr eax, 0x10
	test ax, ax
	jnz _Z23GScr_ClientClaimTrigger12scr_entref_t_10
	movzx eax, dx
	lea edx, [eax+eax*8]
	lea edx, [eax+edx*2]
	mov ecx, edx
	shl ecx, 0x5
	add edx, ecx
	lea edi, [edx+eax]
	add edi, g_entities
_Z23GScr_ClientClaimTrigger12scr_entref_t_70:
	mov edx, [edi+0x15c]
	test edx, edx
	jz _Z23GScr_ClientClaimTrigger12scr_entref_t_20
_Z23GScr_ClientClaimTrigger12scr_entref_t_80:
	mov dword [esp], 0x0
	call _Z13Scr_GetEntityj
	mov [ebp-0x1c], eax
	movzx edx, word [eax+0x170]
	mov esi, scr_const
	cmp dx, [esi+0xbe]
	jz _Z23GScr_ClientClaimTrigger12scr_entref_t_30
	movzx eax, word [esi+0xc0]
	cmp dx, ax
	jz _Z23GScr_ClientClaimTrigger12scr_entref_t_40
	movzx eax, ax
	mov [esp], eax
	call _Z18SL_ConvertToStringj
	mov ebx, eax
	movzx eax, word [esi+0xbe]
	mov [esp], eax
	call _Z18SL_ConvertToStringj
	mov [esp+0x8], ebx
	mov [esp+0x4], eax
	mov dword [esp], _cstring_clientclaimtrigg
	call _Z2vaPKcz
	mov [esp], eax
	call _Z9Scr_ErrorPKc
	mov eax, [ebp-0x1c]
_Z23GScr_ClientClaimTrigger12scr_entref_t_30:
	mov edx, [eax+0x1c0]
	cmp edx, 0x3ff
	jz _Z23GScr_ClientClaimTrigger12scr_entref_t_50
	mov eax, [edi+0x15c]
	cmp edx, [eax+0xdc]
	jz _Z23GScr_ClientClaimTrigger12scr_entref_t_60
	add esp, 0x2c
	pop ebx
	pop esi
	pop edi
	pop ebp
	ret
_Z23GScr_ClientClaimTrigger12scr_entref_t_50:
	mov eax, [edi+0x15c]
_Z23GScr_ClientClaimTrigger12scr_entref_t_60:
	mov eax, [eax+0xdc]
	mov edx, [ebp-0x1c]
	mov [edx+0x1c0], eax
	add esp, 0x2c
	pop ebx
	pop esi
	pop edi
	pop ebp
	ret
_Z23GScr_ClientClaimTrigger12scr_entref_t_40:
	mov eax, [ebp-0x1c]
	jmp _Z23GScr_ClientClaimTrigger12scr_entref_t_30
_Z23GScr_ClientClaimTrigger12scr_entref_t_10:
	mov dword [esp], _cstring_not_an_entity
	call _Z15Scr_ObjectErrorPKc
	xor edi, edi
	jmp _Z23GScr_ClientClaimTrigger12scr_entref_t_70
_Z23GScr_ClientClaimTrigger12scr_entref_t_20:
	mov dword [esp], _cstring_clientclaimtrigg1
	call _Z9Scr_ErrorPKc
	jmp _Z23GScr_ClientClaimTrigger12scr_entref_t_80
	nop


;GScr_ClientReleaseTrigger(scr_entref_t)
_Z25GScr_ClientReleaseTrigger12scr_entref_t:
	push ebp
	mov ebp, esp
	push edi
	push esi
	push ebx
	sub esp, 0x2c
	mov eax, [ebp+0x8]
	mov edx, eax
	shr eax, 0x10
	test ax, ax
	jnz _Z25GScr_ClientReleaseTrigger12scr_entref_t_10
	movzx eax, dx
	lea edx, [eax+eax*8]
	lea edx, [eax+edx*2]
	mov ecx, edx
	shl ecx, 0x5
	add edx, ecx
	lea edi, [edx+eax]
	add edi, g_entities
_Z25GScr_ClientReleaseTrigger12scr_entref_t_50:
	mov ecx, [edi+0x15c]
	test ecx, ecx
	jz _Z25GScr_ClientReleaseTrigger12scr_entref_t_20
_Z25GScr_ClientReleaseTrigger12scr_entref_t_60:
	mov dword [esp], 0x0
	call _Z13Scr_GetEntityj
	mov ebx, eax
	movzx edx, word [eax+0x170]
	mov esi, scr_const
	cmp dx, [esi+0xbe]
	jz _Z25GScr_ClientReleaseTrigger12scr_entref_t_30
	movzx eax, word [esi+0xc0]
	cmp dx, ax
	jz _Z25GScr_ClientReleaseTrigger12scr_entref_t_30
	movzx eax, ax
	mov [esp], eax
	call _Z18SL_ConvertToStringj
	mov [ebp-0x1c], eax
	movzx eax, word [esi+0xbe]
	mov [esp], eax
	call _Z18SL_ConvertToStringj
	mov edx, [ebp-0x1c]
	mov [esp+0x8], edx
	mov [esp+0x4], eax
	mov dword [esp], _cstring_clientreleasetri
	call _Z2vaPKcz
	mov [esp], eax
	call _Z9Scr_ErrorPKc
_Z25GScr_ClientReleaseTrigger12scr_entref_t_30:
	mov edx, [edi+0x15c]
	mov eax, [ebx+0x1c0]
	cmp eax, [edx+0xdc]
	jnz _Z25GScr_ClientReleaseTrigger12scr_entref_t_40
	mov dword [ebx+0x1c0], 0x3ff
_Z25GScr_ClientReleaseTrigger12scr_entref_t_40:
	add esp, 0x2c
	pop ebx
	pop esi
	pop edi
	pop ebp
	ret
_Z25GScr_ClientReleaseTrigger12scr_entref_t_10:
	mov dword [esp], _cstring_not_an_entity
	call _Z15Scr_ObjectErrorPKc
	xor edi, edi
	jmp _Z25GScr_ClientReleaseTrigger12scr_entref_t_50
_Z25GScr_ClientReleaseTrigger12scr_entref_t_20:
	mov dword [esp], _cstring_clientreleasetri1
	call _Z9Scr_ErrorPKc
	jmp _Z25GScr_ClientReleaseTrigger12scr_entref_t_60
	nop


;GScr_ReleaseClaimedTrigger(scr_entref_t)
_Z26GScr_ReleaseClaimedTrigger12scr_entref_t:
	push ebp
	mov ebp, esp
	push edi
	push esi
	push ebx
	sub esp, 0x1c
	mov eax, [ebp+0x8]
	mov edx, eax
	shr eax, 0x10
	test ax, ax
	jnz _Z26GScr_ReleaseClaimedTrigger12scr_entref_t_10
	movzx eax, dx
	lea edx, [eax+eax*8]
	lea edx, [eax+edx*2]
	mov ecx, edx
	shl ecx, 0x5
	add edx, ecx
	lea esi, [edx+eax]
	add esi, g_entities
_Z26GScr_ReleaseClaimedTrigger12scr_entref_t_30:
	movzx edx, word [esi+0x170]
	mov edi, scr_const
	cmp dx, [edi+0xbe]
	jz _Z26GScr_ReleaseClaimedTrigger12scr_entref_t_20
	movzx eax, word [edi+0xc0]
	cmp dx, ax
	jz _Z26GScr_ReleaseClaimedTrigger12scr_entref_t_20
	movzx eax, ax
	mov [esp], eax
	call _Z18SL_ConvertToStringj
	mov ebx, eax
	movzx eax, word [edi+0xbe]
	mov [esp], eax
	call _Z18SL_ConvertToStringj
	mov [esp+0x8], ebx
	mov [esp+0x4], eax
	mov dword [esp], _cstring_releaseclaimedtr
	call _Z2vaPKcz
	mov [esp], eax
	call _Z9Scr_ErrorPKc
_Z26GScr_ReleaseClaimedTrigger12scr_entref_t_20:
	mov dword [esi+0x1c0], 0x3ff
	add esp, 0x1c
	pop ebx
	pop esi
	pop edi
	pop ebp
	ret
_Z26GScr_ReleaseClaimedTrigger12scr_entref_t_10:
	mov dword [esp], _cstring_not_an_entity
	call _Z15Scr_ObjectErrorPKc
	xor esi, esi
	jmp _Z26GScr_ReleaseClaimedTrigger12scr_entref_t_30
	nop


;GScr_GetStat(scr_entref_t)
_Z12GScr_GetStat12scr_entref_t:
	push ebp
	mov ebp, esp
	push esi
	push ebx
	sub esp, 0x10
	mov eax, [ebp+0x8]
	mov edx, eax
	shr eax, 0x10
	test ax, ax
	jnz _Z12GScr_GetStat12scr_entref_t_10
	movzx eax, dx
	lea edx, [eax+eax*8]
	lea edx, [eax+edx*2]
	mov ecx, edx
	shl ecx, 0x5
	add edx, ecx
	lea ebx, [edx+eax]
	add ebx, g_entities
_Z12GScr_GetStat12scr_entref_t_50:
	mov dword [esp], 0x0
	call _Z10Scr_GetIntj
	mov esi, eax
	mov eax, [ebx+0x15c]
	test eax, eax
	jz _Z12GScr_GetStat12scr_entref_t_20
_Z12GScr_GetStat12scr_entref_t_70:
	cmp esi, 0xdab
	ja _Z12GScr_GetStat12scr_entref_t_30
	mov eax, [ebx+0x15c]
	mov eax, [eax+0x2f8c]
	test eax, eax
	jle _Z12GScr_GetStat12scr_entref_t_40
_Z12GScr_GetStat12scr_entref_t_60:
	mov [esp+0x4], esi
	mov eax, [ebx]
	mov [esp], eax
	call _Z16SV_GetClientStatii
	mov [ebp+0x8], eax
	add esp, 0x10
	pop ebx
	pop esi
	pop ebp
	jmp _Z10Scr_AddInti
_Z12GScr_GetStat12scr_entref_t_10:
	mov dword [esp], _cstring_not_an_entity
	call _Z15Scr_ObjectErrorPKc
	xor ebx, ebx
	jmp _Z12GScr_GetStat12scr_entref_t_50
_Z12GScr_GetStat12scr_entref_t_30:
	mov [esp+0x4], esi
	mov dword [esp], _cstring_getstat_invalid_
	call _Z2vaPKcz
	mov [esp], eax
	call _Z9Scr_ErrorPKc
	mov eax, [ebx+0x15c]
	mov eax, [eax+0x2f8c]
	test eax, eax
	jg _Z12GScr_GetStat12scr_entref_t_60
_Z12GScr_GetStat12scr_entref_t_40:
	mov dword [esp], _cstring_getstat_called_o
	call _Z9Scr_ErrorPKc
	mov [esp+0x4], esi
	mov eax, [ebx]
	mov [esp], eax
	call _Z16SV_GetClientStatii
	mov [ebp+0x8], eax
	add esp, 0x10
	pop ebx
	pop esi
	pop ebp
	jmp _Z10Scr_AddInti
_Z12GScr_GetStat12scr_entref_t_20:
	mov dword [esp], _cstring_getstat_entity_m
	call _Z9Scr_ErrorPKc
	jmp _Z12GScr_GetStat12scr_entref_t_70
	nop


;GScr_SetStat(scr_entref_t)
_Z12GScr_SetStat12scr_entref_t:
	push ebp
	mov ebp, esp
	push edi
	push esi
	push ebx
	sub esp, 0x1c
	mov eax, [ebp+0x8]
	mov edx, eax
	shr eax, 0x10
	test ax, ax
	jnz _Z12GScr_SetStat12scr_entref_t_10
	movzx eax, dx
	lea edx, [eax+eax*8]
	lea edx, [eax+edx*2]
	mov ecx, edx
	shl ecx, 0x5
	add edx, ecx
	lea esi, [edx+eax]
	add esi, g_entities
_Z12GScr_SetStat12scr_entref_t_60:
	mov eax, [esi+0x15c]
	test eax, eax
	jz _Z12GScr_SetStat12scr_entref_t_20
_Z12GScr_SetStat12scr_entref_t_100:
	call _Z22Scr_LoadedImpureScriptv
	test al, al
	jnz _Z12GScr_SetStat12scr_entref_t_30
_Z12GScr_SetStat12scr_entref_t_70:
	mov dword [esp], _cstring_developer_script
	call _Z12Dvar_GetBoolPKc
	test al, al
	jz _Z12GScr_SetStat12scr_entref_t_40
	mov dword [esp+0x4], _cstring_setstat_develope
	mov dword [esp], 0x10
	call _Z16Com_PrintWarningiPKcz
	add esp, 0x1c
	pop ebx
	pop esi
	pop edi
	pop ebp
	ret
_Z12GScr_SetStat12scr_entref_t_40:
	call _Z15Scr_GetNumParamv
	cmp eax, 0x2
	jz _Z12GScr_SetStat12scr_entref_t_50
	mov [esp+0x4], eax
	mov dword [esp], _cstring_setstat_takes_2_
	call _Z2vaPKcz
	mov [esp], eax
	call _Z9Scr_ErrorPKc
	xor edi, edi
	xor ebx, ebx
_Z12GScr_SetStat12scr_entref_t_90:
	mov [esp+0x8], ebx
	mov [esp+0x4], edi
	mov eax, [esi]
	mov [esp], eax
	call _Z16SV_SetClientStatiii
	add esp, 0x1c
	pop ebx
	pop esi
	pop edi
	pop ebp
	ret
_Z12GScr_SetStat12scr_entref_t_10:
	mov dword [esp], _cstring_not_an_entity
	call _Z15Scr_ObjectErrorPKc
	xor esi, esi
	jmp _Z12GScr_SetStat12scr_entref_t_60
_Z12GScr_SetStat12scr_entref_t_30:
	mov dword [esp], _cstring_setstat_impure_s
	call _Z9Scr_ErrorPKc
	jmp _Z12GScr_SetStat12scr_entref_t_70
_Z12GScr_SetStat12scr_entref_t_50:
	mov dword [esp], 0x0
	call _Z10Scr_GetIntj
	mov edi, eax
	cmp eax, 0xdab
	ja _Z12GScr_SetStat12scr_entref_t_80
_Z12GScr_SetStat12scr_entref_t_110:
	mov dword [esp], 0x1
	call _Z10Scr_GetIntj
	mov ebx, eax
	cmp edi, 0x7cf
	jg _Z12GScr_SetStat12scr_entref_t_90
	cmp eax, 0xff
	jbe _Z12GScr_SetStat12scr_entref_t_90
	mov [esp+0x8], eax
	mov [esp+0x4], edi
	mov dword [esp], _cstring_setstat_index_i_
	call _Z2vaPKcz
	mov [esp+0x4], eax
	mov dword [esp], 0x1
	call _Z14Scr_ParamErrorjPKc
	jmp _Z12GScr_SetStat12scr_entref_t_90
_Z12GScr_SetStat12scr_entref_t_20:
	mov dword [esp], _cstring_setstat_entity_m
	call _Z9Scr_ErrorPKc
	jmp _Z12GScr_SetStat12scr_entref_t_100
_Z12GScr_SetStat12scr_entref_t_80:
	mov [esp+0x4], eax
	mov dword [esp], _cstring_setstat_invalid_
	call _Z2vaPKcz
	mov [esp+0x4], eax
	mov dword [esp], 0x0
	call _Z14Scr_ParamErrorjPKc
	jmp _Z12GScr_SetStat12scr_entref_t_110


;GScr_SendLeaderboards(scr_entref_t)
_Z21GScr_SendLeaderboards12scr_entref_t:
	push ebp
	mov ebp, esp
	pop ebp
	ret
	nop


;ScrCmd_SetMoveSpeedScale(scr_entref_t)
_Z24ScrCmd_SetMoveSpeedScale12scr_entref_t:
	push ebp
	mov ebp, esp
	push ebx
	sub esp, 0x14
	mov eax, [ebp+0x8]
	call _Z15GetPlayerEntity12scr_entref_t
	mov ebx, [eax+0x15c]
	mov dword [esp], 0x0
	call _Z12Scr_GetFloatj
	fstp dword [ebx+0x2ffc]
	add esp, 0x14
	pop ebx
	pop ebp
	ret
	nop


;ScrCmd_LogString(scr_entref_t)
_Z16ScrCmd_LogString12scr_entref_t:
	push ebp
	mov ebp, esp
	pop ebp
	ret
	nop
	add [eax], al


;ScrCmd_ItemWeaponSetAmmo(scr_entref_t)
_Z24ScrCmd_ItemWeaponSetAmmo12scr_entref_t:
	push ebp
	mov ebp, esp
	push edi
	push esi
	push ebx
	sub esp, 0x2c
	mov eax, [ebp+0x8]
	mov edx, eax
	shr eax, 0x10
	test ax, ax
	jnz _Z24ScrCmd_ItemWeaponSetAmmo12scr_entref_t_10
	movzx eax, dx
	lea edx, [eax+eax*8]
	lea edx, [eax+edx*2]
	mov ecx, edx
	shl ecx, 0x5
	add edx, ecx
	lea esi, [edx+eax]
	add esi, g_entities
_Z24ScrCmd_ItemWeaponSetAmmo12scr_entref_t_90:
	cmp dword [esi+0x4], 0x3
	jz _Z24ScrCmd_ItemWeaponSetAmmo12scr_entref_t_20
	mov dword [esp], _cstring_entity_is_not_an
	call _Z9Scr_ErrorPKc
_Z24ScrCmd_ItemWeaponSetAmmo12scr_entref_t_20:
	mov edx, [esi+0x88]
	mov eax, bg_itemlist
	cmp dword [eax+edx*4], 0x1
	jz _Z24ScrCmd_ItemWeaponSetAmmo12scr_entref_t_30
	mov dword [esp], _cstring_item_entity_is_n
	call _Z9Scr_ErrorPKc
_Z24ScrCmd_ItemWeaponSetAmmo12scr_entref_t_30:
	mov dword [esp], 0x0
	call _Z10Scr_GetIntj
	mov edi, eax
	test eax, eax
	js _Z24ScrCmd_ItemWeaponSetAmmo12scr_entref_t_40
	mov dword [esp], 0x1
	call _Z10Scr_GetIntj
	mov [ebp-0x1c], eax
	test eax, eax
	js _Z24ScrCmd_ItemWeaponSetAmmo12scr_entref_t_50
_Z24ScrCmd_ItemWeaponSetAmmo12scr_entref_t_120:
	call _Z15Scr_GetNumParamv
	cmp eax, 0x2
	ja _Z24ScrCmd_ItemWeaponSetAmmo12scr_entref_t_60
	xor ebx, ebx
_Z24ScrCmd_ItemWeaponSetAmmo12scr_entref_t_100:
	lea eax, [ebx+ebx*2]
	lea ebx, [esi+eax*4]
	mov eax, [ebx+0x1bc]
	and eax, 0x8000007f
	js _Z24ScrCmd_ItemWeaponSetAmmo12scr_entref_t_70
_Z24ScrCmd_ItemWeaponSetAmmo12scr_entref_t_110:
	test eax, eax
	jle _Z24ScrCmd_ItemWeaponSetAmmo12scr_entref_t_80
	mov [esp], eax
	call _Z15BG_GetWeaponDefj
	mov eax, [eax+0x338]
	cmp edi, eax
	cmovg edi, eax
	mov eax, [ebp-0x1c]
	mov [ebx+0x1b4], eax
	mov [ebx+0x1b8], edi
_Z24ScrCmd_ItemWeaponSetAmmo12scr_entref_t_80:
	add esp, 0x2c
	pop ebx
	pop esi
	pop edi
	pop ebp
	ret
_Z24ScrCmd_ItemWeaponSetAmmo12scr_entref_t_10:
	mov dword [esp], _cstring_not_an_entity
	call _Z15Scr_ObjectErrorPKc
	xor esi, esi
	jmp _Z24ScrCmd_ItemWeaponSetAmmo12scr_entref_t_90
_Z24ScrCmd_ItemWeaponSetAmmo12scr_entref_t_60:
	mov dword [esp], 0x2
	call _Z10Scr_GetIntj
	mov ebx, eax
	cmp eax, 0x1
	jbe _Z24ScrCmd_ItemWeaponSetAmmo12scr_entref_t_100
	mov dword [esp+0x4], 0x2
	mov dword [esp], _cstring_value_out_of_ran
	call _Z2vaPKcz
	mov [esp+0x4], eax
	mov dword [esp], 0x2
	call _Z14Scr_ParamErrorjPKc
	lea eax, [ebx+ebx*2]
	lea ebx, [esi+eax*4]
	mov eax, [ebx+0x1bc]
	and eax, 0x8000007f
	jns _Z24ScrCmd_ItemWeaponSetAmmo12scr_entref_t_110
_Z24ScrCmd_ItemWeaponSetAmmo12scr_entref_t_70:
	sub eax, 0x1
	or eax, 0xffffff80
	add eax, 0x1
	jmp _Z24ScrCmd_ItemWeaponSetAmmo12scr_entref_t_110
_Z24ScrCmd_ItemWeaponSetAmmo12scr_entref_t_40:
	mov dword [esp+0x4], _cstring_ammo_count_must_
	mov dword [esp], 0x0
	call _Z14Scr_ParamErrorjPKc
	mov dword [esp], 0x1
	call _Z10Scr_GetIntj
	mov [ebp-0x1c], eax
	test eax, eax
	jns _Z24ScrCmd_ItemWeaponSetAmmo12scr_entref_t_120
_Z24ScrCmd_ItemWeaponSetAmmo12scr_entref_t_50:
	mov dword [esp+0x4], _cstring_ammo_count_must_
	mov dword [esp], 0x1
	call _Z14Scr_ParamErrorjPKc
	jmp _Z24ScrCmd_ItemWeaponSetAmmo12scr_entref_t_120
	nop


;GScr_LoadScriptAndLabel(char const*, char const*, int)
_Z23GScr_LoadScriptAndLabelPKcS0_i:
	push ebp
	mov ebp, esp
	push edi
	push esi
	push ebx
	sub esp, 0x2c
	mov esi, eax
	mov [ebp-0x1c], edx
	mov edi, ecx
	call _Z23G_ExitAfterConnectPathsv
	test al, al
	jz _Z23GScr_LoadScriptAndLabelPKcS0_i_10
_Z23GScr_LoadScriptAndLabelPKcS0_i_50:
	xor ebx, ebx
_Z23GScr_LoadScriptAndLabelPKcS0_i_40:
	mov eax, ebx
	add esp, 0x2c
	pop ebx
	pop esi
	pop edi
	pop ebp
	ret
_Z23GScr_LoadScriptAndLabelPKcS0_i_10:
	mov [esp], esi
	call _Z14Scr_LoadScriptPKc
	test eax, eax
	jnz _Z23GScr_LoadScriptAndLabelPKcS0_i_20
	test edi, edi
	jnz _Z23GScr_LoadScriptAndLabelPKcS0_i_30
_Z23GScr_LoadScriptAndLabelPKcS0_i_20:
	mov eax, [ebp-0x1c]
	mov [esp+0x4], eax
	mov [esp], esi
	call _Z21Scr_GetFunctionHandlePKcS0_
	mov ebx, eax
	test eax, eax
	jnz _Z23GScr_LoadScriptAndLabelPKcS0_i_40
	test edi, edi
	jz _Z23GScr_LoadScriptAndLabelPKcS0_i_50
	mov [esp+0xc], esi
	mov eax, [ebp-0x1c]
	mov [esp+0x8], eax
	mov dword [esp+0x4], _cstring_could_not_find_l
	mov dword [esp], 0x2
	call _Z9Com_Error11errorParm_tPKcz
	mov eax, ebx
	add esp, 0x2c
	pop ebx
	pop esi
	pop edi
	pop ebp
	ret
_Z23GScr_LoadScriptAndLabelPKcS0_i_30:
	mov [esp+0x8], esi
	mov dword [esp+0x4], _cstring_could_not_find_s
	mov dword [esp], 0x2
	call _Z9Com_Error11errorParm_tPKcz
	jmp _Z23GScr_LoadScriptAndLabelPKcS0_i_20
	nop


;SetObjectiveIcon(objective_t*, int)
_Z16SetObjectiveIconP11objective_ti:
	push ebp
	mov ebp, esp
	push edi
	push esi
	push ebx
	sub esp, 0x1c
	mov edi, eax
	mov [esp], edx
	call _Z13Scr_GetStringj
	mov esi, eax
	movzx edx, byte [eax]
	test dl, dl
	jz _Z16SetObjectiveIconP11objective_ti_10
	xor ebx, ebx
	jmp _Z16SetObjectiveIconP11objective_ti_20
_Z16SetObjectiveIconP11objective_ti_40:
	add ebx, 0x1
	movzx edx, byte [esi+ebx]
	test dl, dl
	jz _Z16SetObjectiveIconP11objective_ti_30
_Z16SetObjectiveIconP11objective_ti_20:
	lea eax, [edx-0x20]
	cmp al, 0x5e
	jbe _Z16SetObjectiveIconP11objective_ti_40
	mov [esp+0xc], esi
	movzx eax, dl
	mov [esp+0x8], eax
	movsx eax, dl
	mov [esp+0x4], eax
	mov dword [esp], _cstring_illegal_characte
	call _Z2vaPKcz
	mov [esp+0x4], eax
	mov dword [esp], 0x3
	call _Z14Scr_ParamErrorjPKc
	add ebx, 0x1
	movzx edx, byte [esi+ebx]
	test dl, dl
	jnz _Z16SetObjectiveIconP11objective_ti_20
_Z16SetObjectiveIconP11objective_ti_30:
	cmp ebx, 0x3f
	jle _Z16SetObjectiveIconP11objective_ti_10
	mov [esp+0x8], esi
	mov dword [esp+0x4], 0x3f
	mov dword [esp], _cstring_objective_icon_n
	call _Z2vaPKcz
	mov [esp+0x4], eax
	mov dword [esp], 0x3
	call _Z14Scr_ParamErrorjPKc
_Z16SetObjectiveIconP11objective_ti_10:
	mov [esp], esi
	call _Z15G_MaterialIndexPKc
	mov [edi+0x18], eax
	add esp, 0x1c
	pop ebx
	pop esi
	pop edi
	pop ebp
	ret
	nop


;GScr_RadiusDamageInternal(gentity_s*)
_Z25GScr_RadiusDamageInternalP9gentity_s:
	push ebp
	mov ebp, esp
	push edi
	push esi
	push ebx
	sub esp, 0x5c
	mov [ebp-0x38], eax
	lea eax, [ebp-0x24]
	mov [esp+0x4], eax
	mov dword [esp], 0x0
	call _Z13Scr_GetVectorjPf
	mov dword [esp], 0x1
	call _Z12Scr_GetFloatj
	fstp dword [ebp-0x34]
	mov dword [esp], 0x2
	call _Z12Scr_GetFloatj
	fstp dword [ebp-0x30]
	mov dword [esp], 0x3
	call _Z12Scr_GetFloatj
	fstp dword [ebp-0x2c]
	call _Z15Scr_GetNumParamv
	cmp eax, 0x4
	ja _Z25GScr_RadiusDamageInternalP9gentity_s_10
_Z25GScr_RadiusDamageInternalP9gentity_s_80:
	mov edi, g_entities
	add edi, 0x9cb18
_Z25GScr_RadiusDamageInternalP9gentity_s_90:
	call _Z15Scr_GetNumParamv
	cmp eax, 0x5
	ja _Z25GScr_RadiusDamageInternalP9gentity_s_20
_Z25GScr_RadiusDamageInternalP9gentity_s_60:
	mov esi, 0xe
_Z25GScr_RadiusDamageInternalP9gentity_s_70:
	call _Z15Scr_GetNumParamv
	cmp eax, 0x6
	ja _Z25GScr_RadiusDamageInternalP9gentity_s_30
_Z25GScr_RadiusDamageInternalP9gentity_s_40:
	mov edx, 0xffffffff
_Z25GScr_RadiusDamageInternalP9gentity_s_50:
	mov ebx, level
	mov eax, [ebx+0x2de4]
	mov [ebx+0x2de0], eax
	mov [esp+0x28], edx
	mov [esp+0x24], esi
	mov eax, [ebp-0x38]
	mov [esp+0x20], eax
	mov dword [esp+0x1c], 0x0
	mov dword [esp+0x18], 0x3f800000
	movss xmm0, dword [ebp-0x34]
	movss [esp+0x14], xmm0
	movss xmm0, dword [ebp-0x2c]
	movss [esp+0x10], xmm0
	movss xmm0, dword [ebp-0x30]
	movss [esp+0xc], xmm0
	mov [esp+0x8], edi
	mov [esp+0x4], eax
	lea eax, [ebp-0x24]
	mov [esp], eax
	call _Z14G_RadiusDamagePKfP9gentity_sS2_ffffPfS2_ii
	mov dword [ebx+0x2de0], 0x0
	add esp, 0x5c
	pop ebx
	pop esi
	pop edi
	pop ebp
	ret
_Z25GScr_RadiusDamageInternalP9gentity_s_30:
	mov dword [esp], 0x6
	call _Z11Scr_GetTypej
	test eax, eax
	jz _Z25GScr_RadiusDamageInternalP9gentity_s_40
	mov dword [esp], 0x6
	call _Z13Scr_GetStringj
	mov [esp], eax
	call _Z23G_GetWeaponIndexForNamePKc
	mov edx, eax
	jmp _Z25GScr_RadiusDamageInternalP9gentity_s_50
_Z25GScr_RadiusDamageInternalP9gentity_s_20:
	mov dword [esp], 0x5
	call _Z11Scr_GetTypej
	test eax, eax
	jz _Z25GScr_RadiusDamageInternalP9gentity_s_60
	mov dword [esp], 0x5
	call _Z29G_MeansOfDeathFromScriptParami
	mov esi, eax
	jmp _Z25GScr_RadiusDamageInternalP9gentity_s_70
_Z25GScr_RadiusDamageInternalP9gentity_s_10:
	mov dword [esp], 0x4
	call _Z11Scr_GetTypej
	test eax, eax
	jz _Z25GScr_RadiusDamageInternalP9gentity_s_80
	mov dword [esp], 0x4
	call _Z13Scr_GetEntityj
	mov edi, eax
	jmp _Z25GScr_RadiusDamageInternalP9gentity_s_90


;GScr_UpdateTagInternal(gentity_s*, unsigned int, cached_tag_mat_t*, int)
_Z22GScr_UpdateTagInternalP9gentity_sjP16cached_tag_mat_ti:
	push ebp
	mov ebp, esp
	push edi
	push esi
	push ebx
	sub esp, 0x1c
	mov ebx, eax
	mov edi, edx
	mov esi, ecx
	mov eax, [eax]
	cmp eax, [ecx+0x4]
	jz _Z22GScr_UpdateTagInternalP9gentity_sjP16cached_tag_mat_ti_10
_Z22GScr_UpdateTagInternalP9gentity_sjP16cached_tag_mat_ti_40:
	mov [esp], ebx
	call _Z13SV_DObjExistsP9gentity_s
	test eax, eax
	jnz _Z22GScr_UpdateTagInternalP9gentity_sjP16cached_tag_mat_ti_20
	mov eax, [ebp+0x8]
	test eax, eax
	jnz _Z22GScr_UpdateTagInternalP9gentity_sjP16cached_tag_mat_ti_30
_Z22GScr_UpdateTagInternalP9gentity_sjP16cached_tag_mat_ti_60:
	xor eax, eax
_Z22GScr_UpdateTagInternalP9gentity_sjP16cached_tag_mat_ti_70:
	add esp, 0x1c
	pop ebx
	pop esi
	pop edi
	pop ebp
	ret
_Z22GScr_UpdateTagInternalP9gentity_sjP16cached_tag_mat_ti_30:
	movzx eax, word [ebx+0x170]
	mov [esp], eax
	call _Z18SL_ConvertToStringj
	mov [esp+0x4], eax
	mov dword [esp], _cstring_entity_has_no_mo1
	call _Z2vaPKcz
	mov [esp], eax
	call _Z15Scr_ObjectErrorPKc
	xor eax, eax
	add esp, 0x1c
	pop ebx
	pop esi
	pop edi
	pop ebp
	ret
_Z22GScr_UpdateTagInternalP9gentity_sjP16cached_tag_mat_ti_10:
	mov eax, level
	mov eax, [eax+0x1ec]
	cmp eax, [ecx]
	jnz _Z22GScr_UpdateTagInternalP9gentity_sjP16cached_tag_mat_ti_40
	movzx eax, word [ecx+0x8]
	cmp edx, eax
	jnz _Z22GScr_UpdateTagInternalP9gentity_sjP16cached_tag_mat_ti_40
	mov eax, 0x1
_Z22GScr_UpdateTagInternalP9gentity_sjP16cached_tag_mat_ti_80:
	add esp, 0x1c
	pop ebx
	pop esi
	pop edi
	pop ebp
	ret
_Z22GScr_UpdateTagInternalP9gentity_sjP16cached_tag_mat_ti_20:
	lea eax, [esi+0xc]
	mov [esp+0x8], eax
	mov [esp+0x4], edi
	mov [esp], ebx
	call _Z23G_DObjGetWorldTagMatrixP9gentity_sjPA3_f
	test eax, eax
	jnz _Z22GScr_UpdateTagInternalP9gentity_sjP16cached_tag_mat_ti_50
	mov eax, [ebp+0x8]
	test eax, eax
	jz _Z22GScr_UpdateTagInternalP9gentity_sjP16cached_tag_mat_ti_60
	mov [esp], ebx
	call _Z15SV_DObjDumpInfoP9gentity_s
	movzx eax, word [ebx+0x168]
	mov [esp], eax
	call _Z11G_ModelNamei
	mov [esp], eax
	call _Z18SL_ConvertToStringj
	mov ebx, eax
	mov [esp], edi
	call _Z18SL_ConvertToStringj
	mov [esp+0x8], ebx
	mov [esp+0x4], eax
	mov dword [esp], _cstring_tag_s_does_not_e1
	call _Z2vaPKcz
	mov [esp+0x4], eax
	mov dword [esp], 0x0
	call _Z14Scr_ParamErrorjPKc
	xor eax, eax
	jmp _Z22GScr_UpdateTagInternalP9gentity_sjP16cached_tag_mat_ti_70
_Z22GScr_UpdateTagInternalP9gentity_sjP16cached_tag_mat_ti_50:
	mov eax, [ebx]
	mov [esi+0x4], eax
	mov eax, level
	mov eax, [eax+0x1ec]
	mov [esi], eax
	mov [esp+0x4], edi
	lea eax, [esi+0x8]
	mov [esp], eax
	call _Z13Scr_SetStringPtj
	mov eax, 0x1
	jmp _Z22GScr_UpdateTagInternalP9gentity_sjP16cached_tag_mat_ti_80
	nop


;Scr_ParseGameTypeList_LoadObj()
_Z29Scr_ParseGameTypeList_LoadObjv:
	push ebp
	mov ebp, esp
	push edi
	push esi
	push ebx
	sub esp, 0x145c
	mov dword [esp+0x8], 0x1080
	mov dword [esp+0x4], 0x0
	mov dword [esp], g_scr_data+0x30
	call memset
	mov dword [esp+0x10], 0x1000
	lea edi, [ebp-0x1420]
	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-0x142c], eax
	test eax, eax
	jg _Z29Scr_ParseGameTypeList_LoadObjv_10
	mov dword [ebp-0x1434], 0x0
_Z29Scr_ParseGameTypeList_LoadObjv_30:
	mov eax, [ebp-0x1434]
	mov [g_scr_data+0x2c], eax
	add esp, 0x145c
	pop ebx
	pop esi
	pop edi
	pop ebp
	ret
_Z29Scr_ParseGameTypeList_LoadObjv_10:
	mov esi, edi
	mov dword [ebp-0x1430], 0x0
	mov dword [ebp-0x1434], 0x0
	mov dword [ebp-0x1440], g_scr_data+0x20
	jmp _Z29Scr_ParseGameTypeList_LoadObjv_20
_Z29Scr_ParseGameTypeList_LoadObjv_40:
	lea esi, [esi+ebx+0x1]
_Z29Scr_ParseGameTypeList_LoadObjv_100:
	add dword [ebp-0x1430], 0x1
	mov eax, [ebp-0x1430]
	cmp [ebp-0x142c], eax
	jz _Z29Scr_ParseGameTypeList_LoadObjv_30
_Z29Scr_ParseGameTypeList_LoadObjv_20:
	cld
	mov ecx, 0xffffffff
	xor eax, eax
	mov edi, esi
	repne scasb
	not ecx
	lea ebx, [ecx-0x1]
	cmp byte [esi], 0x5f
	jz _Z29Scr_ParseGameTypeList_LoadObjv_40
	mov dword [esp+0x4], _cstring_gsc1
	lea eax, [esi+ebx]
	mov [ebp-0x143c], eax
	sub eax, 0x4
	mov [esp], eax
	call _Z9I_stricmpPKcS0_
	test eax, eax
	jnz _Z29Scr_ParseGameTypeList_LoadObjv_50
	mov byte [esi+ebx-0x4], 0x0
_Z29Scr_ParseGameTypeList_LoadObjv_50:
	cmp dword [ebp-0x1434], 0x20
	jz _Z29Scr_ParseGameTypeList_LoadObjv_60
	mov edi, [ebp-0x1440]
	add edi, 0x10
	mov dword [esp+0x8], 0x40
	mov [esp+0x4], esi
	mov [esp], edi
	call _Z10I_strncpyzPcPKci
	mov [esp], edi
	call _Z6strlwrPc
	mov [esp+0x4], esi
	mov dword [esp], _cstring_mapsmpgametypess
	call _Z2vaPKcz
	mov dword [esp+0x8], 0x0
	lea edx, [ebp-0x20]
	mov [esp+0x4], edx
	mov [esp], eax
	call _Z18FS_FOpenFileByModePKcPi8fsMode_t
	mov [ebp-0x1438], eax
	sub eax, 0x1
	cmp eax, 0x3fe
	jbe _Z29Scr_ParseGameTypeList_LoadObjv_70
	mov eax, [ebp-0x1438]
	test eax, eax
	jle _Z29Scr_ParseGameTypeList_LoadObjv_80
	mov [esp+0x4], esi
	mov dword [esp], _cstring_mapsmpgametypess
	call _Z2vaPKcz
	mov [esp+0x8], eax
	mov dword [esp+0x4], _cstring_warning_gametype
	mov dword [esp], 0x17
	call _Z16Com_PrintWarningiPKcz
_Z29Scr_ParseGameTypeList_LoadObjv_130:
	mov dword [esp+0x8], 0x40
	mov [esp+0x4], edi
	lea eax, [edi+0x40]
	mov [esp], eax
	call _Z10I_strncpyzPcPKci
	mov dword [edi+0x80], 0x0
_Z29Scr_ParseGameTypeList_LoadObjv_120:
	add dword [ebp-0x1434], 0x1
	add dword [ebp-0x1440], 0x84
	mov eax, [ebp-0x1438]
	test eax, eax
	jle _Z29Scr_ParseGameTypeList_LoadObjv_90
	mov eax, [ebp-0x20]
	mov [esp], eax
	call _Z13FS_FCloseFilei
_Z29Scr_ParseGameTypeList_LoadObjv_90:
	mov esi, [ebp-0x143c]
	add esi, 0x1
	jmp _Z29Scr_ParseGameTypeList_LoadObjv_100
_Z29Scr_ParseGameTypeList_LoadObjv_70:
	mov eax, [ebp-0x20]
	mov [esp+0x8], eax
	mov eax, [ebp-0x1438]
	mov [esp+0x4], eax
	lea ebx, [ebp-0x420]
	mov [esp], ebx
	call _Z7FS_ReadPvii
	mov [ebp-0x1c], ebx
	lea eax, [ebp-0x1c]
	mov [esp], eax
	call _Z9Com_ParsePPKc
	mov dword [esp+0x8], 0x40
	mov [esp+0x4], eax
	mov eax, [ebp-0x1440]
	add eax, 0x50
	mov [esp], eax
	call _Z10I_strncpyzPcPKci
	lea eax, [ebp-0x1c]
	mov [esp], eax
	call _Z9Com_ParsePPKc
	test eax, eax
	jz _Z29Scr_ParseGameTypeList_LoadObjv_110
	mov dword [esp+0x4], _cstring_team
	mov [esp], eax
	call _Z9I_stricmpPKcS0_
	test eax, eax
	jnz _Z29Scr_ParseGameTypeList_LoadObjv_110
	mov dword [edi+0x80], 0x1
	jmp _Z29Scr_ParseGameTypeList_LoadObjv_120
_Z29Scr_ParseGameTypeList_LoadObjv_110:
	mov dword [edi+0x80], 0x0
	jmp _Z29Scr_ParseGameTypeList_LoadObjv_120
_Z29Scr_ParseGameTypeList_LoadObjv_80:
	mov [esp+0x4], esi
	mov dword [esp], _cstring_mapsmpgametypess
	call _Z2vaPKcz
	mov [esp+0xc], esi
	mov [esp+0x8], eax
	mov dword [esp+0x4], _cstring_warning_could_no
	mov dword [esp], 0x17
	call _Z16Com_PrintWarningiPKcz
	jmp _Z29Scr_ParseGameTypeList_LoadObjv_130
_Z29Scr_ParseGameTypeList_LoadObjv_60:
	mov dword [esp+0x8], 0x1f
	mov dword [esp+0x4], _cstring_too_many_game_ty
	mov dword [esp], 0x17
	call _Z10Com_PrintfiPKcz
	jmp _Z29Scr_ParseGameTypeList_LoadObjv_30
	nop


;Scr_ParseGameTypeList_FastFile()
_Z30Scr_ParseGameTypeList_FastFilev:
	push ebp
	mov ebp, esp
	push edi
	push esi
	push ebx
	sub esp, 0x3c
	mov dword [esp+0x8], 0x1080
	mov dword [esp+0x4], 0x0
	mov dword [esp], g_scr_data+0x30
	call memset
	mov dword [esp+0x4], _cstring_mapsmpgametypes_
	mov dword [esp], 0x1f
	call _Z19DB_FindXAssetHeader10XAssetTypePKc
	test eax, eax
	jz _Z30Scr_ParseGameTypeList_FastFilev_10
	mov eax, [eax+0x8]
	mov [ebp-0x20], eax
	mov dword [ebp-0x2c], 0x0
	mov esi, g_scr_data+0x30
	jmp _Z30Scr_ParseGameTypeList_FastFilev_20
_Z30Scr_ParseGameTypeList_FastFilev_70:
	mov edx, [eax+0x8]
	cld
	mov ecx, 0xffffffff
	xor eax, eax
	mov edi, edx
	repne scasb
	not ecx
	lea eax, [ecx-0x1]
	sub ecx, 0x2
	cmp ecx, 0x3fe
	jbe _Z30Scr_ParseGameTypeList_FastFilev_30
	test eax, eax
	jle _Z30Scr_ParseGameTypeList_FastFilev_40
	mov [esp+0x4], ebx
	mov dword [esp], _cstring_mapsmpgametypess
	call _Z2vaPKcz
	mov [esp+0x8], eax
	mov dword [esp+0x4], _cstring_warning_gametype
	mov dword [esp], 0x17
	call _Z16Com_PrintWarningiPKcz
_Z30Scr_ParseGameTypeList_FastFilev_80:
	mov dword [esp+0x8], 0x40
	mov [esp+0x4], esi
	lea eax, [esi+0x40]
	mov [esp], eax
	call _Z10I_strncpyzPcPKci
	mov dword [esi+0x80], 0x0
_Z30Scr_ParseGameTypeList_FastFilev_110:
	add dword [ebp-0x2c], 0x1
	add esi, 0x84
_Z30Scr_ParseGameTypeList_FastFilev_20:
	lea eax, [ebp-0x20]
	mov [esp], eax
	call _Z9Com_ParsePPKc
	mov ebx, eax
	mov edx, [ebp-0x20]
	test edx, edx
	jz _Z30Scr_ParseGameTypeList_FastFilev_50
	cmp dword [ebp-0x2c], 0x20
	jz _Z30Scr_ParseGameTypeList_FastFilev_60
	mov dword [esp+0x8], 0x40
	mov [esp+0x4], eax
	mov [esp], esi
	call _Z10I_strncpyzPcPKci
	mov [esp], esi
	call _Z8I_strlwrPc
	mov [esp+0x4], ebx
	mov dword [esp], _cstring_mapsmpgametypess
	call _Z2vaPKcz
	mov [esp+0x4], eax
	mov dword [esp], 0x1f
	call _Z19DB_FindXAssetHeader10XAssetTypePKc
	test eax, eax
	jnz _Z30Scr_ParseGameTypeList_FastFilev_70
_Z30Scr_ParseGameTypeList_FastFilev_40:
	mov [esp+0x4], ebx
	mov dword [esp], _cstring_mapsmpgametypess
	call _Z2vaPKcz
	mov [esp+0xc], ebx
	mov [esp+0x8], eax
	mov dword [esp+0x4], _cstring_warning_could_no
	mov dword [esp], 0x17
	call _Z16Com_PrintWarningiPKcz
	jmp _Z30Scr_ParseGameTypeList_FastFilev_80
_Z30Scr_ParseGameTypeList_FastFilev_30:
	mov [ebp-0x1c], edx
	lea eax, [ebp-0x1c]
	mov [esp], eax
	call _Z9Com_ParsePPKc
	mov dword [esp+0x8], 0x40
	mov [esp+0x4], eax
	lea eax, [esi+0x40]
	mov [esp], eax
	call _Z10I_strncpyzPcPKci
	lea eax, [ebp-0x1c]
	mov [esp], eax
	call _Z9Com_ParsePPKc
	test eax, eax
	jz _Z30Scr_ParseGameTypeList_FastFilev_90
	mov dword [esp+0x4], _cstring_team
	mov [esp], eax
	call _Z9I_stricmpPKcS0_
	test eax, eax
	jz _Z30Scr_ParseGameTypeList_FastFilev_100
_Z30Scr_ParseGameTypeList_FastFilev_90:
	mov dword [esi+0x80], 0x0
	jmp _Z30Scr_ParseGameTypeList_FastFilev_110
_Z30Scr_ParseGameTypeList_FastFilev_10:
	mov dword [ebp-0x2c], 0x0
_Z30Scr_ParseGameTypeList_FastFilev_50:
	mov eax, [ebp-0x2c]
	mov [g_scr_data+0x2c], eax
	add esp, 0x3c
	pop ebx
	pop esi
	pop edi
	pop ebp
	ret
_Z30Scr_ParseGameTypeList_FastFilev_100:
	mov dword [esi+0x80], 0x1
	jmp _Z30Scr_ParseGameTypeList_FastFilev_110
_Z30Scr_ParseGameTypeList_FastFilev_60:
	mov dword [esp+0x8], 0x1f
	mov dword [esp+0x4], _cstring_too_many_game_ty
	mov dword [esp], 0x17
	call _Z10Com_PrintfiPKcz
	mov eax, [ebp-0x2c]
	mov [g_scr_data+0x2c], eax
	add esp, 0x3c
	pop ebx
	pop esi
	pop edi
	pop ebp
	ret
	nop


;GScr_DamageConeTraceInternal(scr_entref_t, int)
_Z28GScr_DamageConeTraceInternal12scr_entref_ti:
	push ebp
	mov ebp, esp
	push edi
	push esi
	push ebx
	sub esp, 0x4c
	mov [ebp-0x2c], edx
	mov edx, eax
	shr eax, 0x10
	test ax, ax
	jnz _Z28GScr_DamageConeTraceInternal12scr_entref_ti_10
	movzx eax, dx
	lea edx, [eax+eax*8]
	lea edx, [eax+edx*2]
	mov ecx, edx
	shl ecx, 0x5
	add edx, ecx
	lea esi, [edx+eax]
	add esi, g_entities
_Z28GScr_DamageConeTraceInternal12scr_entref_ti_40:
	call _Z15Scr_GetNumParamv
	test eax, eax
	jnz _Z28GScr_DamageConeTraceInternal12scr_entref_ti_20
	xor edi, edi
_Z28GScr_DamageConeTraceInternal12scr_entref_ti_30:
	lea ebx, [ebp-0x24]
	mov [esp+0x4], ebx
	mov dword [esp], 0x0
	call _Z13Scr_GetVectorjPf
	mov eax, [ebp-0x2c]
	mov [esp+0x14], eax
	mov dword [esp+0x10], 0x0
	mov dword [esp+0xc], 0x3f800000
	mov [esp+0x8], ebx
	mov [esp+0x4], edi
	mov [esp], esi
	call _Z9CanDamageP9gentity_sS0_PKffPfi
	fstp dword [esp]
	call _Z12Scr_AddFloatf
	add esp, 0x4c
	pop ebx
	pop esi
	pop edi
	pop ebp
	ret
_Z28GScr_DamageConeTraceInternal12scr_entref_ti_20:
	mov dword [esp], 0x1
	call _Z13Scr_GetEntityj
	mov edi, eax
	jmp _Z28GScr_DamageConeTraceInternal12scr_entref_ti_30
_Z28GScr_DamageConeTraceInternal12scr_entref_ti_10:
	mov dword [esp], _cstring_not_an_entity
	call _Z15Scr_ObjectErrorPKc
	xor esi, esi
	jmp _Z28GScr_DamageConeTraceInternal12scr_entref_ti_40


;GetPlayerEntity(scr_entref_t)
_Z15GetPlayerEntity12scr_entref_t:
	push ebp
	mov ebp, esp
	push edi
	push esi
	push ebx
	sub esp, 0x3c
	mov esi, eax
	mov edx, eax
	xor dx, dx
	and eax, 0xffff
	or eax, edx
	mov ax, si
	mov edx, eax
	shr eax, 0x10
	test ax, ax
	jnz _Z15GetPlayerEntity12scr_entref_t_10
	movzx eax, dx
	lea edx, [eax+eax*8]
	lea edx, [eax+edx*2]
	mov ecx, edx
	shl ecx, 0x5
	add edx, ecx
	lea ebx, [edx+eax]
	add ebx, g_entities
_Z15GetPlayerEntity12scr_entref_t_50:
	mov eax, [ebx+0x15c]
	test eax, eax
	jz _Z15GetPlayerEntity12scr_entref_t_20
	mov eax, ebx
	add esp, 0x3c
	pop ebx
	pop esi
	pop edi
	pop ebp
	ret
_Z15GetPlayerEntity12scr_entref_t_20:
	movzx eax, word [ebx+0x174]
	test ax, ax
	jnz _Z15GetPlayerEntity12scr_entref_t_30
	mov edi, _cstring_undefined
_Z15GetPlayerEntity12scr_entref_t_40:
	movzx eax, word [ebx+0x170]
	mov [esp], eax
	call _Z18SL_ConvertToStringj
	mov [esp+0x24], edi
	mov [esp+0x20], eax
	cvtss2sd xmm0, [ebx+0x144]
	movsd [esp+0x18], xmm0
	cvtss2sd xmm0, [ebx+0x140]
	movsd [esp+0x10], xmm0
	cvtss2sd xmm0, [ebx+0x13c]
	movsd [esp+0x8], xmm0
	movzx eax, si
	mov [esp+0x4], eax
	mov dword [esp], _cstring_only_valid_on_pl
	call _Z2vaPKcz
	mov [esp], eax
	call _Z9Scr_ErrorPKc
	mov eax, ebx
	add esp, 0x3c
	pop ebx
	pop esi
	pop edi
	pop ebp
	ret
_Z15GetPlayerEntity12scr_entref_t_30:
	movzx eax, ax
	mov [esp], eax
	call _Z18SL_ConvertToStringj
	mov edi, eax
	jmp _Z15GetPlayerEntity12scr_entref_t_40
_Z15GetPlayerEntity12scr_entref_t_10:
	mov dword [esp], _cstring_not_an_entity
	call _Z15Scr_ObjectErrorPKc
	xor ebx, ebx
	jmp _Z15GetPlayerEntity12scr_entref_t_50


;Scr_SetFxAngles(int, float (*) [3], float*)
_Z15Scr_SetFxAnglesiPA3_fPf:
	push ebp
	mov ebp, esp
	push edi
	push esi
	push ebx
	sub esp, 0x2c
	mov ebx, edx
	mov esi, ecx
	cmp eax, 0x1
	jz _Z15Scr_SetFxAnglesiPA3_fPf_10
	cmp eax, 0x2
	jz _Z15Scr_SetFxAnglesiPA3_fPf_20
	mov dword [ecx], 0x43870000
	xor eax, eax
	mov [ecx+0x4], eax
	mov [ecx+0x8], eax
	add esp, 0x2c
	pop ebx
	pop esi
	pop edi
	pop ebp
	ret
_Z15Scr_SetFxAnglesiPA3_fPf_10:
	mov [esp+0x4], ecx
	mov [esp], edx
	call _Z11vectoanglesPKfPf
	add esp, 0x2c
	pop ebx
	pop esi
	pop edi
	pop ebp
	ret
_Z15Scr_SetFxAnglesiPA3_fPf_20:
	lea eax, [edx+0x18]
	mov [ebp-0x28], eax
	lea edx, [edx+0x4]
	mov [ebp-0x24], edx
	lea eax, [ebx+0x1c]
	mov [ebp-0x20], eax
	lea edx, [ebx+0x8]
	mov [ebp-0x1c], edx
	lea edi, [ebx+0x20]
	movss xmm1, dword [ebx]
	mulss xmm1, [ebx+0x18]
	movss xmm0, dword [ebx+0x4]
	mulss xmm0, [ebx+0x1c]
	addss xmm1, xmm0
	movss xmm0, dword [ebx+0x8]
	mulss xmm0, [ebx+0x20]
	addss xmm1, xmm0
	movss xmm4, dword [_data16_80000000]
	xorps xmm1, xmm4
	movaps xmm3, xmm1
	mulss xmm3, [ebx]
	addss xmm3, [ebx+0x18]
	movss [ebx+0x18], xmm3
	movaps xmm0, xmm1
	mulss xmm0, [ebx+0x4]
	addss xmm0, [ebx+0x1c]
	movss [ebx+0x1c], xmm0
	mulss xmm1, [ebx+0x8]
	addss xmm1, [ebx+0x20]
	movss [ebx+0x20], xmm1
	movaps xmm2, xmm3
	mulss xmm2, xmm3
	mulss xmm0, xmm0
	addss xmm2, xmm0
	mulss xmm1, xmm1
	addss xmm2, xmm1
	sqrtss xmm2, xmm2
	movaps xmm0, xmm2
	xorps xmm0, xmm4
	pxor xmm4, xmm4
	ucomiss xmm0, xmm4
	jb _Z15Scr_SetFxAnglesiPA3_fPf_30
	movss xmm1, dword [_float_1_00000000]
_Z15Scr_SetFxAnglesiPA3_fPf_70:
	mulss xmm3, xmm1
	mov eax, [ebp-0x28]
	movss [eax], xmm3
	movaps xmm0, xmm1
	mov edx, [ebp-0x20]
	mulss xmm0, [edx]
	movss [edx], xmm0
	mulss xmm1, [edi]
	movss [edi], xmm1
	ucomiss xmm2, xmm4
	jz _Z15Scr_SetFxAnglesiPA3_fPf_40
_Z15Scr_SetFxAnglesiPA3_fPf_50:
	movaps xmm0, xmm1
_Z15Scr_SetFxAnglesiPA3_fPf_60:
	lea eax, [ebx+0xc]
	mov edx, [ebp-0x20]
	movss xmm1, dword [edx]
	mov edx, [ebp-0x1c]
	mulss xmm1, [edx]
	mov edx, [ebp-0x24]
	mulss xmm0, [edx]
	subss xmm1, xmm0
	movss [ebx+0xc], xmm1
	movss xmm1, dword [edi]
	mulss xmm1, [ebx]
	mov edx, [ebp-0x28]
	movss xmm0, dword [edx]
	mov edx, [ebp-0x1c]
	mulss xmm0, [edx]
	subss xmm1, xmm0
	movss [eax+0x4], xmm1
	mov edx, [ebp-0x28]
	movss xmm1, dword [edx]
	mov edx, [ebp-0x24]
	mulss xmm1, [edx]
	mov edx, [ebp-0x20]
	movss xmm0, dword [edx]
	mulss xmm0, [ebx]
	subss xmm1, xmm0
	movss [eax+0x8], xmm1
	mov [esp+0x4], esi
	mov [esp], ebx
	call _Z12AxisToAnglesPA3_KfPf
	add esp, 0x2c
	pop ebx
	pop esi
	pop edi
	pop ebp
	ret
_Z15Scr_SetFxAnglesiPA3_fPf_40:
	jp _Z15Scr_SetFxAnglesiPA3_fPf_50
	mov dword [esp], _cstring_forward_and_up_v
	call _Z2vaPKcz
	mov [esp], eax
	call _Z9Scr_ErrorPKc
	movss xmm0, dword [edi]
	jmp _Z15Scr_SetFxAnglesiPA3_fPf_60
_Z15Scr_SetFxAnglesiPA3_fPf_30:
	movss xmm1, dword [_float_1_00000000]
	divss xmm1, xmm2
	jmp _Z15Scr_SetFxAnglesiPA3_fPf_70
	nop


;ScrCmd_Hide(scr_entref_t)
_Z11ScrCmd_Hide12scr_entref_t:
	push ebp
	mov ebp, esp
	sub esp, 0x18
	mov eax, [ebp+0x8]
	mov edx, eax
	shr eax, 0x10
	test ax, ax
	jnz _Z11ScrCmd_Hide12scr_entref_t_10
	movzx eax, dx
	lea edx, [eax+eax*8]
	lea edx, [eax+edx*2]
	mov ecx, edx
	shl ecx, 0x5
	add edx, ecx
	lea eax, [edx+eax]
	add eax, g_entities
	or dword [eax+0x8], 0x20
	mov dword [eax+0xf8], 0xffffffff
	mov dword [eax+0xfc], 0xffffffff
	leave
	ret
_Z11ScrCmd_Hide12scr_entref_t_10:
	mov dword [esp], _cstring_not_an_entity
	call _Z15Scr_ObjectErrorPKc
	xor eax, eax
	or dword [eax+0x8], 0x20
	mov dword [eax+0xf8], 0xffffffff
	mov dword [eax+0xfc], 0xffffffff
	leave
	ret


;ScrCmd_Show(scr_entref_t)
_Z11ScrCmd_Show12scr_entref_t:
	push ebp
	mov ebp, esp
	sub esp, 0x18
	mov eax, [ebp+0x8]
	mov edx, eax
	shr eax, 0x10
	test ax, ax
	jnz _Z11ScrCmd_Show12scr_entref_t_10
	movzx eax, dx
	lea edx, [eax+eax*8]
	lea edx, [eax+edx*2]
	mov ecx, edx
	shl ecx, 0x5
	add edx, ecx
	lea eax, [edx+eax]
	add eax, g_entities
	and dword [eax+0x8], 0xffffffdf
	mov dword [eax+0xf8], 0x0
	mov dword [eax+0xfc], 0x0
	leave
	ret
_Z11ScrCmd_Show12scr_entref_t_10:
	mov dword [esp], _cstring_not_an_entity
	call _Z15Scr_ObjectErrorPKc
	xor eax, eax
	and dword [eax+0x8], 0xffffffdf
	mov dword [eax+0xf8], 0x0
	mov dword [eax+0xfc], 0x0
	leave
	ret


;GScr_Shutdown()
_Z13GScr_Shutdownv:
	push ebp
	mov ebp, esp
	sub esp, 0x18
	mov eax, level
	cmp word [eax+0x2e18], 0x0
	jnz _Z13GScr_Shutdownv_10
	leave
	ret
_Z13GScr_Shutdownv_10:
	mov dword [esp+0x4], 0x0
	add eax, 0x2e18
	mov [esp], eax
	call _Z13Scr_SetStringPtj
	leave
	ret


;Scr_GetMethod(char const**, int*)
_Z13Scr_GetMethodPPKcPi:
	push ebp
	mov ebp, esp
	push edi
	push esi
	push ebx
	sub esp, 0x2c
	mov ebx, [ebp+0x8]
	mov esi, [ebp+0xc]
	mov dword [esi], 0x0
	mov [esp], ebx
	call _Z16Player_GetMethodPPKc
	test eax, eax
	jz _Z13Scr_GetMethodPPKcPi_10
_Z13Scr_GetMethodPPKcPi_20:
	add esp, 0x2c
	pop ebx
	pop esi
	pop edi
	pop ebp
	ret
_Z13Scr_GetMethodPPKcPi_10:
	mov [esp], ebx
	call _Z19ScriptEnt_GetMethodPPKc
	test eax, eax
	jnz _Z13Scr_GetMethodPPKcPi_20
	mov [esp], ebx
	call _Z17HudElem_GetMethodPPKc
	test eax, eax
	jnz _Z13Scr_GetMethodPPKcPi_20
	mov [esp], ebx
	call _Z20Helicopter_GetMethodPPKc
	test eax, eax
	jnz _Z13Scr_GetMethodPPKcPi_20
	mov eax, [ebx]
	mov [ebp-0x1c], eax
	mov dword [ebp-0x20], 0x0
	mov edi, methods
	mov dword [ebp-0x24], 0x0
	mov edx, eax
	jmp _Z13Scr_GetMethodPPKcPi_30
_Z13Scr_GetMethodPPKcPi_50:
	add dword [ebp-0x20], 0x1
	add dword [ebp-0x24], 0xc
	add edi, 0xc
	cmp dword [ebp-0x20], 0x52
	jz _Z13Scr_GetMethodPPKcPi_40
	mov edx, [ebp-0x1c]
_Z13Scr_GetMethodPPKcPi_30:
	mov eax, [edi]
	mov [esp+0x4], eax
	mov [esp], edx
	call strcmp
	test eax, eax
	jnz _Z13Scr_GetMethodPPKcPi_50
	mov edx, [ebp-0x24]
	mov eax, [edx+methods]
	mov [ebx], eax
	mov eax, [edx+methods+0x8]
	mov [esi], eax
	mov eax, [edx+methods+0x4]
	jmp _Z13Scr_GetMethodPPKcPi_20
_Z13Scr_GetMethodPPKcPi_40:
	xor eax, eax
	jmp _Z13Scr_GetMethodPPKcPi_20


;Scr_LoadLevel()
_Z13Scr_LoadLevelv:
	push ebp
	mov ebp, esp
	sub esp, 0x18
	mov eax, [g_scr_data]
	test eax, eax
	jnz _Z13Scr_LoadLevelv_10
	leave
	ret
_Z13Scr_LoadLevelv_10:
	mov dword [esp+0x4], 0x0
	mov [esp], eax
	call _Z14Scr_ExecThreadij
	movzx eax, ax
	mov [esp], eax
	call _Z14Scr_FreeThreadt
	leave
	ret


;Scr_SetAngles(gentity_s*, int)
_Z13Scr_SetAnglesP9gentity_si:
	push ebp
	mov ebp, esp
	push ebx
	sub esp, 0x24
	lea ebx, [ebp-0x14]
	mov [esp+0x4], ebx
	mov dword [esp], 0x0
	call _Z13Scr_GetVectorjPf
	mov [esp+0x4], ebx
	mov eax, [ebp+0x8]
	mov [esp], eax
	call _Z10G_SetAngleP9gentity_sPKf
	add esp, 0x24
	pop ebx
	pop ebp
	ret
	nop


;Scr_SetHealth(gentity_s*, int)
_Z13Scr_SetHealthP9gentity_si:
	push ebp
	mov ebp, esp
	push ebx
	sub esp, 0x14
	mov ebx, [ebp+0x8]
	mov dword [esp], 0x0
	call _Z10Scr_GetIntj
	mov edx, eax
	mov eax, [ebx+0x15c]
	test eax, eax
	jz _Z13Scr_SetHealthP9gentity_si_10
	mov [ebx+0x1a0], edx
	mov eax, [ebx+0x15c]
	mov [eax+0x148], edx
	add esp, 0x14
	pop ebx
	pop ebp
	ret
_Z13Scr_SetHealthP9gentity_si_10:
	mov [ebx+0x1a4], edx
	mov [ebx+0x1a0], edx
	add esp, 0x14
	pop ebx
	pop ebp
	ret
	add [eax], al


;Scr_SetOrigin(gentity_s*, int)
_Z13Scr_SetOriginP9gentity_si:
	push ebp
	mov ebp, esp
	push esi
	push ebx
	sub esp, 0x20
	mov esi, [ebp+0x8]
	lea ebx, [ebp-0x14]
	mov [esp+0x4], ebx
	mov dword [esp], 0x0
	call _Z13Scr_GetVectorjPf
	mov [esp+0x4], ebx
	mov [esp], esi
	call _Z11G_SetOriginP9gentity_sPKf
	cmp byte [esi+0xf4], 0x0
	jz _Z13Scr_SetOriginP9gentity_si_10
	mov [esp], esi
	call _Z13SV_LinkEntityP9gentity_s
_Z13Scr_SetOriginP9gentity_si_10:
	add esp, 0x20
	pop ebx
	pop esi
	pop ebp
	ret


;GScr_AddEntity(gentity_s*)
_Z14GScr_AddEntityP9gentity_s:
	push ebp
	mov ebp, esp
	mov eax, [ebp+0x8]
	test eax, eax
	jz _Z14GScr_AddEntityP9gentity_s_10
	pop ebp
	jmp _Z13Scr_AddEntityP9gentity_s
_Z14GScr_AddEntityP9gentity_s_10:
	pop ebp
	jmp _Z16Scr_AddUndefinedv


;GScr_IsRagdoll(scr_entref_t)
_Z14GScr_IsRagdoll12scr_entref_t:
	push ebp
	mov ebp, esp
	sub esp, 0x18
	mov eax, [ebp+0x8]
	mov edx, eax
	shr eax, 0x10
	test ax, ax
	jnz _Z14GScr_IsRagdoll12scr_entref_t_10
	movzx eax, dx
	lea edx, [eax+eax*8]
	lea edx, [eax+edx*2]
	mov ecx, edx
	shl ecx, 0x5
	add edx, ecx
	lea eax, [edx+eax]
	add eax, g_entities
	mov eax, [eax+0xc]
	sub eax, 0x9
	cmp eax, 0x2
	setbe al
	movzx eax, al
	mov [ebp+0x8], eax
	leave
	jmp _Z10Scr_AddInti
_Z14GScr_IsRagdoll12scr_entref_t_10:
	mov dword [esp], _cstring_not_an_entity
	call _Z15Scr_ObjectErrorPKc
	xor eax, eax
	mov eax, [eax+0xc]
	sub eax, 0x9
	cmp eax, 0x2
	setbe al
	movzx eax, al
	mov [ebp+0x8], eax
	leave
	jmp _Z10Scr_AddInti


;Scr_PlayerVote(gentity_s*, char*)
_Z14Scr_PlayerVoteP9gentity_sPc:
	push ebp
	mov ebp, esp
	sub esp, 0x18
	mov eax, [ebp+0xc]
	mov [esp], eax
	call _Z13Scr_AddStringPKc
	mov dword [esp+0x8], 0x1
	mov eax, scr_const
	movzx eax, word [eax+0x142]
	mov [esp+0x4], eax
	mov eax, [ebp+0x8]
	mov [esp], eax
	call _Z10Scr_NotifyP9gentity_stj
	leave
	ret


;Scr_VoteCalled(gentity_s*, char*, char*, char*)
_Z14Scr_VoteCalledP9gentity_sPcS1_S1_:
	push ebp
	mov ebp, esp
	push edi
	push esi
	push ebx
	sub esp, 0x1c
	mov edi, [ebp+0x8]
	mov esi, [ebp+0xc]
	mov ebx, [ebp+0x10]
	mov eax, [ebp+0x14]
	mov [esp], eax
	call _Z13Scr_AddStringPKc
	mov [esp], ebx
	call _Z13Scr_AddStringPKc
	mov [esp], esi
	call _Z13Scr_AddStringPKc
	mov dword [ebp+0x10], 0x3
	mov eax, scr_const
	movzx eax, word [eax+0x128]
	mov [ebp+0xc], eax
	mov [ebp+0x8], edi
	add esp, 0x1c
	pop ebx
	pop esi
	pop edi
	pop ebp
	jmp _Z10Scr_NotifyP9gentity_stj


;GScr_IsMantling(scr_entref_t)
_Z15GScr_IsMantling12scr_entref_t:
	push ebp
	mov ebp, esp
	push ebx
	sub esp, 0x14
	mov eax, [ebp+0x8]
	mov edx, eax
	shr eax, 0x10
	test ax, ax
	jnz _Z15GScr_IsMantling12scr_entref_t_10
	movzx eax, dx
	lea edx, [eax+eax*8]
	lea edx, [eax+edx*2]
	mov ecx, edx
	shl ecx, 0x5
	add edx, ecx
	lea ebx, [edx+eax]
	add ebx, g_entities
	mov eax, [ebx+0x15c]
	test eax, eax
	jz _Z15GScr_IsMantling12scr_entref_t_20
_Z15GScr_IsMantling12scr_entref_t_30:
	mov eax, [ebx+0x15c]
	mov eax, [eax+0xc]
	shr eax, 0x2
	and eax, 0x1
	mov [ebp+0x8], eax
	add esp, 0x14
	pop ebx
	pop ebp
	jmp _Z11Scr_AddBooli
_Z15GScr_IsMantling12scr_entref_t_10:
	mov dword [esp], _cstring_not_an_entity
	call _Z15Scr_ObjectErrorPKc
	xor ebx, ebx
	mov eax, [ebx+0x15c]
	test eax, eax
	jnz _Z15GScr_IsMantling12scr_entref_t_30
_Z15GScr_IsMantling12scr_entref_t_20:
	mov dword [esp], _cstring_setstat_entity_m
	call _Z9Scr_ErrorPKc
	mov eax, [ebx+0x15c]
	mov eax, [eax+0xc]
	shr eax, 0x2
	and eax, 0x1
	mov [ebp+0x8], eax
	add esp, 0x14
	pop ebx
	pop ebp
	jmp _Z11Scr_AddBooli
	nop


;GScr_IsOnLadder(scr_entref_t)
_Z15GScr_IsOnLadder12scr_entref_t:
	push ebp
	mov ebp, esp
	push ebx
	sub esp, 0x14
	mov eax, [ebp+0x8]
	mov edx, eax
	shr eax, 0x10
	test ax, ax
	jnz _Z15GScr_IsOnLadder12scr_entref_t_10
	movzx eax, dx
	lea edx, [eax+eax*8]
	lea edx, [eax+edx*2]
	mov ecx, edx
	shl ecx, 0x5
	add edx, ecx
	lea ebx, [edx+eax]
	add ebx, g_entities
	mov ecx, [ebx+0x15c]
	test ecx, ecx
	jz _Z15GScr_IsOnLadder12scr_entref_t_20
_Z15GScr_IsOnLadder12scr_entref_t_30:
	mov eax, [ebx+0x15c]
	mov eax, [eax+0xc]
	shr eax, 0x3
	and eax, 0x1
	mov [ebp+0x8], eax
	add esp, 0x14
	pop ebx
	pop ebp
	jmp _Z11Scr_AddBooli
_Z15GScr_IsOnLadder12scr_entref_t_10:
	mov dword [esp], _cstring_not_an_entity
	call _Z15Scr_ObjectErrorPKc
	xor ebx, ebx
	mov ecx, [ebx+0x15c]
	test ecx, ecx
	jnz _Z15GScr_IsOnLadder12scr_entref_t_30
_Z15GScr_IsOnLadder12scr_entref_t_20:
	mov dword [esp], _cstring_setstat_entity_m
	call _Z9Scr_ErrorPKc
	mov eax, [ebx+0x15c]
	mov eax, [eax+0xc]
	shr eax, 0x3
	and eax, 0x1
	mov [ebp+0x8], eax
	add esp, 0x14
	pop ebx
	pop ebp
	jmp _Z11Scr_AddBooli
	nop


;Scr_GetFunction(char const**, int*)
_Z15Scr_GetFunctionPPKcPi:
	push ebp
	mov ebp, esp
	push edi
	push esi
	push ebx
	sub esp, 0x2c
	mov eax, [ebp+0x8]
	mov eax, [eax]
	mov [ebp-0x1c], eax
	xor esi, esi
	mov ebx, functions
	xor edi, edi
	mov edx, eax
	jmp _Z15Scr_GetFunctionPPKcPi_10
_Z15Scr_GetFunctionPPKcPi_30:
	add esi, 0x1
	add edi, 0xc
	add ebx, 0xc
	cmp esi, 0xcd
	jz _Z15Scr_GetFunctionPPKcPi_20
	mov edx, [ebp-0x1c]
_Z15Scr_GetFunctionPPKcPi_10:
	mov eax, [ebx]
	mov [esp+0x4], eax
	mov [esp], edx
	call strcmp
	test eax, eax
	jnz _Z15Scr_GetFunctionPPKcPi_30
	mov eax, [edi+functions]
	mov edx, [ebp+0x8]
	mov [edx], eax
	mov eax, [edi+functions+0x8]
	mov edx, [ebp+0xc]
	mov [edx], eax
	mov eax, [edi+functions+0x4]
_Z15Scr_GetFunctionPPKcPi_40:
	add esp, 0x2c
	pop ebx
	pop esi
	pop edi
	pop ebp
	ret
_Z15Scr_GetFunctionPPKcPi_20:
	xor eax, eax
	jmp _Z15Scr_GetFunctionPPKcPi_40


;GScr_AllocString(char const*)
_Z16GScr_AllocStringPKc:
	push ebp
	mov ebp, esp
	sub esp, 0x18
	mov dword [esp+0x4], 0x1
	mov eax, [ebp+0x8]
	mov [esp], eax
	call _Z15Scr_AllocStringPKci
	leave
	ret
	nop


;GScr_FreeScripts()
_Z16GScr_FreeScriptsv:
	push ebp
	mov ebp, esp
	push ebx
	sub esp, 0x14
	xor ebx, ebx
_Z16GScr_FreeScriptsv_10:
	mov [esp], ebx
	call _Z18Scr_RemoveClassMapj
	add ebx, 0x1
	cmp ebx, 0x4
	jnz _Z16GScr_FreeScriptsv_10
	add esp, 0x14
	pop ebx
	pop ebp
	ret
	nop


;GScr_GetNumParts()
_Z16GScr_GetNumPartsv:
	push ebp
	mov ebp, esp
	sub esp, 0x18
	mov dword [esp], 0x0
	call _Z13Scr_GetStringj
	mov [esp], eax
	call _Z12SV_XModelGetPKc
	mov [esp], eax
	call _Z14XModelNumBonesPK6XModel
	mov [esp], eax
	call _Z10Scr_AddInti
	leave
	ret


;GScr_GetPartName()
_Z16GScr_GetPartNamev:
	push ebp
	mov ebp, esp
	push esi
	push ebx
	sub esp, 0x10
	mov dword [esp], 0x0
	call _Z13Scr_GetStringj
	mov [esp], eax
	call _Z12SV_XModelGetPKc
	mov esi, eax
	mov dword [esp], 0x1
	call _Z10Scr_GetIntj
	mov ebx, eax
	mov [esp], esi
	call _Z14XModelNumBonesPK6XModel
	cmp ebx, eax
	jae _Z16GScr_GetPartNamev_10
_Z16GScr_GetPartNamev_30:
	mov [esp], esi
	call _Z15XModelBoneNamesP6XModel
	movzx ebx, word [eax+ebx*2]
	test bx, bx
	jnz _Z16GScr_GetPartNamev_20
	mov dword [esp+0x4], _cstring_bad_model
	mov dword [esp], 0x0
	call _Z14Scr_ParamErrorjPKc
_Z16GScr_GetPartNamev_20:
	movzx eax, bx
	mov [esp], eax
	call _Z18Scr_AddConstStringj
	add esp, 0x10
	pop ebx
	pop esi
	pop ebp
	ret
_Z16GScr_GetPartNamev_10:
	sub eax, 0x1
	mov [esp+0x4], eax
	mov dword [esp], _cstring_index_out_of_ran
	call _Z2vaPKcz
	mov [esp+0x4], eax
	mov dword [esp], 0x1
	call _Z14Scr_ParamErrorjPKc
	jmp _Z16GScr_GetPartNamev_30


;GScr_LoadScripts()
_Z16GScr_LoadScriptsv:
	push ebp
	mov ebp, esp
	push ebx
	sub esp, 0x54
	call _Z20Scr_BeginLoadScriptsv
	mov ecx, 0x1
	mov edx, _cstring_main
	mov eax, _cstring_codescriptsdelet
	call _Z23GScr_LoadScriptAndLabelPKcS0_i
	mov [g_scr_data+0x10b0], eax
	mov ecx, 0x1
	mov edx, _cstring_initstructs
	mov eax, _cstring_codescriptsstruc
	call _Z23GScr_LoadScriptAndLabelPKcS0_i
	mov [g_scr_data+0x10b4], eax
	mov ecx, 0x1
	mov edx, _cstring_createstruct
	mov eax, _cstring_codescriptsstruc
	call _Z23GScr_LoadScriptAndLabelPKcS0_i
	mov [g_scr_data+0x10b8], eax
	call _Z23GScr_LoadGameTypeScriptv
	mov dword [esp+0xc], _cstring_the_current_map_
	mov dword [esp+0x8], 0x44
	mov dword [esp+0x4], _cstring_null
	mov dword [esp], _cstring_mapname
	call _Z19Dvar_RegisterStringPKcS0_tS0_
	mov eax, [eax+0xc]
	mov [esp+0xc], eax
	mov dword [esp+0x8], _cstring_mapsmps
	mov dword [esp+0x4], 0x40
	lea ebx, [ebp-0x48]
	mov [esp], ebx
	call _Z11Com_sprintfPciPKcz
	xor ecx, ecx
	mov edx, _cstring_main
	mov eax, ebx
	call _Z23GScr_LoadScriptAndLabelPKcS0_i
	mov [g_scr_data], eax
	call _Z22Scr_PostCompileScriptsv
	xor ebx, ebx
_Z16GScr_LoadScriptsv_10:
	mov [esp], ebx
	call _Z15Scr_SetClassMapj
	add ebx, 0x1
	cmp ebx, 0x4
	jnz _Z16GScr_LoadScriptsv_10
	call _Z23GScr_AddFieldsForEntityv
	call _Z25GScr_AddFieldsForHudElemsv
	call _Z24GScr_AddFieldsForRadiantv
	call _Z18Scr_EndLoadScriptsv
	add esp, 0x54
	pop ebx
	pop ebp
	ret


;G_InitObjectives()
_Z16G_InitObjectivesv:
	push ebp
	mov ebp, esp
	push ebx
	mov edx, level
	add edx, 0x24
	mov ecx, edx
	mov ebx, level
	add ebx, 0x1e4
_Z16G_InitObjectivesv_10:
	mov dword [edx], 0x0
	lea eax, [ecx+0x4]
	mov dword [ecx+0x4], 0x0
	mov dword [eax+0x4], 0x0
	mov dword [eax+0x8], 0x0
	mov dword [edx+0x10], 0x3ff
	mov dword [edx+0x14], 0x0
	mov dword [edx+0x18], 0x0
	add edx, 0x1c
	add ecx, 0x1c
	cmp edx, ebx
	jnz _Z16G_InitObjectivesv_10
	pop ebx
	pop ebp
	ret
	nop


;Scr_LoadGameType()
_Z16Scr_LoadGameTypev:
	push ebp
	mov ebp, esp
	sub esp, 0x18
	mov dword [esp+0x4], 0x0
	mov eax, [g_scr_data+0x8]
	mov [esp], eax
	call _Z14Scr_ExecThreadij
	movzx eax, ax
	mov [esp], eax
	call _Z14Scr_FreeThreadt
	leave
	ret


;Scr_PlayerDamage(gentity_s*, gentity_s*, gentity_s*, int, int, int, int, float const*, float const*, hitLocation_t, int)
_Z16Scr_PlayerDamageP9gentity_sS0_S0_iiiiPKfS2_13hitLocation_ti:
	push ebp
	mov ebp, esp
	push edi
	push esi
	push ebx
	sub esp, 0x3c
	mov eax, [ebp+0x8]
	mov [ebp-0x1c], eax
	mov edx, [ebp+0xc]
	mov [ebp-0x20], edx
	mov eax, [ebp+0x10]
	mov [ebp-0x24], eax
	mov edx, [ebp+0x14]
	mov [ebp-0x28], edx
	mov eax, [ebp+0x18]
	mov [ebp-0x2c], eax
	mov edx, [ebp+0x1c]
	mov [ebp-0x30], edx
	mov eax, [ebp+0x20]
	mov [ebp-0x34], eax
	mov edi, [ebp+0x24]
	mov esi, [ebp+0x28]
	mov ebx, [ebp+0x2c]
	mov eax, [ebp+0x30]
	mov [esp], eax
	call _Z10Scr_AddInti
	mov [esp], ebx
	call _Z22G_GetHitLocationString13hitLocation_t
	movzx eax, ax
	mov [esp], eax
	call _Z18Scr_AddConstStringj
	test esi, esi
	jz _Z16Scr_PlayerDamageP9gentity_sS0_S0_iiiiPKfS2_13hitLocation_ti_10
	mov [esp], esi
	call _Z13Scr_AddVectorPKf
	test edi, edi
	jz _Z16Scr_PlayerDamageP9gentity_sS0_S0_iiiiPKfS2_13hitLocation_ti_20
_Z16Scr_PlayerDamageP9gentity_sS0_S0_iiiiPKfS2_13hitLocation_ti_90:
	mov [esp], edi
	call _Z13Scr_AddVectorPKf
_Z16Scr_PlayerDamageP9gentity_sS0_S0_iiiiPKfS2_13hitLocation_ti_100:
	mov edx, [ebp-0x34]
	mov [esp], edx
	call _Z15BG_GetWeaponDefj
	mov eax, [eax]
	mov [esp], eax
	call _Z13Scr_AddStringPKc
	cmp dword [ebp-0x30], 0xf
	jbe _Z16Scr_PlayerDamageP9gentity_sS0_S0_iiiiPKfS2_13hitLocation_ti_30
	mov dword [esp], _cstring_badmod
	call _Z13Scr_AddStringPKc
	mov eax, [ebp-0x2c]
	mov [esp], eax
	call _Z10Scr_AddInti
	mov edx, [ebp-0x28]
	mov [esp], edx
	call _Z10Scr_AddInti
	mov eax, [ebp-0x24]
	test eax, eax
	jz _Z16Scr_PlayerDamageP9gentity_sS0_S0_iiiiPKfS2_13hitLocation_ti_40
_Z16Scr_PlayerDamageP9gentity_sS0_S0_iiiiPKfS2_13hitLocation_ti_60:
	mov eax, [ebp-0x24]
	mov [esp], eax
	call _Z13Scr_AddEntityP9gentity_s
	mov eax, [ebp-0x20]
	test eax, eax
	jz _Z16Scr_PlayerDamageP9gentity_sS0_S0_iiiiPKfS2_13hitLocation_ti_50
_Z16Scr_PlayerDamageP9gentity_sS0_S0_iiiiPKfS2_13hitLocation_ti_70:
	mov edx, [ebp-0x20]
	mov [esp], edx
	call _Z13Scr_AddEntityP9gentity_s
_Z16Scr_PlayerDamageP9gentity_sS0_S0_iiiiPKfS2_13hitLocation_ti_80:
	mov dword [esp+0x8], 0xa
	mov eax, [g_scr_data+0x18]
	mov [esp+0x4], eax
	mov eax, [ebp-0x1c]
	mov [esp], eax
	call _Z17Scr_ExecEntThreadP9gentity_sij
	movzx eax, ax
	mov [ebp+0x8], eax
	add esp, 0x3c
	pop ebx
	pop esi
	pop edi
	pop ebp
	jmp _Z14Scr_FreeThreadt
_Z16Scr_PlayerDamageP9gentity_sS0_S0_iiiiPKfS2_13hitLocation_ti_30:
	mov eax, modNames
	mov edx, [ebp-0x30]
	mov eax, [eax+edx*4]
	movzx eax, word [eax]
	mov [esp], eax
	call _Z18Scr_AddConstStringj
	mov eax, [ebp-0x2c]
	mov [esp], eax
	call _Z10Scr_AddInti
	mov edx, [ebp-0x28]
	mov [esp], edx
	call _Z10Scr_AddInti
	mov eax, [ebp-0x24]
	test eax, eax
	jnz _Z16Scr_PlayerDamageP9gentity_sS0_S0_iiiiPKfS2_13hitLocation_ti_60
_Z16Scr_PlayerDamageP9gentity_sS0_S0_iiiiPKfS2_13hitLocation_ti_40:
	call _Z16Scr_AddUndefinedv
	mov eax, [ebp-0x20]
	test eax, eax
	jnz _Z16Scr_PlayerDamageP9gentity_sS0_S0_iiiiPKfS2_13hitLocation_ti_70
_Z16Scr_PlayerDamageP9gentity_sS0_S0_iiiiPKfS2_13hitLocation_ti_50:
	call _Z16Scr_AddUndefinedv
	jmp _Z16Scr_PlayerDamageP9gentity_sS0_S0_iiiiPKfS2_13hitLocation_ti_80
_Z16Scr_PlayerDamageP9gentity_sS0_S0_iiiiPKfS2_13hitLocation_ti_10:
	call _Z16Scr_AddUndefinedv
	test edi, edi
	jnz _Z16Scr_PlayerDamageP9gentity_sS0_S0_iiiiPKfS2_13hitLocation_ti_90
_Z16Scr_PlayerDamageP9gentity_sS0_S0_iiiiPKfS2_13hitLocation_ti_20:
	call _Z16Scr_AddUndefinedv
	jmp _Z16Scr_PlayerDamageP9gentity_sS0_S0_iiiiPKfS2_13hitLocation_ti_100


;Scr_PlayerKilled(gentity_s*, gentity_s*, gentity_s*, int, int, int, float const*, hitLocation_t, int, int)
_Z16Scr_PlayerKilledP9gentity_sS0_S0_iiiPKf13hitLocation_tii:
	push ebp
	mov ebp, esp
	push edi
	push esi
	push ebx
	sub esp, 0x3c
	mov eax, [ebp+0x8]
	mov [ebp-0x1c], eax
	mov edx, [ebp+0xc]
	mov [ebp-0x20], edx
	mov eax, [ebp+0x10]
	mov [ebp-0x24], eax
	mov edx, [ebp+0x14]
	mov [ebp-0x28], edx
	mov eax, [ebp+0x18]
	mov [ebp-0x2c], eax
	mov edx, [ebp+0x1c]
	mov [ebp-0x30], edx
	mov edi, [ebp+0x20]
	mov esi, [ebp+0x24]
	mov ebx, [ebp+0x28]
	mov eax, [ebp+0x2c]
	mov [esp], eax
	call _Z10Scr_AddInti
	mov [esp], ebx
	call _Z10Scr_AddInti
	mov [esp], esi
	call _Z22G_GetHitLocationString13hitLocation_t
	movzx eax, ax
	mov [esp], eax
	call _Z18Scr_AddConstStringj
	test edi, edi
	jz _Z16Scr_PlayerKilledP9gentity_sS0_S0_iiiPKf13hitLocation_tii_10
	mov [esp], edi
	call _Z13Scr_AddVectorPKf
_Z16Scr_PlayerKilledP9gentity_sS0_S0_iiiPKf13hitLocation_tii_80:
	mov eax, [ebp-0x30]
	mov [esp], eax
	call _Z15BG_GetWeaponDefj
	mov eax, [eax]
	mov [esp], eax
	call _Z13Scr_AddStringPKc
	cmp dword [ebp-0x2c], 0xf
	jbe _Z16Scr_PlayerKilledP9gentity_sS0_S0_iiiPKf13hitLocation_tii_20
	mov dword [esp], _cstring_badmod
	call _Z13Scr_AddStringPKc
	mov eax, [ebp-0x28]
	mov [esp], eax
	call _Z10Scr_AddInti
	mov edx, [ebp-0x24]
	test edx, edx
	jz _Z16Scr_PlayerKilledP9gentity_sS0_S0_iiiPKf13hitLocation_tii_30
_Z16Scr_PlayerKilledP9gentity_sS0_S0_iiiPKf13hitLocation_tii_50:
	mov edx, [ebp-0x24]
	mov [esp], edx
	call _Z13Scr_AddEntityP9gentity_s
	mov eax, [ebp-0x20]
	test eax, eax
	jz _Z16Scr_PlayerKilledP9gentity_sS0_S0_iiiPKf13hitLocation_tii_40
_Z16Scr_PlayerKilledP9gentity_sS0_S0_iiiPKf13hitLocation_tii_60:
	mov eax, [ebp-0x20]
	mov [esp], eax
	call _Z13Scr_AddEntityP9gentity_s
_Z16Scr_PlayerKilledP9gentity_sS0_S0_iiiPKf13hitLocation_tii_70:
	mov dword [esp+0x8], 0x9
	mov eax, [g_scr_data+0x1c]
	mov [esp+0x4], eax
	mov edx, [ebp-0x1c]
	mov [esp], edx
	call _Z17Scr_ExecEntThreadP9gentity_sij
	movzx eax, ax
	mov [ebp+0x8], eax
	add esp, 0x3c
	pop ebx
	pop esi
	pop edi
	pop ebp
	jmp _Z14Scr_FreeThreadt
_Z16Scr_PlayerKilledP9gentity_sS0_S0_iiiPKf13hitLocation_tii_20:
	mov eax, modNames
	mov edx, [ebp-0x2c]
	mov eax, [eax+edx*4]
	movzx eax, word [eax]
	mov [esp], eax
	call _Z18Scr_AddConstStringj
	mov eax, [ebp-0x28]
	mov [esp], eax
	call _Z10Scr_AddInti
	mov edx, [ebp-0x24]
	test edx, edx
	jnz _Z16Scr_PlayerKilledP9gentity_sS0_S0_iiiPKf13hitLocation_tii_50
_Z16Scr_PlayerKilledP9gentity_sS0_S0_iiiPKf13hitLocation_tii_30:
	call _Z16Scr_AddUndefinedv
	mov eax, [ebp-0x20]
	test eax, eax
	jnz _Z16Scr_PlayerKilledP9gentity_sS0_S0_iiiPKf13hitLocation_tii_60
_Z16Scr_PlayerKilledP9gentity_sS0_S0_iiiPKf13hitLocation_tii_40:
	call _Z16Scr_AddUndefinedv
	jmp _Z16Scr_PlayerKilledP9gentity_sS0_S0_iiiPKf13hitLocation_tii_70
_Z16Scr_PlayerKilledP9gentity_sS0_S0_iiiPKf13hitLocation_tii_10:
	call _Z16Scr_AddUndefinedv
	jmp _Z16Scr_PlayerKilledP9gentity_sS0_S0_iiiPKf13hitLocation_tii_80
	nop


;GScr_GetTagAngles(scr_entref_t)
_Z17GScr_GetTagAngles12scr_entref_t:
	push ebp
	mov ebp, esp
	push ebx
	sub esp, 0x24
	mov eax, [ebp+0x8]
	mov edx, eax
	shr eax, 0x10
	test ax, ax
	jnz _Z17GScr_GetTagAngles12scr_entref_t_10
	movzx eax, dx
	lea edx, [eax+eax*8]
	lea edx, [eax+edx*2]
	mov ecx, edx
	shl ecx, 0x5
	add edx, ecx
	lea ebx, [edx+eax]
	add ebx, g_entities
_Z17GScr_GetTagAngles12scr_entref_t_20:
	mov dword [esp], 0x0
	call _Z27Scr_GetConstLowercaseStringj
	mov ecx, level
	add ecx, 0x2e10
	mov dword [esp], 0x1
	mov edx, eax
	mov eax, ebx
	call _Z22GScr_UpdateTagInternalP9gentity_sjP16cached_tag_mat_ti
	lea ebx, [ebp-0x14]
	mov [esp+0x4], ebx
	mov eax, level
	add eax, 0x2e1c
	mov [esp], eax
	call _Z12AxisToAnglesPA3_KfPf
	mov [esp], ebx
	call _Z13Scr_AddVectorPKf
	add esp, 0x24
	pop ebx
	pop ebp
	ret
_Z17GScr_GetTagAngles12scr_entref_t_10:
	mov dword [esp], _cstring_not_an_entity
	call _Z15Scr_ObjectErrorPKc
	xor ebx, ebx
	jmp _Z17GScr_GetTagAngles12scr_entref_t_20


;GScr_GetTagOrigin(scr_entref_t)
_Z17GScr_GetTagOrigin12scr_entref_t:
	push ebp
	mov ebp, esp
	push ebx
	sub esp, 0x14
	mov eax, [ebp+0x8]
	mov edx, eax
	shr eax, 0x10
	test ax, ax
	jnz _Z17GScr_GetTagOrigin12scr_entref_t_10
	movzx eax, dx
	lea edx, [eax+eax*8]
	lea edx, [eax+edx*2]
	mov ecx, edx
	shl ecx, 0x5
	add edx, ecx
	lea ebx, [edx+eax]
	add ebx, g_entities
_Z17GScr_GetTagOrigin12scr_entref_t_20:
	mov dword [esp], 0x0
	call _Z27Scr_GetConstLowercaseStringj
	mov ecx, level
	add ecx, 0x2e10
	mov dword [esp], 0x1
	mov edx, eax
	mov eax, ebx
	call _Z22GScr_UpdateTagInternalP9gentity_sjP16cached_tag_mat_ti
	mov eax, level
	add eax, 0x2e40
	mov [ebp+0x8], eax
	add esp, 0x14
	pop ebx
	pop ebp
	jmp _Z13Scr_AddVectorPKf
_Z17GScr_GetTagOrigin12scr_entref_t_10:
	mov dword [esp], _cstring_not_an_entity
	call _Z15Scr_ObjectErrorPKc
	xor ebx, ebx
	jmp _Z17GScr_GetTagOrigin12scr_entref_t_20


;GScr_StartRagdoll(scr_entref_t)
_Z17GScr_StartRagdoll12scr_entref_t:
	push ebp
	mov ebp, esp
	push ebx
	sub esp, 0x14
	mov eax, [ebp+0x8]
	mov edx, eax
	shr eax, 0x10
	test ax, ax
	jnz _Z17GScr_StartRagdoll12scr_entref_t_10
	movzx eax, dx
	lea edx, [eax+eax*8]
	lea edx, [eax+edx*2]
	mov ecx, edx
	shl ecx, 0x5
	add edx, ecx
	lea ebx, [edx+eax]
	add ebx, g_entities
	call _Z15Scr_GetNumParamv
	test eax, eax
	jnz _Z17GScr_StartRagdoll12scr_entref_t_20
_Z17GScr_StartRagdoll12scr_entref_t_70:
	mov eax, [ebx+0xc]
	cmp eax, 0x1
	jz _Z17GScr_StartRagdoll12scr_entref_t_30
_Z17GScr_StartRagdoll12scr_entref_t_80:
	cmp eax, 0x5
	jz _Z17GScr_StartRagdoll12scr_entref_t_40
	mov dword [ebx+0xc], 0x9
_Z17GScr_StartRagdoll12scr_entref_t_100:
	mov eax, [ebx+0x30]
	cmp eax, 0x1
	jz _Z17GScr_StartRagdoll12scr_entref_t_50
_Z17GScr_StartRagdoll12scr_entref_t_90:
	cmp eax, 0x5
	jz _Z17GScr_StartRagdoll12scr_entref_t_60
	mov dword [ebx+0x30], 0x9
	add esp, 0x14
	pop ebx
	pop ebp
	ret
_Z17GScr_StartRagdoll12scr_entref_t_10:
	mov dword [esp], _cstring_not_an_entity
	call _Z15Scr_ObjectErrorPKc
	xor ebx, ebx
	call _Z15Scr_GetNumParamv
	test eax, eax
	jz _Z17GScr_StartRagdoll12scr_entref_t_70
_Z17GScr_StartRagdoll12scr_entref_t_20:
	mov dword [esp], 0x0
	call _Z10Scr_GetIntj
	mov eax, [ebx+0xc]
	cmp eax, 0x1
	jnz _Z17GScr_StartRagdoll12scr_entref_t_80
_Z17GScr_StartRagdoll12scr_entref_t_30:
	mov dword [ebx+0xc], 0xb
	mov eax, [ebx+0x30]
	cmp eax, 0x1
	jnz _Z17GScr_StartRagdoll12scr_entref_t_90
_Z17GScr_StartRagdoll12scr_entref_t_50:
	mov dword [ebx+0x30], 0xb
	add esp, 0x14
	pop ebx
	pop ebp
	ret
_Z17GScr_StartRagdoll12scr_entref_t_60:
	mov dword [ebx+0x30], 0xa
	add esp, 0x14
	pop ebx
	pop ebp
	ret
_Z17GScr_StartRagdoll12scr_entref_t_40:
	mov dword [ebx+0xc], 0xa
	jmp _Z17GScr_StartRagdoll12scr_entref_t_100
	nop


;Scr_PlayerConnect(gentity_s*)
_Z17Scr_PlayerConnectP9gentity_s:
	push ebp
	mov ebp, esp
	sub esp, 0x18
	mov dword [esp+0x8], 0x0
	mov eax, [g_scr_data+0x10]
	mov [esp+0x4], eax
	mov eax, [ebp+0x8]
	mov [esp], eax
	call _Z17Scr_ExecEntThreadP9gentity_sij
	movzx eax, ax
	mov [ebp+0x8], eax
	leave
	jmp _Z14Scr_FreeThreadt


;GScr_GetCorpseAnim(scr_entref_t)
_Z18GScr_GetCorpseAnim12scr_entref_t:
	push ebp
	mov ebp, esp
	push esi
	push ebx
	sub esp, 0x10
	xor esi, esi
	mov eax, [ebp+0x8]
	mov edx, eax
	shr eax, 0x10
	test ax, ax
	jnz _Z18GScr_GetCorpseAnim12scr_entref_t_10
	movzx eax, dx
	lea edx, [eax+eax*8]
	lea edx, [eax+edx*2]
	mov ecx, edx
	shl ecx, 0x5
	add edx, ecx
	lea ebx, [edx+eax]
	add ebx, g_entities
	cmp dword [ebx+0x4], 0x2
	jz _Z18GScr_GetCorpseAnim12scr_entref_t_20
_Z18GScr_GetCorpseAnim12scr_entref_t_30:
	mov dword [esp], _cstring_only_valid_on_pl1
	call _Z2vaPKcz
	mov [ebp+0x8], eax
	add esp, 0x10
	pop ebx
	pop esi
	pop ebp
	jmp _Z9Scr_ErrorPKc
_Z18GScr_GetCorpseAnim12scr_entref_t_10:
	mov dword [esp], _cstring_not_an_entity
	call _Z15Scr_ObjectErrorPKc
	xor ebx, ebx
	cmp dword [ebx+0x4], 0x2
	jnz _Z18GScr_GetCorpseAnim12scr_entref_t_30
_Z18GScr_GetCorpseAnim12scr_entref_t_20:
	mov [esp], ebx
	call _Z22G_GetPlayerCorpseIndexP9gentity_s
	movzx edx, word [ebx+0xcc]
	and dh, 0xfd
	mov si, dx
	lea ecx, [eax+eax*4]
	mov edx, ecx
	shl edx, 0x5
	sub edx, ecx
	lea edx, [eax+edx*2]
	mov eax, [edx*4+g_scr_data+0x10bc]
	mov [esp], eax
	call _Z13XAnimGetAnimsPK11XAnimTree_s
	mov [esp], eax
	call _Z17Scr_GetAnimsIndexPK7XAnim_s
	shl eax, 0x10
	and esi, 0xffff
	or esi, eax
	mov [ebp+0x8], esi
	add esp, 0x10
	pop ebx
	pop esi
	pop ebp
	jmp _Z11Scr_AddAnim10scr_anim_s


;GScr_GetLocSelIndex(char const*)
_Z19GScr_GetLocSelIndexPKc:
	push ebp
	mov ebp, esp
	push edi
	push esi
	push ebx
	sub esp, 0x41c
	mov esi, [ebp+0x8]
	cmp byte [esi], 0x0
	jnz _Z19GScr_GetLocSelIndexPKc_10
_Z19GScr_GetLocSelIndexPKc_40:
	xor eax, eax
_Z19GScr_GetLocSelIndexPKc_50:
	add esp, 0x41c
	pop ebx
	pop esi
	pop edi
	pop ebp
	ret
_Z19GScr_GetLocSelIndexPKc_10:
	xor ebx, ebx
	lea edi, [ebp-0x418]
_Z19GScr_GetLocSelIndexPKc_30:
	mov dword [esp+0x8], 0x400
	mov [esp+0x4], edi
	lea eax, [ebx+0x33b]
	mov [esp], eax
	call _Z18SV_GetConfigstringiPci
	mov [esp+0x4], esi
	mov [esp], edi
	call _Z9I_stricmpPKcS0_
	test eax, eax
	jz _Z19GScr_GetLocSelIndexPKc_20
	add ebx, 0x1
	cmp ebx, 0x3
	jnz _Z19GScr_GetLocSelIndexPKc_30
	mov [esp+0x4], esi
	mov dword [esp], _cstring_location_selecto
	call _Z2vaPKcz
	mov [esp], eax
	call _Z9Scr_ErrorPKc
	jmp _Z19GScr_GetLocSelIndexPKc_40
_Z19GScr_GetLocSelIndexPKc_20:
	lea eax, [ebx+0x1]
	jmp _Z19GScr_GetLocSelIndexPKc_50


;ScrCmd_ShowToPlayer(scr_entref_t)
_Z19ScrCmd_ShowToPlayer12scr_entref_t:
	push ebp
	mov ebp, esp
	push ebx
	sub esp, 0x14
	mov eax, [ebp+0x8]
	mov edx, eax
	shr eax, 0x10
	test ax, ax
	jnz _Z19ScrCmd_ShowToPlayer12scr_entref_t_10
	movzx eax, dx
	lea edx, [eax+eax*8]
	lea edx, [eax+edx*2]
	mov ecx, edx
	shl ecx, 0x5
	add edx, ecx
	lea ebx, [edx+eax]
	add ebx, g_entities
	mov dword [esp], 0x0
	call _Z13Scr_GetEntityj
	cmp dword [eax], 0x3f
	jg _Z19ScrCmd_ShowToPlayer12scr_entref_t_20
_Z19ScrCmd_ShowToPlayer12scr_entref_t_30:
	and dword [ebx+0x8], 0xffffffdf
	mov ecx, [eax]
	mov edx, ecx
	sar edx, 0x5
	and ecx, 0x1f
	mov eax, 0xfffffffe
	rol eax, cl
	and [ebx+edx*4+0xf8], eax
	add esp, 0x14
	pop ebx
	pop ebp
	ret
_Z19ScrCmd_ShowToPlayer12scr_entref_t_10:
	mov dword [esp], _cstring_not_an_entity
	call _Z15Scr_ObjectErrorPKc
	xor ebx, ebx
	mov dword [esp], 0x0
	call _Z13Scr_GetEntityj
	cmp dword [eax], 0x3f
	jle _Z19ScrCmd_ShowToPlayer12scr_entref_t_30
_Z19ScrCmd_ShowToPlayer12scr_entref_t_20:
	mov dword [ebp+0x8], _cstring_showtoclient_err
	add esp, 0x14
	pop ebx
	pop ebp
	jmp _Z9Scr_ErrorPKc


;Scr_IsValidGameType(char const*)
_Z19Scr_IsValidGameTypePKc:
	push ebp
	mov ebp, esp
	push edi
	push esi
	push ebx
	sub esp, 0x1c
	mov eax, [g_scr_data+0x2c]
	test eax, eax
	jg _Z19Scr_IsValidGameTypePKc_10
_Z19Scr_IsValidGameTypePKc_40:
	xor eax, eax
_Z19Scr_IsValidGameTypePKc_50:
	test eax, eax
	setnz al
	movzx eax, al
	add esp, 0x1c
	pop ebx
	pop esi
	pop edi
	pop ebp
	ret
_Z19Scr_IsValidGameTypePKc_10:
	xor esi, esi
	mov edi, g_scr_data+0x70
	mov ebx, g_scr_data+0x30
_Z19Scr_IsValidGameTypePKc_30:
	mov eax, [ebp+0x8]
	mov [esp+0x4], eax
	mov [esp], ebx
	call _Z9I_stricmpPKcS0_
	test eax, eax
	jz _Z19Scr_IsValidGameTypePKc_20
	add esi, 0x1
	add ebx, 0x84
	add edi, 0x84
	cmp [g_scr_data+0x2c], esi
	jg _Z19Scr_IsValidGameTypePKc_30
	jmp _Z19Scr_IsValidGameTypePKc_40
_Z19Scr_IsValidGameTypePKc_20:
	mov eax, edi
	jmp _Z19Scr_IsValidGameTypePKc_50


;Scr_MakeGameMessage(int, char const*)
_Z19Scr_MakeGameMessageiPKc:
	push ebp
	mov ebp, esp
	push ebx
	sub esp, 0x424
	call _Z15Scr_GetNumParamv
	mov dword [esp+0x10], 0x400
	lea ebx, [ebp-0x408]
	mov [esp+0xc], ebx
	mov dword [esp+0x8], _cstring_game_message
	sub eax, 0x1
	mov [esp+0x4], eax
	mov dword [esp], 0x0
	call _Z26Scr_ConstructMessageStringiiPKcPcj
	mov [esp+0x8], ebx
	mov eax, [ebp+0xc]
	mov [esp+0x4], eax
	mov dword [esp], _cstring_s_s
	call _Z2vaPKcz
	mov [esp+0x8], eax
	mov dword [esp+0x4], 0x0
	mov eax, [ebp+0x8]
	mov [esp], eax
	call _Z24SV_GameSendServerCommandi11svscmd_typePKc
	add esp, 0x424
	pop ebx
	pop ebp
	ret
	nop


;Scr_PlayerLastStand(gentity_s*, gentity_s*, gentity_s*, int, int, int, float const*, hitLocation_t, int)
_Z19Scr_PlayerLastStandP9gentity_sS0_S0_iiiPKf13hitLocation_ti:
	push ebp
	mov ebp, esp
	push edi
	push esi
	push ebx
	sub esp, 0x3c
	mov eax, [ebp+0x8]
	mov [ebp-0x1c], eax
	mov edx, [ebp+0xc]
	mov [ebp-0x20], edx
	mov eax, [ebp+0x10]
	mov [ebp-0x24], eax
	mov edx, [ebp+0x14]
	mov [ebp-0x28], edx
	mov eax, [ebp+0x18]
	mov [ebp-0x2c], eax
	mov edx, [ebp+0x1c]
	mov [ebp-0x30], edx
	mov edi, [ebp+0x20]
	mov esi, [ebp+0x24]
	mov ebx, [ebp+0x28]
	mov dword [esp], 0x0
	call _Z10Scr_AddInti
	mov [esp], ebx
	call _Z10Scr_AddInti
	mov [esp], esi
	call _Z22G_GetHitLocationString13hitLocation_t
	movzx eax, ax
	mov [esp], eax
	call _Z18Scr_AddConstStringj
	test edi, edi
	jz _Z19Scr_PlayerLastStandP9gentity_sS0_S0_iiiPKf13hitLocation_ti_10
	mov [esp], edi
	call _Z13Scr_AddVectorPKf
_Z19Scr_PlayerLastStandP9gentity_sS0_S0_iiiPKf13hitLocation_ti_80:
	mov eax, [ebp-0x30]
	mov [esp], eax
	call _Z15BG_GetWeaponDefj
	mov eax, [eax]
	mov [esp], eax
	call _Z13Scr_AddStringPKc
	cmp dword [ebp-0x2c], 0xf
	jbe _Z19Scr_PlayerLastStandP9gentity_sS0_S0_iiiPKf13hitLocation_ti_20
	mov dword [esp], _cstring_badmod
	call _Z13Scr_AddStringPKc
	mov eax, [ebp-0x28]
	mov [esp], eax
	call _Z10Scr_AddInti
	mov ebx, [ebp-0x24]
	test ebx, ebx
	jz _Z19Scr_PlayerLastStandP9gentity_sS0_S0_iiiPKf13hitLocation_ti_30
_Z19Scr_PlayerLastStandP9gentity_sS0_S0_iiiPKf13hitLocation_ti_50:
	mov edx, [ebp-0x24]
	mov [esp], edx
	call _Z13Scr_AddEntityP9gentity_s
	mov ecx, [ebp-0x20]
	test ecx, ecx
	jz _Z19Scr_PlayerLastStandP9gentity_sS0_S0_iiiPKf13hitLocation_ti_40
_Z19Scr_PlayerLastStandP9gentity_sS0_S0_iiiPKf13hitLocation_ti_60:
	mov eax, [ebp-0x20]
	mov [esp], eax
	call _Z13Scr_AddEntityP9gentity_s
_Z19Scr_PlayerLastStandP9gentity_sS0_S0_iiiPKf13hitLocation_ti_70:
	mov dword [esp+0x8], 0x9
	mov eax, [g_scr_data+0x28]
	mov [esp+0x4], eax
	mov edx, [ebp-0x1c]
	mov [esp], edx
	call _Z17Scr_ExecEntThreadP9gentity_sij
	movzx eax, ax
	mov [ebp+0x8], eax
	add esp, 0x3c
	pop ebx
	pop esi
	pop edi
	pop ebp
	jmp _Z14Scr_FreeThreadt
_Z19Scr_PlayerLastStandP9gentity_sS0_S0_iiiPKf13hitLocation_ti_20:
	mov eax, modNames
	mov edx, [ebp-0x2c]
	mov eax, [eax+edx*4]
	movzx eax, word [eax]
	mov [esp], eax
	call _Z18Scr_AddConstStringj
	mov eax, [ebp-0x28]
	mov [esp], eax
	call _Z10Scr_AddInti
	mov ebx, [ebp-0x24]
	test ebx, ebx
	jnz _Z19Scr_PlayerLastStandP9gentity_sS0_S0_iiiPKf13hitLocation_ti_50
_Z19Scr_PlayerLastStandP9gentity_sS0_S0_iiiPKf13hitLocation_ti_30:
	call _Z16Scr_AddUndefinedv
	mov ecx, [ebp-0x20]
	test ecx, ecx
	jnz _Z19Scr_PlayerLastStandP9gentity_sS0_S0_iiiPKf13hitLocation_ti_60
_Z19Scr_PlayerLastStandP9gentity_sS0_S0_iiiPKf13hitLocation_ti_40:
	call _Z16Scr_AddUndefinedv
	jmp _Z19Scr_PlayerLastStandP9gentity_sS0_S0_iiiPKf13hitLocation_ti_70
_Z19Scr_PlayerLastStandP9gentity_sS0_S0_iiiPKf13hitLocation_ti_10:
	call _Z16Scr_AddUndefinedv
	jmp _Z19Scr_PlayerLastStandP9gentity_sS0_S0_iiiPKf13hitLocation_ti_80


;Scr_StartupGameType()
_Z19Scr_StartupGameTypev:
	push ebp
	mov ebp, esp
	sub esp, 0x18
	mov dword [esp+0x4], 0x0
	mov eax, [g_scr_data+0xc]
	mov [esp], eax
	call _Z14Scr_ExecThreadij
	movzx eax, ax
	mov [esp], eax
	call _Z14Scr_FreeThreadt
	leave
	ret


;GScr_EnableAimAssist(scr_entref_t)
_Z20GScr_EnableAimAssist12scr_entref_t:
	push ebp
	mov ebp, esp
	push ebx
	sub esp, 0x14
	mov eax, [ebp+0x8]
	mov edx, eax
	shr eax, 0x10
	test ax, ax
	jnz _Z20GScr_EnableAimAssist12scr_entref_t_10
	movzx eax, dx
	lea edx, [eax+eax*8]
	lea edx, [eax+edx*2]
	mov ecx, edx
	shl ecx, 0x5
	add edx, ecx
	lea ebx, [edx+eax]
	add ebx, g_entities
_Z20GScr_EnableAimAssist12scr_entref_t_30:
	cmp byte [ebx+0xf5], 0x0
	jnz _Z20GScr_EnableAimAssist12scr_entref_t_20
	mov dword [esp], _cstring_currently_only_s
	call _Z9Scr_ErrorPKc
_Z20GScr_EnableAimAssist12scr_entref_t_20:
	or dword [ebx+0x8], 0x800
	add esp, 0x14
	pop ebx
	pop ebp
	ret
_Z20GScr_EnableAimAssist12scr_entref_t_10:
	mov dword [esp], _cstring_not_an_entity
	call _Z15Scr_ObjectErrorPKc
	xor ebx, ebx
	jmp _Z20GScr_EnableAimAssist12scr_entref_t_30
	nop


;G_GetHintStringIndex(int*, char const*)
_Z20G_GetHintStringIndexPiPKc:
	push ebp
	mov ebp, esp
	push edi
	push esi
	push ebx
	sub esp, 0x41c
	xor esi, esi
	lea edi, [ebp-0x418]
	jmp _Z20G_GetHintStringIndexPiPKc_10
_Z20G_GetHintStringIndexPiPKc_40:
	mov [esp+0x4], edi
	mov eax, [ebp+0xc]
	mov [esp], eax
	call strcmp
	test eax, eax
	jz _Z20G_GetHintStringIndexPiPKc_20
	add esi, 0x1
	cmp esi, 0x20
	jz _Z20G_GetHintStringIndexPiPKc_30
_Z20G_GetHintStringIndexPiPKc_10:
	lea ebx, [esi+0x115]
	mov dword [esp+0x8], 0x400
	mov [esp+0x4], edi
	mov [esp], ebx
	call _Z18SV_GetConfigstringiPci
	cmp byte [ebp-0x418], 0x0
	jnz _Z20G_GetHintStringIndexPiPKc_40
	mov eax, [ebp+0xc]
	mov [esp+0x4], eax
	mov [esp], ebx
	call _Z18SV_SetConfigstringiPKc
	mov eax, [ebp+0x8]
	mov [eax], esi
	mov eax, 0x1
	add esp, 0x41c
	pop ebx
	pop esi
	pop edi
	pop ebp
	ret
_Z20G_GetHintStringIndexPiPKc_20:
	mov eax, [ebp+0x8]
	mov [eax], esi
	mov eax, 0x1
	add esp, 0x41c
	pop ebx
	pop esi
	pop edi
	pop ebp
	ret
_Z20G_GetHintStringIndexPiPKc_30:
	mov eax, [ebp+0x8]
	mov dword [eax], 0xffffffff
	xor eax, eax
	add esp, 0x41c
	pop ebx
	pop esi
	pop edi
	pop ebp
	ret
	nop
	add [eax], al


;Scr_PlayerDisconnect(gentity_s*)
_Z20Scr_PlayerDisconnectP9gentity_s:
	push ebp
	mov ebp, esp
	sub esp, 0x18
	mov dword [esp+0x8], 0x0
	mov eax, [g_scr_data+0x14]
	mov [esp+0x4], eax
	mov eax, [ebp+0x8]
	mov [esp], eax
	call _Z17Scr_ExecEntThreadP9gentity_sij
	movzx eax, ax
	mov [ebp+0x8], eax
	leave
	jmp _Z14Scr_FreeThreadt


;Scr_SightTracePassed()
_Z20Scr_SightTracePassedv:
	push ebp
	mov ebp, esp
	push edi
	push esi
	push ebx
	sub esp, 0x4c
	lea edi, [ebp-0x28]
	mov [esp+0x4], edi
	mov dword [esp], 0x0
	call _Z13Scr_GetVectorjPf
	lea esi, [ebp-0x34]
	mov [esp+0x4], esi
	mov dword [esp], 0x1
	call _Z13Scr_GetVectorjPf
	mov dword [esp], 0x2
	call _Z10Scr_GetIntj
	cmp eax, 0x1
	sbb ebx, ebx
	and ebx, 0xfe000000
	add ebx, 0x2801803
	mov dword [esp], 0x3
	call _Z11Scr_GetTypej
	sub eax, 0x1
	jz _Z20Scr_SightTracePassedv_10
_Z20Scr_SightTracePassedv_20:
	mov eax, 0x3ff
_Z20Scr_SightTracePassedv_30:
	mov [esp+0x10], ebx
	mov [esp+0xc], eax
	mov [esp+0x8], esi
	mov [esp+0x4], edi
	lea eax, [ebp-0x1c]
	mov [esp], eax
	call _Z12G_SightTracePiPKfS1_ii
	xor eax, eax
	cmp dword [ebp-0x1c], 0x0
	setz al
	mov [esp], eax
	call _Z11Scr_AddBooli
	add esp, 0x4c
	pop ebx
	pop esi
	pop edi
	pop ebp
	ret
_Z20Scr_SightTracePassedv_10:
	mov dword [esp], 0x3
	call _Z18Scr_GetPointerTypej
	cmp eax, 0x14
	jnz _Z20Scr_SightTracePassedv_20
	mov dword [esp], 0x3
	call _Z13Scr_GetEntityj
	mov eax, [eax]
	jmp _Z20Scr_SightTracePassedv_30
	nop


;GScr_DisableAimAssist(scr_entref_t)
_Z21GScr_DisableAimAssist12scr_entref_t:
	push ebp
	mov ebp, esp
	push ebx
	sub esp, 0x14
	mov eax, [ebp+0x8]
	mov edx, eax
	shr eax, 0x10
	test ax, ax
	jnz _Z21GScr_DisableAimAssist12scr_entref_t_10
	movzx eax, dx
	lea edx, [eax+eax*8]
	lea edx, [eax+edx*2]
	mov ecx, edx
	shl ecx, 0x5
	add edx, ecx
	lea ebx, [edx+eax]
	add ebx, g_entities
_Z21GScr_DisableAimAssist12scr_entref_t_30:
	cmp byte [ebx+0xf5], 0x0
	jnz _Z21GScr_DisableAimAssist12scr_entref_t_20
	mov dword [esp], _cstring_currently_only_s
	call _Z9Scr_ErrorPKc
_Z21GScr_DisableAimAssist12scr_entref_t_20:
	and dword [ebx+0x8], 0xfffff7ff
	add esp, 0x14
	pop ebx
	pop ebp
	ret
_Z21GScr_DisableAimAssist12scr_entref_t_10:
	mov dword [esp], _cstring_not_an_entity
	call _Z15Scr_ObjectErrorPKc
	xor ebx, ebx
	jmp _Z21GScr_DisableAimAssist12scr_entref_t_30
	nop


;GScr_GetHeadIconIndex(char const*)
_Z21GScr_GetHeadIconIndexPKc:
	push ebp
	mov ebp, esp
	push edi
	push esi
	push ebx
	sub esp, 0x41c
	mov esi, [ebp+0x8]
	cmp byte [esi], 0x0
	jnz _Z21GScr_GetHeadIconIndexPKc_10
_Z21GScr_GetHeadIconIndexPKc_40:
	xor eax, eax
	add esp, 0x41c
	pop ebx
	pop esi
	pop edi
	pop ebp
	ret
_Z21GScr_GetHeadIconIndexPKc_10:
	xor ebx, ebx
	lea edi, [ebp-0x418]
_Z21GScr_GetHeadIconIndexPKc_30:
	mov dword [esp+0x8], 0x400
	mov [esp+0x4], edi
	lea eax, [ebx+0x8db]
	mov [esp], eax
	call _Z18SV_GetConfigstringiPci
	mov [esp+0x4], esi
	mov [esp], edi
	call _Z9I_stricmpPKcS0_
	test eax, eax
	jz _Z21GScr_GetHeadIconIndexPKc_20
	add ebx, 0x1
	cmp ebx, 0xf
	jnz _Z21GScr_GetHeadIconIndexPKc_30
	mov [esp+0x4], esi
	mov dword [esp], _cstring_head_icon_s_was_
	call _Z2vaPKcz
	mov [esp], eax
	call _Z9Scr_ErrorPKc
	jmp _Z21GScr_GetHeadIconIndexPKc_40
_Z21GScr_GetHeadIconIndexPKc_20:
	lea eax, [ebx+0x1]
	add esp, 0x41c
	pop ebx
	pop esi
	pop edi
	pop ebp
	ret
	nop


;GScr_MissileSetTarget(scr_entref_t)
_Z21GScr_MissileSetTarget12scr_entref_t:
	push ebp
	mov ebp, esp
	push esi
	push ebx
	sub esp, 0x10
	mov eax, [ebp+0x8]
	mov edx, eax
	shr eax, 0x10
	test ax, ax
	jnz _Z21GScr_MissileSetTarget12scr_entref_t_10
	movzx eax, dx
	lea edx, [eax+eax*8]
	lea edx, [eax+edx*2]
	mov ecx, edx
	shl ecx, 0x5
	add edx, ecx
	lea ebx, [edx+eax]
	add ebx, g_entities
_Z21GScr_MissileSetTarget12scr_entref_t_60:
	mov dword [esp], 0x0
	call _Z11Scr_GetTypej
	test eax, eax
	jnz _Z21GScr_MissileSetTarget12scr_entref_t_20
	xor esi, esi
_Z21GScr_MissileSetTarget12scr_entref_t_50:
	movzx edx, word [ebx+0x170]
	mov eax, scr_const
	cmp dx, [eax+0x6a]
	jz _Z21GScr_MissileSetTarget12scr_entref_t_30
	mov eax, [ebx]
	mov [esp+0x4], eax
	mov dword [esp], _cstring_entity_i_is_not_1
	call _Z2vaPKcz
	mov [esp], eax
	call _Z9Scr_ErrorPKc
_Z21GScr_MissileSetTarget12scr_entref_t_30:
	mov [esp+0x4], esi
	lea eax, [ebx+0x214]
	mov [esp], eax
	call _ZN9EntHandle6setEntEP9gentity_s
	call _Z15Scr_GetNumParamv
	cmp eax, 0x1
	jbe _Z21GScr_MissileSetTarget12scr_entref_t_40
	lea eax, [ebx+0x1dc]
	mov [esp+0x4], eax
	mov dword [esp], 0x1
	call _Z13Scr_GetVectorjPf
	add esp, 0x10
	pop ebx
	pop esi
	pop ebp
	ret
_Z21GScr_MissileSetTarget12scr_entref_t_40:
	lea edx, [ebx+0x1dc]
	xor eax, eax
	mov [ebx+0x1dc], eax
	mov [edx+0x4], eax
	mov [edx+0x8], eax
	add esp, 0x10
	pop ebx
	pop esi
	pop ebp
	ret
_Z21GScr_MissileSetTarget12scr_entref_t_20:
	mov dword [esp], 0x0
	call _Z13Scr_GetEntityj
	mov esi, eax
	jmp _Z21GScr_MissileSetTarget12scr_entref_t_50
_Z21GScr_MissileSetTarget12scr_entref_t_10:
	mov dword [esp], _cstring_not_an_entity
	call _Z15Scr_ObjectErrorPKc
	xor ebx, ebx
	jmp _Z21GScr_MissileSetTarget12scr_entref_t_60


;Scr_ParseGameTypeList()
_Z21Scr_ParseGameTypeListv:
	push ebp
	mov ebp, esp
	mov eax, useFastFile
	mov eax, [eax]
	mov ecx, _Z30Scr_ParseGameTypeList_FastFilev
	cmp byte [eax+0xc], 0x0
	mov eax, _Z29Scr_ParseGameTypeList_LoadObjv
	cmovz ecx, eax
	pop ebp
	jmp ecx


;Scr_VerifyWeaponIndex(int, char const*)
_Z21Scr_VerifyWeaponIndexiPKc:
	push ebp
	mov ebp, esp
	push ebx
	sub esp, 0x14
	mov ebx, [ebp+0xc]
	mov eax, [ebp+0x8]
	test eax, eax
	jz _Z21Scr_VerifyWeaponIndexiPKc_10
	add esp, 0x14
	pop ebx
	pop ebp
	ret
_Z21Scr_VerifyWeaponIndexiPKc_10:
	mov [esp+0x4], ebx
	mov dword [esp], _cstring_none
	call _Z9I_stricmpPKcS0_
	test eax, eax
	jnz _Z21Scr_VerifyWeaponIndexiPKc_20
	mov [esp+0x4], ebx
	mov dword [esp], _cstring_weapon_name_s_is
	call _Z2vaPKcz
	mov [ebp+0xc], eax
	mov dword [ebp+0x8], 0x0
	add esp, 0x14
	pop ebx
	pop ebp
	jmp _Z14Scr_ParamErrorjPKc
_Z21Scr_VerifyWeaponIndexiPKc_20:
	mov [esp+0x8], ebx
	mov [esp+0x4], ebx
	mov dword [esp], _cstring_unknown_weapon_n
	call _Z2vaPKcz
	mov [ebp+0xc], eax
	mov dword [ebp+0x8], 0x0
	add esp, 0x14
	pop ebx
	pop ebp
	jmp _Z14Scr_ParamErrorjPKc
	nop


;GScr_GetScriptMenuIndex(char const*)
_Z23GScr_GetScriptMenuIndexPKc:
	push ebp
	mov ebp, esp
	push edi
	push esi
	push ebx
	sub esp, 0x41c
	mov edi, [ebp+0x8]
	xor ebx, ebx
	lea esi, [ebp-0x418]
	jmp _Z23GScr_GetScriptMenuIndexPKc_10
_Z23GScr_GetScriptMenuIndexPKc_30:
	add ebx, 0x1
	cmp ebx, 0x20
	jz _Z23GScr_GetScriptMenuIndexPKc_20
_Z23GScr_GetScriptMenuIndexPKc_10:
	mov dword [esp+0x8], 0x400
	mov [esp+0x4], esi
	lea eax, [ebx+0x7b2]
	mov [esp], eax
	call _Z18SV_GetConfigstringiPci
	mov [esp+0x4], edi
	mov [esp], esi
	call _Z9I_stricmpPKcS0_
	test eax, eax
	jnz _Z23GScr_GetScriptMenuIndexPKc_30
	mov eax, ebx
	add esp, 0x41c
	pop ebx
	pop esi
	pop edi
	pop ebp
	ret
_Z23GScr_GetScriptMenuIndexPKc_20:
	mov [esp+0x4], edi
	mov dword [esp], _cstring_menu_s_was_not_p
	call _Z2vaPKcz
	mov [esp], eax
	call _Z9Scr_ErrorPKc
	and ebx, 0xffffff00
	mov eax, ebx
	add esp, 0x41c
	pop ebx
	pop esi
	pop edi
	pop ebp
	ret
	nop


;GScr_GetStatusIconIndex(char const*)
_Z23GScr_GetStatusIconIndexPKc:
	push ebp
	mov ebp, esp
	push edi
	push esi
	push ebx
	sub esp, 0x41c
	mov esi, [ebp+0x8]
	cmp byte [esi], 0x0
	jnz _Z23GScr_GetStatusIconIndexPKc_10
_Z23GScr_GetStatusIconIndexPKc_40:
	xor eax, eax
	add esp, 0x41c
	pop ebx
	pop esi
	pop edi
	pop ebp
	ret
_Z23GScr_GetStatusIconIndexPKc_10:
	xor ebx, ebx
	lea edi, [ebp-0x418]
_Z23GScr_GetStatusIconIndexPKc_30:
	mov dword [esp+0x8], 0x400
	mov [esp+0x4], edi
	lea eax, [ebx+0x8d3]
	mov [esp], eax
	call _Z18SV_GetConfigstringiPci
	mov [esp+0x4], esi
	mov [esp], edi
	call _Z9I_stricmpPKcS0_
	test eax, eax
	jz _Z23GScr_GetStatusIconIndexPKc_20
	add ebx, 0x1
	cmp ebx, 0x8
	jnz _Z23GScr_GetStatusIconIndexPKc_30
	mov [esp+0x4], esi
	mov dword [esp], _cstring_status_icon_s_wa
	call _Z2vaPKcz
	mov [esp], eax
	call _Z9Scr_ErrorPKc
	jmp _Z23GScr_GetStatusIconIndexPKc_40
_Z23GScr_GetStatusIconIndexPKc_20:
	lea eax, [ebx+0x1]
	add esp, 0x41c
	pop ebx
	pop esi
	pop edi
	pop ebp
	ret
	nop


;GScr_LoadGameTypeScript()
_Z23GScr_LoadGameTypeScriptv:
	push ebp
	mov ebp, esp
	push ebx
	sub esp, 0x54
	mov eax, g_gametype
	mov eax, [eax]
	mov eax, [eax+0xc]
	mov [esp+0xc], eax
	mov dword [esp+0x8], _cstring_mapsmpgametypess1
	mov dword [esp+0x4], 0x40
	lea ebx, [ebp-0x48]
	mov [esp], ebx
	call _Z11Com_sprintfPciPKcz
	mov ecx, 0x1
	mov edx, _cstring_main
	mov eax, ebx
	call _Z23GScr_LoadScriptAndLabelPKcS0_i
	mov [g_scr_data+0x8], eax
	mov ecx, 0x1
	mov edx, _cstring_codecallback_sta
	mov eax, _cstring_mapsmpgametypes_1
	call _Z23GScr_LoadScriptAndLabelPKcS0_i
	mov [g_scr_data+0xc], eax
	mov ecx, 0x1
	mov edx, _cstring_codecallback_pla
	mov eax, _cstring_mapsmpgametypes_1
	call _Z23GScr_LoadScriptAndLabelPKcS0_i
	mov [g_scr_data+0x10], eax
	mov ecx, 0x1
	mov edx, _cstring_codecallback_pla1
	mov eax, _cstring_mapsmpgametypes_1
	call _Z23GScr_LoadScriptAndLabelPKcS0_i
	mov [g_scr_data+0x14], eax
	mov ecx, 0x1
	mov edx, _cstring_codecallback_pla2
	mov eax, _cstring_mapsmpgametypes_1
	call _Z23GScr_LoadScriptAndLabelPKcS0_i
	mov [g_scr_data+0x18], eax
	mov ecx, 0x1
	mov edx, _cstring_codecallback_pla3
	mov eax, _cstring_mapsmpgametypes_1
	call _Z23GScr_LoadScriptAndLabelPKcS0_i
	mov [g_scr_data+0x1c], eax
	mov ecx, 0x1
	mov edx, _cstring_codecallback_pla4
	mov eax, _cstring_mapsmpgametypes_1
	call _Z23GScr_LoadScriptAndLabelPKcS0_i
	mov [g_scr_data+0x28], eax
	add esp, 0x54
	pop ebx
	pop ebp
	ret


;Scr_ConstructMessageString(int, int, char const*, char*, unsigned int)
_Z26Scr_ConstructMessageStringiiPKcPcj:
	push ebp
	mov ebp, esp
	push edi
	push esi
	push ebx
	sub esp, 0x2c
	mov eax, [ebp+0x8]
	cmp eax, [ebp+0xc]
	jle _Z26Scr_ConstructMessageStringiiPKcPcj_10
	xor eax, eax
	mov edx, [ebp+0x14]
	mov byte [edx+eax], 0x0
	add esp, 0x2c
	pop ebx
	pop esi
	pop edi
	pop ebp
	ret
_Z26Scr_ConstructMessageStringiiPKcPcj_10:
	mov [ebp-0x24], eax
	mov dword [ebp-0x20], 0x0
	mov [esp], eax
	call _Z11Scr_GetTypej
	cmp eax, 0x3
	jz _Z26Scr_ConstructMessageStringiiPKcPcj_20
_Z26Scr_ConstructMessageStringiiPKcPcj_150:
	sub eax, 0x1
	jz _Z26Scr_ConstructMessageStringiiPKcPcj_30
_Z26Scr_ConstructMessageStringiiPKcPcj_250:
	mov eax, [ebp-0x24]
	mov [esp], eax
	call _Z13Scr_GetStringj
	mov [ebp-0x1c], eax
	cld
	mov ecx, 0xffffffff
	mov edi, eax
	xor eax, eax
	repne scasb
	not ecx
	mov esi, ecx
	sub esi, 0x1
	jz _Z26Scr_ConstructMessageStringiiPKcPcj_40
	xor ebx, ebx
	jmp _Z26Scr_ConstructMessageStringiiPKcPcj_50
_Z26Scr_ConstructMessageStringiiPKcPcj_80:
	movsx edx, byte [edi]
	test edx, 0xffffff80
	jnz _Z26Scr_ConstructMessageStringiiPKcPcj_60
_Z26Scr_ConstructMessageStringiiPKcPcj_90:
	mov eax, [0xd5cc084]
	mov eax, [eax+edx*4+0x34]
	shr eax, 0x8
	and eax, 0x1
	test eax, eax
	jnz _Z26Scr_ConstructMessageStringiiPKcPcj_70
_Z26Scr_ConstructMessageStringiiPKcPcj_100:
	add ebx, 0x1
	cmp esi, ebx
	jz _Z26Scr_ConstructMessageStringiiPKcPcj_40
_Z26Scr_ConstructMessageStringiiPKcPcj_50:
	mov edi, [ebp-0x1c]
	add edi, ebx
	movzx edx, byte [edi]
	lea eax, [edx-0x14]
	cmp al, 0x2
	ja _Z26Scr_ConstructMessageStringiiPKcPcj_80
	movsx eax, dl
	mov [esp+0x4], eax
	mov dword [esp], _cstring_bad_escape_chara
	call _Z2vaPKcz
	mov [esp+0x4], eax
	mov edx, [ebp-0x24]
	mov [esp], edx
	call _Z14Scr_ParamErrorjPKc
	movsx edx, byte [edi]
	test edx, 0xffffff80
	jz _Z26Scr_ConstructMessageStringiiPKcPcj_90
_Z26Scr_ConstructMessageStringiiPKcPcj_60:
	mov dword [esp+0x4], 0x100
	mov [esp], edx
	call __maskrune
	test eax, eax
	setnz al
	movzx eax, al
	test eax, eax
	jz _Z26Scr_ConstructMessageStringiiPKcPcj_100
_Z26Scr_ConstructMessageStringiiPKcPcj_70:
	mov eax, loc_warnings
	mov eax, [eax]
	cmp byte [eax+0xc], 0x0
	jz _Z26Scr_ConstructMessageStringiiPKcPcj_40
	mov eax, loc_warningsAsErrors
	mov eax, [eax]
	cmp byte [eax+0xc], 0x0
	jz _Z26Scr_ConstructMessageStringiiPKcPcj_110
	mov edx, [ebp-0x1c]
	mov [esp+0x8], edx
	mov eax, [ebp+0x10]
	mov [esp+0x4], eax
	mov dword [esp], _cstring_nonlocalized_s_s
	call _Z2vaPKcz
	mov [esp+0x4], eax
	mov dword [esp], 0x7
	call _Z9Com_Error11errorParm_tPKcz
_Z26Scr_ConstructMessageStringiiPKcPcj_40:
	mov edx, [ebp-0x20]
	lea eax, [edx+esi+0x1]
	cmp eax, [ebp+0x18]
	jae _Z26Scr_ConstructMessageStringiiPKcPcj_120
_Z26Scr_ConstructMessageStringiiPKcPcj_270:
	test esi, esi
	jnz _Z26Scr_ConstructMessageStringiiPKcPcj_130
_Z26Scr_ConstructMessageStringiiPKcPcj_310:
	add dword [ebp-0x24], 0x1
	mov edx, [ebp-0x24]
	cmp [ebp+0xc], edx
	jl _Z26Scr_ConstructMessageStringiiPKcPcj_140
_Z26Scr_ConstructMessageStringiiPKcPcj_240:
	mov eax, edx
	mov [esp], eax
	call _Z11Scr_GetTypej
	cmp eax, 0x3
	jnz _Z26Scr_ConstructMessageStringiiPKcPcj_150
_Z26Scr_ConstructMessageStringiiPKcPcj_20:
	mov edx, [ebp-0x24]
	mov [esp], edx
	call _Z14Scr_GetIStringj
	mov [ebp-0x1c], eax
	cld
	mov ecx, 0xffffffff
	mov edi, eax
	xor eax, eax
	repne scasb
	not ecx
	lea esi, [ecx-0x1]
	cmp esi, 0x1
	jle _Z26Scr_ConstructMessageStringiiPKcPcj_160
	xor edi, edi
	jmp _Z26Scr_ConstructMessageStringiiPKcPcj_170
_Z26Scr_ConstructMessageStringiiPKcPcj_190:
	mov eax, [0xd5cc084]
	test dword [eax+edx*4+0x34], 0x500
	setnz al
	movzx eax, al
_Z26Scr_ConstructMessageStringiiPKcPcj_200:
	test eax, eax
	jnz _Z26Scr_ConstructMessageStringiiPKcPcj_180
	cmp byte [ebx], 0x5f
	jz _Z26Scr_ConstructMessageStringiiPKcPcj_180
	mov eax, [ebp-0x1c]
	mov [esp+0x4], eax
	mov dword [esp], _cstring_illegal_localize
	call _Z2vaPKcz
	mov [esp+0x4], eax
	mov edx, [ebp-0x24]
	mov [esp], edx
	call _Z14Scr_ParamErrorjPKc
_Z26Scr_ConstructMessageStringiiPKcPcj_180:
	add edi, 0x1
	cmp esi, edi
	jz _Z26Scr_ConstructMessageStringiiPKcPcj_160
_Z26Scr_ConstructMessageStringiiPKcPcj_170:
	mov edx, [ebp-0x1c]
	lea ebx, [edi+edx]
	movsx edx, byte [ebx]
	test edx, 0xffffff80
	jz _Z26Scr_ConstructMessageStringiiPKcPcj_190
	mov dword [esp+0x4], 0x500
	mov [esp], edx
	call __maskrune
	test eax, eax
	setnz al
	movzx eax, al
	jmp _Z26Scr_ConstructMessageStringiiPKcPcj_200
_Z26Scr_ConstructMessageStringiiPKcPcj_130:
	mov edx, [ebp+0x14]
	mov eax, [ebp-0x20]
	mov byte [edx+eax], 0x15
	add eax, 0x1
	mov [ebp-0x20], eax
_Z26Scr_ConstructMessageStringiiPKcPcj_300:
	mov ecx, [ebp+0x14]
	add ecx, [ebp-0x20]
	xor edi, edi
	jmp _Z26Scr_ConstructMessageStringiiPKcPcj_210
_Z26Scr_ConstructMessageStringiiPKcPcj_230:
	mov [ecx], dl
	add edi, 0x1
	add ecx, 0x1
	cmp esi, edi
	jz _Z26Scr_ConstructMessageStringiiPKcPcj_220
_Z26Scr_ConstructMessageStringiiPKcPcj_210:
	mov eax, [ebp-0x1c]
	movzx edx, byte [eax+edi]
	lea eax, [edx-0x14]
	cmp al, 0x2
	ja _Z26Scr_ConstructMessageStringiiPKcPcj_230
	mov byte [ecx], 0x2e
	add edi, 0x1
	add ecx, 0x1
	cmp esi, edi
	jnz _Z26Scr_ConstructMessageStringiiPKcPcj_210
_Z26Scr_ConstructMessageStringiiPKcPcj_220:
	add [ebp-0x20], edi
	add dword [ebp-0x24], 0x1
	mov edx, [ebp-0x24]
	cmp [ebp+0xc], edx
	jge _Z26Scr_ConstructMessageStringiiPKcPcj_240
_Z26Scr_ConstructMessageStringiiPKcPcj_140:
	mov eax, [ebp-0x20]
	mov edx, [ebp+0x14]
	mov byte [edx+eax], 0x0
	add esp, 0x2c
	pop ebx
	pop esi
	pop edi
	pop ebp
	ret
_Z26Scr_ConstructMessageStringiiPKcPcj_30:
	mov edx, [ebp-0x24]
	mov [esp], edx
	call _Z18Scr_GetPointerTypej
	cmp eax, 0x14
	jnz _Z26Scr_ConstructMessageStringiiPKcPcj_250
	mov edx, [ebp-0x24]
	mov [esp], edx
	call _Z13Scr_GetEntityj
	mov ebx, eax
	mov edi, [eax+0x15c]
	test edi, edi
	jz _Z26Scr_ConstructMessageStringiiPKcPcj_260
_Z26Scr_ConstructMessageStringiiPKcPcj_330:
	mov eax, [ebx+0x15c]
	add eax, 0x3048
	mov [esp+0x4], eax
	mov dword [esp], _cstring_s7
	call _Z2vaPKcz
	mov [ebp-0x1c], eax
	cld
	mov ecx, 0xffffffff
	mov edi, eax
	xor eax, eax
	repne scasb
	not ecx
	lea esi, [ecx-0x1]
	mov edx, [ebp-0x20]
	lea eax, [edx+esi+0x1]
	cmp [ebp+0x18], eax
	ja _Z26Scr_ConstructMessageStringiiPKcPcj_270
_Z26Scr_ConstructMessageStringiiPKcPcj_120:
	mov eax, [ebp+0x18]
	mov [esp+0x8], eax
	mov edx, [ebp+0x10]
	mov [esp+0x4], edx
	mov dword [esp], _cstring_s_is_too_long_ma
	call _Z2vaPKcz
	mov [esp+0x4], eax
	mov eax, [ebp-0x24]
	mov [esp], eax
	call _Z14Scr_ParamErrorjPKc
	jmp _Z26Scr_ConstructMessageStringiiPKcPcj_270
_Z26Scr_ConstructMessageStringiiPKcPcj_160:
	mov edx, [ebp-0x20]
	lea eax, [edx+esi+0x1]
	cmp [ebp+0x18], eax
	jbe _Z26Scr_ConstructMessageStringiiPKcPcj_280
_Z26Scr_ConstructMessageStringiiPKcPcj_320:
	mov eax, [ebp-0x20]
	test eax, eax
	jz _Z26Scr_ConstructMessageStringiiPKcPcj_290
	mov edx, [ebp+0x14]
	mov eax, [ebp-0x20]
	mov byte [edx+eax], 0x14
	add eax, 0x1
	mov [ebp-0x20], eax
_Z26Scr_ConstructMessageStringiiPKcPcj_290:
	test esi, esi
	jnz _Z26Scr_ConstructMessageStringiiPKcPcj_300
	jmp _Z26Scr_ConstructMessageStringiiPKcPcj_310
_Z26Scr_ConstructMessageStringiiPKcPcj_110:
	mov eax, [ebp-0x1c]
	mov [esp+0xc], eax
	mov edx, [ebp+0x10]
	mov [esp+0x8], edx
	mov dword [esp+0x4], _cstring_warning_nonlocal
	mov dword [esp], 0x11
	call _Z16Com_PrintWarningiPKcz
	jmp _Z26Scr_ConstructMessageStringiiPKcPcj_40
_Z26Scr_ConstructMessageStringiiPKcPcj_280:
	mov eax, [ebp+0x18]
	mov [esp+0x8], eax
	mov edx, [ebp+0x10]
	mov [esp+0x4], edx
	mov dword [esp], _cstring_s_is_too_long_ma
	call _Z2vaPKcz
	mov [esp+0x4], eax
	mov eax, [ebp-0x24]
	mov [esp], eax
	call _Z14Scr_ParamErrorjPKc
	jmp _Z26Scr_ConstructMessageStringiiPKcPcj_320
_Z26Scr_ConstructMessageStringiiPKcPcj_260:
	mov dword [esp+0x4], _cstring_entity_is_not_a_2
	mov eax, [ebp-0x24]
	mov [esp], eax
	call _Z14Scr_ParamErrorjPKc
	jmp _Z26Scr_ConstructMessageStringiiPKcPcj_330
	nop


;Scr_GetGameTypeNameForScript(char const*)
_Z28Scr_GetGameTypeNameForScriptPKc:
	push ebp
	mov ebp, esp
	push edi
	push esi
	push ebx
	sub esp, 0x1c
	mov ecx, [g_scr_data+0x2c]
	test ecx, ecx
	jg _Z28Scr_GetGameTypeNameForScriptPKc_10
_Z28Scr_GetGameTypeNameForScriptPKc_40:
	xor eax, eax
_Z28Scr_GetGameTypeNameForScriptPKc_50:
	add esp, 0x1c
	pop ebx
	pop esi
	pop edi
	pop ebp
	ret
_Z28Scr_GetGameTypeNameForScriptPKc_10:
	xor esi, esi
	mov edi, g_scr_data+0x70
	mov ebx, g_scr_data+0x30
_Z28Scr_GetGameTypeNameForScriptPKc_30:
	mov eax, [ebp+0x8]
	mov [esp+0x4], eax
	mov [esp], ebx
	call _Z9I_stricmpPKcS0_
	test eax, eax
	jz _Z28Scr_GetGameTypeNameForScriptPKc_20
	add esi, 0x1
	add ebx, 0x84
	add edi, 0x84
	cmp [g_scr_data+0x2c], esi
	jg _Z28Scr_GetGameTypeNameForScriptPKc_30
	jmp _Z28Scr_GetGameTypeNameForScriptPKc_40
_Z28Scr_GetGameTypeNameForScriptPKc_20:
	mov eax, edi
	jmp _Z28Scr_GetGameTypeNameForScriptPKc_50
	nop


;GScr_EnableGrenadeTouchDamage(scr_entref_t)
_Z29GScr_EnableGrenadeTouchDamage12scr_entref_t:
	push ebp
	mov ebp, esp
	push ebx
	sub esp, 0x14
	mov eax, [ebp+0x8]
	mov edx, eax
	shr eax, 0x10
	test ax, ax
	jnz _Z29GScr_EnableGrenadeTouchDamage12scr_entref_t_10
	movzx eax, dx
	lea edx, [eax+eax*8]
	lea edx, [eax+edx*2]
	mov ecx, edx
	shl ecx, 0x5
	add edx, ecx
	lea ebx, [edx+eax]
	add ebx, g_entities
_Z29GScr_EnableGrenadeTouchDamage12scr_entref_t_30:
	movzx edx, word [ebx+0x170]
	mov eax, scr_const
	cmp dx, [eax+0xc2]
	jz _Z29GScr_EnableGrenadeTouchDamage12scr_entref_t_20
	mov dword [esp], _cstring_currently_on_sup
	call _Z9Scr_ErrorPKc
_Z29GScr_EnableGrenadeTouchDamage12scr_entref_t_20:
	or dword [ebx+0x180], 0x4000
	add esp, 0x14
	pop ebx
	pop ebp
	ret
_Z29GScr_EnableGrenadeTouchDamage12scr_entref_t_10:
	mov dword [esp], _cstring_not_an_entity
	call _Z15Scr_ObjectErrorPKc
	xor ebx, ebx
	jmp _Z29GScr_EnableGrenadeTouchDamage12scr_entref_t_30


;GScr_DisableGrenadeTouchDamage(scr_entref_t)
_Z30GScr_DisableGrenadeTouchDamage12scr_entref_t:
	push ebp
	mov ebp, esp
	push ebx
	sub esp, 0x14
	mov eax, [ebp+0x8]
	mov edx, eax
	shr eax, 0x10
	test ax, ax
	jnz _Z30GScr_DisableGrenadeTouchDamage12scr_entref_t_10
	movzx eax, dx
	lea edx, [eax+eax*8]
	lea edx, [eax+edx*2]
	mov ecx, edx
	shl ecx, 0x5
	add edx, ecx
	lea ebx, [edx+eax]
	add ebx, g_entities
_Z30GScr_DisableGrenadeTouchDamage12scr_entref_t_30:
	movzx edx, word [ebx+0x170]
	mov eax, scr_const
	cmp dx, [eax+0xc2]
	jz _Z30GScr_DisableGrenadeTouchDamage12scr_entref_t_20
	mov dword [esp], _cstring_currently_on_sup
	call _Z9Scr_ErrorPKc
_Z30GScr_DisableGrenadeTouchDamage12scr_entref_t_20:
	and dword [ebx+0x180], 0xffffbfff
	add esp, 0x14
	pop ebx
	pop ebp
	ret
_Z30GScr_DisableGrenadeTouchDamage12scr_entref_t_10:
	mov dword [esp], _cstring_not_an_entity
	call _Z15Scr_ObjectErrorPKc
	xor ebx, ebx
	jmp _Z30GScr_DisableGrenadeTouchDamage12scr_entref_t_30


;Initialized global or static variables of g_scr_main_mp:
SECTION .data
methods: dd _cstring_attach, _Z13ScrCmd_attach12scr_entref_t, 0x0, _cstring_detach, _Z13ScrCmd_detach12scr_entref_t, 0x0, _cstring_detachall, _Z16ScrCmd_detachAll12scr_entref_t, 0x0, _cstring_getattachsize, _Z20ScrCmd_GetAttachSize12scr_entref_t, 0x0, _cstring_getattachmodelna, _Z25ScrCmd_GetAttachModelName12scr_entref_t, 0x0, _cstring_getattachtagname, _Z23ScrCmd_GetAttachTagName12scr_entref_t, 0x0, _cstring_getattachignorec, _Z31ScrCmd_GetAttachIgnoreCollision12scr_entref_t, 0x0, _cstring_getammocount, _Z17GScr_GetAmmoCount12scr_entref_t, 0x0, _cstring_getclanid, _Z16ScrCmd_GetClanId12scr_entref_t, 0x0, _cstring_getclanname, _Z18ScrCmd_GetClanName12scr_entref_t, 0x0, _cstring_hidepart, _Z15ScrCmd_hidepart12scr_entref_t, 0x0, _cstring_showpart, _Z15ScrCmd_showpart12scr_entref_t, 0x0, _cstring_showallparts, _Z19ScrCmd_showallparts12scr_entref_t, 0x0, _cstring_linkto, _Z13ScrCmd_LinkTo12scr_entref_t, 0x0, _cstring_unlink, _Z13ScrCmd_Unlink12scr_entref_t, 0x0, _cstring_enablelinkto, _Z19ScrCmd_EnableLinkTo12scr_entref_t, 0x0, _cstring_getorigin, _Z16ScrCmd_GetOrigin12scr_entref_t, 0x0, _cstring_geteye, _Z13ScrCmd_GetEye12scr_entref_t, 0x0, _cstring_useby, _Z12ScrCmd_UseBy12scr_entref_t, 0x0, _cstring_setstablemissile, _Z20Scr_SetStableMissile12scr_entref_t, 0x0, _cstring_istouching, _Z17ScrCmd_IsTouching12scr_entref_t, 0x0, _cstring_playsound, _Z16ScrCmd_PlaySound12scr_entref_t, 0x0, _cstring_playsoundasmaste1, _Z24ScrCmd_PlaySoundAsMaster12scr_entref_t, 0x0, _cstring_playsoundtoteam, _Z22ScrCmd_PlaySoundToTeam12scr_entref_t, 0x0, _cstring_playsoundtoplaye, _Z24ScrCmd_PlaySoundToPlayer12scr_entref_t, 0x0, _cstring_playloopsound, _Z20ScrCmd_PlayLoopSound12scr_entref_t, 0x0, _cstring_stoploopsound, _Z20ScrCmd_StopLoopSound12scr_entref_t, 0x0, _cstring_playrumbleonenti, _Z25ScrCmd_PlayRumbleOnEntity12scr_entref_t, 0x0, _cstring_playrumbleloopon, _Z29ScrCmd_PlayRumbleLoopOnEntity12scr_entref_t, 0x0, _cstring_stoprumble, _Z17ScrCmd_StopRumble12scr_entref_t, 0x0, _cstring_delete, _Z13ScrCmd_Delete12scr_entref_t, 0x0, _cstring_setmodel, _Z15ScrCmd_SetModel12scr_entref_t, 0x0, _cstring_getnormalhealth, _Z22ScrCmd_GetNormalHealth12scr_entref_t, 0x0, _cstring_setnormalhealth, _Z22ScrCmd_SetNormalHealth12scr_entref_t, 0x0, _cstring_show, _Z11ScrCmd_Show12scr_entref_t, 0x0, _cstring_hide, _Z11ScrCmd_Hide12scr_entref_t, 0x0, _cstring_laseron, _Z14ScrCmd_LaserOn12scr_entref_t, 0x0, _cstring_laseroff, _Z15ScrCmd_LaserOff12scr_entref_t, 0x0, _cstring_showtoplayer, _Z19ScrCmd_ShowToPlayer12scr_entref_t, 0x0, _cstring_setcontents, _Z18ScrCmd_SetContents12scr_entref_t, 0x0, _cstring_getstance, _Z16ScrCmd_GetStance12scr_entref_t, 0x0, _cstring_setcursorhint, _Z18GScr_SetCursorHint12scr_entref_t, 0x0, _cstring_sethintstring, _Z18GScr_SetHintString12scr_entref_t, 0x0, _cstring_usetriggerrequir, _Z28GScr_UseTriggerRequireLookAt12scr_entref_t, 0x0, _cstring_shellshock, _Z15GScr_ShellShock12scr_entref_t, 0x0, _cstring_gettagorigin, _Z17GScr_GetTagOrigin12scr_entref_t, 0x0, _cstring_gettagangles, _Z17GScr_GetTagAngles12scr_entref_t, 0x0, _cstring_stopshellshock, _Z19GScr_StopShellShock12scr_entref_t, 0x0, _cstring_setdepthoffield, _Z20GScr_SetDepthOfField12scr_entref_t, 0x0, _cstring_setviewmodeldept, _Z29GScr_SetViewModelDepthOfField12scr_entref_t, 0x0, _cstring_viewkick, _Z13GScr_ViewKick12scr_entref_t, 0x0, _cstring_localtoworldcoor, _Z23GScr_LocalToWorldCoords12scr_entref_t, 0x0, _cstring_setrightarc, _Z16GScr_SetRightArc12scr_entref_t, 0x0, _cstring_setleftarc, _Z15GScr_SetLeftArc12scr_entref_t, 0x0, _cstring_settoparc, _Z14GScr_SetTopArc12scr_entref_t, 0x0, _cstring_setbottomarc, _Z17GScr_SetBottomArc12scr_entref_t, 0x0, _cstring_radiusdamage, _Z23GScr_EntityRadiusDamage12scr_entref_t, 0x0, _cstring_detonate, _Z13GScr_Detonate12scr_entref_t, 0x0, _cstring_damageconetrace, _Z20GScr_DamageConeTrace12scr_entref_t, 0x0, _cstring_sightconetrace, _Z19GScr_SightConeTrace12scr_entref_t, 0x0, _cstring_getentitynumber, _Z20GScr_GetEntityNumber12scr_entref_t, 0x0, _cstring_enablegrenadetou, _Z29GScr_EnableGrenadeTouchDamage12scr_entref_t, 0x0, _cstring_disablegrenadeto, _Z30GScr_DisableGrenadeTouchDamage12scr_entref_t, 0x0, _cstring_enableaimassist, _Z20GScr_EnableAimAssist12scr_entref_t, 0x0, _cstring_disableaimassist, _Z21GScr_DisableAimAssist12scr_entref_t, 0x0, _cstring_placespawnpoint, _Z20GScr_PlaceSpawnPoint12scr_entref_t, 0x0, _cstring_setteamfortrigge2, _Z22GScr_SetTeamForTrigger12scr_entref_t, 0x0, _cstring_clientclaimtrigg2, _Z23GScr_ClientClaimTrigger12scr_entref_t, 0x0, _cstring_clientreleasetri2, _Z25GScr_ClientReleaseTrigger12scr_entref_t, 0x0, _cstring_releaseclaimedtr1, _Z26GScr_ReleaseClaimedTrigger12scr_entref_t, 0x0, _cstring_getstat, _Z12GScr_GetStat12scr_entref_t, 0x0, _cstring_setstat, _Z12GScr_SetStat12scr_entref_t, 0x0, _cstring_sendleaderboards, _Z21GScr_SendLeaderboards12scr_entref_t, 0x0, _cstring_setmovespeedscal, _Z24ScrCmd_SetMoveSpeedScale12scr_entref_t, 0x0, _cstring_logstring, _Z16ScrCmd_LogString12scr_entref_t, 0x0, _cstring_missile_settarge, _Z21GScr_MissileSetTarget12scr_entref_t, 0x0, _cstring_isonladder, _Z15GScr_IsOnLadder12scr_entref_t, 0x0, _cstring_ismantling, _Z15GScr_IsMantling12scr_entref_t, 0x0, _cstring_startragdoll, _Z17GScr_StartRagdoll12scr_entref_t, 0x0, _cstring_isragdoll, _Z14GScr_IsRagdoll12scr_entref_t, 0x0, _cstring_getcorpseanim, _Z18GScr_GetCorpseAnim12scr_entref_t, 0x0, _cstring_itemweaponsetamm, _Z24ScrCmd_ItemWeaponSetAmmo12scr_entref_t, 0x0, 0x0, 0x0
functions: dd _cstring_createprintchann, _Z23GScr_CreatePrintChannelv, 0x1, _cstring_setprintchannel, _Z20GScr_printChannelSetv, 0x1, _cstring_print, _Z5printv, 0x1, _cstring_println, _Z7printlnv, 0x1, _cstring_iprintln, _Z8iprintlnv, 0x0, _cstring_iprintlnbold, _Z12iprintlnboldv, 0x0, _cstring_print3d, _Z12GScr_print3dv, 0x1, _cstring_line, _Z9GScr_linev, 0x1, _cstring_logstring, _Z13Scr_LogStringv, 0x0, _cstring_getent, _Z10Scr_GetEntv, 0x0, _cstring_getentarray, _Z15Scr_GetEntArrayv, 0x0, _cstring_spawn, _Z10GScr_Spawnv, 0x0, _cstring_spawnplane, _Z15GScr_SpawnPlanev, 0x0, _cstring_spawnturret, _Z16GScr_SpawnTurretv, 0x0, _cstring_precacheturret, _Z19GScr_PrecacheTurretv, 0x0, _cstring_spawnstruct, _Z13Scr_AddStructv, 0x0, _cstring_spawnhelicopter, _Z20GScr_SpawnHelicopterv, 0x0, _cstring_assert, _Z9assertCmdv, 0x1, _cstring_assertex, _Z11assertexCmdv, 0x1, _cstring_assertmsg, _Z12assertmsgCmdv, 0x1, _cstring_isdefined, _Z14GScr_IsDefinedv, 0x0, _cstring_isstring, _Z13GScr_IsStringv, 0x0, _cstring_isalive, _Z12GScr_IsAlivev, 0x0, _cstring_getdvar, _Z12GScr_GetDvarv, 0x0, _cstring_getdvarint, _Z15GScr_GetDvarIntv, 0x0, _cstring_getdvarfloat, _Z17GScr_GetDvarFloatv, 0x0, _cstring_setdvar, _Z12GScr_SetDvarv, 0x0, _cstring_gettime, _Z12GScr_GetTimev, 0x0, _cstring_getentbynum, _Z15Scr_GetEntByNumv, 0x1, _cstring_getweaponmodel, _Z18Scr_GetWeaponModelv, 0x0, _cstring_getanimlength, _Z18GScr_GetAnimLengthv, 0x0, _cstring_animhasnotetrack, _Z21GScr_AnimHasNotetrackv, 0x0, _cstring_getnotetracktime, _Z22GScr_GetNotetrackTimesv, 0x0, _cstring_getbrushmodelcen, _Z24GScr_GetBrushModelCenterv, 0x0, _cstring_objective_add, _Z17Scr_Objective_Addv, 0x0, _cstring_objective_delete, _Z20Scr_Objective_Deletev, 0x0, _cstring_objective_state, _Z19Scr_Objective_Statev, 0x0, _cstring_objective_icon, _Z18Scr_Objective_Iconv, 0x0, _cstring_objective_positi, _Z22Scr_Objective_Positionv, 0x0, _cstring_objective_onenti, _Z22Scr_Objective_OnEntityv, 0x0, _cstring_objective_curren, _Z21Scr_Objective_Currentv, 0x0, _cstring_missile_createat, _Z29Scr_MissileCreateAttractorEntv, 0x0, _cstring_missile_createat1, _Z32Scr_MissileCreateAttractorOriginv, 0x0, _cstring_missile_createre, _Z28Scr_MissileCreateRepulsorEntv, 0x0, _cstring_missile_createre1, _Z31Scr_MissileCreateRepulsorOriginv, 0x0, _cstring_missile_deleteat, _Z26Scr_MissileDeleteAttractorv, 0x0, _cstring_bullettrace, _Z15Scr_BulletTracev, 0x0, _cstring_bullettracepasse, _Z21Scr_BulletTracePassedv, 0x0, _cstring_sighttracepassed, _Z20Scr_SightTracePassedv, 0x0, _cstring_physicstrace, _Z16Scr_PhysicsTracev, 0x0, _cstring_playerphysicstra, _Z22Scr_PlayerPhysicsTracev, 0x0, _cstring_getmovedelta, _Z17GScr_GetMoveDeltav, 0x0, _cstring_getangledelta, _Z18GScr_GetAngleDeltav, 0x0, _cstring_getnorthyaw, _Z16GScr_GetNorthYawv, 0x0, _cstring_randomint, _Z13Scr_RandomIntv, 0x0, _cstring_randomfloat, _Z15Scr_RandomFloatv, 0x0, _cstring_randomintrange, _Z18Scr_RandomIntRangev, 0x0, _cstring_randomfloatrange, _Z20Scr_RandomFloatRangev, 0x0, _cstring_sin, _Z8GScr_sinv, 0x0, _cstring_cos, _Z8GScr_cosv, 0x0, _cstring_tan, _Z8GScr_tanv, 0x0, _cstring_asin, _Z9GScr_asinv, 0x0, _cstring_acos, _Z9GScr_acosv, 0x0, _cstring_atan, _Z9GScr_atanv, 0x0, _cstring_int, _Z12GScr_CastIntv, 0x0, _cstring_abs, _Z8GScr_absv, 0x0, _cstring_min, _Z8GScr_minv, 0x0, _cstring_max, _Z8GScr_maxv, 0x0, _cstring_floor, _Z10GScr_floorv, 0x0, _cstring_ceil, _Z9GScr_ceilv, 0x0, _cstring_sqrt, _Z9GScr_sqrtv, 0x0, _cstring_vectorfromlineto, _Z26GScr_VectorFromLineToPointv, 0x0, _cstring_pointonsegmentne, _Z33GScr_PointOnSegmentNearestToPointv, 0x0, _cstring_distance, _Z12Scr_Distancev, 0x0, _cstring_distance2d, _Z14Scr_Distance2Dv, 0x0, _cstring_distancesquared, _Z19Scr_DistanceSquaredv, 0x0, _cstring_length, _Z10Scr_Lengthv, 0x0, _cstring_lengthsquared, _Z17Scr_LengthSquaredv, 0x0, _cstring_closer, _Z10Scr_Closerv, 0x0, _cstring_vectordot, _Z13Scr_VectorDotv, 0x0, _cstring_vectornormalize, _Z19Scr_VectorNormalizev, 0x0, _cstring_vectortoangles, _Z18Scr_VectorToAnglesv, 0x0, _cstring_vectorlerp, _Z14Scr_VectorLerpv, 0x0, _cstring_anglestoup, _Z14Scr_AnglesToUpv, 0x0, _cstring_anglestoright, _Z17Scr_AnglesToRightv, 0x0, _cstring_anglestoforward, _Z19Scr_AnglesToForwardv, 0x0, _cstring_combineangles, _Z17Scr_CombineAnglesv, 0x0, _cstring_issubstr, _Z12Scr_IsSubStrv, 0x0, _cstring_getsubstr, _Z13Scr_GetSubStrv, 0x0, _cstring_tolower, _Z11Scr_ToLowerv, 0x0, _cstring_strtok, _Z10Scr_StrTokv, 0x0, _cstring_musicplay, _Z13Scr_MusicPlayv, 0x0, _cstring_musicstop, _Z13Scr_MusicStopv, 0x0, _cstring_soundfade, _Z13Scr_SoundFadev, 0x0, _cstring_ambientplay, _Z15Scr_AmbientPlayv, 0x0, _cstring_ambientstop, _Z15Scr_AmbientStopv, 0x0, _cstring_precachemodel, _Z17Scr_PrecacheModelv, 0x0, _cstring_precacheshellsho1, _Z22Scr_PrecacheShellShockv, 0x0, _cstring_precacheitem, _Z16Scr_PrecacheItemv, 0x0, _cstring_precacheshader, _Z18Scr_PrecacheShaderv, 0x0, _cstring_precachestring, _Z18Scr_PrecacheStringv, 0x0, _cstring_precacherumble, _Z18Scr_PrecacheRumblev, 0x0, _cstring_loadfx, _Z10Scr_LoadFXv, 0x0, _cstring_playfx, _Z10Scr_PlayFXv, 0x0, _cstring_playfxontag, _Z15Scr_PlayFXOnTagv, 0x0, _cstring_playloopedfx, _Z16Scr_PlayLoopedFXv, 0x0, _cstring_spawnfx, _Z11Scr_SpawnFXv, 0x0, _cstring_triggerfx, _Z13Scr_TriggerFXv, 0x0, _cstring_physicsexplosion, _Z26Scr_PhysicsExplosionSpherev, 0x0, _cstring_physicsexplosion1, _Z28Scr_PhysicsExplosionCylinderv, 0x0, _cstring_physicsjolt, _Z21Scr_PhysicsRadiusJoltv, 0x0, _cstring_physicsjitter, _Z23Scr_PhysicsRadiusJitterv, 0x0, _cstring_setexpfog1, _Z21Scr_SetExponentialFogv, 0x0, _cstring_grenadeexplosion, _Z26Scr_GrenadeExplosionEffectv, 0x0, _cstring_radiusdamage, _Z17GScr_RadiusDamagev, 0x0, _cstring_setplayerignorer, _Z32GScr_SetPlayerIgnoreRadiusDamagev, 0x0, _cstring_getnumparts, _Z16GScr_GetNumPartsv, 0x0, _cstring_getpartname, _Z16GScr_GetPartNamev, 0x0, _cstring_earthquake, _Z15GScr_Earthquakev, 0x0, _cstring_newhudelem, _Z15GScr_NewHudElemv, 0x0, _cstring_newclienthudelem, _Z21GScr_NewClientHudElemv, 0x0, _cstring_newteamhudelem, _Z19GScr_NewTeamHudElemv, 0x0, _cstring_resettimeout, _Z16Scr_ResetTimeoutv, 0x0, _cstring_weaponfiretime, _Z19GScr_WeaponFireTimev, 0x0, _cstring_isweaponcliponly, _Z21GScr_IsWeaponClipOnlyv, 0x0, _cstring_isweapondetonati, _Z28GScr_IsWeaponDetonationTimedv, 0x0, _cstring_weaponfiretime, _Z19GScr_WeaponFireTimev, 0x0, _cstring_weaponclipsize, _Z19GScr_WeaponClipSizev, 0x0, _cstring_weaponissemiauto, _Z21GScr_WeaponIsSemiAutov, 0x0, _cstring_weaponisboltacti, _Z23GScr_WeaponIsBoltActionv, 0x0, _cstring_weapontype, _Z15GScr_WeaponTypev, 0x0, _cstring_weaponclass, _Z16GScr_WeaponClassv, 0x0, _cstring_weaponinventoryt, _Z24GScr_WeaponInventoryTypev, 0x0, _cstring_weaponstartammo, _Z20GScr_WeaponStartAmmov, 0x0, _cstring_weaponmaxammo, _Z18GScr_WeaponMaxAmmov, 0x0, _cstring_weaponaltweaponn, _Z24GScr_WeaponAltWeaponNamev, 0x0, _cstring_isplayer, _Z13GScr_IsPlayerv, 0x0, _cstring_isplayernumber, _Z19GScr_IsPlayerNumberv, 0x0, _cstring_setwinningplayer, _Z21GScr_SetWinningPlayerv, 0x0, _cstring_setwinningteam, _Z19GScr_SetWinningTeamv, 0x0, _cstring_announcement1, _Z17GScr_Announcementv, 0x0, _cstring_clientannounceme, _Z23GScr_ClientAnnouncementv, 0x0, _cstring_getteamscore, _Z17GScr_GetTeamScorev, 0x0, _cstring_setteamscore, _Z17GScr_SetTeamScorev, 0x0, _cstring_setclientnamemod, _Z22GScr_SetClientNameModev, 0x0, _cstring_updateclientname, _Z22GScr_UpdateClientNamesv, 0x0, _cstring_getteamplayersal, _Z24GScr_GetTeamPlayersAlivev, 0x0, _cstring_objective_team, _Z19GScr_Objective_Teamv, 0x0, _cstring_logprint, _Z13GScr_LogPrintv, 0x0, _cstring_worldentnumber, _Z19GScr_WorldEntNumberv, 0x0, _cstring_obituary, _Z13GScr_Obituaryv, 0x0, _cstring_positionwouldtel, _Z26GScr_positionWouldTelefragv, 0x0, _cstring_getstarttime, _Z17GScr_getStartTimev, 0x0, _cstring_precachemenu, _Z17GScr_PrecacheMenuv, 0x0, _cstring_precachestatusic, _Z23GScr_PrecacheStatusIconv, 0x0, _cstring_precacheheadicon, _Z21GScr_PrecacheHeadIconv, 0x0, _cstring_precachelocation, _Z29GScr_PrecacheLocationSelectorv, 0x0, _cstring_map_restart, _Z15GScr_MapRestartv, 0x0, _cstring_exitlevel, _Z14GScr_ExitLevelv, 0x0, _cstring_addtestclient, _Z18GScr_AddTestClientv, 0x0, _cstring_makedvarserverin, _Z23GScr_MakeDvarServerInfov, 0x0, _cstring_setarchive, _Z15GScr_SetArchivev, 0x0, _cstring_allclientsprint, _Z20GScr_AllClientsPrintv, 0x0, _cstring_clientprint, _Z16GScr_ClientPrintv, 0x0, _cstring_mapexists, _Z14GScr_MapExistsv, 0x0, _cstring_isvalidgametype, _Z20GScr_IsValidGameTypev, 0x0, _cstring_matchend, _Z13GScr_MatchEndv, 0x0, _cstring_setplayerteamran, _Z22GScr_SetPlayerTeamRankv, 0x0, _cstring_sendranks, _Z22GScr_SendXboxLiveRanksv, 0x0, _cstring_endparty, _Z21GScr_EndXboxLiveLobbyv, 0x0, _cstring_setteamradar, _Z17GScr_SetTeamRadarv, 0x0, _cstring_getteamradar, _Z17GScr_GetTeamRadarv, 0x0, _cstring_getassignedteam, _Z20GScr_GetAssignedTeamv, 0x0, _cstring_setvotestring, _Z18GScr_SetVoteStringv, 0x0, _cstring_setvotetime, _Z16GScr_SetVoteTimev, 0x0, _cstring_setvoteyescount, _Z20GScr_SetVoteYesCountv, 0x0, _cstring_setvotenocount, _Z19GScr_SetVoteNoCountv, 0x0, _cstring_openfile, _Z13GScr_OpenFilev, 0x1, _cstring_closefile, _Z14GScr_CloseFilev, 0x1, _cstring_fprintln, _Z13GScr_FPrintlnv, 0x1, _cstring_fprintfields, _Z17GScr_FPrintFieldsv, 0x1, _cstring_freadln, _Z12GScr_FReadLnv, 0x1, _cstring_fgetarg, _Z12GScr_FGetArgv, 0x1, _cstring_kick, _Z15GScr_KickPlayerv, 0x0, _cstring_ban, _Z14GScr_BanPlayerv, 0x0, _cstring_map, _Z12GScr_LoadMapv, 0x0, _cstring_playrumbleonposi, _Z24Scr_PlayRumbleOnPositionv, 0x0, _cstring_playrumbleloopon1, _Z28Scr_PlayRumbleLoopOnPositionv, 0x0, _cstring_stopallrumbles, _Z18Scr_StopAllRumblesv, 0x0, _cstring_soundexists, _Z18ScrCmd_SoundExistsv, 0x0, _cstring_issplitscreen, _Z17Scr_IsSplitscreenv, 0x0, _cstring_setminimap, _Z15GScr_SetMiniMapv, 0x0, _cstring_setmapcenter, _Z17GScr_SetMapCenterv, 0x0, _cstring_setgameendtime, _Z19GScr_SetGameEndTimev, 0x0, _cstring_getarraykeys, _Z17GScr_GetArrayKeysv, 0x0, _cstring_searchforonlineg, _Z25GScr_SearchForOnlineGamesv, 0x0, _cstring_quitlobby, _Z14GScr_QuitLobbyv, 0x0, _cstring_quitparty, _Z14GScr_QuitPartyv, 0x0, _cstring_startparty, _Z15GScr_StartPartyv, 0x0, _cstring_startprivatematc, _Z22GScr_StartPrivateMatchv, 0x0, _cstring_visionsetnaked, _Z18Scr_VisionSetNakedv, 0x0, _cstring_visionsetnight, _Z18Scr_VisionSetNightv, 0x0, _cstring_tablelookup, _Z15Scr_TableLookupv, 0x0, _cstring_tablelookupistri, _Z22Scr_TableLookupIStringv, 0x0, _cstring_endlobby, _Z13GScr_EndLobbyv, 0x0, 0x0


;Initialized constant data of g_scr_main_mp:
SECTION .rdata


;Zero initialized global or static variables of g_scr_main_mp:
SECTION .bss
g_scr_data: resb 0x3800


;All cstrings:
SECTION .rdata
_cstring_illegal_call_to_:		db "illegal call to createprintchannel()",0
_cstring_unable_to_create:		db "Unable to create new channel.  Maximum number of channels exeeded.",0
_cstring_illegal_call_to_1:		db "illegal call to setprintchannel()",0
_cstring_invalid_print_ch:		db "Invalid Print Channel",0
_cstring_script_does_not_:		db "Script does not have permission to print to this channel",0
_cstring_s:		db "%s",0
_cstring_:		db 0ah,0
_cstring_c:		db "%c",0
_cstring_game_message:		db "Game Message",0
_cstring_s_s:		db "%s ",22h,"%s",22h,0
_cstring_illegal_call_to_2:		db "illegal call to print3d()",0
_cstring_illegal_call_to_3:		db "illegal call to line()",0
_cstring_unable_to_spawn_:		db "unable to spawn ",22h,"%s",22h," entity",0
_cstring_owner_entity_is_:		db "Owner entity is not a player",0
_cstring_precacheturret_m:		db "precacheTurret must be called before any wait statements in the level script",0ah,0
_cstring_assert_fail:		db "assert fail",0
_cstring_assert_fail_s:		db "assert fail: %s",0
_cstring_dvar_s_has_an_in:		db "Dvar %s has an invalid dvar name",0
_cstring_dvar_value:		db "Dvar Value",0
_cstring_null:		db 0
_cstring_none:		db "none",0
_cstring_unknown_weapon_s:		db "unknown weapon ",27h,"%s",27h," in getWeaponModel",0ah,0
_cstring_nonprimitive_ani:		db "non-primitive animation has no concept of length",0
_cstring_illegal_objectiv:		db "Illegal objective state ",22h,"%s",22h,". Valid states are ",22h,"empty",22h,", ",22h,"invisible",22h,", ",22h,"current",22h,", ",22h,"active",22h,0ah,0
_cstring_index_i_is_an_il:		db "index %i is an illegal objective index. Valid indexes are 0 to %i",0ah,0
_cstring_objective_add_ne:		db "objective_add needs at least the first two parameters out of its parameter list of: index state [string] [position]",0ah,0
_cstring_end_time_must_be:		db "end time must be between 0 and 1",0
_cstring_start_time_must_:		db "start time must be between 0 and 1",0
_cstring_randomint_parm_d:		db "RandomInt parm: %d  ",0
_cstring_randomint_parm_m:		db "RandomInt parm must be positive integer.",0ah,0
_cstring_randomintrange_p:		db "RandomIntRange parms: %d %d ",0
_cstring_randomintrange_r:		db "RandomIntRange range must be positive integer.",0ah,0
_cstring_scr_randomfloatr:		db "Scr_RandomFloatRange parms: %d %d ",0
_cstring_scr_randomfloatr1:		db "Scr_RandomFloatRange range must be positive float.",0ah,0
_cstring_divide_by_0:		db "divide by 0",0
_cstring_g_out_of_range:		db "%g out of range",0
_cstring_cannot_cast_s_to:		db "cannot cast %s to int",0
_cstring_the_two_points_o:		db "The two points on the line must be different from each other",0
_cstring_line_segment_mus:		db "Line segment must not have zero length",0
_cstring_wrong_number_of_:		db "wrong number of arguments to vectornormalize!",0
_cstring_wrong_number_of_1:		db "wrong number of arguments to vectortoangle!",0
_cstring_wrong_number_of_2:		db "wrong number of arguments to vectorlerp",0
_cstring_string_too_long:		db "string too long",0
_cstring_c_s_1:		db "%c %s 1",0
_cstring_usage_musicstopf:		db "USAGE: musicStop([fadetime]);",0ah,0
_cstring_c_i:		db "%c %i",0
_cstring_musicstop_fade_t:		db "musicStop: fade time must be >= 0",0ah,0
_cstring_c_f_i:		db "%c %f %i",0ah,0
_cstring_usage_ambientpla:		db "USAGE: ambientPlay(alias_name, <fadetime>);",0ah,0
_cstring_nsti:		db "n",5ch,"%s",5ch,"t",5ch,"%i",0
_cstring_ambientplay_alia:		db "ambientPlay: alias name cannot be the empty string... use stop or fade version",0ah,0
_cstring_ambientplay_fade:		db "ambientPlay: fade time must be >= 0",0ah,0
_cstring_usage_ambientsto:		db "USAGE: ambientStop(<fadetime>);",0ah,0
_cstring_ti:		db "t",5ch,"%i",0
_cstring_ambientstop_fade:		db "ambientStop: fade time must be >= 0",0ah,0
_cstring_model_name_strin:		db "Model name string is empty",0
_cstring_precachemodel_mu:		db "precacheModel must be called before any wait statements in the gametype or level script",0ah,0
_cstring_couldnt_find_she:		db 015h,"couldn",27h,"t find shell shock ",27h,"%s",27h," -- see console",0ah,0
_cstring_precacheshellsho:		db "precacheShellShock must be called before any wait statements in the gametype or level script",0ah,0
_cstring_precacheitem_mus:		db "precacheItem must be called before any wait statements in the gametype or level script",0ah,0
_cstring_unknown_item_s:		db "unknown item ",27h,"%s",27h,0
_cstring_shader_name_stri:		db "Shader name string is empty",0
_cstring_precacheshader_m:		db "precacheShader must be called before any wait statements in the gametype or level script",0ah,0
_cstring_precachestring_m:		db "precacheString must be called before any wait statements in the gametype or level script",0ah,0
_cstring_fx:		db "fx/",0
_cstring_loadfx_must_be_c:		db "loadFx must be called before any wait statements in the level script, or on an already loaded effect",0ah,0
_cstring_effect_name_shou:		db "effect name should start after the ",27h,"fx",27h," folder.",0
_cstring_playfx_called_wi:		db "playFx called with (0 0 0) up direction",0
_cstring_s_effect__s:		db "%s (effect = %s)",0ah,0
_cstring_playfx_called_wi1:		db "playFx called with (0 0 0) forward direction",0
_cstring_incorrect_number:		db "Incorrect number of parameters",0
_cstring_cannot_use__char:		db "cannot use ",22h," characters in tag names",0ah,0
_cstring_02ds:		db "%02d%s",0
_cstring_effect_id_i_is_i:		db "effect id %i is invalid",0ah,0
_cstring_cannot_play_fx_o:		db "cannot play fx on entity with no model",0
_cstring_tag_s_does_not_e:		db "tag ",27h,"%s",27h," does not exist on entity with model ",27h,"%s",27h,0
_cstring_playloopedfx_cal:		db "playLoopedFx called with (0 0 0) forward direction",0
_cstring_playloopedfx_cal1:		db "playLoopedFx called with repeat < 0.001 seconds",0
_cstring_playloopedfx_cal2:		db "playLoopedFx called with (0 0 0) up direction",0
_cstring_spawnfx_called_w:		db "spawnFx called with (0 0 0) forward direction",0
_cstring_spawnfx_called_w1:		db "spawnFx called with (0 0 0) up direction",0
_cstring_entity_wasnt_cre:		db "entity wasn",27h,"t created with ",27h,"newFx",27h,0
_cstring_inner_radius_is_:		db "Inner radius is outside the outer radius",0
_cstring_radius_is_negati:		db "Radius is negative",0
_cstring_maximum_jitter_i:		db "Maximum jitter is less than minimum jitter",0
_cstring_incorrect_number1:		db "Incorrect number of parameters",0ah,"USAGE: setExpFog(<startDist>, <halfwayDist>, <red>, <green>, <blue>, <transition time>)",0ah,0
_cstring_setexpfog:		db "setExpFog",0
_cstring_s_redgreenblue_c:		db "%s: red/green/blue color components must be in the range [0, 1]",0
_cstring_g_g_g_g_g_0f:		db "%g %g %g %g %g %.0f",0
_cstring_s_transition_tim:		db "%s: transition time must be >= 0 seconds",0
_cstring_setexpfog_startd:		db "setExpFog: startDist must be greater or equal to 0",0
_cstring_setexpfog_halfwa:		db "setExpFog: halfwayDist must be greater than 0",0
_cstring_s_near_distance_:		db "%s: near distance must be >= 0",0
_cstring_radius_must_be_g:		db "Radius must be greater than 0",0
_cstring_scale_must_be_gr:		db "Scale must be greater than 0",0
_cstring_duration_must_be:		db "duration must be greater than 0",0
_cstring_i:		db "%i",0
_cstring_winner:		db "winner",0
_cstring_illegal_team_str:		db "Illegal team string ",27h,"%s",27h,". Must be allies, axis, or none.",0
_cstring_announcement:		db "Announcement",0
_cstring_c_s_2:		db "%c ",22h,"%s",22h," 2",0
_cstring_illegal_team_str1:		db "Illegal team string ",27h,"%s",27h,". Must be allies, or axis.",0
_cstring_unknown_mode:		db "Unknown mode",0
_cstring_only_works_in_ma:		db "Only works in [manual_change] mode",0
_cstring_script_tried_to_:		db "Script tried to precache the menu ",27h,"%s",27h," more than once",0ah,0
_cstring_too_many_menus_p:		db "Too many menus precached. Max allowed menus is %i",0
_cstring_too_many_player_:		db "Too many player status icons precached. Max allowed is %i",0
_cstring_script_tried_to_1:		db "Script tried to precache the player status icon ",27h,"%s",27h," more than once",0ah,0
_cstring_too_many_player_1:		db "Too many player head icons precached. Max allowed is %i",0
_cstring_script_tried_to_2:		db "Script tried to precache the player head icon ",27h,"%s",27h," more than once",0ah,0
_cstring_too_many_locatio:		db "Too many location selectors precached. Max allowed is %i",0
_cstring_script_tried_to_3:		db "Script tried to precache the location selector ",27h,"%s",27h," more than once",0ah,0
_cstring_map_restart_alre:		db "map_restart already called",0
_cstring_exitlevel_alread:		db "exitlevel already called",0
_cstring_fast_restart:		db "fast_restart",0ah,0
_cstring_script_defined_u:		db "Script defined user info dvar",0
_cstring_c_s:		db "%c ",22h,"%s",22h,0
_cstring_sv_serverid:		db "sv_serverId",0
_cstring_i_i:		db "%i %i",0
_cstring_tempbanclient_i:		db "tempBanClient %i",0ah,0
_cstring_banclient_i:		db "banClient %i",0ah,0
_cstring_map_s:		db "map %s",0ah,0
_cstring_map_already_call:		db "map already called",0
_cstring_expecting_5_argu:		db "Expecting 5 arguments",0
_cstring_s_f_f_f_f:		db 22h,"%s",22h," %f %f %f %f",0
_cstring_lowerright_x_and:		db "lower-right X and Y coordinates must be both south and east of upper-left X and Y coordinates in terms of the northyaw",0
_cstring_expected_1_argum:		db "Expected 1 argument to setMapCenter()",0
_cstring_expected_1_argum1:		db "Expected 1 argument to setGameEndTime()",0
_cstring_parameter_s_must:		db "Parameter (%s) must be an array",0
_cstring_usage_visionsetn:		db "USAGE: VisionSetNaked( <visionset name>, <transition time> )",0ah,0
_cstring_s_i:		db 22h,"%s",22h," %i",0
_cstring_usage_visionsetn1:		db "USAGE: VisionSetNight( <visionset name>, <transition time> )",0ah,0
_cstring_you_cannot_do_ta:		db "You cannot do table lookups without fastfiles.",0ah,0
_cstring_usage_tablelooku:		db "USAGE: tableLookup( filename, searchColumnNum, searchValue, returnValueColumnNum )",0ah,0
_cstring_usage_tablelooku1:		db "USAGE: tableLookupIString( filename, searchColumnNum, searchValue, returnValueColumnNum )",0ah,0
_cstring_failed_to_attach:		db "failed to attach model ",27h,"%s",27h," to tag ",27h,"%s",27h,0
_cstring_model_s_already_:		db "model ",27h,"%s",27h," already attached to tag ",27h,"%s",27h,0
_cstring_not_an_entity:		db "not an entity",0
_cstring_current_attachme:		db "Current attachments:",0ah,0
_cstring_model_s_tag_s:		db "model: ",27h,"%s",27h,", tag: ",27h,"%s",27h,0ah,0
_cstring_failed_to_detach:		db "failed to detach model ",27h,"%s",27h," from tag ",27h,"%s",27h,0
_cstring_bad_index:		db "bad index",0
_cstring_0:		db "0",0
_cstring_cannot_find_part:		db "cannot find part ",27h,"%s",27h," in entity model ",27h,"%s",27h,0
_cstring_cannot_find_part1:		db "cannot find part ",27h,"%s",27h," in entity model",0
_cstring_entity_has_no_mo:		db "entity has no model",0
_cstring_failed_to_link_e:		db "failed to link entity since parent model ",27h,"%s",27h," is invalid",0
_cstring_failed_to_link_e1:		db "failed to link entity",0
_cstring_failed_to_link_e2:		db "failed to link entity since tag ",27h,"%s",27h," does not exist in parent model ",27h,"%s",27h,0
_cstring_entity_classname:		db "entity (classname: ",27h,"%s",27h,") does not currently support linkTo",0
_cstring_failed_to_link_e3:		db "failed to link entity since parent has no model",0
_cstring_entity_classname1:		db "entity (classname: ",27h,"%s",27h,") does not currently support enableLinkTo",0
_cstring_entity_already_h:		db "entity already has linkTo enabled",0
_cstring_type_should_be_a:		db "Type should be a player",0
_cstring_istouching_canno:		db "istouching cannot be called on 2 brush/cylinder entities",0
_cstring_playsound_has_d_:		db "playsound has %d parameters.  There should be exactly one.",0
_cstring_playsoundasmaste:		db "playsoundasmaster has %d parameters.  There should be exactly one.",0
_cstring_entity_i_is_not_:		db "entity %i is not a player",0
_cstring_cannot_delete_a_:		db "Cannot delete a client entity",0
_cstring_cannot_delete_en:		db "Cannot delete entity during its think",0
_cstring_c_i1:		db "%c ",22h,"%i",22h,0
_cstring_error_cannot_set:		db "ERROR: Cannot setnormalhealth to 0 or below.",0ah,0
_cstring_getstance_is_onl:		db "GetStance is only defined for players.",0
_cstring_list_of_valid_hi:		db "List of valid hint type strings",0ah,0
_cstring_s1:		db "%s",0ah,0
_cstring_s_is_not_a_valid:		db "%s is not a valid hint type. See above for list of valid hint types",0ah,0
_cstring_hint_inherit_for:		db "HINT_INHERIT (for trigger_use or trigger_use_touch entities only)",0ah,0
_cstring_hint_inherit:		db "HINT_INHERIT",0
_cstring_the_sethintstrin:		db "The setHintString command only works on trigger_use or trigger_use_touch entities.",0ah,0
_cstring_hint_string:		db "Hint String",0
_cstring_too_many_differe:		db "Too many different hintstring values. Max allowed is %i different strings",0
_cstring_the_usetriggerre:		db "The UseTriggerRequireLookAt command only works on trigger_use entities.",0ah,0
_cstring_usage_player_she:		db "USAGE: <player> shellshock(<shellshockname>, <duration>)",0ah,0
_cstring_shellshock_s_was:		db "shellshock ",27h,"%s",27h," was not precached",0ah,0
_cstring_duration_g_shoul:		db "duration %g should be >= 0 and <= 60",0
_cstring_usage_player_sto:		db "USAGE: <player> stopshellshock()",0ah,0
_cstring_incorrect_number2:		db "Incorrect number of parameters",0ah,0
_cstring_far_start_must_b:		db "far start must be >= near end, or far depth of field should be disabled with far start >= far end or far blur == 0",0
_cstring_far_blur_should_:		db "far blur should be >= %g and <= near blur",0
_cstring_near_blur_should:		db "near blur should be between %g and %g",0
_cstring_far_end_must_be_:		db "far end must be >= 0",0
_cstring_near_start_must_:		db "near start must be >= 0",0
_cstring_near_end_must_be:		db "near end must be >= 0",0
_cstring_far_start_must_b1:		db "far start must be >= 0",0
_cstring_start_must_be__0:		db "start must be >= 0",0
_cstring_end_must_be__0:		db "end must be >= 0",0
_cstring_usage_player_vie:		db "USAGE: <player> viewkick <force 0-127> <source position>",0ah,0
_cstring_viewkick_damage_:		db "viewkick: damage %g < 0",0ah,0
_cstring_entity_is_not_a_:		db "entity is not a turret",0
_cstring_entity_is_not_a_1:		db "entity is not a grenade",0
_cstring_entity_is_not_a_2:		db "Entity is not a player",0
_cstring_warning_spawn_po:		db "WARNING: Spawn point entity %i is in solid at (%i, %i, %i)",0ah,0
_cstring_setteamfortrigge:		db "setteamfortrigger: trigger entity must be of type %s or %s",0
_cstring_setteamfortrigge1:		db "setteamfortrigger: invalid team used must be %s, %s or %s",0
_cstring_clientclaimtrigg:		db "clientclaimtrigger: trigger entity must be of type %s or %s",0
_cstring_clientclaimtrigg1:		db "clientclaimtrigger: claimer must be a client.",0
_cstring_clientreleasetri:		db "clientreleasetrigger: trigger entity must be of type %s or %s",0
_cstring_clientreleasetri1:		db "clientreleasetrigger: releaser must be a client.",0
_cstring_releaseclaimedtr:		db "releaseclaimedtrigger: trigger entity must be of type %s or %s",0
_cstring_getstat_invalid_:		db "getstat: invalid index %i",0
_cstring_getstat_called_o:		db "getstat: called on a disconnected player",0
_cstring_getstat_entity_m:		db "getstat: entity must be a player entity",0
_cstring_developer_script:		db "developer_script",0
_cstring_setstat_develope:		db "setstat: developer_script must be false.",0
_cstring_setstat_takes_2_:		db "setstat: takes 2 arguments, got %i.",0ah,0
_cstring_setstat_impure_s:		db "setstat: impure scripts loaded.",0
_cstring_setstat_index_i_:		db "setstat: index %i is a byte value, and you",27h,"re trying to set it to %i",0
_cstring_setstat_entity_m:		db "setstat: entity must be a player entity",0
_cstring_setstat_invalid_:		db "setstat: invalid index %i",0
_cstring_entity_is_not_an:		db "Entity is not an item.",0
_cstring_item_entity_is_n:		db "Item entity is not a weapon.",0
_cstring_value_out_of_ran:		db "Value out of range.  Allowed values: 0 to %i",0
_cstring_ammo_count_must_:		db "Ammo count must not be negative",0
_cstring_could_not_find_l:		db 015h,"Could not find label ",27h,"%s",27h," in script ",27h,"%s",27h,0
_cstring_could_not_find_s:		db 015h,"Could not find script ",27h,"%s",27h,0
_cstring_illegal_characte:		db "Illegal character ",27h,"%c",27h,"(ascii %i) in objective icon name: %s",0ah,0
_cstring_objective_icon_n:		db "Objective icon name is too long (> %i): %s",0ah,0
_cstring_entity_has_no_mo1:		db "entity has no model defined (classname ",27h,"%s",27h,")",0
_cstring_tag_s_does_not_e1:		db "tag ",27h,"%s",27h," does not exist in model ",27h,"%s",27h," (or any attached submodels)",0
_cstring_gsc:		db "gsc",0
_cstring_mapsmpgametypes:		db "maps/mp/gametypes",0
_cstring_gsc1:		db ".gsc",0
_cstring_mapsmpgametypess:		db "maps/mp/gametypes/%s.txt",0
_cstring_warning_gametype:		db "WARNING: GameType description file %s is too big to load.",0ah,0
_cstring_team:		db "team",0
_cstring_warning_could_no:		db "WARNING: Could not load GameType description file %s for gametype %s",0ah,0
_cstring_too_many_game_ty:		db "Too many game type scripts found! Only loading the first %i",0ah,0
_cstring_mapsmpgametypes_:		db "maps/mp/gametypes/_gametypes.txt",0
_cstring_undefined:		db "<undefined>",0
_cstring_only_valid_on_pl:		db "only valid on players; called on entity %i at %.0f %.0f %.0f classname %s targetname %s",0ah,0
_cstring_forward_and_up_v:		db "forward and up vectors are the same direction or exact opposite directions",0
_cstring_bad_model:		db "bad model",0
_cstring_index_out_of_ran:		db "index out of range (0 - %d)",0
_cstring_main:		db "main",0
_cstring_codescriptsdelet:		db "codescripts/delete",0
_cstring_initstructs:		db "initstructs",0
_cstring_codescriptsstruc:		db "codescripts/struct",0
_cstring_createstruct:		db "createstruct",0
_cstring_the_current_map_:		db "The current map name",0
_cstring_mapname:		db "mapname",0
_cstring_mapsmps:		db "maps/mp/%s",0
_cstring_badmod:		db "badMOD",0
_cstring_only_valid_on_pl1:		db "Only valid on player corpses",0
_cstring_location_selecto:		db "Location selector ",27h,"%s",27h," was not precached",0ah,0
_cstring_showtoclient_err:		db "showToClient error: param must be a client entity",0ah,0
_cstring_currently_only_s:		db "Currently only supported on entities with brush models",0
_cstring_head_icon_s_was_:		db "Head icon ",27h,"%s",27h," was not precached",0ah,0
_cstring_entity_i_is_not_1:		db "Entity %i is not a rocket",0ah,0
_cstring_weapon_name_s_is:		db "Weapon name ",22h,"%s",22h," is not valid.",0ah,0
_cstring_unknown_weapon_n:		db "Unknown weapon name ",22h,"%s",22h,": script may need to call PreCacheItem(",22h,"%s",22h,") during level init.",0ah,0
_cstring_menu_s_was_not_p:		db "Menu ",27h,"%s",27h," was not precached",0ah,0
_cstring_status_icon_s_wa:		db "Status icon ",27h,"%s",27h," was not precached",0ah,0
_cstring_mapsmpgametypess1:		db "maps/mp/gametypes/%s",0
_cstring_codecallback_sta:		db "CodeCallback_StartGameType",0
_cstring_mapsmpgametypes_1:		db "maps/mp/gametypes/_callbacksetup",0
_cstring_codecallback_pla:		db "CodeCallback_PlayerConnect",0
_cstring_codecallback_pla1:		db "CodeCallback_PlayerDisconnect",0
_cstring_codecallback_pla2:		db "CodeCallback_PlayerDamage",0
_cstring_codecallback_pla3:		db "CodeCallback_PlayerKilled",0
_cstring_codecallback_pla4:		db "CodeCallback_PlayerLastStand",0
_cstring_bad_escape_chara:		db "bad escape character (%i) present in string",0
_cstring_nonlocalized_s_s:		db "non-localized %s strings are not allowed to have letters in them: ",22h,"%s",22h,0
_cstring_illegal_localize:		db "Illegal localized string reference: %s must contain only alpha-numeric characters and underscores",0
_cstring_s7:		db "%s^7",0
_cstring_s_is_too_long_ma:		db "%s is too long. Max length is %i",0ah,0
_cstring_warning_nonlocal:		db "WARNING: Non-localized %s string is not allowed to have letters in it. Must be changed over to a localized string: ",22h,"%s",22h,0ah,0
_cstring_currently_on_sup:		db "Currently on supported on damage triggers",0
_cstring_attach:		db "attach",0
_cstring_detach:		db "detach",0
_cstring_detachall:		db "detachall",0
_cstring_getattachsize:		db "getattachsize",0
_cstring_getattachmodelna:		db "getattachmodelname",0
_cstring_getattachtagname:		db "getattachtagname",0
_cstring_getattachignorec:		db "getattachignorecollision",0
_cstring_getammocount:		db "getammocount",0
_cstring_getclanid:		db "getclanid",0
_cstring_getclanname:		db "getclanname",0
_cstring_hidepart:		db "hidepart",0
_cstring_showpart:		db "showpart",0
_cstring_showallparts:		db "showallparts",0
_cstring_linkto:		db "linkto",0
_cstring_unlink:		db "unlink",0
_cstring_enablelinkto:		db "enablelinkto",0
_cstring_getorigin:		db "getorigin",0
_cstring_geteye:		db "geteye",0
_cstring_useby:		db "useby",0
_cstring_setstablemissile:		db "setstablemissile",0
_cstring_istouching:		db "istouching",0
_cstring_playsound:		db "playsound",0
_cstring_playsoundasmaste1:		db "playsoundasmaster",0
_cstring_playsoundtoteam:		db "playsoundtoteam",0
_cstring_playsoundtoplaye:		db "playsoundtoplayer",0
_cstring_playloopsound:		db "playloopsound",0
_cstring_stoploopsound:		db "stoploopsound",0
_cstring_playrumbleonenti:		db "playrumbleonentity",0
_cstring_playrumbleloopon:		db "playrumblelooponentity",0
_cstring_stoprumble:		db "stoprumble",0
_cstring_delete:		db "delete",0
_cstring_setmodel:		db "setmodel",0
_cstring_getnormalhealth:		db "getnormalhealth",0
_cstring_setnormalhealth:		db "setnormalhealth",0
_cstring_show:		db "show",0
_cstring_hide:		db "hide",0
_cstring_laseron:		db "laseron",0
_cstring_laseroff:		db "laseroff",0
_cstring_showtoplayer:		db "showtoplayer",0
_cstring_setcontents:		db "setcontents",0
_cstring_getstance:		db "getstance",0
_cstring_setcursorhint:		db "setcursorhint",0
_cstring_sethintstring:		db "sethintstring",0
_cstring_usetriggerrequir:		db "usetriggerrequirelookat",0
_cstring_shellshock:		db "shellshock",0
_cstring_gettagorigin:		db "gettagorigin",0
_cstring_gettagangles:		db "gettagangles",0
_cstring_stopshellshock:		db "stopshellshock",0
_cstring_setdepthoffield:		db "setdepthoffield",0
_cstring_setviewmodeldept:		db "setviewmodeldepthoffield",0
_cstring_viewkick:		db "viewkick",0
_cstring_localtoworldcoor:		db "localtoworldcoords",0
_cstring_setrightarc:		db "setrightarc",0
_cstring_setleftarc:		db "setleftarc",0
_cstring_settoparc:		db "settoparc",0
_cstring_setbottomarc:		db "setbottomarc",0
_cstring_radiusdamage:		db "radiusdamage",0
_cstring_detonate:		db "detonate",0
_cstring_damageconetrace:		db "damageconetrace",0
_cstring_sightconetrace:		db "sightconetrace",0
_cstring_getentitynumber:		db "getentitynumber",0
_cstring_enablegrenadetou:		db "enablegrenadetouchdamage",0
_cstring_disablegrenadeto:		db "disablegrenadetouchdamage",0
_cstring_enableaimassist:		db "enableaimassist",0
_cstring_disableaimassist:		db "disableaimassist",0
_cstring_placespawnpoint:		db "placespawnpoint",0
_cstring_setteamfortrigge2:		db "setteamfortrigger",0
_cstring_clientclaimtrigg2:		db "clientclaimtrigger",0
_cstring_clientreleasetri2:		db "clientreleasetrigger",0
_cstring_releaseclaimedtr1:		db "releaseclaimedtrigger",0
_cstring_getstat:		db "getstat",0
_cstring_setstat:		db "setstat",0
_cstring_sendleaderboards:		db "sendleaderboards",0
_cstring_setmovespeedscal:		db "setmovespeedscale",0
_cstring_logstring:		db "logstring",0
_cstring_missile_settarge:		db "missile_settarget",0
_cstring_isonladder:		db "isonladder",0
_cstring_ismantling:		db "ismantling",0
_cstring_startragdoll:		db "startragdoll",0
_cstring_isragdoll:		db "isragdoll",0
_cstring_getcorpseanim:		db "getcorpseanim",0
_cstring_itemweaponsetamm:		db "itemweaponsetammo",0
_cstring_createprintchann:		db "createprintchannel",0
_cstring_setprintchannel:		db "setprintchannel",0
_cstring_print:		db "print",0
_cstring_println:		db "println",0
_cstring_iprintln:		db "iprintln",0
_cstring_iprintlnbold:		db "iprintlnbold",0
_cstring_print3d:		db "print3d",0
_cstring_line:		db "line",0
_cstring_getent:		db "getent",0
_cstring_getentarray:		db "getentarray",0
_cstring_spawn:		db "spawn",0
_cstring_spawnplane:		db "spawnplane",0
_cstring_spawnturret:		db "spawnturret",0
_cstring_precacheturret:		db "precacheturret",0
_cstring_spawnstruct:		db "spawnstruct",0
_cstring_spawnhelicopter:		db "spawnhelicopter",0
_cstring_assert:		db "assert",0
_cstring_assertex:		db "assertex",0
_cstring_assertmsg:		db "assertmsg",0
_cstring_isdefined:		db "isdefined",0
_cstring_isstring:		db "isstring",0
_cstring_isalive:		db "isalive",0
_cstring_getdvar:		db "getdvar",0
_cstring_getdvarint:		db "getdvarint",0
_cstring_getdvarfloat:		db "getdvarfloat",0
_cstring_setdvar:		db "setdvar",0
_cstring_gettime:		db "gettime",0
_cstring_getentbynum:		db "getentbynum",0
_cstring_getweaponmodel:		db "getweaponmodel",0
_cstring_getanimlength:		db "getanimlength",0
_cstring_animhasnotetrack:		db "animhasnotetrack",0
_cstring_getnotetracktime:		db "getnotetracktimes",0
_cstring_getbrushmodelcen:		db "getbrushmodelcenter",0
_cstring_objective_add:		db "objective_add",0
_cstring_objective_delete:		db "objective_delete",0
_cstring_objective_state:		db "objective_state",0
_cstring_objective_icon:		db "objective_icon",0
_cstring_objective_positi:		db "objective_position",0
_cstring_objective_onenti:		db "objective_onentity",0
_cstring_objective_curren:		db "objective_current",0
_cstring_missile_createat:		db "missile_createattractorent",0
_cstring_missile_createat1:		db "missile_createattractororigin",0
_cstring_missile_createre:		db "missile_createrepulsorent",0
_cstring_missile_createre1:		db "missile_createrepulsororigin",0
_cstring_missile_deleteat:		db "missile_deleteattractor",0
_cstring_bullettrace:		db "bullettrace",0
_cstring_bullettracepasse:		db "bullettracepassed",0
_cstring_sighttracepassed:		db "sighttracepassed",0
_cstring_physicstrace:		db "physicstrace",0
_cstring_playerphysicstra:		db "playerphysicstrace",0
_cstring_getmovedelta:		db "getmovedelta",0
_cstring_getangledelta:		db "getangledelta",0
_cstring_getnorthyaw:		db "getnorthyaw",0
_cstring_randomint:		db "randomint",0
_cstring_randomfloat:		db "randomfloat",0
_cstring_randomintrange:		db "randomintrange",0
_cstring_randomfloatrange:		db "randomfloatrange",0
_cstring_sin:		db "sin",0
_cstring_cos:		db "cos",0
_cstring_tan:		db "tan",0
_cstring_asin:		db "asin",0
_cstring_acos:		db "acos",0
_cstring_atan:		db "atan",0
_cstring_int:		db "int",0
_cstring_abs:		db "abs",0
_cstring_min:		db "min",0
_cstring_max:		db "max",0
_cstring_floor:		db "floor",0
_cstring_ceil:		db "ceil",0
_cstring_sqrt:		db "sqrt",0
_cstring_vectorfromlineto:		db "vectorfromlinetopoint",0
_cstring_pointonsegmentne:		db "pointonsegmentnearesttopoint",0
_cstring_distance:		db "distance",0
_cstring_distance2d:		db "distance2d",0
_cstring_distancesquared:		db "distancesquared",0
_cstring_length:		db "length",0
_cstring_lengthsquared:		db "lengthsquared",0
_cstring_closer:		db "closer",0
_cstring_vectordot:		db "vectordot",0
_cstring_vectornormalize:		db "vectornormalize",0
_cstring_vectortoangles:		db "vectortoangles",0
_cstring_vectorlerp:		db "vectorlerp",0
_cstring_anglestoup:		db "anglestoup",0
_cstring_anglestoright:		db "anglestoright",0
_cstring_anglestoforward:		db "anglestoforward",0
_cstring_combineangles:		db "combineangles",0
_cstring_issubstr:		db "issubstr",0
_cstring_getsubstr:		db "getsubstr",0
_cstring_tolower:		db "tolower",0
_cstring_strtok:		db "strtok",0
_cstring_musicplay:		db "musicplay",0
_cstring_musicstop:		db "musicstop",0
_cstring_soundfade:		db "soundfade",0
_cstring_ambientplay:		db "ambientplay",0
_cstring_ambientstop:		db "ambientstop",0
_cstring_precachemodel:		db "precachemodel",0
_cstring_precacheshellsho1:		db "precacheshellshock",0
_cstring_precacheitem:		db "precacheitem",0
_cstring_precacheshader:		db "precacheshader",0
_cstring_precachestring:		db "precachestring",0
_cstring_precacherumble:		db "precacherumble",0
_cstring_loadfx:		db "loadfx",0
_cstring_playfx:		db "playfx",0
_cstring_playfxontag:		db "playfxontag",0
_cstring_playloopedfx:		db "playloopedfx",0
_cstring_spawnfx:		db "spawnfx",0
_cstring_triggerfx:		db "triggerfx",0
_cstring_physicsexplosion:		db "physicsexplosionsphere",0
_cstring_physicsexplosion1:		db "physicsexplosioncylinder",0
_cstring_physicsjolt:		db "physicsjolt",0
_cstring_physicsjitter:		db "physicsjitter",0
_cstring_setexpfog1:		db "setexpfog",0
_cstring_grenadeexplosion:		db "grenadeexplosioneffect",0
_cstring_setplayerignorer:		db "setplayerignoreradiusdamage",0
_cstring_getnumparts:		db "getnumparts",0
_cstring_getpartname:		db "getpartname",0
_cstring_earthquake:		db "earthquake",0
_cstring_newhudelem:		db "newhudelem",0
_cstring_newclienthudelem:		db "newclienthudelem",0
_cstring_newteamhudelem:		db "newteamhudelem",0
_cstring_resettimeout:		db "resettimeout",0
_cstring_weaponfiretime:		db "weaponfiretime",0
_cstring_isweaponcliponly:		db "isweaponcliponly",0
_cstring_isweapondetonati:		db "isweapondetonationtimed",0
_cstring_weaponclipsize:		db "weaponclipsize",0
_cstring_weaponissemiauto:		db "weaponissemiauto",0
_cstring_weaponisboltacti:		db "weaponisboltaction",0
_cstring_weapontype:		db "weapontype",0
_cstring_weaponclass:		db "weaponclass",0
_cstring_weaponinventoryt:		db "weaponinventorytype",0
_cstring_weaponstartammo:		db "weaponstartammo",0
_cstring_weaponmaxammo:		db "weaponmaxammo",0
_cstring_weaponaltweaponn:		db "weaponaltweaponname",0
_cstring_isplayer:		db "isplayer",0
_cstring_isplayernumber:		db "isplayernumber",0
_cstring_setwinningplayer:		db "setwinningplayer",0
_cstring_setwinningteam:		db "setwinningteam",0
_cstring_announcement1:		db "announcement",0
_cstring_clientannounceme:		db "clientannouncement",0
_cstring_getteamscore:		db "getteamscore",0
_cstring_setteamscore:		db "setteamscore",0
_cstring_setclientnamemod:		db "setclientnamemode",0
_cstring_updateclientname:		db "updateclientnames",0
_cstring_getteamplayersal:		db "getteamplayersalive",0
_cstring_objective_team:		db "objective_team",0
_cstring_logprint:		db "logprint",0
_cstring_worldentnumber:		db "worldentnumber",0
_cstring_obituary:		db "obituary",0
_cstring_positionwouldtel:		db "positionwouldtelefrag",0
_cstring_getstarttime:		db "getstarttime",0
_cstring_precachemenu:		db "precachemenu",0
_cstring_precachestatusic:		db "precachestatusicon",0
_cstring_precacheheadicon:		db "precacheheadicon",0
_cstring_precachelocation:		db "precachelocationselector",0
_cstring_map_restart:		db "map_restart",0
_cstring_exitlevel:		db "exitlevel",0
_cstring_addtestclient:		db "addtestclient",0
_cstring_makedvarserverin:		db "makedvarserverinfo",0
_cstring_setarchive:		db "setarchive",0
_cstring_allclientsprint:		db "allclientsprint",0
_cstring_clientprint:		db "clientprint",0
_cstring_mapexists:		db "mapexists",0
_cstring_isvalidgametype:		db "isvalidgametype",0
_cstring_matchend:		db "matchend",0
_cstring_setplayerteamran:		db "setplayerteamrank",0
_cstring_sendranks:		db "sendranks",0
_cstring_endparty:		db "endparty",0
_cstring_setteamradar:		db "setteamradar",0
_cstring_getteamradar:		db "getteamradar",0
_cstring_getassignedteam:		db "getassignedteam",0
_cstring_setvotestring:		db "setvotestring",0
_cstring_setvotetime:		db "setvotetime",0
_cstring_setvoteyescount:		db "setvoteyescount",0
_cstring_setvotenocount:		db "setvotenocount",0
_cstring_openfile:		db "openfile",0
_cstring_closefile:		db "closefile",0
_cstring_fprintln:		db "fprintln",0
_cstring_fprintfields:		db "fprintfields",0
_cstring_freadln:		db "freadln",0
_cstring_fgetarg:		db "fgetarg",0
_cstring_kick:		db "kick",0
_cstring_ban:		db "ban",0
_cstring_map:		db "map",0
_cstring_playrumbleonposi:		db "playrumbleonposition",0
_cstring_playrumbleloopon1:		db "playrumblelooponposition",0
_cstring_stopallrumbles:		db "stopallrumbles",0
_cstring_soundexists:		db "soundexists",0
_cstring_issplitscreen:		db "issplitscreen",0
_cstring_setminimap:		db "setminimap",0
_cstring_setmapcenter:		db "setmapcenter",0
_cstring_setgameendtime:		db "setgameendtime",0
_cstring_getarraykeys:		db "getarraykeys",0
_cstring_searchforonlineg:		db "searchforonlinegames",0
_cstring_quitlobby:		db "quitlobby",0
_cstring_quitparty:		db "quitparty",0
_cstring_startparty:		db "startparty",0
_cstring_startprivatematc:		db "startprivatematch",0
_cstring_visionsetnaked:		db "visionsetnaked",0
_cstring_visionsetnight:		db "visionsetnight",0
_cstring_tablelookup:		db "tablelookup",0
_cstring_tablelookupistri:		db "tablelookupistring",0
_cstring_endlobby:		db "endlobby",0



;All constant floats and doubles:
SECTION .rdata
_float_1_00000000:		dd 0x3f800000	; 1
_float_0_50000000:		dd 0x3f000000	; 0.5
_data16_80000000:		dd 0x80000000, 0x0, 0x0, 0x0	; OWORD
_float_0_00000000:		dd 0x0	; 0
_double_0_01745329:		dq 0x3f91df46a2529d39	; 0.0174533
_float__1_00000000:		dd 0xbf800000	; -1
_double_57_29577951:		dq 0x404ca5dc1a63c1f8	; 57.2958
_float_1000_00000000:		dd 0x447a0000	; 1000
_float_0_69314718:		dd 0x3f317218	; 0.693147
_float_17_00000000:		dd 0x41880000	; 17
_float_0_00100000:		dd 0x3a83126f	; 0.001
_float_40_00000000:		dd 0x42200000	; 40
_float_4_00000000:		dd 0x40800000	; 4
_float_10_00000000:		dd 0x41200000	; 10
_float_128_00000000:		dd 0x43000000	; 128
_float_262144_00000000:		dd 0x48800000	; 262144

