	format	MS COFF
	extrn	___bb_blitz_blitz
	extrn	___bb_directsoundaudio_directsoundaudio
	extrn	___bb_minib3d_minib3d
	extrn	___bb_oggloader_oggloader
	extrn	___bb_pngloader_pngloader
	extrn	___bb_random_random
	extrn	___bb_tgaloader_tgaloader
	extrn	___bb_timer_timer
	extrn	__sidesign_minib3d_TBrush_BrushAlpha
	extrn	__sidesign_minib3d_TBrush_BrushBlend
	extrn	__sidesign_minib3d_TBrush_BrushColor
	extrn	__sidesign_minib3d_TBrush_BrushFX
	extrn	__sidesign_minib3d_TBrush_BrushShininess
	extrn	__sidesign_minib3d_TBrush_BrushTexture
	extrn	__sidesign_minib3d_TBrush_CompareBrushes
	extrn	__sidesign_minib3d_TBrush_Copy
	extrn	__sidesign_minib3d_TBrush_CreateBrush
	extrn	__sidesign_minib3d_TBrush_Delete
	extrn	__sidesign_minib3d_TBrush_FreeBrush
	extrn	__sidesign_minib3d_TBrush_GetEntityBrush
	extrn	__sidesign_minib3d_TBrush_GetSurfaceBrush
	extrn	__sidesign_minib3d_TBrush_LoadBrush
	extrn	__sidesign_minib3d_TBrush_New
	extrn	__sidesign_minib3d_TEntity_entity_list
	extrn	__sidesign_minib3d_TTexture_AdjustPixmap
	extrn	__sidesign_minib3d_TTexture_ApplyAlpha
	extrn	__sidesign_minib3d_TTexture_BackBufferToTex
	extrn	__sidesign_minib3d_TTexture_ClearTextureFilters
	extrn	__sidesign_minib3d_TTexture_CountMipmaps
	extrn	__sidesign_minib3d_TTexture_CreateCubeMapTexture
	extrn	__sidesign_minib3d_TTexture_CreateTexture
	extrn	__sidesign_minib3d_TTexture_Delete
	extrn	__sidesign_minib3d_TTexture_FileAbs
	extrn	__sidesign_minib3d_TTexture_FileFind
	extrn	__sidesign_minib3d_TTexture_FilterFlags
	extrn	__sidesign_minib3d_TTexture_FreeTexture
	extrn	__sidesign_minib3d_TTexture_GetBrushTexture
	extrn	__sidesign_minib3d_TTexture_LoadAnimTexture
	extrn	__sidesign_minib3d_TTexture_LoadCubeMapTexture
	extrn	__sidesign_minib3d_TTexture_LoadTexture
	extrn	__sidesign_minib3d_TTexture_MipmapHeight
	extrn	__sidesign_minib3d_TTexture_MipmapWidth
	extrn	__sidesign_minib3d_TTexture_New
	extrn	__sidesign_minib3d_TTexture_PositionTexture
	extrn	__sidesign_minib3d_TTexture_Pow2Size
	extrn	__sidesign_minib3d_TTexture_RotateTexture
	extrn	__sidesign_minib3d_TTexture_ScaleTexture
	extrn	__sidesign_minib3d_TTexture_SetCubeFace
	extrn	__sidesign_minib3d_TTexture_SetCubeMode
	extrn	__sidesign_minib3d_TTexture_TexInList
	extrn	__sidesign_minib3d_TTexture_TextureBlend
	extrn	__sidesign_minib3d_TTexture_TextureCoords
	extrn	__sidesign_minib3d_TTexture_TextureFilter
	extrn	__sidesign_minib3d_TTexture_TextureHeight
	extrn	__sidesign_minib3d_TTexture_TextureName
	extrn	__sidesign_minib3d_TTexture_TextureWidth
	extrn	__sidesign_minib3d_TTexture_tex_list
	extrn	_bbATan
	extrn	_bbATan2
	extrn	_bbAppTitle
	extrn	_bbArrayNew
	extrn	_bbArrayNew1D
	extrn	_bbArraySlice
	extrn	_bbConvertToInt
	extrn	_bbCos
	extrn	_bbEmptyArray
	extrn	_bbEmptyString
	extrn	_bbEnd
	extrn	_bbExp
	extrn	_bbFloatAbs
	extrn	_bbFloatMod
	extrn	_bbFloatPow
	extrn	_bbFloatSgn
	extrn	_bbFloatToInt
	extrn	_bbFloor
	extrn	_bbGCFree
	extrn	_bbIntAbs
	extrn	_bbIntMin
	extrn	_bbIntTypeTag
	extrn	_bbMilliSecs
	extrn	_bbNullObject
	extrn	_bbObjectClass
	extrn	_bbObjectCompare
	extrn	_bbObjectCtor
	extrn	_bbObjectDowncast
	extrn	_bbObjectFree
	extrn	_bbObjectNew
	extrn	_bbObjectRegisterType
	extrn	_bbObjectReserved
	extrn	_bbObjectSendMessage
	extrn	_bbObjectToString
	extrn	_bbSin
	extrn	_bbSqr
	extrn	_bbStringClass
	extrn	_bbStringCompare
	extrn	_bbStringConcat
	extrn	_bbStringFromDouble
	extrn	_bbStringFromInt
	extrn	_bbStringToFloat
	extrn	_bbStringToInt
	extrn	_bbTan
	extrn	_brl_audio_LoadSound
	extrn	_brl_audio_PlaySound
	extrn	_brl_audio_SetChannelPan
	extrn	_brl_audio_SetChannelRate
	extrn	_brl_audio_SetChannelVolume
	extrn	_brl_bank_BankSize
	extrn	_brl_bank_CreateBank
	extrn	_brl_bank_PeekByte
	extrn	_brl_bank_PokeByte
	extrn	_brl_bank_ReadBank
	extrn	_brl_bank_WriteBank
	extrn	_brl_filesystem_CloseFile
	extrn	_brl_filesystem_FileSize
	extrn	_brl_filesystem_OpenFile
	extrn	_brl_filesystem_ReadFile
	extrn	_brl_filesystem_WriteFile
	extrn	_brl_graphics_Flip
	extrn	_brl_graphics_GraphicsHeight
	extrn	_brl_graphics_GraphicsWidth
	extrn	_brl_linkedlist_CreateList
	extrn	_brl_linkedlist_ListAddLast
	extrn	_brl_linkedlist_ListRemove
	extrn	_brl_max2d_DrawRect
	extrn	_brl_max2d_DrawText
	extrn	_brl_max2d_SetAlpha
	extrn	_brl_max2d_SetBlend
	extrn	_brl_max2d_SetColor
	extrn	_brl_pixmap_BytesPerPixel
	extrn	_brl_pixmap_CopyPixmap
	extrn	_brl_pixmap_CreatePixmap
	extrn	_brl_pixmap_MaskPixmap
	extrn	_brl_pixmap_ResizePixmap
	extrn	_brl_pixmap_WritePixel
	extrn	_brl_polledinput_AppTerminate
	extrn	_brl_polledinput_KeyDown
	extrn	_brl_polledinput_KeyHit
	extrn	_brl_polledinput_MouseDown
	extrn	_brl_polledinput_MouseX
	extrn	_brl_polledinput_MouseY
	extrn	_brl_polledinput_WaitKey
	extrn	_brl_random_Rand
	extrn	_brl_random_Rnd
	extrn	_brl_random_SeedRnd
	extrn	_brl_retro_Instr
	extrn	_brl_retro_Left
	extrn	_brl_retro_Mid
	extrn	_brl_retro_Replace
	extrn	_brl_retro_Trim
	extrn	_brl_retro_Upper
	extrn	_brl_standardio_Print
	extrn	_brl_stream_Eof
	extrn	_brl_stream_ReadLine
	extrn	_brl_stream_WriteLine
	extrn	_brl_system_HideMouse
	extrn	_brl_system_MoveMouse
	extrn	_brl_timer_CreateTimer
	extrn	_brl_timer_WaitTimer
	extrn	_glBindTexture@8
	extrn	_glGenTextures@8
	extrn	_glPixelStorei@8
	extrn	_glTexImage2D@36
	extrn	_sidesign_minib3d_AddTriangle
	extrn	_sidesign_minib3d_AddVertex
	extrn	_sidesign_minib3d_AmbientLight
	extrn	_sidesign_minib3d_BackBufferToTex
	extrn	_sidesign_minib3d_BeginMax2D
	extrn	_sidesign_minib3d_CameraClsColor
	extrn	_sidesign_minib3d_CameraProject
	extrn	_sidesign_minib3d_CameraRange
	extrn	_sidesign_minib3d_CameraViewport
	extrn	_sidesign_minib3d_CountTriangles
	extrn	_sidesign_minib3d_CountVertices
	extrn	_sidesign_minib3d_CreateCamera
	extrn	_sidesign_minib3d_CreateCube
	extrn	_sidesign_minib3d_CreateLight
	extrn	_sidesign_minib3d_CreateMesh
	extrn	_sidesign_minib3d_CreatePivot
	extrn	_sidesign_minib3d_CreateSprite
	extrn	_sidesign_minib3d_CreateSurface
	extrn	_sidesign_minib3d_CreateTexture
	extrn	_sidesign_minib3d_EndMax2D
	extrn	_sidesign_minib3d_EntityAlpha
	extrn	_sidesign_minib3d_EntityBlend
	extrn	_sidesign_minib3d_EntityColor
	extrn	_sidesign_minib3d_EntityDistance
	extrn	_sidesign_minib3d_EntityFX
	extrn	_sidesign_minib3d_EntityOrder
	extrn	_sidesign_minib3d_EntityParent
	extrn	_sidesign_minib3d_EntityPickMode
	extrn	_sidesign_minib3d_EntityPitch
	extrn	_sidesign_minib3d_EntityRadius
	extrn	_sidesign_minib3d_EntityRoll
	extrn	_sidesign_minib3d_EntityShininess
	extrn	_sidesign_minib3d_EntityTexture
	extrn	_sidesign_minib3d_EntityType
	extrn	_sidesign_minib3d_EntityVisible
	extrn	_sidesign_minib3d_EntityX
	extrn	_sidesign_minib3d_EntityY
	extrn	_sidesign_minib3d_EntityYaw
	extrn	_sidesign_minib3d_EntityZ
	extrn	_sidesign_minib3d_FlipMesh
	extrn	_sidesign_minib3d_FreeEntity
	extrn	_sidesign_minib3d_FreeTexture
	extrn	_sidesign_minib3d_GetSurface
	extrn	_sidesign_minib3d_Graphics3D
	extrn	_sidesign_minib3d_HideEntity
	extrn	_sidesign_minib3d_LightColor
	extrn	_sidesign_minib3d_LightRange
	extrn	_sidesign_minib3d_LoadAnimMesh
	extrn	_sidesign_minib3d_LoadTexture
	extrn	_sidesign_minib3d_MoveEntity
	extrn	_sidesign_minib3d_PointEntity
	extrn	_sidesign_minib3d_PositionEntity
	extrn	_sidesign_minib3d_PositionTexture
	extrn	_sidesign_minib3d_ProjectedX
	extrn	_sidesign_minib3d_ProjectedY
	extrn	_sidesign_minib3d_RenderWorld
	extrn	_sidesign_minib3d_RotateEntity
	extrn	_sidesign_minib3d_RotateMesh
	extrn	_sidesign_minib3d_ScaleEntity
	extrn	_sidesign_minib3d_ScaleMesh
	extrn	_sidesign_minib3d_ScaleSprite
	extrn	_sidesign_minib3d_ScaleTexture
	extrn	_sidesign_minib3d_ShowEntity
	extrn	_sidesign_minib3d_SpriteViewMode
	extrn	_sidesign_minib3d_TBone
	extrn	_sidesign_minib3d_TBrush
	extrn	_sidesign_minib3d_TFormPoint
	extrn	_sidesign_minib3d_TFormVector
	extrn	_sidesign_minib3d_TFormedX
	extrn	_sidesign_minib3d_TFormedY
	extrn	_sidesign_minib3d_TFormedZ
	extrn	_sidesign_minib3d_TQuaternion
	extrn	_sidesign_minib3d_TTexture
	extrn	_sidesign_minib3d_TextureBlend
	extrn	_sidesign_minib3d_TextureCoords
	extrn	_sidesign_minib3d_TranslateEntity
	extrn	_sidesign_minib3d_TriangleVertex
	extrn	_sidesign_minib3d_TurnEntity
	extrn	_sidesign_minib3d_UpdateWorld
	extrn	_sidesign_minib3d_VertexColor
	extrn	_sidesign_minib3d_VertexCoords
	extrn	_sidesign_minib3d_VertexNormal
	extrn	_sidesign_minib3d_VertexTexCoords
	extrn	_sidesign_minib3d_VertexU
	extrn	_sidesign_minib3d_VertexV
	extrn	_sidesign_minib3d_VertexX
	extrn	_sidesign_minib3d_VertexY
	extrn	_sidesign_minib3d_VertexZ
	extrn	_sidesign_minib3d_Wireframe
	public	__bb_PixTBrush_Delete
	public	__bb_PixTBrush_LoadBrushPixmap
	public	__bb_PixTBrush_New
	public	__bb_PixTTexture_Delete
	public	__bb_PixTTexture_LoadAnimTexturePixMap
	public	__bb_PixTTexture_LoadTexturePixMap
	public	__bb_PixTTexture_New
	public	__bb_TAsteroid_Add
	public	__bb_TAsteroid_Delete
	public	__bb_TAsteroid_Hide
	public	__bb_TAsteroid_List
	public	__bb_TAsteroid_New
	public	__bb_TAsteroid_RecalcNormals
	public	__bb_TAsteroid_Update
	public	__bb_TDust_Add
	public	__bb_TDust_Delete
	public	__bb_TDust_List
	public	__bb_TDust_New
	public	__bb_TInfo_Add
	public	__bb_TInfo_Delete
	public	__bb_TInfo_List
	public	__bb_TInfo_New
	public	__bb_TInfo_Remove
	public	__bb_TInfo_Update
	public	__bb_TParticle_Delete
	public	__bb_TParticle_List
	public	__bb_TParticle_New
	public	__bb_TParticle_Remove
	public	__bb_TPlanet_CreateColormap
	public	__bb_TPlanet_CreateEmbossMap
	public	__bb_TPlanet_CreateGradient
	public	__bb_TPlanet_CreateHeightMap
	public	__bb_TPlanet_CreateNightmap
	public	__bb_TPlanet_CreateNightmapMolten
	public	__bb_TPlanet_CreateNoiseMap
	public	__bb_TPlanet_Delete
	public	__bb_TPlanet_FastUpdate
	public	__bb_TPlanet_Generate
	public	__bb_TPlanet_LoadPreset
	public	__bb_TPlanet_New
	public	__bb_TPlanet_Update
	public	__bb_TShot_Add
	public	__bb_TShot_Delete
	public	__bb_TShot_List
	public	__bb_TShot_New
	public	__bb_TShot_Remove
	public	__bb_main
	public	_bb_AddToSurface
	public	_bb_AmbientColor
	public	_bb_Average
	public	_bb_Bilinear
	public	_bb_BlasterTexture
	public	_bb_BloomColor
	public	_bb_BloomSprite
	public	_bb_Bones
	public	_bb_Boost
	public	_bb_CalcNormal
	public	_bb_Camera
	public	_bb_CloudRotation
	public	_bb_ColorBurn
	public	_bb_ColorDodge
	public	_bb_CombineARGB
	public	_bb_CombineRGB
	public	_bb_CosineInterpolate
	public	_bb_CreateBaseTexture
	public	_bb_CreateBrightmap
	public	_bb_CreateGlow
	public	_bb_CreateImageFromBank
	public	_bb_CreateName
	public	_bb_CreatePlanetShader
	public	_bb_CreateQuad
	public	_bb_CreateRing
	public	_bb_CreateRingTexture
	public	_bb_CreateSpherePart
	public	_bb_CreateStarQuad
	public	_bb_CrossSprite
	public	_bb_CrossTexture
	public	_bb_CubicInterpolate
	public	_bb_CurrentSpeed
	public	_bb_CursorSprite
	public	_bb_CursorTexture
	public	_bb_Darken
	public	_bb_Difference
	public	_bb_Distance3D
	public	_bb_EngineSpriteTexture
	public	_bb_EulerToQuat
	public	_bb_Exclusion
	public	_bb_Fade
	public	_bb_FadeSprite
	public	_bb_FastNoise
	public	_bb_FloatMax
	public	_bb_FloatMin
	public	_bb_FogPanorama
	public	_bb_GRAYD
	public	_bb_GetA
	public	_bb_GetB
	public	_bb_GetBankPixel
	public	_bb_GetFlag
	public	_bb_GetG
	public	_bb_GetINI
	public	_bb_GetINISections
	public	_bb_GetMax
	public	_bb_GetR
	public	_bb_Glow
	public	_bb_GlowTexture
	public	_bb_GunTarget
	public	_bb_HEIGHT
	public	_bb_HardLight
	public	_bb_HardMix
	public	_bb_HermiteInterpolate
	public	_bb_InitMilkyway
	public	_bb_InitNoise
	public	_bb_InitPanorama
	public	_bb_InitStarBox
	public	_bb_InitStarSphere
	public	_bb_Lerp
	public	_bb_Light
	public	_bb_Lighten
	public	_bb_LimitInt
	public	_bb_LinearBurn
	public	_bb_LinearDodge
	public	_bb_LinearInterpolate
	public	_bb_LinearLight
	public	_bb_LoadBrushPixmap
	public	_bb_LoadINI
	public	_bb_LoadImageBank
	public	_bb_LoadTexturePixmap
	public	_bb_LogEvent
	public	_bb_MilkyWay1
	public	_bb_MilkyWay2
	public	_bb_Model
	public	_bb_MouseTarget
	public	_bb_Movement
	public	_bb_Multi
	public	_bb_Multiply
	public	_bb_MultiplyQuats
	public	_bb_Negation
	public	_bb_Noise
	public	_bb_Normalize
	public	_bb_NormalizeQuat
	public	_bb_Overlay
	public	_bb_Perlin3D
	public	_bb_Permutation
	public	_bb_PinLight
	public	_bb_Pivot
	public	_bb_PixTBrush
	public	_bb_PixTTexture
	public	_bb_PlanetRotation
	public	_bb_Player
	public	_bb_PositionSprite
	public	_bb_PrintTime
	public	_bb_QuadMesh
	public	_bb_QuadSurf
	public	_bb_QuadTex
	public	_bb_QuatToEuler2
	public	_bb_Round
	public	_bb_SaveImageBank
	public	_bb_ScaleBank
	public	_bb_Screen
	public	_bb_SetBankPixel
	public	_bb_SetFOV
	public	_bb_SetFlag
	public	_bb_SetPlanet
	public	_bb_ShipColor
	public	_bb_ShotEnd
	public	_bb_ShotStart
	public	_bb_SmoothNoise
	public	_bb_SoftLight
	public	_bb_SoftLight2
	public	_bb_Split
	public	_bb_Splitted
	public	_bb_Star
	public	_bb_StarColor
	public	_bb_StarGlow
	public	_bb_StarSphere
	public	_bb_StarTexture
	public	_bb_Starbox
	public	_bb_StatusText
	public	_bb_Sun
	public	_bb_SunTexture
	public	_bb_Switch
	public	_bb_SwitchFlag
	public	_bb_SwitchMilkyway
	public	_bb_SwitchWeapons
	public	_bb_TAsteroid
	public	_bb_TDust
	public	_bb_TInfo
	public	_bb_TParticle
	public	_bb_TPlanet
	public	_bb_TShot
	public	_bb_Thrust
	public	_bb_TurnCam
	public	_bb_Tweakseed
	public	_bb_UpdateBloom
	public	_bb_UpdateBrightness
	public	_bb_UpdateGlow
	public	_bb_UpdateGlow2
	public	_bb_UpdateGlowColor
	public	_bb_UpdateMesh
	public	_bb_UpdateRing
	public	_bb_UpdateScene
	public	_bb_VividLight
	public	_bb_WIDTH
	public	_bb_ambient
	public	_bb_ambientchannel
	public	_bb_bloomtexture
	public	_bb_brightmap
	public	_bb_col
	public	_bb_dot
	public	_bb_enginechannel
	public	_bb_engineloop
	public	_bb_fader
	public	_bb_flags
	public	_bb_fogtex
	public	_bb_hmap
	public	_bb_lasershot
	public	_bb_lit
	public	_bb_nameseed
	public	_bb_nmap
	public	_bb_sections
	public	_bb_starstex
	public	_bb_start
	public	_bb_startex
	public	_bb_status
	public	_bb_syllables
	public	_bb_thrustchannel
	public	_bb_thrustloop
	public	_bb_totaltime
	section	"code" code
__bb_main:
	push	ebp
	mov	ebp,esp
	sub	esp,228
	push	ebx
	push	esi
	push	edi
	cmp	dword [_1745],0
	je	_1746
	mov	eax,0
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
_1746:
	mov	dword [_1745],1
	mov	dword [_1418],_1419
	call	___bb_blitz_blitz
	call	___bb_directsoundaudio_directsoundaudio
	call	___bb_oggloader_oggloader
	call	___bb_tgaloader_tgaloader
	call	___bb_pngloader_pngloader
	call	___bb_random_random
	call	___bb_timer_timer
	call	___bb_minib3d_minib3d
	push	_bb_PixTBrush
	call	_bbObjectRegisterType
	add	esp,4
	push	_bb_PixTTexture
	call	_bbObjectRegisterType
	add	esp,4
	mov	eax,dword [_1374]
	and	eax,1
	cmp	eax,0
	jne	_1375
	call	_brl_linkedlist_CreateList
	inc	dword [eax+4]
	mov	dword [__bb_TAsteroid_List],eax
	or	dword [_1374],1
_1375:
	push	_bb_TAsteroid
	call	_bbObjectRegisterType
	add	esp,4
	mov	eax,dword [_1374]
	and	eax,2
	cmp	eax,0
	jne	_1377
	call	_brl_linkedlist_CreateList
	inc	dword [eax+4]
	mov	dword [__bb_TInfo_List],eax
	or	dword [_1374],2
_1377:
	push	_bb_TInfo
	call	_bbObjectRegisterType
	add	esp,4
	mov	eax,dword [_1374]
	and	eax,4
	cmp	eax,0
	jne	_1379
	call	_brl_linkedlist_CreateList
	inc	dword [eax+4]
	mov	dword [__bb_TParticle_List],eax
	or	dword [_1374],4
_1379:
	push	_bb_TParticle
	call	_bbObjectRegisterType
	add	esp,4
	mov	eax,dword [_1374]
	and	eax,8
	cmp	eax,0
	jne	_1381
	call	_brl_linkedlist_CreateList
	inc	dword [eax+4]
	mov	dword [__bb_TShot_List],eax
	or	dword [_1374],8
_1381:
	push	_bb_TShot
	call	_bbObjectRegisterType
	add	esp,4
	push	_bb_TPlanet
	call	_bbObjectRegisterType
	add	esp,4
	mov	eax,dword [_1374]
	and	eax,16
	cmp	eax,0
	jne	_1383
	call	_brl_linkedlist_CreateList
	inc	dword [eax+4]
	mov	dword [__bb_TDust_List],eax
	or	dword [_1374],16
_1383:
	push	_bb_TDust
	call	_bbObjectRegisterType
	add	esp,4
	mov	ebx,_18
	inc	dword [ebx+4]
	mov	eax,dword [_bbAppTitle]
	dec	dword [eax+4]
	jnz	_1387
	push	eax
	call	_bbGCFree
	add	esp,4
_1387:
	mov	dword [_bbAppTitle],ebx
	push	-1
	push	60
	push	2
	push	32
	push	600
	push	1024
	call	_sidesign_minib3d_Graphics3D
	add	esp,24
	mov	eax,dword [_1374]
	and	eax,32
	cmp	eax,0
	jne	_1388
	call	_bbMilliSecs
	mov	dword [_bb_start],eax
	or	dword [_1374],32
_1388:
	push	0
	push	_19
	call	_bb_PrintTime
	add	esp,8
	push	0
	push	_20
	call	_bb_PrintTime
	add	esp,8
	push	0
	push	_19
	call	_bb_PrintTime
	add	esp,8
	mov	eax,dword [_1374]
	and	eax,64
	cmp	eax,0
	jne	_1391
	push	1024
	push	_1389
	call	_bbArrayNew1D
	add	esp,8
	inc	dword [eax+4]
	mov	dword [_bb_Splitted],eax
	or	dword [_1374],64
_1391:
	mov	eax,dword [_1374]
	and	eax,128
	cmp	eax,0
	jne	_1393
	push	16
	call	_brl_bank_CreateBank
	add	esp,4
	inc	dword [eax+4]
	mov	dword [_bb_flags],eax
	or	dword [_1374],128
_1393:
	mov	eax,dword [_1374]
	and	eax,256
	cmp	eax,0
	jne	_1396
	push	3
	push	_1394
	call	_bbArrayNew1D
	add	esp,8
	inc	dword [eax+4]
	mov	dword [_bb_nameseed],eax
	or	dword [_1374],256
_1396:
	mov	eax,dword [_1374]
	and	eax,512
	cmp	eax,0
	jne	_1399
	push	1000
	push	_1397
	call	_bbArrayNew1D
	add	esp,8
	inc	dword [eax+4]
	mov	dword [_bb_sections],eax
	or	dword [_1374],512
_1399:
	mov	eax,dword [_1374]
	and	eax,1024
	cmp	eax,0
	jne	_1401
	push	10
	push	_104
	call	_sidesign_minib3d_LoadTexture
	add	esp,8
	inc	dword [eax+4]
	mov	dword [_bb_startex],eax
	or	dword [_1374],1024
_1401:
	mov	eax,dword [_1374]
	and	eax,2048
	cmp	eax,0
	jne	_1403
	push	10
	push	_105
	call	_sidesign_minib3d_LoadTexture
	add	esp,8
	inc	dword [eax+4]
	mov	dword [_bb_starstex],eax
	or	dword [_1374],2048
_1403:
	mov	eax,dword [_1374]
	and	eax,4096
	cmp	eax,0
	jne	_1405
	push	56
	push	_106
	call	_sidesign_minib3d_LoadTexture
	add	esp,8
	inc	dword [eax+4]
	mov	dword [_bb_fogtex],eax
	or	dword [_1374],4096
_1405:
	mov	eax,dword [_1374]
	and	eax,8192
	cmp	eax,0
	jne	_1408
	push	513
	push	_1406
	call	_bbArrayNew1D
	add	esp,8
	inc	dword [eax+4]
	mov	dword [_bb_Permutation],eax
	or	dword [_1374],8192
_1408:
	mov	eax,dword [_1374]
	and	eax,16384
	cmp	eax,0
	jne	_1411
	push	512
	push	_1409
	call	_bbArrayNew1D
	add	esp,8
	inc	dword [eax+4]
	mov	dword [_bb_GRAYD],eax
	or	dword [_1374],16384
_1411:
	mov	eax,dword [_1374]
	and	eax,32768
	cmp	eax,0
	jne	_1414
	push	1024
	push	2048
	push	2
	push	_1412
	call	_bbArrayNew
	add	esp,16
	inc	dword [eax+4]
	mov	dword [_bb_hmap],eax
	or	dword [_1374],32768
_1414:
	mov	eax,dword [_1374]
	and	eax,65536
	cmp	eax,0
	jne	_1417
	push	1024
	push	2048
	push	2
	push	_1415
	call	_bbArrayNew
	add	esp,16
	inc	dword [eax+4]
	mov	dword [_bb_nmap],eax
	or	dword [_1374],65536
_1417:
_167:
	mov	dword [ebp-204],1
	mov	dword [ebp-200],0
	mov	dword [ebp-196],1
	mov	dword [ebp-176],1
	mov	dword [ebp-164],1
	mov	dword [ebp-220],0
	mov	dword [ebp-208],1
	mov	dword [ebp-172],1
	mov	dword [ebp-192],1
	mov	eax,dword [_1374]
	and	eax,131072
	cmp	eax,0
	jne	_1432
	push	3
	push	_468
	call	_bbArrayNew1D
	add	esp,8
	mov	dword [eax+24],255
	mov	dword [eax+28],128
	mov	dword [eax+32],0
	inc	dword [eax+4]
	mov	dword [_bb_StarColor],eax
	or	dword [_1374],131072
_1432:
	mov	eax,dword [_1374]
	and	eax,262144
	cmp	eax,0
	jne	_1435
	push	3
	push	_468
	call	_bbArrayNew1D
	add	esp,8
	mov	dword [eax+24],255
	mov	dword [eax+28],192
	mov	dword [eax+32],128
	inc	dword [eax+4]
	mov	dword [_bb_ShipColor],eax
	or	dword [_1374],262144
_1435:
	mov	eax,dword [_1374]
	and	eax,524288
	cmp	eax,0
	jne	_1438
	push	3
	push	_468
	call	_bbArrayNew1D
	add	esp,8
	mov	dword [eax+24],128
	mov	dword [eax+28],160
	mov	dword [eax+32],192
	inc	dword [eax+4]
	mov	dword [_bb_BloomColor],eax
	or	dword [_1374],524288
_1438:
	mov	eax,dword [_1374]
	and	eax,1048576
	cmp	eax,0
	jne	_1441
	push	3
	push	_468
	call	_bbArrayNew1D
	add	esp,8
	mov	dword [eax+24],0
	mov	dword [eax+28],0
	mov	dword [eax+32],0
	inc	dword [eax+4]
	mov	dword [_bb_AmbientColor],eax
	or	dword [_1374],1048576
_1441:
	mov	eax,dword [_1374]
	and	eax,2097152
	cmp	eax,0
	jne	_1446
	push	2
	push	_504
	call	_bbArrayNew1D
	add	esp,8
	mov	edx,_362
	inc	dword [edx+4]
	mov	dword [eax+24],edx
	mov	edx,_363
	inc	dword [edx+4]
	mov	dword [eax+28],edx
	inc	dword [eax+4]
	mov	dword [_bb_Switch],eax
	or	dword [_1374],2097152
_1446:
	mov	eax,dword [_1374]
	and	eax,4194304
	cmp	eax,0
	jne	_1451
	push	2
	push	_504
	call	_bbArrayNew1D
	add	esp,8
	mov	edx,_364
	inc	dword [edx+4]
	mov	dword [eax+24],edx
	mov	edx,_365
	inc	dword [edx+4]
	mov	dword [eax+28],edx
	inc	dword [eax+4]
	mov	dword [_bb_SwitchMilkyway],eax
	or	dword [_1374],4194304
_1451:
	mov	eax,dword [_1374]
	and	eax,8388608
	cmp	eax,0
	jne	_1456
	push	2
	push	_504
	call	_bbArrayNew1D
	add	esp,8
	mov	edx,_366
	inc	dword [edx+4]
	mov	dword [eax+24],edx
	mov	edx,_367
	inc	dword [edx+4]
	mov	dword [eax+28],edx
	inc	dword [eax+4]
	mov	dword [_bb_SwitchWeapons],eax
	or	dword [_1374],8388608
_1456:
	fldz
	fstp	dword [_bb_Thrust]
	mov	eax,dword [_1374]
	and	eax,16777216
	cmp	eax,0
	jne	_1457
	call	_brl_graphics_GraphicsWidth
	mov	dword [_bb_WIDTH],eax
	or	dword [_1374],16777216
_1457:
	mov	eax,dword [_1374]
	and	eax,33554432
	cmp	eax,0
	jne	_1458
	call	_brl_graphics_GraphicsHeight
	mov	dword [_bb_HEIGHT],eax
	or	dword [_1374],33554432
_1458:
	call	_bbMilliSecs
	mov	dword [_bb_start],eax
	mov	eax,dword [_1374]
	and	eax,67108864
	cmp	eax,0
	jne	_1460
	push	50
	push	_368
	call	_sidesign_minib3d_LoadTexture
	add	esp,8
	inc	dword [eax+4]
	mov	dword [_bb_EngineSpriteTexture],eax
	or	dword [_1374],67108864
_1460:
	mov	eax,dword [_1374]
	and	eax,134217728
	cmp	eax,0
	jne	_1462
	push	50
	push	_369
	call	_sidesign_minib3d_LoadTexture
	add	esp,8
	inc	dword [eax+4]
	mov	dword [_bb_BlasterTexture],eax
	or	dword [_1374],134217728
_1462:
	push	1
	push	_370
	call	_bb_PrintTime
	add	esp,8
	call	_bbMilliSecs
	mov	dword [_bb_start],eax
	mov	eax,dword [_1374]
	and	eax,268435456
	cmp	eax,0
	jne	_1468
	push	_bbNullObject
	push	_1466
	call	_sidesign_minib3d_LoadAnimMesh
	add	esp,8
	inc	dword [eax+4]
	mov	dword [_bb_Model],eax
	or	dword [_1374],268435456
_1468:
	mov	eax,dword [_1374]
	and	eax,536870912
	cmp	eax,0
	jne	_1471
	push	1
	push	_1469
	call	_sidesign_minib3d_LoadTexture
	add	esp,8
	inc	dword [eax+4]
	mov	dword [_bb_dot],eax
	or	dword [_1374],536870912
_1471:
	mov	eax,dword [_1374]
	and	eax,1073741824
	cmp	eax,0
	jne	_1474
	push	1
	push	_1472
	call	_sidesign_minib3d_LoadTexture
	add	esp,8
	inc	dword [eax+4]
	mov	dword [_bb_col],eax
	or	dword [_1374],1073741824
_1474:
	mov	eax,dword [_1374]
	and	eax,-2147483648
	cmp	eax,0
	jne	_1477
	push	1
	push	_1475
	call	_sidesign_minib3d_LoadTexture
	add	esp,8
	inc	dword [eax+4]
	mov	dword [_bb_lit],eax
	or	dword [_1374],-2147483648
_1477:
	mov	eax,dword [_1479]
	and	eax,1
	cmp	eax,0
	jne	_1480
	mov	eax,dword [_bb_ShipColor]
	push	dword [eax+8+24]
	mov	eax,dword [_bb_ShipColor]
	push	dword [eax+4+24]
	mov	eax,dword [_bb_ShipColor]
	push	dword [eax+24]
	call	_bb_CreateBrightmap
	add	esp,12
	inc	dword [eax+4]
	mov	dword [_bb_brightmap],eax
	or	dword [_1479],1
_1480:
	push	1
	push	_376
	call	_bb_PrintTime
	add	esp,8
	call	_bbMilliSecs
	mov	dword [_bb_start],eax
	mov	eax,dword [_1479]
	and	eax,2
	cmp	eax,0
	jne	_1482
	push	2
	push	_377
	call	_sidesign_minib3d_LoadTexture
	add	esp,8
	inc	dword [eax+4]
	mov	dword [_bb_CrossTexture],eax
	or	dword [_1479],2
_1482:
	mov	eax,dword [_1479]
	and	eax,4
	cmp	eax,0
	jne	_1484
	push	2
	push	_378
	call	_sidesign_minib3d_LoadTexture
	add	esp,8
	inc	dword [eax+4]
	mov	dword [_bb_CursorTexture],eax
	or	dword [_1479],4
_1484:
	push	1
	push	_379
	call	_bb_PrintTime
	add	esp,8
	call	_bbMilliSecs
	mov	dword [_bb_start],eax
	mov	eax,dword [_1479]
	and	eax,8
	cmp	eax,0
	jne	_1486
	push	2
	push	_104
	call	_sidesign_minib3d_LoadTexture
	add	esp,8
	inc	dword [eax+4]
	mov	dword [_bb_StarTexture],eax
	or	dword [_1479],8
_1486:
	mov	eax,dword [_1479]
	and	eax,16
	cmp	eax,0
	jne	_1488
	push	2
	push	_380
	call	_sidesign_minib3d_LoadTexture
	add	esp,8
	inc	dword [eax+4]
	mov	dword [_bb_SunTexture],eax
	or	dword [_1479],16
_1488:
	mov	eax,dword [_1479]
	and	eax,32
	cmp	eax,0
	jne	_1490
	push	2
	push	_381
	call	_sidesign_minib3d_LoadTexture
	add	esp,8
	inc	dword [eax+4]
	mov	dword [_bb_GlowTexture],eax
	or	dword [_1479],32
_1490:
	push	1
	push	_382
	call	_bb_PrintTime
	add	esp,8
	call	_bbMilliSecs
	mov	dword [_bb_start],eax
	mov	eax,dword [_1479]
	and	eax,64
	cmp	eax,0
	jne	_1492
	push	4
	push	_383
	call	_sidesign_minib3d_LoadTexture
	add	esp,8
	inc	dword [eax+4]
	mov	dword [_bb_QuadTex],eax
	or	dword [_1479],64
_1492:
	push	1
	push	_384
	call	_bb_PrintTime
	add	esp,8
	cmp	dword [ebp-208],1
	jne	_1493
	call	_bbMilliSecs
	mov	dword [_bb_start],eax
	push	1
	push	_385
	call	_brl_audio_LoadSound
	add	esp,8
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [_bb_ambient]
	dec	dword [eax+4]
	jnz	_1497
	push	eax
	call	_bbGCFree
	add	esp,4
_1497:
	mov	dword [_bb_ambient],ebx
	push	0
	push	_386
	call	_brl_audio_LoadSound
	add	esp,8
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [_bb_lasershot]
	dec	dword [eax+4]
	jnz	_1501
	push	eax
	call	_bbGCFree
	add	esp,4
_1501:
	mov	dword [_bb_lasershot],ebx
	push	1
	push	_387
	call	_brl_audio_LoadSound
	add	esp,8
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [_bb_engineloop]
	dec	dword [eax+4]
	jnz	_1505
	push	eax
	call	_bbGCFree
	add	esp,4
_1505:
	mov	dword [_bb_engineloop],ebx
	push	1
	push	_388
	call	_brl_audio_LoadSound
	add	esp,8
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [_bb_thrustloop]
	dec	dword [eax+4]
	jnz	_1509
	push	eax
	call	_bbGCFree
	add	esp,4
_1509:
	mov	dword [_bb_thrustloop],ebx
	push	1
	push	_389
	call	_bb_PrintTime
	add	esp,8
_1493:
	call	_bbMilliSecs
	mov	dword [_bb_start],eax
	call	_bbMilliSecs
	push	eax
	call	_brl_random_SeedRnd
	add	esp,4
	push	1060320051
	call	_bb_InitNoise
	add	esp,4
	call	_bbMilliSecs
	mov	dword [ebp-216],eax
	mov	dword [ebp-160],0
	mov	dword [ebp-180],60
	mov	dword [ebp-184],0
	mov	dword [ebp-212],60
	mov	dword [ebp-188],0
	push	_bbNullObject
	push	1114636288
	call	_brl_timer_CreateTimer
	add	esp,8
	mov	dword [ebp-224],eax
	mov	eax,dword [_1479]
	and	eax,128
	cmp	eax,0
	jne	_1518
	push	_bbNullObject
	call	_sidesign_minib3d_CreatePivot
	add	esp,4
	inc	dword [eax+4]
	mov	dword [_bb_Player],eax
	or	dword [_1479],128
_1518:
	mov	eax,dword [_1479]
	and	eax,256
	cmp	eax,0
	jne	_1520
	push	dword [_bb_Player]
	call	_sidesign_minib3d_CreateCamera
	add	esp,4
	inc	dword [eax+4]
	mov	dword [_bb_Camera],eax
	or	dword [_1479],256
_1520:
	push	0
	push	0
	push	0
	push	dword [_bb_Camera]
	call	_sidesign_minib3d_CameraClsColor
	add	esp,16
	push	1176256512
	push	1056964608
	push	dword [_bb_Camera]
	call	_sidesign_minib3d_CameraRange
	add	esp,12
	mov	eax,dword [_1479]
	and	eax,512
	cmp	eax,0
	jne	_1522
	push	dword [_bb_Camera]
	call	_sidesign_minib3d_CreateSprite
	add	esp,4
	inc	dword [eax+4]
	mov	dword [_bb_BloomSprite],eax
	or	dword [_1479],512
_1522:
	push	1
	push	dword [_bb_BloomSprite]
	call	_sidesign_minib3d_EntityFX
	add	esp,8
	push	dword [_bb_BloomSprite]
	call	_sidesign_minib3d_FlipMesh
	add	esp,4
	mov	eax,dword [_bb_BloomColor]
	mov	eax,dword [eax+8+24]
	mov	dword [ebp+-228],eax
	fild	dword [ebp+-228]
	sub	esp,4
	fstp	dword [esp]
	mov	eax,dword [_bb_BloomColor]
	mov	eax,dword [eax+4+24]
	mov	dword [ebp+-228],eax
	fild	dword [ebp+-228]
	sub	esp,4
	fstp	dword [esp]
	mov	eax,dword [_bb_BloomColor]
	mov	eax,dword [eax+24]
	mov	dword [ebp+-228],eax
	fild	dword [ebp+-228]
	sub	esp,4
	fstp	dword [esp]
	push	dword [_bb_BloomSprite]
	call	_sidesign_minib3d_EntityColor
	add	esp,16
	push	3
	push	dword [_bb_BloomSprite]
	call	_sidesign_minib3d_EntityBlend
	add	esp,8
	push	1048576000
	push	dword [_bb_BloomSprite]
	call	_sidesign_minib3d_EntityAlpha
	add	esp,8
	push	-999
	push	dword [_bb_BloomSprite]
	call	_sidesign_minib3d_EntityOrder
	add	esp,8
	mov	eax,dword [_1479]
	and	eax,1024
	cmp	eax,0
	jne	_1524
	push	1
	push	305
	push	256
	push	256
	call	_sidesign_minib3d_CreateTexture
	add	esp,16
	inc	dword [eax+4]
	mov	dword [_bb_bloomtexture],eax
	or	dword [_1479],1024
_1524:
	push	5
	push	dword [_bb_bloomtexture]
	call	_sidesign_minib3d_TextureBlend
	add	esp,8
	mov	eax,dword [_bb_HEIGHT]
	neg	eax
	mov	dword [ebp+-228],eax
	fild	dword [ebp+-228]
	mov	eax,dword [_bb_WIDTH]
	mov	dword [ebp+-228],eax
	fild	dword [ebp+-228]
	fmul	dword [_3341]
	mov	eax,dword [_bb_HEIGHT]
	mov	dword [ebp+-228],eax
	fild	dword [ebp+-228]
	fdivp	st1,st0
	fmulp	st1,st0
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatToInt
	add	esp,8
	push	eax
	push	dword [_bb_WIDTH]
	mov	eax,dword [_bb_HEIGHT]
	cdq
	and	edx,1
	add	eax,edx
	sar	eax,1
	push	eax
	mov	eax,dword [_bb_WIDTH]
	cdq
	and	edx,1
	add	eax,edx
	sar	eax,1
	push	eax
	push	dword [_bb_BloomSprite]
	call	_bb_PositionSprite
	add	esp,20
	mov	eax,dword [_1479]
	and	eax,2048
	cmp	eax,0
	jne	_1526
	push	dword [_bb_Camera]
	call	_sidesign_minib3d_CreateSprite
	add	esp,4
	inc	dword [eax+4]
	mov	dword [_bb_FadeSprite],eax
	or	dword [_1479],2048
_1526:
	push	1
	push	dword [_bb_FadeSprite]
	call	_sidesign_minib3d_EntityFX
	add	esp,8
	push	0
	push	0
	push	0
	push	dword [_bb_FadeSprite]
	call	_sidesign_minib3d_EntityColor
	add	esp,16
	push	0
	mov	eax,dword [_bb_WIDTH]
	cdq
	and	edx,1
	add	eax,edx
	sar	eax,1
	mov	dword [ebp+-228],eax
	fild	dword [ebp+-228]
	sub	esp,4
	fstp	dword [esp]
	push	0
	push	0
	push	dword [_bb_FadeSprite]
	call	_sidesign_minib3d_PositionEntity
	add	esp,20
	mov	eax,dword [_bb_HEIGHT]
	cdq
	and	edx,1
	add	eax,edx
	sar	eax,1
	mov	dword [ebp+-228],eax
	fild	dword [ebp+-228]
	sub	esp,4
	fstp	dword [esp]
	mov	eax,dword [_bb_WIDTH]
	cdq
	and	edx,1
	add	eax,edx
	sar	eax,1
	mov	dword [ebp+-228],eax
	fild	dword [ebp+-228]
	sub	esp,4
	fstp	dword [esp]
	push	dword [_bb_FadeSprite]
	call	_sidesign_minib3d_ScaleSprite
	add	esp,12
	push	-100
	push	dword [_bb_FadeSprite]
	call	_sidesign_minib3d_EntityOrder
	add	esp,8
	mov	eax,dword [_1479]
	and	eax,4096
	cmp	eax,0
	jne	_1528
	mov	eax,dword [_bb_Model]
	inc	dword [eax+4]
	mov	dword [_bb_Bones],eax
	or	dword [_1479],4096
_1528:
	push	0
	push	1065353216
	push	1065353216
	push	1065353216
	push	dword [_bb_Model]
	call	_sidesign_minib3d_ScaleEntity
	add	esp,20
	push	1
	push	dword [_bb_Player]
	push	dword [_bb_Model]
	call	_sidesign_minib3d_EntityParent
	add	esp,12
	push	1040187392
	push	dword [_bb_Model]
	call	_sidesign_minib3d_EntityShininess
	add	esp,8
	push	0
	push	0
	push	0
	push	0
	push	dword [_bb_Model]
	call	_sidesign_minib3d_PositionEntity
	add	esp,20
	push	4
	push	dword [_bb_dot]
	call	_sidesign_minib3d_TextureBlend
	add	esp,8
	push	5
	push	dword [_bb_brightmap]
	call	_sidesign_minib3d_TextureBlend
	add	esp,8
	push	3
	push	dword [_bb_lit]
	call	_sidesign_minib3d_TextureBlend
	add	esp,8
	push	5
	push	dword [_bb_col]
	call	_sidesign_minib3d_TextureBlend
	add	esp,8
	cmp	dword [ebp-164],1
	jne	_1529
	push	0
	push	0
	push	dword [_bb_dot]
	push	dword [_bb_Model]
	call	_sidesign_minib3d_EntityTexture
	add	esp,16
	push	1
	push	0
	push	dword [_bb_col]
	push	dword [_bb_Model]
	call	_sidesign_minib3d_EntityTexture
	add	esp,16
	push	2
	push	0
	push	dword [_bb_lit]
	push	dword [_bb_Model]
	call	_sidesign_minib3d_EntityTexture
	add	esp,16
	push	3
	push	0
	push	dword [_bb_brightmap]
	push	dword [_bb_Model]
	call	_sidesign_minib3d_EntityTexture
	add	esp,16
	push	1
	push	dword [_bb_Model]
	call	_sidesign_minib3d_EntityFX
	add	esp,8
	jmp	_1530
_1529:
	push	1
	push	0
	push	dword [_bb_col]
	push	dword [_bb_Model]
	call	_sidesign_minib3d_EntityTexture
	add	esp,16
	push	2
	push	0
	push	dword [_bb_lit]
	push	dword [_bb_Model]
	call	_sidesign_minib3d_EntityTexture
	add	esp,16
	push	3
	push	0
	push	dword [_bb_brightmap]
	push	dword [_bb_Model]
	call	_sidesign_minib3d_EntityTexture
	add	esp,16
	push	2
	push	dword [_bb_Model]
	call	_sidesign_minib3d_EntityFX
	add	esp,8
	push	1065353216
	push	255
	push	255
	push	255
	push	dword [_bb_Model]
	call	_bb_UpdateMesh
	add	esp,20
_1530:
	push	3
	push	dword [_bb_EngineSpriteTexture]
	call	_sidesign_minib3d_TextureBlend
	add	esp,8
	push	5
	push	dword [_bb_BlasterTexture]
	call	_sidesign_minib3d_TextureBlend
	add	esp,8
	mov	eax,dword [__sidesign_minib3d_TEntity_entity_list]
	mov	dword [ebp-124],eax
	mov	eax,dword [ebp-124]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+140]
	add	esp,4
	mov	dword [ebp-128],eax
	jmp	_390
_392:
	mov	eax,dword [ebp-128]
	push	_sidesign_minib3d_TBone
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+52]
	add	esp,4
	push	eax
	call	_bbObjectDowncast
	add	esp,8
	mov	dword [ebp-64],eax
	cmp	dword [ebp-64],_bbNullObject
	je	_390
	push	_393
	push	6
	mov	eax,dword [ebp-64]
	push	dword [eax+72]
	call	_brl_retro_Left
	add	esp,8
	push	eax
	call	_bbStringCompare
	add	esp,8
	cmp	eax,0
	jne	_1537
	mov	edi,1
	jmp	_1539
_396:
	push	_bb_TParticle
	call	_bbObjectNew
	add	esp,4
	mov	ebx,eax
	fld	qword [_3342]
	fstp	qword [ebp-20]
	mov	dword [ebp+-228],edi
	fild	dword [ebp+-228]
	sub	esp,8
	fstp	qword [esp]
	call	_bbSqr
	add	esp,8
	fld	qword [ebp-20]
	fmulp	st1,st0
	fstp	qword [ebp-20]
	fld	qword [ebp-20]
	fstp	qword [ebp-12]
	fld	qword [_3343]
	sub	esp,8
	fstp	qword [esp]
	mov	dword [ebp+-228],edi
	fild	dword [ebp+-228]
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatPow
	add	esp,16
	fld	qword [ebp-12]
	fdivrp	st1,st0
	fstp	qword [ebp-12]
	fld	qword [ebp-12]
	fstp	dword [ebx+32]
	mov	dword [ebx+68],edi
	mov	eax,_393
	inc	dword [eax+4]
	mov	esi,eax
	mov	eax,dword [ebx+56]
	dec	dword [eax+4]
	jnz	_1544
	push	eax
	call	_bbGCFree
	add	esp,4
_1544:
	mov	dword [ebx+56],esi
	mov	eax,dword [ebp-64]
	fld	dword [eax+20]
	fstp	dword [ebx+8]
	mov	eax,dword [ebp-64]
	fld	dword [eax+24]
	fstp	dword [ebx+12]
	mov	eax,dword [ebp-64]
	fld	dword [eax+28]
	fchs
	fstp	qword [ebp-44]
	fld1
	fstp	qword [ebp-28]
	mov	eax,edi
	add	eax,1
	mov	dword [ebp+-228],eax
	fild	dword [ebp+-228]
	sub	esp,8
	fstp	qword [esp]
	call	_bbExp
	add	esp,8
	fld	qword [ebp-28]
	fdivrp	st1,st0
	fstp	qword [ebp-28]
	fld	qword [ebp-28]
	fld	qword [_3344]
	fmulp	st1,st0
	fld	qword [ebp-44]
	fsubrp	st1,st0
	fstp	qword [ebp-44]
	fld	qword [ebp-44]
	fstp	dword [ebx+16]
	mov	dword [ebx+36],255
	mov	dword [ebx+40],128
	mov	dword [ebx+44],64
	push	0
	push	1056964608
	push	0
	push	1092616192
	push	1065353216
	mov	dword [ebp+-228],edi
	fild	dword [ebp+-228]
	sub	esp,4
	fstp	dword [esp]
	call	_bb_Normalize
	add	esp,24
	fstp	dword [ebx+48]
	push	dword [_bb_Model]
	call	_sidesign_minib3d_CreateSprite
	add	esp,4
	inc	dword [eax+4]
	mov	esi,eax
	mov	eax,dword [ebx+52]
	dec	dword [eax+4]
	jnz	_1548
	push	eax
	call	_bbGCFree
	add	esp,4
_1548:
	mov	dword [ebx+52],esi
	push	1
	push	dword [ebx+52]
	call	_sidesign_minib3d_EntityFX
	add	esp,8
	push	0
	push	0
	push	dword [_bb_EngineSpriteTexture]
	push	dword [ebx+52]
	call	_sidesign_minib3d_EntityTexture
	add	esp,16
	push	3
	push	dword [ebx+52]
	call	_sidesign_minib3d_EntityBlend
	add	esp,8
	push	0
	push	dword [ebx+16]
	push	dword [ebx+12]
	push	dword [ebx+8]
	push	dword [ebx+52]
	call	_sidesign_minib3d_PositionEntity
	add	esp,20
	mov	eax,dword [ebx+44]
	mov	dword [ebp+-228],eax
	fild	dword [ebp+-228]
	sub	esp,4
	fstp	dword [esp]
	mov	eax,dword [ebx+40]
	mov	dword [ebp+-228],eax
	fild	dword [ebp+-228]
	sub	esp,4
	fstp	dword [esp]
	mov	eax,dword [ebx+36]
	mov	dword [ebp+-228],eax
	fild	dword [ebp+-228]
	sub	esp,4
	fstp	dword [esp]
	push	dword [ebx+52]
	call	_sidesign_minib3d_EntityColor
	add	esp,16
	push	dword [ebx+48]
	push	dword [ebx+52]
	call	_sidesign_minib3d_EntityAlpha
	add	esp,8
	push	dword [ebx+32]
	push	dword [ebx+32]
	push	dword [ebx+52]
	call	_sidesign_minib3d_ScaleSprite
	add	esp,12
	mov	eax,-10
	sub	eax,edi
	push	eax
	push	dword [ebx+52]
	call	_sidesign_minib3d_EntityOrder
	add	esp,8
_394:
	add	edi,1
_1539:
	cmp	edi,5
	jle	_396
_395:
_1537:
_390:
	mov	eax,dword [ebp-128]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+48]
	add	esp,4
	cmp	eax,0
	jne	_392
_391:
	mov	eax,dword [_1479]
	and	eax,8192
	cmp	eax,0
	jne	_1550
	push	_bbNullObject
	call	_sidesign_minib3d_CreatePivot
	add	esp,4
	inc	dword [eax+4]
	mov	dword [_bb_MouseTarget],eax
	or	dword [_1479],8192
_1550:
	mov	eax,dword [_1479]
	and	eax,16384
	cmp	eax,0
	jne	_1552
	push	dword [_bb_Model]
	call	_sidesign_minib3d_CreatePivot
	add	esp,4
	inc	dword [eax+4]
	mov	dword [_bb_GunTarget],eax
	or	dword [_1479],16384
_1552:
	push	0
	push	1120403456
	push	0
	push	0
	push	dword [_bb_GunTarget]
	call	_sidesign_minib3d_PositionEntity
	add	esp,20
	mov	eax,dword [_1479]
	and	eax,32768
	cmp	eax,0
	jne	_1554
	push	dword [_bb_Camera]
	call	_sidesign_minib3d_CreateSprite
	add	esp,4
	inc	dword [eax+4]
	mov	dword [_bb_CrossSprite],eax
	or	dword [_1479],32768
_1554:
	push	0
	push	0
	push	dword [_bb_CrossTexture]
	push	dword [_bb_CrossSprite]
	call	_sidesign_minib3d_EntityTexture
	add	esp,16
	mov	eax,dword [_1479]
	and	eax,65536
	cmp	eax,0
	jne	_1556
	push	dword [_bb_Camera]
	call	_sidesign_minib3d_CreateSprite
	add	esp,4
	inc	dword [eax+4]
	mov	dword [_bb_CursorSprite],eax
	or	dword [_1479],65536
_1556:
	push	0
	push	0
	push	dword [_bb_CursorTexture]
	push	dword [_bb_CursorSprite]
	call	_sidesign_minib3d_EntityTexture
	add	esp,16
	push	-20
	push	dword [_bb_CursorSprite]
	call	_sidesign_minib3d_EntityOrder
	add	esp,8
	push	-30
	push	dword [_bb_CrossSprite]
	call	_sidesign_minib3d_EntityOrder
	add	esp,8
	push	1065353216
	push	dword [_bb_CursorSprite]
	call	_sidesign_minib3d_EntityAlpha
	add	esp,8
	push	1065353216
	push	dword [_bb_CrossSprite]
	call	_sidesign_minib3d_EntityAlpha
	add	esp,8
	push	3
	push	dword [_bb_SunTexture]
	call	_sidesign_minib3d_TextureBlend
	add	esp,8
	push	3
	push	dword [_bb_StarTexture]
	call	_sidesign_minib3d_TextureBlend
	add	esp,8
	mov	eax,dword [_1479]
	and	eax,131072
	cmp	eax,0
	jne	_1558
	push	_bbNullObject
	call	_sidesign_minib3d_CreateSprite
	add	esp,4
	inc	dword [eax+4]
	mov	dword [_bb_Sun],eax
	or	dword [_1479],131072
_1558:
	push	0
	push	0
	push	dword [_bb_SunTexture]
	push	dword [_bb_Sun]
	call	_sidesign_minib3d_EntityTexture
	add	esp,16
	push	1120403456
	push	1120403456
	push	dword [_bb_Sun]
	call	_sidesign_minib3d_ScaleSprite
	add	esp,12
	push	0
	push	0
	push	0
	push	0
	push	dword [_bb_Sun]
	call	_sidesign_minib3d_PositionEntity
	add	esp,20
	push	1
	push	dword [_bb_Sun]
	call	_sidesign_minib3d_EntityFX
	add	esp,8
	push	0
	push	1
	push	dword [_bb_Sun]
	call	_sidesign_minib3d_EntityType
	add	esp,12
	mov	eax,dword [_bb_StarColor]
	mov	eax,dword [eax+8+24]
	mov	dword [ebp+-228],eax
	fild	dword [ebp+-228]
	sub	esp,4
	fstp	dword [esp]
	mov	eax,dword [_bb_StarColor]
	mov	eax,dword [eax+4+24]
	mov	dword [ebp+-228],eax
	fild	dword [ebp+-228]
	sub	esp,4
	fstp	dword [esp]
	mov	eax,dword [_bb_StarColor]
	mov	eax,dword [eax+24]
	mov	dword [ebp+-228],eax
	fild	dword [ebp+-228]
	sub	esp,4
	fstp	dword [esp]
	push	dword [_bb_Sun]
	call	_sidesign_minib3d_EntityColor
	add	esp,16
	mov	eax,dword [_1479]
	and	eax,262144
	cmp	eax,0
	jne	_1560
	push	_bbNullObject
	call	_sidesign_minib3d_CreateSprite
	add	esp,4
	inc	dword [eax+4]
	mov	dword [_bb_Star],eax
	or	dword [_1479],262144
_1560:
	push	0
	push	0
	push	dword [_bb_StarTexture]
	push	dword [_bb_Star]
	call	_sidesign_minib3d_EntityTexture
	add	esp,16
	push	1128792064
	push	1128792064
	push	dword [_bb_Star]
	call	_sidesign_minib3d_ScaleSprite
	add	esp,12
	push	0
	push	0
	push	0
	push	0
	push	dword [_bb_Star]
	call	_sidesign_minib3d_PositionEntity
	add	esp,20
	push	1
	push	dword [_bb_Star]
	call	_sidesign_minib3d_EntityFX
	add	esp,8
	push	0
	push	1
	push	dword [_bb_Star]
	call	_sidesign_minib3d_EntityType
	add	esp,12
	push	3
	push	dword [_bb_Star]
	call	_sidesign_minib3d_EntityBlend
	add	esp,8
	mov	eax,dword [_bb_StarColor]
	mov	eax,dword [eax+8+24]
	mov	dword [ebp+-228],eax
	fild	dword [ebp+-228]
	sub	esp,4
	fstp	dword [esp]
	mov	eax,dword [_bb_StarColor]
	mov	eax,dword [eax+4+24]
	mov	dword [ebp+-228],eax
	fild	dword [ebp+-228]
	sub	esp,4
	fstp	dword [esp]
	mov	eax,dword [_bb_StarColor]
	mov	eax,dword [eax+24]
	mov	dword [ebp+-228],eax
	fild	dword [ebp+-228]
	sub	esp,4
	fstp	dword [esp]
	push	dword [_bb_Star]
	call	_sidesign_minib3d_EntityColor
	add	esp,16
	mov	eax,dword [_1479]
	and	eax,524288
	cmp	eax,0
	jne	_1562
	push	dword [_bb_Star]
	call	_sidesign_minib3d_CreateSprite
	add	esp,4
	inc	dword [eax+4]
	mov	dword [_bb_StarGlow],eax
	or	dword [_1479],524288
_1562:
	push	0
	push	0
	push	dword [_bb_GlowTexture]
	push	dword [_bb_StarGlow]
	call	_sidesign_minib3d_EntityTexture
	add	esp,16
	push	1145569280
	push	1145569280
	push	dword [_bb_StarGlow]
	call	_sidesign_minib3d_ScaleSprite
	add	esp,12
	push	0
	push	0
	push	0
	push	0
	push	dword [_bb_StarGlow]
	call	_sidesign_minib3d_PositionEntity
	add	esp,20
	mov	eax,dword [_bb_StarColor]
	mov	eax,dword [eax+8+24]
	mov	dword [ebp+-228],eax
	fild	dword [ebp+-228]
	sub	esp,4
	fstp	dword [esp]
	mov	eax,dword [_bb_StarColor]
	mov	eax,dword [eax+4+24]
	mov	dword [ebp+-228],eax
	fild	dword [ebp+-228]
	sub	esp,4
	fstp	dword [esp]
	mov	eax,dword [_bb_StarColor]
	mov	eax,dword [eax+24]
	mov	dword [ebp+-228],eax
	fild	dword [ebp+-228]
	sub	esp,4
	fstp	dword [esp]
	push	dword [_bb_StarGlow]
	call	_sidesign_minib3d_EntityColor
	add	esp,16
	push	3
	push	dword [_bb_StarGlow]
	call	_sidesign_minib3d_EntityBlend
	add	esp,8
	push	-1
	push	dword [_bb_StarGlow]
	call	_sidesign_minib3d_EntityOrder
	add	esp,8
	mov	eax,dword [_1479]
	and	eax,1048576
	cmp	eax,0
	jne	_1564
	push	_bbNullObject
	push	2
	call	_sidesign_minib3d_CreateLight
	add	esp,8
	inc	dword [eax+4]
	mov	dword [_bb_Light],eax
	or	dword [_1479],1048576
_1564:
	push	1203982336
	push	dword [_bb_Light]
	call	_sidesign_minib3d_LightRange
	add	esp,8
	push	0
	push	0
	push	0
	push	0
	push	dword [_bb_Light]
	call	_sidesign_minib3d_PositionEntity
	add	esp,20
	mov	eax,dword [_bb_StarColor]
	mov	eax,dword [eax+8+24]
	add	eax,255
	cdq
	and	edx,1
	add	eax,edx
	sar	eax,1
	mov	dword [ebp+-228],eax
	fild	dword [ebp+-228]
	sub	esp,4
	fstp	dword [esp]
	mov	eax,dword [_bb_StarColor]
	mov	eax,dword [eax+4+24]
	add	eax,255
	cdq
	and	edx,1
	add	eax,edx
	sar	eax,1
	mov	dword [ebp+-228],eax
	fild	dword [ebp+-228]
	sub	esp,4
	fstp	dword [esp]
	mov	eax,dword [_bb_StarColor]
	mov	eax,dword [eax+24]
	add	eax,255
	cdq
	and	edx,1
	add	eax,edx
	sar	eax,1
	mov	dword [ebp+-228],eax
	fild	dword [ebp+-228]
	sub	esp,4
	fstp	dword [esp]
	push	dword [_bb_Light]
	call	_sidesign_minib3d_LightColor
	add	esp,16
	mov	eax,dword [_bb_AmbientColor]
	mov	eax,dword [eax+8+24]
	mov	dword [ebp+-228],eax
	fild	dword [ebp+-228]
	sub	esp,4
	fstp	dword [esp]
	mov	eax,dword [_bb_AmbientColor]
	mov	eax,dword [eax+4+24]
	mov	dword [ebp+-228],eax
	fild	dword [ebp+-228]
	sub	esp,4
	fstp	dword [esp]
	mov	eax,dword [_bb_AmbientColor]
	mov	eax,dword [eax+24]
	mov	dword [ebp+-228],eax
	fild	dword [ebp+-228]
	sub	esp,4
	fstp	dword [esp]
	call	_sidesign_minib3d_AmbientLight
	add	esp,12
	cmp	dword [ebp-208],1
	jne	_1565
	push	_bbNullObject
	push	dword [_bb_ambient]
	call	_brl_audio_PlaySound
	add	esp,8
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [_bb_ambientchannel]
	dec	dword [eax+4]
	jnz	_1569
	push	eax
	call	_bbGCFree
	add	esp,4
_1569:
	mov	dword [_bb_ambientchannel],ebx
	push	0
	push	dword [_bb_ambientchannel]
	call	_brl_audio_SetChannelVolume
	add	esp,8
_1565:
	cmp	dword [ebp-208],1
	jne	_1570
	push	_bbNullObject
	push	dword [_bb_engineloop]
	call	_brl_audio_PlaySound
	add	esp,8
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [_bb_enginechannel]
	dec	dword [eax+4]
	jnz	_1574
	push	eax
	call	_bbGCFree
	add	esp,4
_1574:
	mov	dword [_bb_enginechannel],ebx
	push	_bbNullObject
	push	dword [_bb_thrustloop]
	call	_brl_audio_PlaySound
	add	esp,8
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [_bb_thrustchannel]
	dec	dword [eax+4]
	jnz	_1578
	push	eax
	call	_bbGCFree
	add	esp,4
_1578:
	mov	dword [_bb_thrustchannel],ebx
	push	0
	push	dword [_bb_enginechannel]
	call	_brl_audio_SetChannelVolume
	add	esp,8
	push	0
	push	dword [_bb_thrustchannel]
	call	_brl_audio_SetChannelVolume
	add	esp,8
_1570:
	mov	eax,dword [_1479]
	and	eax,2097152
	cmp	eax,0
	jne	_1580
	push	_bbNullObject
	call	_sidesign_minib3d_CreatePivot
	add	esp,4
	inc	dword [eax+4]
	mov	dword [_bb_Pivot],eax
	or	dword [_1479],2097152
_1580:
	mov	eax,dword [_1479]
	and	eax,4194304
	cmp	eax,0
	jne	_1582
	push	_bbNullObject
	call	_sidesign_minib3d_CreateMesh
	add	esp,4
	inc	dword [eax+4]
	mov	dword [_bb_QuadMesh],eax
	or	dword [_1479],4194304
_1582:
	mov	eax,dword [_1479]
	and	eax,8388608
	cmp	eax,0
	jne	_1584
	push	_bbNullObject
	push	dword [_bb_QuadMesh]
	call	_sidesign_minib3d_CreateSurface
	add	esp,8
	inc	dword [eax+4]
	mov	dword [_bb_QuadSurf],eax
	or	dword [_1479],8388608
_1584:
	push	0
	push	0
	push	dword [_bb_QuadTex]
	push	dword [_bb_QuadMesh]
	call	_sidesign_minib3d_EntityTexture
	add	esp,16
	push	5
	push	dword [_bb_QuadTex]
	call	_sidesign_minib3d_TextureBlend
	add	esp,8
	push	2
	push	dword [_bb_QuadMesh]
	call	_sidesign_minib3d_EntityFX
	add	esp,8
	push	1
	push	_397
	call	_bb_PrintTime
	add	esp,8
	call	_bbMilliSecs
	mov	dword [_bb_start],eax
	mov	eax,dword [_1479]
	and	eax,16777216
	cmp	eax,0
	jne	_1586
	push	0
	push	0
	push	0
	push	0
	push	1056964608
	push	128
	push	192
	push	255
	push	0
	push	0
	push	0
	push	0
	push	1167867904
	push	1109393408
	push	1092616192
	push	1045220557
	push	500
	call	_bb_InitMilkyway
	add	esp,68
	inc	dword [eax+4]
	mov	dword [_bb_MilkyWay1],eax
	or	dword [_1479],16777216
_1586:
	mov	eax,dword [_1479]
	and	eax,33554432
	cmp	eax,0
	jne	_1588
	push	0
	push	0
	push	0
	push	0
	push	1056964608
	push	255
	push	192
	push	128
	push	1065353216
	push	0
	push	0
	push	0
	push	1167867904
	push	1119092736
	push	1084227584
	push	1056964608
	push	1000
	call	_bb_InitMilkyway
	add	esp,68
	inc	dword [eax+4]
	mov	dword [_bb_MilkyWay2],eax
	or	dword [_1479],33554432
_1588:
	push	1
	push	_398
	call	_bb_PrintTime
	add	esp,8
	call	_bbMilliSecs
	mov	dword [_bb_start],eax
	mov	edi,1
	jmp	_1590
_401:
	push	_bb_TAsteroid
	call	_bbObjectNew
	add	esp,4
	mov	ebx,eax
	push	0
	push	0
	push	0
	push	0
	push	dword [_bb_Pivot]
	call	_sidesign_minib3d_PositionEntity
	add	esp,20
	fld	qword [_3345]
	sub	esp,8
	fstp	qword [esp]
	fld	qword [_3346]
	sub	esp,8
	fstp	qword [esp]
	call	_brl_random_Rnd
	add	esp,16
	sub	esp,8
	fstp	qword [esp]
	fld	qword [_3347]
	sub	esp,8
	fstp	qword [esp]
	fld	qword [_3348]
	sub	esp,8
	fstp	qword [esp]
	call	_brl_random_Rnd
	add	esp,16
	sub	esp,8
	fstp	qword [esp]
	call	_brl_random_Rnd
	add	esp,16
	fstp	dword [ebp-76]
	push	0
	fld	qword [_3349]
	sub	esp,8
	fstp	qword [esp]
	fld	qword [_3350]
	sub	esp,8
	fstp	qword [esp]
	call	_brl_random_Rnd
	add	esp,16
	sub	esp,4
	fstp	dword [esp]
	fldz
	sub	esp,8
	fstp	qword [esp]
	fld	qword [_3351]
	sub	esp,8
	fstp	qword [esp]
	call	_brl_random_Rnd
	add	esp,16
	sub	esp,4
	fstp	dword [esp]
	fldz
	sub	esp,8
	fstp	qword [esp]
	fldz
	sub	esp,8
	fstp	qword [esp]
	fld	qword [_3352]
	sub	esp,8
	fstp	qword [esp]
	fld	qword [_3353]
	sub	esp,8
	fstp	qword [esp]
	call	_brl_random_Rnd
	add	esp,16
	sub	esp,8
	fstp	qword [esp]
	call	_brl_random_Rnd
	add	esp,16
	sub	esp,8
	fstp	qword [esp]
	call	_brl_random_Rnd
	add	esp,16
	sub	esp,4
	fstp	dword [esp]
	push	dword [_bb_Pivot]
	call	_sidesign_minib3d_RotateEntity
	add	esp,20
	fld	dword [ebp-76]
	fmul	dword [_3354]
	sub	esp,4
	fstp	dword [esp]
	push	0
	push	0
	push	dword [_bb_Pivot]
	call	_sidesign_minib3d_MoveEntity
	add	esp,16
	mov	eax,dword [_bb_QuadMesh]
	inc	dword [eax+4]
	mov	esi,eax
	mov	eax,dword [ebx+68]
	dec	dword [eax+4]
	jnz	_1596
	push	eax
	call	_bbGCFree
	add	esp,4
_1596:
	mov	dword [ebx+68],esi
	mov	eax,dword [_bb_QuadSurf]
	inc	dword [eax+4]
	mov	esi,eax
	mov	eax,dword [ebx+72]
	dec	dword [eax+4]
	jnz	_1600
	push	eax
	call	_bbGCFree
	add	esp,4
_1600:
	mov	dword [ebx+72],esi
	push	0
	push	dword [_bb_Pivot]
	call	_sidesign_minib3d_EntityX
	add	esp,8
	fstp	dword [ebx+8]
	push	0
	push	dword [_bb_Pivot]
	call	_sidesign_minib3d_EntityY
	add	esp,8
	fstp	dword [ebx+12]
	push	0
	push	dword [_bb_Pivot]
	call	_sidesign_minib3d_EntityZ
	add	esp,8
	fstp	dword [ebx+16]
	fldz
	sub	esp,8
	fstp	qword [esp]
	fldz
	sub	esp,8
	fstp	qword [esp]
	fld	qword [_3355]
	sub	esp,8
	fstp	qword [esp]
	fld	qword [_3356]
	sub	esp,8
	fstp	qword [esp]
	call	_brl_random_Rnd
	add	esp,16
	sub	esp,8
	fstp	qword [esp]
	call	_brl_random_Rnd
	add	esp,16
	sub	esp,8
	fstp	qword [esp]
	call	_brl_random_Rnd
	add	esp,16
	fld	qword [_3357]
	fmulp	st1,st0
	fstp	dword [ebx+20]
	fldz
	sub	esp,8
	fstp	qword [esp]
	fldz
	sub	esp,8
	fstp	qword [esp]
	fld	qword [_3358]
	sub	esp,8
	fstp	qword [esp]
	fld	qword [_3359]
	sub	esp,8
	fstp	qword [esp]
	call	_brl_random_Rnd
	add	esp,16
	sub	esp,8
	fstp	qword [esp]
	call	_brl_random_Rnd
	add	esp,16
	sub	esp,8
	fstp	qword [esp]
	call	_brl_random_Rnd
	add	esp,16
	fld	qword [_3360]
	fmulp	st1,st0
	fstp	dword [ebx+24]
	fldz
	sub	esp,8
	fstp	qword [esp]
	fldz
	sub	esp,8
	fstp	qword [esp]
	fld	qword [_3361]
	sub	esp,8
	fstp	qword [esp]
	fld	qword [_3362]
	sub	esp,8
	fstp	qword [esp]
	call	_brl_random_Rnd
	add	esp,16
	sub	esp,8
	fstp	qword [esp]
	call	_brl_random_Rnd
	add	esp,16
	sub	esp,8
	fstp	qword [esp]
	call	_brl_random_Rnd
	add	esp,16
	fld	qword [_3363]
	fmulp	st1,st0
	fstp	dword [ebx+28]
	push	0
	push	1132396544
	push	1115684864
	push	1060320051
	push	-1087163597
	push	9999
	push	0
	push	42
	push	1082130432
	push	dword [ebx+16]
	push	dword [ebx+12]
	push	dword [ebx+8]
	call	_bb_Perlin3D
	add	esp,28
	sub	esp,4
	fstp	dword [esp]
	call	_bb_Normalize
	add	esp,24
	fstp	dword [ebp-72]
	fld	dword [ebp-72]
	fdiv	dword [_3364]
	fmul	dword [_3365]
	fstp	dword [ebx+56]
	fldz
	sub	esp,8
	fstp	qword [esp]
	fld	qword [_3366]
	sub	esp,8
	fstp	qword [esp]
	call	_brl_random_Rnd
	add	esp,16
	fstp	dword [ebx+32]
	fld	qword [_3367]
	sub	esp,8
	fstp	qword [esp]
	fld	qword [_3368]
	sub	esp,8
	fstp	qword [esp]
	call	_brl_random_Rnd
	add	esp,16
	fstp	dword [ebx+36]
	push	3
	push	0
	call	_brl_random_Rand
	add	esp,8
	mov	dword [ebx+64],eax
	cmp	dword [ebx+64],2
	jle	_1602
	fld	dword [ebx+56]
	fstp	qword [ebp-60]
	fld	qword [_3369]
	sub	esp,8
	fstp	qword [esp]
	fld1
	sub	esp,8
	fstp	qword [esp]
	call	_brl_random_Rnd
	add	esp,16
	fld	qword [ebp-60]
	fmulp	st1,st0
	fstp	qword [ebp-60]
	fld	qword [ebp-60]
	fstp	dword [ebx+56]
_1602:
	fld	dword [ebp-72]
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatToInt
	add	esp,8
	mov	dword [ebx+40],eax
	fld	dword [ebp-72]
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatToInt
	add	esp,8
	mov	dword [ebx+44],eax
	fld	dword [ebp-72]
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatToInt
	add	esp,8
	mov	dword [ebx+48],eax
	mov	eax,ebx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+48]
	add	esp,4
_399:
	add	edi,1
_1590:
	cmp	edi,25000
	jle	_401
_400:
	push	1
	push	_1606
	call	_bb_PrintTime
	add	esp,8
	push	0
	push	_295
	push	dword [_bb_totaltime]
	call	_bbStringFromInt
	add	esp,4
	push	eax
	push	_404
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bb_PrintTime
	add	esp,8
	push	0
	push	_19
	call	_bb_PrintTime
	add	esp,8
	push	0
	push	_405
	call	_bb_PrintTime
	add	esp,8
	push	0
	push	_19
	call	_bb_PrintTime
	add	esp,8
	push	_bb_TPlanet
	call	_bbObjectNew
	add	esp,4
	mov	dword [ebp-156],eax
	mov	eax,dword [ebp-156]
	push	0
	push	_360
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+48]
	add	esp,12
	mov	eax,dword [ebp-156]
	mov	dword [eax+8],7
	mov	eax,dword [ebp-156]
	mov	dword [eax+12],1024
	mov	eax,dword [ebp-156]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+52]
	add	esp,4
	mov	eax,dword [ebp-156]
	push	0
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+56]
	add	esp,8
	push	1
	push	dword [_bb_Light]
	mov	eax,dword [ebp-156]
	push	dword [eax+300]
	call	_sidesign_minib3d_EntityParent
	add	esp,12
	push	0
	push	1120403456
	push	1120403456
	push	1120403456
	mov	eax,dword [ebp-156]
	push	dword [eax+300]
	call	_sidesign_minib3d_ScaleEntity
	add	esp,20
	push	0
	push	1167867904
	push	0
	push	0
	mov	eax,dword [ebp-156]
	push	dword [eax+300]
	call	_sidesign_minib3d_PositionEntity
	add	esp,20
	push	1
	push	1
	mov	eax,dword [ebp-156]
	push	dword [eax+272]
	call	_sidesign_minib3d_EntityPickMode
	add	esp,12
	push	0
	push	1120403456
	mov	eax,dword [ebp-156]
	push	dword [eax+272]
	call	_sidesign_minib3d_EntityRadius
	add	esp,12
	push	0
	push	dword [_bb_Light]
	mov	eax,dword [ebp-156]
	push	dword [eax+300]
	call	_sidesign_minib3d_PointEntity
	add	esp,12
	push	0
	push	dword [_bb_Light]
	mov	eax,dword [ebp-156]
	push	dword [eax+296]
	call	_sidesign_minib3d_PointEntity
	add	esp,12
	push	0
	push	dword [_bb_Light]
	mov	eax,dword [ebp-156]
	push	dword [eax+288]
	call	_sidesign_minib3d_PointEntity
	add	esp,12
	mov	eax,dword [_bb_HEIGHT]
	cdq
	and	edx,1
	add	eax,edx
	sar	eax,1
	push	eax
	mov	eax,dword [_bb_WIDTH]
	cdq
	and	edx,1
	add	eax,edx
	sar	eax,1
	push	eax
	call	_brl_system_MoveMouse
	add	esp,8
	call	_brl_system_HideMouse
	push	0
	push	0
	mov	eax,dword [ebp-156]
	push	dword [eax+300]
	call	_sidesign_minib3d_EntityZ
	add	esp,8
	fadd	dword [_3370]
	sub	esp,4
	fstp	dword [esp]
	push	0
	mov	eax,dword [ebp-156]
	push	dword [eax+300]
	call	_sidesign_minib3d_EntityY
	add	esp,8
	fsub	dword [_3371]
	sub	esp,4
	fstp	dword [esp]
	push	0
	mov	eax,dword [ebp-156]
	push	dword [eax+300]
	call	_sidesign_minib3d_EntityX
	add	esp,8
	fsub	dword [_3372]
	sub	esp,4
	fstp	dword [esp]
	push	dword [_bb_Player]
	call	_sidesign_minib3d_PositionEntity
	add	esp,20
	push	0
	push	dword [_bb_Star]
	push	dword [_bb_Player]
	call	_sidesign_minib3d_PointEntity
	add	esp,12
	push	0
	push	-1042284544
	push	1106247680
	push	-1049624576
	push	dword [_bb_Player]
	call	_sidesign_minib3d_TurnEntity
	add	esp,20
	call	_bbMilliSecs
	mov	dword [ebp-168],eax
	mov	eax,dword [_1479]
	and	eax,67108864
	cmp	eax,0
	jne	_1614
	push	_bbNullObject
	call	_sidesign_minib3d_CreatePivot
	add	esp,4
	inc	dword [eax+4]
	mov	dword [_bb_ShotStart],eax
	or	dword [_1479],67108864
_1614:
	mov	eax,dword [_1479]
	and	eax,134217728
	cmp	eax,0
	jne	_1616
	push	_bbNullObject
	call	_sidesign_minib3d_CreatePivot
	add	esp,4
	inc	dword [eax+4]
	mov	dword [_bb_ShotEnd],eax
	or	dword [_1479],134217728
_1616:
	push	0
	push	_19
	call	_bb_PrintTime
	add	esp,8
	push	0
	push	_407
	push	dword [_bb_totaltime]
	call	_bbStringFromInt
	add	esp,4
	push	eax
	push	_406
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bb_PrintTime
	add	esp,8
	push	0
	push	_19
	call	_bb_PrintTime
	add	esp,8
	push	0
	push	_408
	call	_bb_PrintTime
	add	esp,8
	mov	edi,dword [__bb_TAsteroid_List]
	mov	eax,edi
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+140]
	add	esp,4
	mov	dword [ebp-120],eax
	jmp	_409
_411:
	mov	eax,dword [ebp-120]
	push	_bb_TAsteroid
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+52]
	add	esp,4
	push	eax
	call	_bbObjectDowncast
	add	esp,8
	mov	esi,eax
	cmp	esi,_bbNullObject
	je	_409
	mov	eax,esi
	push	1
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+56]
	add	esp,8
	push	1
	push	dword [_bb_Camera]
	call	_sidesign_minib3d_EntityZ
	add	esp,8
	sub	esp,4
	fstp	dword [esp]
	push	1
	push	dword [_bb_Camera]
	call	_sidesign_minib3d_EntityY
	add	esp,8
	sub	esp,4
	fstp	dword [esp]
	push	1
	push	dword [_bb_Camera]
	call	_sidesign_minib3d_EntityX
	add	esp,8
	sub	esp,4
	fstp	dword [esp]
	push	dword [esi+16]
	push	dword [esi+12]
	push	dword [esi+8]
	call	_bb_Distance3D
	add	esp,24
	fstp	dword [esi+76]
	call	_bbMilliSecs
	mov	ebx,eax
	fld	dword [esi+76]
	fdiv	dword [_3373]
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatToInt
	add	esp,8
	push	eax
	push	0
	call	_brl_random_Rand
	add	esp,8
	add	ebx,eax
	mov	dword [esi+80],ebx
_409:
	mov	eax,dword [ebp-120]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+48]
	add	esp,4
	cmp	eax,0
	jne	_411
_410:
	mov	ebx,1
	jmp	_1625
_414:
	fld	qword [_3374]
	sub	esp,8
	fstp	qword [esp]
	fld	qword [_3375]
	sub	esp,8
	fstp	qword [esp]
	call	_brl_random_Rnd
	add	esp,16
	sub	esp,4
	fstp	dword [esp]
	fld	qword [_3376]
	sub	esp,8
	fstp	qword [esp]
	fld	qword [_3377]
	sub	esp,8
	fstp	qword [esp]
	call	_brl_random_Rnd
	add	esp,16
	sub	esp,4
	fstp	dword [esp]
	fld	qword [_3378]
	sub	esp,8
	fstp	qword [esp]
	fld	qword [_3379]
	sub	esp,8
	fstp	qword [esp]
	call	_brl_random_Rnd
	add	esp,16
	sub	esp,4
	fstp	dword [esp]
	call	dword [_bb_TDust+48]
	add	esp,12
_412:
	add	ebx,1
_1625:
	cmp	ebx,1000
	jle	_414
_413:
	call	_brl_polledinput_WaitKey
	jmp	_415
_417:
	mov	dword [ebp-144],0
	call	_bbMilliSecs
	mov	dword [ebp-136],0
	mov	dword [ebp-140],0
	mov	dword [ebp-148],0
	mov	dword [ebp-132],0
	push	1067450368
	push	dword [_bb_Player]
	call	_bb_Movement
	add	esp,8
	fld	dword [_bb_fader]
	fldz
	fxch	st1
	fucompp
	fnstsw	ax
	sahf
	setbe	al
	movzx	eax,al
	cmp	eax,0
	jne	_1631
	fld	dword [_bb_fader]
	fsub	dword [_3380]
	fstp	dword [_bb_fader]
	push	dword [_bb_fader]
	push	dword [_bb_FadeSprite]
	call	_sidesign_minib3d_EntityAlpha
	add	esp,8
	cmp	dword [ebp-208],1
	jne	_1632
	push	1
	push	1048576000
	push	0
	push	0
	push	1065353216
	push	dword [_bb_fader]
	call	_bb_Normalize
	add	esp,24
	sub	esp,4
	fstp	dword [esp]
	push	dword [_bb_ambientchannel]
	call	_brl_audio_SetChannelVolume
	add	esp,8
_1632:
_1631:
	push	27
	call	_brl_polledinput_KeyHit
	add	esp,4
	cmp	eax,0
	je	_1633
	call	_bbEnd
_1633:
	push	32
	call	_brl_polledinput_KeyHit
	add	esp,4
	cmp	eax,0
	je	_1634
	mov	eax,1
	sub	eax,dword [ebp-220]
	mov	dword [ebp-220],eax
_1634:
	push	66
	call	_brl_polledinput_KeyHit
	add	esp,4
	cmp	eax,0
	je	_1635
	mov	eax,1
	sub	eax,dword [ebp-204]
	mov	dword [ebp-204],eax
_1635:
	push	86
	call	_brl_polledinput_KeyHit
	add	esp,4
	cmp	eax,0
	je	_1636
	mov	eax,1
	sub	eax,dword [ebp-200]
	mov	dword [ebp-200],eax
_1636:
	push	77
	call	_brl_polledinput_KeyHit
	add	esp,4
	cmp	eax,0
	je	_1637
	mov	eax,1
	sub	eax,dword [ebp-192]
	mov	dword [ebp-192],eax
_1637:
	push	73
	call	_brl_polledinput_KeyHit
	add	esp,4
	cmp	eax,0
	je	_1638
	mov	eax,1
	sub	eax,dword [ebp-196]
	mov	dword [ebp-196],eax
_1638:
	push	83
	call	_brl_polledinput_KeyHit
	add	esp,4
	cmp	eax,0
	je	_1639
	mov	eax,1
	sub	eax,dword [ebp-176]
	mov	dword [ebp-176],eax
_1639:
	push	71
	call	_brl_polledinput_KeyHit
	add	esp,4
	cmp	eax,0
	je	_1640
	mov	eax,1
	sub	eax,dword [ebp-172]
	mov	dword [ebp-172],eax
_1640:
	push	78
	call	_brl_polledinput_KeyHit
	add	esp,4
	cmp	eax,0
	je	_1641
	mov	eax,1
	sub	eax,dword [ebp-164]
	mov	dword [ebp-164],eax
	cmp	dword [ebp-164],1
	jne	_1642
	push	0
	push	0
	push	dword [_bb_dot]
	push	dword [_bb_Model]
	call	_sidesign_minib3d_EntityTexture
	add	esp,16
	push	1
	push	0
	push	dword [_bb_col]
	push	dword [_bb_Model]
	call	_sidesign_minib3d_EntityTexture
	add	esp,16
	push	2
	push	0
	push	dword [_bb_lit]
	push	dword [_bb_Model]
	call	_sidesign_minib3d_EntityTexture
	add	esp,16
	push	3
	push	0
	push	dword [_bb_brightmap]
	push	dword [_bb_Model]
	call	_sidesign_minib3d_EntityTexture
	add	esp,16
	push	1
	push	dword [_bb_Model]
	call	_sidesign_minib3d_EntityFX
	add	esp,8
	jmp	_1643
_1642:
	push	0
	push	0
	push	_bbNullObject
	push	dword [_bb_Model]
	call	_sidesign_minib3d_EntityTexture
	add	esp,16
	push	1
	push	0
	push	dword [_bb_col]
	push	dword [_bb_Model]
	call	_sidesign_minib3d_EntityTexture
	add	esp,16
	push	2
	push	0
	push	dword [_bb_lit]
	push	dword [_bb_Model]
	call	_sidesign_minib3d_EntityTexture
	add	esp,16
	push	3
	push	0
	push	dword [_bb_brightmap]
	push	dword [_bb_Model]
	call	_sidesign_minib3d_EntityTexture
	add	esp,16
	push	2
	push	dword [_bb_Model]
	call	_sidesign_minib3d_EntityFX
	add	esp,8
	push	1065353216
	push	255
	push	255
	push	255
	push	dword [_bb_Model]
	call	_bb_UpdateMesh
	add	esp,20
_1643:
_1641:
	cmp	dword [ebp-176],1
	jne	_1644
	push	dword [_bb_Model]
	call	_sidesign_minib3d_ShowEntity
	add	esp,4
	push	dword [_bb_CursorSprite]
	call	_sidesign_minib3d_ShowEntity
	add	esp,4
	push	dword [_bb_CrossSprite]
	call	_sidesign_minib3d_ShowEntity
	add	esp,4
	push	0
	push	dword [_bb_Camera]
	push	dword [_bb_GunTarget]
	call	_sidesign_minib3d_PointEntity
	add	esp,12
	push	1
	push	dword [_bb_GunTarget]
	call	_sidesign_minib3d_EntityZ
	add	esp,8
	sub	esp,4
	fstp	dword [esp]
	push	1
	push	dword [_bb_GunTarget]
	call	_sidesign_minib3d_EntityY
	add	esp,8
	sub	esp,4
	fstp	dword [esp]
	push	1
	push	dword [_bb_GunTarget]
	call	_sidesign_minib3d_EntityX
	add	esp,8
	sub	esp,4
	fstp	dword [esp]
	push	dword [_bb_Camera]
	call	_sidesign_minib3d_CameraProject
	add	esp,16
	call	_sidesign_minib3d_ProjectedX
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatToInt
	add	esp,8
	mov	ebx,eax
	call	_sidesign_minib3d_ProjectedY
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatToInt
	add	esp,8
	push	32
	push	32
	push	eax
	push	ebx
	push	dword [_bb_CrossSprite]
	call	_bb_PositionSprite
	add	esp,20
	push	32
	push	32
	call	_brl_polledinput_MouseY
	push	eax
	call	_brl_polledinput_MouseX
	push	eax
	push	dword [_bb_CursorSprite]
	call	_bb_PositionSprite
	add	esp,20
	jmp	_1647
_1644:
	push	dword [_bb_Model]
	call	_sidesign_minib3d_HideEntity
	add	esp,4
	push	dword [_bb_CursorSprite]
	call	_sidesign_minib3d_HideEntity
	add	esp,4
	push	dword [_bb_CrossSprite]
	call	_sidesign_minib3d_HideEntity
	add	esp,4
_1647:
	cmp	dword [ebp-164],1
	jne	_1648
	push	_bbNullObject
	call	_sidesign_minib3d_CreatePivot
	add	esp,4
	mov	esi,eax
	push	0
	push	1
	push	dword [_bb_Model]
	call	_sidesign_minib3d_EntityZ
	add	esp,8
	sub	esp,4
	fstp	dword [esp]
	push	1
	push	dword [_bb_Model]
	call	_sidesign_minib3d_EntityY
	add	esp,8
	sub	esp,4
	fstp	dword [esp]
	push	1
	push	dword [_bb_Model]
	call	_sidesign_minib3d_EntityX
	add	esp,8
	sub	esp,4
	fstp	dword [esp]
	push	esi
	call	_sidesign_minib3d_PositionEntity
	add	esp,20
	push	_bbNullObject
	call	_sidesign_minib3d_CreatePivot
	add	esp,4
	mov	ebx,eax
	push	0
	push	1
	push	dword [_bb_Light]
	call	_sidesign_minib3d_EntityZ
	add	esp,8
	sub	esp,4
	fstp	dword [esp]
	push	1
	push	dword [_bb_Light]
	call	_sidesign_minib3d_EntityY
	add	esp,8
	sub	esp,4
	fstp	dword [esp]
	push	1
	push	dword [_bb_Light]
	call	_sidesign_minib3d_EntityX
	add	esp,8
	sub	esp,4
	fstp	dword [esp]
	push	ebx
	call	_sidesign_minib3d_PositionEntity
	add	esp,20
	push	ebx
	push	esi
	call	_sidesign_minib3d_EntityDistance
	add	esp,8
	fstp	dword [ebp-80]
	push	0
	push	ebx
	push	esi
	call	_sidesign_minib3d_PointEntity
	add	esp,12
	push	0
	push	0
	push	esi
	call	_sidesign_minib3d_EntityRoll
	add	esp,8
	sub	esp,4
	fstp	dword [esp]
	push	0
	push	esi
	call	_sidesign_minib3d_EntityYaw
	add	esp,8
	sub	esp,4
	fstp	dword [esp]
	push	0
	push	esi
	call	_sidesign_minib3d_EntityPitch
	add	esp,8
	sub	esp,4
	fstp	dword [esp]
	push	ebx
	call	_sidesign_minib3d_RotateEntity
	add	esp,20
	push	1065353216
	push	0
	push	0
	push	ebx
	call	_sidesign_minib3d_MoveEntity
	add	esp,16
	push	0
	push	ebx
	call	_sidesign_minib3d_EntityX
	add	esp,8
	fadd	dword [_3381]
	fmul	dword [_3382]
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatToInt
	add	esp,8
	mov	edi,eax
	push	0
	push	ebx
	call	_sidesign_minib3d_EntityZ
	add	esp,8
	fadd	dword [_3383]
	fmul	dword [_3384]
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatToInt
	add	esp,8
	mov	dword [ebp-84],eax
	push	1
	push	1121910784
	push	1124007936
	push	1203982336
	push	0
	push	dword [ebp-80]
	call	_bb_Normalize
	add	esp,24
	sub	esp,4
	fstp	dword [esp]
	mov	eax,dword [ebp-84]
	mov	dword [ebp+-228],eax
	fild	dword [ebp+-228]
	sub	esp,4
	fstp	dword [esp]
	mov	dword [ebp+-228],edi
	fild	dword [ebp+-228]
	sub	esp,4
	fstp	dword [esp]
	push	dword [_bb_Model]
	call	_sidesign_minib3d_EntityColor
	add	esp,16
	push	esi
	call	_sidesign_minib3d_FreeEntity
	add	esp,4
	push	ebx
	call	_sidesign_minib3d_FreeEntity
	add	esp,4
_1648:
	mov	eax,dword [__bb_TParticle_List]
	mov	dword [ebp-100],eax
	mov	eax,dword [ebp-100]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+140]
	add	esp,4
	mov	dword [ebp-108],eax
	jmp	_418
_420:
	mov	eax,dword [ebp-108]
	push	_bb_TParticle
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+52]
	add	esp,4
	push	eax
	call	_bbObjectDowncast
	add	esp,8
	mov	esi,eax
	cmp	esi,_bbNullObject
	je	_418
	push	_393
	push	dword [esi+56]
	call	_bbStringCompare
	add	esp,8
	cmp	eax,0
	jne	_1660
	push	0
	push	1065353216
	push	0
	push	1036831948
	push	0
	fld	dword [_bb_Thrust]
	fmul	dword [_bb_Boost]
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatAbs
	add	esp,8
	sub	esp,4
	fstp	dword [esp]
	call	_bb_Normalize
	add	esp,24
	fstp	dword [ebp-4]
	mov	eax,dword [esi+36]
	mov	dword [ebp+-228],eax
	fild	dword [ebp+-228]
	fadd	dword [ebp-4]
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatToInt
	add	esp,8
	mov	dword [ebp-48],eax
	mov	eax,dword [esi+40]
	mov	dword [ebp+-228],eax
	fild	dword [ebp+-228]
	fadd	dword [ebp-4]
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatToInt
	add	esp,8
	mov	edi,eax
	mov	eax,dword [esi+44]
	mov	dword [ebp+-228],eax
	fild	dword [ebp+-228]
	fadd	dword [ebp-4]
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatToInt
	add	esp,8
	mov	ebx,eax
	fld	dword [esi+48]
	fstp	qword [ebp-36]
	fld	dword [esi+48]
	fdiv	dword [_3385]
	sub	esp,8
	fstp	qword [esp]
	fld	dword [esi+48]
	fchs
	fdiv	dword [_3386]
	sub	esp,8
	fstp	qword [esp]
	call	_brl_random_Rnd
	add	esp,16
	fld	qword [ebp-36]
	faddp	st1,st0
	fstp	qword [ebp-36]
	fld	qword [ebp-36]
	fld	dword [ebp-4]
	fdiv	dword [_3387]
	fmulp	st1,st0
	cmp	dword [ebp-48],255
	jle	_1666
	mov	dword [ebp-48],255
_1666:
	cmp	edi,224
	jle	_1667
	mov	edi,192
_1667:
	cmp	ebx,192
	jle	_1668
	mov	ebx,128
_1668:
	fld	dword [_3388]
	fxch	st1
	fucom	st1
	fxch	st1
	fstp	st0
	fnstsw	ax
	sahf
	setbe	al
	movzx	eax,al
	cmp	eax,0
	jne	_1669
	fstp	st0
	fld	dword [_3389]
_1669:
	sub	esp,4
	fstp	dword [esp]
	push	dword [esi+52]
	call	_sidesign_minib3d_EntityAlpha
	add	esp,8
	mov	dword [ebp+-228],ebx
	fild	dword [ebp+-228]
	sub	esp,4
	fstp	dword [esp]
	mov	dword [ebp+-228],edi
	fild	dword [ebp+-228]
	sub	esp,4
	fstp	dword [esp]
	mov	eax,dword [ebp-48]
	mov	dword [ebp+-228],eax
	fild	dword [ebp+-228]
	sub	esp,4
	fstp	dword [esp]
	push	dword [esi+52]
	call	_sidesign_minib3d_EntityColor
	add	esp,16
_1660:
	push	_198
	push	dword [esi+56]
	call	_bbStringCompare
	add	esp,8
	cmp	eax,0
	jne	_1670
	add	dword [ebp-144],1
	push	dword [esi+52]
	call	_sidesign_minib3d_ShowEntity
	add	esp,4
	fld	dword [esi+28]
	fld	dword [esi+60]
	fxch	st1
	fucompp
	fnstsw	ax
	sahf
	setb	al
	movzx	eax,al
	cmp	eax,0
	jne	_1671
	push	dword [esi+52]
	call	_sidesign_minib3d_ShowEntity
	add	esp,4
	push	0
	push	dword [esi+92]
	push	dword [esi+88]
	push	dword [esi+84]
	push	dword [_bb_ShotStart]
	call	_sidesign_minib3d_PositionEntity
	add	esp,20
	push	0
	push	dword [esi+80]
	push	dword [esi+76]
	push	dword [esi+72]
	push	dword [_bb_ShotEnd]
	call	_sidesign_minib3d_PositionEntity
	add	esp,20
	push	0
	push	dword [_bb_ShotEnd]
	push	dword [_bb_ShotStart]
	call	_sidesign_minib3d_PointEntity
	add	esp,12
	fld	dword [esi+64]
	fadd	dword [_bb_CurrentSpeed]
	sub	esp,4
	fstp	dword [esp]
	push	0
	push	0
	push	dword [_bb_ShotStart]
	call	_sidesign_minib3d_MoveEntity
	add	esp,16
	push	0
	push	dword [_bb_ShotStart]
	call	_sidesign_minib3d_EntityX
	add	esp,8
	fstp	dword [esi+84]
	push	0
	push	dword [_bb_ShotStart]
	call	_sidesign_minib3d_EntityY
	add	esp,8
	fstp	dword [esi+88]
	push	0
	push	dword [_bb_ShotStart]
	call	_sidesign_minib3d_EntityZ
	add	esp,8
	fstp	dword [esi+92]
	push	0
	push	dword [esi+92]
	push	dword [esi+88]
	push	dword [esi+84]
	push	dword [esi+52]
	call	_sidesign_minib3d_PositionEntity
	add	esp,20
	push	0
	push	dword [esi+104]
	push	dword [esi+100]
	push	dword [esi+96]
	push	dword [esi+52]
	call	_sidesign_minib3d_RotateEntity
	add	esp,20
	push	dword [esi+52]
	call	_sidesign_minib3d_FreeEntity
	add	esp,4
	mov	eax,esi
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+48]
	add	esp,4
	jmp	_1673
_1671:
	push	dword [esi+52]
	call	_sidesign_minib3d_ShowEntity
	add	esp,4
	push	0
	push	dword [esi+92]
	push	dword [esi+88]
	push	dword [esi+84]
	push	dword [_bb_ShotStart]
	call	_sidesign_minib3d_PositionEntity
	add	esp,20
	push	0
	push	dword [esi+80]
	push	dword [esi+76]
	push	dword [esi+72]
	push	dword [_bb_ShotEnd]
	call	_sidesign_minib3d_PositionEntity
	add	esp,20
	push	0
	push	dword [_bb_ShotEnd]
	push	dword [_bb_ShotStart]
	call	_sidesign_minib3d_PointEntity
	add	esp,12
	fld	dword [esi+64]
	fadd	dword [_bb_CurrentSpeed]
	sub	esp,4
	fstp	dword [esp]
	push	0
	push	0
	push	dword [_bb_ShotStart]
	call	_sidesign_minib3d_MoveEntity
	add	esp,16
	push	0
	push	dword [_bb_ShotStart]
	call	_sidesign_minib3d_EntityX
	add	esp,8
	fstp	dword [esi+84]
	push	0
	push	dword [_bb_ShotStart]
	call	_sidesign_minib3d_EntityY
	add	esp,8
	fstp	dword [esi+88]
	push	0
	push	dword [_bb_ShotStart]
	call	_sidesign_minib3d_EntityZ
	add	esp,8
	fstp	dword [esi+92]
	push	0
	push	dword [esi+92]
	push	dword [esi+88]
	push	dword [esi+84]
	push	dword [esi+52]
	call	_sidesign_minib3d_PositionEntity
	add	esp,20
	push	0
	push	dword [esi+104]
	push	dword [esi+100]
	push	dword [esi+96]
	push	dword [esi+52]
	call	_sidesign_minib3d_RotateEntity
	add	esp,20
	fld	dword [esi+28]
	fadd	dword [esi+64]
	fld	dword [esi+60]
	fxch	st1
	fucompp
	fnstsw	ax
	sahf
	setbe	al
	movzx	eax,al
	cmp	eax,0
	jne	_1674
	fld	dword [esi+60]
	fsub	dword [esi+28]
	fstp	dword [esi+64]
_1674:
	fld	dword [esi+64]
	fmul	dword [_3390]
	fstp	dword [esi+64]
	fld	dword [esi+28]
	fadd	dword [esi+64]
	fstp	dword [esi+28]
_1673:
_1670:
_418:
	mov	eax,dword [ebp-108]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+48]
	add	esp,4
	cmp	eax,0
	jne	_420
_419:
	mov	dword [ebp-152],1
	fld	dword [_bb_Boost]
	fld1
	fxch	st1
	fucompp
	fnstsw	ax
	sahf
	seta	al
	movzx	eax,al
	cmp	eax,0
	jne	_1675
	fld	dword [_bb_CurrentSpeed]
	fld1
	fxch	st1
	fucompp
	fnstsw	ax
	sahf
	seta	al
	movzx	eax,al
_1675:
	cmp	eax,0
	je	_1677
	mov	dword [ebp-152],0
_1677:
	push	1
	call	_brl_polledinput_MouseDown
	add	esp,4
	cmp	eax,0
	je	_1678
	call	_bbMilliSecs
	cmp	eax,dword [ebp-168]
	setg	al
	movzx	eax,al
_1678:
	cmp	eax,0
	je	_1680
	mov	eax,dword [ebp-152]
	cmp	eax,1
	sete	al
	movzx	eax,al
_1680:
	cmp	eax,0
	je	_1682
	call	_bbMilliSecs
	mov	dword [ebp+-228],eax
	fild	dword [ebp+-228]
	fadd	dword [_3391]
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatToInt
	add	esp,8
	mov	dword [ebp-168],eax
	push	_bb_TShot
	call	_bbObjectNew
	add	esp,4
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+52]
	add	esp,4
	cmp	dword [ebp-208],1
	jne	_1686
	push	_bbNullObject
	push	dword [_bb_lasershot]
	call	_brl_audio_PlaySound
	add	esp,8
	mov	ebx,eax
	push	1056964608
	push	ebx
	call	_brl_audio_SetChannelVolume
	add	esp,8
	fld	qword [_3392]
	sub	esp,8
	fstp	qword [esp]
	fld	qword [_3393]
	sub	esp,8
	fstp	qword [esp]
	call	_brl_random_Rnd
	add	esp,16
	sub	esp,4
	fstp	dword [esp]
	push	ebx
	call	_brl_audio_SetChannelPan
	add	esp,8
_1686:
_1682:
	cmp	dword [ebp-208],1
	jne	_1687
	push	1
	push	1056964608
	push	0
	push	1048576000
	push	0
	push	dword [_bb_Thrust]
	call	_bb_Normalize
	add	esp,24
	fstp	dword [ebp-68]
	push	1
	push	1056964608
	push	0
	push	1075838975
	push	1036831948
	fld	dword [_bb_Boost]
	fmul	dword [_bb_Thrust]
	sub	esp,4
	fstp	dword [esp]
	call	_bb_Normalize
	add	esp,24
	fstp	dword [ebp-88]
	push	1
	push	1056964608
	push	1040187392
	push	1075838975
	push	1036831948
	push	dword [_bb_CurrentSpeed]
	call	_bb_Normalize
	add	esp,24
	fstp	dword [ebp-92]
	push	dword [ebp-68]
	push	dword [_bb_enginechannel]
	call	_brl_audio_SetChannelVolume
	add	esp,8
	push	dword [ebp-88]
	push	dword [_bb_thrustchannel]
	call	_brl_audio_SetChannelVolume
	add	esp,8
	push	dword [ebp-92]
	push	dword [_bb_thrustchannel]
	call	_brl_audio_SetChannelRate
	add	esp,8
	push	dword [ebp-68]
	push	dword [_bb_enginechannel]
	call	_brl_audio_SetChannelRate
	add	esp,8
_1687:
	push	dword [ebp-156]
	call	_bb_UpdateScene
	add	esp,4
	push	1
	push	dword [_bb_Camera]
	call	_sidesign_minib3d_EntityX
	add	esp,8
	fstp	dword [ebp-112]
	push	1
	push	dword [_bb_Camera]
	call	_sidesign_minib3d_EntityY
	add	esp,8
	fstp	dword [ebp-104]
	push	1
	push	dword [_bb_Camera]
	call	_sidesign_minib3d_EntityZ
	add	esp,8
	fstp	dword [ebp-116]
	call	_bbMilliSecs
	mov	esi,eax
	mov	edi,dword [__bb_TAsteroid_List]
	mov	eax,edi
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+140]
	add	esp,4
	mov	dword [ebp-96],eax
	jmp	_421
_423:
	mov	eax,dword [ebp-96]
	push	_bb_TAsteroid
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+52]
	add	esp,4
	push	eax
	call	_bbObjectDowncast
	add	esp,8
	mov	ebx,eax
	cmp	ebx,_bbNullObject
	je	_421
	mov	dword [ebx+92],1
	cmp	esi,dword [ebx+84]
	jle	_1700
	push	dword [ebp-116]
	push	dword [ebp-104]
	push	dword [ebp-112]
	push	dword [ebx+16]
	push	dword [ebx+12]
	push	dword [ebx+8]
	call	_bb_Distance3D
	add	esp,24
	fstp	dword [ebx+76]
	mov	dword [ebp+-228],esi
	fild	dword [ebp+-228]
	fld	dword [ebx+76]
	fdiv	dword [_3394]
	mov	eax,dword [ebx+92]
	mov	dword [ebp+-228],eax
	fild	dword [ebp+-228]
	fmulp	st1,st0
	faddp	st1,st0
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatToInt
	add	esp,8
	mov	dword [ebx+84],eax
	mov	eax,ebx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+60]
	add	esp,4
	add	dword [ebp-132],1
_1700:
	fld	dword [ebx+76]
	fld	dword [_3395]
	fxch	st1
	fucompp
	fnstsw	ax
	sahf
	setae	al
	movzx	eax,al
	cmp	eax,0
	jne	_1702
	mov	eax,ebx
	push	1
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+56]
	add	esp,8
	add	dword [ebp-136],1
_1702:
	fld	dword [ebx+76]
	fld	dword [_3396]
	fxch	st1
	fucompp
	fnstsw	ax
	sahf
	seta	al
	movzx	eax,al
	cmp	eax,0
	je	_1704
	fld	dword [ebx+76]
	fld	dword [_3397]
	fxch	st1
	fucompp
	fnstsw	ax
	sahf
	setb	al
	movzx	eax,al
_1704:
	cmp	eax,0
	je	_1706
	cmp	esi,dword [ebx+80]
	jle	_1707
	mov	eax,ebx
	push	0
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+56]
	add	esp,8
	mov	dword [ebx+92],5
	mov	dword [ebp+-228],esi
	fild	dword [ebp+-228]
	fld	dword [ebx+76]
	fdiv	dword [_3398]
	faddp	st1,st0
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatToInt
	add	esp,8
	mov	dword [ebx+80],eax
_1707:
	add	dword [ebp-140],1
_1706:
	fld	dword [ebx+76]
	fld	dword [_3399]
	fxch	st1
	fucompp
	fnstsw	ax
	sahf
	setbe	al
	movzx	eax,al
	cmp	eax,0
	jne	_1709
	mov	eax,ebx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+52]
	add	esp,4
	mov	dword [ebx+92],10
	add	dword [ebp-148],1
_1709:
_421:
	mov	eax,dword [ebp-96]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+48]
	add	esp,4
	cmp	eax,0
	jne	_423
_422:
	push	1065353216
	call	_sidesign_minib3d_UpdateWorld
	add	esp,4
	push	dword [ebp-220]
	call	_sidesign_minib3d_Wireframe
	add	esp,4
	push	dword [_bb_BloomSprite]
	call	_sidesign_minib3d_HideEntity
	add	esp,4
	cmp	dword [ebp-204],1
	jne	_1711
	push	dword [ebp-156]
	call	_bb_UpdateBloom
	add	esp,4
_1711:
	cmp	dword [ebp-172],1
	jne	_1712
	mov	eax,dword [ebp-156]
	push	dword [eax+296]
	call	_sidesign_minib3d_ShowEntity
	add	esp,4
	mov	eax,dword [ebp-156]
	push	dword [eax+288]
	call	_sidesign_minib3d_ShowEntity
	add	esp,4
	mov	eax,dword [ebp-156]
	push	dword [eax+292]
	call	_sidesign_minib3d_ShowEntity
	add	esp,4
	jmp	_1713
_1712:
	mov	eax,dword [ebp-156]
	push	dword [eax+296]
	call	_sidesign_minib3d_HideEntity
	add	esp,4
	mov	eax,dword [ebp-156]
	push	dword [eax+288]
	call	_sidesign_minib3d_HideEntity
	add	esp,4
	mov	eax,dword [ebp-156]
	push	dword [eax+292]
	call	_sidesign_minib3d_HideEntity
	add	esp,4
_1713:
	cmp	dword [ebp-192],1
	jne	_1714
	push	dword [_bb_MilkyWay1]
	call	_sidesign_minib3d_HideEntity
	add	esp,4
	push	dword [_bb_MilkyWay2]
	call	_sidesign_minib3d_ShowEntity
	add	esp,4
	jmp	_1715
_1714:
	push	dword [_bb_MilkyWay1]
	call	_sidesign_minib3d_ShowEntity
	add	esp,4
	push	dword [_bb_MilkyWay2]
	call	_sidesign_minib3d_HideEntity
	add	esp,4
_1715:
	mov	eax,dword [ebp-156]
	push	dword [eax+288]
	call	_sidesign_minib3d_HideEntity
	add	esp,4
	call	_sidesign_minib3d_RenderWorld
	call	_sidesign_minib3d_BeginMax2D
	add	dword [ebp-160],1
	call	_bbMilliSecs
	sub	eax,dword [ebp-216]
	cmp	eax,1000
	jl	_1716
	call	_bbMilliSecs
	mov	dword [ebp-216],eax
	mov	eax,dword [ebp-160]
	mov	dword [ebp-180],eax
	mov	dword [ebp-160],0
	mov	eax,dword [ebp-180]
	add	dword [ebp-184],eax
	add	dword [ebp-188],1
	mov	eax,dword [ebp-184]
	mov	dword [ebp+-228],eax
	fild	dword [ebp+-228]
	fmul	dword [_3400]
	mov	eax,dword [ebp-188]
	mov	dword [ebp+-228],eax
	fild	dword [ebp+-228]
	fdivp	st1,st0
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatToInt
	add	esp,8
	mov	dword [ebp-212],eax
_1716:
	cmp	dword [ebp-196],1
	jne	_1717
	push	_bb_TInfo
	call	_bbObjectNew
	add	esp,4
	mov	ebx,eax
	push	20
	push	_66
	push	dword [ebp-212]
	call	_bbStringFromInt
	add	esp,4
	push	eax
	push	_39
	push	dword [ebp-180]
	call	_bbStringFromInt
	add	esp,4
	push	eax
	push	_424
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	push	eax
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+52]
	add	esp,12
	push	15
	mov	edx,dword [_bb_Switch]
	mov	eax,dword [ebp-200]
	push	dword [edx+eax*4+24]
	push	_425
	call	_bbStringConcat
	add	esp,8
	push	eax
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+52]
	add	esp,12
	push	15
	mov	edx,dword [_bb_Switch]
	mov	eax,dword [ebp-204]
	push	dword [edx+eax*4+24]
	push	_426
	call	_bbStringConcat
	add	esp,8
	push	eax
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+52]
	add	esp,12
	push	15
	mov	edx,dword [_bb_SwitchMilkyway]
	mov	eax,dword [ebp-192]
	push	dword [edx+eax*4+24]
	push	_427
	call	_bbStringConcat
	add	esp,8
	push	eax
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+52]
	add	esp,12
	push	15
	mov	edx,dword [_bb_Switch]
	mov	eax,dword [ebp-176]
	push	dword [edx+eax*4+24]
	push	_428
	call	_bbStringConcat
	add	esp,8
	push	eax
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+52]
	add	esp,12
	push	15
	mov	edx,dword [_bb_Switch]
	mov	eax,dword [ebp-196]
	push	dword [edx+eax*4+24]
	push	_429
	call	_bbStringConcat
	add	esp,8
	push	eax
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+52]
	add	esp,12
	push	15
	mov	edx,dword [_bb_Switch]
	mov	eax,dword [ebp-172]
	push	dword [edx+eax*4+24]
	push	_430
	call	_bbStringConcat
	add	esp,8
	push	eax
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+52]
	add	esp,12
	push	20
	mov	edx,dword [_bb_Switch]
	mov	eax,dword [ebp-164]
	push	dword [edx+eax*4+24]
	push	_431
	call	_bbStringConcat
	add	esp,8
	push	eax
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+52]
	add	esp,12
	push	15
	push	_433
	mov	eax,dword [ebp-132]
	mov	dword [ebp+-228],eax
	fild	dword [ebp+-228]
	fmul	dword [_3401]
	fdiv	dword [_3402]
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatToInt
	add	esp,8
	push	eax
	call	_bbStringFromInt
	add	esp,4
	push	eax
	push	_432
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	push	eax
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+52]
	add	esp,12
	push	15
	push	_433
	mov	eax,dword [ebp-136]
	mov	dword [ebp+-228],eax
	fild	dword [ebp+-228]
	fmul	dword [_3403]
	fdiv	dword [_3404]
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatToInt
	add	esp,8
	push	eax
	call	_bbStringFromInt
	add	esp,4
	push	eax
	push	_434
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	push	eax
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+52]
	add	esp,12
	push	15
	push	_433
	mov	eax,dword [ebp-140]
	mov	dword [ebp+-228],eax
	fild	dword [ebp+-228]
	fmul	dword [_3405]
	fdiv	dword [_3406]
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatToInt
	add	esp,8
	push	eax
	call	_bbStringFromInt
	add	esp,4
	push	eax
	push	_435
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	push	eax
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+52]
	add	esp,12
	push	20
	push	_433
	mov	eax,dword [ebp-148]
	mov	dword [ebp+-228],eax
	fild	dword [ebp+-228]
	fmul	dword [_3407]
	fdiv	dword [_3408]
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatToInt
	add	esp,8
	push	eax
	call	_bbStringFromInt
	add	esp,4
	push	eax
	push	_436
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	push	eax
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+52]
	add	esp,12
	push	15
	push	_433
	push	0
	push	1148846080
	push	0
	push	1075838975
	push	0
	push	dword [_bb_CurrentSpeed]
	call	_bb_Normalize
	add	esp,24
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatToInt
	add	esp,8
	push	eax
	call	_bbStringFromInt
	add	esp,4
	push	eax
	push	_437
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	push	eax
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+52]
	add	esp,12
	push	15
	mov	edx,dword [_bb_SwitchWeapons]
	mov	eax,dword [ebp-152]
	push	dword [edx+eax*4+24]
	push	_438
	call	_bbStringConcat
	add	esp,8
	push	eax
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+52]
	add	esp,12
	push	20
	push	dword [ebp-144]
	call	_bbStringFromInt
	add	esp,4
	push	eax
	push	_439
	call	_bbStringConcat
	add	esp,8
	push	eax
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+52]
	add	esp,12
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+48]
	add	esp,4
	push	3
	call	_brl_max2d_SetBlend
	add	esp,4
	push	1065353216
	call	_brl_max2d_SetAlpha
	add	esp,4
	mov	esi,0
	mov	edi,dword [__bb_TInfo_List]
	mov	eax,edi
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+140]
	add	esp,4
	mov	dword [ebp-52],eax
	jmp	_440
_442:
	mov	eax,dword [ebp-52]
	push	_bb_TInfo
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+52]
	add	esp,4
	push	eax
	call	_bbObjectDowncast
	add	esp,8
	mov	ebx,eax
	cmp	ebx,_bbNullObject
	je	_440
	mov	eax,ebx
	push	0
	push	0
	push	0
	push	255
	push	255
	push	255
	push	esi
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+56]
	add	esp,32
	add	esi,dword [ebx+12]
	mov	eax,ebx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+48]
	add	esp,4
_440:
	mov	eax,dword [ebp-52]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+48]
	add	esp,4
	cmp	eax,0
	jne	_442
_441:
_1717:
	call	_sidesign_minib3d_EndMax2D
	cmp	dword [ebp-200],1
	jne	_1744
	push	dword [ebp-224]
	call	_brl_timer_WaitTimer
	add	esp,4
_1744:
	push	0
	call	_brl_graphics_Flip
	add	esp,4
_415:
	call	_brl_polledinput_AppTerminate
	cmp	eax,0
	je	_417
_416:
	call	_bbEnd
	mov	eax,0
	jmp	_653
_653:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
_bb_LoadImageBank:
	push	ebp
	mov	ebp,esp
	push	ebx
	push	esi
	push	edi
	mov	esi,dword [ebp+8]
	push	1
	push	1
	push	esi
	call	_brl_filesystem_OpenFile
	add	esp,12
	mov	ebx,eax
	cmp	ebx,_bbNullObject
	je	_1750
	push	esi
	call	_brl_filesystem_FileSize
	add	esp,4
	sub	eax,dword [ebp+12]
	mov	edi,eax
	push	edi
	call	_brl_bank_CreateBank
	add	esp,4
	mov	esi,eax
	push	edi
	push	dword [ebp+12]
	push	ebx
	push	esi
	call	_brl_bank_ReadBank
	add	esp,16
	push	ebx
	call	_brl_filesystem_CloseFile
	add	esp,4
	mov	eax,esi
	jmp	_657
_1750:
	mov	eax,_bbNullObject
	jmp	_657
_657:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
_bb_SaveImageBank:
	push	ebp
	mov	ebp,esp
	push	ebx
	push	esi
	mov	esi,dword [ebp+8]
	mov	eax,dword [ebp+12]
	push	eax
	call	_brl_filesystem_WriteFile
	add	esp,4
	mov	ebx,eax
	push	esi
	call	_brl_bank_BankSize
	add	esp,4
	push	eax
	push	0
	push	ebx
	push	esi
	call	_brl_bank_WriteBank
	add	esp,16
	push	ebx
	call	_brl_filesystem_CloseFile
	add	esp,4
	mov	eax,_bbNullObject
	jmp	_661
_661:
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
_bb_GetBankPixel:
	push	ebp
	mov	ebp,esp
	push	ebx
	push	esi
	push	edi
	mov	esi,dword [ebp+8]
	mov	edi,dword [ebp+16]
	mov	ebx,dword [ebp+20]
	push	esi
	call	_brl_bank_BankSize
	add	esp,4
	mov	ecx,eax
	mov	eax,edi
	imul	eax,ebx
	add	eax,dword [ebp+12]
	add	eax,dword [ebp+24]
	cdq
	idiv	ecx
	mov	eax,edx
	push	eax
	push	esi
	call	_brl_bank_PeekByte
	add	esp,8
	jmp	_668
_668:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
_bb_SetBankPixel:
	push	ebp
	mov	ebp,esp
	push	ebx
	push	esi
	push	edi
	mov	esi,dword [ebp+8]
	mov	ebx,dword [ebp+16]
	mov	edi,dword [ebp+24]
	push	esi
	call	_brl_bank_BankSize
	add	esp,4
	mov	ecx,eax
	mov	eax,dword [ebp+12]
	cdq
	idiv	ecx
	mov	eax,edx
	push	eax
	mov	eax,dword [ebp+20]
	imul	eax,edi
	add	eax,ebx
	push	eax
	push	esi
	call	_brl_bank_PokeByte
	add	esp,12
	mov	eax,0
	jmp	_675
_675:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
_bb_CreateImageFromBank:
	push	ebp
	mov	ebp,esp
	sub	esp,8
	push	ebx
	push	esi
	push	edi
	cmp	dword [ebp+20],1
	jne	_1757
	push	4
	push	6
	push	dword [ebp+16]
	push	dword [ebp+12]
	call	_brl_pixmap_CreatePixmap
	add	esp,16
	mov	dword [ebp-4],eax
	jmp	_1758
_1757:
	push	4
	push	4
	push	dword [ebp+16]
	push	dword [ebp+12]
	call	_brl_pixmap_CreatePixmap
	add	esp,16
	mov	dword [ebp-4],eax
_1758:
	mov	esi,0
	mov	eax,dword [ebp+12]
	sub	eax,1
	mov	dword [ebp-8],eax
	jmp	_1759
_23:
	mov	ebx,0
	mov	eax,dword [ebp+16]
	sub	eax,1
	mov	edi,eax
	jmp	_1761
_26:
	push	0
	push	dword [ebp+12]
	push	ebx
	push	esi
	push	dword [ebp+8]
	call	_bb_GetBankPixel
	add	esp,20
	cmp	dword [ebp+20],0
	je	_1763
	mov	edx,dword [ebp+20]
	jmp	_1764
_1763:
	mov	edx,eax
_1764:
	push	eax
	push	eax
	push	eax
	push	edx
	call	_bb_CombineARGB
	add	esp,16
	push	eax
	push	ebx
	push	esi
	push	dword [ebp-4]
	call	_brl_pixmap_WritePixel
	add	esp,16
_24:
	add	ebx,1
_1761:
	cmp	ebx,edi
	jle	_26
_25:
_21:
	add	esi,1
_1759:
	cmp	esi,dword [ebp-8]
	jle	_23
_22:
	mov	eax,dword [ebp-4]
	jmp	_681
_681:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
_bb_ScaleBank:
	push	ebp
	mov	ebp,esp
	sub	esp,24
	push	ebx
	push	esi
	push	edi
	fld	dword [ebp+20]
	mov	eax,dword [ebp+12]
	mov	dword [ebp+-24],eax
	fild	dword [ebp+-24]
	fmulp	st1,st0
	fsub	dword [_3539]
	mov	eax,dword [ebp+12]
	mov	dword [ebp+-24],eax
	fild	dword [ebp+-24]
	fsub	dword [_3540]
	fdivp	st1,st0
	fstp	dword [ebp-8]
	fld	dword [ebp+20]
	mov	eax,dword [ebp+16]
	mov	dword [ebp+-24],eax
	fild	dword [ebp+-24]
	fmulp	st1,st0
	fsub	dword [_3541]
	mov	eax,dword [ebp+16]
	mov	dword [ebp+-24],eax
	fild	dword [ebp+-24]
	fsub	dword [_3542]
	fdivp	st1,st0
	fstp	dword [ebp-12]
	mov	eax,dword [ebp+12]
	mov	dword [ebp+-24],eax
	fild	dword [ebp+-24]
	fmul	dword [ebp+20]
	mov	eax,dword [ebp+16]
	mov	dword [ebp+-24],eax
	fild	dword [ebp+-24]
	fmul	dword [ebp+20]
	fmulp	st1,st0
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatToInt
	add	esp,8
	push	eax
	call	_brl_bank_CreateBank
	add	esp,4
	mov	dword [ebp-16],eax
	mov	edi,0
	mov	eax,dword [ebp+16]
	mov	dword [ebp+-24],eax
	fild	dword [ebp+-24]
	fmul	dword [ebp+20]
	fsub	dword [_3543]
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatToInt
	add	esp,8
	mov	dword [ebp-20],eax
	jmp	_1771
_29:
	mov	esi,0
	mov	eax,dword [ebp+12]
	mov	dword [ebp+-24],eax
	fild	dword [ebp+-24]
	fmul	dword [ebp+20]
	fsub	dword [_3544]
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatToInt
	add	esp,8
	mov	dword [ebp-4],eax
	jmp	_1773
_32:
	mov	dword [ebp+-24],esi
	fild	dword [ebp+-24]
	fmul	dword [_3545]
	fdiv	dword [ebp-8]
	mov	dword [ebp+-24],edi
	fild	dword [ebp+-24]
	fmul	dword [_3546]
	fdiv	dword [ebp-12]
	sub	esp,4
	fstp	dword [esp]
	sub	esp,4
	fstp	dword [esp]
	push	dword [ebp+16]
	push	dword [ebp+12]
	push	dword [ebp+8]
	call	_bb_Bilinear
	add	esp,20
	mov	ebx,eax
	mov	eax,dword [ebp+12]
	mov	dword [ebp+-24],eax
	fild	dword [ebp+-24]
	fmul	dword [ebp+20]
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatToInt
	add	esp,8
	push	eax
	push	edi
	push	esi
	push	ebx
	push	dword [ebp-16]
	call	_bb_SetBankPixel
	add	esp,20
_30:
	add	esi,1
_1773:
	cmp	esi,dword [ebp-4]
	jle	_32
_31:
_27:
	add	edi,1
_1771:
	cmp	edi,dword [ebp-20]
	jle	_29
_28:
	mov	eax,dword [ebp-16]
	jmp	_687
_687:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
_bb_Bilinear:
	push	ebp
	mov	ebp,esp
	sub	esp,40
	push	ebx
	push	esi
	push	edi
	mov	esi,dword [ebp+16]
	fld	dword [ebp+20]
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloor
	add	esp,8
	fstp	dword [ebp-8]
	fld	dword [ebp+24]
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloor
	add	esp,8
	fstp	dword [ebp-4]
	fld	dword [ebp+20]
	fadd	dword [_3550]
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloor
	add	esp,8
	fstp	dword [ebp-16]
	fld	dword [ebp+24]
	fadd	dword [_3551]
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloor
	add	esp,8
	fstp	dword [ebp-20]
	fld	dword [ebp+20]
	fsub	dword [ebp-8]
	fstp	dword [ebp-28]
	fld	dword [ebp+24]
	fsub	dword [ebp-4]
	fstp	dword [ebp-32]
	mov	dword [ebp-36],1
	mov	dword [ebp-12],1
	mov	ebx,1
	mov	dword [ebp-24],1
	fldz
	fld	dword [ebp-8]
	fucompp
	fnstsw	ax
	sahf
	setae	al
	movzx	eax,al
	cmp	eax,0
	jne	_1787
	mov	dword [ebp-36],0
_1787:
	mov	eax,dword [ebp+12]
	sub	eax,1
	mov	dword [ebp+-40],eax
	fild	dword [ebp+-40]
	fld	dword [ebp-16]
	fucompp
	fnstsw	ax
	sahf
	setbe	al
	movzx	eax,al
	cmp	eax,0
	jne	_1788
	mov	dword [ebp-12],0
_1788:
	fldz
	fld	dword [ebp-4]
	fucompp
	fnstsw	ax
	sahf
	setae	al
	movzx	eax,al
	cmp	eax,0
	jne	_1789
	mov	ebx,0
_1789:
	sub	esi,1
	mov	dword [ebp+-40],esi
	fild	dword [ebp+-40]
	fld	dword [ebp-20]
	fucompp
	fnstsw	ax
	sahf
	setbe	al
	movzx	eax,al
	cmp	eax,0
	jne	_1790
	mov	dword [ebp-24],0
_1790:
	cmp	dword [ebp-36],0
	jne	_1791
	fld	dword [_3552]
	fstp	dword [ebp-8]
_1791:
	cmp	ebx,0
	jne	_1792
	fld	dword [_3553]
	fstp	dword [ebp-4]
_1792:
	cmp	dword [ebp-12],0
	jne	_1793
	fld	dword [_3554]
	fstp	dword [ebp-16]
_1793:
	cmp	dword [ebp-24],0
	jne	_1794
	fld	dword [_3555]
	fstp	dword [ebp-20]
_1794:
	push	0
	push	dword [ebp+12]
	fld	dword [ebp-4]
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatToInt
	add	esp,8
	push	eax
	fld	dword [ebp-8]
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatToInt
	add	esp,8
	push	eax
	push	dword [ebp+8]
	call	_bb_GetBankPixel
	add	esp,20
	imul	eax,dword [ebp-36]
	imul	eax,ebx
	mov	esi,eax
	push	0
	push	dword [ebp+12]
	fld	dword [ebp-4]
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatToInt
	add	esp,8
	push	eax
	fld	dword [ebp-16]
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatToInt
	add	esp,8
	push	eax
	push	dword [ebp+8]
	call	_bb_GetBankPixel
	add	esp,20
	imul	eax,dword [ebp-12]
	imul	eax,ebx
	mov	ebx,eax
	push	0
	push	dword [ebp+12]
	fld	dword [ebp-20]
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatToInt
	add	esp,8
	push	eax
	fld	dword [ebp-16]
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatToInt
	add	esp,8
	push	eax
	push	dword [ebp+8]
	call	_bb_GetBankPixel
	add	esp,20
	imul	eax,dword [ebp-12]
	imul	eax,dword [ebp-24]
	mov	edi,eax
	push	0
	push	dword [ebp+12]
	fld	dword [ebp-20]
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatToInt
	add	esp,8
	push	eax
	fld	dword [ebp-8]
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatToInt
	add	esp,8
	push	eax
	push	dword [ebp+8]
	call	_bb_GetBankPixel
	add	esp,20
	imul	eax,dword [ebp-36]
	imul	eax,dword [ebp-24]
	push	dword [ebp-32]
	push	dword [ebp-28]
	mov	dword [ebp+-40],edi
	fild	dword [ebp+-40]
	sub	esp,4
	fstp	dword [esp]
	mov	dword [ebp+-40],eax
	fild	dword [ebp+-40]
	sub	esp,4
	fstp	dword [esp]
	call	_bb_LinearInterpolate
	add	esp,12
	sub	esp,4
	fstp	dword [esp]
	push	dword [ebp-28]
	mov	dword [ebp+-40],ebx
	fild	dword [ebp+-40]
	sub	esp,4
	fstp	dword [esp]
	mov	dword [ebp+-40],esi
	fild	dword [ebp+-40]
	sub	esp,4
	fstp	dword [esp]
	call	_bb_LinearInterpolate
	add	esp,12
	sub	esp,4
	fstp	dword [esp]
	call	_bb_LinearInterpolate
	add	esp,12
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatToInt
	add	esp,8
	jmp	_694
_694:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
_bb_LinearInterpolate:
	push	ebp
	mov	ebp,esp
	fld	dword [ebp+8]
	fld	dword [ebp+12]
	fld	dword [ebp+16]
	fld	dword [_3567]
	fsub	st0,st1
	fmulp	st3,st0
	fmulp	st1,st0
	faddp	st1,st0
	jmp	_699
_699:
	mov	esp,ebp
	pop	ebp
	ret
_bb_CosineInterpolate:
	push	ebp
	mov	ebp,esp
	sub	esp,8
	fld	dword [ebp+16]
	fld1
	fstp	qword [ebp-8]
	fmul	dword [_3572]
	sub	esp,8
	fstp	qword [esp]
	call	_bbCos
	add	esp,8
	fld1
	faddp	st1,st0
	fld	qword [_3573]
	fdivp	st1,st0
	fld	qword [ebp-8]
	fsubrp	st1,st0
	fstp	qword [ebp-8]
	fld	qword [ebp-8]
	fld	dword [ebp+8]
	fld	dword [_3574]
	fsub	st0,st2
	fmulp	st1,st0
	fld	dword [ebp+12]
	fmulp	st2,st0
	faddp	st1,st0
	jmp	_704
_704:
	mov	esp,ebp
	pop	ebp
	ret
_bb_CubicInterpolate:
	push	ebp
	mov	ebp,esp
	sub	esp,36
	fld	dword [ebp+8]
	fld	dword [ebp+12]
	fld	dword [ebp+16]
	fld	dword [ebp+20]
	fsub	st0,st1
	fld	st3
	fsub	st0,st3
	fsubp	st1,st0
	fld	st3
	fsub	st0,st3
	fsub	st0,st1
	fstp	dword [ebp-28]
	fxch	st3
	fsubp	st1,st0
	fstp	dword [ebp-32]
	fstp	dword [ebp-36]
	fstp	qword [ebp-16]
	fld	qword [_3579]
	sub	esp,8
	fstp	qword [esp]
	fld	dword [ebp+24]
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatPow
	add	esp,16
	fld	qword [ebp-16]
	fmulp	st1,st0
	fstp	qword [ebp-16]
	fld	qword [ebp-16]
	fstp	qword [ebp-8]
	fld	dword [ebp-28]
	fstp	qword [ebp-24]
	fld	qword [_3580]
	sub	esp,8
	fstp	qword [esp]
	fld	dword [ebp+24]
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatPow
	add	esp,16
	fld	qword [ebp-24]
	fmulp	st1,st0
	fstp	qword [ebp-24]
	fld	qword [ebp-8]
	fadd	qword [ebp-24]
	fstp	qword [ebp-8]
	fld	qword [ebp-8]
	fld	dword [ebp-32]
	fmul	dword [ebp+24]
	faddp	st1,st0
	fld	dword [ebp-36]
	faddp	st1,st0
	jmp	_711
_711:
	mov	esp,ebp
	pop	ebp
	ret
_bb_HermiteInterpolate:
	push	ebp
	mov	ebp,esp
	sub	esp,8
	fld	dword [ebp+12]
	fld	dword [ebp+16]
	fld	dword [ebp+24]
	fld	dword [ebp+32]
	fld	st1
	fmul	st0,st2
	fld	st0
	fmul	st0,st3
	fld	dword [_3585]
	faddp	st3,st0
	fld	dword [_3586]
	fsub	dword [ebp+28]
	fmulp	st3,st0
	fxch	st2
	fdiv	dword [_3587]
	fstp	dword [ebp-8]
	fld	dword [_3588]
	fmul	st0,st2
	fld	dword [_3589]
	fmul	st0,st2
	fsubp	st1,st0
	fadd	dword [_3590]
	fmul	st0,st5
	fstp	dword [ebp-4]
	fld	st1
	fld	dword [_3591]
	fmul	st0,st2
	fsubp	st1,st0
	faddp	st3,st0
	fld	st4
	fsub	dword [ebp+8]
	fadd	st0,st4
	fsub	st0,st5
	fmulp	st3,st0
	fld	st1
	fsub	st0,st1
	fld	st4
	fsubrp	st6,st0
	fxch	st5
	fadd	dword [ebp+20]
	fsub	st0,st4
	fmulp	st5,st0
	fxch	st4
	faddp	st2,st0
	fxch	st1
	fmul	dword [ebp-8]
	fld	dword [ebp-4]
	faddp	st1,st0
	fstp	dword [ebp-4]
	fld	dword [ebp-4]
	fld	dword [_3592]
	fmulp	st4,st0
	fld	dword [_3593]
	fmulp	st2,st0
	fxch	st1
	fsubp	st3,st0
	fxch	st1
	fmulp	st2,st0
	faddp	st1,st0
	jmp	_720
_720:
	mov	esp,ebp
	pop	ebp
	ret
_bb_StatusText:
	push	ebp
	mov	ebp,esp
	sub	esp,4
	push	ebx
	push	esi
	push	edi
	mov	esi,dword [ebp+8]
	mov	edi,dword [ebp+12]
	mov	eax,dword [ebp+16]
	mov	ebx,dword [ebp+20]
	cmp	eax,1
	jne	_1807
	call	_sidesign_minib3d_RenderWorld
_1807:
	call	_sidesign_minib3d_BeginMax2D
	push	_16
	push	esi
	call	_bbStringCompare
	add	esp,8
	cmp	eax,0
	je	_1808
	cmp	ebx,1
	jne	_1809
	push	0
	push	0
	push	0
	call	_brl_max2d_SetColor
	add	esp,12
	push	1098907648
	mov	eax,dword [esi+8]
	shl	eax,3
	mov	dword [ebp+-4],eax
	fild	dword [ebp+-4]
	sub	esp,4
	fstp	dword [esp]
	push	0
	push	0
	call	_brl_max2d_DrawRect
	add	esp,16
_1809:
	push	255
	push	255
	push	255
	call	_brl_max2d_SetColor
	add	esp,12
	push	0
	push	0
	push	esi
	call	_brl_max2d_DrawText
	add	esp,12
	cmp	edi,1
	jne	_1810
	push	0
	call	_brl_graphics_Flip
	add	esp,4
_1810:
_1808:
	call	_sidesign_minib3d_EndMax2D
	mov	eax,0
	jmp	_726
_726:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
_bb_Round:
	push	ebp
	mov	ebp,esp
	sub	esp,8
	push	ebx
	push	esi
	push	edi
	mov	esi,dword [ebp+12]
	mov	dword [ebp+-8],esi
	fild	dword [ebp+-8]
	sub	esp,8
	fstp	qword [esp]
	fld	qword [_3604]
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatPow
	add	esp,16
	fstp	dword [ebp-4]
	fld	dword [ebp+8]
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloor
	add	esp,8
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatToInt
	add	esp,8
	mov	edi,eax
	fld	dword [ebp+8]
	mov	dword [ebp+-8],edi
	fild	dword [ebp+-8]
	fsubp	st1,st0
	fmul	dword [ebp-4]
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatToInt
	add	esp,8
	push	eax
	call	_bbStringFromInt
	add	esp,4
	mov	edx,dword [eax+8]
	cmp	edx,esi
	jge	_1816
	mov	ebx,1
	mov	ecx,esi
	sub	ecx,edx
	mov	esi,ecx
	jmp	_1817
_36:
	push	_37
	push	eax
	call	_bbStringConcat
	add	esp,8
_34:
	add	ebx,1
_1817:
	cmp	ebx,esi
	jle	_36
_35:
_1816:
	push	eax
	push	_38
	push	edi
	call	_bbStringFromInt
	add	esp,4
	push	eax
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	jmp	_730
_730:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
_bb_LogEvent:
	push	ebp
	mov	ebp,esp
	push	ebx
	push	esi
	push	edi
	mov	edi,dword [ebp+8]
	mov	esi,dword [ebp+16]
	call	_bbMilliSecs
	mov	ebx,eax
	cmp	esi,0
	jne	_1820
	mov	esi,ebx
_1820:
	push	_40
	mov	eax,ebx
	sub	eax,esi
	push	eax
	call	_bbStringFromInt
	add	esp,4
	push	eax
	push	_39
	push	dword [ebp+12]
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	push	eax
	push	edi
	call	_brl_stream_WriteLine
	add	esp,8
	mov	eax,ebx
	jmp	_735
_735:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
_bb_GetMax:
	push	ebp
	mov	ebp,esp
	push	ebx
	push	esi
	push	edi
	mov	edi,dword [ebp+8]
	mov	esi,dword [ebp+12]
	mov	ebx,1
	jmp	_1823
_43:
	push	1
	push	1
	push	_46
	push	ebx
	call	_bbStringFromInt
	add	esp,4
	push	eax
	push	_16
	push	edi
	push	_45
	push	esi
	call	_bbStringFromInt
	add	esp,4
	push	eax
	push	_44
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_brl_filesystem_OpenFile
	add	esp,12
	mov	edx,eax
	cmp	edx,_bbNullObject
	setne	al
	movzx	eax,al
	cmp	eax,0
	jne	_1824
	mov	eax,ebx
	sub	eax,1
	jmp	_739
_1824:
	push	edx
	call	_brl_filesystem_CloseFile
	add	esp,4
_1825:
_41:
	add	ebx,1
_1823:
	cmp	ebx,20
	jle	_43
_42:
	mov	eax,0
	jmp	_739
_739:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
_bb_GetFlag:
	push	ebp
	mov	ebp,esp
	sub	esp,4
	mov	eax,dword [ebp+8]
	push	eax
	push	dword [_bb_flags]
	call	_brl_bank_PeekByte
	add	esp,8
	mov	eax,eax
	and	eax,0xff
	mov	eax,eax
	mov	byte [ebp-4],al
	jmp	_742
_742:
	movzx	eax,byte [ebp-4]
	mov	esp,ebp
	pop	ebp
	ret
_bb_SetFlag:
	push	ebp
	mov	ebp,esp
	sub	esp,8
	mov	edx,dword [ebp+8]
	movzx	eax,byte [ebp+12]
	mov	eax,eax
	mov	byte [ebp-4],al
	movzx	eax,byte [ebp-4]
	mov	eax,eax
	push	eax
	push	edx
	push	dword [_bb_flags]
	call	_brl_bank_PokeByte
	add	esp,12
	mov	byte [ebp-8],0
	jmp	_746
_746:
	movzx	eax,byte [ebp-8]
	mov	esp,ebp
	pop	ebp
	ret
_bb_SwitchFlag:
	push	ebp
	mov	ebp,esp
	sub	esp,8
	push	ebx
	push	esi
	mov	ebx,dword [ebp+8]
	mov	esi,1
	push	ebx
	push	dword [_bb_flags]
	call	_brl_bank_PeekByte
	add	esp,8
	sub	esi,eax
	mov	eax,esi
	and	eax,0xff
	mov	eax,eax
	mov	byte [ebp-4],al
	movzx	eax,byte [ebp-4]
	mov	eax,eax
	push	eax
	push	ebx
	push	dword [_bb_flags]
	call	_brl_bank_PokeByte
	add	esp,12
	movzx	eax,byte [ebp-4]
	mov	eax,eax
	mov	byte [ebp-8],al
	jmp	_749
_749:
	movzx	eax,byte [ebp-8]
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
_bb_Normalize:
	push	ebp
	mov	ebp,esp
	fld	dword [ebp+8]
	fld	dword [ebp+12]
	fld	dword [ebp+16]
	fld	dword [ebp+20]
	fld	dword [ebp+24]
	fld	st4
	fsub	st0,st4
	fxch	st4
	fsubp	st3,st0
	fxch	st2
	fdivp	st3,st0
	fld	st1
	fsub	st0,st1
	fmulp	st3,st0
	fadd	st2,st0
	fxch	st3
	fucom	st1
	fxch	st1
	fstp	st0
	fnstsw	ax
	sahf
	setbe	al
	movzx	eax,al
	cmp	eax,0
	jne	_1828
	fstp	st0
	fxch	st1
	fstp	st0
	jmp	_1829
_1828:
	fucomp	st2
	fxch	st1
	fstp	st0
	fnstsw	ax
	sahf
	setae	al
	movzx	eax,al
	cmp	eax,0
	jne	_1830
_1830:
_1829:
	jmp	_757
_757:
	mov	esp,ebp
	pop	ebp
	ret
_bb_SetFOV:
	push	ebp
	mov	ebp,esp
	sub	esp,8
	fld	dword [ebp+8]
	fld1
	fstp	qword [ebp-8]
	fdiv	dword [_3632]
	sub	esp,8
	fstp	qword [esp]
	call	_bbTan
	add	esp,8
	fld	qword [ebp-8]
	fdivrp	st1,st0
	fstp	qword [ebp-8]
	fld	qword [ebp-8]
	jmp	_760
_760:
	mov	esp,ebp
	pop	ebp
	ret
_bb_Split:
	push	ebp
	mov	ebp,esp
	sub	esp,4
	push	ebx
	push	esi
	push	edi
	mov	ebx,1
	mov	esi,_16
	inc	dword [esi+4]
	mov	eax,dword [_bb_Splitted]
	mov	eax,dword [eax+ebx*4+24]
	dec	dword [eax+4]
	jnz	_1837
	push	eax
	call	_bbGCFree
	add	esp,4
_1837:
	mov	eax,dword [_bb_Splitted]
	mov	dword [eax+ebx*4+24],esi
	mov	edi,1
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+8]
	mov	dword [ebp-4],eax
	jmp	_1838
_49:
	push	1
	push	edi
	push	dword [ebp+8]
	call	_brl_retro_Mid
	add	esp,12
	mov	esi,eax
	push	dword [ebp+12]
	push	esi
	call	_bbStringCompare
	add	esp,8
	cmp	eax,0
	jne	_1840
	add	ebx,1
	mov	eax,_16
	inc	dword [eax+4]
	mov	esi,eax
	mov	eax,dword [_bb_Splitted]
	mov	eax,dword [eax+ebx*4+24]
	dec	dword [eax+4]
	jnz	_1844
	push	eax
	call	_bbGCFree
	add	esp,4
_1844:
	mov	eax,dword [_bb_Splitted]
	mov	dword [eax+ebx*4+24],esi
	jmp	_1845
_1840:
	push	esi
	mov	eax,dword [_bb_Splitted]
	push	dword [eax+ebx*4+24]
	call	_bbStringConcat
	add	esp,8
	inc	dword [eax+4]
	mov	esi,eax
	mov	eax,dword [_bb_Splitted]
	mov	eax,dword [eax+ebx*4+24]
	dec	dword [eax+4]
	jnz	_1849
	push	eax
	call	_bbGCFree
	add	esp,4
_1849:
	mov	eax,dword [_bb_Splitted]
	mov	dword [eax+ebx*4+24],esi
_1845:
_47:
	add	edi,1
_1838:
	cmp	edi,dword [ebp-4]
	jle	_49
_48:
	mov	eax,ebx
	jmp	_764
_764:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
_bb_LimitInt:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	ecx,dword [ebp+12]
	mov	edx,dword [ebp+16]
	cmp	eax,edx
	jle	_1850
	mov	eax,edx
	jmp	_1851
_1850:
	cmp	eax,ecx
	jge	_1852
	mov	eax,ecx
_1852:
_1851:
	jmp	_769
_769:
	mov	esp,ebp
	pop	ebp
	ret
_bb_GetA:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	shr	eax,24
	and	eax,255
	jmp	_772
_772:
	mov	esp,ebp
	pop	ebp
	ret
_bb_GetR:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	shr	eax,16
	and	eax,255
	jmp	_775
_775:
	mov	esp,ebp
	pop	ebp
	ret
_bb_GetG:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	shr	eax,8
	and	eax,255
	jmp	_778
_778:
	mov	esp,ebp
	pop	ebp
	ret
_bb_GetB:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	and	eax,255
	jmp	_781
_781:
	mov	esp,ebp
	pop	ebp
	ret
_bb_CombineARGB:
	push	ebp
	mov	ebp,esp
	push	ebx
	mov	ebx,dword [ebp+8]
	mov	ecx,dword [ebp+12]
	mov	edx,dword [ebp+16]
	mov	eax,dword [ebp+20]
	shl	edx,8
	or	eax,edx
	shl	ecx,16
	or	eax,ecx
	shl	ebx,24
	or	eax,ebx
	jmp	_787
_787:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
_bb_CombineRGB:
	push	ebp
	mov	ebp,esp
	mov	ecx,dword [ebp+8]
	mov	edx,dword [ebp+12]
	mov	eax,dword [ebp+16]
	shl	edx,8
	or	eax,edx
	shl	ecx,16
	or	eax,ecx
	jmp	_792
_792:
	mov	esp,ebp
	pop	ebp
	ret
_bb_Tweakseed:
	push	ebp
	mov	ebp,esp
	push	ebx
	mov	edx,dword [ebp+8]
	mov	ecx,65536
	mov	eax,dword [_bb_nameseed]
	mov	eax,dword [eax+24]
	mov	ebx,dword [_bb_nameseed]
	add	eax,dword [ebx+4+24]
	mov	ebx,dword [_bb_nameseed]
	add	eax,dword [ebx+8+24]
	imul	eax,edx
	cdq
	idiv	ecx
	mov	ecx,dword [_bb_nameseed]
	mov	eax,dword [_bb_nameseed]
	mov	eax,dword [eax+4+24]
	mov	dword [ecx+24],eax
	mov	ecx,dword [_bb_nameseed]
	mov	eax,dword [_bb_nameseed]
	mov	eax,dword [eax+8+24]
	mov	dword [ecx+4+24],eax
	mov	eax,dword [_bb_nameseed]
	mov	dword [eax+8+24],edx
	mov	eax,0
	jmp	_795
_795:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
_bb_CreateName:
	push	ebp
	mov	ebp,esp
	sub	esp,4
	push	ebx
	push	esi
	push	edi
	mov	eax,dword [_bb_nameseed]
	mov	eax,dword [eax+24]
	and	eax,64
	mov	dword [ebp-4],eax
	mov	esi,_16
	mov	edi,0
	jmp	_1858
_52:
	mov	eax,dword [_bb_nameseed]
	mov	eax,dword [eax+8+24]
	shr	eax,8
	and	eax,31
	shl	eax,1
	mov	ebx,eax
	push	1
	call	_bb_Tweakseed
	add	esp,4
	cmp	edi,3
	setl	al
	movzx	eax,al
	cmp	eax,0
	jne	_1859
	mov	eax,dword [ebp-4]
_1859:
	cmp	eax,0
	je	_1861
	push	2
	mov	eax,ebx
	add	eax,1
	push	eax
	push	dword [_bb_syllables]
	call	_brl_retro_Mid
	add	esp,12
	push	eax
	push	esi
	call	_bbStringConcat
	add	esp,8
	mov	esi,eax
	push	_16
	push	_38
	push	esi
	call	_brl_retro_Replace
	add	esp,12
	mov	esi,eax
_1861:
_50:
	add	edi,1
_1858:
	cmp	edi,3
	jle	_52
_51:
	mov	eax,dword [esi+8]
	sub	eax,1
	push	eax
	push	2
	push	esi
	call	_brl_retro_Mid
	add	esp,12
	push	eax
	push	1
	push	1
	push	esi
	call	_brl_retro_Mid
	add	esp,12
	push	eax
	call	_brl_retro_Upper
	add	esp,4
	push	eax
	call	_bbStringConcat
	add	esp,8
	mov	esi,eax
	mov	eax,esi
	jmp	_797
_797:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
_bb_SetPlanet:
	push	ebp
	mov	ebp,esp
	push	ebx
	push	esi
	mov	ebx,dword [ebp+8]
	mov	eax,dword [_bb_nameseed]
	mov	dword [eax+24],23114
	mov	eax,dword [_bb_nameseed]
	mov	dword [eax+4+24],584
	mov	eax,dword [_bb_nameseed]
	mov	dword [eax+8+24],46931
	mov	esi,0
	sub	ebx,1
	jmp	_1863
_55:
	push	1
	call	_bb_Tweakseed
	add	esp,4
	push	1
	call	_bb_Tweakseed
	add	esp,4
	push	1
	call	_bb_Tweakseed
	add	esp,4
	push	1
	call	_bb_Tweakseed
	add	esp,4
_53:
	add	esi,1
_1863:
	cmp	esi,ebx
	jle	_55
_54:
	mov	eax,0
	jmp	_800
_800:
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
_bb_CalcNormal:
	push	ebp
	mov	ebp,esp
	sub	esp,52
	push	ebx
	push	esi
	push	edi
	mov	edi,dword [ebp+20]
	cmp	dword [ebp+16],0
	jle	_1893
	mov	eax,dword [ebp+16]
	sub	eax,1
	mov	dword [ebp-48],eax
	jmp	_1894
_1893:
	mov	dword [ebp-48],0
_1894:
	mov	eax,dword [ebp+12]
	sub	eax,1
	cmp	dword [ebp+16],eax
	jge	_1895
	mov	eax,dword [ebp+16]
	add	eax,1
	mov	dword [ebp-44],eax
	jmp	_1896
_1895:
	mov	eax,dword [ebp+12]
	sub	eax,1
	mov	dword [ebp-44],eax
_1896:
	cmp	edi,0
	jle	_1897
	mov	eax,edi
	sub	eax,1
	mov	ebx,eax
	jmp	_1898
_1897:
	mov	ebx,0
_1898:
	mov	eax,dword [ebp+12]
	sub	eax,1
	cmp	edi,eax
	jge	_1899
	mov	eax,edi
	add	eax,1
	mov	esi,eax
	jmp	_1900
_1899:
	mov	eax,dword [ebp+12]
	sub	eax,1
	mov	esi,eax
_1900:
	push	0
	push	dword [ebp+12]
	push	ebx
	push	dword [ebp-48]
	push	dword [ebp+8]
	call	_bb_GetBankPixel
	add	esp,20
	mov	dword [ebp-16],eax
	push	0
	push	dword [ebp+12]
	push	ebx
	push	dword [ebp+16]
	push	dword [ebp+8]
	call	_bb_GetBankPixel
	add	esp,20
	mov	dword [ebp-40],eax
	push	0
	push	dword [ebp+12]
	push	ebx
	push	dword [ebp-44]
	push	dword [ebp+8]
	call	_bb_GetBankPixel
	add	esp,20
	mov	ebx,eax
	push	0
	push	dword [ebp+12]
	push	edi
	push	dword [ebp-48]
	push	dword [ebp+8]
	call	_bb_GetBankPixel
	add	esp,20
	mov	dword [ebp-32],eax
	push	0
	push	dword [ebp+12]
	push	edi
	push	dword [ebp+16]
	push	dword [ebp+8]
	call	_bb_GetBankPixel
	add	esp,20
	push	0
	push	dword [ebp+12]
	push	edi
	push	dword [ebp-44]
	push	dword [ebp+8]
	call	_bb_GetBankPixel
	add	esp,20
	mov	dword [ebp-36],eax
	push	0
	push	dword [ebp+12]
	push	esi
	push	dword [ebp-48]
	push	dword [ebp+8]
	call	_bb_GetBankPixel
	add	esp,20
	mov	edi,eax
	push	0
	push	dword [ebp+12]
	push	esi
	push	dword [ebp+16]
	push	dword [ebp+8]
	call	_bb_GetBankPixel
	add	esp,20
	mov	dword [ebp-28],eax
	push	0
	push	dword [ebp+12]
	push	esi
	push	dword [ebp-44]
	push	dword [ebp+8]
	call	_bb_GetBankPixel
	add	esp,20
	mov	esi,eax
	fld1
	fstp	qword [ebp-8]
	fld	qword [_3686]
	sub	esp,8
	fstp	qword [esp]
	call	_bbSqr
	add	esp,8
	fld	qword [ebp-8]
	fdivrp	st1,st0
	fstp	qword [ebp-8]
	fld	qword [ebp-8]
	fld	dword [_3687]
	fadd	st0,st1
	fadd	st0,st1
	mov	eax,dword [ebp-16]
	mov	dword [ebp+-52],eax
	fild	dword [ebp+-52]
	fmul	st0,st2
	mov	eax,dword [ebp-32]
	mov	dword [ebp+-52],eax
	fild	dword [ebp+-52]
	faddp	st1,st0
	mov	dword [ebp+-52],edi
	fild	dword [ebp+-52]
	fmul	st0,st3
	faddp	st1,st0
	fdiv	st0,st1
	mov	dword [ebp+-52],ebx
	fild	dword [ebp+-52]
	fmul	st0,st3
	mov	eax,dword [ebp-36]
	mov	dword [ebp+-52],eax
	fild	dword [ebp+-52]
	faddp	st1,st0
	mov	dword [ebp+-52],esi
	fild	dword [ebp+-52]
	fmul	st0,st4
	faddp	st1,st0
	fdiv	st0,st2
	mov	eax,dword [ebp-16]
	mov	dword [ebp+-52],eax
	fild	dword [ebp+-52]
	fmul	st0,st4
	mov	eax,dword [ebp-40]
	mov	dword [ebp+-52],eax
	fild	dword [ebp+-52]
	faddp	st1,st0
	mov	dword [ebp+-52],ebx
	fild	dword [ebp+-52]
	fmul	st0,st5
	faddp	st1,st0
	fdiv	st0,st3
	mov	dword [ebp+-52],edi
	fild	dword [ebp+-52]
	fmul	st0,st5
	mov	eax,dword [ebp-28]
	mov	dword [ebp+-52],eax
	fild	dword [ebp+-52]
	faddp	st1,st0
	mov	dword [ebp+-52],esi
	fild	dword [ebp+-52]
	fmulp	st6,st0
	faddp	st5,st0
	fxch	st3
	fdivp	st4,st0
	fsubp	st1,st0
	fdiv	dword [_3688]
	fstp	dword [ebp-24]
	fsubrp	st1,st0
	fdiv	dword [_3689]
	fstp	dword [ebp-20]
	fld	dword [ebp-24]
	fmul	dword [ebp-24]
	fld	dword [ebp-20]
	fmul	dword [ebp-20]
	faddp	st1,st0
	sub	esp,4
	fstp	dword [esp]
	push	0
	call	_bb_FloatMax
	add	esp,8
	push	1065353216
	sub	esp,4
	fstp	dword [esp]
	call	_bb_FloatMin
	add	esp,8
	fld	dword [_3690]
	fsubrp	st1,st0
	sub	esp,8
	fstp	qword [esp]
	call	_bbSqr
	add	esp,8
	fstp	dword [ebp-12]
	fldz
	fld	dword [ebp+24]
	fucompp
	fnstsw	ax
	sahf
	setz	al
	movzx	eax,al
	cmp	eax,0
	jne	_1901
	fld	dword [ebp-12]
	fdiv	dword [ebp+24]
	fstp	dword [ebp-12]
	fld	dword [ebp-24]
	fmul	dword [ebp-24]
	fld	dword [ebp-20]
	fmul	dword [ebp-20]
	faddp	st1,st0
	fld	dword [ebp-12]
	fmul	dword [ebp-12]
	faddp	st1,st0
	sub	esp,8
	fstp	qword [esp]
	call	_bbSqr
	add	esp,8
	fld	dword [ebp-24]
	fdiv	st0,st1
	fstp	dword [ebp-24]
	fld	dword [ebp-20]
	fdiv	st0,st1
	fstp	dword [ebp-20]
	fld	dword [ebp-12]
	fdivrp	st1,st0
	fstp	dword [ebp-12]
_1901:
	cmp	dword [ebp+28],0
	je	_1902
	push	0
	push	0
	push	1132396544
	push	-1082130432
	push	1065353216
	push	dword [ebp-24]
	call	_bb_Normalize
	add	esp,24
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatToInt
	add	esp,8
	mov	esi,eax
	push	0
	push	0
	push	1132396544
	push	-1082130432
	push	1065353216
	push	dword [ebp-20]
	call	_bb_Normalize
	add	esp,24
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatToInt
	add	esp,8
	mov	ebx,eax
	push	0
	push	0
	push	1132396544
	push	-1082130432
	push	1065353216
	push	dword [ebp-12]
	call	_bb_Normalize
	add	esp,24
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatToInt
	add	esp,8
	jmp	_1903
_1902:
	push	0
	push	0
	push	1132396544
	push	-1082130432
	push	1065353216
	push	dword [ebp-24]
	call	_bb_Normalize
	add	esp,24
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatToInt
	add	esp,8
	mov	esi,eax
	push	0
	push	0
	push	1132396544
	push	1065353216
	push	-1082130432
	push	dword [ebp-20]
	call	_bb_Normalize
	add	esp,24
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatToInt
	add	esp,8
	mov	ebx,eax
	push	0
	push	0
	push	1132396544
	push	-1082130432
	push	1065353216
	push	dword [ebp-12]
	call	_bb_Normalize
	add	esp,24
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatToInt
	add	esp,8
_1903:
	push	eax
	push	ebx
	push	esi
	push	255
	call	_bb_CombineARGB
	add	esp,16
	jmp	_808
_808:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
_bb_FloatMin:
	push	ebp
	mov	ebp,esp
	fld	dword [ebp+8]
	fld	dword [ebp+12]
	fxch	st1
	fucom	st1
	fnstsw	ax
	sahf
	setae	al
	movzx	eax,al
	cmp	eax,0
	je	_3705
	fstp	st0
	jmp	_1904
_3705:
	fxch	st1
	fstp	st0
	jmp	_812
_1904:
	jmp	_812
_812:
	mov	esp,ebp
	pop	ebp
	ret
_bb_FloatMax:
	push	ebp
	mov	ebp,esp
	fld	dword [ebp+8]
	fld	dword [ebp+12]
	fxch	st1
	fucom	st1
	fnstsw	ax
	sahf
	setbe	al
	movzx	eax,al
	cmp	eax,0
	je	_3711
	fstp	st0
	jmp	_1906
_3711:
	fxch	st1
	fstp	st0
	jmp	_816
_1906:
	jmp	_816
_816:
	mov	esp,ebp
	pop	ebp
	ret
_bb_LinearBurn:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	ecx,dword [ebp+12]
	mov	edx,eax
	add	edx,ecx
	cmp	edx,256
	jge	_1908
	mov	eax,0
	jmp	_820
_1908:
	add	eax,ecx
	sub	eax,255
	jmp	_820
_820:
	mov	esp,ebp
	pop	ebp
	ret
_bb_LinearDodge:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	edx,dword [ebp+12]
	push	255
	add	eax,edx
	push	eax
	call	_bbIntMin
	add	esp,8
	jmp	_824
_824:
	mov	esp,ebp
	pop	ebp
	ret
_bb_LinearLight:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	edx,dword [ebp+12]
	cmp	eax,128
	jge	_1910
	shl	eax,1
	push	eax
	push	edx
	call	_bb_LinearBurn
	add	esp,8
	jmp	_828
_1910:
	sub	eax,128
	shl	eax,1
	push	eax
	push	edx
	call	_bb_LinearDodge
	add	esp,8
	jmp	_828
_828:
	mov	esp,ebp
	pop	ebp
	ret
_bb_PinLight:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	edx,dword [ebp+12]
	cmp	eax,128
	jge	_1912
	shl	eax,1
	push	eax
	push	edx
	call	_bb_Darken
	add	esp,8
	jmp	_832
_1912:
	sub	eax,128
	shl	eax,1
	push	eax
	push	edx
	call	_bb_Lighten
	add	esp,8
	jmp	_832
_832:
	mov	esp,ebp
	pop	ebp
	ret
_bb_VividLight:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	edx,dword [ebp+12]
	cmp	eax,128
	jge	_1914
	shl	eax,1
	push	eax
	push	edx
	call	_bb_ColorBurn
	add	esp,8
	jmp	_836
_1914:
	sub	eax,128
	shl	eax,1
	push	eax
	push	edx
	call	_bb_ColorDodge
	add	esp,8
	jmp	_836
_836:
	mov	esp,ebp
	pop	ebp
	ret
_bb_HardMix:
	push	ebp
	mov	ebp,esp
	mov	edx,dword [ebp+8]
	mov	eax,dword [ebp+12]
	push	eax
	push	edx
	call	_bb_VividLight
	add	esp,8
	cmp	eax,128
	jge	_1916
	mov	eax,0
	jmp	_840
_1916:
	mov	eax,255
	jmp	_840
_840:
	mov	esp,ebp
	pop	ebp
	ret
_bb_HardLight:
	push	ebp
	mov	ebp,esp
	push	ebx
	mov	eax,dword [ebp+8]
	mov	ebx,dword [ebp+12]
	cmp	ebx,128
	jge	_1918
	imul	eax,ebx
	shr	eax,7
	jmp	_844
_1918:
	mov	ecx,255
	mov	edx,255
	sub	edx,ebx
	mov	ebx,255
	sub	ebx,eax
	imul	edx,ebx
	shr	edx,7
	sub	ecx,edx
	mov	eax,ecx
	jmp	_844
_844:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
_bb_Screen:
	push	ebp
	mov	ebp,esp
	push	ebx
	mov	ebx,dword [ebp+8]
	mov	ecx,dword [ebp+12]
	mov	eax,255
	mov	edx,255
	sub	edx,ebx
	mov	ebx,255
	sub	ebx,ecx
	imul	edx,ebx
	shr	edx,8
	sub	eax,edx
	jmp	_848
_848:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
_bb_Lighten:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	edx,dword [ebp+12]
	cmp	eax,edx
	jle	_1920
	jmp	_852
_1920:
	mov	eax,edx
	jmp	_852
_852:
	mov	esp,ebp
	pop	ebp
	ret
_bb_Darken:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	edx,dword [ebp+12]
	cmp	eax,edx
	jge	_1922
	jmp	_856
_1922:
	mov	eax,edx
	jmp	_856
_856:
	mov	esp,ebp
	pop	ebp
	ret
_bb_Difference:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	edx,dword [ebp+12]
	sub	eax,edx
	push	eax
	call	_bbIntAbs
	add	esp,4
	jmp	_860
_860:
	mov	esp,ebp
	pop	ebp
	ret
_bb_Negation:
	push	ebp
	mov	ebp,esp
	push	ebx
	mov	ecx,dword [ebp+8]
	mov	edx,dword [ebp+12]
	mov	ebx,255
	mov	eax,255
	sub	eax,ecx
	sub	eax,edx
	push	eax
	call	_bbIntAbs
	add	esp,4
	sub	ebx,eax
	mov	eax,ebx
	jmp	_864
_864:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
_bb_Exclusion:
	push	ebp
	mov	ebp,esp
	mov	edx,dword [ebp+8]
	mov	ecx,dword [ebp+12]
	mov	eax,edx
	add	eax,ecx
	imul	edx,ecx
	shr	edx,7
	sub	eax,edx
	jmp	_868
_868:
	mov	esp,ebp
	pop	ebp
	ret
_bb_Overlay:
	push	ebp
	mov	ebp,esp
	push	ebx
	mov	eax,dword [ebp+8]
	mov	ebx,dword [ebp+12]
	cmp	eax,128
	jge	_1924
	imul	eax,ebx
	shr	eax,7
	jmp	_872
_1924:
	mov	ecx,255
	mov	edx,255
	sub	edx,eax
	mov	eax,255
	sub	eax,ebx
	imul	edx,eax
	shr	edx,7
	sub	ecx,edx
	mov	eax,ecx
	jmp	_872
_872:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
_bb_Glow:
	push	ebp
	mov	ebp,esp
	mov	edx,dword [ebp+8]
	mov	eax,dword [ebp+12]
	cmp	edx,255
	jne	_1927
	mov	eax,255
	jmp	_1928
_1927:
	mov	ecx,255
	sub	ecx,edx
	imul	eax,eax
	cdq
	idiv	ecx
	cmp	eax,255
	jle	_1929
	mov	eax,255
	jmp	_876
_1929:
_1928:
	jmp	_876
_876:
	mov	esp,ebp
	pop	ebp
	ret
_bb_ColorBurn:
	push	ebp
	mov	ebp,esp
	push	ebx
	mov	edx,dword [ebp+8]
	mov	ebx,dword [ebp+12]
	cmp	ebx,0
	jne	_1931
	mov	eax,0
	jmp	_1932
_1931:
	mov	ecx,255
	mov	eax,255
	sub	eax,edx
	shl	eax,8
	cdq
	idiv	ebx
	sub	ecx,eax
	mov	eax,ecx
_1932:
	cmp	eax,0
	jge	_1933
	mov	eax,0
	jmp	_880
_1933:
	jmp	_880
_880:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
_bb_ColorDodge:
	push	ebp
	mov	ebp,esp
	sub	esp,4
	mov	eax,dword [ebp+8]
	mov	edx,dword [ebp+12]
	cmp	edx,255
	jne	_1935
	mov	eax,255
	jmp	_884
_1935:
	mov	ecx,255
	sub	ecx,edx
	shl	eax,8
	cdq
	idiv	ecx
	mov	dword [ebp+-4],eax
	fild	dword [ebp+-4]
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloor
	add	esp,8
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatToInt
	add	esp,8
	cmp	eax,255
	jle	_1938
	mov	eax,255
	jmp	_884
_1938:
	jmp	_884
_884:
	mov	esp,ebp
	pop	ebp
	ret
_bb_SoftLight:
	push	ebp
	mov	ebp,esp
	push	ebx
	push	esi
	push	edi
	mov	edx,dword [ebp+8]
	mov	edi,dword [ebp+12]
	mov	eax,edx
	imul	eax,edi
	shr	eax,8
	mov	esi,eax
	mov	ebx,edx
	mov	ecx,255
	mov	eax,255
	sub	eax,edx
	mov	edx,eax
	mov	eax,255
	sub	eax,edi
	imul	edx,eax
	mov	eax,edx
	shr	eax,8
	sub	ecx,eax
	mov	eax,ecx
	sub	eax,esi
	imul	ebx,eax
	mov	eax,ebx
	shr	eax,8
	add	esi,eax
	mov	eax,esi
	jmp	_888
_888:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
_bb_SoftLight2:
	push	ebp
	mov	ebp,esp
	push	ebx
	push	esi
	push	edi
	mov	edx,dword [ebp+8]
	mov	edi,dword [ebp+12]
	mov	eax,edx
	imul	eax,edi
	shr	eax,8
	mov	esi,eax
	mov	ebx,edx
	mov	ecx,255
	mov	eax,255
	sub	eax,edx
	mov	edx,eax
	mov	eax,255
	sub	eax,edi
	imul	edx,eax
	mov	eax,edx
	shr	eax,8
	sub	ecx,eax
	mov	eax,ecx
	sub	eax,esi
	imul	ebx,eax
	mov	eax,ebx
	shr	eax,8
	add	esi,eax
	mov	eax,esi
	jmp	_892
_892:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
_bb_Multiply:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	edx,dword [ebp+12]
	imul	eax,edx
	shr	eax,8
	jmp	_896
_896:
	mov	esp,ebp
	pop	ebp
	ret
_bb_Average:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	edx,dword [ebp+12]
	add	eax,edx
	shr	eax,1
	jmp	_900
_900:
	mov	esp,ebp
	pop	ebp
	ret
_bb_LoadINI:
	push	ebp
	mov	ebp,esp
	push	ebx
	push	esi
	mov	eax,dword [ebp+8]
	mov	esi,_16
	push	eax
	call	_brl_filesystem_ReadFile
	add	esp,4
	mov	ebx,eax
	cmp	ebx,_bbNullObject
	je	_1944
	jmp	_56
_58:
	push	_1945
	push	ebx
	call	_brl_stream_ReadLine
	add	esp,4
	push	eax
	push	esi
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	mov	esi,eax
_56:
	push	ebx
	call	_brl_stream_Eof
	add	esp,4
	cmp	eax,0
	je	_58
_57:
	push	ebx
	call	_brl_filesystem_CloseFile
	add	esp,4
_1944:
	mov	eax,esi
	jmp	_903
_903:
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
_bb_GetINISections:
	push	ebp
	mov	ebp,esp
	sub	esp,20
	push	ebx
	push	esi
	push	edi
	mov	edi,dword [ebp+8]
	mov	eax,dword [edi+8]
	mov	dword [ebp-16],eax
	mov	dword [ebp-12],0
	mov	dword [ebp-4],1
	mov	eax,dword [ebp-16]
	mov	dword [ebp-20],eax
	jmp	_1952
_61:
	push	_62
	push	1
	push	dword [ebp-4]
	push	edi
	call	_brl_retro_Mid
	add	esp,12
	push	eax
	call	_bbStringCompare
	add	esp,8
	cmp	eax,0
	jne	_1954
	mov	eax,dword [ebp-4]
	add	eax,1
	mov	dword [ebp-8],eax
	mov	ebx,dword [ebp-4]
	mov	esi,dword [ebp-16]
	jmp	_1955
_65:
	push	_66
	push	1
	push	ebx
	push	edi
	call	_brl_retro_Mid
	add	esp,12
	push	eax
	call	_bbStringCompare
	add	esp,8
	cmp	eax,0
	jne	_1957
	mov	eax,ebx
	sub	eax,dword [ebp-8]
	add	dword [ebp-12],1
	push	eax
	push	dword [ebp-8]
	push	edi
	call	_brl_retro_Mid
	add	esp,12
	inc	dword [eax+4]
	mov	esi,eax
	mov	edx,dword [ebp-12]
	mov	eax,dword [ebp+12]
	mov	eax,dword [eax+edx*4+24]
	dec	dword [eax+4]
	jnz	_1961
	push	eax
	call	_bbGCFree
	add	esp,4
_1961:
	mov	edx,dword [ebp-12]
	mov	eax,dword [ebp+12]
	mov	dword [eax+edx*4+24],esi
	mov	eax,ebx
	add	eax,1
	mov	dword [ebp-4],eax
	jmp	_64
_1957:
_63:
	add	ebx,1
_1955:
	cmp	ebx,esi
	jle	_65
_64:
_1954:
_59:
	add	dword [ebp-4],1
_1952:
	mov	eax,dword [ebp-20]
	cmp	dword [ebp-4],eax
	jle	_61
_60:
	push	dword [ebp-12]
	call	_bbStringFromInt
	add	esp,4
	jmp	_907
_907:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
_bb_GetINI:
	push	ebp
	mov	ebp,esp
	sub	esp,8
	push	ebx
	push	esi
	push	edi
	mov	esi,dword [ebp+8]
	mov	ebx,dword [ebp+12]
	push	_66
	push	esi
	call	_brl_retro_Trim
	add	esp,4
	push	eax
	call	_brl_retro_Upper
	add	esp,4
	push	eax
	push	_62
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	mov	esi,eax
	push	ebx
	call	_brl_retro_Trim
	add	esp,4
	push	eax
	call	_brl_retro_Upper
	add	esp,4
	mov	ebx,eax
	push	dword [ebp+20]
	call	_brl_retro_Upper
	add	esp,4
	mov	dword [ebp-4],eax
	mov	dword [ebp-8],_16
	push	1
	push	esi
	push	dword [ebp-4]
	call	_brl_retro_Instr
	add	esp,12
	mov	edi,eax
	cmp	edi,0
	je	_1969
	mov	eax,edi
	add	eax,dword [esi+8]
	add	eax,1
	push	eax
	push	ebx
	push	dword [ebp-4]
	call	_brl_retro_Instr
	add	esp,12
	mov	ebx,eax
	cmp	ebx,0
	je	_1970
	mov	eax,edi
	add	eax,dword [esi+8]
	add	eax,1
	push	eax
	push	_62
	push	dword [ebp-4]
	call	_brl_retro_Instr
	add	esp,12
	mov	edx,eax
	cmp	edx,0
	sete	al
	movzx	eax,al
	cmp	eax,0
	jne	_1973
	cmp	edx,1
	setge	al
	movzx	eax,al
	cmp	eax,0
	je	_1971
	cmp	ebx,edx
	setl	al
	movzx	eax,al
_1971:
_1973:
	cmp	eax,0
	je	_1975
	mov	eax,ebx
	add	eax,1
	push	eax
	push	_67
	push	dword [ebp-4]
	call	_brl_retro_Instr
	add	esp,12
	mov	ebx,eax
	cmp	ebx,0
	je	_1976
	mov	eax,ebx
	add	eax,1
	push	eax
	push	_1945
	push	dword [ebp-4]
	call	_brl_retro_Instr
	add	esp,12
	cmp	eax,0
	je	_1977
	sub	eax,ebx
	sub	eax,1
	push	eax
	add	ebx,1
	push	ebx
	push	dword [ebp+20]
	call	_brl_retro_Mid
	add	esp,12
	push	eax
	call	_brl_retro_Trim
	add	esp,4
	mov	dword [ebp-8],eax
_1977:
_1976:
_1975:
_1970:
_1969:
	push	_16
	push	dword [ebp-8]
	call	_bbStringCompare
	add	esp,8
	cmp	eax,0
	je	_1978
	mov	eax,dword [ebp-8]
	jmp	_913
_1978:
	mov	eax,dword [ebp+16]
	jmp	_913
_913:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
_bb_UpdateMesh:
	push	ebp
	mov	ebp,esp
	sub	esp,4
	push	ebx
	push	esi
	push	edi
	mov	eax,dword [ebp+8]
	push	1
	push	eax
	call	_sidesign_minib3d_GetSurface
	add	esp,8
	mov	ebx,eax
	mov	esi,0
	push	ebx
	call	_sidesign_minib3d_CountVertices
	add	esp,4
	sub	eax,1
	mov	edi,eax
	jmp	_1982
_70:
	push	dword [ebp+24]
	mov	eax,dword [ebp+20]
	mov	dword [ebp+-4],eax
	fild	dword [ebp+-4]
	sub	esp,4
	fstp	dword [esp]
	mov	eax,dword [ebp+16]
	mov	dword [ebp+-4],eax
	fild	dword [ebp+-4]
	sub	esp,4
	fstp	dword [esp]
	mov	eax,dword [ebp+12]
	mov	dword [ebp+-4],eax
	fild	dword [ebp+-4]
	sub	esp,4
	fstp	dword [esp]
	push	esi
	push	ebx
	call	_sidesign_minib3d_VertexColor
	add	esp,24
_68:
	add	esi,1
_1982:
	cmp	esi,edi
	jle	_70
_69:
	mov	eax,0
	jmp	_920
_920:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
_bb_UpdateGlowColor:
	push	ebp
	mov	ebp,esp
	sub	esp,8
	push	ebx
	push	esi
	push	edi
	mov	eax,dword [ebp+8]
	mov	edi,dword [ebp+28]
	push	1
	push	eax
	call	_sidesign_minib3d_GetSurface
	add	esp,8
	mov	ebx,eax
	mov	esi,1
	push	ebx
	call	_sidesign_minib3d_CountVertices
	add	esp,4
	cdq
	and	edx,3
	add	eax,edx
	sar	eax,2
	mov	dword [ebp-4],eax
	jmp	_1986
_73:
	push	dword [ebp+24]
	mov	eax,dword [ebp+20]
	mov	dword [ebp+-8],eax
	fild	dword [ebp+-8]
	sub	esp,4
	fstp	dword [esp]
	mov	eax,dword [ebp+16]
	mov	dword [ebp+-8],eax
	fild	dword [ebp+-8]
	sub	esp,4
	fstp	dword [esp]
	mov	eax,dword [ebp+12]
	mov	dword [ebp+-8],eax
	fild	dword [ebp+-8]
	sub	esp,4
	fstp	dword [esp]
	mov	eax,esi
	sub	eax,1
	shl	eax,2
	push	eax
	push	ebx
	call	_sidesign_minib3d_VertexColor
	add	esp,24
	push	dword [ebp+24]
	mov	eax,dword [ebp+20]
	mov	dword [ebp+-8],eax
	fild	dword [ebp+-8]
	sub	esp,4
	fstp	dword [esp]
	mov	eax,dword [ebp+16]
	mov	dword [ebp+-8],eax
	fild	dword [ebp+-8]
	sub	esp,4
	fstp	dword [esp]
	mov	eax,dword [ebp+12]
	mov	dword [ebp+-8],eax
	fild	dword [ebp+-8]
	sub	esp,4
	fstp	dword [esp]
	mov	eax,esi
	sub	eax,1
	shl	eax,2
	add	eax,1
	push	eax
	push	ebx
	call	_sidesign_minib3d_VertexColor
	add	esp,24
	push	dword [ebp+40]
	mov	eax,dword [ebp+36]
	mov	dword [ebp+-8],eax
	fild	dword [ebp+-8]
	sub	esp,4
	fstp	dword [esp]
	mov	eax,dword [ebp+32]
	mov	dword [ebp+-8],eax
	fild	dword [ebp+-8]
	sub	esp,4
	fstp	dword [esp]
	mov	dword [ebp+-8],edi
	fild	dword [ebp+-8]
	sub	esp,4
	fstp	dword [esp]
	mov	eax,esi
	sub	eax,1
	shl	eax,2
	add	eax,2
	push	eax
	push	ebx
	call	_sidesign_minib3d_VertexColor
	add	esp,24
	push	dword [ebp+40]
	mov	eax,dword [ebp+36]
	mov	dword [ebp+-8],eax
	fild	dword [ebp+-8]
	sub	esp,4
	fstp	dword [esp]
	mov	eax,dword [ebp+32]
	mov	dword [ebp+-8],eax
	fild	dword [ebp+-8]
	sub	esp,4
	fstp	dword [esp]
	mov	dword [ebp+-8],edi
	fild	dword [ebp+-8]
	sub	esp,4
	fstp	dword [esp]
	mov	eax,esi
	sub	eax,1
	shl	eax,2
	add	eax,3
	push	eax
	push	ebx
	call	_sidesign_minib3d_VertexColor
	add	esp,24
_71:
	add	esi,1
_1986:
	cmp	esi,dword [ebp-4]
	jle	_73
_72:
	mov	eax,0
	jmp	_931
_931:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
_bb_CreateGlow:
	push	ebp
	mov	ebp,esp
	sub	esp,104
	push	ebx
	push	esi
	push	edi
	mov	eax,dword [ebp+8]
	push	eax
	call	_sidesign_minib3d_CreateMesh
	add	esp,4
	mov	dword [ebp-100],eax
	push	_bbNullObject
	push	dword [ebp-100]
	call	_sidesign_minib3d_CreateSurface
	add	esp,8
	mov	dword [ebp-92],eax
	cmp	dword [ebp+20],360
	jle	_2000
	mov	dword [ebp+20],360
_2000:
	mov	dword [ebp-80],1
	mov	eax,dword [ebp+20]
	mov	dword [ebp-96],eax
	jmp	_2001
_76:
	mov	eax,dword [ebp-80]
	mov	dword [ebp+-104],eax
	fild	dword [ebp+-104]
	fmul	dword [_3819]
	mov	eax,dword [ebp+20]
	mov	dword [ebp+-104],eax
	fild	dword [ebp+-104]
	fdivp	st1,st0
	fstp	dword [ebp-72]
	mov	eax,dword [ebp-80]
	mov	dword [ebp+-104],eax
	fild	dword [ebp+-104]
	fmul	dword [_3820]
	mov	eax,dword [ebp+20]
	mov	dword [ebp+-104],eax
	fild	dword [ebp+-104]
	fdivp	st1,st0
	fld	dword [_3821]
	mov	eax,dword [ebp+20]
	mov	dword [ebp+-104],eax
	fild	dword [ebp+-104]
	fdivp	st1,st0
	faddp	st1,st0
	fstp	dword [ebp-76]
	mov	eax,dword [ebp-80]
	mov	dword [ebp+-104],eax
	fild	dword [ebp+-104]
	fmul	dword [_3822]
	mov	eax,dword [ebp+20]
	mov	dword [ebp+-104],eax
	fild	dword [ebp+-104]
	fdivp	st1,st0
	fld	dword [_3823]
	mov	eax,dword [ebp+20]
	mov	dword [ebp+-104],eax
	fild	dword [ebp+-104]
	fdivp	st1,st0
	faddp	st1,st0
	fstp	dword [ebp-84]
	mov	eax,dword [ebp-80]
	mov	dword [ebp+-104],eax
	fild	dword [ebp+-104]
	fmul	dword [_3824]
	mov	eax,dword [ebp+20]
	mov	dword [ebp+-104],eax
	fild	dword [ebp+-104]
	fdivp	st1,st0
	fld	dword [_3825]
	mov	eax,dword [ebp+20]
	mov	dword [ebp+-104],eax
	fild	dword [ebp+-104]
	fdivp	st1,st0
	fsubp	st1,st0
	fstp	dword [ebp-88]
	push	0
	push	0
	push	0
	push	0
	fld	dword [ebp+12]
	fstp	qword [ebp-56]
	fld	dword [ebp-72]
	sub	esp,8
	fstp	qword [esp]
	call	_bbSin
	add	esp,8
	fld	qword [ebp-56]
	fmulp	st1,st0
	fstp	qword [ebp-56]
	fld	qword [ebp-56]
	sub	esp,4
	fstp	dword [esp]
	fld	dword [ebp+12]
	fstp	qword [ebp-64]
	fld	dword [ebp-72]
	sub	esp,8
	fstp	qword [esp]
	call	_bbCos
	add	esp,8
	fld	qword [ebp-64]
	fmulp	st1,st0
	fstp	qword [ebp-64]
	fld	qword [ebp-64]
	sub	esp,4
	fstp	dword [esp]
	push	dword [ebp-92]
	call	_sidesign_minib3d_AddVertex
	add	esp,28
	mov	esi,eax
	push	0
	push	0
	push	0
	push	0
	fld	dword [ebp+12]
	fstp	qword [ebp-40]
	fld	dword [ebp-76]
	sub	esp,8
	fstp	qword [esp]
	call	_bbSin
	add	esp,8
	fld	qword [ebp-40]
	fmulp	st1,st0
	fstp	qword [ebp-40]
	fld	qword [ebp-40]
	sub	esp,4
	fstp	dword [esp]
	fld	dword [ebp+12]
	fstp	qword [ebp-48]
	fld	dword [ebp-76]
	sub	esp,8
	fstp	qword [esp]
	call	_bbCos
	add	esp,8
	fld	qword [ebp-48]
	fmulp	st1,st0
	fstp	qword [ebp-48]
	fld	qword [ebp-48]
	sub	esp,4
	fstp	dword [esp]
	push	dword [ebp-92]
	call	_sidesign_minib3d_AddVertex
	add	esp,28
	mov	dword [ebp-68],eax
	push	0
	push	1065353216
	push	1065353216
	push	0
	fld	dword [ebp+16]
	fstp	qword [ebp-24]
	fld	dword [ebp-84]
	sub	esp,8
	fstp	qword [esp]
	call	_bbSin
	add	esp,8
	fld	qword [ebp-24]
	fmulp	st1,st0
	fstp	qword [ebp-24]
	fld	qword [ebp-24]
	sub	esp,4
	fstp	dword [esp]
	fld	dword [ebp+16]
	fstp	qword [ebp-32]
	fld	dword [ebp-84]
	sub	esp,8
	fstp	qword [esp]
	call	_bbCos
	add	esp,8
	fld	qword [ebp-32]
	fmulp	st1,st0
	fstp	qword [ebp-32]
	fld	qword [ebp-32]
	sub	esp,4
	fstp	dword [esp]
	push	dword [ebp-92]
	call	_sidesign_minib3d_AddVertex
	add	esp,28
	mov	ebx,eax
	push	0
	push	1065353216
	push	0
	push	0
	fld	dword [ebp+16]
	fstp	qword [ebp-8]
	fld	dword [ebp-88]
	sub	esp,8
	fstp	qword [esp]
	call	_bbSin
	add	esp,8
	fld	qword [ebp-8]
	fmulp	st1,st0
	fstp	qword [ebp-8]
	fld	qword [ebp-8]
	sub	esp,4
	fstp	dword [esp]
	fld	dword [ebp+16]
	fstp	qword [ebp-16]
	fld	dword [ebp-88]
	sub	esp,8
	fstp	qword [esp]
	call	_bbCos
	add	esp,8
	fld	qword [ebp-16]
	fmulp	st1,st0
	fstp	qword [ebp-16]
	fld	qword [ebp-16]
	sub	esp,4
	fstp	dword [esp]
	push	dword [ebp-92]
	call	_sidesign_minib3d_AddVertex
	add	esp,28
	mov	edi,eax
	push	dword [ebp+44]
	mov	eax,dword [ebp+40]
	mov	dword [ebp+-104],eax
	fild	dword [ebp+-104]
	sub	esp,4
	fstp	dword [esp]
	mov	eax,dword [ebp+36]
	mov	dword [ebp+-104],eax
	fild	dword [ebp+-104]
	sub	esp,4
	fstp	dword [esp]
	mov	eax,dword [ebp+32]
	mov	dword [ebp+-104],eax
	fild	dword [ebp+-104]
	sub	esp,4
	fstp	dword [esp]
	push	esi
	push	dword [ebp-92]
	call	_sidesign_minib3d_VertexColor
	add	esp,24
	push	dword [ebp+44]
	mov	eax,dword [ebp+40]
	mov	dword [ebp+-104],eax
	fild	dword [ebp+-104]
	sub	esp,4
	fstp	dword [esp]
	mov	eax,dword [ebp+36]
	mov	dword [ebp+-104],eax
	fild	dword [ebp+-104]
	sub	esp,4
	fstp	dword [esp]
	mov	eax,dword [ebp+32]
	mov	dword [ebp+-104],eax
	fild	dword [ebp+-104]
	sub	esp,4
	fstp	dword [esp]
	push	dword [ebp-68]
	push	dword [ebp-92]
	call	_sidesign_minib3d_VertexColor
	add	esp,24
	push	dword [ebp+60]
	mov	eax,dword [ebp+56]
	mov	dword [ebp+-104],eax
	fild	dword [ebp+-104]
	sub	esp,4
	fstp	dword [esp]
	mov	eax,dword [ebp+52]
	mov	dword [ebp+-104],eax
	fild	dword [ebp+-104]
	sub	esp,4
	fstp	dword [esp]
	mov	eax,dword [ebp+48]
	mov	dword [ebp+-104],eax
	fild	dword [ebp+-104]
	sub	esp,4
	fstp	dword [esp]
	push	ebx
	push	dword [ebp-92]
	call	_sidesign_minib3d_VertexColor
	add	esp,24
	push	dword [ebp+60]
	mov	eax,dword [ebp+56]
	mov	dword [ebp+-104],eax
	fild	dword [ebp+-104]
	sub	esp,4
	fstp	dword [esp]
	mov	eax,dword [ebp+52]
	mov	dword [ebp+-104],eax
	fild	dword [ebp+-104]
	sub	esp,4
	fstp	dword [esp]
	mov	eax,dword [ebp+48]
	mov	dword [ebp+-104],eax
	fild	dword [ebp+-104]
	sub	esp,4
	fstp	dword [esp]
	push	edi
	push	dword [ebp-92]
	call	_sidesign_minib3d_VertexColor
	add	esp,24
	push	esi
	push	dword [ebp-68]
	push	ebx
	push	dword [ebp-92]
	call	_sidesign_minib3d_AddTriangle
	add	esp,16
	push	ebx
	push	edi
	push	esi
	push	dword [ebp-92]
	call	_sidesign_minib3d_AddTriangle
	add	esp,16
_74:
	add	dword [ebp-80],1
_2001:
	mov	eax,dword [ebp-96]
	cmp	dword [ebp-80],eax
	jle	_76
_75:
	mov	esi,0
	push	dword [ebp-92]
	call	_sidesign_minib3d_CountVertices
	add	esp,4
	mov	ebx,eax
	sub	ebx,1
	jmp	_2003
_79:
	push	1
	push	0
	push	esi
	push	dword [ebp-92]
	call	_sidesign_minib3d_VertexY
	add	esp,8
	fchs
	sub	esp,4
	fstp	dword [esp]
	push	esi
	push	dword [ebp-92]
	call	_sidesign_minib3d_VertexX
	add	esp,8
	fchs
	sub	esp,4
	fstp	dword [esp]
	push	esi
	push	dword [ebp-92]
	call	_sidesign_minib3d_VertexTexCoords
	add	esp,24
_77:
	add	esi,1
_2003:
	cmp	esi,ebx
	jle	_79
_78:
	cmp	dword [ebp+24],0
	jle	_2005
	push	dword [ebp+24]
	push	dword [ebp-100]
	call	_sidesign_minib3d_EntityFX
	add	esp,8
_2005:
	cmp	dword [ebp+28],0
	jle	_2006
	push	dword [ebp+28]
	push	dword [ebp-100]
	call	_sidesign_minib3d_EntityBlend
	add	esp,8
_2006:
	mov	eax,dword [ebp-100]
	jmp	_947
_947:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
_bb_UpdateGlow2:
	push	ebp
	mov	ebp,esp
	sub	esp,88
	push	ebx
	push	esi
	push	edi
	mov	eax,dword [ebp+8]
	push	1
	push	eax
	call	_sidesign_minib3d_GetSurface
	add	esp,8
	mov	dword [ebp-84],eax
	mov	ebx,360
	mov	edi,0
	mov	esi,1
	jmp	_2015
_82:
	mov	dword [ebp+-88],esi
	fild	dword [ebp+-88]
	fmul	dword [_3836]
	mov	dword [ebp+-88],ebx
	fild	dword [ebp+-88]
	fdivp	st1,st0
	fstp	dword [ebp-68]
	mov	dword [ebp+-88],esi
	fild	dword [ebp+-88]
	fmul	dword [_3837]
	mov	dword [ebp+-88],ebx
	fild	dword [ebp+-88]
	fdivp	st1,st0
	fld	dword [_3838]
	mov	dword [ebp+-88],ebx
	fild	dword [ebp+-88]
	fdivp	st1,st0
	faddp	st1,st0
	fstp	dword [ebp-72]
	mov	dword [ebp+-88],esi
	fild	dword [ebp+-88]
	fmul	dword [_3839]
	mov	dword [ebp+-88],ebx
	fild	dword [ebp+-88]
	fdivp	st1,st0
	fld	dword [_3840]
	mov	dword [ebp+-88],ebx
	fild	dword [ebp+-88]
	fdivp	st1,st0
	faddp	st1,st0
	fstp	dword [ebp-76]
	mov	dword [ebp+-88],esi
	fild	dword [ebp+-88]
	fmul	dword [_3841]
	mov	dword [ebp+-88],ebx
	fild	dword [ebp+-88]
	fdivp	st1,st0
	fld	dword [_3842]
	mov	dword [ebp+-88],ebx
	fild	dword [ebp+-88]
	fdivp	st1,st0
	fsubp	st1,st0
	fstp	dword [ebp-80]
	push	0
	fld	dword [ebp+12]
	fstp	qword [ebp-56]
	fld	dword [ebp-68]
	sub	esp,8
	fstp	qword [esp]
	call	_bbSin
	add	esp,8
	fld	qword [ebp-56]
	fmulp	st1,st0
	fstp	qword [ebp-56]
	fld	qword [ebp-56]
	sub	esp,4
	fstp	dword [esp]
	fld	dword [ebp+12]
	fstp	qword [ebp-64]
	fld	dword [ebp-68]
	sub	esp,8
	fstp	qword [esp]
	call	_bbCos
	add	esp,8
	fld	qword [ebp-64]
	fmulp	st1,st0
	fstp	qword [ebp-64]
	fld	qword [ebp-64]
	sub	esp,4
	fstp	dword [esp]
	push	edi
	push	dword [ebp-84]
	call	_sidesign_minib3d_VertexCoords
	add	esp,20
	push	0
	fld	dword [ebp+12]
	fstp	qword [ebp-40]
	fld	dword [ebp-72]
	sub	esp,8
	fstp	qword [esp]
	call	_bbSin
	add	esp,8
	fld	qword [ebp-40]
	fmulp	st1,st0
	fstp	qword [ebp-40]
	fld	qword [ebp-40]
	sub	esp,4
	fstp	dword [esp]
	fld	dword [ebp+12]
	fstp	qword [ebp-48]
	fld	dword [ebp-72]
	sub	esp,8
	fstp	qword [esp]
	call	_bbCos
	add	esp,8
	fld	qword [ebp-48]
	fmulp	st1,st0
	fstp	qword [ebp-48]
	fld	qword [ebp-48]
	sub	esp,4
	fstp	dword [esp]
	mov	eax,edi
	add	eax,1
	push	eax
	push	dword [ebp-84]
	call	_sidesign_minib3d_VertexCoords
	add	esp,20
	push	0
	fld	dword [ebp+16]
	fstp	qword [ebp-24]
	fld	dword [ebp-76]
	sub	esp,8
	fstp	qword [esp]
	call	_bbSin
	add	esp,8
	fld	qword [ebp-24]
	fmulp	st1,st0
	fstp	qword [ebp-24]
	fld	qword [ebp-24]
	sub	esp,4
	fstp	dword [esp]
	fld	dword [ebp+16]
	fstp	qword [ebp-32]
	fld	dword [ebp-76]
	sub	esp,8
	fstp	qword [esp]
	call	_bbCos
	add	esp,8
	fld	qword [ebp-32]
	fmulp	st1,st0
	fstp	qword [ebp-32]
	fld	qword [ebp-32]
	sub	esp,4
	fstp	dword [esp]
	mov	eax,edi
	add	eax,2
	push	eax
	push	dword [ebp-84]
	call	_sidesign_minib3d_VertexCoords
	add	esp,20
	push	0
	fld	dword [ebp+16]
	fstp	qword [ebp-8]
	fld	dword [ebp-80]
	sub	esp,8
	fstp	qword [esp]
	call	_bbSin
	add	esp,8
	fld	qword [ebp-8]
	fmulp	st1,st0
	fstp	qword [ebp-8]
	fld	qword [ebp-8]
	sub	esp,4
	fstp	dword [esp]
	fld	dword [ebp+16]
	fstp	qword [ebp-16]
	fld	dword [ebp-80]
	sub	esp,8
	fstp	qword [esp]
	call	_bbCos
	add	esp,8
	fld	qword [ebp-16]
	fmulp	st1,st0
	fstp	qword [ebp-16]
	fld	qword [ebp-16]
	sub	esp,4
	fstp	dword [esp]
	mov	eax,edi
	add	eax,3
	push	eax
	push	dword [ebp-84]
	call	_sidesign_minib3d_VertexCoords
	add	esp,20
	add	edi,4
_80:
	add	esi,1
_2015:
	cmp	esi,ebx
	jle	_82
_81:
	mov	eax,0
	jmp	_952
_952:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
_bb_UpdateGlow:
	push	ebp
	mov	ebp,esp
	sub	esp,40
	push	ebx
	mov	ebx,dword [ebp+8]
	mov	edx,dword [ebp+12]
	mov	eax,dword [ebp+16]
	push	eax
	push	edx
	call	_sidesign_minib3d_EntityDistance
	add	esp,8
	fstp	dword [ebp-32]
	fld	dword [ebp+24]
	fstp	dword [ebp-16]
	fld	qword [_3857]
	sub	esp,8
	fstp	qword [esp]
	fld	dword [ebp-16]
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatPow
	add	esp,16
	fld	dword [ebp-32]
	fdivp	st1,st0
	fld	dword [ebp-32]
	fsub	st0,st1
	fstp	dword [ebp-28]
	fld	dword [ebp-28]
	fmulp	st1,st0
	sub	esp,8
	fstp	qword [esp]
	call	_bbSqr
	add	esp,8
	fld	dword [_3858]
	fstp	dword [ebp-36]
	fdiv	dword [ebp-28]
	sub	esp,8
	fstp	qword [esp]
	call	_bbATan
	add	esp,8
	fld	dword [ebp-36]
	fsubrp	st1,st0
	fld	dword [_3859]
	fld	dword [_3860]
	fsubrp	st2,st0
	fsubrp	st1,st0
	fld	dword [ebp-16]
	fstp	qword [ebp-24]
	sub	esp,8
	fstp	qword [esp]
	call	_bbTan
	add	esp,8
	fld	qword [ebp-24]
	fdivrp	st1,st0
	fstp	qword [ebp-24]
	fld	qword [ebp-24]
	fstp	dword [ebp-40]
	fld	qword [_3861]
	sub	esp,8
	fstp	qword [esp]
	fld	dword [ebp-16]
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatPow
	add	esp,16
	fstp	qword [ebp-12]
	fld	qword [_3862]
	sub	esp,8
	fstp	qword [esp]
	fld	dword [ebp-40]
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatPow
	add	esp,16
	fld	qword [ebp-12]
	faddp	st1,st0
	fstp	qword [ebp-12]
	fld	qword [ebp-12]
	sub	esp,8
	fstp	qword [esp]
	call	_bbSqr
	add	esp,8
	fld	dword [ebp+24]
	fdivp	st1,st0
	fld	dword [ebp+20]
	fmulp	st1,st0
	fstp	dword [ebp-4]
	push	0
	push	dword [ebp-4]
	push	dword [ebp-4]
	push	dword [ebp-4]
	push	ebx
	call	_sidesign_minib3d_ScaleEntity
	add	esp,20
	fld	dword [ebp-4]
	jmp	_959
_959:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
_bb_CreateQuad:
	push	ebp
	mov	ebp,esp
	sub	esp,20
	push	ebx
	push	esi
	push	edi
	mov	esi,dword [ebp+8]
	push	_bbNullObject
	call	_sidesign_minib3d_CreateMesh
	add	esp,4
	mov	edi,eax
	push	_bbNullObject
	push	edi
	call	_sidesign_minib3d_CreateSurface
	add	esp,8
	mov	ebx,eax
	push	0
	push	0
	push	1065353216
	push	0
	push	1065353216
	push	1065353216
	push	ebx
	call	_sidesign_minib3d_AddVertex
	add	esp,28
	mov	dword [ebp-8],eax
	push	0
	push	0
	push	0
	push	0
	push	1065353216
	push	-1082130432
	push	ebx
	call	_sidesign_minib3d_AddVertex
	add	esp,28
	mov	dword [ebp-16],eax
	push	0
	push	1065353216
	push	0
	push	0
	push	-1082130432
	push	-1082130432
	push	ebx
	call	_sidesign_minib3d_AddVertex
	add	esp,28
	mov	dword [ebp-4],eax
	push	0
	push	1065353216
	push	1065353216
	push	0
	push	-1082130432
	push	1065353216
	push	ebx
	call	_sidesign_minib3d_AddVertex
	add	esp,28
	mov	dword [ebp-12],eax
	push	dword [ebp-4]
	push	dword [ebp-16]
	push	dword [ebp-8]
	push	ebx
	call	_sidesign_minib3d_AddTriangle
	add	esp,16
	push	dword [ebp-12]
	push	dword [ebp-4]
	push	dword [ebp-8]
	push	ebx
	call	_sidesign_minib3d_AddTriangle
	add	esp,16
	cmp	esi,_bbNullObject
	je	_2035
	push	1
	push	esi
	push	edi
	call	_sidesign_minib3d_EntityParent
	add	esp,12
_2035:
	cmp	dword [ebp+24],0
	je	_2036
	push	dword [ebp+24]
	push	edi
	call	_sidesign_minib3d_EntityFX
	add	esp,8
_2036:
	cmp	dword [ebp+16],_bbNullObject
	je	_2037
	push	0
	push	0
	push	dword [ebp+16]
	push	edi
	call	_sidesign_minib3d_EntityTexture
	add	esp,16
_2037:
	cmp	dword [ebp+20],0
	je	_2038
	push	dword [ebp+20]
	push	edi
	call	_sidesign_minib3d_EntityBlend
	add	esp,8
_2038:
	mov	eax,dword [ebp+36]
	mov	dword [ebp+-20],eax
	fild	dword [ebp+-20]
	sub	esp,4
	fstp	dword [esp]
	mov	eax,dword [ebp+32]
	mov	dword [ebp+-20],eax
	fild	dword [ebp+-20]
	sub	esp,4
	fstp	dword [esp]
	mov	eax,dword [ebp+28]
	mov	dword [ebp+-20],eax
	fild	dword [ebp+-20]
	sub	esp,4
	fstp	dword [esp]
	push	edi
	call	_sidesign_minib3d_EntityColor
	add	esp,16
	push	dword [ebp+40]
	push	edi
	call	_sidesign_minib3d_EntityAlpha
	add	esp,8
	push	dword [ebp+40]
	mov	eax,dword [ebp+36]
	mov	dword [ebp+-20],eax
	fild	dword [ebp+-20]
	sub	esp,4
	fstp	dword [esp]
	mov	eax,dword [ebp+32]
	mov	dword [ebp+-20],eax
	fild	dword [ebp+-20]
	sub	esp,4
	fstp	dword [esp]
	mov	eax,dword [ebp+28]
	mov	dword [ebp+-20],eax
	fild	dword [ebp+-20]
	sub	esp,4
	fstp	dword [esp]
	push	dword [ebp-8]
	push	ebx
	call	_sidesign_minib3d_VertexColor
	add	esp,24
	push	dword [ebp+40]
	mov	eax,dword [ebp+36]
	mov	dword [ebp+-20],eax
	fild	dword [ebp+-20]
	sub	esp,4
	fstp	dword [esp]
	mov	eax,dword [ebp+32]
	mov	dword [ebp+-20],eax
	fild	dword [ebp+-20]
	sub	esp,4
	fstp	dword [esp]
	mov	eax,dword [ebp+28]
	mov	dword [ebp+-20],eax
	fild	dword [ebp+-20]
	sub	esp,4
	fstp	dword [esp]
	push	dword [ebp-16]
	push	ebx
	call	_sidesign_minib3d_VertexColor
	add	esp,24
	push	dword [ebp+40]
	mov	eax,dword [ebp+36]
	mov	dword [ebp+-20],eax
	fild	dword [ebp+-20]
	sub	esp,4
	fstp	dword [esp]
	mov	eax,dword [ebp+32]
	mov	dword [ebp+-20],eax
	fild	dword [ebp+-20]
	sub	esp,4
	fstp	dword [esp]
	mov	eax,dword [ebp+28]
	mov	dword [ebp+-20],eax
	fild	dword [ebp+-20]
	sub	esp,4
	fstp	dword [esp]
	push	dword [ebp-4]
	push	ebx
	call	_sidesign_minib3d_VertexColor
	add	esp,24
	push	dword [ebp+40]
	mov	eax,dword [ebp+36]
	mov	dword [ebp+-20],eax
	fild	dword [ebp+-20]
	sub	esp,4
	fstp	dword [esp]
	mov	eax,dword [ebp+32]
	mov	dword [ebp+-20],eax
	fild	dword [ebp+-20]
	sub	esp,4
	fstp	dword [esp]
	mov	eax,dword [ebp+28]
	mov	dword [ebp+-20],eax
	fild	dword [ebp+-20]
	sub	esp,4
	fstp	dword [esp]
	push	dword [ebp-12]
	push	ebx
	call	_sidesign_minib3d_VertexColor
	add	esp,24
	push	0
	push	dword [ebp+12]
	push	dword [ebp+12]
	push	dword [ebp+12]
	push	edi
	call	_sidesign_minib3d_ScaleEntity
	add	esp,20
	mov	eax,edi
	jmp	_970
_970:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
_bb_CreateRing:
	push	ebp
	mov	ebp,esp
	sub	esp,104
	push	ebx
	push	esi
	push	edi
	mov	eax,dword [ebp+8]
	push	eax
	call	_sidesign_minib3d_CreateMesh
	add	esp,4
	mov	dword [ebp-100],eax
	push	_bbNullObject
	push	dword [ebp-100]
	call	_sidesign_minib3d_CreateSurface
	add	esp,8
	mov	dword [ebp-88],eax
	cmp	dword [ebp+12],360
	jle	_2050
	mov	dword [ebp+12],360
_2050:
	mov	dword [ebp-80],1
	mov	eax,dword [ebp+12]
	mov	dword [ebp-96],eax
	jmp	_2051
_85:
	mov	eax,dword [ebp-80]
	mov	dword [ebp+-104],eax
	fild	dword [ebp+-104]
	fmul	dword [_3878]
	mov	eax,dword [ebp+12]
	mov	dword [ebp+-104],eax
	fild	dword [ebp+-104]
	fdivp	st1,st0
	fld	dword [_3879]
	mov	eax,dword [ebp+12]
	mov	dword [ebp+-104],eax
	fild	dword [ebp+-104]
	fdivp	st1,st0
	fsubp	st1,st0
	fstp	dword [ebp-72]
	mov	eax,dword [ebp-80]
	mov	dword [ebp+-104],eax
	fild	dword [ebp+-104]
	fmul	dword [_3880]
	mov	eax,dword [ebp+12]
	mov	dword [ebp+-104],eax
	fild	dword [ebp+-104]
	fdivp	st1,st0
	fld	dword [_3881]
	mov	eax,dword [ebp+12]
	mov	dword [ebp+-104],eax
	fild	dword [ebp+-104]
	fdivp	st1,st0
	faddp	st1,st0
	fstp	dword [ebp-76]
	mov	eax,dword [ebp-80]
	mov	dword [ebp+-104],eax
	fild	dword [ebp+-104]
	fmul	dword [_3882]
	mov	eax,dword [ebp+12]
	mov	dword [ebp+-104],eax
	fild	dword [ebp+-104]
	fdivp	st1,st0
	fld	dword [_3883]
	mov	eax,dword [ebp+12]
	mov	dword [ebp+-104],eax
	fild	dword [ebp+-104]
	fdivp	st1,st0
	faddp	st1,st0
	fstp	dword [ebp-84]
	mov	eax,dword [ebp-80]
	mov	dword [ebp+-104],eax
	fild	dword [ebp+-104]
	fmul	dword [_3884]
	mov	eax,dword [ebp+12]
	mov	dword [ebp+-104],eax
	fild	dword [ebp+-104]
	fdivp	st1,st0
	fld	dword [_3885]
	mov	eax,dword [ebp+12]
	mov	dword [ebp+-104],eax
	fild	dword [ebp+-104]
	fdivp	st1,st0
	fsubp	st1,st0
	fstp	dword [ebp-92]
	push	0
	push	0
	push	0
	push	0
	fld	dword [ebp+16]
	fstp	qword [ebp-56]
	fld	dword [ebp-72]
	sub	esp,8
	fstp	qword [esp]
	call	_bbSin
	add	esp,8
	fld	qword [ebp-56]
	fmulp	st1,st0
	fstp	qword [ebp-56]
	fld	qword [ebp-56]
	sub	esp,4
	fstp	dword [esp]
	fld	dword [ebp+16]
	fstp	qword [ebp-64]
	fld	dword [ebp-72]
	sub	esp,8
	fstp	qword [esp]
	call	_bbCos
	add	esp,8
	fld	qword [ebp-64]
	fmulp	st1,st0
	fstp	qword [ebp-64]
	fld	qword [ebp-64]
	sub	esp,4
	fstp	dword [esp]
	push	dword [ebp-88]
	call	_sidesign_minib3d_AddVertex
	add	esp,28
	mov	esi,eax
	push	0
	push	0
	push	0
	push	0
	fld	dword [ebp+16]
	fstp	qword [ebp-40]
	fld	dword [ebp-76]
	sub	esp,8
	fstp	qword [esp]
	call	_bbSin
	add	esp,8
	fld	qword [ebp-40]
	fmulp	st1,st0
	fstp	qword [ebp-40]
	fld	qword [ebp-40]
	sub	esp,4
	fstp	dword [esp]
	fld	dword [ebp+16]
	fstp	qword [ebp-48]
	fld	dword [ebp-76]
	sub	esp,8
	fstp	qword [esp]
	call	_bbCos
	add	esp,8
	fld	qword [ebp-48]
	fmulp	st1,st0
	fstp	qword [ebp-48]
	fld	qword [ebp-48]
	sub	esp,4
	fstp	dword [esp]
	push	dword [ebp-88]
	call	_sidesign_minib3d_AddVertex
	add	esp,28
	mov	dword [ebp-68],eax
	push	0
	push	1065353216
	push	1065353216
	push	0
	fld	dword [ebp+20]
	fstp	qword [ebp-24]
	fld	dword [ebp-84]
	sub	esp,8
	fstp	qword [esp]
	call	_bbSin
	add	esp,8
	fld	qword [ebp-24]
	fmulp	st1,st0
	fstp	qword [ebp-24]
	fld	qword [ebp-24]
	sub	esp,4
	fstp	dword [esp]
	fld	dword [ebp+20]
	fstp	qword [ebp-32]
	fld	dword [ebp-84]
	sub	esp,8
	fstp	qword [esp]
	call	_bbCos
	add	esp,8
	fld	qword [ebp-32]
	fmulp	st1,st0
	fstp	qword [ebp-32]
	fld	qword [ebp-32]
	sub	esp,4
	fstp	dword [esp]
	push	dword [ebp-88]
	call	_sidesign_minib3d_AddVertex
	add	esp,28
	mov	ebx,eax
	push	0
	push	1065353216
	push	1065353216
	push	0
	fld	dword [ebp+20]
	fstp	qword [ebp-8]
	fld	dword [ebp-92]
	sub	esp,8
	fstp	qword [esp]
	call	_bbSin
	add	esp,8
	fld	qword [ebp-8]
	fmulp	st1,st0
	fstp	qword [ebp-8]
	fld	qword [ebp-8]
	sub	esp,4
	fstp	dword [esp]
	fld	dword [ebp+20]
	fstp	qword [ebp-16]
	fld	dword [ebp-92]
	sub	esp,8
	fstp	qword [esp]
	call	_bbCos
	add	esp,8
	fld	qword [ebp-16]
	fmulp	st1,st0
	fstp	qword [ebp-16]
	fld	qword [ebp-16]
	sub	esp,4
	fstp	dword [esp]
	push	dword [ebp-88]
	call	_sidesign_minib3d_AddVertex
	add	esp,28
	mov	edi,eax
	push	dword [ebp+40]
	mov	eax,dword [ebp+36]
	mov	dword [ebp+-104],eax
	fild	dword [ebp+-104]
	sub	esp,4
	fstp	dword [esp]
	mov	eax,dword [ebp+32]
	mov	dword [ebp+-104],eax
	fild	dword [ebp+-104]
	sub	esp,4
	fstp	dword [esp]
	mov	eax,dword [ebp+28]
	mov	dword [ebp+-104],eax
	fild	dword [ebp+-104]
	sub	esp,4
	fstp	dword [esp]
	push	esi
	push	dword [ebp-88]
	call	_sidesign_minib3d_VertexColor
	add	esp,24
	push	dword [ebp+40]
	mov	eax,dword [ebp+36]
	mov	dword [ebp+-104],eax
	fild	dword [ebp+-104]
	sub	esp,4
	fstp	dword [esp]
	mov	eax,dword [ebp+32]
	mov	dword [ebp+-104],eax
	fild	dword [ebp+-104]
	sub	esp,4
	fstp	dword [esp]
	mov	eax,dword [ebp+28]
	mov	dword [ebp+-104],eax
	fild	dword [ebp+-104]
	sub	esp,4
	fstp	dword [esp]
	push	dword [ebp-68]
	push	dword [ebp-88]
	call	_sidesign_minib3d_VertexColor
	add	esp,24
	push	dword [ebp+40]
	mov	eax,dword [ebp+36]
	mov	dword [ebp+-104],eax
	fild	dword [ebp+-104]
	sub	esp,4
	fstp	dword [esp]
	mov	eax,dword [ebp+32]
	mov	dword [ebp+-104],eax
	fild	dword [ebp+-104]
	sub	esp,4
	fstp	dword [esp]
	mov	eax,dword [ebp+28]
	mov	dword [ebp+-104],eax
	fild	dword [ebp+-104]
	sub	esp,4
	fstp	dword [esp]
	push	ebx
	push	dword [ebp-88]
	call	_sidesign_minib3d_VertexColor
	add	esp,24
	push	dword [ebp+40]
	mov	eax,dword [ebp+36]
	mov	dword [ebp+-104],eax
	fild	dword [ebp+-104]
	sub	esp,4
	fstp	dword [esp]
	mov	eax,dword [ebp+32]
	mov	dword [ebp+-104],eax
	fild	dword [ebp+-104]
	sub	esp,4
	fstp	dword [esp]
	mov	eax,dword [ebp+28]
	mov	dword [ebp+-104],eax
	fild	dword [ebp+-104]
	sub	esp,4
	fstp	dword [esp]
	push	edi
	push	dword [ebp-88]
	call	_sidesign_minib3d_VertexColor
	add	esp,24
	push	esi
	push	dword [ebp-68]
	push	ebx
	push	dword [ebp-88]
	call	_sidesign_minib3d_AddTriangle
	add	esp,16
	push	ebx
	push	edi
	push	esi
	push	dword [ebp-88]
	call	_sidesign_minib3d_AddTriangle
	add	esp,16
_83:
	add	dword [ebp-80],1
_2051:
	mov	eax,dword [ebp-96]
	cmp	dword [ebp-80],eax
	jle	_85
_84:
	push	dword [ebp+24]
	push	dword [ebp-100]
	call	_sidesign_minib3d_EntityFX
	add	esp,8
	mov	eax,dword [ebp-100]
	jmp	_981
_981:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
_bb_UpdateRing:
	push	ebp
	mov	ebp,esp
	sub	esp,92
	push	ebx
	push	esi
	push	edi
	push	1
	push	dword [ebp+8]
	call	_sidesign_minib3d_GetSurface
	add	esp,8
	mov	dword [ebp-84],eax
	cmp	dword [ebp+12],360
	jle	_2064
	mov	dword [ebp+12],360
_2064:
	mov	dword [ebp-80],0
	mov	eax,dword [ebp+12]
	sub	eax,1
	mov	dword [ebp-88],eax
	jmp	_2065
_88:
	mov	eax,dword [ebp-80]
	mov	dword [ebp+-92],eax
	fild	dword [ebp+-92]
	fmul	dword [_3894]
	mov	eax,dword [ebp+12]
	mov	dword [ebp+-92],eax
	fild	dword [ebp+-92]
	fdivp	st1,st0
	fld	dword [_3895]
	mov	eax,dword [ebp+12]
	mov	dword [ebp+-92],eax
	fild	dword [ebp+-92]
	fdivp	st1,st0
	fsubp	st1,st0
	fstp	dword [ebp-76]
	mov	eax,dword [ebp-80]
	mov	dword [ebp+-92],eax
	fild	dword [ebp+-92]
	fmul	dword [_3896]
	mov	eax,dword [ebp+12]
	mov	dword [ebp+-92],eax
	fild	dword [ebp+-92]
	fdivp	st1,st0
	fld	dword [_3897]
	mov	eax,dword [ebp+12]
	mov	dword [ebp+-92],eax
	fild	dword [ebp+-92]
	fdivp	st1,st0
	faddp	st1,st0
	fstp	dword [ebp-72]
	mov	eax,dword [ebp-80]
	shl	eax,2
	mov	dword [ebp-68],eax
	mov	eax,dword [ebp-80]
	shl	eax,2
	add	eax,1
	mov	edi,eax
	mov	eax,dword [ebp-80]
	shl	eax,2
	add	eax,2
	mov	esi,eax
	mov	eax,dword [ebp-80]
	shl	eax,2
	add	eax,3
	mov	ebx,eax
	fld	dword [ebp+16]
	fstp	qword [ebp-24]
	fld	dword [ebp-76]
	sub	esp,8
	fstp	qword [esp]
	call	_bbSin
	add	esp,8
	fld	qword [ebp-24]
	fmulp	st1,st0
	fstp	qword [ebp-24]
	fld	qword [ebp-24]
	sub	esp,4
	fstp	dword [esp]
	push	0
	fld	dword [ebp+16]
	fstp	qword [ebp-32]
	fld	dword [ebp-76]
	sub	esp,8
	fstp	qword [esp]
	call	_bbCos
	add	esp,8
	fld	qword [ebp-32]
	fmulp	st1,st0
	fstp	qword [ebp-32]
	fld	qword [ebp-32]
	sub	esp,4
	fstp	dword [esp]
	push	dword [ebp-68]
	push	dword [ebp-84]
	call	_sidesign_minib3d_VertexCoords
	add	esp,20
	fld	dword [ebp+16]
	fstp	qword [ebp-40]
	fld	dword [ebp-72]
	sub	esp,8
	fstp	qword [esp]
	call	_bbSin
	add	esp,8
	fld	qword [ebp-40]
	fmulp	st1,st0
	fstp	qword [ebp-40]
	fld	qword [ebp-40]
	sub	esp,4
	fstp	dword [esp]
	push	0
	fld	dword [ebp+16]
	fstp	qword [ebp-48]
	fld	dword [ebp-72]
	sub	esp,8
	fstp	qword [esp]
	call	_bbCos
	add	esp,8
	fld	qword [ebp-48]
	fmulp	st1,st0
	fstp	qword [ebp-48]
	fld	qword [ebp-48]
	sub	esp,4
	fstp	dword [esp]
	push	edi
	push	dword [ebp-84]
	call	_sidesign_minib3d_VertexCoords
	add	esp,20
	fld	dword [ebp+20]
	fstp	qword [ebp-56]
	fld	dword [ebp-72]
	sub	esp,8
	fstp	qword [esp]
	call	_bbSin
	add	esp,8
	fld	qword [ebp-56]
	fmulp	st1,st0
	fstp	qword [ebp-56]
	fld	qword [ebp-56]
	sub	esp,4
	fstp	dword [esp]
	push	0
	fld	dword [ebp+20]
	fstp	qword [ebp-64]
	fld	dword [ebp-72]
	sub	esp,8
	fstp	qword [esp]
	call	_bbCos
	add	esp,8
	fld	qword [ebp-64]
	fmulp	st1,st0
	fstp	qword [ebp-64]
	fld	qword [ebp-64]
	sub	esp,4
	fstp	dword [esp]
	push	esi
	push	dword [ebp-84]
	call	_sidesign_minib3d_VertexCoords
	add	esp,20
	fld	dword [ebp+20]
	fstp	qword [ebp-8]
	fld	dword [ebp-76]
	sub	esp,8
	fstp	qword [esp]
	call	_bbSin
	add	esp,8
	fld	qword [ebp-8]
	fmulp	st1,st0
	fstp	qword [ebp-8]
	fld	qword [ebp-8]
	sub	esp,4
	fstp	dword [esp]
	push	0
	fld	dword [ebp+20]
	fstp	qword [ebp-16]
	fld	dword [ebp-76]
	sub	esp,8
	fstp	qword [esp]
	call	_bbCos
	add	esp,8
	fld	qword [ebp-16]
	fmulp	st1,st0
	fstp	qword [ebp-16]
	fld	qword [ebp-16]
	sub	esp,4
	fstp	dword [esp]
	push	ebx
	push	dword [ebp-84]
	call	_sidesign_minib3d_VertexCoords
	add	esp,20
	push	dword [ebp+40]
	mov	eax,dword [ebp+36]
	mov	dword [ebp+-92],eax
	fild	dword [ebp+-92]
	sub	esp,4
	fstp	dword [esp]
	mov	eax,dword [ebp+32]
	mov	dword [ebp+-92],eax
	fild	dword [ebp+-92]
	sub	esp,4
	fstp	dword [esp]
	mov	eax,dword [ebp+28]
	mov	dword [ebp+-92],eax
	fild	dword [ebp+-92]
	sub	esp,4
	fstp	dword [esp]
	push	dword [ebp-68]
	push	dword [ebp-84]
	call	_sidesign_minib3d_VertexColor
	add	esp,24
	push	dword [ebp+40]
	mov	eax,dword [ebp+36]
	mov	dword [ebp+-92],eax
	fild	dword [ebp+-92]
	sub	esp,4
	fstp	dword [esp]
	mov	eax,dword [ebp+32]
	mov	dword [ebp+-92],eax
	fild	dword [ebp+-92]
	sub	esp,4
	fstp	dword [esp]
	mov	eax,dword [ebp+28]
	mov	dword [ebp+-92],eax
	fild	dword [ebp+-92]
	sub	esp,4
	fstp	dword [esp]
	push	edi
	push	dword [ebp-84]
	call	_sidesign_minib3d_VertexColor
	add	esp,24
	push	dword [ebp+40]
	mov	eax,dword [ebp+36]
	mov	dword [ebp+-92],eax
	fild	dword [ebp+-92]
	sub	esp,4
	fstp	dword [esp]
	mov	eax,dword [ebp+32]
	mov	dword [ebp+-92],eax
	fild	dword [ebp+-92]
	sub	esp,4
	fstp	dword [esp]
	mov	eax,dword [ebp+28]
	mov	dword [ebp+-92],eax
	fild	dword [ebp+-92]
	sub	esp,4
	fstp	dword [esp]
	push	esi
	push	dword [ebp-84]
	call	_sidesign_minib3d_VertexColor
	add	esp,24
	push	dword [ebp+40]
	mov	eax,dword [ebp+36]
	mov	dword [ebp+-92],eax
	fild	dword [ebp+-92]
	sub	esp,4
	fstp	dword [esp]
	mov	eax,dword [ebp+32]
	mov	dword [ebp+-92],eax
	fild	dword [ebp+-92]
	sub	esp,4
	fstp	dword [esp]
	mov	eax,dword [ebp+28]
	mov	dword [ebp+-92],eax
	fild	dword [ebp+-92]
	sub	esp,4
	fstp	dword [esp]
	push	ebx
	push	dword [ebp-84]
	call	_sidesign_minib3d_VertexColor
	add	esp,24
_86:
	add	dword [ebp-80],1
_2065:
	mov	eax,dword [ebp-88]
	cmp	dword [ebp-80],eax
	jle	_88
_87:
	mov	esi,0
	push	dword [ebp-84]
	call	_sidesign_minib3d_CountVertices
	add	esp,4
	mov	ebx,eax
	sub	ebx,1
	jmp	_2067
_91:
	push	1
	push	0
	push	esi
	push	dword [ebp-84]
	call	_sidesign_minib3d_VertexZ
	add	esp,8
	sub	esp,4
	fstp	dword [esp]
	push	esi
	push	dword [ebp-84]
	call	_sidesign_minib3d_VertexX
	add	esp,8
	sub	esp,4
	fstp	dword [esp]
	push	esi
	push	dword [ebp-84]
	call	_sidesign_minib3d_VertexTexCoords
	add	esp,24
_89:
	add	esi,1
_2067:
	cmp	esi,ebx
	jle	_91
_90:
	push	dword [ebp+24]
	push	dword [ebp+8]
	call	_sidesign_minib3d_EntityFX
	add	esp,8
	mov	eax,0
	jmp	_992
_992:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
_bb_CreatePlanetShader:
	push	ebp
	mov	ebp,esp
	sub	esp,20
	push	ebx
	push	esi
	push	edi
	mov	eax,dword [ebp+8]
	push	eax
	call	_sidesign_minib3d_CreateMesh
	add	esp,4
	mov	dword [ebp-16],eax
	push	_bbNullObject
	push	dword [ebp-16]
	call	_sidesign_minib3d_CreateSurface
	add	esp,8
	mov	dword [ebp-4],eax
	push	4
	push	_2071
	call	_bbArrayNew1D
	add	esp,8
	mov	esi,eax
	mov	edi,0
	fld	dword [ebp+12]
	fsub	dword [_3909]
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatToInt
	add	esp,8
	mov	dword [ebp-12],eax
	jmp	_2079
_94:
	mov	ebx,0
	fld	dword [ebp+16]
	fsub	dword [_3910]
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatToInt
	add	esp,8
	mov	dword [ebp-8],eax
	jmp	_2081
_97:
	mov	dword [ebp+-20],edi
	fild	dword [ebp+-20]
	fld	dword [ebp+12]
	fdiv	dword [_3911]
	fsubp	st1,st0
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatAbs
	fstp	st0
	add	esp,8
	mov	dword [ebp+-20],ebx
	fild	dword [ebp+-20]
	fld	dword [ebp+16]
	fdiv	dword [_3912]
	fsubp	st1,st0
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatAbs
	fstp	st0
	add	esp,8
	mov	dword [ebp+-20],edi
	fild	dword [ebp+-20]
	fld	dword [ebp+12]
	fdiv	dword [_3913]
	fsubp	st1,st0
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatAbs
	fstp	st0
	add	esp,8
	mov	eax,ebx
	add	eax,1
	mov	dword [ebp+-20],eax
	fild	dword [ebp+-20]
	fld	dword [ebp+16]
	fdiv	dword [_3914]
	fsubp	st1,st0
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatAbs
	fstp	st0
	add	esp,8
	mov	eax,edi
	add	eax,1
	mov	dword [ebp+-20],eax
	fild	dword [ebp+-20]
	fld	dword [ebp+12]
	fdiv	dword [_3915]
	fsubp	st1,st0
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatAbs
	fstp	st0
	add	esp,8
	mov	eax,ebx
	add	eax,1
	mov	dword [ebp+-20],eax
	fild	dword [ebp+-20]
	fld	dword [ebp+16]
	fdiv	dword [_3916]
	fsubp	st1,st0
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatAbs
	fstp	st0
	add	esp,8
	mov	eax,edi
	add	eax,1
	mov	dword [ebp+-20],eax
	fild	dword [ebp+-20]
	fld	dword [ebp+12]
	fdiv	dword [_3917]
	fsubp	st1,st0
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatAbs
	fstp	st0
	add	esp,8
	mov	dword [ebp+-20],ebx
	fild	dword [ebp+-20]
	fld	dword [ebp+16]
	fdiv	dword [_3918]
	fsubp	st1,st0
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatAbs
	fstp	st0
	add	esp,8
	push	0
	mov	dword [ebp+-20],ebx
	fild	dword [ebp+-20]
	fmul	dword [_3919]
	fdiv	dword [ebp+16]
	sub	esp,4
	fstp	dword [esp]
	mov	dword [ebp+-20],edi
	fild	dword [ebp+-20]
	fmul	dword [_3920]
	fdiv	dword [ebp+12]
	sub	esp,4
	fstp	dword [esp]
	push	0
	mov	eax,ebx
	neg	eax
	mov	dword [ebp+-20],eax
	fild	dword [ebp+-20]
	fld	dword [ebp+16]
	fdiv	dword [_3921]
	faddp	st1,st0
	sub	esp,4
	fstp	dword [esp]
	mov	dword [ebp+-20],edi
	fild	dword [ebp+-20]
	fld	dword [ebp+12]
	fdiv	dword [_3922]
	fsubp	st1,st0
	sub	esp,4
	fstp	dword [esp]
	push	dword [ebp-4]
	call	_sidesign_minib3d_AddVertex
	add	esp,28
	mov	dword [esi+24],eax
	push	0
	mov	eax,ebx
	add	eax,1
	mov	dword [ebp+-20],eax
	fild	dword [ebp+-20]
	fmul	dword [_3923]
	fdiv	dword [ebp+16]
	sub	esp,4
	fstp	dword [esp]
	mov	dword [ebp+-20],edi
	fild	dword [ebp+-20]
	fmul	dword [_3924]
	fdiv	dword [ebp+12]
	sub	esp,4
	fstp	dword [esp]
	push	0
	mov	eax,ebx
	neg	eax
	mov	dword [ebp+-20],eax
	fild	dword [ebp+-20]
	fld	dword [ebp+16]
	fdiv	dword [_3925]
	faddp	st1,st0
	fsub	dword [_3926]
	sub	esp,4
	fstp	dword [esp]
	mov	dword [ebp+-20],edi
	fild	dword [ebp+-20]
	fld	dword [ebp+12]
	fdiv	dword [_3927]
	fsubp	st1,st0
	sub	esp,4
	fstp	dword [esp]
	push	dword [ebp-4]
	call	_sidesign_minib3d_AddVertex
	add	esp,28
	mov	dword [esi+4+24],eax
	push	0
	mov	eax,ebx
	add	eax,1
	mov	dword [ebp+-20],eax
	fild	dword [ebp+-20]
	fmul	dword [_3928]
	fdiv	dword [ebp+16]
	sub	esp,4
	fstp	dword [esp]
	mov	eax,edi
	add	eax,1
	mov	dword [ebp+-20],eax
	fild	dword [ebp+-20]
	fmul	dword [_3929]
	fdiv	dword [ebp+12]
	sub	esp,4
	fstp	dword [esp]
	push	0
	mov	eax,ebx
	neg	eax
	mov	dword [ebp+-20],eax
	fild	dword [ebp+-20]
	fld	dword [ebp+16]
	fdiv	dword [_3930]
	faddp	st1,st0
	fsub	dword [_3931]
	sub	esp,4
	fstp	dword [esp]
	mov	dword [ebp+-20],edi
	fild	dword [ebp+-20]
	fld	dword [ebp+12]
	fdiv	dword [_3932]
	fsubp	st1,st0
	fadd	dword [_3933]
	sub	esp,4
	fstp	dword [esp]
	push	dword [ebp-4]
	call	_sidesign_minib3d_AddVertex
	add	esp,28
	mov	dword [esi+8+24],eax
	push	0
	mov	dword [ebp+-20],ebx
	fild	dword [ebp+-20]
	fmul	dword [_3934]
	fdiv	dword [ebp+16]
	sub	esp,4
	fstp	dword [esp]
	mov	eax,edi
	add	eax,1
	mov	dword [ebp+-20],eax
	fild	dword [ebp+-20]
	fmul	dword [_3935]
	fdiv	dword [ebp+12]
	sub	esp,4
	fstp	dword [esp]
	push	0
	mov	eax,ebx
	neg	eax
	mov	dword [ebp+-20],eax
	fild	dword [ebp+-20]
	fld	dword [ebp+16]
	fdiv	dword [_3936]
	faddp	st1,st0
	sub	esp,4
	fstp	dword [esp]
	mov	dword [ebp+-20],edi
	fild	dword [ebp+-20]
	fld	dword [ebp+12]
	fdiv	dword [_3937]
	fsubp	st1,st0
	fadd	dword [_3938]
	sub	esp,4
	fstp	dword [esp]
	push	dword [ebp-4]
	call	_sidesign_minib3d_AddVertex
	add	esp,28
	mov	dword [esi+12+24],eax
	push	dword [esi+4+24]
	push	dword [esi+24]
	push	dword [esi+12+24]
	push	dword [ebp-4]
	call	_sidesign_minib3d_AddTriangle
	add	esp,16
	push	dword [esi+4+24]
	push	dword [esi+12+24]
	push	dword [esi+8+24]
	push	dword [ebp-4]
	call	_sidesign_minib3d_AddTriangle
	add	esp,16
	push	1065353216
	mov	eax,dword [ebp+28]
	mov	dword [ebp+-20],eax
	fild	dword [ebp+-20]
	sub	esp,4
	fstp	dword [esp]
	mov	eax,dword [ebp+24]
	mov	dword [ebp+-20],eax
	fild	dword [ebp+-20]
	sub	esp,4
	fstp	dword [esp]
	mov	eax,dword [ebp+20]
	mov	dword [ebp+-20],eax
	fild	dword [ebp+-20]
	sub	esp,4
	fstp	dword [esp]
	push	dword [esi+24]
	push	dword [ebp-4]
	call	_sidesign_minib3d_VertexColor
	add	esp,24
	push	1065353216
	mov	eax,dword [ebp+28]
	mov	dword [ebp+-20],eax
	fild	dword [ebp+-20]
	sub	esp,4
	fstp	dword [esp]
	mov	eax,dword [ebp+24]
	mov	dword [ebp+-20],eax
	fild	dword [ebp+-20]
	sub	esp,4
	fstp	dword [esp]
	mov	eax,dword [ebp+20]
	mov	dword [ebp+-20],eax
	fild	dword [ebp+-20]
	sub	esp,4
	fstp	dword [esp]
	push	dword [esi+4+24]
	push	dword [ebp-4]
	call	_sidesign_minib3d_VertexColor
	add	esp,24
	push	1065353216
	mov	eax,dword [ebp+28]
	mov	dword [ebp+-20],eax
	fild	dword [ebp+-20]
	sub	esp,4
	fstp	dword [esp]
	mov	eax,dword [ebp+24]
	mov	dword [ebp+-20],eax
	fild	dword [ebp+-20]
	sub	esp,4
	fstp	dword [esp]
	mov	eax,dword [ebp+20]
	mov	dword [ebp+-20],eax
	fild	dword [ebp+-20]
	sub	esp,4
	fstp	dword [esp]
	push	dword [esi+8+24]
	push	dword [ebp-4]
	call	_sidesign_minib3d_VertexColor
	add	esp,24
	push	1065353216
	mov	eax,dword [ebp+28]
	mov	dword [ebp+-20],eax
	fild	dword [ebp+-20]
	sub	esp,4
	fstp	dword [esp]
	mov	eax,dword [ebp+24]
	mov	dword [ebp+-20],eax
	fild	dword [ebp+-20]
	sub	esp,4
	fstp	dword [esp]
	mov	eax,dword [ebp+20]
	mov	dword [ebp+-20],eax
	fild	dword [ebp+-20]
	sub	esp,4
	fstp	dword [esp]
	push	dword [esi+12+24]
	push	dword [ebp-4]
	call	_sidesign_minib3d_VertexColor
	add	esp,24
	push	1065353216
	mov	eax,ebx
	neg	eax
	mov	dword [ebp+-20],eax
	fild	dword [ebp+-20]
	fld	dword [ebp+16]
	fdiv	dword [_3939]
	faddp	st1,st0
	fdiv	dword [ebp+16]
	fmul	dword [_3940]
	sub	esp,4
	fstp	dword [esp]
	mov	dword [ebp+-20],edi
	fild	dword [ebp+-20]
	fld	dword [ebp+12]
	fdiv	dword [_3941]
	fsubp	st1,st0
	fdiv	dword [ebp+12]
	fmul	dword [_3942]
	sub	esp,4
	fstp	dword [esp]
	push	dword [esi+24]
	push	dword [ebp-4]
	call	_sidesign_minib3d_VertexNormal
	add	esp,20
	push	1065353216
	mov	eax,ebx
	neg	eax
	mov	dword [ebp+-20],eax
	fild	dword [ebp+-20]
	fld	dword [ebp+16]
	fdiv	dword [_3943]
	faddp	st1,st0
	fsub	dword [_3944]
	fdiv	dword [ebp+16]
	fmul	dword [_3945]
	sub	esp,4
	fstp	dword [esp]
	mov	dword [ebp+-20],edi
	fild	dword [ebp+-20]
	fld	dword [ebp+12]
	fdiv	dword [_3946]
	fsubp	st1,st0
	fdiv	dword [ebp+12]
	fmul	dword [_3947]
	sub	esp,4
	fstp	dword [esp]
	push	dword [esi+4+24]
	push	dword [ebp-4]
	call	_sidesign_minib3d_VertexNormal
	add	esp,20
	push	1065353216
	mov	eax,ebx
	neg	eax
	mov	dword [ebp+-20],eax
	fild	dword [ebp+-20]
	fld	dword [ebp+16]
	fdiv	dword [_3948]
	faddp	st1,st0
	fsub	dword [_3949]
	fdiv	dword [ebp+16]
	fmul	dword [_3950]
	sub	esp,4
	fstp	dword [esp]
	mov	dword [ebp+-20],edi
	fild	dword [ebp+-20]
	fld	dword [ebp+12]
	fdiv	dword [_3951]
	fsubp	st1,st0
	fadd	dword [_3952]
	fdiv	dword [ebp+12]
	fmul	dword [_3953]
	sub	esp,4
	fstp	dword [esp]
	push	dword [esi+8+24]
	push	dword [ebp-4]
	call	_sidesign_minib3d_VertexNormal
	add	esp,20
	push	1065353216
	mov	eax,ebx
	neg	eax
	mov	dword [ebp+-20],eax
	fild	dword [ebp+-20]
	fld	dword [ebp+16]
	fdiv	dword [_3954]
	faddp	st1,st0
	fdiv	dword [ebp+16]
	fmul	dword [_3955]
	sub	esp,4
	fstp	dword [esp]
	mov	dword [ebp+-20],edi
	fild	dword [ebp+-20]
	fld	dword [ebp+12]
	fdiv	dword [_3956]
	fsubp	st1,st0
	fadd	dword [_3957]
	fdiv	dword [ebp+12]
	fmul	dword [_3958]
	sub	esp,4
	fstp	dword [esp]
	push	dword [esi+12+24]
	push	dword [ebp-4]
	call	_sidesign_minib3d_VertexNormal
	add	esp,20
_95:
	add	ebx,1
_2081:
	cmp	ebx,dword [ebp-8]
	jle	_97
_96:
_92:
	add	edi,1
_2079:
	cmp	edi,dword [ebp-12]
	jle	_94
_93:
	mov	eax,dword [ebp-16]
	jmp	_1000
_1000:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
_bb_CreateSpherePart:
	push	ebp
	mov	ebp,esp
	sub	esp,76
	push	ebx
	push	esi
	push	edi
	mov	edx,dword [ebp+8]
	mov	ecx,dword [ebp+12]
	mov	dword [ebp-44],edx
	mov	eax,dword [ebp-44]
	add	eax,1
	mov	edi,eax
	shl	edx,1
	mov	dword [ebp-60],edx
	fld	dword [ebp+28]
	fsub	dword [ebp+24]
	mov	eax,dword [ebp-60]
	mov	dword [ebp+-76],eax
	fild	dword [ebp+-76]
	fdivp	st1,st0
	fstp	dword [ebp-68]
	fld	dword [ebp+20]
	fsub	dword [ebp+16]
	mov	eax,dword [ebp-44]
	mov	dword [ebp+-76],eax
	fild	dword [ebp+-76]
	fdivp	st1,st0
	fstp	dword [ebp-56]
	fld	dword [_3962]
	mov	eax,dword [ebp-60]
	mov	dword [ebp+-76],eax
	fild	dword [ebp+-76]
	fdivp	st1,st0
	fstp	dword [ebp-52]
	fld	dword [_3963]
	mov	eax,dword [ebp-44]
	mov	dword [ebp+-76],eax
	fild	dword [ebp+-76]
	fdivp	st1,st0
	fstp	dword [ebp-48]
	push	ecx
	call	_sidesign_minib3d_CreateMesh
	add	esp,4
	mov	dword [ebp-72],eax
	push	_bbNullObject
	push	dword [ebp-72]
	call	_sidesign_minib3d_CreateSurface
	add	esp,8
	mov	dword [ebp-32],eax
	fld	dword [ebp+24]
	fstp	dword [ebp-36]
	fld	dword [ebp+16]
	fstp	dword [ebp-28]
	mov	esi,0
	mov	eax,dword [ebp-60]
	mov	dword [ebp-64],eax
	jmp	_2095
_100:
	cmp	esi,dword [ebp-60]
	jne	_2097
	fld	dword [ebp+28]
	fstp	dword [ebp-36]
_2097:
	mov	ebx,0
	mov	eax,dword [ebp-44]
	mov	dword [ebp-40],eax
	jmp	_2099
_103:
	cmp	ebx,dword [ebp-44]
	jne	_2101
	fld	dword [ebp+20]
	fstp	dword [ebp-28]
_2101:
	fld	dword [ebp-28]
	sub	esp,8
	fstp	qword [esp]
	call	_bbSin
	add	esp,8
	fstp	qword [ebp-20]
	fld	dword [ebp-28]
	sub	esp,8
	fstp	qword [esp]
	call	_bbCos
	add	esp,8
	fld	qword [ebp-20]
	fdivrp	st1,st0
	fstp	qword [ebp-20]
	fld	qword [ebp-20]
	fstp	dword [ebp-8]
	fld	dword [ebp-36]
	sub	esp,8
	fstp	qword [esp]
	call	_bbSin
	add	esp,8
	fstp	dword [ebp-12]
	fld	dword [ebp-36]
	sub	esp,8
	fstp	qword [esp]
	call	_bbCos
	add	esp,8
	fstp	dword [ebp-4]
	fld	dword [ebp-12]
	fmul	dword [ebp-12]
	fld	dword [ebp-8]
	fmul	dword [ebp-8]
	faddp	st1,st0
	fld	dword [ebp-4]
	fmul	dword [ebp-4]
	faddp	st1,st0
	sub	esp,8
	fstp	qword [esp]
	call	_bbSqr
	add	esp,8
	fstp	dword [ebp-24]
	fld	dword [ebp-24]
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatAbs
	add	esp,8
	fld	dword [ebp-12]
	fdivrp	st1,st0
	fstp	dword [ebp-12]
	fld	dword [ebp-24]
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatAbs
	add	esp,8
	fld	dword [ebp-8]
	fdivrp	st1,st0
	fstp	dword [ebp-8]
	fld	dword [ebp-24]
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatAbs
	add	esp,8
	fld	dword [ebp-4]
	fdivrp	st1,st0
	fstp	dword [ebp-4]
	fld	dword [ebp-28]
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatAbs
	add	esp,8
	fld	dword [_3964]
	fxch	st1
	fucompp
	fnstsw	ax
	sahf
	setnz	al
	movzx	eax,al
	cmp	eax,0
	jne	_2106
	fld	dword [_3965]
	fstp	dword [ebp-12]
	fld	dword [ebp-28]
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatSgn
	add	esp,8
	fstp	dword [ebp-8]
	fld	dword [_3966]
	fstp	dword [ebp-4]
_2106:
	push	0
	fld	dword [_3967]
	fld	dword [ebp-48]
	mov	dword [ebp+-76],ebx
	fild	dword [ebp+-76]
	fmulp	st1,st0
	fsubp	st1,st0
	sub	esp,4
	fstp	dword [esp]
	fld	dword [_3968]
	fld	dword [ebp-52]
	mov	dword [ebp+-76],esi
	fild	dword [ebp+-76]
	fmulp	st1,st0
	fsubp	st1,st0
	sub	esp,4
	fstp	dword [esp]
	fld	dword [ebp-4]
	fmul	dword [ebp+32]
	sub	esp,4
	fstp	dword [esp]
	fld	dword [ebp-8]
	fmul	dword [ebp+32]
	sub	esp,4
	fstp	dword [esp]
	fld	dword [ebp-12]
	fmul	dword [ebp+32]
	sub	esp,4
	fstp	dword [esp]
	push	dword [ebp-32]
	call	_sidesign_minib3d_AddVertex
	add	esp,28
	push	dword [ebp-4]
	push	dword [ebp-8]
	push	dword [ebp-12]
	push	eax
	push	dword [ebp-32]
	call	_sidesign_minib3d_VertexNormal
	add	esp,20
	cmp	esi,0
	setg	al
	movzx	eax,al
	cmp	eax,0
	je	_2108
	cmp	ebx,0
	setg	al
	movzx	eax,al
_2108:
	cmp	eax,0
	je	_2110
	mov	eax,esi
	imul	eax,edi
	add	eax,ebx
	sub	eax,1
	push	eax
	mov	eax,esi
	sub	eax,1
	imul	eax,edi
	add	eax,ebx
	sub	eax,1
	push	eax
	mov	eax,esi
	imul	eax,edi
	add	eax,ebx
	push	eax
	push	dword [ebp-32]
	call	_sidesign_minib3d_AddTriangle
	add	esp,16
	mov	eax,esi
	sub	eax,1
	imul	eax,edi
	add	eax,ebx
	sub	eax,1
	push	eax
	mov	eax,esi
	sub	eax,1
	imul	eax,edi
	add	eax,ebx
	push	eax
	mov	eax,esi
	imul	eax,edi
	add	eax,ebx
	push	eax
	push	dword [ebp-32]
	call	_sidesign_minib3d_AddTriangle
	add	esp,16
_2110:
	fld	dword [ebp-28]
	fadd	dword [ebp-56]
	fstp	dword [ebp-28]
_101:
	add	ebx,1
_2099:
	cmp	ebx,dword [ebp-40]
	jle	_103
_102:
	fld	dword [ebp+16]
	fstp	dword [ebp-28]
	fld	dword [ebp-36]
	fadd	dword [ebp-68]
	fstp	dword [ebp-36]
_98:
	add	esi,1
_2095:
	cmp	esi,dword [ebp-64]
	jle	_100
_99:
	mov	eax,dword [ebp-72]
	jmp	_1009
_1009:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
_bb_InitMilkyway:
	push	ebp
	mov	ebp,esp
	sub	esp,8
	push	ebx
	push	esi
	push	edi
	mov	esi,dword [ebp+32]
	mov	ebx,dword [ebp+36]
	mov	edi,dword [ebp+44]
	push	_bbNullObject
	call	_sidesign_minib3d_CreatePivot
	add	esp,4
	mov	dword [ebp-8],eax
	push	0
	push	35
	push	dword [_bb_starstex]
	push	dword [ebp+24]
	call	_bb_InitStarBox
	add	esp,16
	inc	dword [eax+4]
	mov	dword [ebp-4],eax
	mov	eax,dword [_bb_Starbox]
	dec	dword [eax+4]
	jnz	_2115
	push	eax
	call	_bbGCFree
	add	esp,4
_2115:
	mov	eax,dword [ebp-4]
	mov	dword [_bb_Starbox],eax
	push	dword [ebp+72]
	push	dword [ebp+68]
	push	dword [ebp+64]
	push	dword [ebp+60]
	push	dword [ebp+56]
	push	dword [ebp+52]
	push	dword [ebp+48]
	push	edi
	push	dword [ebp+40]
	push	ebx
	push	esi
	push	dword [ebp+28]
	push	35
	push	32
	fld	dword [ebp+24]
	fmul	dword [_3977]
	sub	esp,4
	fstp	dword [esp]
	push	dword [ebp+24]
	push	dword [_bb_fogtex]
	call	_bb_InitPanorama
	add	esp,68
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [_bb_FogPanorama]
	dec	dword [eax+4]
	jnz	_2119
	push	eax
	call	_bbGCFree
	add	esp,4
_2119:
	mov	dword [_bb_FogPanorama],ebx
	push	1065353216
	push	dword [ebp+24]
	push	dword [ebp+20]
	push	dword [ebp+16]
	push	dword [ebp+12]
	push	1056964608
	fld	dword [_3978]
	fld	dword [ebp+24]
	fdiv	dword [_3979]
	fmulp	st1,st0
	sub	esp,4
	fstp	dword [esp]
	fld	dword [_3980]
	fld	dword [ebp+24]
	fdiv	dword [_3981]
	fmulp	st1,st0
	sub	esp,4
	fstp	dword [esp]
	push	dword [ebp+8]
	push	dword [_bb_startex]
	call	_bb_InitStarSphere
	add	esp,40
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [_bb_StarSphere]
	dec	dword [eax+4]
	jnz	_2123
	push	eax
	call	_bbGCFree
	add	esp,4
_2123:
	mov	dword [_bb_StarSphere],ebx
	push	1
	push	dword [ebp-8]
	push	dword [_bb_Starbox]
	call	_sidesign_minib3d_EntityParent
	add	esp,12
	push	1
	push	dword [ebp-8]
	push	dword [_bb_FogPanorama]
	call	_sidesign_minib3d_EntityParent
	add	esp,12
	push	1
	push	dword [ebp-8]
	push	dword [_bb_StarSphere]
	call	_sidesign_minib3d_EntityParent
	add	esp,12
	push	1
	push	dword [_bb_StarSphere]
	call	_sidesign_minib3d_EntityOrder
	add	esp,8
	push	2
	push	dword [_bb_FogPanorama]
	call	_sidesign_minib3d_EntityOrder
	add	esp,8
	push	3
	push	dword [_bb_Starbox]
	call	_sidesign_minib3d_EntityOrder
	add	esp,8
	push	5
	push	dword [_bb_fogtex]
	call	_sidesign_minib3d_TextureBlend
	add	esp,8
	push	3
	push	dword [_bb_FogPanorama]
	call	_sidesign_minib3d_EntityBlend
	add	esp,8
	push	3
	push	dword [_bb_Starbox]
	call	_sidesign_minib3d_EntityBlend
	add	esp,8
	push	3
	push	dword [_bb_StarSphere]
	call	_sidesign_minib3d_EntityBlend
	add	esp,8
	push	1069547520
	push	1069547520
	push	dword [_bb_starstex]
	call	_sidesign_minib3d_ScaleTexture
	add	esp,12
	mov	eax,dword [ebp-8]
	jmp	_1028
_1028:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
_bb_InitStarBox:
	push	ebp
	mov	ebp,esp
	push	ebx
	push	esi
	push	edi
	mov	esi,dword [ebp+12]
	mov	edi,dword [ebp+16]
	push	_bbNullObject
	call	_sidesign_minib3d_CreateCube
	add	esp,4
	mov	ebx,eax
	push	0
	push	0
	push	esi
	push	ebx
	call	_sidesign_minib3d_EntityTexture
	add	esp,16
	push	ebx
	call	_sidesign_minib3d_FlipMesh
	add	esp,4
	push	0
	push	dword [ebp+8]
	push	dword [ebp+8]
	push	dword [ebp+8]
	push	ebx
	call	_sidesign_minib3d_ScaleEntity
	add	esp,20
	push	edi
	push	ebx
	call	_sidesign_minib3d_EntityFX
	add	esp,8
	push	dword [ebp+20]
	push	ebx
	call	_sidesign_minib3d_EntityBlend
	add	esp,8
	mov	eax,ebx
	jmp	_1034
_1034:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
_bb_InitPanorama:
	push	ebp
	mov	ebp,esp
	sub	esp,104
	push	ebx
	push	esi
	push	edi
	mov	ebx,dword [ebp+20]
	push	_bbNullObject
	call	_sidesign_minib3d_CreateMesh
	add	esp,4
	mov	dword [ebp-100],eax
	push	_bbNullObject
	push	dword [ebp-100]
	call	_sidesign_minib3d_CreateSurface
	add	esp,8
	mov	dword [ebp-72],eax
	fld	dword [_4000]
	mov	dword [ebp+-104],ebx
	fild	dword [ebp+-104]
	fdivp	st1,st0
	fstp	dword [ebp-96]
	fld	dword [_4001]
	fstp	dword [ebp-76]
	jmp	_107
_109:
	fld	dword [_4002]
	sub	esp,8
	fstp	qword [esp]
	fld	dword [ebp-76]
	fadd	dword [ebp-96]
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatMod
	add	esp,16
	fstp	dword [ebp-68]
	fld	dword [ebp+12]
	fstp	qword [ebp-16]
	fld	dword [ebp-76]
	sub	esp,8
	fstp	qword [esp]
	call	_bbCos
	add	esp,8
	fld	qword [ebp-16]
	fmulp	st1,st0
	fstp	qword [ebp-16]
	fld	qword [ebp-16]
	fstp	dword [ebp-92]
	fld	dword [ebp+12]
	fstp	qword [ebp-24]
	fld	dword [ebp-76]
	sub	esp,8
	fstp	qword [esp]
	call	_bbSin
	add	esp,8
	fld	qword [ebp-24]
	fmulp	st1,st0
	fstp	qword [ebp-24]
	fld	qword [ebp-24]
	fstp	dword [ebp-88]
	fld	dword [ebp+12]
	fstp	qword [ebp-32]
	fld	dword [ebp-68]
	sub	esp,8
	fstp	qword [esp]
	call	_bbCos
	add	esp,8
	fld	qword [ebp-32]
	fmulp	st1,st0
	fstp	qword [ebp-32]
	fld	qword [ebp-32]
	fstp	dword [ebp-84]
	fld	dword [ebp+12]
	fstp	qword [ebp-40]
	fld	dword [ebp-68]
	sub	esp,8
	fstp	qword [esp]
	call	_bbSin
	add	esp,8
	fld	qword [ebp-40]
	fmulp	st1,st0
	fstp	qword [ebp-40]
	fld	qword [ebp-40]
	fstp	dword [ebp-80]
	fld	dword [_4003]
	fld	dword [ebp-76]
	fucompp
	fnstsw	ax
	sahf
	setae	al
	movzx	eax,al
	cmp	eax,0
	jne	_2145
	fld	dword [_4004]
	fld	dword [ebp-76]
	fdiv	dword [_4005]
	fsubp	st1,st0
	fstp	dword [ebp-8]
	fld	dword [_4006]
	fld	dword [ebp-76]
	fadd	dword [ebp-96]
	fdiv	dword [_4007]
	fsubp	st1,st0
	fstp	dword [ebp-4]
	fld	dword [_4008]
	fstp	dword [ebp-52]
	fld	dword [_4009]
	fstp	dword [ebp-48]
	fld	dword [_4010]
	fstp	dword [ebp-60]
	jmp	_2146
_2145:
	fld	dword [_4011]
	fld	dword [ebp-76]
	fdiv	dword [_4012]
	fsub	dword [_4013]
	fsubp	st1,st0
	fstp	dword [ebp-8]
	fld	dword [_4014]
	fld	dword [ebp-76]
	fadd	dword [ebp-96]
	fdiv	dword [_4015]
	fsub	dword [_4016]
	fsubp	st1,st0
	fstp	dword [ebp-4]
	fld	dword [_4017]
	fstp	dword [ebp-52]
	fld	dword [_4018]
	fstp	dword [ebp-48]
	fld	dword [_4019]
	fstp	dword [ebp-60]
_2146:
	push	0
	push	dword [ebp-52]
	push	dword [ebp-8]
	push	dword [ebp-88]
	fld	dword [ebp+16]
	fchs
	sub	esp,4
	fstp	dword [esp]
	push	dword [ebp-92]
	push	dword [ebp-72]
	call	_sidesign_minib3d_AddVertex
	add	esp,28
	mov	edi,eax
	push	0
	push	dword [ebp-52]
	push	dword [ebp-4]
	push	dword [ebp-80]
	fld	dword [ebp+16]
	fchs
	sub	esp,4
	fstp	dword [esp]
	push	dword [ebp-84]
	push	dword [ebp-72]
	call	_sidesign_minib3d_AddVertex
	add	esp,28
	mov	dword [ebp-64],eax
	push	0
	push	dword [ebp-48]
	push	dword [ebp-8]
	push	dword [ebp-88]
	push	0
	push	dword [ebp-92]
	push	dword [ebp-72]
	call	_sidesign_minib3d_AddVertex
	add	esp,28
	mov	esi,eax
	push	0
	push	dword [ebp-48]
	push	dword [ebp-4]
	push	dword [ebp-80]
	push	0
	push	dword [ebp-84]
	push	dword [ebp-72]
	call	_sidesign_minib3d_AddVertex
	add	esp,28
	mov	ebx,eax
	push	0
	push	dword [ebp-60]
	push	dword [ebp-8]
	push	dword [ebp-88]
	push	dword [ebp+16]
	push	dword [ebp-92]
	push	dword [ebp-72]
	call	_sidesign_minib3d_AddVertex
	add	esp,28
	mov	dword [ebp-56],eax
	push	0
	push	dword [ebp-60]
	push	dword [ebp-4]
	push	dword [ebp-80]
	push	dword [ebp+16]
	push	dword [ebp-84]
	push	dword [ebp-72]
	call	_sidesign_minib3d_AddVertex
	add	esp,28
	mov	dword [ebp-44],eax
	push	dword [ebp+40]
	mov	eax,dword [ebp+36]
	mov	dword [ebp+-104],eax
	fild	dword [ebp+-104]
	sub	esp,4
	fstp	dword [esp]
	mov	eax,dword [ebp+32]
	mov	dword [ebp+-104],eax
	fild	dword [ebp+-104]
	sub	esp,4
	fstp	dword [esp]
	mov	eax,dword [ebp+28]
	mov	dword [ebp+-104],eax
	fild	dword [ebp+-104]
	sub	esp,4
	fstp	dword [esp]
	push	edi
	push	dword [ebp-72]
	call	_sidesign_minib3d_VertexColor
	add	esp,24
	push	dword [ebp+40]
	mov	eax,dword [ebp+36]
	mov	dword [ebp+-104],eax
	fild	dword [ebp+-104]
	sub	esp,4
	fstp	dword [esp]
	mov	eax,dword [ebp+32]
	mov	dword [ebp+-104],eax
	fild	dword [ebp+-104]
	sub	esp,4
	fstp	dword [esp]
	mov	eax,dword [ebp+28]
	mov	dword [ebp+-104],eax
	fild	dword [ebp+-104]
	sub	esp,4
	fstp	dword [esp]
	push	dword [ebp-64]
	push	dword [ebp-72]
	call	_sidesign_minib3d_VertexColor
	add	esp,24
	push	dword [ebp+56]
	mov	eax,dword [ebp+52]
	mov	dword [ebp+-104],eax
	fild	dword [ebp+-104]
	sub	esp,4
	fstp	dword [esp]
	mov	eax,dword [ebp+48]
	mov	dword [ebp+-104],eax
	fild	dword [ebp+-104]
	sub	esp,4
	fstp	dword [esp]
	mov	eax,dword [ebp+44]
	mov	dword [ebp+-104],eax
	fild	dword [ebp+-104]
	sub	esp,4
	fstp	dword [esp]
	push	esi
	push	dword [ebp-72]
	call	_sidesign_minib3d_VertexColor
	add	esp,24
	push	dword [ebp+56]
	mov	eax,dword [ebp+52]
	mov	dword [ebp+-104],eax
	fild	dword [ebp+-104]
	sub	esp,4
	fstp	dword [esp]
	mov	eax,dword [ebp+48]
	mov	dword [ebp+-104],eax
	fild	dword [ebp+-104]
	sub	esp,4
	fstp	dword [esp]
	mov	eax,dword [ebp+44]
	mov	dword [ebp+-104],eax
	fild	dword [ebp+-104]
	sub	esp,4
	fstp	dword [esp]
	push	ebx
	push	dword [ebp-72]
	call	_sidesign_minib3d_VertexColor
	add	esp,24
	push	dword [ebp+72]
	mov	eax,dword [ebp+68]
	mov	dword [ebp+-104],eax
	fild	dword [ebp+-104]
	sub	esp,4
	fstp	dword [esp]
	mov	eax,dword [ebp+64]
	mov	dword [ebp+-104],eax
	fild	dword [ebp+-104]
	sub	esp,4
	fstp	dword [esp]
	mov	eax,dword [ebp+60]
	mov	dword [ebp+-104],eax
	fild	dword [ebp+-104]
	sub	esp,4
	fstp	dword [esp]
	push	dword [ebp-56]
	push	dword [ebp-72]
	call	_sidesign_minib3d_VertexColor
	add	esp,24
	push	dword [ebp+72]
	mov	eax,dword [ebp+68]
	mov	dword [ebp+-104],eax
	fild	dword [ebp+-104]
	sub	esp,4
	fstp	dword [esp]
	mov	eax,dword [ebp+64]
	mov	dword [ebp+-104],eax
	fild	dword [ebp+-104]
	sub	esp,4
	fstp	dword [esp]
	mov	eax,dword [ebp+60]
	mov	dword [ebp+-104],eax
	fild	dword [ebp+-104]
	sub	esp,4
	fstp	dword [esp]
	push	dword [ebp-44]
	push	dword [ebp-72]
	call	_sidesign_minib3d_VertexColor
	add	esp,24
	push	ebx
	push	dword [ebp-64]
	push	edi
	push	dword [ebp-72]
	call	_sidesign_minib3d_AddTriangle
	add	esp,16
	push	edi
	push	esi
	push	ebx
	push	dword [ebp-72]
	call	_sidesign_minib3d_AddTriangle
	add	esp,16
	push	dword [ebp-56]
	push	dword [ebp-44]
	push	esi
	push	dword [ebp-72]
	call	_sidesign_minib3d_AddTriangle
	add	esp,16
	push	ebx
	push	esi
	push	dword [ebp-44]
	push	dword [ebp-72]
	call	_sidesign_minib3d_AddTriangle
	add	esp,16
	fld	dword [ebp-76]
	fadd	dword [ebp-96]
	fstp	dword [ebp-76]
_107:
	fld	dword [_4020]
	fld	dword [ebp-76]
	fucompp
	fnstsw	ax
	sahf
	setb	al
	movzx	eax,al
	cmp	eax,0
	jne	_109
_108:
	push	dword [ebp+24]
	push	dword [ebp-100]
	call	_sidesign_minib3d_EntityFX
	add	esp,8
	push	0
	push	0
	push	dword [ebp+8]
	push	dword [ebp-100]
	call	_sidesign_minib3d_EntityTexture
	add	esp,16
	mov	eax,dword [ebp-100]
	jmp	_1053
_1053:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
_bb_InitStarSphere:
	push	ebp
	mov	ebp,esp
	sub	esp,28
	push	ebx
	push	esi
	push	edi
	mov	esi,dword [ebp+12]
	mov	edi,0
	mov	dword [ebp-12],0
	mov	dword [ebp-16],0
	push	0
	push	1065353216
	push	255
	push	255
	push	255
	call	_bb_CreateStarQuad
	add	esp,20
	mov	ebx,eax
	push	_bbNullObject
	call	_sidesign_minib3d_CreateMesh
	add	esp,4
	mov	dword [ebp-20],eax
	push	_bbNullObject
	push	dword [ebp-20]
	call	_sidesign_minib3d_CreateSurface
	add	esp,8
	mov	dword [ebp-24],eax
	push	35
	push	dword [ebp-20]
	call	_sidesign_minib3d_EntityFX
	add	esp,8
	mov	dword [ebp-28],1
	jmp	_2158
_112:
	push	dword [ebp-24]
	call	_sidesign_minib3d_CountVertices
	add	esp,4
	cmp	eax,32000
	jl	_2160
	push	_bbNullObject
	push	dword [ebp-20]
	call	_sidesign_minib3d_CreateSurface
	add	esp,8
	mov	dword [ebp-24],eax
_2160:
	fld	dword [ebp+16]
	fmul	dword [ebp+44]
	fstp	dword [ebp-8]
	fldz
	sub	esp,8
	fstp	qword [esp]
	fld1
	sub	esp,8
	fstp	qword [esp]
	call	_brl_random_Rnd
	add	esp,16
	fld	dword [ebp+24]
	fxch	st1
	fucompp
	fnstsw	ax
	sahf
	setbe	al
	movzx	eax,al
	cmp	eax,0
	jne	_2161
	fld	dword [ebp+20]
	sub	esp,8
	fstp	qword [esp]
	fld	dword [ebp+16]
	sub	esp,8
	fstp	qword [esp]
	call	_brl_random_Rnd
	add	esp,16
	fld	dword [ebp+44]
	fmulp	st1,st0
	fstp	dword [ebp-8]
_2161:
	push	0
	push	dword [ebp-8]
	push	dword [ebp-8]
	push	dword [ebp-8]
	push	ebx
	call	_sidesign_minib3d_ScaleEntity
	add	esp,20
	push	0
	push	0
	push	0
	push	0
	push	ebx
	call	_sidesign_minib3d_PositionEntity
	add	esp,20
	fldz
	sub	esp,8
	fstp	qword [esp]
	fld1
	sub	esp,8
	fstp	qword [esp]
	call	_brl_random_Rnd
	add	esp,16
	fld	dword [ebp+28]
	fxch	st1
	fucompp
	fnstsw	ax
	sahf
	setbe	al
	movzx	eax,al
	cmp	eax,0
	jne	_2162
	fld	dword [ebp+32]
	fstp	dword [ebp-4]
	jmp	_2163
_2162:
	fld	dword [ebp+36]
	fstp	dword [ebp-4]
_2163:
	push	0
	push	0
	fld	qword [_4029]
	sub	esp,8
	fstp	qword [esp]
	fldz
	sub	esp,8
	fstp	qword [esp]
	call	_brl_random_Rnd
	add	esp,16
	sub	esp,8
	fstp	qword [esp]
	fldz
	sub	esp,8
	fstp	qword [esp]
	call	_brl_random_Rnd
	add	esp,16
	sub	esp,4
	fstp	dword [esp]
	fld	dword [ebp-4]
	sub	esp,8
	fstp	qword [esp]
	fldz
	sub	esp,8
	fstp	qword [esp]
	call	_brl_random_Rnd
	add	esp,16
	sub	esp,8
	fstp	qword [esp]
	fld	dword [ebp-4]
	sub	esp,8
	fstp	qword [esp]
	fldz
	sub	esp,8
	fstp	qword [esp]
	call	_brl_random_Rnd
	add	esp,16
	fchs
	sub	esp,8
	fstp	qword [esp]
	call	_brl_random_Rnd
	add	esp,16
	sub	esp,4
	fstp	dword [esp]
	push	ebx
	call	_bb_TurnCam
	add	esp,20
	fld	dword [ebp+40]
	fmul	dword [ebp+44]
	sub	esp,4
	fstp	dword [esp]
	push	0
	push	0
	push	ebx
	call	_sidesign_minib3d_MoveEntity
	add	esp,16
	push	0
	push	dword [ebp-20]
	push	ebx
	call	_sidesign_minib3d_PointEntity
	add	esp,12
	fldz
	sub	esp,8
	fstp	qword [esp]
	fld1
	sub	esp,8
	fstp	qword [esp]
	call	_brl_random_Rnd
	add	esp,16
	fld	dword [_4030]
	fxch	st1
	fucom	st1
	fxch	st1
	fstp	st0
	fnstsw	ax
	sahf
	seta	al
	movzx	eax,al
	cmp	eax,0
	je	_2164
	fld1
	fxch	st1
	fucom	st1
	fxch	st1
	fstp	st0
	fnstsw	ax
	sahf
	setbe	al
	movzx	eax,al
_2164:
	cmp	eax,0
	je	_2166
	mov	edi,255
	mov	dword [ebp-12],224
	mov	dword [ebp-16],192
_2166:
	fld	dword [_4031]
	fxch	st1
	fucom	st1
	fxch	st1
	fstp	st0
	fnstsw	ax
	sahf
	seta	al
	movzx	eax,al
	cmp	eax,0
	je	_2167
	fld	dword [_4032]
	fxch	st1
	fucom	st1
	fxch	st1
	fstp	st0
	fnstsw	ax
	sahf
	setbe	al
	movzx	eax,al
_2167:
	cmp	eax,0
	je	_2169
	mov	edi,255
	mov	dword [ebp-12],255
	mov	dword [ebp-16],192
_2169:
	fld	dword [_4033]
	fxch	st1
	fucom	st1
	fxch	st1
	fstp	st0
	fnstsw	ax
	sahf
	seta	al
	movzx	eax,al
	cmp	eax,0
	je	_2170
	fld	dword [_4034]
	fxch	st1
	fucom	st1
	fxch	st1
	fstp	st0
	fnstsw	ax
	sahf
	setbe	al
	movzx	eax,al
_2170:
	cmp	eax,0
	je	_2172
	mov	edi,192
	mov	dword [ebp-12],224
	mov	dword [ebp-16],255
_2172:
	fldz
	fxch	st1
	fucom	st1
	fxch	st1
	fstp	st0
	fnstsw	ax
	sahf
	seta	al
	movzx	eax,al
	cmp	eax,0
	jne	_4053
	fstp	st0
	jmp	_2173
_4053:
	fld	dword [_4035]
	fxch	st1
	fucompp
	fnstsw	ax
	sahf
	setbe	al
	movzx	eax,al
_2173:
	cmp	eax,0
	je	_2175
	mov	edi,255
	mov	dword [ebp-12],255
	mov	dword [ebp-16],255
_2175:
	fld	dword [ebp+16]
	fmul	dword [ebp+44]
	fld	dword [ebp-8]
	fucompp
	fnstsw	ax
	sahf
	setbe	al
	movzx	eax,al
	cmp	eax,0
	jne	_2176
	fld	dword [_4036]
	jmp	_2177
_2176:
	fld1
	sub	esp,8
	fstp	qword [esp]
	fld	qword [_4037]
	sub	esp,8
	fstp	qword [esp]
	call	_brl_random_Rnd
	add	esp,16
_2177:
	sub	esp,4
	fstp	dword [esp]
	push	dword [ebp-16]
	push	dword [ebp-12]
	push	edi
	push	dword [ebp-20]
	push	dword [ebp-24]
	push	ebx
	call	_bb_AddToSurface
	add	esp,28
_110:
	add	dword [ebp-28],1
_2158:
	cmp	dword [ebp-28],esi
	jle	_112
_111:
	push	ebx
	call	_sidesign_minib3d_FreeEntity
	add	esp,4
	push	0
	push	0
	push	dword [ebp+8]
	push	dword [ebp-20]
	call	_sidesign_minib3d_EntityTexture
	add	esp,16
	push	dword [ebp-20]
	call	_sidesign_minib3d_FlipMesh
	add	esp,4
	mov	eax,dword [ebp-20]
	jmp	_1065
_1065:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
_bb_CreateStarQuad:
	push	ebp
	mov	ebp,esp
	sub	esp,24
	push	ebx
	push	esi
	push	edi
	mov	edi,dword [ebp+8]
	mov	esi,dword [ebp+12]
	push	_bbNullObject
	call	_sidesign_minib3d_CreateMesh
	add	esp,4
	mov	dword [ebp-4],eax
	push	_bbNullObject
	push	dword [ebp-4]
	call	_sidesign_minib3d_CreateSurface
	add	esp,8
	mov	ebx,eax
	push	0
	push	0
	push	1065353216
	push	0
	push	1065353216
	push	-1082130432
	push	ebx
	call	_sidesign_minib3d_AddVertex
	add	esp,28
	mov	dword [ebp-20],eax
	push	0
	push	0
	push	0
	push	0
	push	1065353216
	push	1065353216
	push	ebx
	call	_sidesign_minib3d_AddVertex
	add	esp,28
	mov	dword [ebp-16],eax
	push	0
	push	1065353216
	push	1065353216
	push	0
	push	-1082130432
	push	-1082130432
	push	ebx
	call	_sidesign_minib3d_AddVertex
	add	esp,28
	mov	dword [ebp-12],eax
	push	0
	push	1065353216
	push	0
	push	0
	push	-1082130432
	push	1065353216
	push	ebx
	call	_sidesign_minib3d_AddVertex
	add	esp,28
	mov	dword [ebp-8],eax
	push	dword [ebp+20]
	mov	eax,dword [ebp+16]
	mov	dword [ebp+-24],eax
	fild	dword [ebp+-24]
	sub	esp,4
	fstp	dword [esp]
	mov	dword [ebp+-24],esi
	fild	dword [ebp+-24]
	sub	esp,4
	fstp	dword [esp]
	mov	dword [ebp+-24],edi
	fild	dword [ebp+-24]
	sub	esp,4
	fstp	dword [esp]
	push	dword [ebp-20]
	push	ebx
	call	_sidesign_minib3d_VertexColor
	add	esp,24
	push	dword [ebp+20]
	mov	eax,dword [ebp+16]
	mov	dword [ebp+-24],eax
	fild	dword [ebp+-24]
	sub	esp,4
	fstp	dword [esp]
	mov	dword [ebp+-24],esi
	fild	dword [ebp+-24]
	sub	esp,4
	fstp	dword [esp]
	mov	dword [ebp+-24],edi
	fild	dword [ebp+-24]
	sub	esp,4
	fstp	dword [esp]
	push	dword [ebp-12]
	push	ebx
	call	_sidesign_minib3d_VertexColor
	add	esp,24
	push	dword [ebp+20]
	mov	eax,dword [ebp+16]
	mov	dword [ebp+-24],eax
	fild	dword [ebp+-24]
	sub	esp,4
	fstp	dword [esp]
	mov	dword [ebp+-24],esi
	fild	dword [ebp+-24]
	sub	esp,4
	fstp	dword [esp]
	mov	dword [ebp+-24],edi
	fild	dword [ebp+-24]
	sub	esp,4
	fstp	dword [esp]
	push	dword [ebp-16]
	push	ebx
	call	_sidesign_minib3d_VertexColor
	add	esp,24
	push	dword [ebp+20]
	mov	eax,dword [ebp+16]
	mov	dword [ebp+-24],eax
	fild	dword [ebp+-24]
	sub	esp,4
	fstp	dword [esp]
	mov	dword [ebp+-24],esi
	fild	dword [ebp+-24]
	sub	esp,4
	fstp	dword [esp]
	mov	dword [ebp+-24],edi
	fild	dword [ebp+-24]
	sub	esp,4
	fstp	dword [esp]
	push	dword [ebp-8]
	push	ebx
	call	_sidesign_minib3d_VertexColor
	add	esp,24
	push	2
	push	1
	push	0
	push	ebx
	call	_sidesign_minib3d_AddTriangle
	add	esp,16
	push	1
	push	2
	push	3
	push	ebx
	call	_sidesign_minib3d_AddTriangle
	add	esp,16
	push	dword [ebp+24]
	push	dword [ebp-4]
	call	_sidesign_minib3d_EntityFX
	add	esp,8
	mov	eax,dword [ebp-4]
	jmp	_1072
_1072:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
_bb_AddToSurface:
	push	ebp
	mov	ebp,esp
	sub	esp,16
	push	ebx
	push	esi
	push	edi
	push	3
	push	_2184
	call	_bbArrayNew1D
	add	esp,8
	mov	dword [ebp-4],eax
	push	1
	push	dword [ebp+8]
	call	_sidesign_minib3d_GetSurface
	add	esp,8
	mov	edi,eax
	mov	dword [ebp-8],0
	push	edi
	call	_sidesign_minib3d_CountTriangles
	add	esp,4
	sub	eax,1
	mov	dword [ebp-12],eax
	jmp	_2188
_115:
	mov	esi,0
	jmp	_2191
_118:
	push	esi
	push	dword [ebp-8]
	push	edi
	call	_sidesign_minib3d_TriangleVertex
	add	esp,12
	mov	ebx,eax
	push	dword [ebp+16]
	push	dword [ebp+8]
	push	ebx
	push	edi
	call	_sidesign_minib3d_VertexZ
	add	esp,8
	sub	esp,4
	fstp	dword [esp]
	push	ebx
	push	edi
	call	_sidesign_minib3d_VertexY
	add	esp,8
	sub	esp,4
	fstp	dword [esp]
	push	ebx
	push	edi
	call	_sidesign_minib3d_VertexX
	add	esp,8
	sub	esp,4
	fstp	dword [esp]
	call	_sidesign_minib3d_TFormPoint
	add	esp,20
	push	0
	push	0
	push	ebx
	push	edi
	call	_sidesign_minib3d_VertexV
	add	esp,12
	sub	esp,4
	fstp	dword [esp]
	push	0
	push	ebx
	push	edi
	call	_sidesign_minib3d_VertexU
	add	esp,12
	sub	esp,4
	fstp	dword [esp]
	call	_sidesign_minib3d_TFormedZ
	sub	esp,4
	fstp	dword [esp]
	call	_sidesign_minib3d_TFormedY
	sub	esp,4
	fstp	dword [esp]
	call	_sidesign_minib3d_TFormedX
	sub	esp,4
	fstp	dword [esp]
	push	dword [ebp+12]
	call	_sidesign_minib3d_AddVertex
	add	esp,28
	mov	edx,dword [ebp-4]
	mov	dword [edx+esi*4+24],eax
	push	dword [ebp+32]
	mov	eax,dword [ebp+28]
	mov	dword [ebp+-16],eax
	fild	dword [ebp+-16]
	sub	esp,4
	fstp	dword [esp]
	mov	eax,dword [ebp+24]
	mov	dword [ebp+-16],eax
	fild	dword [ebp+-16]
	sub	esp,4
	fstp	dword [esp]
	mov	eax,dword [ebp+20]
	mov	dword [ebp+-16],eax
	fild	dword [ebp+-16]
	sub	esp,4
	fstp	dword [esp]
	mov	eax,dword [ebp-4]
	push	dword [eax+esi*4+24]
	push	dword [ebp+12]
	call	_sidesign_minib3d_VertexColor
	add	esp,24
_116:
	add	esi,1
_2191:
	cmp	esi,2
	jle	_118
_117:
	mov	eax,dword [ebp-4]
	push	dword [eax+8+24]
	mov	eax,dword [ebp-4]
	push	dword [eax+4+24]
	mov	eax,dword [ebp-4]
	push	dword [eax+24]
	push	dword [ebp+12]
	call	_sidesign_minib3d_AddTriangle
	add	esp,16
_113:
	add	dword [ebp-8],1
_2188:
	mov	eax,dword [ebp-12]
	cmp	dword [ebp-8],eax
	jle	_115
_114:
	mov	eax,0
	jmp	_1081
_1081:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
_bb_InitNoise:
	push	ebp
	mov	ebp,esp
	push	ebx
	push	esi
	push	edi
	mov	dword [_1418],_168
	mov	edi,0
	jmp	_2195
_121:
	mov	esi,dword [_1418]
	mov	ebx,dword [esi]
	mov	ebx,dword [ebx]
	add	esi,4
	push	ebx
	push	esi
	call	_bbConvertToInt
	add	esp,8
	add	esi,4
	movzx	edx,byte [ebx]
	cmp	edx,100
	jne	_2198
	add	esi,4
_2198:
	mov	dword [_1418],esi
	mov	edx,dword [_bb_Permutation]
	mov	dword [edx+edi*4+24],eax
	mov	ecx,dword [_bb_Permutation]
	mov	edx,edi
	add	edx,256
	mov	dword [ecx+edx*4+24],eax
	mov	ebx,dword [_bb_GRAYD]
	fld	dword [ebp+8]
	sub	esp,8
	fstp	qword [esp]
	fld	dword [ebp+8]
	fchs
	sub	esp,8
	fstp	qword [esp]
	call	_brl_random_Rnd
	add	esp,16
	fstp	dword [ebx+edi*4+24]
	mov	esi,dword [_bb_GRAYD]
	mov	ebx,edi
	add	ebx,256
	fld	dword [ebp+8]
	sub	esp,8
	fstp	qword [esp]
	fld	dword [ebp+8]
	fchs
	sub	esp,8
	fstp	qword [esp]
	call	_brl_random_Rnd
	add	esp,16
	fstp	dword [esi+ebx*4+24]
_119:
	add	edi,1
_2195:
	cmp	edi,255
	jle	_121
_120:
	mov	eax,0
	jmp	_1084
_1084:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
_bb_Perlin3D:
	push	ebp
	mov	ebp,esp
	sub	esp,12
	push	ebx
	push	esi
	push	edi
	mov	esi,dword [ebp+24]
	mov	edi,dword [ebp+28]
	mov	ebx,dword [ebp+32]
	cmp	esi,0
	jne	_2202
	call	_bbMilliSecs
	mov	esi,eax
_2202:
	mov	dword [ebp+-12],esi
	fild	dword [ebp+-12]
	fld	dword [ebp+8]
	faddp	st1,st0
	fstp	dword [ebp+8]
	mov	dword [ebp+-12],esi
	fild	dword [ebp+-12]
	fld	dword [ebp+12]
	faddp	st1,st0
	fstp	dword [ebp+12]
	mov	dword [ebp+-12],esi
	fild	dword [ebp+-12]
	fld	dword [ebp+16]
	faddp	st1,st0
	fstp	dword [ebp+16]
	fld	dword [_4064]
	fstp	dword [ebp-4]
	fld	dword [ebp+20]
	fstp	dword [ebp-8]
	mov	edx,1
	mov	eax,edi
	jmp	_2203
_124:
	fld	dword [ebp+20]
	fdiv	dword [_4065]
	fstp	dword [ebp+20]
_122:
	add	edx,1
_2203:
	cmp	edx,eax
	jle	_124
_123:
	jmp	_125
_127:
	push	esi
	fld	dword [ebp+16]
	fdiv	dword [ebp+20]
	sub	esp,4
	fstp	dword [esp]
	fld	dword [ebp+12]
	fdiv	dword [ebp+20]
	sub	esp,4
	fstp	dword [esp]
	fld	dword [ebp+8]
	fdiv	dword [ebp+20]
	sub	esp,4
	fstp	dword [esp]
	call	_bb_SmoothNoise
	add	esp,16
	fmul	dword [ebp+20]
	fld	dword [ebp-4]
	faddp	st1,st0
	fstp	dword [ebp-4]
	fld	dword [ebp+20]
	fdiv	dword [_4066]
	fstp	dword [ebp+20]
	sub	ebx,1
_125:
	fld1
	fld	dword [ebp+20]
	fucompp
	fnstsw	ax
	sahf
	setae	al
	movzx	eax,al
	cmp	eax,0
	je	_2205
	cmp	ebx,edi
	setg	al
	movzx	eax,al
_2205:
	cmp	eax,0
	jne	_127
_126:
	fld	dword [ebp-4]
	fdiv	dword [ebp-8]
	jmp	_1093
_1093:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
_bb_SmoothNoise:
	push	ebp
	mov	ebp,esp
	sub	esp,120
	push	ebx
	mov	eax,dword [ebp+20]
	mov	dword [ebp+-120],eax
	fild	dword [ebp+-120]
	fld	dword [ebp+8]
	faddp	st1,st0
	fstp	dword [ebp+8]
	mov	dword [ebp+-120],eax
	fild	dword [ebp+-120]
	fld	dword [ebp+12]
	faddp	st1,st0
	fstp	dword [ebp+12]
	mov	dword [ebp+-120],eax
	fild	dword [ebp+-120]
	fld	dword [ebp+16]
	faddp	st1,st0
	fstp	dword [ebp+16]
	fld	dword [ebp+8]
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloor
	add	esp,8
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatToInt
	add	esp,8
	and	eax,255
	mov	dword [ebp+-120],eax
	fild	dword [ebp+-120]
	fstp	dword [ebp-76]
	fld	dword [ebp+12]
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloor
	add	esp,8
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatToInt
	add	esp,8
	and	eax,255
	mov	dword [ebp+-120],eax
	fild	dword [ebp+-120]
	fstp	dword [ebp-80]
	fld	dword [ebp+16]
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloor
	add	esp,8
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatToInt
	add	esp,8
	and	eax,255
	mov	dword [ebp+-120],eax
	fild	dword [ebp+-120]
	fstp	dword [ebp-44]
	fld	dword [ebp+8]
	fstp	qword [ebp-12]
	fld	dword [ebp+8]
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloor
	add	esp,8
	fld	qword [ebp-12]
	fsubrp	st1,st0
	fstp	qword [ebp-12]
	fld	qword [ebp-12]
	fstp	dword [ebp+8]
	fld	dword [ebp+12]
	fstp	qword [ebp-20]
	fld	dword [ebp+12]
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloor
	add	esp,8
	fld	qword [ebp-20]
	fsubrp	st1,st0
	fstp	qword [ebp-20]
	fld	qword [ebp-20]
	fstp	dword [ebp+12]
	fld	dword [ebp+16]
	fstp	qword [ebp-28]
	fld	dword [ebp+16]
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloor
	add	esp,8
	fld	qword [ebp-28]
	fsubrp	st1,st0
	fstp	qword [ebp-28]
	fld	qword [ebp-28]
	fstp	dword [ebp+16]
	push	dword [ebp+8]
	call	_bb_Fade
	add	esp,4
	fstp	dword [ebp-4]
	push	dword [ebp+12]
	call	_bb_Fade
	add	esp,4
	fstp	dword [ebp-92]
	push	dword [ebp+16]
	call	_bb_Fade
	add	esp,4
	fstp	dword [ebp-116]
	mov	ebx,dword [_bb_Permutation]
	fld	dword [ebp-76]
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatToInt
	add	esp,8
	mov	eax,dword [ebx+eax*4+24]
	mov	dword [ebp+-120],eax
	fild	dword [ebp+-120]
	fadd	dword [ebp-80]
	fstp	dword [ebp-40]
	mov	ebx,dword [_bb_Permutation]
	fld	dword [ebp-40]
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatToInt
	add	esp,8
	mov	eax,dword [ebx+eax*4+24]
	mov	dword [ebp+-120],eax
	fild	dword [ebp+-120]
	fadd	dword [ebp-44]
	fstp	dword [ebp-68]
	mov	ebx,dword [_bb_Permutation]
	fld	dword [ebp-40]
	fadd	dword [_4100]
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatToInt
	add	esp,8
	mov	eax,dword [ebx+eax*4+24]
	mov	dword [ebp+-120],eax
	fild	dword [ebp+-120]
	fadd	dword [ebp-44]
	fstp	dword [ebp-56]
	mov	ebx,dword [_bb_Permutation]
	fld	dword [ebp-76]
	fadd	dword [_4101]
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatToInt
	add	esp,8
	mov	eax,dword [ebx+eax*4+24]
	mov	dword [ebp+-120],eax
	fild	dword [ebp+-120]
	fadd	dword [ebp-80]
	fstp	dword [ebp-32]
	mov	ebx,dword [_bb_Permutation]
	fld	dword [ebp-32]
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatToInt
	add	esp,8
	mov	eax,dword [ebx+eax*4+24]
	mov	dword [ebp+-120],eax
	fild	dword [ebp+-120]
	fadd	dword [ebp-44]
	fstp	dword [ebp-48]
	mov	ebx,dword [_bb_Permutation]
	fld	dword [ebp-32]
	fadd	dword [_4102]
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatToInt
	add	esp,8
	mov	eax,dword [ebx+eax*4+24]
	mov	dword [ebp+-120],eax
	fild	dword [ebp+-120]
	fadd	dword [ebp-44]
	fstp	dword [ebp-36]
	mov	ebx,dword [_bb_GRAYD]
	fld	dword [ebp-36]
	fadd	dword [_4103]
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatToInt
	add	esp,8
	fld	dword [ebx+eax*4+24]
	fstp	dword [ebp-112]
	mov	ebx,dword [_bb_GRAYD]
	fld	dword [ebp-56]
	fadd	dword [_4104]
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatToInt
	add	esp,8
	fld	dword [ebx+eax*4+24]
	fstp	dword [ebp-104]
	mov	ebx,dword [_bb_GRAYD]
	fld	dword [ebp-48]
	fadd	dword [_4105]
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatToInt
	add	esp,8
	fld	dword [ebx+eax*4+24]
	fstp	dword [ebp-108]
	mov	ebx,dword [_bb_GRAYD]
	fld	dword [ebp-68]
	fadd	dword [_4106]
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatToInt
	add	esp,8
	fld	dword [ebx+eax*4+24]
	fstp	dword [ebp-96]
	mov	ebx,dword [_bb_GRAYD]
	fld	dword [ebp-36]
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatToInt
	add	esp,8
	fld	dword [ebx+eax*4+24]
	fstp	dword [ebp-100]
	mov	ebx,dword [_bb_GRAYD]
	fld	dword [ebp-56]
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatToInt
	add	esp,8
	fld	dword [ebx+eax*4+24]
	fstp	dword [ebp-84]
	mov	ebx,dword [_bb_GRAYD]
	fld	dword [ebp-48]
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatToInt
	add	esp,8
	fld	dword [ebx+eax*4+24]
	fstp	dword [ebp-88]
	mov	ebx,dword [_bb_GRAYD]
	fld	dword [ebp-68]
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatToInt
	add	esp,8
	fld	dword [ebx+eax*4+24]
	fstp	dword [ebp-72]
	push	dword [ebp-112]
	push	dword [ebp-104]
	push	dword [ebp-4]
	call	_bb_Lerp
	add	esp,12
	fstp	dword [ebp-52]
	push	dword [ebp-108]
	push	dword [ebp-96]
	push	dword [ebp-4]
	call	_bb_Lerp
	add	esp,12
	push	dword [ebp-52]
	sub	esp,4
	fstp	dword [esp]
	push	dword [ebp-92]
	call	_bb_Lerp
	add	esp,12
	fstp	dword [ebp-64]
	push	dword [ebp-100]
	push	dword [ebp-84]
	push	dword [ebp-4]
	call	_bb_Lerp
	add	esp,12
	fstp	dword [ebp-60]
	push	dword [ebp-88]
	push	dword [ebp-72]
	push	dword [ebp-4]
	call	_bb_Lerp
	add	esp,12
	push	dword [ebp-60]
	sub	esp,4
	fstp	dword [esp]
	push	dword [ebp-92]
	call	_bb_Lerp
	add	esp,12
	push	dword [ebp-64]
	sub	esp,4
	fstp	dword [esp]
	push	dword [ebp-116]
	call	_bb_Lerp
	add	esp,12
	jmp	_1099
_1099:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
_bb_Fade:
	push	ebp
	mov	ebp,esp
	fld	dword [ebp+8]
	fld	st0
	fmul	st0,st1
	fmul	st0,st1
	fld	st1
	fmul	dword [_4111]
	fsub	dword [_4112]
	fmulp	st2,st0
	fxch	st1
	fadd	dword [_4113]
	fmulp	st1,st0
	jmp	_1102
_1102:
	mov	esp,ebp
	pop	ebp
	ret
_bb_Lerp:
	push	ebp
	mov	ebp,esp
	fld	dword [ebp+8]
	fld	dword [ebp+12]
	fld	dword [ebp+16]
	fsub	st0,st1
	fmulp	st2,st0
	faddp	st1,st0
	jmp	_1107
_1107:
	mov	esp,ebp
	pop	ebp
	ret
_bb_FastNoise:
	push	ebp
	mov	ebp,esp
	sub	esp,148
	push	ebx
	push	esi
	push	edi
	fld	dword [_4140]
	fstp	dword [ebp-84]
	fld	dword [_4141]
	fstp	dword [ebp-88]
	mov	ecx,dword [ebp+8]
	mov	eax,dword [ebp+8]
	cdq
	and	edx,1
	add	eax,edx
	sar	eax,1
	imul	ecx,eax
	push	ecx
	call	_brl_bank_CreateBank
	add	esp,4
	mov	dword [ebp-144],eax
	fld	dword [ebp+12]
	fmul	dword [ebp+16]
	fmul	dword [_4142]
	fstp	dword [ebp-128]
	mov	dword [ebp-112],0
	mov	eax,dword [ebp+8]
	cdq
	and	edx,1
	add	eax,edx
	sar	eax,1
	sub	eax,1
	mov	dword [ebp-140],eax
	jmp	_2261
_130:
	mov	dword [ebp-100],0
	mov	eax,dword [ebp+8]
	sub	eax,1
	mov	edi,eax
	jmp	_2263
_133:
	mov	esi,dword [_bb_hmap]
	mov	eax,dword [ebp-100]
	mov	edx,dword [_bb_hmap]
	imul	eax,dword [edx+24]
	mov	ebx,eax
	add	ebx,dword [ebp-112]
	push	dword [ebp+28]
	mov	eax,dword [ebp-112]
	add	eax,dword [ebp+24]
	push	eax
	mov	eax,dword [ebp-100]
	add	eax,dword [ebp+20]
	push	eax
	call	_bb_Noise
	add	esp,12
	fstp	dword [esi+ebx*4+28]
_131:
	add	dword [ebp-100],1
_2263:
	cmp	dword [ebp-100],edi
	jle	_133
_132:
_128:
	add	dword [ebp-112],1
_2261:
	mov	eax,dword [ebp-140]
	cmp	dword [ebp-112],eax
	jle	_130
_129:
	mov	eax,dword [ebp+8]
	cdq
	and	edx,1
	add	eax,edx
	sar	eax,1
	mov	dword [ebp-132],eax
	fld	dword [ebp-128]
	fmul	dword [ebp+16]
	fstp	dword [ebp-128]
_136:
	mov	dword [ebp-112],0
	mov	eax,dword [ebp-132]
	cdq
	and	edx,1
	add	eax,edx
	sar	eax,1
	sub	eax,1
	mov	dword [ebp-124],eax
	jmp	_2265
_139:
	mov	dword [ebp-100],0
	mov	eax,dword [ebp-132]
	sub	eax,1
	mov	edi,eax
	jmp	_2267
_142:
	mov	esi,dword [_bb_nmap]
	mov	eax,dword [ebp-100]
	mov	edx,dword [_bb_nmap]
	imul	eax,dword [edx+24]
	mov	ebx,eax
	add	ebx,dword [ebp-112]
	push	dword [ebp+28]
	push	dword [ebp-112]
	push	dword [ebp-100]
	call	_bb_Noise
	add	esp,12
	fmul	dword [ebp-128]
	fstp	dword [esi+ebx*4+28]
_140:
	add	dword [ebp-100],1
_2267:
	cmp	dword [ebp-100],edi
	jle	_142
_141:
_137:
	add	dword [ebp-112],1
_2265:
	mov	eax,dword [ebp-124]
	cmp	dword [ebp-112],eax
	jle	_139
_138:
	cmp	dword [ebp+36],1
	jne	_2269
	mov	dword [ebp-104],0
	mov	eax,dword [ebp-132]
	sub	eax,1
	mov	dword [ebp-116],eax
	jmp	_2270
_145:
	mov	edi,dword [_bb_nmap]
	mov	esi,dword [ebp-104]
	mov	eax,dword [_bb_nmap]
	imul	esi,dword [eax+24]
	mov	ebx,dword [_bb_nmap]
	mov	eax,dword [ebp-104]
	mov	edx,dword [_bb_nmap]
	imul	eax,dword [edx+24]
	mov	ecx,eax
	mov	eax,dword [ebp-132]
	cdq
	and	edx,1
	add	eax,edx
	sar	eax,1
	add	ecx,eax
	fld	dword [ebx+ecx*4+28]
	fstp	dword [edi+esi*4+28]
_143:
	add	dword [ebp-104],1
_2270:
	mov	eax,dword [ebp-116]
	cmp	dword [ebp-104],eax
	jle	_145
_144:
_2269:
	cmp	dword [ebp+32],1
	jne	_2272
	mov	dword [ebp-104],0
	mov	edx,dword [ebp-132]
	sub	edx,1
	jmp	_2273
_148:
	mov	ecx,dword [_bb_nmap]
	mov	ebx,dword [_bb_nmap]
	mov	eax,dword [ebp-132]
	mov	esi,dword [_bb_nmap]
	imul	eax,dword [esi+24]
	add	eax,dword [ebp-104]
	fld	dword [ebx+eax*4+28]
	mov	eax,dword [ebp-104]
	fstp	dword [ecx+eax*4+28]
_146:
	add	dword [ebp-104],1
_2273:
	cmp	dword [ebp-104],edx
	jle	_148
_147:
_2272:
	mov	eax,dword [ebp+8]
	mov	dword [ebp+-148],eax
	fild	dword [ebp+-148]
	fmul	dword [_4143]
	mov	eax,dword [ebp-132]
	mov	dword [ebp+-148],eax
	fild	dword [ebp+-148]
	fdivp	st1,st0
	fstp	dword [ebp-108]
	fld	dword [_4144]
	fdiv	dword [ebp-108]
	fstp	dword [ebp-80]
	mov	dword [ebp-112],0
	mov	eax,dword [ebp-132]
	cdq
	and	edx,1
	add	eax,edx
	sar	eax,1
	sub	eax,1
	mov	dword [ebp-136],eax
	jmp	_2275
_151:
	mov	dword [ebp-100],0
	mov	eax,dword [ebp-132]
	sub	eax,1
	mov	dword [ebp-120],eax
	jmp	_2277
_154:
	mov	ecx,dword [_bb_nmap]
	mov	eax,dword [ebp-100]
	mov	edx,dword [_bb_nmap]
	imul	eax,dword [edx+24]
	add	eax,dword [ebp-112]
	fld	dword [ecx+eax*4+28]
	fstp	dword [ebp-76]
	mov	ecx,dword [_bb_nmap]
	mov	eax,dword [ebp-100]
	add	eax,1
	mov	edx,dword [_bb_nmap]
	imul	eax,dword [edx+24]
	add	eax,dword [ebp-112]
	fld	dword [ecx+eax*4+28]
	fstp	dword [ebp-72]
	mov	ecx,dword [_bb_nmap]
	mov	eax,dword [ebp-100]
	mov	edx,dword [_bb_nmap]
	imul	eax,dword [edx+24]
	mov	edx,dword [ebp-112]
	add	edx,1
	add	eax,edx
	fld	dword [ecx+eax*4+28]
	fstp	dword [ebp-64]
	mov	edx,dword [_bb_nmap]
	mov	eax,dword [ebp-100]
	add	eax,1
	mov	ecx,dword [_bb_nmap]
	imul	eax,dword [ecx+24]
	mov	ecx,dword [ebp-112]
	add	ecx,1
	add	eax,ecx
	fld	dword [edx+eax*4+28]
	fstp	dword [ebp-60]
	mov	eax,dword [ebp-100]
	mov	dword [ebp+-148],eax
	fild	dword [ebp+-148]
	fmul	dword [ebp-108]
	fstp	dword [ebp-56]
	mov	eax,dword [ebp-112]
	mov	dword [ebp+-148],eax
	fild	dword [ebp+-148]
	fmul	dword [ebp-108]
	fstp	dword [ebp-68]
	fld	dword [_4145]
	fstp	dword [ebp-96]
	mov	dword [ebp-44],0
	fld	dword [ebp-108]
	fsub	dword [_4146]
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatToInt
	add	esp,8
	mov	dword [ebp-92],eax
	jmp	_2279
_157:
	fld1
	fstp	qword [ebp-36]
	fld	dword [ebp-96]
	fmul	dword [_4147]
	sub	esp,8
	fstp	qword [esp]
	call	_bbCos
	add	esp,8
	fld1
	faddp	st1,st0
	fld	qword [_4148]
	fdivp	st1,st0
	fld	qword [ebp-36]
	fsubrp	st1,st0
	fstp	qword [ebp-36]
	fld	qword [ebp-36]
	fstp	dword [ebp-48]
	fld	dword [_4149]
	fstp	dword [ebp-40]
	mov	edi,0
	fld	dword [ebp-108]
	fsub	dword [_4150]
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatToInt
	add	esp,8
	mov	dword [ebp-52],eax
	jmp	_2281
_160:
	cmp	dword [ebp+40],0
	je	_2283
	fld1
	fstp	qword [ebp-8]
	fld	dword [ebp-40]
	fmul	dword [_4151]
	sub	esp,8
	fstp	qword [esp]
	call	_bbCos
	add	esp,8
	fld1
	faddp	st1,st0
	fld	qword [_4152]
	fdivp	st1,st0
	fld	qword [ebp-8]
	fsubrp	st1,st0
	fstp	qword [ebp-8]
	fld	qword [ebp-8]
	fld	dword [ebp-76]
	fld	dword [_4153]
	fsub	st0,st2
	fmulp	st1,st0
	fstp	dword [ebp-12]
	fld	dword [ebp-72]
	fmul	st0,st1
	fstp	dword [ebp-24]
	fld	dword [ebp-64]
	fld	dword [_4154]
	fsub	st0,st2
	fmulp	st1,st0
	fstp	dword [ebp-20]
	fld	dword [ebp-60]
	fmulp	st1,st0
	fstp	dword [ebp-16]
	jmp	_2284
_2283:
	fld	dword [ebp-76]
	fld	dword [_4155]
	fsub	dword [ebp-40]
	fmulp	st1,st0
	fstp	dword [ebp-12]
	fld	dword [ebp-72]
	fmul	dword [ebp-40]
	fstp	dword [ebp-24]
	fld	dword [ebp-64]
	fld	dword [_4156]
	fsub	dword [ebp-40]
	fmulp	st1,st0
	fstp	dword [ebp-20]
	fld	dword [ebp-60]
	fmul	dword [ebp-40]
	fstp	dword [ebp-16]
_2284:
	mov	esi,dword [_bb_hmap]
	fld	dword [ebp-56]
	mov	dword [ebp+-148],edi
	fild	dword [ebp+-148]
	faddp	st1,st0
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatToInt
	add	esp,8
	mov	edx,dword [_bb_hmap]
	imul	eax,dword [edx+24]
	mov	ebx,eax
	fld	dword [ebp-68]
	mov	eax,dword [ebp-44]
	mov	dword [ebp+-148],eax
	fild	dword [ebp+-148]
	faddp	st1,st0
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatToInt
	add	esp,8
	add	ebx,eax
	fld	dword [esi+ebx*4+28]
	fld	dword [ebp-12]
	fadd	dword [ebp-24]
	fld	dword [_4157]
	fsub	dword [ebp-48]
	fmulp	st1,st0
	faddp	st1,st0
	fld	dword [ebp-20]
	fadd	dword [ebp-16]
	fmul	dword [ebp-48]
	faddp	st1,st0
	fstp	dword [ebp-28]
	fld	dword [ebp-28]
	fld	dword [ebp-84]
	fxch	st1
	fucompp
	fnstsw	ax
	sahf
	setbe	al
	movzx	eax,al
	cmp	eax,0
	jne	_2285
	fld	dword [ebp-28]
	fstp	dword [ebp-84]
_2285:
	fld	dword [ebp-28]
	fld	dword [ebp-88]
	fxch	st1
	fucompp
	fnstsw	ax
	sahf
	setae	al
	movzx	eax,al
	cmp	eax,0
	jne	_2286
	fld	dword [ebp-28]
	fstp	dword [ebp-88]
_2286:
	mov	esi,dword [_bb_hmap]
	fld	dword [ebp-56]
	mov	dword [ebp+-148],edi
	fild	dword [ebp+-148]
	faddp	st1,st0
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatToInt
	add	esp,8
	mov	edx,dword [_bb_hmap]
	imul	eax,dword [edx+24]
	mov	ebx,eax
	fld	dword [ebp-68]
	mov	eax,dword [ebp-44]
	mov	dword [ebp+-148],eax
	fild	dword [ebp+-148]
	faddp	st1,st0
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatToInt
	add	esp,8
	add	ebx,eax
	fld	dword [ebp-28]
	fstp	dword [esi+ebx*4+28]
	fld	dword [ebp-40]
	fadd	dword [ebp-80]
	fstp	dword [ebp-40]
_158:
	add	edi,1
_2281:
	cmp	edi,dword [ebp-52]
	jle	_160
_159:
	fld	dword [ebp-96]
	fadd	dword [ebp-80]
	fstp	dword [ebp-96]
_155:
	add	dword [ebp-44],1
_2279:
	mov	eax,dword [ebp-92]
	cmp	dword [ebp-44],eax
	jle	_157
_156:
_152:
	add	dword [ebp-100],1
_2277:
	mov	eax,dword [ebp-120]
	cmp	dword [ebp-100],eax
	jle	_154
_153:
_149:
	add	dword [ebp-112],1
_2275:
	mov	eax,dword [ebp-136]
	cmp	dword [ebp-112],eax
	jle	_151
_150:
	mov	eax,dword [ebp-132]
	cdq
	and	edx,1
	add	eax,edx
	sar	eax,1
	mov	dword [ebp-132],eax
	fld	dword [ebp-128]
	fmul	dword [ebp+16]
	fstp	dword [ebp-128]
_134:
	cmp	dword [ebp-132],2
	jg	_136
_135:
	mov	dword [ebp-100],0
	mov	esi,dword [ebp+8]
	sub	esi,1
	jmp	_2287
_163:
	mov	dword [ebp-112],0
	mov	eax,dword [ebp+8]
	cdq
	mov	ebx,eax
	mov	eax,edx
	and	eax,1
	add	ebx,eax
	sar	ebx,1
	sub	ebx,1
	jmp	_2289
_166:
	push	dword [ebp+8]
	push	dword [ebp-112]
	push	dword [ebp-100]
	push	0
	push	1132396544
	push	0
	push	dword [ebp-84]
	push	dword [ebp-88]
	mov	edx,dword [_bb_hmap]
	mov	eax,dword [ebp-100]
	mov	ecx,dword [_bb_hmap]
	imul	eax,dword [ecx+24]
	add	eax,dword [ebp-112]
	push	dword [edx+eax*4+28]
	call	_bb_Normalize
	add	esp,24
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatToInt
	add	esp,8
	push	eax
	push	dword [ebp-144]
	call	_bb_SetBankPixel
	add	esp,20
_164:
	add	dword [ebp-112],1
_2289:
	cmp	dword [ebp-112],ebx
	jle	_166
_165:
_161:
	add	dword [ebp-100],1
_2287:
	cmp	dword [ebp-100],esi
	jle	_163
_162:
	mov	eax,dword [ebp-144]
	jmp	_1118
_1118:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
_bb_Noise:
	push	ebp
	mov	ebp,esp
	sub	esp,4
	push	ebx
	mov	ebx,dword [ebp+8]
	mov	eax,dword [ebp+12]
	mov	edx,dword [ebp+16]
	imul	eax,57
	add	ebx,eax
	add	ebx,edx
	mov	dword [ebp+-4],ebx
	fild	dword [ebp+-4]
	sub	esp,8
	fstp	qword [esp]
	fld	qword [_4166]
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatPow
	add	esp,16
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloor
	add	esp,8
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatToInt
	add	esp,8
	mov	ecx,eax
	shl	ebx,cl
	fld	dword [_4167]
	mov	eax,ebx
	imul	eax,ebx
	imul	eax,15731
	add	eax,789221
	imul	ebx,eax
	add	ebx,1376312589
	and	ebx,2147483647
	mov	dword [ebp+-4],ebx
	fild	dword [ebp+-4]
	fdiv	dword [_4168]
	fsubp	st1,st0
	jmp	_1123
_1123:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
_bb_LoadBrushPixmap:
	push	ebp
	mov	ebp,esp
	mov	edx,dword [ebp+8]
	mov	eax,dword [ebp+12]
	fld	dword [ebp+16]
	fld	dword [ebp+20]
	sub	esp,4
	fstp	dword [esp]
	sub	esp,4
	fstp	dword [esp]
	push	eax
	push	edx
	call	dword [_bb_PixTBrush+100]
	add	esp,16
	jmp	_1129
_1129:
	mov	esp,ebp
	pop	ebp
	ret
_bb_LoadTexturePixmap:
	push	ebp
	mov	ebp,esp
	mov	edx,dword [ebp+8]
	mov	eax,dword [ebp+12]
	push	_bbNullObject
	push	eax
	push	edx
	call	dword [_bb_PixTTexture+168]
	add	esp,12
	jmp	_1133
_1133:
	mov	esp,ebp
	pop	ebp
	ret
__bb_PixTBrush_New:
	push	ebp
	mov	ebp,esp
	push	ebx
	mov	ebx,dword [ebp+8]
	push	ebx
	call	__sidesign_minib3d_TBrush_New
	add	esp,4
	mov	dword [ebx],_bb_PixTBrush
	mov	eax,0
	jmp	_1136
_1136:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_PixTBrush_Delete:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
_1139:
	mov	dword [eax],_sidesign_minib3d_TBrush
	push	eax
	call	__sidesign_minib3d_TBrush_Delete
	add	esp,4
	mov	eax,0
	jmp	_2292
_2292:
	mov	esp,ebp
	pop	ebp
	ret
__bb_PixTBrush_LoadBrushPixmap:
	push	ebp
	mov	ebp,esp
	push	ebx
	push	esi
	push	edi
	mov	esi,dword [ebp+8]
	mov	edi,dword [ebp+12]
	push	_sidesign_minib3d_TBrush
	call	_bbObjectNew
	add	esp,4
	mov	ebx,eax
	push	_bbNullObject
	push	edi
	push	esi
	call	dword [_bb_PixTTexture+168]
	add	esp,12
	mov	esi,eax
	inc	dword [esi+4]
	mov	eax,dword [ebx+48]
	mov	eax,dword [eax+24]
	dec	dword [eax+4]
	jnz	_2297
	push	eax
	call	_bbGCFree
	add	esp,4
_2297:
	mov	eax,dword [ebx+48]
	mov	dword [eax+24],esi
	mov	dword [ebx+8],1
	mov	eax,ebx
	jmp	_1145
_1145:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_PixTTexture_New:
	push	ebp
	mov	ebp,esp
	push	ebx
	mov	ebx,dword [ebp+8]
	push	ebx
	call	__sidesign_minib3d_TTexture_New
	add	esp,4
	mov	dword [ebx],_bb_PixTTexture
	mov	eax,0
	jmp	_1148
_1148:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_PixTTexture_Delete:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
_1151:
	mov	dword [eax],_sidesign_minib3d_TTexture
	push	eax
	call	__sidesign_minib3d_TTexture_Delete
	add	esp,4
	mov	eax,0
	jmp	_2298
_2298:
	mov	esp,ebp
	pop	ebp
	ret
__bb_PixTTexture_LoadTexturePixMap:
	push	ebp
	mov	ebp,esp
	mov	ecx,dword [ebp+8]
	mov	edx,dword [ebp+12]
	mov	eax,dword [ebp+16]
	push	eax
	push	1
	push	0
	push	0
	push	0
	push	edx
	push	ecx
	call	dword [_bb_PixTTexture+172]
	add	esp,28
	jmp	_1156
_1156:
	mov	esp,ebp
	pop	ebp
	ret
__bb_PixTTexture_LoadAnimTexturePixMap:
	push	ebp
	mov	ebp,esp
	sub	esp,36
	push	ebx
	push	esi
	push	edi
	mov	edi,dword [ebp+12]
	fldz
	sub	esp,8
	fstp	qword [esp]
	fld1
	sub	esp,8
	fstp	qword [esp]
	call	_brl_random_Rnd
	add	esp,16
	sub	esp,8
	fstp	qword [esp]
	call	_bbStringFromDouble
	add	esp,8
	push	eax
	call	_bbMilliSecs
	push	eax
	call	_bbStringFromInt
	add	esp,4
	push	eax
	push	_169
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	mov	esi,eax
	mov	eax,edi
	and	eax,128
	cmp	eax,0
	je	_2300
	push	dword [ebp+32]
	push	edi
	push	esi
	call	dword [_bb_PixTTexture+68]
	add	esp,12
	mov	edx,eax
	jmp	_1165
_2300:
	cmp	dword [ebp+32],_bbNullObject
	jne	_2301
	push	_sidesign_minib3d_TTexture
	call	_bbObjectNew
	add	esp,4
	mov	dword [ebp+32],eax
_2301:
	mov	eax,esi
	inc	dword [eax+4]
	mov	ebx,eax
	mov	eax,dword [ebp+32]
	mov	eax,dword [eax+8]
	dec	dword [eax+4]
	jnz	_2305
	push	eax
	call	_bbGCFree
	add	esp,4
_2305:
	mov	eax,dword [ebp+32]
	mov	dword [eax+8],ebx
	mov	ebx,esi
	inc	dword [ebx+4]
	mov	eax,dword [ebp+32]
	mov	eax,dword [eax+44]
	dec	dword [eax+4]
	jnz	_2309
	push	eax
	call	_bbGCFree
	add	esp,4
_2309:
	mov	eax,dword [ebp+32]
	mov	dword [eax+44],ebx
	mov	eax,dword [ebp+32]
	mov	dword [eax+12],edi
	mov	eax,dword [ebp+32]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+152]
	add	esp,4
	mov	eax,dword [ebp+32]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+148]
	add	esp,4
	mov	edx,eax
	cmp	edx,_bbNullObject
	setne	al
	movzx	eax,al
	cmp	eax,0
	je	_2313
	cmp	edx,dword [ebp+32]
	setne	al
	movzx	eax,al
_2313:
	cmp	eax,0
	je	_2315
	jmp	_1165
_2315:
	cmp	edx,dword [ebp+32]
	je	_2317
	push	dword [ebp+32]
	push	dword [__sidesign_minib3d_TTexture_tex_list]
	call	_brl_linkedlist_ListAddLast
	add	esp,8
_2317:
_2316:
	push	dword [ebp+8]
	call	_brl_pixmap_CopyPixmap
	add	esp,4
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [ebp+32]
	mov	eax,dword [eax+56]
	dec	dword [eax+4]
	jnz	_2321
	push	eax
	call	_bbGCFree
	add	esp,4
_2321:
	mov	eax,dword [ebp+32]
	mov	dword [eax+56],ebx
	mov	ebx,0
	mov	eax,dword [ebp+32]
	mov	eax,dword [eax+56]
	mov	eax,dword [eax+24]
	cmp	eax,6
	sete	al
	movzx	eax,al
	cmp	eax,0
	jne	_2323
	mov	eax,dword [ebp+32]
	mov	eax,dword [eax+56]
	mov	eax,dword [eax+24]
	cmp	eax,5
	sete	al
	movzx	eax,al
_2323:
	cmp	eax,0
	jne	_2325
	mov	eax,dword [ebp+32]
	mov	eax,dword [eax+56]
	mov	eax,dword [eax+24]
	cmp	eax,2
	sete	al
	movzx	eax,al
_2325:
	cmp	eax,0
	je	_2327
	mov	ebx,1
_2327:
	mov	eax,dword [ebp+32]
	mov	eax,dword [eax+56]
	cmp	dword [eax+24],6
	je	_2328
	mov	eax,dword [ebp+32]
	mov	eax,dword [eax+56]
	push	6
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+68]
	add	esp,8
	mov	esi,eax
	inc	dword [esi+4]
	mov	eax,dword [ebp+32]
	mov	eax,dword [eax+56]
	dec	dword [eax+4]
	jnz	_2333
	push	eax
	call	_bbGCFree
	add	esp,4
_2333:
	mov	eax,dword [ebp+32]
	mov	dword [eax+56],esi
_2328:
	mov	eax,dword [ebp+32]
	mov	eax,dword [eax+12]
	and	eax,2
	cmp	eax,0
	je	_2334
	cmp	ebx,0
	sete	al
	movzx	eax,al
_2334:
	cmp	eax,0
	je	_2336
	mov	eax,dword [ebp+32]
	push	dword [eax+56]
	call	dword [_bb_PixTTexture+164]
	add	esp,4
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [ebp+32]
	mov	eax,dword [eax+56]
	dec	dword [eax+4]
	jnz	_2340
	push	eax
	call	_bbGCFree
	add	esp,4
_2340:
	mov	eax,dword [ebp+32]
	mov	dword [eax+56],ebx
_2336:
	mov	eax,dword [ebp+32]
	mov	eax,dword [eax+12]
	and	eax,4
	cmp	eax,0
	je	_2341
	push	0
	push	0
	push	0
	mov	eax,dword [ebp+32]
	push	dword [eax+56]
	call	_brl_pixmap_MaskPixmap
	add	esp,16
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [ebp+32]
	mov	eax,dword [eax+56]
	dec	dword [eax+4]
	jnz	_2345
	push	eax
	call	_bbGCFree
	add	esp,4
_2345:
	mov	eax,dword [ebp+32]
	mov	dword [eax+56],ebx
_2341:
	mov	eax,dword [ebp+16]
	cmp	eax,0
	sete	al
	movzx	eax,al
	cmp	eax,0
	je	_2346
	mov	eax,dword [ebp+20]
	cmp	eax,0
	sete	al
	movzx	eax,al
_2346:
	cmp	eax,0
	je	_2348
	mov	eax,dword [ebp+32]
	mov	eax,dword [eax+56]
	mov	eax,dword [eax+12]
	mov	dword [ebp+16],eax
	mov	eax,dword [ebp+32]
	mov	eax,dword [eax+56]
	mov	eax,dword [eax+16]
	mov	dword [ebp+20],eax
_2348:
	mov	edx,dword [ebp+32]
	mov	eax,dword [ebp+28]
	mov	dword [edx+68],eax
	mov	eax,dword [ebp+32]
	push	dword [eax+68]
	push	0
	mov	eax,dword [ebp+32]
	push	dword [eax+60]
	push	_468
	call	_bbArraySlice
	add	esp,16
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [ebp+32]
	mov	eax,dword [eax+60]
	dec	dword [eax+4]
	jnz	_2352
	push	eax
	call	_bbGCFree
	add	esp,4
_2352:
	mov	eax,dword [ebp+32]
	mov	dword [eax+60],ebx
	mov	eax,dword [ebp+32]
	mov	eax,dword [eax+56]
	mov	eax,dword [eax+12]
	cdq
	cdq
	idiv	dword [ebp+16]
	mov	dword [ebp-32],eax
	mov	eax,dword [ebp+32]
	mov	eax,dword [eax+56]
	mov	eax,dword [eax+16]
	cdq
	cdq
	idiv	dword [ebp+20]
	mov	ecx,eax
	mov	eax,dword [ebp+24]
	cdq
	cdq
	idiv	dword [ebp-32]
	mov	eax,edx
	mov	edx,eax
	mov	ebx,edx
	mov	eax,dword [ebp+24]
	cdq
	idiv	ecx
	cdq
	idiv	ecx
	mov	eax,edx
	mov	dword [ebp-20],ebx
	mov	dword [ebp-28],eax
	mov	dword [ebp-24],0
	mov	eax,dword [ebp+32]
	mov	eax,dword [eax+68]
	sub	eax,1
	mov	dword [ebp-36],eax
	jmp	_2361
_172:
	mov	eax,dword [ebp+32]
	mov	edx,dword [eax+56]
	push	dword [ebp+20]
	push	dword [ebp+16]
	mov	eax,dword [ebp-28]
	imul	eax,dword [ebp+20]
	push	eax
	mov	eax,dword [ebp-20]
	imul	eax,dword [ebp+16]
	push	eax
	push	edx
	mov	eax,dword [edx]
	call	dword [eax+56]
	add	esp,20
	mov	dword [ebp-8],eax
	add	dword [ebp-20],1
	mov	eax,dword [ebp-32]
	cmp	dword [ebp-20],eax
	jl	_2364
	mov	dword [ebp-20],0
	add	dword [ebp-28],1
_2364:
	push	dword [ebp-8]
	call	dword [_bb_PixTTexture+156]
	add	esp,4
	mov	dword [ebp-8],eax
	mov	eax,dword [ebp-8]
	mov	edx,dword [eax+12]
	mov	eax,dword [ebp+32]
	mov	dword [eax+48],edx
	mov	eax,dword [ebp-8]
	mov	edx,dword [eax+16]
	mov	eax,dword [ebp+32]
	mov	dword [eax+52],edx
	mov	eax,dword [ebp-8]
	mov	edi,dword [eax+12]
	mov	eax,dword [ebp-8]
	mov	ebx,dword [eax+16]
	mov	dword [ebp-4],0
	lea	eax,dword [ebp-4]
	push	eax
	push	1
	call	_glGenTextures@8
	push	dword [ebp-4]
	push	3553
	call	_glBindTexture@8
	mov	dword [ebp-16],0
	mov	eax,dword [ebp+32]
	mov	eax,dword [eax+12]
	and	eax,8
	cmp	eax,0
	je	_2369
	mov	dword [ebp-16],1
_2369:
	mov	dword [ebp-12],0
_175:
_173:
	mov	esi,dword [_brl_pixmap_BytesPerPixel]
	mov	eax,dword [ebp-8]
	mov	ecx,dword [eax+24]
	mov	eax,dword [ebp-8]
	mov	eax,dword [eax+20]
	cdq
	idiv	dword [esi+ecx*4+24]
	push	eax
	push	3314
	call	_glPixelStorei@8
	mov	eax,dword [ebp-8]
	push	dword [eax+8]
	push	5121
	push	6408
	push	0
	push	ebx
	push	edi
	push	32856
	push	dword [ebp-12]
	push	3553
	call	_glTexImage2D@36
	cmp	dword [ebp-16],0
	jne	_2371
	jmp	_174
_2371:
	cmp	edi,1
	sete	al
	movzx	eax,al
	cmp	eax,0
	je	_2372
	cmp	ebx,1
	sete	al
	movzx	eax,al
_2372:
	cmp	eax,0
	je	_2374
	jmp	_174
_2374:
	cmp	edi,1
	jle	_2375
	mov	eax,edi
	cdq
	and	edx,1
	add	eax,edx
	sar	eax,1
	mov	edi,eax
_2375:
	cmp	ebx,1
	jle	_2376
	mov	eax,ebx
	cdq
	and	edx,1
	add	eax,edx
	sar	eax,1
	mov	ebx,eax
_2376:
	push	ebx
	push	edi
	push	dword [ebp-8]
	call	_brl_pixmap_ResizePixmap
	add	esp,12
	mov	dword [ebp-8],eax
	add	dword [ebp-12],1
	jmp	_175
_174:
	mov	edx,dword [ebp-12]
	mov	eax,dword [ebp+32]
	mov	dword [eax+72],edx
	mov	eax,dword [ebp+32]
	mov	ecx,dword [eax+60]
	mov	edx,dword [ebp-4]
	mov	eax,dword [ebp-24]
	mov	dword [ecx+eax*4+24],edx
_170:
	add	dword [ebp-24],1
_2361:
	mov	eax,dword [ebp-36]
	cmp	dword [ebp-24],eax
	jle	_172
_171:
	mov	edx,dword [ebp+32]
	jmp	_1165
_1165:
	mov	eax,edx
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
_bb_CreateRingTexture:
	push	ebp
	mov	ebp,esp
	sub	esp,24
	push	ebx
	push	esi
	push	edi
	push	4
	push	6
	push	32
	push	dword [ebp+12]
	call	_brl_pixmap_CreatePixmap
	add	esp,16
	mov	dword [ebp-16],eax
	mov	dword [ebp-12],0
	mov	eax,dword [ebp+12]
	sub	eax,1
	mov	dword [ebp-20],eax
	jmp	_2387
_178:
	push	0
	push	1128267776
	push	1115684864
	push	1060320051
	push	-1087163597
	push	3
	push	0
	mov	eax,dword [ebp+8]
	push	dword [eax+8]
	push	1124073472
	push	0
	push	0
	mov	eax,dword [ebp-12]
	mov	dword [ebp+-24],eax
	fild	dword [ebp+-24]
	fmul	dword [ebp+16]
	sub	esp,4
	fstp	dword [esp]
	call	_bb_Perlin3D
	add	esp,28
	sub	esp,4
	fstp	dword [esp]
	call	_bb_Normalize
	add	esp,24
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatToInt
	add	esp,8
	mov	edi,eax
	push	0
	push	1132396544
	push	1119879168
	push	1060320051
	push	-1087163597
	push	5
	push	0
	mov	eax,dword [ebp+8]
	push	dword [eax+8]
	push	1107296256
	push	0
	push	0
	mov	eax,dword [ebp-12]
	mov	dword [ebp+-24],eax
	fild	dword [ebp+-24]
	fmul	dword [ebp+16]
	sub	esp,4
	fstp	dword [esp]
	call	_bb_Perlin3D
	add	esp,28
	sub	esp,4
	fstp	dword [esp]
	call	_bb_Normalize
	add	esp,24
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatToInt
	add	esp,8
	mov	dword [ebp-8],eax
	push	0
	push	1115684864
	push	0
	push	1060320051
	push	-1087163597
	push	7
	push	0
	mov	eax,dword [ebp+8]
	push	dword [eax+8]
	push	1065353216
	push	0
	push	0
	mov	eax,dword [ebp-12]
	mov	dword [ebp+-24],eax
	fild	dword [ebp+-24]
	fmul	dword [ebp+16]
	sub	esp,4
	fstp	dword [esp]
	call	_bb_Perlin3D
	add	esp,28
	sub	esp,4
	fstp	dword [esp]
	call	_bb_Normalize
	add	esp,24
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatToInt
	add	esp,8
	mov	dword [ebp-4],eax
	push	0
	push	1132396544
	push	0
	mov	eax,dword [ebp+12]
	mov	dword [ebp+-24],eax
	fild	dword [ebp+-24]
	fmul	dword [ebp+20]
	sub	esp,4
	fstp	dword [esp]
	push	0
	mov	eax,dword [ebp-12]
	mov	dword [ebp+-24],eax
	fild	dword [ebp+-24]
	sub	esp,4
	fstp	dword [esp]
	call	_bb_Normalize
	add	esp,24
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatToInt
	add	esp,8
	mov	esi,eax
	push	0
	push	1132396544
	push	0
	mov	eax,dword [ebp+12]
	mov	dword [ebp+-24],eax
	fild	dword [ebp+-24]
	fmul	dword [ebp+20]
	sub	esp,4
	fstp	dword [esp]
	mov	eax,dword [ebp+12]
	mov	dword [ebp+-24],eax
	fild	dword [ebp+-24]
	sub	esp,4
	fstp	dword [esp]
	mov	eax,dword [ebp-12]
	mov	dword [ebp+-24],eax
	fild	dword [ebp+-24]
	sub	esp,4
	fstp	dword [esp]
	call	_bb_Normalize
	add	esp,24
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatToInt
	add	esp,8
	mov	ebx,eax
	push	ebx
	push	esi
	call	_bb_Multiply
	add	esp,8
	mov	ebx,eax
	push	255
	push	0
	push	edi
	call	_bb_LimitInt
	add	esp,12
	mov	edi,eax
	push	255
	push	0
	push	dword [ebp-8]
	call	_bb_LimitInt
	add	esp,12
	mov	dword [ebp-8],eax
	push	255
	push	0
	push	dword [ebp-4]
	call	_bb_LimitInt
	add	esp,12
	mov	dword [ebp-4],eax
	push	255
	push	0
	push	esi
	call	_bb_LimitInt
	add	esp,12
	push	255
	push	0
	push	ebx
	call	_bb_LimitInt
	add	esp,12
	mov	ebx,eax
	push	edi
	push	ebx
	call	_bb_Multiply
	add	esp,8
	mov	esi,eax
	push	dword [ebp-8]
	push	esi
	call	_bb_SoftLight
	add	esp,8
	mov	esi,eax
	push	dword [ebp-4]
	push	esi
	call	_bb_Lighten
	add	esp,8
	mov	esi,eax
	push	edi
	push	ebx
	call	_bb_Multiply
	add	esp,8
	mov	edi,eax
	mov	ebx,0
	jmp	_2389
_181:
	push	esi
	push	esi
	push	esi
	push	edi
	call	_bb_CombineARGB
	add	esp,16
	push	eax
	push	ebx
	push	dword [ebp-12]
	push	dword [ebp-16]
	call	_brl_pixmap_WritePixel
	add	esp,16
_179:
	add	ebx,1
_2389:
	cmp	ebx,31
	jle	_181
_180:
_176:
	add	dword [ebp-12],1
_2387:
	mov	eax,dword [ebp-20]
	cmp	dword [ebp-12],eax
	jle	_178
_177:
	mov	eax,dword [ebp-16]
	jmp	_1171
_1171:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
_bb_CreateBaseTexture:
	push	ebp
	mov	ebp,esp
	sub	esp,8
	push	ebx
	push	esi
	push	edi
	push	4
	push	6
	push	dword [ebp+8]
	push	dword [ebp+8]
	call	_brl_pixmap_CreatePixmap
	add	esp,16
	mov	dword [ebp-4],eax
	mov	edi,0
	mov	eax,dword [ebp+8]
	sub	eax,1
	mov	dword [ebp-8],eax
	jmp	_2393
_184:
	mov	esi,0
	mov	eax,dword [ebp+8]
	sub	eax,1
	mov	ebx,eax
	jmp	_2395
_187:
	push	dword [ebp+24]
	push	dword [ebp+20]
	push	dword [ebp+16]
	push	dword [ebp+28]
	call	_bb_CombineARGB
	add	esp,16
	push	eax
	push	esi
	push	edi
	push	dword [ebp-4]
	call	_brl_pixmap_WritePixel
	add	esp,16
_185:
	add	esi,1
_2395:
	cmp	esi,ebx
	jle	_187
_186:
_182:
	add	edi,1
_2393:
	cmp	edi,dword [ebp-8]
	jle	_184
_183:
	push	dword [ebp+12]
	push	dword [ebp-4]
	call	_bb_LoadTexturePixmap
	add	esp,8
	jmp	_1179
_1179:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
_bb_Movement:
	push	ebp
	mov	ebp,esp
	sub	esp,16
	push	ebx
	push	esi
	mov	esi,dword [ebp+8]
	push	38
	call	_brl_polledinput_KeyDown
	add	esp,4
	mov	ebx,eax
	push	40
	call	_brl_polledinput_KeyDown
	add	esp,4
	sub	ebx,eax
	push	2
	call	_brl_polledinput_MouseDown
	add	esp,4
	add	ebx,eax
	mov	dword [ebp+-16],ebx
	fild	dword [ebp+-16]
	fmul	dword [_4229]
	fld	dword [_bb_Thrust]
	fxch	st1
	fmul	dword [_4230]
	faddp	st1,st0
	fstp	dword [_bb_Thrust]
	fld	dword [_bb_Thrust]
	fld	dword [_4231]
	fxch	st1
	fucompp
	fnstsw	ax
	sahf
	setbe	al
	movzx	eax,al
	cmp	eax,0
	jne	_2402
	fld	dword [_4232]
	fstp	dword [_bb_Thrust]
_2402:
	fld	dword [_bb_Thrust]
	fldz
	fxch	st1
	fucompp
	fnstsw	ax
	sahf
	setae	al
	movzx	eax,al
	cmp	eax,0
	jne	_2403
	fldz
	fstp	dword [_bb_Thrust]
_2403:
	fld	dword [_bb_Thrust]
	fmul	dword [_bb_Multi]
	fstp	dword [_bb_CurrentSpeed]
	fld	dword [_bb_CurrentSpeed]
	fld	dword [_4233]
	fxch	st1
	fucompp
	fnstsw	ax
	sahf
	setbe	al
	movzx	eax,al
	cmp	eax,0
	jne	_2404
	fld	dword [_4234]
	fstp	dword [_bb_CurrentSpeed]
_2404:
	push	37
	call	_brl_polledinput_KeyDown
	add	esp,4
	mov	ebx,eax
	push	39
	call	_brl_polledinput_KeyDown
	add	esp,4
	sub	ebx,eax
	mov	dword [ebp+-16],ebx
	fild	dword [ebp+-16]
	fmul	dword [_4235]
	fstp	dword [ebp-12]
	push	161
	call	_brl_polledinput_KeyDown
	add	esp,4
	cmp	eax,0
	jne	_2405
	push	2
	call	_brl_polledinput_MouseDown
	add	esp,4
_2405:
	cmp	eax,0
	je	_2407
	fld	dword [_bb_Boost]
	fmul	dword [_4236]
	fstp	dword [_bb_Boost]
	fld	dword [_bb_Multi]
	fmul	dword [_4237]
	fstp	dword [_bb_Multi]
	fld	dword [_bb_Boost]
	fld	dword [_4238]
	fxch	st1
	fucompp
	fnstsw	ax
	sahf
	setbe	al
	movzx	eax,al
	cmp	eax,0
	jne	_2408
	fld	dword [_4239]
	fstp	dword [_bb_Boost]
_2408:
	fld	dword [_bb_Multi]
	fld	dword [_4240]
	fxch	st1
	fucompp
	fnstsw	ax
	sahf
	setbe	al
	movzx	eax,al
	cmp	eax,0
	jne	_2409
	fld	dword [_4241]
	fstp	dword [_bb_Multi]
_2409:
	jmp	_2410
_2407:
	fld	dword [_bb_Boost]
	fmul	dword [_4242]
	fstp	dword [_bb_Boost]
	fld	dword [_bb_Multi]
	fmul	dword [_4243]
	fstp	dword [_bb_Multi]
	fld	dword [_bb_Multi]
	fld1
	fxch	st1
	fucompp
	fnstsw	ax
	sahf
	setae	al
	movzx	eax,al
	cmp	eax,0
	jne	_2411
	fld1
	fstp	dword [_bb_Multi]
_2411:
	fld	dword [_bb_Boost]
	fld1
	fxch	st1
	fucompp
	fnstsw	ax
	sahf
	setae	al
	movzx	eax,al
	cmp	eax,0
	jne	_2412
	fld1
	fstp	dword [_bb_Boost]
_2412:
_2410:
	push	0
	push	-1082130432
	push	1065353216
	mov	eax,dword [_bb_WIDTH]
	mov	dword [ebp+-16],eax
	fild	dword [ebp+-16]
	sub	esp,4
	fstp	dword [esp]
	push	0
	call	_brl_polledinput_MouseX
	mov	dword [ebp+-16],eax
	fild	dword [ebp+-16]
	sub	esp,4
	fstp	dword [esp]
	call	_bb_Normalize
	add	esp,24
	fstp	dword [ebp-4]
	push	0
	push	1065353216
	push	-1082130432
	mov	eax,dword [_bb_HEIGHT]
	mov	dword [ebp+-16],eax
	fild	dword [ebp+-16]
	sub	esp,4
	fstp	dword [esp]
	push	0
	call	_brl_polledinput_MouseY
	mov	dword [ebp+-16],eax
	fild	dword [ebp+-16]
	sub	esp,4
	fstp	dword [esp]
	call	_bb_Normalize
	add	esp,24
	fstp	dword [ebp-8]
	fldz
	fld	dword [ebp-8]
	fucompp
	fnstsw	ax
	sahf
	setae	al
	movzx	eax,al
	cmp	eax,0
	jne	_2413
	fld	dword [ebp+12]
	sub	esp,8
	fstp	qword [esp]
	fld	dword [ebp-8]
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatAbs
	add	esp,8
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatPow
	add	esp,16
	fld	qword [_4244]
	fmulp	st1,st0
	fstp	dword [ebp-8]
	jmp	_2414
_2413:
	fld	dword [ebp+12]
	sub	esp,8
	fstp	qword [esp]
	fld	dword [ebp-8]
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatPow
	add	esp,16
	fstp	dword [ebp-8]
_2414:
	fldz
	fld	dword [ebp-4]
	fucompp
	fnstsw	ax
	sahf
	setae	al
	movzx	eax,al
	cmp	eax,0
	jne	_2415
	fld	dword [ebp+12]
	sub	esp,8
	fstp	qword [esp]
	fld	dword [ebp-4]
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatAbs
	add	esp,8
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatPow
	add	esp,16
	fld	qword [_4245]
	fmulp	st1,st0
	fstp	dword [ebp-4]
	jmp	_2416
_2415:
	fld	dword [ebp+12]
	sub	esp,8
	fstp	qword [esp]
	fld	dword [ebp-4]
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatPow
	add	esp,16
	fstp	dword [ebp-4]
_2416:
	push	0
	fld	dword [ebp-12]
	fmul	dword [_4246]
	sub	esp,4
	fstp	dword [esp]
	fld	dword [ebp-4]
	fmul	dword [_4247]
	sub	esp,4
	fstp	dword [esp]
	fld	dword [ebp-8]
	fmul	dword [_4248]
	sub	esp,4
	fstp	dword [esp]
	push	esi
	call	_bb_TurnCam
	add	esp,20
	push	0
	fld	dword [ebp-4]
	fmul	dword [_4249]
	sub	esp,4
	fstp	dword [esp]
	fld	dword [ebp-4]
	fmul	dword [_4250]
	sub	esp,4
	fstp	dword [esp]
	fld	dword [ebp-8]
	fmul	dword [_4251]
	sub	esp,4
	fstp	dword [esp]
	push	dword [_bb_Model]
	call	_sidesign_minib3d_RotateEntity
	add	esp,20
	push	0
	push	-1082130432
	push	1048576000
	push	0
	push	dword [_bb_Camera]
	call	_sidesign_minib3d_PositionEntity
	add	esp,20
	push	0
	push	0
	fld	dword [ebp-8]
	fmul	dword [_4252]
	fchs
	fmul	dword [_4253]
	fdiv	dword [_4254]
	sub	esp,4
	fstp	dword [esp]
	fld	dword [ebp-4]
	fmul	dword [_4255]
	fchs
	fmul	dword [_4256]
	fdiv	dword [_4257]
	sub	esp,4
	fstp	dword [esp]
	push	dword [_bb_Camera]
	call	_sidesign_minib3d_TranslateEntity
	add	esp,20
	push	dword [_bb_CurrentSpeed]
	push	0
	push	0
	push	esi
	call	_sidesign_minib3d_MoveEntity
	add	esp,16
	mov	eax,0
	jmp	_1183
_1183:
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
_bb_TurnCam:
	push	ebp
	mov	ebp,esp
	sub	esp,12
	push	ebx
	push	esi
	mov	ebx,dword [ebp+8]
	mov	esi,dword [ebp+24]
	fldz
	fstp	dword [ebp-4]
	fldz
	fstp	dword [ebp-8]
	fldz
	fstp	dword [ebp-12]
	push	0
	push	0
	push	0
	call	_bb_EulerToQuat
	add	esp,12
	push	0
	push	0
	push	0
	call	_bb_EulerToQuat
	add	esp,12
	cmp	esi,0
	jne	_2422
	push	1
	push	ebx
	call	_sidesign_minib3d_EntityRoll
	add	esp,8
	sub	esp,4
	fstp	dword [esp]
	push	1
	push	ebx
	call	_sidesign_minib3d_EntityYaw
	add	esp,8
	sub	esp,4
	fstp	dword [esp]
	push	1
	push	ebx
	call	_sidesign_minib3d_EntityPitch
	add	esp,8
	sub	esp,4
	fstp	dword [esp]
	call	_bb_EulerToQuat
	add	esp,12
	mov	esi,eax
	push	dword [ebp+20]
	push	dword [ebp+16]
	push	dword [ebp+12]
	call	_bb_EulerToQuat
	add	esp,12
	push	eax
	push	esi
	call	_bb_MultiplyQuats
	add	esp,8
	mov	esi,eax
	push	esi
	call	_bb_NormalizeQuat
	add	esp,4
	mov	esi,eax
	lea	eax,dword [ebp-12]
	push	eax
	lea	eax,dword [ebp-8]
	push	eax
	lea	eax,dword [ebp-4]
	push	eax
	push	dword [esi+8]
	push	dword [esi+20]
	push	dword [esi+16]
	push	dword [esi+12]
	call	_bb_QuatToEuler2
	add	esp,28
	push	0
	push	dword [ebp-12]
	push	dword [ebp-8]
	push	dword [ebp-4]
	push	ebx
	call	_sidesign_minib3d_RotateEntity
	add	esp,20
	jmp	_2423
_2422:
	push	0
	push	0
	push	ebx
	call	_sidesign_minib3d_EntityRoll
	add	esp,8
	fadd	dword [ebp+20]
	sub	esp,4
	fstp	dword [esp]
	push	0
	push	ebx
	call	_sidesign_minib3d_EntityYaw
	add	esp,8
	fadd	dword [ebp+16]
	sub	esp,4
	fstp	dword [esp]
	push	0
	push	ebx
	call	_sidesign_minib3d_EntityPitch
	add	esp,8
	fadd	dword [ebp+12]
	sub	esp,4
	fstp	dword [esp]
	push	ebx
	call	_sidesign_minib3d_RotateEntity
	add	esp,20
_2423:
	mov	eax,0
	jmp	_1190
_1190:
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
_bb_EulerToQuat:
	push	ebp
	mov	ebp,esp
	sub	esp,36
	fld	dword [ebp+16]
	fchs
	fdiv	dword [_4274]
	sub	esp,8
	fstp	qword [esp]
	call	_bbCos
	add	esp,8
	fstp	dword [ebp-8]
	fld	dword [ebp+8]
	fdiv	dword [_4275]
	sub	esp,8
	fstp	qword [esp]
	call	_bbCos
	add	esp,8
	fstp	dword [ebp-36]
	fld	dword [ebp+12]
	fdiv	dword [_4276]
	sub	esp,8
	fstp	qword [esp]
	call	_bbCos
	add	esp,8
	fstp	dword [ebp-28]
	fld	dword [ebp+16]
	fchs
	fdiv	dword [_4277]
	sub	esp,8
	fstp	qword [esp]
	call	_bbSin
	add	esp,8
	fstp	dword [ebp-4]
	fld	dword [ebp+8]
	fdiv	dword [_4278]
	sub	esp,8
	fstp	qword [esp]
	call	_bbSin
	add	esp,8
	fstp	dword [ebp-16]
	fld	dword [ebp+12]
	fdiv	dword [_4279]
	sub	esp,8
	fstp	qword [esp]
	call	_bbSin
	add	esp,8
	fld	dword [ebp-36]
	fmul	dword [ebp-28]
	fstp	dword [ebp-24]
	fld	dword [ebp-16]
	fmul	st0,st1
	fstp	dword [ebp-32]
	fld	dword [ebp-16]
	fmul	dword [ebp-28]
	fstp	dword [ebp-20]
	fld	dword [ebp-36]
	fmulp	st1,st0
	fstp	dword [ebp-12]
	push	_sidesign_minib3d_TQuaternion
	call	_bbObjectNew
	add	esp,4
	fld	dword [ebp-8]
	fmul	dword [ebp-24]
	fld	dword [ebp-4]
	fmul	dword [ebp-32]
	faddp	st1,st0
	fstp	dword [eax+8]
	fld	dword [ebp-4]
	fmul	dword [ebp-24]
	fld	dword [ebp-8]
	fmul	dword [ebp-32]
	fsubp	st1,st0
	fstp	dword [eax+12]
	fld	dword [ebp-8]
	fmul	dword [ebp-20]
	fld	dword [ebp-4]
	fmul	dword [ebp-12]
	faddp	st1,st0
	fstp	dword [eax+16]
	fld	dword [ebp-8]
	fmul	dword [ebp-12]
	fld	dword [ebp-4]
	fmul	dword [ebp-20]
	fsubp	st1,st0
	fstp	dword [eax+20]
	jmp	_1195
_1195:
	mov	esp,ebp
	pop	ebp
	ret
_bb_QuatToEuler2:
	push	ebp
	mov	ebp,esp
	sub	esp,28
	push	ebx
	push	esi
	push	edi
	mov	esi,dword [ebp+24]
	mov	ebx,dword [ebp+28]
	mov	edi,dword [ebp+32]
	fld	dword [_4283]
	fmul	dword [ebp+20]
	fmul	dword [ebp+12]
	fld	dword [_4284]
	fmul	dword [ebp+8]
	fmul	dword [ebp+16]
	fsubp	st1,st0
	fstp	dword [ebp-28]
	fld	dword [_4285]
	fld	dword [ebp-28]
	fmul	dword [ebp-28]
	fsubp	st1,st0
	fstp	dword [ebp-4]
	fld	dword [ebp-4]
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatAbs
	add	esp,8
	fld	qword [_4287]
	fxch	st1
	fucompp
	fnstsw	ax
	sahf
	setbe	al
	movzx	eax,al
	cmp	eax,0
	jne	_2438
	fld	dword [ebp-4]
	sub	esp,8
	fstp	qword [esp]
	call	_bbSqr
	add	esp,8
	fstp	dword [ebp-24]
	jmp	_2439
_2438:
	fld	dword [_4288]
	fstp	dword [ebp-24]
_2439:
	fld	dword [ebp-24]
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatAbs
	add	esp,8
	fld	qword [_4293]
	fxch	st1
	fucompp
	fnstsw	ax
	sahf
	setbe	al
	movzx	eax,al
	cmp	eax,0
	jne	_2444
	fld	dword [_4294]
	fmul	dword [ebp+12]
	fmul	dword [ebp+16]
	fld	dword [_4295]
	fmul	dword [ebp+20]
	fmul	dword [ebp+8]
	faddp	st1,st0
	fdiv	dword [ebp-24]
	fstp	dword [ebp-16]
	fld	dword [_4296]
	fld	dword [_4297]
	fmul	dword [ebp+8]
	fmul	dword [ebp+8]
	fsubp	st1,st0
	fld	dword [_4298]
	fmul	dword [ebp+12]
	fmul	dword [ebp+12]
	fsubp	st1,st0
	fdiv	dword [ebp-24]
	fstp	dword [ebp-20]
	fld	dword [_4299]
	fmul	dword [ebp+8]
	fmul	dword [ebp+12]
	fld	dword [_4300]
	fmul	dword [ebp+20]
	fmul	dword [ebp+16]
	faddp	st1,st0
	fdiv	dword [ebp-24]
	fstp	dword [ebp-8]
	fld	dword [_4301]
	fld	dword [_4302]
	fmul	dword [ebp+12]
	fmul	dword [ebp+12]
	fsubp	st1,st0
	fld	dword [_4303]
	fmul	dword [ebp+16]
	fmul	dword [ebp+16]
	fsubp	st1,st0
	fdiv	dword [ebp-24]
	fstp	dword [ebp-12]
	jmp	_2445
_2444:
	fld	dword [_4304]
	fmul	dword [ebp+20]
	fmul	dword [ebp+8]
	fld	dword [_4305]
	fmul	dword [ebp+12]
	fmul	dword [ebp+16]
	fsubp	st1,st0
	fstp	dword [ebp-16]
	fld	dword [_4306]
	fld	dword [_4307]
	fmul	dword [ebp+8]
	fmul	dword [ebp+8]
	fsubp	st1,st0
	fld	dword [_4308]
	fmul	dword [ebp+16]
	fmul	dword [ebp+16]
	fsubp	st1,st0
	fstp	dword [ebp-20]
	fld	dword [_4309]
	fstp	dword [ebp-8]
	fld	dword [_4310]
	fstp	dword [ebp-12]
_2445:
	fld	dword [ebp-24]
	sub	esp,8
	fstp	qword [esp]
	fld	dword [ebp-28]
	sub	esp,8
	fstp	qword [esp]
	call	_bbATan2
	add	esp,16
	fstp	dword [esi]
	fld	dword [ebp-12]
	sub	esp,8
	fstp	qword [esp]
	fld	dword [ebp-8]
	sub	esp,8
	fstp	qword [esp]
	call	_bbATan2
	add	esp,16
	fstp	dword [ebx]
	fld	dword [ebp-20]
	sub	esp,8
	fstp	qword [esp]
	fld	dword [ebp-16]
	sub	esp,8
	fstp	qword [esp]
	call	_bbATan2
	add	esp,16
	fchs
	fstp	dword [edi]
	mov	eax,0
	jmp	_1204
_1204:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
_bb_MultiplyQuats:
	push	ebp
	mov	ebp,esp
	push	ebx
	push	esi
	mov	esi,dword [ebp+8]
	mov	ebx,dword [ebp+12]
	push	_sidesign_minib3d_TQuaternion
	call	_bbObjectNew
	add	esp,4
	fld	dword [esi+8]
	fmul	dword [ebx+8]
	fld	dword [esi+12]
	fmul	dword [ebx+12]
	fsubp	st1,st0
	fld	dword [esi+16]
	fmul	dword [ebx+16]
	fsubp	st1,st0
	fld	dword [esi+20]
	fmul	dword [ebx+20]
	fsubp	st1,st0
	fstp	dword [eax+8]
	fld	dword [esi+8]
	fmul	dword [ebx+12]
	fld	dword [esi+12]
	fmul	dword [ebx+8]
	faddp	st1,st0
	fld	dword [esi+16]
	fmul	dword [ebx+20]
	faddp	st1,st0
	fld	dword [esi+20]
	fmul	dword [ebx+16]
	fsubp	st1,st0
	fstp	dword [eax+12]
	fld	dword [esi+8]
	fmul	dword [ebx+16]
	fld	dword [esi+16]
	fmul	dword [ebx+8]
	faddp	st1,st0
	fld	dword [esi+20]
	fmul	dword [ebx+12]
	faddp	st1,st0
	fld	dword [esi+12]
	fmul	dword [ebx+20]
	fsubp	st1,st0
	fstp	dword [eax+16]
	fld	dword [esi+8]
	fmul	dword [ebx+20]
	fld	dword [esi+20]
	fmul	dword [ebx+8]
	faddp	st1,st0
	fld	dword [esi+12]
	fmul	dword [ebx+16]
	faddp	st1,st0
	fld	dword [esi+16]
	fmul	dword [ebx+12]
	fsubp	st1,st0
	fstp	dword [eax+20]
	jmp	_1208
_1208:
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
_bb_NormalizeQuat:
	push	ebp
	mov	ebp,esp
	push	ebx
	mov	ebx,dword [ebp+8]
	fld	dword [ebx+8]
	fmul	dword [ebx+8]
	fld	dword [ebx+12]
	fmul	dword [ebx+12]
	faddp	st1,st0
	fld	dword [ebx+16]
	fmul	dword [ebx+16]
	faddp	st1,st0
	fld	dword [ebx+20]
	fmul	dword [ebx+20]
	faddp	st1,st0
	sub	esp,8
	fstp	qword [esp]
	call	_bbSqr
	add	esp,8
	fld	dword [ebx+8]
	fdiv	st0,st1
	fstp	dword [ebx+8]
	fld	dword [ebx+12]
	fdiv	st0,st1
	fstp	dword [ebx+12]
	fld	dword [ebx+16]
	fdiv	st0,st1
	fstp	dword [ebx+16]
	fld	dword [ebx+20]
	fdivrp	st1,st0
	fstp	dword [ebx+20]
	mov	eax,ebx
	jmp	_1211
_1211:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
_bb_Distance3D:
	push	ebp
	mov	ebp,esp
	fld	dword [ebp+8]
	fld	dword [ebp+12]
	fld	dword [ebp+16]
	fld	dword [ebp+20]
	fld	dword [ebp+24]
	fld	dword [ebp+28]
	fxch	st2
	fsubp	st5,st0
	fsubp	st3,st0
	fsubp	st1,st0
	fxch	st2
	fmul	st0,st0
	fxch	st1
	fmul	st0,st0
	faddp	st1,st0
	fxch	st1
	fmul	st0,st0
	faddp	st1,st0
	sub	esp,8
	fstp	qword [esp]
	call	_bbSqr
	add	esp,8
	jmp	_1219
_1219:
	mov	esp,ebp
	pop	ebp
	ret
_bb_PrintTime:
	push	ebp
	mov	ebp,esp
	sub	esp,8
	push	ebx
	push	esi
	push	edi
	call	_bbMilliSecs
	sub	eax,dword [_bb_start]
	push	eax
	call	_bbStringFromInt
	add	esp,4
	mov	dword [ebp-4],eax
	mov	eax,dword [ebp-4]
	mov	edx,dword [eax+8]
	mov	ebx,_bbEmptyString
	cmp	edx,4
	jge	_2456
	mov	esi,0
	mov	eax,3
	sub	eax,edx
	mov	edi,eax
	jmp	_2457
_190:
	push	_191
	push	ebx
	call	_bbStringConcat
	add	esp,8
	mov	ebx,eax
_188:
	add	esi,1
_2457:
	cmp	esi,edi
	jle	_190
_189:
_2456:
	call	_sidesign_minib3d_BeginMax2D
	cmp	dword [ebp+12],0
	jne	_2459
	mov	dword [ebp-4],_37
	mov	ebx,_192
	jmp	_2460
_2459:
	push	_193
	push	dword [ebp-4]
	push	ebx
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	mov	ebx,eax
_2460:
	mov	eax,dword [_bb_status]
	imul	eax,15
	mov	dword [ebp+-8],eax
	fild	dword [ebp+-8]
	sub	esp,4
	fstp	dword [esp]
	push	0
	push	dword [ebp+8]
	push	ebx
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_brl_max2d_DrawText
	add	esp,12
	push	dword [ebp+8]
	push	ebx
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_brl_standardio_Print
	add	esp,4
	add	dword [_bb_status],1
	call	_sidesign_minib3d_EndMax2D
	push	0
	call	_brl_graphics_Flip
	add	esp,4
	push	dword [ebp-4]
	call	_bbStringToInt
	add	esp,4
	add	dword [_bb_totaltime],eax
	mov	eax,0
	jmp	_1223
_1223:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
_bb_PositionSprite:
	push	ebp
	mov	ebp,esp
	sub	esp,4
	push	ebx
	push	esi
	push	edi
	mov	esi,dword [ebp+8]
	mov	ebx,dword [ebp+12]
	mov	edi,dword [ebp+16]
	mov	ecx,dword [ebp+20]
	mov	eax,dword [ebp+24]
	cdq
	and	edx,1
	add	eax,edx
	sar	eax,1
	mov	dword [ebp+-4],eax
	fild	dword [ebp+-4]
	sub	esp,4
	fstp	dword [esp]
	mov	eax,ecx
	cdq
	and	edx,1
	add	eax,edx
	sar	eax,1
	mov	dword [ebp+-4],eax
	fild	dword [ebp+-4]
	sub	esp,4
	fstp	dword [esp]
	push	esi
	call	_sidesign_minib3d_ScaleSprite
	add	esp,12
	push	0
	mov	eax,dword [_bb_WIDTH]
	cdq
	and	edx,1
	add	eax,edx
	sar	eax,1
	mov	dword [ebp+-4],eax
	fild	dword [ebp+-4]
	sub	esp,4
	fstp	dword [esp]
	mov	eax,dword [_bb_HEIGHT]
	cdq
	and	edx,1
	add	eax,edx
	sar	eax,1
	sub	eax,edi
	mov	dword [ebp+-4],eax
	fild	dword [ebp+-4]
	sub	esp,4
	fstp	dword [esp]
	mov	eax,dword [_bb_WIDTH]
	neg	eax
	cdq
	and	edx,1
	add	eax,edx
	sar	eax,1
	add	eax,ebx
	mov	dword [ebp+-4],eax
	fild	dword [ebp+-4]
	sub	esp,4
	fstp	dword [esp]
	push	esi
	call	_sidesign_minib3d_PositionEntity
	add	esp,20
	mov	eax,0
	jmp	_1230
_1230:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
_bb_UpdateBrightness:
	push	ebp
	mov	ebp,esp
	sub	esp,36
	push	ebx
	push	esi
	mov	ebx,dword [ebp+8]
	mov	esi,dword [ebp+12]
	push	1
	push	ebx
	call	_sidesign_minib3d_EntityX
	add	esp,8
	fstp	dword [ebp-24]
	push	1
	push	ebx
	call	_sidesign_minib3d_EntityY
	add	esp,8
	fstp	dword [ebp-20]
	push	1
	push	ebx
	call	_sidesign_minib3d_EntityZ
	add	esp,8
	sub	esp,4
	fstp	dword [esp]
	push	dword [ebp-20]
	push	dword [ebp-24]
	push	esi
	call	_sidesign_minib3d_CameraProject
	add	esp,16
	push	0
	push	dword [ebp+16]
	fld	dword [ebp+16]
	fchs
	sub	esp,4
	fstp	dword [esp]
	mov	eax,dword [_bb_WIDTH]
	mov	dword [ebp+-36],eax
	fild	dword [ebp+-36]
	fsub	dword [ebp+16]
	sub	esp,4
	fstp	dword [esp]
	push	0
	call	_sidesign_minib3d_ProjectedX
	sub	esp,4
	fstp	dword [esp]
	call	_bb_Normalize
	add	esp,24
	fstp	dword [ebp-28]
	push	0
	push	dword [ebp+16]
	fld	dword [ebp+16]
	fchs
	sub	esp,4
	fstp	dword [esp]
	mov	eax,dword [_bb_HEIGHT]
	mov	dword [ebp+-36],eax
	fild	dword [ebp+-36]
	fsub	dword [ebp+16]
	sub	esp,4
	fstp	dword [esp]
	push	0
	call	_sidesign_minib3d_ProjectedY
	sub	esp,4
	fstp	dword [esp]
	call	_bb_Normalize
	add	esp,24
	fstp	dword [ebp-32]
	fld	dword [_4341]
	fld	dword [ebp-28]
	fucompp
	fnstsw	ax
	sahf
	setae	al
	movzx	eax,al
	cmp	eax,0
	jne	_2471
	fld	dword [_4342]
	fstp	dword [ebp-28]
_2471:
	fld	dword [_4343]
	fld	dword [ebp-32]
	fucompp
	fnstsw	ax
	sahf
	setae	al
	movzx	eax,al
	cmp	eax,0
	jne	_2472
	fld	dword [_4344]
	fstp	dword [ebp-32]
_2472:
	fld1
	fld	dword [ebp-28]
	fucompp
	fnstsw	ax
	sahf
	setbe	al
	movzx	eax,al
	cmp	eax,0
	jne	_2473
	fld	dword [_4345]
	fstp	dword [ebp-28]
_2473:
	fld1
	fld	dword [ebp-32]
	fucompp
	fnstsw	ax
	sahf
	setbe	al
	movzx	eax,al
	cmp	eax,0
	jne	_2474
	fld	dword [_4346]
	fstp	dword [ebp-32]
_2474:
	fld	dword [ebp+16]
	fstp	dword [ebp-4]
	fld	dword [ebp-28]
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatAbs
	add	esp,8
	fld	dword [ebp-4]
	fsubrp	st1,st0
	fstp	dword [ebp-4]
	fld	dword [ebp-4]
	fstp	dword [ebp-8]
	fld	dword [ebp+16]
	fstp	dword [ebp-12]
	fld	dword [ebp-32]
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatAbs
	add	esp,8
	fld	dword [ebp-12]
	fsubrp	st1,st0
	fstp	dword [ebp-12]
	fld	dword [ebp-8]
	fmul	dword [ebp-12]
	fstp	dword [ebp-8]
	fld	dword [ebp-8]
	fstp	dword [ebp-16]
	push	dword [ebp-16]
	push	ebx
	call	_sidesign_minib3d_EntityAlpha
	add	esp,8
	fld	dword [ebp-16]
	jmp	_1235
_1235:
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
_bb_UpdateBloom:
	push	ebp
	mov	ebp,esp
	push	dword [_bb_BloomSprite]
	call	_sidesign_minib3d_ShowEntity
	add	esp,4
	push	256
	push	256
	push	0
	push	0
	push	dword [_bb_Camera]
	call	_sidesign_minib3d_CameraViewport
	add	esp,20
	call	_sidesign_minib3d_RenderWorld
	push	0
	push	0
	push	dword [_bb_bloomtexture]
	call	_sidesign_minib3d_BackBufferToTex
	add	esp,12
	push	dword [_bb_HEIGHT]
	push	dword [_bb_WIDTH]
	push	0
	push	0
	push	dword [_bb_Camera]
	call	_sidesign_minib3d_CameraViewport
	add	esp,20
	push	dword [_bb_BloomSprite]
	call	_sidesign_minib3d_ShowEntity
	add	esp,4
	push	0
	push	0
	push	dword [_bb_bloomtexture]
	push	dword [_bb_BloomSprite]
	call	_sidesign_minib3d_EntityTexture
	add	esp,16
	mov	eax,0
	jmp	_1238
_1238:
	mov	esp,ebp
	pop	ebp
	ret
_bb_UpdateScene:
	push	ebp
	mov	ebp,esp
	sub	esp,24
	push	ebx
	mov	ebx,dword [ebp+8]
	fld	dword [_bb_PlanetRotation]
	fsub	dword [ebx+172]
	fstp	dword [_bb_PlanetRotation]
	fld	dword [_bb_CloudRotation]
	fld	dword [ebx+176]
	fdiv	dword [_4357]
	fsubp	st1,st0
	fstp	dword [_bb_CloudRotation]
	push	0
	push	0
	push	dword [_bb_PlanetRotation]
	push	0
	push	dword [ebx+272]
	call	_sidesign_minib3d_RotateEntity
	add	esp,20
	push	0
	push	1
	push	dword [_bb_Camera]
	call	_sidesign_minib3d_EntityZ
	add	esp,8
	sub	esp,4
	fstp	dword [esp]
	push	1
	push	dword [_bb_Camera]
	call	_sidesign_minib3d_EntityY
	add	esp,8
	sub	esp,4
	fstp	dword [esp]
	push	1
	push	dword [_bb_Camera]
	call	_sidesign_minib3d_EntityX
	add	esp,8
	sub	esp,4
	fstp	dword [esp]
	push	dword [_bb_MilkyWay1]
	call	_sidesign_minib3d_PositionEntity
	add	esp,20
	push	0
	push	1
	push	dword [_bb_Camera]
	call	_sidesign_minib3d_EntityZ
	add	esp,8
	sub	esp,4
	fstp	dword [esp]
	push	1
	push	dword [_bb_Camera]
	call	_sidesign_minib3d_EntityY
	add	esp,8
	sub	esp,4
	fstp	dword [esp]
	push	1
	push	dword [_bb_Camera]
	call	_sidesign_minib3d_EntityX
	add	esp,8
	sub	esp,4
	fstp	dword [esp]
	push	dword [_bb_MilkyWay2]
	call	_sidesign_minib3d_PositionEntity
	add	esp,20
	push	0
	push	0
	push	1065353216
	push	0
	push	1135869952
	push	0
	fld	dword [_4358]
	fstp	dword [ebp-4]
	push	0
	push	dword [ebx+272]
	call	_sidesign_minib3d_EntityYaw
	add	esp,8
	fadd	dword [_4359]
	fld	dword [ebp-4]
	fsubrp	st1,st0
	fstp	dword [ebp-4]
	push	dword [ebp-4]
	call	_bb_Normalize
	add	esp,24
	fsub	dword [_4360]
	sub	esp,4
	fstp	dword [esp]
	push	dword [ebx+320]
	call	_sidesign_minib3d_PositionTexture
	add	esp,12
	push	0
	push	0
	push	1065353216
	push	0
	push	1135869952
	push	0
	fld	dword [_4361]
	fstp	dword [ebp-8]
	push	0
	push	dword [ebx+272]
	call	_sidesign_minib3d_EntityYaw
	add	esp,8
	fadd	dword [_4362]
	fld	dword [ebp-8]
	fsubrp	st1,st0
	fstp	dword [ebp-8]
	push	dword [ebp-8]
	call	_bb_Normalize
	add	esp,24
	fsub	dword [_4363]
	sub	esp,4
	fstp	dword [esp]
	push	dword [ebx+324]
	call	_sidesign_minib3d_PositionTexture
	add	esp,12
	push	0
	push	dword [_bb_CloudRotation]
	push	dword [ebx+328]
	call	_sidesign_minib3d_PositionTexture
	add	esp,12
	push	0
	push	dword [_bb_CloudRotation]
	push	dword [ebx+332]
	call	_sidesign_minib3d_PositionTexture
	add	esp,12
	push	0
	push	dword [_bb_Light]
	push	dword [ebx+284]
	call	_sidesign_minib3d_PointEntity
	add	esp,12
	push	1120403456
	push	1065688760
	push	dword [ebx+300]
	push	dword [_bb_Camera]
	push	dword [ebx+292]
	call	_bb_UpdateGlow
	fstp	st0
	add	esp,20
	push	0
	push	dword [_bb_Camera]
	push	dword [ebx+292]
	call	_sidesign_minib3d_PointEntity
	add	esp,12
	push	dword [_bb_Star]
	push	dword [_bb_Camera]
	call	_sidesign_minib3d_EntityVisible
	add	esp,8
	cmp	eax,0
	je	_2475
	push	dword [_bb_StarGlow]
	call	_sidesign_minib3d_ShowEntity
	add	esp,4
	jmp	_2476
_2475:
	push	dword [_bb_StarGlow]
	call	_sidesign_minib3d_HideEntity
	add	esp,4
_2476:
	push	1067450368
	push	dword [_bb_Camera]
	push	dword [_bb_Star]
	call	_bb_UpdateBrightness
	fstp	st0
	add	esp,12
	push	1065353216
	push	dword [_bb_Camera]
	push	dword [_bb_StarGlow]
	call	_bb_UpdateBrightness
	fstp	st0
	add	esp,12
	fld1
	fstp	qword [ebp-24]
	fld1
	fstp	qword [ebp-16]
	push	dword [_bb_Star]
	push	dword [_bb_Camera]
	call	_sidesign_minib3d_EntityDistance
	add	esp,8
	fmul	dword [_4364]
	sub	esp,8
	fstp	qword [esp]
	call	_bbExp
	add	esp,8
	fld	qword [ebp-16]
	fdivrp	st1,st0
	fstp	qword [ebp-16]
	fld	qword [ebp-24]
	fsub	qword [ebp-16]
	fstp	qword [ebp-24]
	fld	qword [ebp-24]
	fld	qword [_4365]
	fmulp	st1,st0
	sub	esp,4
	fstp	dword [esp]
	push	dword [_bb_Star]
	call	_sidesign_minib3d_EntityAlpha
	add	esp,8
	mov	eax,0
	jmp	_1241
_1241:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
_bb_CreateBrightmap:
	push	ebp
	mov	ebp,esp
	push	ebx
	push	esi
	push	edi
	mov	esi,dword [ebp+8]
	mov	edi,dword [ebp+12]
	push	4
	push	4
	push	2
	push	2
	call	_brl_pixmap_CreatePixmap
	add	esp,16
	mov	ebx,eax
	push	dword [ebp+16]
	push	edi
	push	esi
	call	_bb_CombineRGB
	add	esp,12
	mov	esi,eax
	push	esi
	push	0
	push	0
	push	ebx
	call	_brl_pixmap_WritePixel
	add	esp,16
	push	esi
	push	1
	push	0
	push	ebx
	call	_brl_pixmap_WritePixel
	add	esp,16
	push	esi
	push	0
	push	1
	push	ebx
	call	_brl_pixmap_WritePixel
	add	esp,16
	push	esi
	push	1
	push	1
	push	ebx
	call	_brl_pixmap_WritePixel
	add	esp,16
	push	1
	push	ebx
	call	_bb_LoadTexturePixmap
	add	esp,8
	jmp	_1246
_1246:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_TAsteroid_New:
	push	ebp
	mov	ebp,esp
	push	ebx
	mov	ebx,dword [ebp+8]
	push	ebx
	call	_bbObjectCtor
	add	esp,4
	mov	dword [ebx],_bb_TAsteroid
	fldz
	fstp	dword [ebx+8]
	fldz
	fstp	dword [ebx+12]
	fldz
	fstp	dword [ebx+16]
	fldz
	fstp	dword [ebx+20]
	fldz
	fstp	dword [ebx+24]
	fldz
	fstp	dword [ebx+28]
	fldz
	fstp	dword [ebx+32]
	fldz
	fstp	dword [ebx+36]
	mov	dword [ebx+40],255
	mov	dword [ebx+44],255
	mov	dword [ebx+48],255
	fld1
	fstp	dword [ebx+52]
	fld	dword [_4372]
	fstp	dword [ebx+56]
	mov	dword [ebx+60],0
	mov	dword [ebx+64],0
	mov	eax,_bbNullObject
	inc	dword [eax+4]
	mov	dword [ebx+68],eax
	mov	eax,_bbNullObject
	inc	dword [eax+4]
	mov	dword [ebx+72],eax
	fldz
	fstp	dword [ebx+76]
	mov	dword [ebx+80],0
	mov	dword [ebx+84],0
	mov	dword [ebx+88],0
	mov	dword [ebx+92],0
	fldz
	fstp	dword [ebx+96]
	fldz
	fstp	dword [ebx+100]
	fldz
	fstp	dword [ebx+104]
	fldz
	fstp	dword [ebx+108]
	fldz
	fstp	dword [ebx+112]
	fldz
	fstp	dword [ebx+116]
	fldz
	fstp	dword [ebx+120]
	fldz
	fstp	dword [ebx+124]
	fldz
	fstp	dword [ebx+128]
	fldz
	fstp	dword [ebx+132]
	fldz
	fstp	dword [ebx+136]
	fldz
	fstp	dword [ebx+140]
	push	ebx
	push	dword [__bb_TAsteroid_List]
	call	_brl_linkedlist_ListAddLast
	add	esp,8
	mov	eax,0
	jmp	_1249
_1249:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_TAsteroid_Delete:
	push	ebp
	mov	ebp,esp
	push	ebx
	mov	ebx,dword [ebp+8]
_1252:
	mov	eax,dword [ebx+72]
	dec	dword [eax+4]
	jnz	_2483
	push	eax
	call	_bbGCFree
	add	esp,4
_2483:
	mov	eax,dword [ebx+68]
	dec	dword [eax+4]
	jnz	_2485
	push	eax
	call	_bbGCFree
	add	esp,4
_2485:
	mov	eax,0
	jmp	_2481
_2481:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_TAsteroid_Add:
	push	ebp
	mov	ebp,esp
	sub	esp,28
	push	ebx
	push	esi
	push	edi
	mov	esi,dword [ebp+8]
	cmp	dword [esi+72],_bbNullObject
	jne	_2496
	mov	ebx,dword [esi+72]
	inc	dword [ebx+4]
	mov	eax,dword [esi+72]
	dec	dword [eax+4]
	jnz	_2500
	push	eax
	call	_bbGCFree
	add	esp,4
_2500:
	mov	dword [esi+72],ebx
_2496:
	mov	eax,dword [esi+60]
	add	eax,4
	cmp	eax,32768
	jle	_2501
	mov	dword [esi+60],0
	push	_bbNullObject
	push	dword [esi+68]
	call	_sidesign_minib3d_CreateSurface
	add	esp,8
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [esi+72]
	dec	dword [eax+4]
	jnz	_2505
	push	eax
	call	_bbGCFree
	add	esp,4
_2505:
	mov	dword [esi+72],ebx
_2501:
	mov	eax,dword [esi+64]
	cdq
	and	edx,1
	add	eax,edx
	sar	eax,1
	mov	dword [ebp+-28],eax
	fild	dword [ebp+-28]
	mov	eax,dword [esi+64]
	mov	dword [ebp+-28],eax
	fild	dword [ebp+-28]
	fld	st1
	fmul	dword [_4383]
	fsubp	st1,st0
	fld	st0
	fmul	dword [_4384]
	fstp	dword [ebp-12]
	fadd	dword [_4385]
	fmul	dword [_4386]
	fstp	dword [ebp-4]
	fld	st0
	fmul	dword [_4387]
	fstp	dword [ebp-16]
	fadd	dword [_4388]
	fmul	dword [_4389]
	fstp	dword [ebp-20]
	push	0
	push	dword [ebp-16]
	push	dword [ebp-4]
	push	0
	push	0
	push	0
	push	dword [esi+72]
	call	_sidesign_minib3d_AddVertex
	add	esp,28
	mov	ebx,eax
	push	0
	push	dword [ebp-20]
	push	dword [ebp-4]
	push	0
	push	0
	push	0
	push	dword [esi+72]
	call	_sidesign_minib3d_AddVertex
	add	esp,28
	mov	dword [ebp-8],eax
	push	0
	push	dword [ebp-20]
	push	dword [ebp-12]
	push	0
	push	0
	push	0
	push	dword [esi+72]
	call	_sidesign_minib3d_AddVertex
	add	esp,28
	mov	edi,eax
	push	0
	push	dword [ebp-16]
	push	dword [ebp-12]
	push	0
	push	0
	push	0
	push	dword [esi+72]
	call	_sidesign_minib3d_AddVertex
	add	esp,28
	mov	dword [ebp-24],eax
	push	dword [esi+52]
	mov	eax,dword [esi+48]
	mov	dword [ebp+-28],eax
	fild	dword [ebp+-28]
	sub	esp,4
	fstp	dword [esp]
	mov	eax,dword [esi+44]
	mov	dword [ebp+-28],eax
	fild	dword [ebp+-28]
	sub	esp,4
	fstp	dword [esp]
	mov	eax,dword [esi+40]
	mov	dword [ebp+-28],eax
	fild	dword [ebp+-28]
	sub	esp,4
	fstp	dword [esp]
	push	ebx
	push	dword [esi+72]
	call	_sidesign_minib3d_VertexColor
	add	esp,24
	push	dword [esi+52]
	mov	eax,dword [esi+48]
	mov	dword [ebp+-28],eax
	fild	dword [ebp+-28]
	sub	esp,4
	fstp	dword [esp]
	mov	eax,dword [esi+44]
	mov	dword [ebp+-28],eax
	fild	dword [ebp+-28]
	sub	esp,4
	fstp	dword [esp]
	mov	eax,dword [esi+40]
	mov	dword [ebp+-28],eax
	fild	dword [ebp+-28]
	sub	esp,4
	fstp	dword [esp]
	push	dword [ebp-8]
	push	dword [esi+72]
	call	_sidesign_minib3d_VertexColor
	add	esp,24
	push	dword [esi+52]
	mov	eax,dword [esi+48]
	mov	dword [ebp+-28],eax
	fild	dword [ebp+-28]
	sub	esp,4
	fstp	dword [esp]
	mov	eax,dword [esi+44]
	mov	dword [ebp+-28],eax
	fild	dword [ebp+-28]
	sub	esp,4
	fstp	dword [esp]
	mov	eax,dword [esi+40]
	mov	dword [ebp+-28],eax
	fild	dword [ebp+-28]
	sub	esp,4
	fstp	dword [esp]
	push	edi
	push	dword [esi+72]
	call	_sidesign_minib3d_VertexColor
	add	esp,24
	push	dword [esi+52]
	mov	eax,dword [esi+48]
	mov	dword [ebp+-28],eax
	fild	dword [ebp+-28]
	sub	esp,4
	fstp	dword [esp]
	mov	eax,dword [esi+44]
	mov	dword [ebp+-28],eax
	fild	dword [ebp+-28]
	sub	esp,4
	fstp	dword [esp]
	mov	eax,dword [esi+40]
	mov	dword [ebp+-28],eax
	fild	dword [ebp+-28]
	sub	esp,4
	fstp	dword [esp]
	push	dword [ebp-24]
	push	dword [esi+72]
	call	_sidesign_minib3d_VertexColor
	add	esp,24
	push	edi
	push	dword [ebp-8]
	push	ebx
	push	dword [esi+72]
	call	_sidesign_minib3d_AddTriangle
	add	esp,16
	push	dword [ebp-24]
	push	edi
	push	ebx
	push	dword [esi+72]
	call	_sidesign_minib3d_AddTriangle
	add	esp,16
	mov	eax,ebx
	add	eax,4
	mov	dword [esi+60],eax
	mov	eax,esi
	push	0
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+56]
	add	esp,8
	push	0
	push	dword [_bb_Camera]
	call	_sidesign_minib3d_EntityZ
	add	esp,8
	sub	esp,4
	fstp	dword [esp]
	push	0
	push	dword [_bb_Camera]
	call	_sidesign_minib3d_EntityY
	add	esp,8
	sub	esp,4
	fstp	dword [esp]
	push	0
	push	dword [_bb_Camera]
	call	_sidesign_minib3d_EntityX
	add	esp,8
	sub	esp,4
	fstp	dword [esp]
	push	dword [esi+16]
	push	dword [esi+12]
	push	dword [esi+8]
	call	_bb_Distance3D
	add	esp,24
	fstp	dword [esi+76]
	mov	eax,0
	jmp	_1255
_1255:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_TAsteroid_Hide:
	push	ebp
	mov	ebp,esp
	sub	esp,4
	push	ebx
	push	esi
	mov	ebx,dword [ebp+8]
	mov	esi,0
	mov	dword [ebp+-4],esi
	fild	dword [ebp+-4]
	sub	esp,4
	fstp	dword [esp]
	mov	dword [ebp+-4],esi
	fild	dword [ebp+-4]
	sub	esp,4
	fstp	dword [esp]
	mov	dword [ebp+-4],esi
	fild	dword [ebp+-4]
	sub	esp,4
	fstp	dword [esp]
	push	dword [ebx+60]
	push	dword [ebx+72]
	call	_sidesign_minib3d_VertexCoords
	add	esp,20
	mov	dword [ebp+-4],esi
	fild	dword [ebp+-4]
	sub	esp,4
	fstp	dword [esp]
	mov	dword [ebp+-4],esi
	fild	dword [ebp+-4]
	sub	esp,4
	fstp	dword [esp]
	mov	dword [ebp+-4],esi
	fild	dword [ebp+-4]
	sub	esp,4
	fstp	dword [esp]
	mov	eax,dword [ebx+60]
	add	eax,1
	push	eax
	push	dword [ebx+72]
	call	_sidesign_minib3d_VertexCoords
	add	esp,20
	mov	dword [ebp+-4],esi
	fild	dword [ebp+-4]
	sub	esp,4
	fstp	dword [esp]
	mov	dword [ebp+-4],esi
	fild	dword [ebp+-4]
	sub	esp,4
	fstp	dword [esp]
	mov	dword [ebp+-4],esi
	fild	dword [ebp+-4]
	sub	esp,4
	fstp	dword [esp]
	mov	eax,dword [ebx+60]
	add	eax,2
	push	eax
	push	dword [ebx+72]
	call	_sidesign_minib3d_VertexCoords
	add	esp,20
	mov	dword [ebp+-4],esi
	fild	dword [ebp+-4]
	sub	esp,4
	fstp	dword [esp]
	mov	dword [ebp+-4],esi
	fild	dword [ebp+-4]
	sub	esp,4
	fstp	dword [esp]
	mov	dword [ebp+-4],esi
	fild	dword [ebp+-4]
	sub	esp,4
	fstp	dword [esp]
	mov	eax,dword [ebx+60]
	add	eax,3
	push	eax
	push	dword [ebx+72]
	call	_sidesign_minib3d_VertexCoords
	add	esp,20
	mov	eax,0
	jmp	_1258
_1258:
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_TAsteroid_Update:
	push	ebp
	mov	ebp,esp
	sub	esp,24
	push	ebx
	push	esi
	mov	ebx,dword [ebp+8]
	mov	esi,dword [ebp+12]
	fld	dword [ebx+8]
	fadd	dword [ebx+20]
	fstp	dword [ebx+8]
	fld	dword [ebx+12]
	fadd	dword [ebx+24]
	fstp	dword [ebx+12]
	fld	dword [ebx+16]
	fadd	dword [ebx+28]
	fstp	dword [ebx+16]
	fld	dword [ebx+32]
	fadd	dword [ebx+36]
	fstp	dword [ebx+32]
	push	0
	push	dword [ebx+16]
	push	dword [ebx+12]
	push	dword [ebx+8]
	push	dword [_bb_Pivot]
	call	_sidesign_minib3d_PositionEntity
	add	esp,20
	push	0
	push	dword [_bb_Camera]
	push	dword [_bb_Pivot]
	call	_sidesign_minib3d_PointEntity
	add	esp,12
	push	0
	push	dword [ebx+32]
	push	0
	push	dword [_bb_Pivot]
	call	_sidesign_minib3d_EntityYaw
	add	esp,8
	sub	esp,4
	fstp	dword [esp]
	push	0
	push	dword [_bb_Pivot]
	call	_sidesign_minib3d_EntityPitch
	add	esp,8
	sub	esp,4
	fstp	dword [esp]
	push	dword [_bb_Pivot]
	call	_sidesign_minib3d_RotateEntity
	add	esp,20
	push	_bbNullObject
	push	dword [_bb_Pivot]
	push	0
	fld	dword [ebx+56]
	fchs
	sub	esp,4
	fstp	dword [esp]
	push	0
	call	_sidesign_minib3d_TFormVector
	add	esp,20
	call	_sidesign_minib3d_TFormedX
	fstp	dword [ebp-16]
	call	_sidesign_minib3d_TFormedY
	fstp	dword [ebp-8]
	call	_sidesign_minib3d_TFormedZ
	fstp	dword [ebp-4]
	push	_bbNullObject
	push	dword [_bb_Pivot]
	push	0
	push	0
	fld	dword [ebx+56]
	fchs
	sub	esp,4
	fstp	dword [esp]
	call	_sidesign_minib3d_TFormVector
	add	esp,20
	call	_sidesign_minib3d_TFormedX
	fstp	dword [ebp-12]
	call	_sidesign_minib3d_TFormedY
	fstp	dword [ebp-20]
	call	_sidesign_minib3d_TFormedZ
	fld	dword [ebx+8]
	fsub	dword [ebp-16]
	fsub	dword [ebp-12]
	fstp	dword [ebx+96]
	fld	dword [ebx+12]
	fsub	dword [ebp-8]
	fsub	dword [ebp-20]
	fstp	dword [ebx+112]
	fld	dword [ebx+16]
	fsub	dword [ebp-4]
	fsub	st0,st1
	fstp	dword [ebx+128]
	fld	dword [ebx+8]
	fsub	dword [ebp-16]
	fadd	dword [ebp-12]
	fstp	dword [ebx+100]
	fld	dword [ebx+12]
	fsub	dword [ebp-8]
	fadd	dword [ebp-20]
	fstp	dword [ebx+116]
	fld	dword [ebx+16]
	fsub	dword [ebp-4]
	fadd	st0,st1
	fstp	dword [ebx+132]
	fld	dword [ebx+8]
	fadd	dword [ebp-16]
	fadd	dword [ebp-12]
	fstp	dword [ebx+104]
	fld	dword [ebx+12]
	fadd	dword [ebp-8]
	fadd	dword [ebp-20]
	fstp	dword [ebx+120]
	fld	dword [ebx+16]
	fadd	dword [ebp-4]
	fadd	st0,st1
	fstp	dword [ebx+136]
	fld	dword [ebx+8]
	fadd	dword [ebp-16]
	fsub	dword [ebp-12]
	fstp	dword [ebx+108]
	fld	dword [ebx+12]
	fadd	dword [ebp-8]
	fsub	dword [ebp-20]
	fstp	dword [ebx+124]
	fld	dword [ebx+16]
	fadd	dword [ebp-4]
	fsubrp	st1,st0
	fstp	dword [ebx+140]
	push	dword [ebx+128]
	push	dword [ebx+112]
	push	dword [ebx+96]
	push	dword [ebx+60]
	push	dword [ebx+72]
	call	_sidesign_minib3d_VertexCoords
	add	esp,20
	push	dword [ebx+132]
	push	dword [ebx+116]
	push	dword [ebx+100]
	mov	eax,dword [ebx+60]
	add	eax,1
	push	eax
	push	dword [ebx+72]
	call	_sidesign_minib3d_VertexCoords
	add	esp,20
	push	dword [ebx+136]
	push	dword [ebx+120]
	push	dword [ebx+104]
	mov	eax,dword [ebx+60]
	add	eax,2
	push	eax
	push	dword [ebx+72]
	call	_sidesign_minib3d_VertexCoords
	add	esp,20
	push	dword [ebx+140]
	push	dword [ebx+124]
	push	dword [ebx+108]
	mov	eax,dword [ebx+60]
	add	eax,3
	push	eax
	push	dword [ebx+72]
	call	_sidesign_minib3d_VertexCoords
	add	esp,20
	push	dword [ebx+52]
	mov	eax,dword [ebx+48]
	mov	dword [ebp+-24],eax
	fild	dword [ebp+-24]
	sub	esp,4
	fstp	dword [esp]
	mov	eax,dword [ebx+44]
	mov	dword [ebp+-24],eax
	fild	dword [ebp+-24]
	sub	esp,4
	fstp	dword [esp]
	mov	eax,dword [ebx+40]
	mov	dword [ebp+-24],eax
	fild	dword [ebp+-24]
	sub	esp,4
	fstp	dword [esp]
	push	dword [ebx+60]
	push	dword [ebx+72]
	call	_sidesign_minib3d_VertexColor
	add	esp,24
	push	dword [ebx+52]
	mov	eax,dword [ebx+48]
	mov	dword [ebp+-24],eax
	fild	dword [ebp+-24]
	sub	esp,4
	fstp	dword [esp]
	mov	eax,dword [ebx+44]
	mov	dword [ebp+-24],eax
	fild	dword [ebp+-24]
	sub	esp,4
	fstp	dword [esp]
	mov	eax,dword [ebx+40]
	mov	dword [ebp+-24],eax
	fild	dword [ebp+-24]
	sub	esp,4
	fstp	dword [esp]
	mov	eax,dword [ebx+60]
	add	eax,1
	push	eax
	push	dword [ebx+72]
	call	_sidesign_minib3d_VertexColor
	add	esp,24
	push	dword [ebx+52]
	mov	eax,dword [ebx+48]
	mov	dword [ebp+-24],eax
	fild	dword [ebp+-24]
	sub	esp,4
	fstp	dword [esp]
	mov	eax,dword [ebx+44]
	mov	dword [ebp+-24],eax
	fild	dword [ebp+-24]
	sub	esp,4
	fstp	dword [esp]
	mov	eax,dword [ebx+40]
	mov	dword [ebp+-24],eax
	fild	dword [ebp+-24]
	sub	esp,4
	fstp	dword [esp]
	mov	eax,dword [ebx+60]
	add	eax,2
	push	eax
	push	dword [ebx+72]
	call	_sidesign_minib3d_VertexColor
	add	esp,24
	push	dword [ebx+52]
	mov	eax,dword [ebx+48]
	mov	dword [ebp+-24],eax
	fild	dword [ebp+-24]
	sub	esp,4
	fstp	dword [esp]
	mov	eax,dword [ebx+44]
	mov	dword [ebp+-24],eax
	fild	dword [ebp+-24]
	sub	esp,4
	fstp	dword [esp]
	mov	eax,dword [ebx+40]
	mov	dword [ebp+-24],eax
	fild	dword [ebp+-24]
	sub	esp,4
	fstp	dword [esp]
	mov	eax,dword [ebx+60]
	add	eax,3
	push	eax
	push	dword [ebx+72]
	call	_sidesign_minib3d_VertexColor
	add	esp,24
	cmp	esi,0
	je	_2514
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+60]
	add	esp,4
_2514:
	mov	eax,0
	jmp	_1262
_1262:
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_TAsteroid_RecalcNormals:
	push	ebp
	mov	ebp,esp
	sub	esp,16
	push	ebx
	mov	ebx,dword [ebp+8]
	fld	dword [ebx+100]
	fsub	dword [ebx+96]
	fstp	dword [ebp-16]
	fld	dword [ebx+116]
	fsub	dword [ebx+112]
	fld	dword [ebx+132]
	fsub	dword [ebx+128]
	fld	dword [ebx+104]
	fsub	dword [ebx+96]
	fld	dword [ebx+120]
	fsub	dword [ebx+112]
	fld	dword [ebx+136]
	fsub	dword [ebx+128]
	fld	st4
	fmul	st0,st1
	fld	st4
	fmul	st0,st3
	fsubp	st1,st0
	fstp	dword [ebp-4]
	fxch	st3
	fmul	st0,st2
	fld	dword [ebp-16]
	fmulp	st4,st0
	fsubrp	st3,st0
	fxch	st2
	fstp	dword [ebp-12]
	fld	dword [ebp-16]
	fmulp	st2,st0
	fmulp	st2,st0
	fsubrp	st1,st0
	fstp	dword [ebp-8]
	push	dword [ebp-8]
	push	dword [ebp-12]
	push	dword [ebp-4]
	push	dword [ebx+60]
	push	dword [ebx+72]
	call	_sidesign_minib3d_VertexNormal
	add	esp,20
	push	dword [ebp-8]
	push	dword [ebp-12]
	push	dword [ebp-4]
	mov	eax,dword [ebx+60]
	add	eax,1
	push	eax
	push	dword [ebx+72]
	call	_sidesign_minib3d_VertexNormal
	add	esp,20
	push	dword [ebp-8]
	push	dword [ebp-12]
	push	dword [ebp-4]
	mov	eax,dword [ebx+60]
	add	eax,2
	push	eax
	push	dword [ebx+72]
	call	_sidesign_minib3d_VertexNormal
	add	esp,20
	push	dword [ebp-8]
	push	dword [ebp-12]
	push	dword [ebp-4]
	mov	eax,dword [ebx+60]
	add	eax,3
	push	eax
	push	dword [ebx+72]
	call	_sidesign_minib3d_VertexNormal
	add	esp,20
	mov	eax,0
	jmp	_1265
_1265:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_TInfo_New:
	push	ebp
	mov	ebp,esp
	push	ebx
	mov	ebx,dword [ebp+8]
	push	ebx
	call	_bbObjectCtor
	add	esp,4
	mov	dword [ebx],_bb_TInfo
	mov	eax,_bbEmptyString
	inc	dword [eax+4]
	mov	dword [ebx+8],eax
	mov	dword [ebx+12],0
	push	ebx
	push	dword [__bb_TInfo_List]
	call	_brl_linkedlist_ListAddLast
	add	esp,8
	mov	eax,0
	jmp	_1268
_1268:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_TInfo_Delete:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
_1271:
	mov	eax,dword [eax+8]
	dec	dword [eax+4]
	jnz	_2528
	push	eax
	call	_bbGCFree
	add	esp,4
_2528:
	mov	eax,0
	jmp	_2526
_2526:
	mov	esp,ebp
	pop	ebp
	ret
__bb_TInfo_Remove:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	push	eax
	push	dword [__bb_TInfo_List]
	call	_brl_linkedlist_ListRemove
	add	esp,8
	mov	eax,0
	jmp	_1274
_1274:
	mov	esp,ebp
	pop	ebp
	ret
__bb_TInfo_Add:
	push	ebp
	mov	ebp,esp
	push	ebx
	push	esi
	push	edi
	mov	esi,dword [ebp+12]
	mov	edi,dword [ebp+16]
	push	_bb_TInfo
	call	_bbObjectNew
	add	esp,4
	mov	ebx,eax
	mov	eax,esi
	inc	dword [eax+4]
	mov	esi,eax
	mov	eax,dword [ebx+8]
	dec	dword [eax+4]
	jnz	_2533
	push	eax
	call	_bbGCFree
	add	esp,4
_2533:
	mov	dword [ebx+8],esi
	mov	dword [ebx+12],edi
	mov	eax,0
	jmp	_1279
_1279:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_TInfo_Update:
	push	ebp
	mov	ebp,esp
	sub	esp,4
	push	ebx
	push	esi
	push	edi
	mov	esi,dword [ebp+8]
	mov	ebx,dword [ebp+12]
	mov	edi,dword [ebp+16]
	mov	ecx,dword [ebp+28]
	mov	edx,dword [ebp+32]
	mov	eax,dword [ebp+36]
	push	eax
	push	edx
	push	ecx
	call	_brl_max2d_SetColor
	add	esp,12
	mov	eax,ebx
	add	eax,1
	mov	dword [ebp+-4],eax
	fild	dword [ebp+-4]
	sub	esp,4
	fstp	dword [esp]
	push	1065353216
	push	dword [esi+8]
	call	_brl_max2d_DrawText
	add	esp,12
	push	dword [ebp+24]
	push	dword [ebp+20]
	push	edi
	call	_brl_max2d_SetColor
	add	esp,12
	mov	dword [ebp+-4],ebx
	fild	dword [ebp+-4]
	sub	esp,4
	fstp	dword [esp]
	push	0
	push	dword [esi+8]
	call	_brl_max2d_DrawText
	add	esp,12
	mov	eax,0
	jmp	_1289
_1289:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_TParticle_New:
	push	ebp
	mov	ebp,esp
	push	ebx
	mov	ebx,dword [ebp+8]
	push	ebx
	call	_bbObjectCtor
	add	esp,4
	mov	dword [ebx],_bb_TParticle
	fldz
	fstp	dword [ebx+8]
	fldz
	fstp	dword [ebx+12]
	fldz
	fstp	dword [ebx+16]
	fldz
	fstp	dword [ebx+20]
	fldz
	fstp	dword [ebx+24]
	fldz
	fstp	dword [ebx+28]
	fldz
	fstp	dword [ebx+32]
	mov	dword [ebx+36],0
	mov	dword [ebx+40],0
	mov	dword [ebx+44],0
	fldz
	fstp	dword [ebx+48]
	mov	eax,_bbNullObject
	inc	dword [eax+4]
	mov	dword [ebx+52],eax
	mov	eax,_bbEmptyString
	inc	dword [eax+4]
	mov	dword [ebx+56],eax
	fldz
	fstp	dword [ebx+60]
	fldz
	fstp	dword [ebx+64]
	mov	dword [ebx+68],0
	fldz
	fstp	dword [ebx+72]
	fldz
	fstp	dword [ebx+76]
	fldz
	fstp	dword [ebx+80]
	fldz
	fstp	dword [ebx+84]
	fldz
	fstp	dword [ebx+88]
	fldz
	fstp	dword [ebx+92]
	fldz
	fstp	dword [ebx+96]
	fldz
	fstp	dword [ebx+100]
	fldz
	fstp	dword [ebx+104]
	push	ebx
	push	dword [__bb_TParticle_List]
	call	_brl_linkedlist_ListAddLast
	add	esp,8
	mov	eax,0
	jmp	_1292
_1292:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_TParticle_Delete:
	push	ebp
	mov	ebp,esp
	push	ebx
	mov	ebx,dword [ebp+8]
_1295:
	mov	eax,dword [ebx+56]
	dec	dword [eax+4]
	jnz	_2538
	push	eax
	call	_bbGCFree
	add	esp,4
_2538:
	mov	eax,dword [ebx+52]
	dec	dword [eax+4]
	jnz	_2540
	push	eax
	call	_bbGCFree
	add	esp,4
_2540:
	mov	eax,0
	jmp	_2536
_2536:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_TParticle_Remove:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	push	eax
	push	dword [__bb_TParticle_List]
	call	_brl_linkedlist_ListRemove
	add	esp,8
	mov	eax,0
	jmp	_1298
_1298:
	mov	esp,ebp
	pop	ebp
	ret
__bb_TShot_New:
	push	ebp
	mov	ebp,esp
	push	ebx
	mov	ebx,dword [ebp+8]
	push	ebx
	call	_bbObjectCtor
	add	esp,4
	mov	dword [ebx],_bb_TShot
	mov	eax,_bbNullObject
	inc	dword [eax+4]
	mov	dword [ebx+8],eax
	push	3
	push	_468
	call	_bbArrayNew1D
	add	esp,8
	mov	dword [eax+24],255
	mov	dword [eax+28],255
	mov	dword [eax+32],255
	inc	dword [eax+4]
	mov	dword [ebx+12],eax
	fld1
	fstp	dword [ebx+16]
	fld	dword [_4432]
	fstp	dword [ebx+20]
	mov	dword [ebx+24],3
	fld	dword [_4433]
	fstp	dword [ebx+28]
	push	ebx
	push	dword [__bb_TShot_List]
	call	_brl_linkedlist_ListAddLast
	add	esp,8
	mov	eax,0
	jmp	_1301
_1301:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_TShot_Delete:
	push	ebp
	mov	ebp,esp
	push	ebx
	mov	ebx,dword [ebp+8]
_1304:
	mov	eax,dword [ebx+12]
	dec	dword [eax+4]
	jnz	_2546
	push	eax
	call	_bbGCFree
	add	esp,4
_2546:
	mov	eax,dword [ebx+8]
	dec	dword [eax+4]
	jnz	_2548
	push	eax
	call	_bbGCFree
	add	esp,4
_2548:
	mov	eax,0
	jmp	_2544
_2544:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_TShot_Remove:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	push	eax
	push	dword [__bb_TShot_List]
	call	_brl_linkedlist_ListRemove
	add	esp,8
	mov	eax,0
	jmp	_1307
_1307:
	mov	esp,ebp
	pop	ebp
	ret
__bb_TShot_Add:
	push	ebp
	mov	ebp,esp
	sub	esp,12
	push	ebx
	push	esi
	push	edi
	mov	ebx,dword [ebp+8]
	mov	eax,dword [__sidesign_minib3d_TEntity_entity_list]
	mov	dword [ebp-4],eax
	mov	eax,dword [ebp-4]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+140]
	add	esp,4
	mov	dword [ebp-8],eax
	jmp	_194
_196:
	mov	eax,dword [ebp-8]
	push	_sidesign_minib3d_TBone
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+52]
	add	esp,4
	push	eax
	call	_bbObjectDowncast
	add	esp,8
	mov	edi,eax
	cmp	edi,_bbNullObject
	je	_194
	push	_197
	push	3
	push	dword [edi+72]
	call	_brl_retro_Left
	add	esp,8
	push	eax
	call	_bbStringCompare
	add	esp,8
	cmp	eax,0
	jne	_2556
	push	_bb_TParticle
	call	_bbObjectNew
	add	esp,4
	inc	dword [eax+4]
	mov	esi,eax
	mov	eax,dword [ebx+8]
	dec	dword [eax+4]
	jnz	_2560
	push	eax
	call	_bbGCFree
	add	esp,4
_2560:
	mov	dword [ebx+8],esi
	mov	eax,dword [ebx+8]
	fld	dword [ebx+20]
	fstp	dword [eax+32]
	mov	eax,dword [ebx+8]
	fld	dword [ebx+28]
	fstp	dword [eax+64]
	mov	eax,_198
	inc	dword [eax+4]
	mov	esi,eax
	mov	eax,dword [ebx+8]
	mov	eax,dword [eax+56]
	dec	dword [eax+4]
	jnz	_2564
	push	eax
	call	_bbGCFree
	add	esp,4
_2564:
	mov	eax,dword [ebx+8]
	mov	dword [eax+56],esi
	mov	eax,dword [ebx+8]
	fld	dword [edi+20]
	fstp	dword [eax+8]
	mov	eax,dword [ebx+8]
	fld	dword [edi+24]
	fstp	dword [eax+12]
	mov	eax,dword [ebx+8]
	fld	dword [edi+28]
	fchs
	fstp	dword [eax+16]
	mov	edx,dword [ebx+8]
	mov	eax,dword [ebx+12]
	mov	eax,dword [eax+24]
	mov	dword [edx+36],eax
	mov	edx,dword [ebx+8]
	mov	eax,dword [ebx+12]
	mov	eax,dword [eax+4+24]
	mov	dword [edx+40],eax
	mov	edx,dword [ebx+8]
	mov	eax,dword [ebx+12]
	mov	eax,dword [eax+8+24]
	mov	dword [edx+44],eax
	mov	eax,dword [ebx+8]
	fld	dword [ebx+16]
	fstp	dword [eax+48]
	push	_bbNullObject
	call	_sidesign_minib3d_CreateSprite
	add	esp,4
	mov	esi,eax
	inc	dword [esi+4]
	mov	eax,dword [ebx+8]
	mov	eax,dword [eax+52]
	dec	dword [eax+4]
	jnz	_2568
	push	eax
	call	_bbGCFree
	add	esp,4
_2568:
	mov	eax,dword [ebx+8]
	mov	dword [eax+52],esi
	push	17
	mov	eax,dword [ebx+8]
	push	dword [eax+52]
	call	_sidesign_minib3d_EntityFX
	add	esp,8
	push	3
	mov	eax,dword [ebx+8]
	push	dword [eax+52]
	call	_sidesign_minib3d_EntityBlend
	add	esp,8
	push	2
	mov	eax,dword [ebx+8]
	push	dword [eax+52]
	call	_sidesign_minib3d_SpriteViewMode
	add	esp,8
	push	0
	push	0
	push	dword [_bb_BlasterTexture]
	mov	eax,dword [ebx+8]
	push	dword [eax+52]
	call	_sidesign_minib3d_EntityTexture
	add	esp,16
	push	dword [ebx+24]
	mov	eax,dword [ebx+8]
	push	dword [eax+52]
	call	_sidesign_minib3d_EntityBlend
	add	esp,8
	mov	eax,dword [ebx+8]
	mov	eax,dword [eax+44]
	mov	dword [ebp+-12],eax
	fild	dword [ebp+-12]
	sub	esp,4
	fstp	dword [esp]
	mov	eax,dword [ebx+8]
	mov	eax,dword [eax+40]
	mov	dword [ebp+-12],eax
	fild	dword [ebp+-12]
	sub	esp,4
	fstp	dword [esp]
	mov	eax,dword [ebx+8]
	mov	eax,dword [eax+36]
	mov	dword [ebp+-12],eax
	fild	dword [ebp+-12]
	sub	esp,4
	fstp	dword [esp]
	mov	eax,dword [ebx+8]
	push	dword [eax+52]
	call	_sidesign_minib3d_EntityColor
	add	esp,16
	mov	eax,dword [ebx+8]
	push	dword [eax+48]
	mov	eax,dword [ebx+8]
	push	dword [eax+52]
	call	_sidesign_minib3d_EntityAlpha
	add	esp,8
	push	0
	mov	eax,dword [ebx+8]
	push	dword [eax+32]
	mov	eax,dword [ebx+8]
	push	dword [eax+32]
	mov	eax,dword [ebx+8]
	fld	dword [eax+32]
	fdiv	dword [_4440]
	sub	esp,4
	fstp	dword [esp]
	mov	eax,dword [ebx+8]
	push	dword [eax+52]
	call	_sidesign_minib3d_ScaleEntity
	add	esp,20
	push	_bbNullObject
	push	dword [_bb_Model]
	mov	eax,dword [ebx+8]
	push	dword [eax+16]
	mov	eax,dword [ebx+8]
	push	dword [eax+12]
	mov	eax,dword [ebx+8]
	push	dword [eax+8]
	call	_sidesign_minib3d_TFormPoint
	add	esp,20
	mov	esi,dword [ebx+8]
	call	_sidesign_minib3d_TFormedX
	fstp	dword [esi+84]
	mov	esi,dword [ebx+8]
	call	_sidesign_minib3d_TFormedY
	fstp	dword [esi+88]
	mov	esi,dword [ebx+8]
	call	_sidesign_minib3d_TFormedZ
	fstp	dword [esi+92]
	mov	esi,dword [ebx+8]
	push	1
	push	dword [_bb_GunTarget]
	call	_sidesign_minib3d_EntityX
	add	esp,8
	fstp	dword [esi+72]
	mov	esi,dword [ebx+8]
	push	1
	push	dword [_bb_GunTarget]
	call	_sidesign_minib3d_EntityY
	add	esp,8
	fstp	dword [esi+76]
	mov	esi,dword [ebx+8]
	push	1
	push	dword [_bb_GunTarget]
	call	_sidesign_minib3d_EntityZ
	add	esp,8
	fstp	dword [esi+80]
	push	0
	mov	eax,dword [ebx+8]
	push	dword [eax+92]
	mov	eax,dword [ebx+8]
	push	dword [eax+88]
	mov	eax,dword [ebx+8]
	push	dword [eax+84]
	mov	eax,dword [ebx+8]
	push	dword [eax+52]
	call	_sidesign_minib3d_PositionEntity
	add	esp,20
	push	1119092736
	push	0
	push	1119092736
	mov	eax,dword [ebx+8]
	push	dword [eax+52]
	call	_sidesign_minib3d_RotateMesh
	add	esp,16
	mov	eax,dword [ebx+8]
	push	dword [eax+52]
	call	_sidesign_minib3d_HideEntity
	add	esp,4
	mov	esi,dword [ebx+8]
	push	1
	push	dword [_bb_Model]
	call	_sidesign_minib3d_EntityPitch
	add	esp,8
	fstp	dword [esi+96]
	mov	esi,dword [ebx+8]
	push	1
	push	dword [_bb_Model]
	call	_sidesign_minib3d_EntityYaw
	add	esp,8
	fstp	dword [esi+100]
	mov	esi,dword [ebx+8]
	push	1
	push	dword [_bb_Model]
	call	_sidesign_minib3d_EntityRoll
	add	esp,8
	fstp	dword [esi+104]
	mov	esi,dword [ebx+8]
	mov	eax,dword [ebx+8]
	push	dword [eax+80]
	mov	eax,dword [ebx+8]
	push	dword [eax+76]
	mov	eax,dword [ebx+8]
	push	dword [eax+72]
	mov	eax,dword [ebx+8]
	push	dword [eax+92]
	mov	eax,dword [ebx+8]
	push	dword [eax+88]
	mov	eax,dword [ebx+8]
	push	dword [eax+84]
	call	_bb_Distance3D
	add	esp,24
	fstp	dword [esi+60]
_2556:
_194:
	mov	eax,dword [ebp-8]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+48]
	add	esp,4
	cmp	eax,0
	jne	_196
_195:
	mov	eax,0
	jmp	_1310
_1310:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_TPlanet_New:
	push	ebp
	mov	ebp,esp
	push	ebx
	mov	ebx,dword [ebp+8]
	push	ebx
	call	_bbObjectCtor
	add	esp,4
	mov	dword [ebx],_bb_TPlanet
	mov	dword [ebx+8],10
	mov	dword [ebx+12],512
	mov	eax,_bbEmptyString
	inc	dword [eax+4]
	mov	dword [ebx+16],eax
	mov	eax,_bbEmptyString
	inc	dword [eax+4]
	mov	dword [ebx+20],eax
	mov	eax,_bbEmptyString
	inc	dword [eax+4]
	mov	dword [ebx+24],eax
	mov	eax,_bbEmptyString
	inc	dword [eax+4]
	mov	dword [ebx+28],eax
	mov	eax,_bbEmptyString
	inc	dword [eax+4]
	mov	dword [ebx+32],eax
	mov	eax,_bbEmptyString
	inc	dword [eax+4]
	mov	dword [ebx+36],eax
	mov	eax,_bbEmptyString
	inc	dword [eax+4]
	mov	dword [ebx+40],eax
	mov	eax,_bbEmptyString
	inc	dword [eax+4]
	mov	dword [ebx+44],eax
	mov	eax,_bbEmptyString
	inc	dword [eax+4]
	mov	dword [ebx+48],eax
	mov	eax,_bbEmptyString
	inc	dword [eax+4]
	mov	dword [ebx+52],eax
	mov	eax,_bbEmptyString
	inc	dword [eax+4]
	mov	dword [ebx+56],eax
	mov	eax,_bbEmptyString
	inc	dword [eax+4]
	mov	dword [ebx+60],eax
	mov	eax,_bbEmptyString
	inc	dword [eax+4]
	mov	dword [ebx+64],eax
	mov	eax,_bbEmptyString
	inc	dword [eax+4]
	mov	dword [ebx+68],eax
	mov	dword [ebx+72],0
	fldz
	fstp	dword [ebx+76]
	mov	dword [ebx+80],0
	mov	dword [ebx+84],0
	mov	dword [ebx+88],0
	mov	dword [ebx+92],0
	mov	dword [ebx+96],0
	mov	dword [ebx+100],0
	mov	dword [ebx+104],0
	mov	dword [ebx+108],0
	mov	dword [ebx+112],0
	fldz
	fstp	dword [ebx+116]
	mov	dword [ebx+120],0
	mov	dword [ebx+124],0
	fldz
	fstp	dword [ebx+128]
	mov	dword [ebx+132],0
	mov	dword [ebx+136],0
	mov	dword [ebx+140],0
	fldz
	fstp	dword [ebx+144]
	fldz
	fstp	dword [ebx+148]
	mov	eax,_bbEmptyString
	inc	dword [eax+4]
	mov	dword [ebx+152],eax
	fldz
	fstp	dword [ebx+156]
	fldz
	fstp	dword [ebx+160]
	fldz
	fstp	dword [ebx+164]
	fldz
	fstp	dword [ebx+168]
	fldz
	fstp	dword [ebx+172]
	fldz
	fstp	dword [ebx+176]
	fldz
	fstp	dword [ebx+180]
	fldz
	fstp	dword [ebx+184]
	fldz
	fstp	dword [ebx+188]
	fldz
	fstp	dword [ebx+192]
	fldz
	fstp	dword [ebx+196]
	mov	dword [ebx+200],0
	mov	eax,_bbEmptyArray
	inc	dword [eax+4]
	mov	dword [ebx+204],eax
	mov	eax,_bbEmptyArray
	inc	dword [eax+4]
	mov	dword [ebx+208],eax
	mov	eax,_bbEmptyArray
	inc	dword [eax+4]
	mov	dword [ebx+212],eax
	mov	eax,_bbEmptyArray
	inc	dword [eax+4]
	mov	dword [ebx+216],eax
	mov	eax,_bbEmptyArray
	inc	dword [eax+4]
	mov	dword [ebx+220],eax
	mov	eax,_bbEmptyArray
	inc	dword [eax+4]
	mov	dword [ebx+224],eax
	push	257
	push	_2590
	call	_bbArrayNew1D
	add	esp,8
	inc	dword [eax+4]
	mov	dword [ebx+228],eax
	push	257
	push	_2592
	call	_bbArrayNew1D
	add	esp,8
	inc	dword [eax+4]
	mov	dword [ebx+232],eax
	push	257
	push	_2594
	call	_bbArrayNew1D
	add	esp,8
	inc	dword [eax+4]
	mov	dword [ebx+236],eax
	push	257
	push	_2596
	call	_bbArrayNew1D
	add	esp,8
	inc	dword [eax+4]
	mov	dword [ebx+240],eax
	push	257
	push	_2598
	call	_bbArrayNew1D
	add	esp,8
	inc	dword [eax+4]
	mov	dword [ebx+244],eax
	push	257
	push	_2600
	call	_bbArrayNew1D
	add	esp,8
	inc	dword [eax+4]
	mov	dword [ebx+248],eax
	push	257
	push	_2602
	call	_bbArrayNew1D
	add	esp,8
	inc	dword [eax+4]
	mov	dword [ebx+252],eax
	push	257
	push	_2604
	call	_bbArrayNew1D
	add	esp,8
	inc	dword [eax+4]
	mov	dword [ebx+256],eax
	push	257
	push	_2606
	call	_bbArrayNew1D
	add	esp,8
	inc	dword [eax+4]
	mov	dword [ebx+260],eax
	mov	eax,_bbEmptyString
	inc	dword [eax+4]
	mov	dword [ebx+264],eax
	mov	dword [ebx+268],0
	mov	eax,_bbNullObject
	inc	dword [eax+4]
	mov	dword [ebx+272],eax
	mov	eax,_bbNullObject
	inc	dword [eax+4]
	mov	dword [ebx+276],eax
	mov	eax,_bbNullObject
	inc	dword [eax+4]
	mov	dword [ebx+280],eax
	mov	eax,_bbNullObject
	inc	dword [eax+4]
	mov	dword [ebx+284],eax
	mov	eax,_bbNullObject
	inc	dword [eax+4]
	mov	dword [ebx+288],eax
	mov	eax,_bbNullObject
	inc	dword [eax+4]
	mov	dword [ebx+292],eax
	mov	eax,_bbNullObject
	inc	dword [eax+4]
	mov	dword [ebx+296],eax
	mov	eax,_bbNullObject
	inc	dword [eax+4]
	mov	dword [ebx+300],eax
	mov	eax,_bbNullObject
	inc	dword [eax+4]
	mov	dword [ebx+304],eax
	mov	eax,_bbNullObject
	inc	dword [eax+4]
	mov	dword [ebx+308],eax
	mov	eax,_bbNullObject
	inc	dword [eax+4]
	mov	dword [ebx+312],eax
	mov	eax,_bbNullObject
	inc	dword [eax+4]
	mov	dword [ebx+316],eax
	mov	eax,_bbNullObject
	inc	dword [eax+4]
	mov	dword [ebx+320],eax
	mov	eax,_bbNullObject
	inc	dword [eax+4]
	mov	dword [ebx+324],eax
	mov	eax,_bbNullObject
	inc	dword [eax+4]
	mov	dword [ebx+328],eax
	mov	eax,_bbNullObject
	inc	dword [eax+4]
	mov	dword [ebx+332],eax
	mov	eax,_bbNullObject
	inc	dword [eax+4]
	mov	dword [ebx+336],eax
	mov	eax,_bbNullObject
	inc	dword [eax+4]
	mov	dword [ebx+340],eax
	mov	eax,_bbNullObject
	inc	dword [eax+4]
	mov	dword [ebx+344],eax
	mov	eax,_bbNullObject
	inc	dword [eax+4]
	mov	dword [ebx+348],eax
	mov	eax,_bbNullObject
	inc	dword [eax+4]
	mov	dword [ebx+352],eax
	mov	eax,_bbNullObject
	inc	dword [eax+4]
	mov	dword [ebx+356],eax
	mov	eax,_bbNullObject
	inc	dword [eax+4]
	mov	dword [ebx+360],eax
	mov	eax,_bbNullObject
	inc	dword [eax+4]
	mov	dword [ebx+364],eax
	mov	eax,_bbNullObject
	inc	dword [eax+4]
	mov	dword [ebx+368],eax
	mov	eax,_bbNullObject
	inc	dword [eax+4]
	mov	dword [ebx+372],eax
	mov	eax,_bbNullObject
	inc	dword [eax+4]
	mov	dword [ebx+376],eax
	mov	eax,_bbNullObject
	inc	dword [eax+4]
	mov	dword [ebx+380],eax
	mov	eax,_bbNullObject
	inc	dword [eax+4]
	mov	dword [ebx+384],eax
	mov	eax,_bbNullObject
	inc	dword [eax+4]
	mov	dword [ebx+388],eax
	mov	eax,_bbNullObject
	inc	dword [eax+4]
	mov	dword [ebx+392],eax
	mov	eax,_bbNullObject
	inc	dword [eax+4]
	mov	dword [ebx+396],eax
	mov	eax,_bbNullObject
	inc	dword [eax+4]
	mov	dword [ebx+400],eax
	mov	eax,0
	jmp	_1313
_1313:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_TPlanet_Delete:
	push	ebp
	mov	ebp,esp
	push	ebx
	mov	ebx,dword [ebp+8]
_1316:
	mov	eax,dword [ebx+400]
	dec	dword [eax+4]
	jnz	_2644
	push	eax
	call	_bbGCFree
	add	esp,4
_2644:
	mov	eax,dword [ebx+396]
	dec	dword [eax+4]
	jnz	_2646
	push	eax
	call	_bbGCFree
	add	esp,4
_2646:
	mov	eax,dword [ebx+392]
	dec	dword [eax+4]
	jnz	_2648
	push	eax
	call	_bbGCFree
	add	esp,4
_2648:
	mov	eax,dword [ebx+388]
	dec	dword [eax+4]
	jnz	_2650
	push	eax
	call	_bbGCFree
	add	esp,4
_2650:
	mov	eax,dword [ebx+384]
	dec	dword [eax+4]
	jnz	_2652
	push	eax
	call	_bbGCFree
	add	esp,4
_2652:
	mov	eax,dword [ebx+380]
	dec	dword [eax+4]
	jnz	_2654
	push	eax
	call	_bbGCFree
	add	esp,4
_2654:
	mov	eax,dword [ebx+376]
	dec	dword [eax+4]
	jnz	_2656
	push	eax
	call	_bbGCFree
	add	esp,4
_2656:
	mov	eax,dword [ebx+372]
	dec	dword [eax+4]
	jnz	_2658
	push	eax
	call	_bbGCFree
	add	esp,4
_2658:
	mov	eax,dword [ebx+368]
	dec	dword [eax+4]
	jnz	_2660
	push	eax
	call	_bbGCFree
	add	esp,4
_2660:
	mov	eax,dword [ebx+364]
	dec	dword [eax+4]
	jnz	_2662
	push	eax
	call	_bbGCFree
	add	esp,4
_2662:
	mov	eax,dword [ebx+360]
	dec	dword [eax+4]
	jnz	_2664
	push	eax
	call	_bbGCFree
	add	esp,4
_2664:
	mov	eax,dword [ebx+356]
	dec	dword [eax+4]
	jnz	_2666
	push	eax
	call	_bbGCFree
	add	esp,4
_2666:
	mov	eax,dword [ebx+352]
	dec	dword [eax+4]
	jnz	_2668
	push	eax
	call	_bbGCFree
	add	esp,4
_2668:
	mov	eax,dword [ebx+348]
	dec	dword [eax+4]
	jnz	_2670
	push	eax
	call	_bbGCFree
	add	esp,4
_2670:
	mov	eax,dword [ebx+344]
	dec	dword [eax+4]
	jnz	_2672
	push	eax
	call	_bbGCFree
	add	esp,4
_2672:
	mov	eax,dword [ebx+340]
	dec	dword [eax+4]
	jnz	_2674
	push	eax
	call	_bbGCFree
	add	esp,4
_2674:
	mov	eax,dword [ebx+336]
	dec	dword [eax+4]
	jnz	_2676
	push	eax
	call	_bbGCFree
	add	esp,4
_2676:
	mov	eax,dword [ebx+332]
	dec	dword [eax+4]
	jnz	_2678
	push	eax
	call	_bbGCFree
	add	esp,4
_2678:
	mov	eax,dword [ebx+328]
	dec	dword [eax+4]
	jnz	_2680
	push	eax
	call	_bbGCFree
	add	esp,4
_2680:
	mov	eax,dword [ebx+324]
	dec	dword [eax+4]
	jnz	_2682
	push	eax
	call	_bbGCFree
	add	esp,4
_2682:
	mov	eax,dword [ebx+320]
	dec	dword [eax+4]
	jnz	_2684
	push	eax
	call	_bbGCFree
	add	esp,4
_2684:
	mov	eax,dword [ebx+316]
	dec	dword [eax+4]
	jnz	_2686
	push	eax
	call	_bbGCFree
	add	esp,4
_2686:
	mov	eax,dword [ebx+312]
	dec	dword [eax+4]
	jnz	_2688
	push	eax
	call	_bbGCFree
	add	esp,4
_2688:
	mov	eax,dword [ebx+308]
	dec	dword [eax+4]
	jnz	_2690
	push	eax
	call	_bbGCFree
	add	esp,4
_2690:
	mov	eax,dword [ebx+304]
	dec	dword [eax+4]
	jnz	_2692
	push	eax
	call	_bbGCFree
	add	esp,4
_2692:
	mov	eax,dword [ebx+300]
	dec	dword [eax+4]
	jnz	_2694
	push	eax
	call	_bbGCFree
	add	esp,4
_2694:
	mov	eax,dword [ebx+296]
	dec	dword [eax+4]
	jnz	_2696
	push	eax
	call	_bbGCFree
	add	esp,4
_2696:
	mov	eax,dword [ebx+292]
	dec	dword [eax+4]
	jnz	_2698
	push	eax
	call	_bbGCFree
	add	esp,4
_2698:
	mov	eax,dword [ebx+288]
	dec	dword [eax+4]
	jnz	_2700
	push	eax
	call	_bbGCFree
	add	esp,4
_2700:
	mov	eax,dword [ebx+284]
	dec	dword [eax+4]
	jnz	_2702
	push	eax
	call	_bbGCFree
	add	esp,4
_2702:
	mov	eax,dword [ebx+280]
	dec	dword [eax+4]
	jnz	_2704
	push	eax
	call	_bbGCFree
	add	esp,4
_2704:
	mov	eax,dword [ebx+276]
	dec	dword [eax+4]
	jnz	_2706
	push	eax
	call	_bbGCFree
	add	esp,4
_2706:
	mov	eax,dword [ebx+272]
	dec	dword [eax+4]
	jnz	_2708
	push	eax
	call	_bbGCFree
	add	esp,4
_2708:
	mov	eax,dword [ebx+264]
	dec	dword [eax+4]
	jnz	_2710
	push	eax
	call	_bbGCFree
	add	esp,4
_2710:
	mov	eax,dword [ebx+260]
	dec	dword [eax+4]
	jnz	_2712
	push	eax
	call	_bbGCFree
	add	esp,4
_2712:
	mov	eax,dword [ebx+256]
	dec	dword [eax+4]
	jnz	_2714
	push	eax
	call	_bbGCFree
	add	esp,4
_2714:
	mov	eax,dword [ebx+252]
	dec	dword [eax+4]
	jnz	_2716
	push	eax
	call	_bbGCFree
	add	esp,4
_2716:
	mov	eax,dword [ebx+248]
	dec	dword [eax+4]
	jnz	_2718
	push	eax
	call	_bbGCFree
	add	esp,4
_2718:
	mov	eax,dword [ebx+244]
	dec	dword [eax+4]
	jnz	_2720
	push	eax
	call	_bbGCFree
	add	esp,4
_2720:
	mov	eax,dword [ebx+240]
	dec	dword [eax+4]
	jnz	_2722
	push	eax
	call	_bbGCFree
	add	esp,4
_2722:
	mov	eax,dword [ebx+236]
	dec	dword [eax+4]
	jnz	_2724
	push	eax
	call	_bbGCFree
	add	esp,4
_2724:
	mov	eax,dword [ebx+232]
	dec	dword [eax+4]
	jnz	_2726
	push	eax
	call	_bbGCFree
	add	esp,4
_2726:
	mov	eax,dword [ebx+228]
	dec	dword [eax+4]
	jnz	_2728
	push	eax
	call	_bbGCFree
	add	esp,4
_2728:
	mov	eax,dword [ebx+224]
	dec	dword [eax+4]
	jnz	_2730
	push	eax
	call	_bbGCFree
	add	esp,4
_2730:
	mov	eax,dword [ebx+220]
	dec	dword [eax+4]
	jnz	_2732
	push	eax
	call	_bbGCFree
	add	esp,4
_2732:
	mov	eax,dword [ebx+216]
	dec	dword [eax+4]
	jnz	_2734
	push	eax
	call	_bbGCFree
	add	esp,4
_2734:
	mov	eax,dword [ebx+212]
	dec	dword [eax+4]
	jnz	_2736
	push	eax
	call	_bbGCFree
	add	esp,4
_2736:
	mov	eax,dword [ebx+208]
	dec	dword [eax+4]
	jnz	_2738
	push	eax
	call	_bbGCFree
	add	esp,4
_2738:
	mov	eax,dword [ebx+204]
	dec	dword [eax+4]
	jnz	_2740
	push	eax
	call	_bbGCFree
	add	esp,4
_2740:
	mov	eax,dword [ebx+152]
	dec	dword [eax+4]
	jnz	_2742
	push	eax
	call	_bbGCFree
	add	esp,4
_2742:
	mov	eax,dword [ebx+68]
	dec	dword [eax+4]
	jnz	_2744
	push	eax
	call	_bbGCFree
	add	esp,4
_2744:
	mov	eax,dword [ebx+64]
	dec	dword [eax+4]
	jnz	_2746
	push	eax
	call	_bbGCFree
	add	esp,4
_2746:
	mov	eax,dword [ebx+60]
	dec	dword [eax+4]
	jnz	_2748
	push	eax
	call	_bbGCFree
	add	esp,4
_2748:
	mov	eax,dword [ebx+56]
	dec	dword [eax+4]
	jnz	_2750
	push	eax
	call	_bbGCFree
	add	esp,4
_2750:
	mov	eax,dword [ebx+52]
	dec	dword [eax+4]
	jnz	_2752
	push	eax
	call	_bbGCFree
	add	esp,4
_2752:
	mov	eax,dword [ebx+48]
	dec	dword [eax+4]
	jnz	_2754
	push	eax
	call	_bbGCFree
	add	esp,4
_2754:
	mov	eax,dword [ebx+44]
	dec	dword [eax+4]
	jnz	_2756
	push	eax
	call	_bbGCFree
	add	esp,4
_2756:
	mov	eax,dword [ebx+40]
	dec	dword [eax+4]
	jnz	_2758
	push	eax
	call	_bbGCFree
	add	esp,4
_2758:
	mov	eax,dword [ebx+36]
	dec	dword [eax+4]
	jnz	_2760
	push	eax
	call	_bbGCFree
	add	esp,4
_2760:
	mov	eax,dword [ebx+32]
	dec	dword [eax+4]
	jnz	_2762
	push	eax
	call	_bbGCFree
	add	esp,4
_2762:
	mov	eax,dword [ebx+28]
	dec	dword [eax+4]
	jnz	_2764
	push	eax
	call	_bbGCFree
	add	esp,4
_2764:
	mov	eax,dword [ebx+24]
	dec	dword [eax+4]
	jnz	_2766
	push	eax
	call	_bbGCFree
	add	esp,4
_2766:
	mov	eax,dword [ebx+20]
	dec	dword [eax+4]
	jnz	_2768
	push	eax
	call	_bbGCFree
	add	esp,4
_2768:
	mov	eax,dword [ebx+16]
	dec	dword [eax+4]
	jnz	_2770
	push	eax
	call	_bbGCFree
	add	esp,4
_2770:
	mov	eax,0
	jmp	_2642
_2642:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_TPlanet_LoadPreset:
	push	ebp
	mov	ebp,esp
	sub	esp,4
	push	ebx
	push	esi
	push	edi
	mov	ebx,dword [ebp+8]
	mov	edi,dword [ebp+12]
	call	_bbMilliSecs
	mov	dword [_bb_start],eax
	push	_200
	call	_bb_LoadINI
	add	esp,4
	mov	dword [ebp-4],eax
	mov	eax,edi
	inc	dword [eax+4]
	mov	esi,eax
	mov	eax,dword [ebx+16]
	dec	dword [eax+4]
	jnz	_2775
	push	eax
	call	_bbGCFree
	add	esp,4
_2775:
	mov	dword [ebx+16],esi
	push	dword [ebp-4]
	push	_202
	push	_201
	push	edi
	call	_bb_GetINI
	add	esp,16
	inc	dword [eax+4]
	mov	esi,eax
	mov	eax,dword [ebx+20]
	dec	dword [eax+4]
	jnz	_2779
	push	eax
	call	_bbGCFree
	add	esp,4
_2779:
	mov	dword [ebx+20],esi
	push	dword [ebp-4]
	push	_204
	push	_203
	push	edi
	call	_bb_GetINI
	add	esp,16
	inc	dword [eax+4]
	mov	esi,eax
	mov	eax,dword [ebx+24]
	dec	dword [eax+4]
	jnz	_2783
	push	eax
	call	_bbGCFree
	add	esp,4
_2783:
	mov	dword [ebx+24],esi
	push	dword [ebp-4]
	push	_2784
	push	_205
	push	edi
	call	_bb_GetINI
	add	esp,16
	inc	dword [eax+4]
	mov	esi,eax
	mov	eax,dword [ebx+28]
	dec	dword [eax+4]
	jnz	_2788
	push	eax
	call	_bbGCFree
	add	esp,4
_2788:
	mov	dword [ebx+28],esi
	push	dword [ebp-4]
	push	_2789
	push	_206
	push	edi
	call	_bb_GetINI
	add	esp,16
	inc	dword [eax+4]
	mov	esi,eax
	mov	eax,dword [ebx+32]
	dec	dword [eax+4]
	jnz	_2793
	push	eax
	call	_bbGCFree
	add	esp,4
_2793:
	mov	dword [ebx+32],esi
	push	dword [ebp-4]
	push	_208
	push	_207
	push	edi
	call	_bb_GetINI
	add	esp,16
	inc	dword [eax+4]
	mov	esi,eax
	mov	eax,dword [ebx+36]
	dec	dword [eax+4]
	jnz	_2797
	push	eax
	call	_bbGCFree
	add	esp,4
_2797:
	mov	dword [ebx+36],esi
	push	dword [ebp-4]
	push	_208
	push	_209
	push	edi
	call	_bb_GetINI
	add	esp,16
	inc	dword [eax+4]
	mov	esi,eax
	mov	eax,dword [ebx+40]
	dec	dword [eax+4]
	jnz	_2801
	push	eax
	call	_bbGCFree
	add	esp,4
_2801:
	mov	dword [ebx+40],esi
	push	dword [ebp-4]
	push	_211
	push	_210
	push	edi
	call	_bb_GetINI
	add	esp,16
	inc	dword [eax+4]
	mov	esi,eax
	mov	eax,dword [ebx+44]
	dec	dword [eax+4]
	jnz	_2805
	push	eax
	call	_bbGCFree
	add	esp,4
_2805:
	mov	dword [ebx+44],esi
	push	dword [ebp-4]
	push	_213
	push	_212
	push	edi
	call	_bb_GetINI
	add	esp,16
	inc	dword [eax+4]
	mov	esi,eax
	mov	eax,dword [ebx+48]
	dec	dword [eax+4]
	jnz	_2809
	push	eax
	call	_bbGCFree
	add	esp,4
_2809:
	mov	dword [ebx+48],esi
	push	dword [ebp-4]
	push	_213
	push	_214
	push	edi
	call	_bb_GetINI
	add	esp,16
	inc	dword [eax+4]
	mov	esi,eax
	mov	eax,dword [ebx+52]
	dec	dword [eax+4]
	jnz	_2813
	push	eax
	call	_bbGCFree
	add	esp,4
_2813:
	mov	dword [ebx+52],esi
	push	dword [ebp-4]
	push	_216
	push	_215
	push	edi
	call	_bb_GetINI
	add	esp,16
	inc	dword [eax+4]
	mov	esi,eax
	mov	eax,dword [ebx+56]
	dec	dword [eax+4]
	jnz	_2817
	push	eax
	call	_bbGCFree
	add	esp,4
_2817:
	mov	dword [ebx+56],esi
	push	dword [ebp-4]
	push	_218
	push	_217
	push	edi
	call	_bb_GetINI
	add	esp,16
	inc	dword [eax+4]
	mov	esi,eax
	mov	eax,dword [ebx+60]
	dec	dword [eax+4]
	jnz	_2821
	push	eax
	call	_bbGCFree
	add	esp,4
_2821:
	mov	dword [ebx+60],esi
	push	dword [ebp-4]
	push	_220
	push	_219
	push	edi
	call	_bb_GetINI
	add	esp,16
	inc	dword [eax+4]
	mov	esi,eax
	mov	eax,dword [ebx+64]
	dec	dword [eax+4]
	jnz	_2825
	push	eax
	call	_bbGCFree
	add	esp,4
_2825:
	mov	dword [ebx+64],esi
	push	dword [ebp-4]
	push	_222
	push	_221
	push	edi
	call	_bb_GetINI
	add	esp,16
	inc	dword [eax+4]
	mov	esi,eax
	mov	eax,dword [ebx+68]
	dec	dword [eax+4]
	jnz	_2829
	push	eax
	call	_bbGCFree
	add	esp,4
_2829:
	mov	dword [ebx+68],esi
	push	dword [ebp-4]
	push	_2830
	push	_223
	push	edi
	call	_bb_GetINI
	add	esp,16
	push	eax
	call	_bbStringToInt
	add	esp,4
	mov	dword [ebx+72],eax
	push	dword [ebp-4]
	push	_2831
	push	_224
	push	edi
	call	_bb_GetINI
	add	esp,16
	push	eax
	call	_bbStringToFloat
	add	esp,4
	fstp	dword [ebx+76]
	push	dword [ebp-4]
	push	_2832
	push	_225
	push	edi
	call	_bb_GetINI
	add	esp,16
	push	eax
	call	_bbStringToInt
	add	esp,4
	mov	dword [ebx+80],eax
	push	dword [ebp-4]
	push	_2833
	push	_226
	push	edi
	call	_bb_GetINI
	add	esp,16
	push	eax
	call	_bbStringToInt
	add	esp,4
	mov	dword [ebx+84],eax
	push	dword [ebp-4]
	push	_37
	push	_227
	push	edi
	call	_bb_GetINI
	add	esp,16
	push	eax
	call	_bbStringToInt
	add	esp,4
	mov	dword [ebx+88],eax
	push	dword [ebp-4]
	push	_2834
	push	_228
	push	edi
	call	_bb_GetINI
	add	esp,16
	push	eax
	call	_bbStringToInt
	add	esp,4
	mov	dword [ebx+92],eax
	push	dword [ebp-4]
	push	_2835
	push	_229
	push	edi
	call	_bb_GetINI
	add	esp,16
	push	eax
	call	_bbStringToInt
	add	esp,4
	mov	dword [ebx+96],eax
	push	dword [ebp-4]
	push	_37
	push	_230
	push	edi
	call	_bb_GetINI
	add	esp,16
	push	eax
	call	_bbStringToInt
	add	esp,4
	mov	dword [ebx+100],eax
	push	dword [ebp-4]
	push	_37
	push	_231
	push	edi
	call	_bb_GetINI
	add	esp,16
	push	eax
	call	_bbStringToInt
	add	esp,4
	mov	dword [ebx+104],eax
	push	dword [ebp-4]
	push	_37
	push	_232
	push	edi
	call	_bb_GetINI
	add	esp,16
	push	eax
	call	_bbStringToInt
	add	esp,4
	mov	dword [ebx+108],eax
	push	dword [ebp-4]
	push	_37
	push	_233
	push	edi
	call	_bb_GetINI
	add	esp,16
	push	eax
	call	_bbStringToInt
	add	esp,4
	mov	dword [ebx+112],eax
	push	dword [ebp-4]
	push	_2836
	push	_234
	push	edi
	call	_bb_GetINI
	add	esp,16
	push	eax
	call	_bbStringToFloat
	add	esp,4
	fstp	dword [ebx+116]
	push	dword [ebp-4]
	push	_2834
	push	_235
	push	edi
	call	_bb_GetINI
	add	esp,16
	push	eax
	call	_bbStringToInt
	add	esp,4
	mov	dword [ebx+120],eax
	push	dword [ebp-4]
	push	_2837
	push	_236
	push	edi
	call	_bb_GetINI
	add	esp,16
	push	eax
	call	_bbStringToInt
	add	esp,4
	mov	dword [ebx+124],eax
	push	dword [ebp-4]
	push	_2838
	push	_237
	push	edi
	call	_bb_GetINI
	add	esp,16
	push	eax
	call	_bbStringToFloat
	add	esp,4
	fstp	dword [ebx+128]
	push	dword [ebp-4]
	push	_2839
	push	_238
	push	edi
	call	_bb_GetINI
	add	esp,16
	push	eax
	call	_bbStringToInt
	add	esp,4
	mov	dword [ebx+132],eax
	push	dword [ebp-4]
	push	_37
	push	_239
	push	edi
	call	_bb_GetINI
	add	esp,16
	push	eax
	call	_bbStringToInt
	add	esp,4
	mov	dword [ebx+136],eax
	push	dword [ebp-4]
	push	_2840
	push	_240
	push	edi
	call	_bb_GetINI
	add	esp,16
	push	eax
	call	_bbStringToInt
	add	esp,4
	mov	dword [ebx+140],eax
	push	dword [ebp-4]
	push	_2841
	push	_241
	push	edi
	call	_bb_GetINI
	add	esp,16
	push	eax
	call	_bbStringToFloat
	add	esp,4
	fstp	dword [ebx+144]
	push	dword [ebp-4]
	push	_2842
	push	_242
	push	edi
	call	_bb_GetINI
	add	esp,16
	push	eax
	call	_bbStringToFloat
	add	esp,4
	fstp	dword [ebx+148]
	push	dword [ebp-4]
	push	_2836
	push	_243
	push	edi
	call	_bb_GetINI
	add	esp,16
	push	eax
	call	_bbStringToFloat
	add	esp,4
	fstp	dword [ebx+164]
	push	dword [ebp-4]
	push	_2836
	push	_244
	push	edi
	call	_bb_GetINI
	add	esp,16
	push	eax
	call	_bbStringToFloat
	add	esp,4
	fstp	dword [ebx+168]
	push	dword [ebp-4]
	push	_2843
	push	_245
	push	edi
	call	_bb_GetINI
	add	esp,16
	push	eax
	call	_bbStringToFloat
	add	esp,4
	fstp	dword [ebx+172]
	push	dword [ebp-4]
	push	_2844
	push	_246
	push	edi
	call	_bb_GetINI
	add	esp,16
	push	eax
	call	_bbStringToFloat
	add	esp,4
	fstp	dword [ebx+176]
	push	dword [ebp-4]
	push	_2841
	push	_247
	push	edi
	call	_bb_GetINI
	add	esp,16
	push	eax
	call	_bbStringToFloat
	add	esp,4
	fstp	dword [ebx+180]
	push	dword [ebp-4]
	push	_2841
	push	_248
	push	edi
	call	_bb_GetINI
	add	esp,16
	push	eax
	call	_bbStringToFloat
	add	esp,4
	fstp	dword [ebx+184]
	push	dword [ebp-4]
	push	_2845
	push	_249
	push	edi
	call	_bb_GetINI
	add	esp,16
	push	eax
	call	_bbStringToFloat
	add	esp,4
	fstp	dword [ebx+188]
	push	dword [ebp-4]
	push	_2845
	push	_250
	push	edi
	call	_bb_GetINI
	add	esp,16
	push	eax
	call	_bbStringToFloat
	add	esp,4
	fstp	dword [ebx+192]
	push	dword [ebp-4]
	push	_2846
	push	_251
	push	edi
	call	_bb_GetINI
	add	esp,16
	push	eax
	call	_bbStringToFloat
	add	esp,4
	fstp	dword [ebx+196]
	push	dword [ebp-4]
	push	_2830
	push	_252
	push	edi
	call	_bb_GetINI
	add	esp,16
	push	eax
	call	_bbStringToFloat
	add	esp,4
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatToInt
	add	esp,8
	mov	dword [ebx+200],eax
	push	dword [ebp-4]
	push	_254
	push	_253
	push	edi
	call	_bb_GetINI
	add	esp,16
	inc	dword [eax+4]
	mov	esi,eax
	mov	eax,dword [ebx+152]
	dec	dword [eax+4]
	jnz	_2850
	push	eax
	call	_bbGCFree
	add	esp,4
_2850:
	mov	dword [ebx+152],esi
	push	dword [ebp-4]
	push	_2851
	push	_255
	push	edi
	call	_bb_GetINI
	add	esp,16
	push	eax
	call	_bbStringToFloat
	add	esp,4
	fstp	dword [ebx+156]
	push	dword [ebp-4]
	push	_2841
	push	_256
	push	edi
	call	_bb_GetINI
	add	esp,16
	push	eax
	call	_bbStringToFloat
	add	esp,4
	fstp	dword [ebx+160]
	push	_259
	push	dword [ebp-4]
	push	_258
	push	_257
	push	edi
	call	_bb_GetINI
	add	esp,16
	push	eax
	call	_bb_Split
	add	esp,8
	push	4
	push	_468
	call	_bbArrayNew1D
	add	esp,8
	mov	esi,eax
	mov	eax,dword [_bb_Splitted]
	push	dword [eax+4+24]
	call	_bbStringToInt
	add	esp,4
	mov	dword [esi+24],eax
	mov	eax,dword [_bb_Splitted]
	push	dword [eax+8+24]
	call	_bbStringToInt
	add	esp,4
	mov	dword [esi+28],eax
	mov	eax,dword [_bb_Splitted]
	push	dword [eax+12+24]
	call	_bbStringToInt
	add	esp,4
	mov	dword [esi+32],eax
	mov	eax,dword [_bb_Splitted]
	push	dword [eax+16+24]
	call	_bbStringToInt
	add	esp,4
	mov	dword [esi+36],eax
	mov	eax,esi
	inc	dword [eax+4]
	mov	esi,eax
	mov	eax,dword [ebx+204]
	dec	dword [eax+4]
	jnz	_2856
	push	eax
	call	_bbGCFree
	add	esp,4
_2856:
	mov	dword [ebx+204],esi
	push	_259
	push	dword [ebp-4]
	push	_261
	push	_260
	push	edi
	call	_bb_GetINI
	add	esp,16
	push	eax
	call	_bb_Split
	add	esp,8
	push	4
	push	_468
	call	_bbArrayNew1D
	add	esp,8
	mov	esi,eax
	mov	eax,dword [_bb_Splitted]
	push	dword [eax+4+24]
	call	_bbStringToInt
	add	esp,4
	mov	dword [esi+24],eax
	mov	eax,dword [_bb_Splitted]
	push	dword [eax+8+24]
	call	_bbStringToInt
	add	esp,4
	mov	dword [esi+28],eax
	mov	eax,dword [_bb_Splitted]
	push	dword [eax+12+24]
	call	_bbStringToInt
	add	esp,4
	mov	dword [esi+32],eax
	mov	eax,dword [_bb_Splitted]
	push	dword [eax+16+24]
	call	_bbStringToInt
	add	esp,4
	mov	dword [esi+36],eax
	mov	eax,esi
	inc	dword [eax+4]
	mov	esi,eax
	mov	eax,dword [ebx+208]
	dec	dword [eax+4]
	jnz	_2861
	push	eax
	call	_bbGCFree
	add	esp,4
_2861:
	mov	dword [ebx+208],esi
	push	_259
	push	dword [ebp-4]
	push	_263
	push	_262
	push	edi
	call	_bb_GetINI
	add	esp,16
	push	eax
	call	_bb_Split
	add	esp,8
	push	4
	push	_468
	call	_bbArrayNew1D
	add	esp,8
	mov	esi,eax
	mov	eax,dword [_bb_Splitted]
	push	dword [eax+4+24]
	call	_bbStringToInt
	add	esp,4
	mov	dword [esi+24],eax
	mov	eax,dword [_bb_Splitted]
	push	dword [eax+8+24]
	call	_bbStringToInt
	add	esp,4
	mov	dword [esi+28],eax
	mov	eax,dword [_bb_Splitted]
	push	dword [eax+12+24]
	call	_bbStringToInt
	add	esp,4
	mov	dword [esi+32],eax
	mov	eax,dword [_bb_Splitted]
	push	dword [eax+16+24]
	call	_bbStringToInt
	add	esp,4
	mov	dword [esi+36],eax
	mov	eax,esi
	inc	dword [eax+4]
	mov	esi,eax
	mov	eax,dword [ebx+212]
	dec	dword [eax+4]
	jnz	_2866
	push	eax
	call	_bbGCFree
	add	esp,4
_2866:
	mov	dword [ebx+212],esi
	push	_259
	push	dword [ebp-4]
	push	_265
	push	_264
	push	edi
	call	_bb_GetINI
	add	esp,16
	push	eax
	call	_bb_Split
	add	esp,8
	push	4
	push	_468
	call	_bbArrayNew1D
	add	esp,8
	mov	esi,eax
	mov	eax,dword [_bb_Splitted]
	push	dword [eax+4+24]
	call	_bbStringToInt
	add	esp,4
	mov	dword [esi+24],eax
	mov	eax,dword [_bb_Splitted]
	push	dword [eax+8+24]
	call	_bbStringToInt
	add	esp,4
	mov	dword [esi+28],eax
	mov	eax,dword [_bb_Splitted]
	push	dword [eax+12+24]
	call	_bbStringToInt
	add	esp,4
	mov	dword [esi+32],eax
	mov	eax,dword [_bb_Splitted]
	push	dword [eax+16+24]
	call	_bbStringToInt
	add	esp,4
	mov	dword [esi+36],eax
	mov	eax,esi
	inc	dword [eax+4]
	mov	esi,eax
	mov	eax,dword [ebx+216]
	dec	dword [eax+4]
	jnz	_2871
	push	eax
	call	_bbGCFree
	add	esp,4
_2871:
	mov	dword [ebx+216],esi
	push	_259
	push	dword [ebp-4]
	push	_267
	push	_266
	push	edi
	call	_bb_GetINI
	add	esp,16
	push	eax
	call	_bb_Split
	add	esp,8
	push	4
	push	_468
	call	_bbArrayNew1D
	add	esp,8
	mov	esi,eax
	mov	eax,dword [_bb_Splitted]
	push	dword [eax+4+24]
	call	_bbStringToInt
	add	esp,4
	mov	dword [esi+24],eax
	mov	eax,dword [_bb_Splitted]
	push	dword [eax+8+24]
	call	_bbStringToInt
	add	esp,4
	mov	dword [esi+28],eax
	mov	eax,dword [_bb_Splitted]
	push	dword [eax+12+24]
	call	_bbStringToInt
	add	esp,4
	mov	dword [esi+32],eax
	mov	eax,dword [_bb_Splitted]
	push	dword [eax+16+24]
	call	_bbStringToInt
	add	esp,4
	mov	dword [esi+36],eax
	mov	eax,esi
	inc	dword [eax+4]
	mov	esi,eax
	mov	eax,dword [ebx+220]
	dec	dword [eax+4]
	jnz	_2876
	push	eax
	call	_bbGCFree
	add	esp,4
_2876:
	mov	dword [ebx+220],esi
	push	_259
	push	dword [ebp-4]
	push	_269
	push	_268
	push	edi
	call	_bb_GetINI
	add	esp,16
	push	eax
	call	_bb_Split
	add	esp,8
	push	4
	push	_468
	call	_bbArrayNew1D
	add	esp,8
	mov	esi,eax
	mov	eax,dword [_bb_Splitted]
	push	dword [eax+4+24]
	call	_bbStringToInt
	add	esp,4
	mov	dword [esi+24],eax
	mov	eax,dword [_bb_Splitted]
	push	dword [eax+8+24]
	call	_bbStringToInt
	add	esp,4
	mov	dword [esi+28],eax
	mov	eax,dword [_bb_Splitted]
	push	dword [eax+12+24]
	call	_bbStringToInt
	add	esp,4
	mov	dword [esi+32],eax
	mov	eax,dword [_bb_Splitted]
	push	dword [eax+16+24]
	call	_bbStringToInt
	add	esp,4
	mov	dword [esi+36],eax
	inc	dword [esi+4]
	mov	eax,dword [ebx+224]
	dec	dword [eax+4]
	jnz	_2881
	push	eax
	call	_bbGCFree
	add	esp,4
_2881:
	mov	dword [ebx+224],esi
	cmp	dword [ebx+112],0
	je	_2882
	mov	esi,_16
	inc	dword [esi+4]
	mov	eax,dword [ebx+28]
	dec	dword [eax+4]
	jnz	_2886
	push	eax
	call	_bbGCFree
	add	esp,4
_2886:
	mov	dword [ebx+28],esi
	mov	esi,_16
	inc	dword [esi+4]
	mov	eax,dword [ebx+32]
	dec	dword [eax+4]
	jnz	_2890
	push	eax
	call	_bbGCFree
	add	esp,4
_2890:
	mov	dword [ebx+32],esi
_2882:
	push	1
	push	_271
	push	_2891
	push	dword [ebx+16]
	push	_2892
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bb_PrintTime
	add	esp,8
	cmp	dword [ebp+16],1
	jne	_2893
	mov	eax,ebx
	push	0
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+56]
	add	esp,8
_2893:
	mov	eax,0
	jmp	_1321
_1321:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_TPlanet_Generate:
	push	ebp
	mov	ebp,esp
	push	ebx
	push	esi
	mov	ebx,dword [ebp+8]
	call	_bbMilliSecs
	mov	dword [ebx+268],eax
	call	_bbMilliSecs
	mov	dword [_bb_start],eax
	push	1
	push	_272
	call	_sidesign_minib3d_LoadTexture
	add	esp,8
	inc	dword [eax+4]
	mov	esi,eax
	mov	eax,dword [ebx+340]
	dec	dword [eax+4]
	jnz	_2898
	push	eax
	call	_bbGCFree
	add	esp,4
_2898:
	mov	dword [ebx+340],esi
	push	2
	push	_273
	call	_sidesign_minib3d_LoadTexture
	add	esp,8
	inc	dword [eax+4]
	mov	esi,eax
	mov	eax,dword [ebx+344]
	dec	dword [eax+4]
	jnz	_2902
	push	eax
	call	_bbGCFree
	add	esp,4
_2902:
	mov	dword [ebx+344],esi
	push	255
	push	255
	push	255
	push	255
	push	0
	push	32
	call	_bb_CreateBaseTexture
	add	esp,24
	inc	dword [eax+4]
	mov	esi,eax
	mov	eax,dword [ebx+352]
	dec	dword [eax+4]
	jnz	_2906
	push	eax
	call	_bbGCFree
	add	esp,4
_2906:
	mov	dword [ebx+352],esi
	push	255
	push	255
	push	255
	push	255
	push	0
	push	32
	call	_bb_CreateBaseTexture
	add	esp,24
	inc	dword [eax+4]
	mov	esi,eax
	mov	eax,dword [ebx+364]
	dec	dword [eax+4]
	jnz	_2910
	push	eax
	call	_bbGCFree
	add	esp,4
_2910:
	mov	dword [ebx+364],esi
	push	255
	push	255
	push	255
	push	255
	push	0
	push	32
	call	_bb_CreateBaseTexture
	add	esp,24
	inc	dword [eax+4]
	mov	esi,eax
	mov	eax,dword [ebx+348]
	dec	dword [eax+4]
	jnz	_2914
	push	eax
	call	_bbGCFree
	add	esp,4
_2914:
	mov	dword [ebx+348],esi
	push	255
	push	128
	push	64
	push	32
	push	0
	push	32
	call	_bb_CreateBaseTexture
	add	esp,24
	inc	dword [eax+4]
	mov	esi,eax
	mov	eax,dword [ebx+356]
	dec	dword [eax+4]
	jnz	_2918
	push	eax
	call	_bbGCFree
	add	esp,4
_2918:
	mov	dword [ebx+356],esi
	push	255
	push	255
	push	255
	push	255
	push	0
	push	32
	call	_bb_CreateBaseTexture
	add	esp,24
	inc	dword [eax+4]
	mov	esi,eax
	mov	eax,dword [ebx+360]
	dec	dword [eax+4]
	jnz	_2922
	push	eax
	call	_bbGCFree
	add	esp,4
_2922:
	mov	dword [ebx+360],esi
	push	64
	push	_274
	call	_sidesign_minib3d_LoadTexture
	add	esp,8
	inc	dword [eax+4]
	mov	esi,eax
	mov	eax,dword [ebx+368]
	dec	dword [eax+4]
	jnz	_2926
	push	eax
	call	_bbGCFree
	add	esp,4
_2926:
	mov	dword [ebx+368],esi
	push	1
	push	_275
	call	_bb_PrintTime
	add	esp,8
	call	_bbMilliSecs
	mov	dword [_bb_start],eax
	push	_bbNullObject
	call	_sidesign_minib3d_CreatePivot
	add	esp,4
	inc	dword [eax+4]
	mov	esi,eax
	mov	eax,dword [ebx+300]
	dec	dword [eax+4]
	jnz	_2930
	push	eax
	call	_bbGCFree
	add	esp,4
_2930:
	mov	dword [ebx+300],esi
	push	1065353216
	push	1127481344
	push	-1020002304
	push	1119092736
	push	-1028390912
	push	dword [ebx+300]
	push	dword [ebx+200]
	call	_bb_CreateSpherePart
	add	esp,28
	inc	dword [eax+4]
	mov	esi,eax
	mov	eax,dword [ebx+272]
	dec	dword [eax+4]
	jnz	_2934
	push	eax
	call	_bbGCFree
	add	esp,4
_2934:
	mov	dword [ebx+272],esi
	push	0
	push	0
	push	0
	push	0
	push	dword [ebx+272]
	call	_sidesign_minib3d_PositionEntity
	add	esp,20
	push	2
	push	dword [ebx+272]
	call	_sidesign_minib3d_EntityFX
	add	esp,8
	push	1065353216
	push	1127481344
	push	-1020002304
	push	1119092736
	push	-1028390912
	push	dword [ebx+272]
	push	dword [ebx+200]
	call	_bb_CreateSpherePart
	add	esp,28
	inc	dword [eax+4]
	mov	esi,eax
	mov	eax,dword [ebx+276]
	dec	dword [eax+4]
	jnz	_2938
	push	eax
	call	_bbGCFree
	add	esp,4
_2938:
	mov	dword [ebx+276],esi
	push	0
	push	0
	push	0
	push	0
	push	dword [ebx+276]
	call	_sidesign_minib3d_PositionEntity
	add	esp,20
	push	35
	push	dword [ebx+276]
	call	_sidesign_minib3d_EntityFX
	add	esp,8
	push	1065353216
	push	1127481344
	push	-1020002304
	push	1119092736
	push	-1028390912
	push	dword [ebx+272]
	push	dword [ebx+200]
	call	_bb_CreateSpherePart
	add	esp,28
	inc	dword [eax+4]
	mov	esi,eax
	mov	eax,dword [ebx+280]
	dec	dword [eax+4]
	jnz	_2942
	push	eax
	call	_bbGCFree
	add	esp,4
_2942:
	mov	dword [ebx+280],esi
	push	0
	push	0
	push	0
	push	0
	push	dword [ebx+280]
	call	_sidesign_minib3d_PositionEntity
	add	esp,20
	push	35
	push	dword [ebx+280]
	call	_sidesign_minib3d_EntityFX
	add	esp,8
	push	1065353216
	push	0
	push	0
	push	0
	push	19
	push	0
	push	0
	mov	eax,dword [ebx+200]
	shl	eax,3
	push	eax
	push	dword [ebx+300]
	call	_bb_CreateRing
	add	esp,36
	inc	dword [eax+4]
	mov	esi,eax
	mov	eax,dword [ebx+284]
	dec	dword [eax+4]
	jnz	_2946
	push	eax
	call	_bbGCFree
	add	esp,4
_2946:
	mov	dword [ebx+284],esi
	push	1065395159
	push	1119092736
	push	-1028390912
	push	1119092736
	push	-1028390912
	push	dword [ebx+300]
	push	64
	call	_bb_CreateSpherePart
	add	esp,28
	inc	dword [eax+4]
	mov	esi,eax
	mov	eax,dword [ebx+288]
	dec	dword [eax+4]
	jnz	_2950
	push	eax
	call	_bbGCFree
	add	esp,4
_2950:
	mov	dword [ebx+288],esi
	push	3
	push	dword [ebx+288]
	call	_sidesign_minib3d_EntityBlend
	add	esp,8
	push	0
	push	0
	push	dword [ebx+368]
	push	dword [ebx+288]
	call	_sidesign_minib3d_EntityTexture
	add	esp,16
	push	2
	push	dword [ebx+288]
	call	_sidesign_minib3d_EntityFX
	add	esp,8
	push	255
	push	255
	push	255
	push	1098907648
	push	1098907648
	push	dword [ebx+272]
	call	_bb_CreatePlanetShader
	add	esp,24
	inc	dword [eax+4]
	mov	esi,eax
	mov	eax,dword [ebx+292]
	dec	dword [eax+4]
	jnz	_2954
	push	eax
	call	_bbGCFree
	add	esp,4
_2954:
	mov	dword [ebx+292],esi
	push	1040187392
	push	1040187392
	push	1040187392
	push	dword [ebx+292]
	call	_sidesign_minib3d_ScaleMesh
	add	esp,16
	push	0
	push	0
	push	dword [ebx+344]
	push	dword [ebx+292]
	call	_sidesign_minib3d_EntityTexture
	add	esp,16
	push	3
	push	dword [ebx+292]
	call	_sidesign_minib3d_EntityBlend
	add	esp,8
	push	5
	push	dword [ebx+344]
	call	_sidesign_minib3d_TextureBlend
	add	esp,8
	push	2
	push	dword [ebx+292]
	call	_sidesign_minib3d_EntityFX
	add	esp,8
	push	1065395159
	push	1119092736
	push	-1028390912
	push	1119092736
	push	-1028390912
	push	dword [ebx+300]
	push	dword [ebx+200]
	call	_bb_CreateSpherePart
	add	esp,28
	inc	dword [eax+4]
	mov	esi,eax
	mov	eax,dword [ebx+296]
	dec	dword [eax+4]
	jnz	_2958
	push	eax
	call	_bbGCFree
	add	esp,4
_2958:
	mov	dword [ebx+296],esi
	push	3
	push	dword [ebx+296]
	call	_sidesign_minib3d_EntityBlend
	add	esp,8
	push	2
	push	dword [ebx+296]
	call	_sidesign_minib3d_EntityFX
	add	esp,8
	push	1
	push	_276
	call	_bb_PrintTime
	add	esp,8
	mov	eax,0
	jmp	_1324
_1324:
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_TPlanet_Update:
	push	ebp
	mov	ebp,esp
	sub	esp,4
	push	ebx
	push	esi
	mov	ebx,dword [ebp+8]
	mov	esi,dword [ebp+12]
	call	_bbMilliSecs
	mov	dword [_bb_start],eax
	cmp	esi,1
	jne	_2959
	cmp	dword [ebx+112],1
	je	_2960
	push	5
	push	1
	call	_brl_random_Rand
	add	esp,8
	push	eax
	call	_bbStringFromInt
	add	esp,4
	mov	esi,eax
	inc	dword [esi+4]
	mov	eax,dword [ebx+28]
	dec	dword [eax+4]
	jnz	_2964
	push	eax
	call	_bbGCFree
	add	esp,4
_2964:
	mov	dword [ebx+28],esi
	push	5
	push	1
	call	_brl_random_Rand
	add	esp,8
	push	eax
	call	_bbStringFromInt
	add	esp,4
	mov	esi,eax
	inc	dword [esi+4]
	mov	eax,dword [ebx+32]
	dec	dword [eax+4]
	jnz	_2968
	push	eax
	call	_bbGCFree
	add	esp,4
_2968:
	mov	dword [ebx+32],esi
_2960:
_2959:
	push	_277
	call	_bb_LoadINI
	add	esp,4
	mov	esi,eax
	push	dword [ebx+236]
	push	dword [ebx+232]
	push	dword [ebx+228]
	push	esi
	push	_2784
	push	_279
	push	dword [ebx+60]
	call	_bb_GetINI
	add	esp,16
	push	eax
	call	_bbStringToInt
	add	esp,4
	push	eax
	push	256
	push	esi
	push	_2971
	push	_278
	push	dword [ebx+60]
	call	_bb_GetINI
	add	esp,16
	push	eax
	call	_bbStringToInt
	add	esp,4
	push	eax
	push	esi
	push	dword [ebx+60]
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+88]
	add	esp,36
	push	dword [ebx+248]
	push	dword [ebx+244]
	push	dword [ebx+240]
	push	esi
	push	_2784
	push	_279
	push	dword [ebx+64]
	call	_bb_GetINI
	add	esp,16
	push	eax
	call	_bbStringToInt
	add	esp,4
	push	eax
	push	256
	push	esi
	push	_2971
	push	_278
	push	dword [ebx+64]
	call	_bb_GetINI
	add	esp,16
	push	eax
	call	_bbStringToInt
	add	esp,4
	push	eax
	push	esi
	push	dword [ebx+64]
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+88]
	add	esp,36
	push	dword [ebx+260]
	push	dword [ebx+256]
	push	dword [ebx+252]
	push	esi
	push	_2784
	push	_279
	push	dword [ebx+68]
	call	_bb_GetINI
	add	esp,16
	push	eax
	call	_bbStringToInt
	add	esp,4
	push	eax
	push	256
	push	esi
	push	_2971
	push	_278
	push	dword [ebx+68]
	call	_bb_GetINI
	add	esp,16
	push	eax
	call	_bbStringToInt
	add	esp,4
	push	eax
	push	esi
	push	dword [ebx+68]
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+88]
	add	esp,36
	push	dword [ebx+8]
	call	_bb_SetPlanet
	add	esp,4
	call	_bb_CreateName
	mov	esi,eax
	inc	dword [esi+4]
	mov	eax,dword [ebx+264]
	dec	dword [eax+4]
	jnz	_2977
	push	eax
	call	_bbGCFree
	add	esp,4
_2977:
	mov	dword [ebx+264],esi
	cmp	dword [ebx+372],_bbNullObject
	je	_2978
	mov	esi,_bbNullObject
	inc	dword [esi+4]
	mov	eax,dword [ebx+372]
	dec	dword [eax+4]
	jnz	_2982
	push	eax
	call	_bbGCFree
	add	esp,4
_2982:
	mov	dword [ebx+372],esi
_2978:
	mov	ecx,dword [ebx+12]
	mov	eax,dword [ebx+12]
	cdq
	and	edx,1
	add	eax,edx
	sar	eax,1
	imul	ecx,eax
	push	ecx
	call	_brl_bank_CreateBank
	add	esp,4
	mov	esi,eax
	inc	dword [esi+4]
	mov	eax,dword [ebx+372]
	dec	dword [eax+4]
	jnz	_2986
	push	eax
	call	_bbGCFree
	add	esp,4
_2986:
	mov	dword [ebx+372],esi
	push	_208
	push	dword [ebx+36]
	call	_bbStringCompare
	add	esp,8
	cmp	eax,0
	je	_2987
	push	0
	push	_46
	push	dword [ebx+36]
	push	_45
	push	dword [ebx+12]
	call	_bbStringFromInt
	add	esp,4
	push	eax
	push	_44
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bb_LoadImageBank
	add	esp,8
	mov	esi,eax
	inc	dword [esi+4]
	mov	eax,dword [ebx+372]
	dec	dword [eax+4]
	jnz	_2991
	push	eax
	call	_bbGCFree
	add	esp,4
_2991:
	mov	dword [ebx+372],esi
_2987:
	cmp	dword [ebx+376],_bbNullObject
	je	_2992
	mov	esi,_bbNullObject
	inc	dword [esi+4]
	mov	eax,dword [ebx+376]
	dec	dword [eax+4]
	jnz	_2996
	push	eax
	call	_bbGCFree
	add	esp,4
_2996:
	mov	dword [ebx+376],esi
_2992:
	mov	ecx,dword [ebx+12]
	mov	eax,dword [ebx+12]
	cdq
	and	edx,1
	add	eax,edx
	sar	eax,1
	imul	ecx,eax
	push	ecx
	call	_brl_bank_CreateBank
	add	esp,4
	mov	esi,eax
	inc	dword [esi+4]
	mov	eax,dword [ebx+376]
	dec	dword [eax+4]
	jnz	_3000
	push	eax
	call	_bbGCFree
	add	esp,4
_3000:
	mov	dword [ebx+376],esi
	push	_208
	push	dword [ebx+40]
	call	_bbStringCompare
	add	esp,8
	cmp	eax,0
	je	_3001
	push	0
	push	_46
	push	dword [ebx+40]
	push	_45
	push	dword [ebx+12]
	call	_bbStringFromInt
	add	esp,4
	push	eax
	push	_44
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bb_LoadImageBank
	add	esp,8
	mov	esi,eax
	inc	dword [esi+4]
	mov	eax,dword [ebx+376]
	dec	dword [eax+4]
	jnz	_3005
	push	eax
	call	_bbGCFree
	add	esp,4
_3005:
	mov	dword [ebx+376],esi
_3001:
	push	1
	push	_280
	call	_bb_PrintTime
	add	esp,8
	call	_bbMilliSecs
	mov	dword [_bb_start],eax
	mov	eax,ebx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+64]
	add	esp,4
	push	1
	push	_281
	call	_bb_PrintTime
	add	esp,8
	call	_bbMilliSecs
	mov	dword [_bb_start],eax
	mov	eax,ebx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+68]
	add	esp,4
	push	1
	push	_282
	call	_bb_PrintTime
	add	esp,8
	call	_bbMilliSecs
	mov	dword [_bb_start],eax
	mov	eax,ebx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+72]
	add	esp,4
	push	1
	push	_283
	call	_bb_PrintTime
	add	esp,8
	call	_bbMilliSecs
	mov	dword [_bb_start],eax
	mov	eax,ebx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+76]
	add	esp,4
	push	1
	push	_284
	call	_bb_PrintTime
	add	esp,8
	call	_bbMilliSecs
	mov	dword [_bb_start],eax
	cmp	dword [ebx+108],1
	jne	_3010
	mov	eax,ebx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+84]
	add	esp,4
	jmp	_3012
_3010:
	mov	eax,ebx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+80]
	add	esp,4
_3012:
	push	1
	push	_285
	call	_bb_PrintTime
	add	esp,8
	call	_bbMilliSecs
	mov	dword [_bb_start],eax
	cmp	dword [ebx+320],_bbNullObject
	je	_3014
	push	dword [ebx+320]
	call	_sidesign_minib3d_FreeTexture
	add	esp,4
_3014:
	push	1
	push	_287
	push	dword [ebx+48]
	push	_286
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_sidesign_minib3d_LoadTexture
	add	esp,8
	mov	esi,eax
	inc	dword [esi+4]
	mov	eax,dword [ebx+320]
	dec	dword [eax+4]
	jnz	_3018
	push	eax
	call	_bbGCFree
	add	esp,4
_3018:
	mov	dword [ebx+320],esi
	cmp	dword [ebx+324],_bbNullObject
	je	_3019
	push	dword [ebx+324]
	call	_sidesign_minib3d_FreeTexture
	add	esp,4
_3019:
	push	1
	push	_287
	push	dword [ebx+48]
	push	_286
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_sidesign_minib3d_LoadTexture
	add	esp,8
	mov	esi,eax
	inc	dword [esi+4]
	mov	eax,dword [ebx+324]
	dec	dword [eax+4]
	jnz	_3023
	push	eax
	call	_bbGCFree
	add	esp,4
_3023:
	mov	dword [ebx+324],esi
	cmp	dword [ebx+308],_bbNullObject
	je	_3024
	push	dword [ebx+308]
	call	_sidesign_minib3d_FreeTexture
	add	esp,4
_3024:
	push	1
	push	dword [ebx+396]
	call	_bb_LoadTexturePixmap
	add	esp,8
	mov	esi,eax
	inc	dword [esi+4]
	mov	eax,dword [ebx+308]
	dec	dword [eax+4]
	jnz	_3028
	push	eax
	call	_bbGCFree
	add	esp,4
_3028:
	mov	dword [ebx+308],esi
	push	1
	push	0
	push	dword [ebx+308]
	push	dword [ebx+272]
	call	_sidesign_minib3d_EntityTexture
	add	esp,16
	push	3
	push	dword [ebx+308]
	call	_sidesign_minib3d_TextureBlend
	add	esp,8
	cmp	dword [ebx+304],_bbNullObject
	je	_3029
	push	dword [ebx+304]
	call	_sidesign_minib3d_FreeTexture
	add	esp,4
_3029:
	push	1
	push	dword [ebx+392]
	call	_bb_LoadTexturePixmap
	add	esp,8
	mov	esi,eax
	inc	dword [esi+4]
	mov	eax,dword [ebx+304]
	dec	dword [eax+4]
	jnz	_3033
	push	eax
	call	_bbGCFree
	add	esp,4
_3033:
	mov	dword [ebx+304],esi
	push	2
	push	0
	push	dword [ebx+304]
	push	dword [ebx+272]
	call	_sidesign_minib3d_EntityTexture
	add	esp,16
	push	2
	push	dword [ebx+304]
	call	_sidesign_minib3d_TextureBlend
	add	esp,8
	cmp	dword [ebx+316],_bbNullObject
	je	_3034
	push	dword [ebx+316]
	call	_sidesign_minib3d_FreeTexture
	add	esp,4
_3034:
	push	1
	push	_287
	push	dword [ebx+152]
	push	_288
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_sidesign_minib3d_LoadTexture
	add	esp,8
	mov	esi,eax
	inc	dword [esi+4]
	mov	eax,dword [ebx+316]
	dec	dword [eax+4]
	jnz	_3038
	push	eax
	call	_bbGCFree
	add	esp,4
_3038:
	mov	dword [ebx+316],esi
	push	3
	push	0
	push	dword [ebx+316]
	push	dword [ebx+272]
	call	_sidesign_minib3d_EntityTexture
	add	esp,16
	push	2
	push	dword [ebx+316]
	call	_sidesign_minib3d_TextureBlend
	add	esp,8
	push	dword [ebx+160]
	push	dword [ebx+156]
	push	dword [ebx+316]
	call	_sidesign_minib3d_ScaleTexture
	add	esp,12
	cmp	dword [ebx+328],_bbNullObject
	je	_3039
	push	dword [ebx+328]
	call	_sidesign_minib3d_FreeTexture
	add	esp,4
_3039:
	cmp	dword [ebx+332],_bbNullObject
	je	_3040
	push	dword [ebx+332]
	call	_sidesign_minib3d_FreeTexture
	add	esp,4
_3040:
	push	_208
	push	dword [ebx+44]
	call	_bbStringCompare
	add	esp,8
	cmp	eax,0
	jne	_3041
	push	0
	push	0
	push	0
	push	0
	push	0
	push	32
	call	_bb_CreateBaseTexture
	add	esp,24
	mov	esi,eax
	inc	dword [esi+4]
	mov	eax,dword [ebx+328]
	dec	dword [eax+4]
	jnz	_3045
	push	eax
	call	_bbGCFree
	add	esp,4
_3045:
	mov	dword [ebx+328],esi
	push	0
	push	0
	push	0
	push	0
	push	0
	push	32
	call	_bb_CreateBaseTexture
	add	esp,24
	mov	esi,eax
	inc	dword [esi+4]
	mov	eax,dword [ebx+332]
	dec	dword [eax+4]
	jnz	_3049
	push	eax
	call	_bbGCFree
	add	esp,4
_3049:
	mov	dword [ebx+332],esi
	jmp	_3050
_3041:
	push	2
	push	_287
	push	dword [ebx+44]
	push	_289
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_sidesign_minib3d_LoadTexture
	add	esp,8
	mov	esi,eax
	inc	dword [esi+4]
	mov	eax,dword [ebx+328]
	dec	dword [eax+4]
	jnz	_3054
	push	eax
	call	_bbGCFree
	add	esp,4
_3054:
	mov	dword [ebx+328],esi
	push	2
	push	_287
	push	dword [ebx+44]
	push	_289
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_sidesign_minib3d_LoadTexture
	add	esp,8
	mov	esi,eax
	inc	dword [esi+4]
	mov	eax,dword [ebx+332]
	dec	dword [eax+4]
	jnz	_3058
	push	eax
	call	_bbGCFree
	add	esp,4
_3058:
	mov	dword [ebx+332],esi
_3050:
	push	1
	push	_290
	call	_bb_PrintTime
	add	esp,8
	call	_bbMilliSecs
	mov	dword [_bb_start],eax
	push	0
	push	0
	push	dword [ebx+332]
	push	dword [ebx+276]
	call	_sidesign_minib3d_EntityTexture
	add	esp,16
	mov	eax,dword [ebx+208]
	mov	eax,dword [eax+12+24]
	mov	dword [ebp+-4],eax
	fild	dword [ebp+-4]
	fdiv	dword [_4455]
	sub	esp,4
	fstp	dword [esp]
	mov	eax,dword [ebx+208]
	push	dword [eax+8+24]
	mov	eax,dword [ebx+208]
	push	dword [eax+4+24]
	mov	eax,dword [ebx+208]
	push	dword [eax+24]
	push	dword [ebx+276]
	call	_bb_UpdateMesh
	add	esp,20
	push	dword [ebx+184]
	push	dword [ebx+180]
	push	dword [ebx+332]
	call	_sidesign_minib3d_ScaleTexture
	add	esp,12
	push	0
	push	0
	push	dword [ebx+328]
	push	dword [ebx+280]
	call	_sidesign_minib3d_EntityTexture
	add	esp,16
	push	5
	push	dword [ebx+328]
	call	_sidesign_minib3d_TextureBlend
	add	esp,8
	push	2
	push	dword [ebx+320]
	call	_sidesign_minib3d_TextureBlend
	add	esp,8
	mov	eax,dword [ebx+204]
	mov	eax,dword [eax+12+24]
	mov	dword [ebp+-4],eax
	fild	dword [ebp+-4]
	fdiv	dword [_4456]
	sub	esp,4
	fstp	dword [esp]
	mov	eax,dword [ebx+204]
	push	dword [eax+8+24]
	mov	eax,dword [ebx+204]
	push	dword [eax+4+24]
	mov	eax,dword [ebx+204]
	push	dword [eax+24]
	push	dword [ebx+280]
	call	_bb_UpdateMesh
	add	esp,20
	push	dword [ebx+184]
	push	dword [ebx+180]
	push	dword [ebx+328]
	call	_sidesign_minib3d_ScaleTexture
	add	esp,12
	cmp	dword [ebx+336],_bbNullObject
	je	_3059
	push	dword [ebx+336]
	call	_sidesign_minib3d_FreeTexture
	add	esp,4
_3059:
	push	2
	push	_292
	push	dword [ebx+56]
	push	_291
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_sidesign_minib3d_LoadTexture
	add	esp,8
	mov	esi,eax
	inc	dword [esi+4]
	mov	eax,dword [ebx+336]
	dec	dword [eax+4]
	jnz	_3063
	push	eax
	call	_bbGCFree
	add	esp,4
_3063:
	mov	dword [ebx+336],esi
	cmp	dword [ebx+400],_bbNullObject
	je	_3064
	mov	esi,_bbNullObject
	inc	dword [esi+4]
	mov	eax,dword [ebx+400]
	dec	dword [eax+4]
	jnz	_3068
	push	eax
	call	_bbGCFree
	add	esp,4
_3068:
	mov	dword [ebx+400],esi
_3064:
	push	1048576000
	mov	eax,dword [ebx+140]
	mov	dword [ebp+-4],eax
	fild	dword [ebp+-4]
	sub	esp,4
	fstp	dword [esp]
	push	512
	push	ebx
	call	_bb_CreateRingTexture
	add	esp,16
	mov	esi,eax
	inc	dword [esi+4]
	mov	eax,dword [ebx+400]
	dec	dword [eax+4]
	jnz	_3072
	push	eax
	call	_bbGCFree
	add	esp,4
_3072:
	mov	dword [ebx+400],esi
	cmp	dword [ebx+312],_bbNullObject
	je	_3073
	push	dword [ebx+312]
	call	_sidesign_minib3d_FreeTexture
	add	esp,4
_3073:
	push	2
	push	dword [ebx+400]
	call	_bb_LoadTexturePixmap
	add	esp,8
	mov	esi,eax
	inc	dword [esi+4]
	mov	eax,dword [ebx+312]
	dec	dword [eax+4]
	jnz	_3077
	push	eax
	call	_bbGCFree
	add	esp,4
_3077:
	mov	dword [ebx+312],esi
	mov	eax,dword [ebx+220]
	mov	eax,dword [eax+12+24]
	mov	dword [ebp+-4],eax
	fild	dword [ebp+-4]
	fdiv	dword [_4457]
	sub	esp,4
	fstp	dword [esp]
	mov	eax,dword [ebx+220]
	push	dword [eax+8+24]
	mov	eax,dword [ebx+220]
	push	dword [eax+4+24]
	mov	eax,dword [ebx+220]
	push	dword [eax+24]
	push	51
	push	dword [ebx+148]
	push	dword [ebx+144]
	mov	eax,dword [ebx+200]
	shl	eax,3
	push	eax
	push	dword [ebx+284]
	call	_bb_UpdateRing
	add	esp,36
	push	0
	push	0
	push	dword [ebx+336]
	push	dword [ebx+284]
	call	_sidesign_minib3d_EntityTexture
	add	esp,16
	push	1
	push	0
	push	dword [ebx+312]
	push	dword [ebx+284]
	call	_sidesign_minib3d_EntityTexture
	add	esp,16
	push	2
	push	0
	push	dword [ebx+340]
	push	dword [ebx+284]
	call	_sidesign_minib3d_EntityTexture
	add	esp,16
	push	1
	push	dword [ebx+340]
	call	_sidesign_minib3d_TextureCoords
	add	esp,8
	push	1086324736
	push	1086324736
	push	dword [ebx+340]
	call	_sidesign_minib3d_ScaleTexture
	add	esp,12
	push	1056964608
	push	1056964608
	push	dword [ebx+340]
	call	_sidesign_minib3d_PositionTexture
	add	esp,12
	push	0
	push	1127481344
	push	0
	push	dword [ebx+284]
	call	_sidesign_minib3d_RotateMesh
	add	esp,16
	push	dword [ebx+196]
	push	dword [ebx+296]
	call	_sidesign_minib3d_EntityShininess
	add	esp,8
	mov	eax,dword [ebx+216]
	mov	eax,dword [eax+12+24]
	mov	dword [ebp+-4],eax
	fild	dword [ebp+-4]
	fdiv	dword [_4458]
	sub	esp,4
	fstp	dword [esp]
	mov	eax,dword [ebx+216]
	push	dword [eax+8+24]
	mov	eax,dword [ebx+216]
	push	dword [eax+4+24]
	mov	eax,dword [ebx+216]
	push	dword [eax+24]
	push	dword [ebx+288]
	call	_bb_UpdateMesh
	add	esp,20
	mov	eax,dword [ebx+216]
	mov	eax,dword [eax+12+24]
	mov	dword [ebp+-4],eax
	fild	dword [ebp+-4]
	fdiv	dword [_4459]
	sub	esp,4
	fstp	dword [esp]
	mov	eax,dword [ebx+216]
	push	dword [eax+8+24]
	mov	eax,dword [ebx+216]
	push	dword [eax+4+24]
	mov	eax,dword [ebx+216]
	push	dword [eax+24]
	push	dword [ebx+292]
	call	_bb_UpdateMesh
	add	esp,20
	mov	eax,dword [ebx+212]
	mov	eax,dword [eax+12+24]
	mov	dword [ebp+-4],eax
	fild	dword [ebp+-4]
	fdiv	dword [_4460]
	sub	esp,4
	fstp	dword [esp]
	mov	eax,dword [ebx+212]
	push	dword [eax+8+24]
	mov	eax,dword [ebx+212]
	push	dword [eax+4+24]
	mov	eax,dword [ebx+212]
	push	dword [eax+24]
	push	dword [ebx+296]
	call	_bb_UpdateMesh
	add	esp,20
	push	1
	push	_293
	call	_bb_PrintTime
	add	esp,8
	mov	eax,ebx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+60]
	add	esp,4
	call	_bbMilliSecs
	sub	eax,dword [ebx+268]
	mov	dword [ebx+268],eax
	push	0
	push	_295
	push	dword [ebx+268]
	call	_bbStringFromInt
	add	esp,4
	push	eax
	push	_294
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bb_PrintTime
	add	esp,8
	mov	eax,0
	jmp	_1328
_1328:
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_TPlanet_FastUpdate:
	push	ebp
	mov	ebp,esp
	push	ebx
	mov	ebx,dword [ebp+8]
	push	1
	call	_bb_GetFlag
	add	esp,4
	mov	eax,eax
	cmp	eax,1
	jne	_3079
	push	dword [ebx+280]
	call	_sidesign_minib3d_HideEntity
	add	esp,4
	jmp	_3080
_3079:
	push	dword [ebx+280]
	call	_sidesign_minib3d_ShowEntity
	add	esp,4
_3080:
	push	11
	call	_bb_GetFlag
	add	esp,4
	mov	eax,eax
	cmp	eax,1
	jne	_3081
	push	dword [ebx+276]
	call	_sidesign_minib3d_HideEntity
	add	esp,4
	jmp	_3082
_3081:
	push	dword [ebx+276]
	call	_sidesign_minib3d_ShowEntity
	add	esp,4
_3082:
	push	0
	call	_bb_GetFlag
	add	esp,4
	mov	eax,eax
	cmp	eax,1
	jne	_3083
	push	1
	push	0
	push	dword [ebx+360]
	push	dword [ebx+272]
	call	_sidesign_minib3d_EntityTexture
	add	esp,16
	jmp	_3084
_3083:
	push	1
	push	0
	push	dword [ebx+308]
	push	dword [ebx+272]
	call	_sidesign_minib3d_EntityTexture
	add	esp,16
_3084:
	push	2
	call	_bb_GetFlag
	add	esp,4
	mov	eax,eax
	cmp	eax,1
	jne	_3085
	push	dword [ebx+296]
	call	_sidesign_minib3d_HideEntity
	add	esp,4
	jmp	_3086
_3085:
	push	dword [ebx+296]
	call	_sidesign_minib3d_ShowEntity
	add	esp,4
_3086:
	push	3
	call	_bb_GetFlag
	add	esp,4
	mov	eax,eax
	cmp	eax,1
	jne	_3087
	push	dword [ebx+288]
	call	_sidesign_minib3d_HideEntity
	add	esp,4
	push	dword [ebx+292]
	call	_sidesign_minib3d_HideEntity
	add	esp,4
	jmp	_3088
_3087:
	push	dword [ebx+288]
	call	_sidesign_minib3d_ShowEntity
	add	esp,4
	push	dword [ebx+292]
	call	_sidesign_minib3d_ShowEntity
	add	esp,4
_3088:
	push	4
	call	_bb_GetFlag
	add	esp,4
	mov	eax,eax
	cmp	eax,1
	jne	_3089
	push	1
	push	dword [ebx+272]
	call	_sidesign_minib3d_EntityFX
	add	esp,8
	push	0
	push	0
	push	dword [ebx+348]
	push	dword [ebx+272]
	call	_sidesign_minib3d_EntityTexture
	add	esp,16
	push	1
	push	0
	push	dword [ebx+348]
	push	dword [ebx+280]
	call	_sidesign_minib3d_EntityTexture
	add	esp,16
	jmp	_3090
_3089:
	push	1
	push	dword [ebx+272]
	call	_sidesign_minib3d_EntityFX
	add	esp,8
	push	0
	push	0
	push	dword [ebx+320]
	push	dword [ebx+272]
	call	_sidesign_minib3d_EntityTexture
	add	esp,16
	push	1
	push	0
	push	dword [ebx+324]
	push	dword [ebx+280]
	call	_sidesign_minib3d_EntityTexture
	add	esp,16
_3090:
	push	5
	call	_bb_GetFlag
	add	esp,4
	mov	eax,eax
	cmp	eax,0
	jne	_3091
	push	dword [ebx+284]
	call	_sidesign_minib3d_HideEntity
	add	esp,4
	jmp	_3092
_3091:
	push	dword [ebx+284]
	call	_sidesign_minib3d_ShowEntity
	add	esp,4
_3092:
	push	12
	call	_bb_GetFlag
	add	esp,4
	mov	eax,eax
	cmp	eax,1
	jne	_3093
	push	3
	push	0
	push	dword [ebx+364]
	push	dword [ebx+272]
	call	_sidesign_minib3d_EntityTexture
	add	esp,16
	jmp	_3094
_3093:
	push	3
	push	0
	push	dword [ebx+316]
	push	dword [ebx+272]
	call	_sidesign_minib3d_EntityTexture
	add	esp,16
_3094:
	push	0
	push	0
	push	1065353216
	push	0
	push	1135869952
	push	0
	push	dword [ebx+164]
	call	_bb_Normalize
	add	esp,24
	fchs
	sub	esp,4
	fstp	dword [esp]
	push	dword [ebx+320]
	call	_sidesign_minib3d_PositionTexture
	add	esp,12
	push	0
	push	0
	push	1065353216
	push	0
	push	1135869952
	push	0
	fld	dword [ebx+164]
	fsub	dword [ebx+168]
	sub	esp,4
	fstp	dword [esp]
	call	_bb_Normalize
	add	esp,24
	fchs
	sub	esp,4
	fstp	dword [esp]
	push	dword [ebx+328]
	call	_sidesign_minib3d_PositionTexture
	add	esp,12
	fld	dword [ebx+192]
	fchs
	fdiv	dword [_4481]
	sub	esp,4
	fstp	dword [esp]
	push	0
	push	1065353216
	push	0
	push	1135869952
	push	0
	fld	dword [ebx+164]
	fsub	dword [ebx+168]
	sub	esp,4
	fstp	dword [esp]
	call	_bb_Normalize
	add	esp,24
	fchs
	fld	dword [ebx+188]
	fdiv	dword [_4482]
	faddp	st1,st0
	sub	esp,4
	fstp	dword [esp]
	push	dword [ebx+332]
	call	_sidesign_minib3d_PositionTexture
	add	esp,12
	mov	eax,dword [ebx+136]
	and	eax,0xff
	push	eax
	push	5
	call	_bb_SetFlag
	add	esp,8
	cmp	dword [ebx+136],0
	jne	_3095
	push	dword [ebx+284]
	call	_sidesign_minib3d_HideEntity
	add	esp,4
	jmp	_3096
_3095:
	push	dword [ebx+284]
	call	_sidesign_minib3d_ShowEntity
	add	esp,4
_3096:
	mov	eax,0
	jmp	_1331
_1331:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_TPlanet_CreateNoiseMap:
	push	ebp
	mov	ebp,esp
	sub	esp,64
	push	ebx
	push	esi
	push	edi
	mov	esi,dword [ebp+8]
	mov	eax,dword [esi+72]
	mov	dword [ebp-32],eax
	mov	eax,dword [esi+72]
	cdq
	and	edx,1
	add	eax,edx
	sar	eax,1
	mov	dword [ebp-52],eax
	mov	dword [ebp-40],255
	mov	dword [ebp-36],0
	cmp	dword [esi+380],_bbNullObject
	je	_3117
	mov	ebx,_bbNullObject
	inc	dword [ebx+4]
	mov	eax,dword [esi+380]
	dec	dword [eax+4]
	jnz	_3121
	push	eax
	call	_bbGCFree
	add	esp,4
_3121:
	mov	dword [esi+380],ebx
_3117:
	mov	eax,dword [ebp-32]
	imul	eax,dword [ebp-52]
	push	eax
	call	_brl_bank_CreateBank
	add	esp,4
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [esi+380]
	dec	dword [eax+4]
	jnz	_3125
	push	eax
	call	_bbGCFree
	add	esp,4
_3125:
	mov	dword [esi+380],ebx
	mov	eax,dword [esi+12]
	cdq
	idiv	dword [esi+72]
	mov	dword [ebp+-64],eax
	fild	dword [ebp+-64]
	fstp	dword [ebp-60]
	cmp	dword [esi+88],1
	jne	_3127
	push	1
	push	0
	push	1
	push	dword [esi+8]
	push	0
	push	0
	push	dword [esi+76]
	mov	eax,dword [esi+80]
	mov	dword [ebp+-64],eax
	fild	dword [ebp+-64]
	sub	esp,4
	fstp	dword [esp]
	push	dword [esi+72]
	call	_bb_FastNoise
	add	esp,36
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [esi+380]
	dec	dword [eax+4]
	jnz	_3131
	push	eax
	call	_bbGCFree
	add	esp,4
_3131:
	mov	dword [esi+380],ebx
	jmp	_3132
_3127:
	mov	dword [ebp-28],0
	mov	eax,dword [ebp-32]
	sub	eax,1
	mov	dword [ebp-56],eax
	jmp	_3133
_298:
	mov	ebx,0
	mov	eax,dword [ebp-52]
	sub	eax,1
	mov	edi,eax
	jmp	_3135
_301:
	mov	eax,dword [ebp-28]
	mov	dword [ebp+-64],eax
	fild	dword [ebp+-64]
	fstp	dword [ebp-4]
	fld	dword [ebp-4]
	fadd	dword [_4502]
	fmul	dword [_4503]
	mov	eax,dword [ebp-32]
	mov	dword [ebp+-64],eax
	fild	dword [ebp+-64]
	fdivp	st1,st0
	fstp	dword [ebp-4]
	fld	dword [ebp-4]
	sub	esp,8
	fstp	qword [esp]
	call	_bbCos
	add	esp,8
	fstp	dword [ebp-20]
	fld	dword [ebp-4]
	sub	esp,8
	fstp	qword [esp]
	call	_bbSin
	add	esp,8
	fstp	dword [ebp-24]
	mov	dword [ebp+-64],ebx
	fild	dword [ebp+-64]
	fstp	dword [ebp-8]
	fld	dword [ebp-8]
	fadd	dword [_4504]
	fmul	dword [_4505]
	mov	eax,dword [ebp-52]
	mov	dword [ebp+-64],eax
	fild	dword [ebp+-64]
	fdivp	st1,st0
	fstp	dword [ebp-8]
	fld	dword [ebp-8]
	sub	esp,8
	fstp	qword [esp]
	call	_bbSin
	add	esp,8
	fld	dword [esi+76]
	fmulp	st1,st0
	fstp	dword [ebp-12]
	fld	dword [ebp-20]
	fmul	dword [ebp-12]
	fadd	dword [esi+76]
	fstp	dword [ebp-16]
	fld	dword [ebp-8]
	sub	esp,8
	fstp	qword [esp]
	call	_bbCos
	add	esp,8
	fld	dword [esi+76]
	fmulp	st1,st0
	fld	dword [esi+76]
	faddp	st1,st0
	fld	dword [ebp-24]
	fmul	dword [ebp-12]
	fadd	dword [esi+76]
	push	0
	push	1132396544
	push	0
	push	1065353216
	push	-1082130432
	push	dword [esi+84]
	push	0
	push	dword [esi+8]
	mov	eax,dword [esi+80]
	mov	dword [ebp+-64],eax
	fild	dword [ebp+-64]
	sub	esp,4
	fstp	dword [esp]
	mov	eax,dword [esi+80]
	mov	dword [ebp+-64],eax
	fild	dword [ebp+-64]
	fmulp	st1,st0
	sub	esp,4
	fstp	dword [esp]
	mov	eax,dword [esi+80]
	mov	dword [ebp+-64],eax
	fild	dword [ebp+-64]
	fmulp	st1,st0
	sub	esp,4
	fstp	dword [esp]
	fld	dword [ebp-16]
	mov	eax,dword [esi+80]
	mov	dword [ebp+-64],eax
	fild	dword [ebp+-64]
	fmulp	st1,st0
	sub	esp,4
	fstp	dword [esp]
	call	_bb_Perlin3D
	add	esp,28
	sub	esp,4
	fstp	dword [esp]
	call	_bb_Normalize
	add	esp,24
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatToInt
	add	esp,8
	push	255
	push	0
	push	eax
	call	_bb_LimitInt
	add	esp,12
	cmp	eax,dword [ebp-40]
	jge	_3137
	mov	dword [ebp-40],eax
_3137:
	cmp	eax,dword [ebp-36]
	jle	_3138
	mov	dword [ebp-36],eax
_3138:
	push	dword [ebp-32]
	push	ebx
	push	dword [ebp-28]
	push	eax
	push	dword [esi+380]
	call	_bb_SetBankPixel
	add	esp,20
	push	1
	call	_brl_polledinput_KeyHit
	add	esp,4
	cmp	eax,0
	je	_3139
	call	_bbEnd
_3139:
_299:
	add	ebx,1
_3135:
	cmp	ebx,edi
	jle	_301
_300:
_296:
	add	dword [ebp-28],1
_3133:
	mov	eax,dword [ebp-56]
	cmp	dword [ebp-28],eax
	jle	_298
_297:
	mov	ebx,0
	mov	eax,dword [ebp-52]
	sub	eax,1
	mov	dword [ebp-44],eax
	jmp	_3140
_304:
	push	0
	push	dword [ebp-32]
	push	ebx
	push	0
	push	dword [esi+380]
	call	_bb_GetBankPixel
	add	esp,20
	mov	edi,eax
	push	0
	push	dword [ebp-32]
	push	ebx
	mov	eax,dword [ebp-32]
	sub	eax,1
	push	eax
	push	dword [esi+380]
	call	_bb_GetBankPixel
	add	esp,20
	push	eax
	push	edi
	call	_bb_Average
	add	esp,8
	mov	edi,eax
	push	dword [ebp-32]
	push	ebx
	push	0
	push	edi
	push	dword [esi+380]
	call	_bb_SetBankPixel
	add	esp,20
	push	dword [ebp-32]
	push	ebx
	mov	eax,dword [ebp-32]
	sub	eax,1
	push	eax
	push	edi
	push	dword [esi+380]
	call	_bb_SetBankPixel
	add	esp,20
_302:
	add	ebx,1
_3140:
	cmp	ebx,dword [ebp-44]
	jle	_304
_303:
_3132:
	mov	dword [ebp-28],0
	mov	eax,dword [ebp-32]
	sub	eax,1
	mov	dword [ebp-48],eax
	jmp	_3142
_307:
	mov	ebx,0
	mov	eax,dword [ebp-52]
	sub	eax,1
	mov	edi,eax
	jmp	_3144
_310:
	push	dword [ebp-32]
	push	ebx
	push	dword [ebp-28]
	push	0
	push	1132396544
	push	0
	mov	eax,dword [ebp-36]
	mov	dword [ebp+-64],eax
	fild	dword [ebp+-64]
	sub	esp,4
	fstp	dword [esp]
	mov	eax,dword [ebp-40]
	mov	dword [ebp+-64],eax
	fild	dword [ebp+-64]
	sub	esp,4
	fstp	dword [esp]
	push	0
	push	dword [ebp-32]
	push	ebx
	push	dword [ebp-28]
	push	dword [esi+380]
	call	_bb_GetBankPixel
	add	esp,20
	mov	dword [ebp+-64],eax
	fild	dword [ebp+-64]
	sub	esp,4
	fstp	dword [esp]
	call	_bb_Normalize
	add	esp,24
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatToInt
	add	esp,8
	push	eax
	push	dword [esi+380]
	call	_bb_SetBankPixel
	add	esp,20
_308:
	add	ebx,1
_3144:
	cmp	ebx,edi
	jle	_310
_309:
_305:
	add	dword [ebp-28],1
_3142:
	mov	eax,dword [ebp-48]
	cmp	dword [ebp-28],eax
	jle	_307
_306:
	push	dword [ebp-60]
	mov	eax,dword [esi+72]
	cdq
	and	edx,1
	add	eax,edx
	sar	eax,1
	push	eax
	push	dword [esi+72]
	push	dword [esi+380]
	call	_bb_ScaleBank
	add	esp,16
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [esi+380]
	dec	dword [eax+4]
	jnz	_3149
	push	eax
	call	_bbGCFree
	add	esp,4
_3149:
	mov	dword [esi+380],ebx
	mov	eax,0
	jmp	_1334
_1334:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_TPlanet_CreateHeightMap:
	push	ebp
	mov	ebp,esp
	sub	esp,44
	push	ebx
	push	esi
	push	edi
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+12]
	mov	dword [ebp-12],eax
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+12]
	cdq
	and	edx,1
	add	eax,edx
	sar	eax,1
	mov	dword [ebp-40],eax
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+12]
	cdq
	mov	dword [ebp-24],255
	mov	dword [ebp-20],0
	mov	dword [ebp-32],_bbNullObject
	mov	dword [ebp-28],_bbNullObject
	mov	eax,dword [ebp+8]
	cmp	dword [eax+384],_bbNullObject
	je	_3164
	mov	ebx,_bbNullObject
	inc	dword [ebx+4]
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+384]
	dec	dword [eax+4]
	jnz	_3168
	push	eax
	call	_bbGCFree
	add	esp,4
_3168:
	mov	eax,dword [ebp+8]
	mov	dword [eax+384],ebx
_3164:
	cmp	dword [ebp-32],_bbNullObject
	je	_3169
_3169:
	cmp	dword [ebp-28],_bbNullObject
	je	_3170
_3170:
	mov	eax,dword [ebp-12]
	imul	eax,dword [ebp-40]
	push	eax
	call	_brl_bank_CreateBank
	add	esp,4
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+384]
	dec	dword [eax+4]
	jnz	_3174
	push	eax
	call	_bbGCFree
	add	esp,4
_3174:
	mov	eax,dword [ebp+8]
	mov	dword [eax+384],ebx
	push	0
	push	_46
	mov	eax,dword [ebp+8]
	push	dword [eax+28]
	mov	eax,dword [ebp+8]
	push	dword [eax+20]
	push	_45
	mov	eax,dword [ebp+8]
	push	dword [eax+12]
	call	_bbStringFromInt
	add	esp,4
	push	eax
	push	_44
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bb_LoadImageBank
	add	esp,8
	mov	dword [ebp-32],eax
	push	0
	push	_46
	mov	eax,dword [ebp+8]
	push	dword [eax+32]
	mov	eax,dword [ebp+8]
	push	dword [eax+24]
	push	_45
	mov	eax,dword [ebp+8]
	push	dword [eax+12]
	call	_bbStringFromInt
	add	esp,4
	push	eax
	push	_44
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bb_LoadImageBank
	add	esp,8
	mov	dword [ebp-28],eax
	mov	dword [ebp-8],0
	mov	eax,dword [ebp-40]
	sub	eax,1
	mov	dword [ebp-36],eax
	jmp	_3175
_313:
	mov	dword [ebp-4],0
	mov	eax,dword [ebp-12]
	sub	eax,1
	mov	dword [ebp-16],eax
	jmp	_3177
_316:
	mov	ebx,255
	push	0
	push	dword [ebp-12]
	push	dword [ebp-8]
	push	dword [ebp-4]
	push	dword [ebp-32]
	call	_bb_GetBankPixel
	add	esp,20
	sub	ebx,eax
	mov	esi,ebx
	push	0
	push	dword [ebp-12]
	push	dword [ebp-8]
	push	dword [ebp-4]
	push	dword [ebp-28]
	call	_bb_GetBankPixel
	add	esp,20
	mov	edi,eax
	mov	eax,dword [ebp+8]
	cmp	dword [eax+112],1
	jne	_3179
	push	esi
	push	edi
	call	_bb_SoftLight
	add	esp,8
	jmp	_3180
_3179:
	mov	ebx,255
	push	0
	push	dword [ebp-12]
	push	dword [ebp-8]
	push	dword [ebp-4]
	mov	eax,dword [ebp+8]
	push	dword [eax+380]
	call	_bb_GetBankPixel
	add	esp,20
	sub	ebx,eax
	mov	eax,ebx
	push	esi
	push	eax
	call	_bb_Overlay
	add	esp,8
	push	edi
	push	eax
	call	_bb_SoftLight
	add	esp,8
_3180:
	push	255
	push	0
	push	eax
	call	_bb_LimitInt
	add	esp,12
	cmp	eax,dword [ebp-24]
	jge	_3181
	mov	dword [ebp-24],eax
_3181:
	cmp	eax,dword [ebp-20]
	jle	_3182
	mov	dword [ebp-20],eax
_3182:
	push	dword [ebp-12]
	push	dword [ebp-8]
	push	dword [ebp-4]
	push	eax
	mov	eax,dword [ebp+8]
	push	dword [eax+384]
	call	_bb_SetBankPixel
	add	esp,20
_314:
	add	dword [ebp-4],1
_3177:
	mov	eax,dword [ebp-16]
	cmp	dword [ebp-4],eax
	jle	_316
_315:
_311:
	add	dword [ebp-8],1
_3175:
	mov	eax,dword [ebp-36]
	cmp	dword [ebp-8],eax
	jle	_313
_312:
	mov	dword [ebp-8],0
	mov	esi,dword [ebp-40]
	sub	esi,1
	jmp	_3183
_319:
	mov	dword [ebp-4],0
	mov	ebx,dword [ebp-12]
	sub	ebx,1
	jmp	_3185
_322:
	push	0
	push	dword [ebp-12]
	push	dword [ebp-8]
	push	dword [ebp-4]
	mov	eax,dword [ebp+8]
	push	dword [eax+384]
	call	_bb_GetBankPixel
	add	esp,20
	push	dword [ebp-12]
	push	dword [ebp-8]
	push	dword [ebp-4]
	push	0
	push	1132396544
	push	0
	mov	edx,dword [ebp-20]
	mov	dword [ebp+-44],edx
	fild	dword [ebp+-44]
	sub	esp,4
	fstp	dword [esp]
	mov	edx,dword [ebp-24]
	mov	dword [ebp+-44],edx
	fild	dword [ebp+-44]
	sub	esp,4
	fstp	dword [esp]
	mov	dword [ebp+-44],eax
	fild	dword [ebp+-44]
	sub	esp,4
	fstp	dword [esp]
	call	_bb_Normalize
	add	esp,24
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatToInt
	add	esp,8
	push	eax
	mov	eax,dword [ebp+8]
	push	dword [eax+384]
	call	_bb_SetBankPixel
	add	esp,20
_320:
	add	dword [ebp-4],1
_3185:
	cmp	dword [ebp-4],ebx
	jle	_322
_321:
_317:
	add	dword [ebp-8],1
_3183:
	cmp	dword [ebp-8],esi
	jle	_319
_318:
	mov	eax,0
	jmp	_1337
_1337:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_TPlanet_CreateEmbossMap:
	push	ebp
	mov	ebp,esp
	sub	esp,28
	push	ebx
	push	esi
	push	edi
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+12]
	mov	dword [ebp-12],eax
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+12]
	cdq
	and	edx,1
	add	eax,edx
	sar	eax,1
	mov	dword [ebp-16],eax
	mov	eax,dword [ebp+8]
	cmp	dword [eax+388],_bbNullObject
	je	_3198
	mov	ebx,_bbNullObject
	inc	dword [ebx+4]
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+388]
	dec	dword [eax+4]
	jnz	_3202
	push	eax
	call	_bbGCFree
	add	esp,4
_3202:
	mov	eax,dword [ebp+8]
	mov	dword [eax+388],ebx
_3198:
	mov	eax,dword [ebp-12]
	imul	eax,dword [ebp-16]
	push	eax
	call	_brl_bank_CreateBank
	add	esp,4
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+388]
	dec	dword [eax+4]
	jnz	_3206
	push	eax
	call	_bbGCFree
	add	esp,4
_3206:
	mov	eax,dword [ebp+8]
	mov	dword [eax+388],ebx
	mov	dword [ebp-8],0
	mov	eax,dword [ebp-16]
	sub	eax,1
	mov	dword [ebp-24],eax
	jmp	_3207
_325:
	mov	dword [ebp-4],0
	mov	eax,dword [ebp-12]
	sub	eax,1
	mov	dword [ebp-20],eax
	jmp	_3209
_328:
	mov	ecx,dword [ebp-4]
	mov	edx,dword [ebp-8]
	mov	eax,dword [ebp-4]
	add	eax,1
	mov	esi,eax
	mov	eax,dword [ebp-8]
	add	eax,1
	mov	edi,eax
	mov	eax,dword [ebp-12]
	sub	eax,1
	cmp	esi,eax
	jle	_3211
	sub	esi,dword [ebp-12]
_3211:
	mov	eax,dword [ebp-16]
	sub	eax,1
	cmp	edi,eax
	jle	_3212
	sub	edi,dword [ebp-16]
_3212:
	push	0
	push	dword [ebp-12]
	push	edx
	push	ecx
	mov	eax,dword [ebp+8]
	push	dword [eax+384]
	call	_bb_GetBankPixel
	add	esp,20
	mov	ebx,eax
	push	0
	push	dword [ebp-12]
	push	edi
	push	esi
	mov	eax,dword [ebp+8]
	push	dword [eax+384]
	call	_bb_GetBankPixel
	add	esp,20
	push	0
	mov	ecx,255
	mov	edx,dword [ebp+8]
	sub	ecx,dword [edx+100]
	mov	dword [ebp+-28],ecx
	fild	dword [ebp+-28]
	sub	esp,4
	fstp	dword [esp]
	mov	edx,dword [ebp+8]
	mov	edx,dword [edx+100]
	mov	dword [ebp+-28],edx
	fild	dword [ebp+-28]
	sub	esp,4
	fstp	dword [esp]
	mov	ecx,255
	mov	edx,dword [ebp+8]
	sub	ecx,dword [edx+96]
	mov	dword [ebp+-28],ecx
	fild	dword [ebp+-28]
	sub	esp,4
	fstp	dword [esp]
	mov	edx,dword [ebp+8]
	mov	edx,dword [edx+96]
	mov	dword [ebp+-28],edx
	fild	dword [ebp+-28]
	sub	esp,4
	fstp	dword [esp]
	sub	eax,ebx
	mov	edx,dword [ebp+8]
	add	eax,dword [edx+92]
	push	eax
	call	_bbIntAbs
	add	esp,4
	mov	dword [ebp+-28],eax
	fild	dword [ebp+-28]
	sub	esp,4
	fstp	dword [esp]
	call	_bb_Normalize
	add	esp,24
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatToInt
	add	esp,8
	push	255
	push	0
	push	eax
	call	_bb_LimitInt
	add	esp,12
	mov	edx,dword [ebp-16]
	sub	edx,1
	cmp	dword [ebp-8],edx
	jne	_3213
	mov	eax,128
_3213:
	push	dword [ebp-12]
	push	dword [ebp-8]
	push	dword [ebp-4]
	push	eax
	mov	eax,dword [ebp+8]
	push	dword [eax+388]
	call	_bb_SetBankPixel
	add	esp,20
_326:
	add	dword [ebp-4],1
_3209:
	mov	eax,dword [ebp-20]
	cmp	dword [ebp-4],eax
	jle	_328
_327:
_323:
	add	dword [ebp-8],1
_3207:
	mov	eax,dword [ebp-24]
	cmp	dword [ebp-8],eax
	jle	_325
_324:
	mov	eax,0
	jmp	_1340
_1340:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_TPlanet_CreateColormap:
	push	ebp
	mov	ebp,esp
	sub	esp,44
	push	ebx
	push	esi
	push	edi
	mov	dword [ebp-28],0
	mov	dword [ebp-12],0
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+12]
	mov	dword [ebp-24],eax
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+12]
	cdq
	and	edx,1
	add	eax,edx
	sar	eax,1
	mov	dword [ebp-36],eax
	mov	eax,dword [ebp+8]
	cmp	dword [eax+392],_bbNullObject
	je	_3229
	mov	ebx,_bbNullObject
	inc	dword [ebx+4]
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+392]
	dec	dword [eax+4]
	jnz	_3233
	push	eax
	call	_bbGCFree
	add	esp,4
_3233:
	mov	eax,dword [ebp+8]
	mov	dword [eax+392],ebx
_3229:
	push	4
	push	4
	push	dword [ebp-36]
	push	dword [ebp-24]
	call	_brl_pixmap_CreatePixmap
	add	esp,16
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+392]
	dec	dword [eax+4]
	jnz	_3237
	push	eax
	call	_bbGCFree
	add	esp,4
_3237:
	mov	eax,dword [ebp+8]
	mov	dword [eax+392],ebx
	mov	dword [ebp-20],0
	mov	eax,dword [ebp-36]
	sub	eax,1
	mov	dword [ebp-40],eax
	jmp	_3238
_331:
	mov	dword [ebp-16],0
	mov	eax,dword [ebp-24]
	sub	eax,1
	mov	dword [ebp-32],eax
	jmp	_3240
_334:
	push	0
	push	dword [ebp-24]
	push	dword [ebp-20]
	push	dword [ebp-16]
	mov	eax,dword [ebp+8]
	push	dword [eax+384]
	call	_bb_GetBankPixel
	add	esp,20
	mov	dword [ebp-8],eax
	push	0
	push	dword [ebp-24]
	push	dword [ebp-20]
	push	dword [ebp-16]
	mov	eax,dword [ebp+8]
	push	dword [eax+388]
	call	_bb_GetBankPixel
	add	esp,20
	mov	dword [ebp-4],eax
	mov	eax,dword [ebp+8]
	fld	dword [eax+116]
	fldz
	fxch	st1
	fucompp
	fnstsw	ax
	sahf
	setbe	al
	movzx	eax,al
	cmp	eax,0
	jne	_3242
	push	0
	push	dword [ebp-24]
	push	dword [ebp-20]
	push	dword [ebp-16]
	mov	eax,dword [ebp+8]
	push	dword [eax+376]
	call	_bb_GetBankPixel
	add	esp,20
	mov	dword [ebp-28],eax
_3242:
	mov	eax,dword [ebp+8]
	cmp	dword [eax+132],0
	jle	_3243
	push	0
	push	dword [ebp-24]
	push	dword [ebp-20]
	push	dword [ebp-16]
	mov	eax,dword [ebp+8]
	push	dword [eax+372]
	call	_bb_GetBankPixel
	add	esp,20
	mov	esi,eax
	push	0
	push	dword [ebp-24]
	push	dword [ebp-20]
	push	dword [ebp-16]
	mov	eax,dword [ebp+8]
	push	dword [eax+380]
	call	_bb_GetBankPixel
	add	esp,20
	mov	ebx,eax
	push	0
	push	1077936128
	push	0
	mov	eax,dword [ebp-36]
	sub	eax,1
	mov	dword [ebp+-44],eax
	fild	dword [ebp+-44]
	sub	esp,4
	fstp	dword [esp]
	push	0
	mov	eax,dword [ebp-20]
	mov	dword [ebp+-44],eax
	fild	dword [ebp+-44]
	sub	esp,4
	fstp	dword [esp]
	call	_bb_Normalize
	add	esp,24
	fld	dword [_4528]
	fxch	st1
	fucom	st1
	fxch	st1
	fstp	st0
	fnstsw	ax
	sahf
	setae	al
	movzx	eax,al
	cmp	eax,0
	jne	_3244
	push	0
	push	0
	push	1132396544
	fld	dword [_4529]
	mov	eax,dword [ebp+8]
	fadd	dword [eax+128]
	sub	esp,4
	fstp	dword [esp]
	mov	eax,dword [ebp+8]
	push	dword [eax+128]
	sub	esp,4
	fstp	dword [esp]
	call	_bb_Normalize
	add	esp,24
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatToInt
	add	esp,8
	jmp	_3245
_3244:
	push	0
	push	1132396544
	push	0
	fld	dword [_4530]
	mov	eax,dword [ebp+8]
	fsub	dword [eax+128]
	sub	esp,4
	fstp	dword [esp]
	fld	dword [_4531]
	mov	eax,dword [ebp+8]
	fsub	dword [eax+128]
	sub	esp,4
	fstp	dword [esp]
	sub	esp,4
	fstp	dword [esp]
	call	_bb_Normalize
	add	esp,24
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatToInt
	add	esp,8
_3245:
	push	esi
	push	eax
	call	_bb_LinearLight
	add	esp,8
	mov	dword [ebp-12],eax
	push	dword [ebp-8]
	push	dword [ebp-12]
	call	_bb_Overlay
	add	esp,8
	mov	dword [ebp-12],eax
	push	ebx
	push	dword [ebp-12]
	call	_bb_ColorBurn
	add	esp,8
	mov	dword [ebp-12],eax
	push	esi
	mov	eax,dword [ebp+8]
	push	dword [eax+132]
	call	_bb_LinearLight
	add	esp,8
	push	eax
	push	dword [ebp-12]
	call	_bb_Multiply
	add	esp,8
	mov	dword [ebp-12],eax
	push	255
	push	0
	push	dword [ebp-12]
	call	_bb_LimitInt
	add	esp,12
	mov	dword [ebp-12],eax
_3243:
	push	dword [ebp-4]
	mov	eax,dword [ebp+8]
	mov	edx,dword [eax+228]
	mov	eax,dword [ebp-8]
	push	dword [edx+eax*4+24]
	call	_bb_Overlay
	add	esp,8
	mov	edi,eax
	push	dword [ebp-4]
	mov	eax,dword [ebp+8]
	mov	edx,dword [eax+232]
	mov	eax,dword [ebp-8]
	push	dword [edx+eax*4+24]
	call	_bb_Overlay
	add	esp,8
	mov	esi,eax
	push	dword [ebp-4]
	mov	eax,dword [ebp+8]
	mov	edx,dword [eax+236]
	mov	eax,dword [ebp-8]
	push	dword [edx+eax*4+24]
	call	_bb_Overlay
	add	esp,8
	mov	ebx,eax
	mov	eax,dword [ebp+8]
	cmp	dword [eax+132],0
	jle	_3246
	push	edi
	mov	eax,dword [ebp+8]
	mov	edx,dword [eax+252]
	mov	eax,dword [ebp-12]
	push	dword [edx+eax*4+24]
	call	_bb_Screen
	add	esp,8
	mov	edi,eax
	push	esi
	mov	eax,dword [ebp+8]
	mov	edx,dword [eax+256]
	mov	eax,dword [ebp-12]
	push	dword [edx+eax*4+24]
	call	_bb_Screen
	add	esp,8
	mov	esi,eax
	push	ebx
	mov	eax,dword [ebp+8]
	mov	edx,dword [eax+260]
	mov	eax,dword [ebp-12]
	push	dword [edx+eax*4+24]
	call	_bb_Screen
	add	esp,8
	mov	ebx,eax
_3246:
	mov	eax,dword [ebp+8]
	fld	dword [eax+116]
	fldz
	fxch	st1
	fucompp
	fnstsw	ax
	sahf
	seta	al
	movzx	eax,al
	cmp	eax,0
	je	_3247
	mov	edx,dword [ebp+8]
	mov	eax,dword [ebp-8]
	cmp	eax,dword [edx+120]
	setge	al
	movzx	eax,al
_3247:
	cmp	eax,0
	je	_3249
	mov	edx,dword [ebp+8]
	mov	eax,dword [ebp-8]
	cmp	eax,dword [edx+124]
	setle	al
	movzx	eax,al
_3249:
	cmp	eax,0
	je	_3251
	fldz
	sub	esp,8
	fstp	qword [esp]
	fld1
	sub	esp,8
	fstp	qword [esp]
	call	_brl_random_Rnd
	add	esp,16
	fld	dword [_4532]
	mov	eax,dword [ebp+8]
	fsub	dword [eax+116]
	fxch	st1
	fucompp
	fnstsw	ax
	sahf
	seta	al
	movzx	eax,al
_3251:
	cmp	eax,0
	je	_3253
	push	dword [ebp-28]
	push	edi
	call	_bb_LinearDodge
	add	esp,8
	mov	edi,eax
	push	dword [ebp-28]
	push	esi
	call	_bb_LinearDodge
	add	esp,8
	mov	esi,eax
	push	dword [ebp-28]
	push	ebx
	call	_bb_LinearDodge
	add	esp,8
	mov	ebx,eax
_3253:
	push	255
	push	0
	push	edi
	call	_bb_LimitInt
	add	esp,12
	mov	edi,eax
	push	255
	push	0
	push	esi
	call	_bb_LimitInt
	add	esp,12
	mov	esi,eax
	push	255
	push	0
	push	ebx
	call	_bb_LimitInt
	add	esp,12
	mov	ebx,eax
	push	ebx
	push	esi
	push	edi
	push	255
	call	_bb_CombineARGB
	add	esp,16
	push	eax
	push	dword [ebp-20]
	push	dword [ebp-16]
	mov	eax,dword [ebp+8]
	push	dword [eax+392]
	call	_brl_pixmap_WritePixel
	add	esp,16
	mov	eax,dword [ebp+8]
	cmp	dword [eax+132],0
	jle	_3254
	push	dword [ebp-24]
	push	dword [ebp-20]
	push	dword [ebp-16]
	push	dword [ebp-12]
	mov	eax,dword [ebp+8]
	push	dword [eax+372]
	call	_bb_SetBankPixel
	add	esp,20
_3254:
_332:
	add	dword [ebp-16],1
_3240:
	mov	eax,dword [ebp-32]
	cmp	dword [ebp-16],eax
	jle	_334
_333:
_329:
	add	dword [ebp-20],1
_3238:
	mov	eax,dword [ebp-40]
	cmp	dword [ebp-20],eax
	jle	_331
_330:
	mov	eax,0
	jmp	_1343
_1343:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_TPlanet_CreateNightmap:
	push	ebp
	mov	ebp,esp
	sub	esp,36
	push	ebx
	push	esi
	push	edi
	mov	dword [ebp-20],0
	mov	dword [ebp-12],0
	mov	dword [ebp-16],0
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+12]
	mov	dword [ebp-28],eax
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+12]
	cdq
	mov	ebx,eax
	mov	eax,edx
	and	eax,1
	add	ebx,eax
	sar	ebx,1
	mov	eax,dword [ebp+8]
	cmp	dword [eax+396],_bbNullObject
	je	_3267
	mov	esi,_bbNullObject
	inc	dword [esi+4]
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+396]
	dec	dword [eax+4]
	jnz	_3271
	push	eax
	call	_bbGCFree
	add	esp,4
_3271:
	mov	eax,dword [ebp+8]
	mov	dword [eax+396],esi
_3267:
	push	4
	push	4
	push	ebx
	push	dword [ebp-28]
	call	_brl_pixmap_CreatePixmap
	add	esp,16
	mov	esi,eax
	inc	dword [esi+4]
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+396]
	dec	dword [eax+4]
	jnz	_3275
	push	eax
	call	_bbGCFree
	add	esp,4
_3275:
	mov	eax,dword [ebp+8]
	mov	dword [eax+396],esi
	mov	dword [ebp-24],0
	sub	ebx,1
	mov	dword [ebp-36],ebx
	jmp	_3276
_337:
	mov	dword [ebp-8],0
	mov	eax,dword [ebp-28]
	sub	eax,1
	mov	dword [ebp-32],eax
	jmp	_3278
_340:
	push	0
	push	dword [ebp-28]
	push	dword [ebp-24]
	push	dword [ebp-8]
	mov	eax,dword [ebp+8]
	push	dword [eax+384]
	call	_bb_GetBankPixel
	add	esp,20
	mov	esi,eax
	mov	dword [ebp-4],0
	push	0
	push	dword [ebp-28]
	push	dword [ebp-24]
	push	dword [ebp-8]
	mov	eax,dword [ebp+8]
	push	dword [eax+372]
	call	_bb_GetBankPixel
	add	esp,20
	mov	edi,eax
	push	esi
	push	edi
	call	_bb_Multiply
	add	esp,8
	mov	ebx,eax
	push	edi
	push	ebx
	call	_bb_Difference
	add	esp,8
	mov	ebx,eax
	push	edi
	push	ebx
	call	_bb_SoftLight
	add	esp,8
	mov	ebx,eax
	push	dword [ebp-20]
	push	ebx
	call	_bb_Screen
	add	esp,8
	mov	dword [ebp-20],eax
	push	dword [ebp-12]
	push	ebx
	call	_bb_Screen
	add	esp,8
	mov	dword [ebp-12],eax
	push	dword [ebp-16]
	push	ebx
	call	_bb_Screen
	add	esp,8
	mov	dword [ebp-16],eax
	mov	eax,dword [ebp+8]
	cmp	esi,dword [eax+120]
	setge	al
	movzx	eax,al
	cmp	eax,0
	je	_3280
	mov	eax,dword [ebp+8]
	cmp	esi,dword [eax+124]
	setle	al
	movzx	eax,al
_3280:
	cmp	eax,0
	je	_3282
	fldz
	sub	esp,8
	fstp	qword [esp]
	fld1
	sub	esp,8
	fstp	qword [esp]
	call	_brl_random_Rnd
	add	esp,16
	fld	dword [_4545]
	mov	eax,dword [ebp+8]
	fsub	dword [eax+116]
	fxch	st1
	fucompp
	fnstsw	ax
	sahf
	seta	al
	movzx	eax,al
_3282:
	cmp	eax,0
	je	_3284
	cmp	edi,128
	setl	al
	movzx	eax,al
_3284:
	cmp	eax,0
	je	_3286
	push	0
	push	dword [ebp-28]
	push	dword [ebp-24]
	push	dword [ebp-8]
	mov	eax,dword [ebp+8]
	push	dword [eax+376]
	call	_bb_GetBankPixel
	add	esp,20
	mov	ebx,eax
	push	esi
	push	esi
	call	_bb_ColorBurn
	add	esp,8
	push	esi
	push	ebx
	call	_bb_PinLight
	add	esp,8
	mov	dword [ebp-4],eax
_3286:
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+224]
	push	dword [eax+24]
	push	dword [ebp-20]
	call	_bb_Multiply
	add	esp,8
	mov	dword [ebp-20],eax
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+224]
	push	dword [eax+4+24]
	push	dword [ebp-12]
	call	_bb_Multiply
	add	esp,8
	mov	dword [ebp-12],eax
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+224]
	push	dword [eax+8+24]
	push	dword [ebp-16]
	call	_bb_Multiply
	add	esp,8
	mov	dword [ebp-16],eax
	mov	eax,dword [ebp+8]
	mov	edx,dword [eax+240]
	mov	eax,dword [ebp-4]
	push	dword [edx+eax*4+24]
	push	dword [ebp-20]
	call	_bb_Lighten
	add	esp,8
	mov	dword [ebp-20],eax
	mov	eax,dword [ebp+8]
	mov	edx,dword [eax+244]
	mov	eax,dword [ebp-4]
	push	dword [edx+eax*4+24]
	push	dword [ebp-12]
	call	_bb_Lighten
	add	esp,8
	mov	dword [ebp-12],eax
	mov	eax,dword [ebp+8]
	mov	edx,dword [eax+248]
	mov	eax,dword [ebp-4]
	push	dword [edx+eax*4+24]
	push	dword [ebp-16]
	call	_bb_Lighten
	add	esp,8
	mov	dword [ebp-16],eax
	mov	eax,dword [ebp+8]
	cmp	dword [eax+104],1
	jne	_3287
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+224]
	push	dword [eax+24]
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+228]
	push	dword [eax+esi*4+24]
	call	_bb_Glow
	add	esp,8
	mov	dword [ebp-20],eax
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+224]
	push	dword [eax+4+24]
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+232]
	push	dword [eax+esi*4+24]
	call	_bb_Glow
	add	esp,8
	mov	dword [ebp-12],eax
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+224]
	push	dword [eax+8+24]
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+236]
	push	dword [eax+esi*4+24]
	call	_bb_Glow
	add	esp,8
	mov	dword [ebp-16],eax
_3287:
	push	dword [ebp-16]
	push	dword [ebp-12]
	push	dword [ebp-20]
	push	255
	call	_bb_CombineARGB
	add	esp,16
	push	eax
	push	dword [ebp-24]
	push	dword [ebp-8]
	mov	eax,dword [ebp+8]
	push	dword [eax+396]
	call	_brl_pixmap_WritePixel
	add	esp,16
_338:
	add	dword [ebp-8],1
_3278:
	mov	eax,dword [ebp-32]
	cmp	dword [ebp-8],eax
	jle	_340
_339:
_335:
	add	dword [ebp-24],1
_3276:
	mov	eax,dword [ebp-36]
	cmp	dword [ebp-24],eax
	jle	_337
_336:
	mov	eax,0
	jmp	_1346
_1346:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_TPlanet_CreateNightmapMolten:
	push	ebp
	mov	ebp,esp
	sub	esp,28
	push	ebx
	push	esi
	push	edi
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+12]
	mov	dword [ebp-24],eax
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+12]
	cdq
	mov	ebx,eax
	mov	eax,edx
	and	eax,1
	add	ebx,eax
	sar	ebx,1
	mov	eax,dword [ebp+8]
	cmp	dword [eax+396],_bbNullObject
	je	_3297
	mov	esi,_bbNullObject
	inc	dword [esi+4]
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+396]
	dec	dword [eax+4]
	jnz	_3301
	push	eax
	call	_bbGCFree
	add	esp,4
_3301:
	mov	eax,dword [ebp+8]
	mov	dword [eax+396],esi
_3297:
	push	4
	push	4
	push	ebx
	push	dword [ebp-24]
	call	_brl_pixmap_CreatePixmap
	add	esp,16
	mov	esi,eax
	inc	dword [esi+4]
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+396]
	dec	dword [eax+4]
	jnz	_3305
	push	eax
	call	_bbGCFree
	add	esp,4
_3305:
	mov	eax,dword [ebp+8]
	mov	dword [eax+396],esi
	mov	dword [ebp-16],0
	sub	ebx,1
	mov	dword [ebp-28],ebx
	jmp	_3306
_343:
	mov	dword [ebp-12],0
	mov	eax,dword [ebp-24]
	sub	eax,1
	mov	dword [ebp-20],eax
	jmp	_3308
_346:
	push	0
	push	dword [ebp-24]
	push	dword [ebp-16]
	push	dword [ebp-12]
	mov	eax,dword [ebp+8]
	push	dword [eax+384]
	call	_bb_GetBankPixel
	add	esp,20
	mov	esi,eax
	push	0
	push	dword [ebp-24]
	push	dword [ebp-16]
	push	dword [ebp-12]
	mov	eax,dword [ebp+8]
	push	dword [eax+388]
	call	_bb_GetBankPixel
	add	esp,20
	mov	dword [ebp-8],eax
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+228]
	push	dword [eax+esi*4+24]
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+228]
	push	dword [eax+esi*4+24]
	call	_bb_ColorBurn
	add	esp,8
	mov	edi,eax
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+232]
	push	dword [eax+esi*4+24]
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+232]
	push	dword [eax+esi*4+24]
	call	_bb_ColorBurn
	add	esp,8
	mov	ebx,eax
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+236]
	push	dword [eax+esi*4+24]
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+236]
	push	dword [eax+esi*4+24]
	call	_bb_ColorBurn
	add	esp,8
	mov	dword [ebp-4],eax
	push	dword [ebp-8]
	push	edi
	call	_bb_Overlay
	add	esp,8
	mov	edi,eax
	push	dword [ebp-8]
	push	ebx
	call	_bb_Overlay
	add	esp,8
	mov	ebx,eax
	push	dword [ebp-8]
	push	dword [ebp-4]
	call	_bb_Overlay
	add	esp,8
	mov	dword [ebp-4],eax
	mov	eax,255
	sub	eax,esi
	push	eax
	push	edi
	call	_bb_SoftLight
	add	esp,8
	mov	edi,eax
	mov	eax,255
	sub	eax,esi
	push	eax
	push	ebx
	call	_bb_SoftLight
	add	esp,8
	mov	ebx,eax
	mov	eax,255
	sub	eax,esi
	push	eax
	push	dword [ebp-4]
	call	_bb_SoftLight
	add	esp,8
	mov	dword [ebp-4],eax
	push	255
	push	0
	push	edi
	call	_bb_LimitInt
	add	esp,12
	mov	edi,eax
	push	255
	push	0
	push	ebx
	call	_bb_LimitInt
	add	esp,12
	mov	ebx,eax
	push	255
	push	0
	push	dword [ebp-4]
	call	_bb_LimitInt
	add	esp,12
	mov	dword [ebp-4],eax
	push	dword [ebp-4]
	push	ebx
	push	edi
	push	255
	call	_bb_CombineARGB
	add	esp,16
	push	eax
	push	dword [ebp-16]
	push	dword [ebp-12]
	mov	eax,dword [ebp+8]
	push	dword [eax+396]
	call	_brl_pixmap_WritePixel
	add	esp,16
_344:
	add	dword [ebp-12],1
_3308:
	mov	eax,dword [ebp-20]
	cmp	dword [ebp-12],eax
	jle	_346
_345:
_341:
	add	dword [ebp-16],1
_3306:
	mov	eax,dword [ebp-28]
	cmp	dword [ebp-16],eax
	jle	_343
_342:
	mov	eax,0
	jmp	_1349
_1349:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_TPlanet_CreateGradient:
	push	ebp
	mov	ebp,esp
	sub	esp,52
	push	ebx
	push	esi
	push	edi
	mov	edi,dword [ebp+12]
	mov	ebx,dword [ebp+28]
	mov	dword [ebp-28],0
	push	257
	push	_3322
	call	_bbArrayNew1D
	add	esp,8
	mov	dword [ebp-44],eax
	push	257
	push	_3324
	call	_bbArrayNew1D
	add	esp,8
	mov	dword [ebp-36],eax
	push	257
	push	_3326
	call	_bbArrayNew1D
	add	esp,8
	mov	dword [ebp-32],eax
	push	257
	push	_3328
	call	_bbArrayNew1D
	add	esp,8
	mov	dword [ebp-40],eax
	cmp	ebx,0
	je	_3330
	mov	ebx,dword [ebp+20]
	jmp	_3331
_349:
	push	dword [ebp+16]
	push	_2837
	mov	eax,dword [ebp+20]
	sub	eax,ebx
	add	eax,1
	push	eax
	call	_bbStringFromInt
	add	esp,4
	push	eax
	push	_350
	call	_bbStringConcat
	add	esp,8
	push	eax
	push	_16
	push	edi
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bb_GetINI
	add	esp,16
	push	_259
	push	eax
	call	_bb_Split
	add	esp,8
	fld	qword [_4560]
	fstp	qword [ebp-8]
	mov	eax,dword [_bb_Splitted]
	push	dword [eax+4+24]
	call	_bbStringToFloat
	add	esp,4
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloor
	add	esp,8
	fld	qword [ebp-8]
	fsubrp	st1,st0
	fstp	qword [ebp-8]
	fld	qword [ebp-8]
	mov	eax,dword [ebp-44]
	fstp	dword [eax+ebx*4+24]
	mov	eax,dword [_bb_Splitted]
	push	dword [eax+8+24]
	call	_bbStringToInt
	add	esp,4
	mov	edx,dword [ebp-36]
	mov	dword [edx+ebx*4+24],eax
	mov	eax,dword [_bb_Splitted]
	push	dword [eax+12+24]
	call	_bbStringToInt
	add	esp,4
	mov	edx,dword [ebp-32]
	mov	dword [edx+ebx*4+24],eax
	mov	eax,dword [_bb_Splitted]
	push	dword [eax+16+24]
	call	_bbStringToInt
	add	esp,4
	mov	edx,dword [ebp-40]
	mov	dword [edx+ebx*4+24],eax
_347:
	add	ebx,-1
_3331:
	cmp	ebx,1
	jge	_349
_348:
	jmp	_3332
_3330:
	mov	ebx,1
	mov	esi,dword [ebp+20]
	jmp	_3333
_353:
	push	dword [ebp+16]
	push	_2837
	push	ebx
	call	_bbStringFromInt
	add	esp,4
	push	eax
	push	_350
	call	_bbStringConcat
	add	esp,8
	push	eax
	push	_16
	push	edi
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bb_GetINI
	add	esp,16
	push	_259
	push	eax
	call	_bb_Split
	add	esp,8
	mov	eax,dword [_bb_Splitted]
	push	dword [eax+4+24]
	call	_bbStringToFloat
	add	esp,4
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloor
	add	esp,8
	mov	eax,dword [ebp-44]
	fstp	dword [eax+ebx*4+24]
	mov	eax,dword [_bb_Splitted]
	push	dword [eax+8+24]
	call	_bbStringToInt
	add	esp,4
	mov	edx,dword [ebp-36]
	mov	dword [edx+ebx*4+24],eax
	mov	eax,dword [_bb_Splitted]
	push	dword [eax+12+24]
	call	_bbStringToInt
	add	esp,4
	mov	edx,dword [ebp-32]
	mov	dword [edx+ebx*4+24],eax
	mov	eax,dword [_bb_Splitted]
	push	dword [eax+16+24]
	call	_bbStringToInt
	add	esp,4
	mov	edx,dword [ebp-40]
	mov	dword [edx+ebx*4+24],eax
_351:
	add	ebx,1
_3333:
	cmp	ebx,esi
	jle	_353
_352:
_3332:
	jmp	_354
_356:
	mov	edx,dword [ebp-28]
	mov	eax,dword [ebp-44]
	fld	dword [eax+edx*4+24]
	mov	eax,dword [ebp+24]
	mov	dword [ebp+-52],eax
	fild	dword [ebp+-52]
	fmulp	st1,st0
	fmul	dword [_4561]
	fdiv	dword [_4562]
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatToInt
	add	esp,8
	mov	edi,eax
	mov	edx,dword [ebp-28]
	add	edx,1
	mov	eax,dword [ebp-44]
	fld	dword [eax+edx*4+24]
	mov	eax,dword [ebp+24]
	mov	dword [ebp+-52],eax
	fild	dword [ebp+-52]
	fmulp	st1,st0
	fmul	dword [_4563]
	fdiv	dword [_4564]
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatToInt
	add	esp,8
	cmp	edi,256
	jle	_3335
	mov	edi,256
_3335:
	cmp	eax,256
	jle	_3336
	mov	eax,256
_3336:
	sub	eax,edi
	mov	ecx,dword [ebp-28]
	mov	edx,dword [ebp-36]
	mov	ebx,dword [edx+ecx*4+24]
	mov	ecx,dword [ebp-28]
	add	ecx,1
	mov	edx,dword [ebp-36]
	sub	ebx,dword [edx+ecx*4+24]
	mov	dword [ebp-48],ebx
	mov	ecx,dword [ebp-28]
	mov	edx,dword [ebp-32]
	mov	edx,dword [edx+ecx*4+24]
	mov	ebx,dword [ebp-28]
	add	ebx,1
	mov	ecx,dword [ebp-32]
	sub	edx,dword [ecx+ebx*4+24]
	mov	esi,edx
	mov	ecx,dword [ebp-28]
	mov	edx,dword [ebp-40]
	mov	ebx,dword [edx+ecx*4+24]
	mov	ecx,dword [ebp-28]
	add	ecx,1
	mov	edx,dword [ebp-40]
	sub	ebx,dword [edx+ecx*4+24]
	mov	edx,ebx
	mov	ecx,dword [ebp-48]
	mov	dword [ebp+-52],ecx
	fild	dword [ebp+-52]
	fmul	dword [_4565]
	mov	dword [ebp+-52],eax
	fild	dword [ebp+-52]
	fdivp	st1,st0
	fstp	dword [ebp-16]
	mov	dword [ebp+-52],esi
	fild	dword [ebp+-52]
	fmul	dword [_4566]
	mov	dword [ebp+-52],eax
	fild	dword [ebp+-52]
	fdivp	st1,st0
	fstp	dword [ebp-12]
	mov	dword [ebp+-52],edx
	fild	dword [ebp+-52]
	fmul	dword [_4567]
	mov	dword [ebp+-52],eax
	fild	dword [ebp+-52]
	fdivp	st1,st0
	fstp	dword [ebp-20]
	mov	ebx,0
	mov	dword [ebp-24],eax
	jmp	_3337
_359:
	mov	esi,edi
	add	esi,ebx
	mov	edx,dword [ebp-28]
	mov	eax,dword [ebp-36]
	mov	eax,dword [eax+edx*4+24]
	mov	dword [ebp+-52],eax
	fild	dword [ebp+-52]
	fld	dword [ebp-16]
	mov	dword [ebp+-52],ebx
	fild	dword [ebp+-52]
	fmulp	st1,st0
	fsubp	st1,st0
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatToInt
	add	esp,8
	mov	edx,dword [ebp+32]
	mov	dword [edx+esi*4+24],eax
	mov	esi,edi
	add	esi,ebx
	mov	edx,dword [ebp-28]
	mov	eax,dword [ebp-32]
	mov	eax,dword [eax+edx*4+24]
	mov	dword [ebp+-52],eax
	fild	dword [ebp+-52]
	fld	dword [ebp-12]
	mov	dword [ebp+-52],ebx
	fild	dword [ebp+-52]
	fmulp	st1,st0
	fsubp	st1,st0
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatToInt
	add	esp,8
	mov	edx,dword [ebp+36]
	mov	dword [edx+esi*4+24],eax
	mov	esi,edi
	add	esi,ebx
	mov	edx,dword [ebp-28]
	mov	eax,dword [ebp-40]
	mov	eax,dword [eax+edx*4+24]
	mov	dword [ebp+-52],eax
	fild	dword [ebp+-52]
	fld	dword [ebp-20]
	mov	dword [ebp+-52],ebx
	fild	dword [ebp+-52]
	fmulp	st1,st0
	fsubp	st1,st0
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatToInt
	add	esp,8
	mov	edx,dword [ebp+40]
	mov	dword [edx+esi*4+24],eax
_357:
	add	ebx,1
_3337:
	cmp	ebx,dword [ebp-24]
	jle	_359
_358:
	add	dword [ebp-28],1
_354:
	mov	eax,dword [ebp+20]
	cmp	dword [ebp-28],eax
	jl	_356
_355:
	mov	eax,0
	jmp	_1360
_1360:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_TDust_New:
	push	ebp
	mov	ebp,esp
	push	ebx
	mov	ebx,dword [ebp+8]
	push	ebx
	call	_bbObjectCtor
	add	esp,4
	mov	dword [ebx],_bb_TDust
	fldz
	fstp	dword [ebx+8]
	fldz
	fstp	dword [ebx+12]
	fldz
	fstp	dword [ebx+16]
	push	ebx
	push	dword [__bb_TDust_List]
	call	_brl_linkedlist_ListAddLast
	add	esp,8
	mov	eax,0
	jmp	_1363
_1363:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_TDust_Delete:
	push	ebp
	mov	ebp,esp
_1366:
	mov	eax,0
	jmp	_3339
_3339:
	mov	esp,ebp
	pop	ebp
	ret
__bb_TDust_Add:
	push	ebp
	mov	ebp,esp
	push	_bb_TDust
	call	_bbObjectNew
	add	esp,4
	fld	dword [ebp+8]
	fstp	dword [eax+8]
	fld	dword [ebp+12]
	fstp	dword [eax+12]
	fld	dword [ebp+16]
	fstp	dword [eax+16]
	mov	eax,0
	jmp	_1371
_1371:
	mov	esp,ebp
	pop	ebp
	ret
	section	"data" data writeable align 8
	align	4
_1745:
	dd	0
	align	4
_1419:
_168:
	dd	_bbIntTypeTag
	dd	151
	dd	_bbIntTypeTag
	dd	160
	dd	_bbIntTypeTag
	dd	137
	dd	_bbIntTypeTag
	dd	91
	dd	_bbIntTypeTag
	dd	90
	dd	_bbIntTypeTag
	dd	15
	dd	_bbIntTypeTag
	dd	131
	dd	_bbIntTypeTag
	dd	13
	dd	_bbIntTypeTag
	dd	201
	dd	_bbIntTypeTag
	dd	95
	dd	_bbIntTypeTag
	dd	96
	dd	_bbIntTypeTag
	dd	53
	dd	_bbIntTypeTag
	dd	194
	dd	_bbIntTypeTag
	dd	233
	dd	_bbIntTypeTag
	dd	7
	dd	_bbIntTypeTag
	dd	225
	dd	_bbIntTypeTag
	dd	140
	dd	_bbIntTypeTag
	dd	36
	dd	_bbIntTypeTag
	dd	103
	dd	_bbIntTypeTag
	dd	30
	dd	_bbIntTypeTag
	dd	69
	dd	_bbIntTypeTag
	dd	142
	dd	_bbIntTypeTag
	dd	8
	dd	_bbIntTypeTag
	dd	99
	dd	_bbIntTypeTag
	dd	37
	dd	_bbIntTypeTag
	dd	240
	dd	_bbIntTypeTag
	dd	21
	dd	_bbIntTypeTag
	dd	10
	dd	_bbIntTypeTag
	dd	23
	dd	_bbIntTypeTag
	dd	190
	dd	_bbIntTypeTag
	dd	6
	dd	_bbIntTypeTag
	dd	148
	dd	_bbIntTypeTag
	dd	247
	dd	_bbIntTypeTag
	dd	120
	dd	_bbIntTypeTag
	dd	234
	dd	_bbIntTypeTag
	dd	75
	dd	_bbIntTypeTag
	dd	0
	dd	_bbIntTypeTag
	dd	26
	dd	_bbIntTypeTag
	dd	197
	dd	_bbIntTypeTag
	dd	62
	dd	_bbIntTypeTag
	dd	94
	dd	_bbIntTypeTag
	dd	252
	dd	_bbIntTypeTag
	dd	219
	dd	_bbIntTypeTag
	dd	203
	dd	_bbIntTypeTag
	dd	117
	dd	_bbIntTypeTag
	dd	35
	dd	_bbIntTypeTag
	dd	11
	dd	_bbIntTypeTag
	dd	32
	dd	_bbIntTypeTag
	dd	57
	dd	_bbIntTypeTag
	dd	177
	dd	_bbIntTypeTag
	dd	33
	dd	_bbIntTypeTag
	dd	88
	dd	_bbIntTypeTag
	dd	237
	dd	_bbIntTypeTag
	dd	149
	dd	_bbIntTypeTag
	dd	56
	dd	_bbIntTypeTag
	dd	87
	dd	_bbIntTypeTag
	dd	174
	dd	_bbIntTypeTag
	dd	20
	dd	_bbIntTypeTag
	dd	125
	dd	_bbIntTypeTag
	dd	136
	dd	_bbIntTypeTag
	dd	171
	dd	_bbIntTypeTag
	dd	168
	dd	_bbIntTypeTag
	dd	68
	dd	_bbIntTypeTag
	dd	175
	dd	_bbIntTypeTag
	dd	74
	dd	_bbIntTypeTag
	dd	165
	dd	_bbIntTypeTag
	dd	71
	dd	_bbIntTypeTag
	dd	134
	dd	_bbIntTypeTag
	dd	139
	dd	_bbIntTypeTag
	dd	48
	dd	_bbIntTypeTag
	dd	27
	dd	_bbIntTypeTag
	dd	166
	dd	_bbIntTypeTag
	dd	77
	dd	_bbIntTypeTag
	dd	146
	dd	_bbIntTypeTag
	dd	158
	dd	_bbIntTypeTag
	dd	231
	dd	_bbIntTypeTag
	dd	83
	dd	_bbIntTypeTag
	dd	111
	dd	_bbIntTypeTag
	dd	229
	dd	_bbIntTypeTag
	dd	122
	dd	_bbIntTypeTag
	dd	60
	dd	_bbIntTypeTag
	dd	211
	dd	_bbIntTypeTag
	dd	133
	dd	_bbIntTypeTag
	dd	230
	dd	_bbIntTypeTag
	dd	220
	dd	_bbIntTypeTag
	dd	105
	dd	_bbIntTypeTag
	dd	92
	dd	_bbIntTypeTag
	dd	41
	dd	_bbIntTypeTag
	dd	55
	dd	_bbIntTypeTag
	dd	46
	dd	_bbIntTypeTag
	dd	245
	dd	_bbIntTypeTag
	dd	40
	dd	_bbIntTypeTag
	dd	244
	dd	_bbIntTypeTag
	dd	102
	dd	_bbIntTypeTag
	dd	143
	dd	_bbIntTypeTag
	dd	54
	dd	_bbIntTypeTag
	dd	65
	dd	_bbIntTypeTag
	dd	25
	dd	_bbIntTypeTag
	dd	63
	dd	_bbIntTypeTag
	dd	161
	dd	_bbIntTypeTag
	dd	1
	dd	_bbIntTypeTag
	dd	216
	dd	_bbIntTypeTag
	dd	80
	dd	_bbIntTypeTag
	dd	73
	dd	_bbIntTypeTag
	dd	209
	dd	_bbIntTypeTag
	dd	76
	dd	_bbIntTypeTag
	dd	132
	dd	_bbIntTypeTag
	dd	187
	dd	_bbIntTypeTag
	dd	208
	dd	_bbIntTypeTag
	dd	89
	dd	_bbIntTypeTag
	dd	18
	dd	_bbIntTypeTag
	dd	169
	dd	_bbIntTypeTag
	dd	200
	dd	_bbIntTypeTag
	dd	196
	dd	_bbIntTypeTag
	dd	135
	dd	_bbIntTypeTag
	dd	130
	dd	_bbIntTypeTag
	dd	116
	dd	_bbIntTypeTag
	dd	188
	dd	_bbIntTypeTag
	dd	159
	dd	_bbIntTypeTag
	dd	86
	dd	_bbIntTypeTag
	dd	164
	dd	_bbIntTypeTag
	dd	100
	dd	_bbIntTypeTag
	dd	109
	dd	_bbIntTypeTag
	dd	198
	dd	_bbIntTypeTag
	dd	173
	dd	_bbIntTypeTag
	dd	186
	dd	_bbIntTypeTag
	dd	3
	dd	_bbIntTypeTag
	dd	64
	dd	_bbIntTypeTag
	dd	52
	dd	_bbIntTypeTag
	dd	217
	dd	_bbIntTypeTag
	dd	226
	dd	_bbIntTypeTag
	dd	250
	dd	_bbIntTypeTag
	dd	124
	dd	_bbIntTypeTag
	dd	123
	dd	_bbIntTypeTag
	dd	5
	dd	_bbIntTypeTag
	dd	202
	dd	_bbIntTypeTag
	dd	38
	dd	_bbIntTypeTag
	dd	147
	dd	_bbIntTypeTag
	dd	118
	dd	_bbIntTypeTag
	dd	126
	dd	_bbIntTypeTag
	dd	255
	dd	_bbIntTypeTag
	dd	82
	dd	_bbIntTypeTag
	dd	85
	dd	_bbIntTypeTag
	dd	212
	dd	_bbIntTypeTag
	dd	207
	dd	_bbIntTypeTag
	dd	206
	dd	_bbIntTypeTag
	dd	59
	dd	_bbIntTypeTag
	dd	227
	dd	_bbIntTypeTag
	dd	47
	dd	_bbIntTypeTag
	dd	16
	dd	_bbIntTypeTag
	dd	58
	dd	_bbIntTypeTag
	dd	17
	dd	_bbIntTypeTag
	dd	182
	dd	_bbIntTypeTag
	dd	189
	dd	_bbIntTypeTag
	dd	28
	dd	_bbIntTypeTag
	dd	42
	dd	_bbIntTypeTag
	dd	223
	dd	_bbIntTypeTag
	dd	183
	dd	_bbIntTypeTag
	dd	170
	dd	_bbIntTypeTag
	dd	213
	dd	_bbIntTypeTag
	dd	119
	dd	_bbIntTypeTag
	dd	248
	dd	_bbIntTypeTag
	dd	152
	dd	_bbIntTypeTag
	dd	2
	dd	_bbIntTypeTag
	dd	44
	dd	_bbIntTypeTag
	dd	154
	dd	_bbIntTypeTag
	dd	163
	dd	_bbIntTypeTag
	dd	70
	dd	_bbIntTypeTag
	dd	221
	dd	_bbIntTypeTag
	dd	153
	dd	_bbIntTypeTag
	dd	101
	dd	_bbIntTypeTag
	dd	155
	dd	_bbIntTypeTag
	dd	167
	dd	_bbIntTypeTag
	dd	43
	dd	_bbIntTypeTag
	dd	172
	dd	_bbIntTypeTag
	dd	9
	dd	_bbIntTypeTag
	dd	129
	dd	_bbIntTypeTag
	dd	22
	dd	_bbIntTypeTag
	dd	39
	dd	_bbIntTypeTag
	dd	253
	dd	_bbIntTypeTag
	dd	19
	dd	_bbIntTypeTag
	dd	98
	dd	_bbIntTypeTag
	dd	108
	dd	_bbIntTypeTag
	dd	110
	dd	_bbIntTypeTag
	dd	79
	dd	_bbIntTypeTag
	dd	113
	dd	_bbIntTypeTag
	dd	224
	dd	_bbIntTypeTag
	dd	232
	dd	_bbIntTypeTag
	dd	178
	dd	_bbIntTypeTag
	dd	185
	dd	_bbIntTypeTag
	dd	112
	dd	_bbIntTypeTag
	dd	104
	dd	_bbIntTypeTag
	dd	218
	dd	_bbIntTypeTag
	dd	246
	dd	_bbIntTypeTag
	dd	97
	dd	_bbIntTypeTag
	dd	228
	dd	_bbIntTypeTag
	dd	251
	dd	_bbIntTypeTag
	dd	34
	dd	_bbIntTypeTag
	dd	242
	dd	_bbIntTypeTag
	dd	193
	dd	_bbIntTypeTag
	dd	238
	dd	_bbIntTypeTag
	dd	210
	dd	_bbIntTypeTag
	dd	144
	dd	_bbIntTypeTag
	dd	12
	dd	_bbIntTypeTag
	dd	191
	dd	_bbIntTypeTag
	dd	179
	dd	_bbIntTypeTag
	dd	162
	dd	_bbIntTypeTag
	dd	241
	dd	_bbIntTypeTag
	dd	81
	dd	_bbIntTypeTag
	dd	51
	dd	_bbIntTypeTag
	dd	145
	dd	_bbIntTypeTag
	dd	235
	dd	_bbIntTypeTag
	dd	249
	dd	_bbIntTypeTag
	dd	14
	dd	_bbIntTypeTag
	dd	239
	dd	_bbIntTypeTag
	dd	107
	dd	_bbIntTypeTag
	dd	49
	dd	_bbIntTypeTag
	dd	192
	dd	_bbIntTypeTag
	dd	214
	dd	_bbIntTypeTag
	dd	31
	dd	_bbIntTypeTag
	dd	181
	dd	_bbIntTypeTag
	dd	199
	dd	_bbIntTypeTag
	dd	106
	dd	_bbIntTypeTag
	dd	157
	dd	_bbIntTypeTag
	dd	184
	dd	_bbIntTypeTag
	dd	84
	dd	_bbIntTypeTag
	dd	204
	dd	_bbIntTypeTag
	dd	176
	dd	_bbIntTypeTag
	dd	115
	dd	_bbIntTypeTag
	dd	121
	dd	_bbIntTypeTag
	dd	50
	dd	_bbIntTypeTag
	dd	45
	dd	_bbIntTypeTag
	dd	127
	dd	_bbIntTypeTag
	dd	4
	dd	_bbIntTypeTag
	dd	150
	dd	_bbIntTypeTag
	dd	254
	dd	_bbIntTypeTag
	dd	138
	dd	_bbIntTypeTag
	dd	236
	dd	_bbIntTypeTag
	dd	205
	dd	_bbIntTypeTag
	dd	93
	dd	_bbIntTypeTag
	dd	222
	dd	_bbIntTypeTag
	dd	114
	dd	_bbIntTypeTag
	dd	67
	dd	_bbIntTypeTag
	dd	29
	dd	_bbIntTypeTag
	dd	24
	dd	_bbIntTypeTag
	dd	72
	dd	_bbIntTypeTag
	dd	243
	dd	_bbIntTypeTag
	dd	141
	dd	_bbIntTypeTag
	dd	128
	dd	_bbIntTypeTag
	dd	195
	dd	_bbIntTypeTag
	dd	78
	dd	_bbIntTypeTag
	dd	66
	dd	_bbIntTypeTag
	dd	215
	dd	_bbIntTypeTag
	dd	61
	dd	_bbIntTypeTag
	dd	156
	dd	_bbIntTypeTag
	dd	180
	dd	0
	align	4
_1418:
	dd	0
_444:
	db	"PixTBrush",0
_445:
	db	"New",0
_446:
	db	"()i",0
_447:
	db	"Delete",0
_448:
	db	"LoadBrushPixmap",0
_449:
	db	"(:brl.pixmap.TPixmap,i,f,f):sidesign.minib3d.TBrush",0
	align	4
_443:
	dd	2
	dd	_444
	dd	6
	dd	_445
	dd	_446
	dd	16
	dd	6
	dd	_447
	dd	_446
	dd	20
	dd	7
	dd	_448
	dd	_449
	dd	100
	dd	0
	align	4
_bb_PixTBrush:
	dd	_sidesign_minib3d_TBrush
	dd	_bbObjectFree
	dd	_443
	dd	52
	dd	__bb_PixTBrush_New
	dd	__bb_PixTBrush_Delete
	dd	_bbObjectToString
	dd	_bbObjectCompare
	dd	_bbObjectSendMessage
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	__sidesign_minib3d_TBrush_Copy
	dd	__sidesign_minib3d_TBrush_FreeBrush
	dd	__sidesign_minib3d_TBrush_CreateBrush
	dd	__sidesign_minib3d_TBrush_LoadBrush
	dd	__sidesign_minib3d_TBrush_BrushColor
	dd	__sidesign_minib3d_TBrush_BrushAlpha
	dd	__sidesign_minib3d_TBrush_BrushShininess
	dd	__sidesign_minib3d_TBrush_BrushTexture
	dd	__sidesign_minib3d_TBrush_BrushBlend
	dd	__sidesign_minib3d_TBrush_BrushFX
	dd	__sidesign_minib3d_TBrush_GetEntityBrush
	dd	__sidesign_minib3d_TBrush_GetSurfaceBrush
	dd	__sidesign_minib3d_TBrush_CompareBrushes
	dd	__bb_PixTBrush_LoadBrushPixmap
_451:
	db	"PixTTexture",0
_452:
	db	"LoadTexturePixMap",0
_453:
	db	"(:brl.pixmap.TPixmap,i,:sidesign.minib3d.TTexture):sidesign.minib3d.TTexture",0
_454:
	db	"LoadAnimTexturePixMap",0
_455:
	db	"(:brl.pixmap.TPixmap,i,i,i,i,i,:sidesign.minib3d.TTexture):sidesign.minib3d.TTexture",0
	align	4
_450:
	dd	2
	dd	_451
	dd	6
	dd	_445
	dd	_446
	dd	16
	dd	6
	dd	_447
	dd	_446
	dd	20
	dd	7
	dd	_452
	dd	_453
	dd	168
	dd	7
	dd	_454
	dd	_455
	dd	172
	dd	0
	align	4
_bb_PixTTexture:
	dd	_sidesign_minib3d_TTexture
	dd	_bbObjectFree
	dd	_450
	dd	84
	dd	__bb_PixTTexture_New
	dd	__bb_PixTTexture_Delete
	dd	_bbObjectToString
	dd	_bbObjectCompare
	dd	_bbObjectSendMessage
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	__sidesign_minib3d_TTexture_FreeTexture
	dd	__sidesign_minib3d_TTexture_CreateTexture
	dd	__sidesign_minib3d_TTexture_LoadTexture
	dd	__sidesign_minib3d_TTexture_LoadAnimTexture
	dd	__sidesign_minib3d_TTexture_CreateCubeMapTexture
	dd	__sidesign_minib3d_TTexture_LoadCubeMapTexture
	dd	__sidesign_minib3d_TTexture_TextureBlend
	dd	__sidesign_minib3d_TTexture_TextureCoords
	dd	__sidesign_minib3d_TTexture_ScaleTexture
	dd	__sidesign_minib3d_TTexture_PositionTexture
	dd	__sidesign_minib3d_TTexture_RotateTexture
	dd	__sidesign_minib3d_TTexture_TextureWidth
	dd	__sidesign_minib3d_TTexture_TextureHeight
	dd	__sidesign_minib3d_TTexture_TextureName
	dd	__sidesign_minib3d_TTexture_GetBrushTexture
	dd	__sidesign_minib3d_TTexture_ClearTextureFilters
	dd	__sidesign_minib3d_TTexture_TextureFilter
	dd	__sidesign_minib3d_TTexture_SetCubeFace
	dd	__sidesign_minib3d_TTexture_SetCubeMode
	dd	__sidesign_minib3d_TTexture_BackBufferToTex
	dd	__sidesign_minib3d_TTexture_CountMipmaps
	dd	__sidesign_minib3d_TTexture_MipmapWidth
	dd	__sidesign_minib3d_TTexture_MipmapHeight
	dd	__sidesign_minib3d_TTexture_FileFind
	dd	__sidesign_minib3d_TTexture_FileAbs
	dd	__sidesign_minib3d_TTexture_TexInList
	dd	__sidesign_minib3d_TTexture_FilterFlags
	dd	__sidesign_minib3d_TTexture_AdjustPixmap
	dd	__sidesign_minib3d_TTexture_Pow2Size
	dd	__sidesign_minib3d_TTexture_ApplyAlpha
	dd	__bb_PixTTexture_LoadTexturePixMap
	dd	__bb_PixTTexture_LoadAnimTexturePixMap
	align	4
_1374:
	dd	0
	align	4
__bb_TAsteroid_List:
	dd	_bbNullObject
_457:
	db	"TAsteroid",0
_458:
	db	"x",0
_459:
	db	"f",0
_460:
	db	"y",0
_461:
	db	"z",0
_462:
	db	"dx",0
_463:
	db	"dy",0
_464:
	db	"dz",0
_465:
	db	"rotation",0
_466:
	db	"rotationspeed",0
_467:
	db	"R",0
_468:
	db	"i",0
_469:
	db	"G",0
_470:
	db	"B",0
_471:
	db	"A",0
_472:
	db	"scale",0
_473:
	db	"v",0
_474:
	db	"id",0
_475:
	db	"mesh",0
_476:
	db	":sidesign.minib3d.TMesh",0
_477:
	db	"surf",0
_478:
	db	":sidesign.minib3d.TSurface",0
_479:
	db	"d",0
_480:
	db	"updated",0
_481:
	db	"updatedist",0
_482:
	db	"updatenorm",0
_483:
	db	"hidden",0
_484:
	db	"VX0",0
_485:
	db	"VX1",0
_486:
	db	"VX2",0
_487:
	db	"VX3",0
_488:
	db	"VY0",0
_489:
	db	"VY1",0
_490:
	db	"VY2",0
_491:
	db	"VY3",0
_492:
	db	"VZ0",0
_493:
	db	"VZ1",0
_494:
	db	"VZ2",0
_495:
	db	"VZ3",0
_496:
	db	"Add",0
_497:
	db	"Hide",0
_498:
	db	"Update",0
_499:
	db	"(i)i",0
_500:
	db	"RecalcNormals",0
	align	4
_456:
	dd	2
	dd	_457
	dd	3
	dd	_458
	dd	_459
	dd	8
	dd	3
	dd	_460
	dd	_459
	dd	12
	dd	3
	dd	_461
	dd	_459
	dd	16
	dd	3
	dd	_462
	dd	_459
	dd	20
	dd	3
	dd	_463
	dd	_459
	dd	24
	dd	3
	dd	_464
	dd	_459
	dd	28
	dd	3
	dd	_465
	dd	_459
	dd	32
	dd	3
	dd	_466
	dd	_459
	dd	36
	dd	3
	dd	_467
	dd	_468
	dd	40
	dd	3
	dd	_469
	dd	_468
	dd	44
	dd	3
	dd	_470
	dd	_468
	dd	48
	dd	3
	dd	_471
	dd	_459
	dd	52
	dd	3
	dd	_472
	dd	_459
	dd	56
	dd	3
	dd	_473
	dd	_468
	dd	60
	dd	3
	dd	_474
	dd	_468
	dd	64
	dd	3
	dd	_475
	dd	_476
	dd	68
	dd	3
	dd	_477
	dd	_478
	dd	72
	dd	3
	dd	_479
	dd	_459
	dd	76
	dd	3
	dd	_480
	dd	_468
	dd	80
	dd	3
	dd	_481
	dd	_468
	dd	84
	dd	3
	dd	_482
	dd	_468
	dd	88
	dd	3
	dd	_483
	dd	_468
	dd	92
	dd	3
	dd	_484
	dd	_459
	dd	96
	dd	3
	dd	_485
	dd	_459
	dd	100
	dd	3
	dd	_486
	dd	_459
	dd	104
	dd	3
	dd	_487
	dd	_459
	dd	108
	dd	3
	dd	_488
	dd	_459
	dd	112
	dd	3
	dd	_489
	dd	_459
	dd	116
	dd	3
	dd	_490
	dd	_459
	dd	120
	dd	3
	dd	_491
	dd	_459
	dd	124
	dd	3
	dd	_492
	dd	_459
	dd	128
	dd	3
	dd	_493
	dd	_459
	dd	132
	dd	3
	dd	_494
	dd	_459
	dd	136
	dd	3
	dd	_495
	dd	_459
	dd	140
	dd	6
	dd	_445
	dd	_446
	dd	16
	dd	6
	dd	_447
	dd	_446
	dd	20
	dd	6
	dd	_496
	dd	_446
	dd	48
	dd	6
	dd	_497
	dd	_446
	dd	52
	dd	6
	dd	_498
	dd	_499
	dd	56
	dd	6
	dd	_500
	dd	_446
	dd	60
	dd	0
	align	4
_bb_TAsteroid:
	dd	_bbObjectClass
	dd	_bbObjectFree
	dd	_456
	dd	144
	dd	__bb_TAsteroid_New
	dd	__bb_TAsteroid_Delete
	dd	_bbObjectToString
	dd	_bbObjectCompare
	dd	_bbObjectSendMessage
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	__bb_TAsteroid_Add
	dd	__bb_TAsteroid_Hide
	dd	__bb_TAsteroid_Update
	dd	__bb_TAsteroid_RecalcNormals
	align	4
__bb_TInfo_List:
	dd	_bbNullObject
_502:
	db	"TInfo",0
_503:
	db	"output",0
_504:
	db	"$",0
_505:
	db	"Remove",0
_506:
	db	"($,i)i",0
_507:
	db	"(i,i,i,i,i,i,i)i",0
	align	4
_501:
	dd	2
	dd	_502
	dd	3
	dd	_503
	dd	_504
	dd	8
	dd	3
	dd	_472
	dd	_468
	dd	12
	dd	6
	dd	_445
	dd	_446
	dd	16
	dd	6
	dd	_447
	dd	_446
	dd	20
	dd	6
	dd	_505
	dd	_446
	dd	48
	dd	6
	dd	_496
	dd	_506
	dd	52
	dd	6
	dd	_498
	dd	_507
	dd	56
	dd	0
	align	4
_bb_TInfo:
	dd	_bbObjectClass
	dd	_bbObjectFree
	dd	_501
	dd	16
	dd	__bb_TInfo_New
	dd	__bb_TInfo_Delete
	dd	_bbObjectToString
	dd	_bbObjectCompare
	dd	_bbObjectSendMessage
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	__bb_TInfo_Remove
	dd	__bb_TInfo_Add
	dd	__bb_TInfo_Update
	align	4
__bb_TParticle_List:
	dd	_bbNullObject
_509:
	db	"TParticle",0
_510:
	db	"s",0
_511:
	db	"sprite",0
_512:
	db	":sidesign.minib3d.TSprite",0
_513:
	db	"category",0
_514:
	db	"dist",0
_515:
	db	"speed",0
_516:
	db	"tx",0
_517:
	db	"ty",0
_518:
	db	"tz",0
_519:
	db	"sx",0
_520:
	db	"sy",0
_521:
	db	"sz",0
_522:
	db	"pitch",0
_523:
	db	"yaw",0
_524:
	db	"roll",0
	align	4
_508:
	dd	2
	dd	_509
	dd	3
	dd	_458
	dd	_459
	dd	8
	dd	3
	dd	_460
	dd	_459
	dd	12
	dd	3
	dd	_461
	dd	_459
	dd	16
	dd	3
	dd	_462
	dd	_459
	dd	20
	dd	3
	dd	_463
	dd	_459
	dd	24
	dd	3
	dd	_464
	dd	_459
	dd	28
	dd	3
	dd	_510
	dd	_459
	dd	32
	dd	3
	dd	_467
	dd	_468
	dd	36
	dd	3
	dd	_469
	dd	_468
	dd	40
	dd	3
	dd	_470
	dd	_468
	dd	44
	dd	3
	dd	_471
	dd	_459
	dd	48
	dd	3
	dd	_511
	dd	_512
	dd	52
	dd	3
	dd	_513
	dd	_504
	dd	56
	dd	3
	dd	_514
	dd	_459
	dd	60
	dd	3
	dd	_515
	dd	_459
	dd	64
	dd	3
	dd	_474
	dd	_468
	dd	68
	dd	3
	dd	_516
	dd	_459
	dd	72
	dd	3
	dd	_517
	dd	_459
	dd	76
	dd	3
	dd	_518
	dd	_459
	dd	80
	dd	3
	dd	_519
	dd	_459
	dd	84
	dd	3
	dd	_520
	dd	_459
	dd	88
	dd	3
	dd	_521
	dd	_459
	dd	92
	dd	3
	dd	_522
	dd	_459
	dd	96
	dd	3
	dd	_523
	dd	_459
	dd	100
	dd	3
	dd	_524
	dd	_459
	dd	104
	dd	6
	dd	_445
	dd	_446
	dd	16
	dd	6
	dd	_447
	dd	_446
	dd	20
	dd	6
	dd	_505
	dd	_446
	dd	48
	dd	0
	align	4
_bb_TParticle:
	dd	_bbObjectClass
	dd	_bbObjectFree
	dd	_508
	dd	108
	dd	__bb_TParticle_New
	dd	__bb_TParticle_Delete
	dd	_bbObjectToString
	dd	_bbObjectCompare
	dd	_bbObjectSendMessage
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	__bb_TParticle_Remove
	align	4
__bb_TShot_List:
	dd	_bbNullObject
_526:
	db	"TShot",0
_527:
	db	"p",0
_528:
	db	":TParticle",0
_529:
	db	"RGB",0
_530:
	db	"[]i",0
_531:
	db	"Alpha",0
_532:
	db	"Size",0
_533:
	db	"Blend",0
	align	4
_525:
	dd	2
	dd	_526
	dd	3
	dd	_527
	dd	_528
	dd	8
	dd	3
	dd	_529
	dd	_530
	dd	12
	dd	3
	dd	_531
	dd	_459
	dd	16
	dd	3
	dd	_532
	dd	_459
	dd	20
	dd	3
	dd	_533
	dd	_468
	dd	24
	dd	3
	dd	_515
	dd	_459
	dd	28
	dd	6
	dd	_445
	dd	_446
	dd	16
	dd	6
	dd	_447
	dd	_446
	dd	20
	dd	6
	dd	_505
	dd	_446
	dd	48
	dd	6
	dd	_496
	dd	_446
	dd	52
	dd	0
	align	4
_bb_TShot:
	dd	_bbObjectClass
	dd	_bbObjectFree
	dd	_525
	dd	32
	dd	__bb_TShot_New
	dd	__bb_TShot_Delete
	dd	_bbObjectToString
	dd	_bbObjectCompare
	dd	_bbObjectSendMessage
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	__bb_TShot_Remove
	dd	__bb_TShot_Add
_535:
	db	"TPlanet",0
_536:
	db	"Seed",0
_537:
	db	"LOD",0
_538:
	db	"Preset",0
_539:
	db	"BaseMapStyle1",0
_540:
	db	"BaseMapStyle2",0
_541:
	db	"BaseMap1",0
_542:
	db	"BaseMap2",0
_543:
	db	"ClimateStyle",0
_544:
	db	"CityStyle",0
_545:
	db	"Clouds",0
_546:
	db	"Mask",0
_547:
	db	"CloudMask",0
_548:
	db	"Ring",0
_549:
	db	"PlanetPalette",0
_550:
	db	"CityPalette",0
_551:
	db	"ClimatePalette",0
_552:
	db	"NoiseMapSize",0
_553:
	db	"NoiseMapScale",0
_554:
	db	"NoiseMapDetail",0
_555:
	db	"NoiseMapOctaves",0
_556:
	db	"NoiseType",0
_557:
	db	"Brightness",0
_558:
	db	"Detail1",0
_559:
	db	"Detail2",0
_560:
	db	"Glowing",0
_561:
	db	"MoltenNightSide",0
_562:
	db	"SimpleBlend",0
_563:
	db	"Population",0
_564:
	db	"PopulationMinRange",0
_565:
	db	"PopulationMaxRange",0
_566:
	db	"Polarcaps",0
_567:
	db	"PolarAlbedo",0
_568:
	db	"RingStatus",0
_569:
	db	"RingsDetail",0
_570:
	db	"RingsInnerRadius",0
_571:
	db	"RingsOuterRadius",0
_572:
	db	"DetailTexture",0
_573:
	db	"DetailScaleX",0
_574:
	db	"DetailScaleY",0
_575:
	db	"PlanetRotation",0
_576:
	db	"CloudRotation",0
_577:
	db	"PlanetRotationSpeed",0
_578:
	db	"CloudRotationSpeed",0
_579:
	db	"CloudScaleX",0
_580:
	db	"CloudScaleY",0
_581:
	db	"CloudShadowOffsetX",0
_582:
	db	"CloudShadowOffsetY",0
_583:
	db	"Shininess",0
_584:
	db	"PlanetDetail",0
_585:
	db	"CloudsRGBA",0
_586:
	db	"CloudShadowRGBA",0
_587:
	db	"AtmoRGBA",0
_588:
	db	"GlowRGBA",0
_589:
	db	"RingsRGBA",0
_590:
	db	"NightRGB",0
_591:
	db	"PlanetR",0
_592:
	db	"PlanetG",0
_593:
	db	"PlanetB",0
_594:
	db	"CitiesR",0
_595:
	db	"CitiesG",0
_596:
	db	"CitiesB",0
_597:
	db	"ClimateR",0
_598:
	db	"ClimateG",0
_599:
	db	"ClimateB",0
_600:
	db	"PlanetName",0
_601:
	db	"CalcTime",0
_602:
	db	"Planet",0
_603:
	db	"CloudShadow",0
_604:
	db	"PlanetClouds",0
_605:
	db	"PlanetRings",0
_606:
	db	"PlanetGlow1",0
_607:
	db	"PlanetGlow2",0
_608:
	db	"Atmosphere",0
_609:
	db	"PlanetPivot",0
_610:
	db	":sidesign.minib3d.TPivot",0
_611:
	db	"PlanetTexture",0
_612:
	db	":sidesign.minib3d.TTexture",0
_613:
	db	"PlanetNightTexture",0
_614:
	db	"PlanetRingsTexture",0
_615:
	db	"PlanetDetailTexture",0
_616:
	db	"MaskTexture",0
_617:
	db	"CloudMaskTexture",0
_618:
	db	"CloudTexture",0
_619:
	db	"CloudShadowTexture",0
_620:
	db	"PlanetRingsTextureBase",0
_621:
	db	"PlanetRingsTextureShadow",0
_622:
	db	"PlanetGlowTexture",0
_623:
	db	"MaskBaseTexture",0
_624:
	db	"RingBaseTexture",0
_625:
	db	"PlanetBaseTexture",0
_626:
	db	"NightBaseTexture",0
_627:
	db	"DetailBaseTexture",0
_628:
	db	"AtmoTexture",0
_629:
	db	"ClimateMap",0
_630:
	db	":brl.bank.TBank",0
_631:
	db	"CitiesMap",0
_632:
	db	"NoiseMap",0
_633:
	db	"HeightMap",0
_634:
	db	"EmbossMap",0
_635:
	db	"ColorMap",0
_636:
	db	":brl.pixmap.TPixmap",0
_637:
	db	"NightMap",0
_638:
	db	"Ringmap",0
_639:
	db	"LoadPreset",0
_640:
	db	"Generate",0
_641:
	db	"FastUpdate",0
_642:
	db	"CreateNoiseMap",0
_643:
	db	"CreateHeightMap",0
_644:
	db	"CreateEmbossMap",0
_645:
	db	"CreateColormap",0
_646:
	db	"CreateNightmap",0
_647:
	db	"CreateNightmapMolten",0
_648:
	db	"CreateGradient",0
_649:
	db	"($,$,i,i,i,[]i,[]i,[]i)i",0
	align	4
_534:
	dd	2
	dd	_535
	dd	3
	dd	_536
	dd	_468
	dd	8
	dd	3
	dd	_537
	dd	_468
	dd	12
	dd	3
	dd	_538
	dd	_504
	dd	16
	dd	3
	dd	_539
	dd	_504
	dd	20
	dd	3
	dd	_540
	dd	_504
	dd	24
	dd	3
	dd	_541
	dd	_504
	dd	28
	dd	3
	dd	_542
	dd	_504
	dd	32
	dd	3
	dd	_543
	dd	_504
	dd	36
	dd	3
	dd	_544
	dd	_504
	dd	40
	dd	3
	dd	_545
	dd	_504
	dd	44
	dd	3
	dd	_546
	dd	_504
	dd	48
	dd	3
	dd	_547
	dd	_504
	dd	52
	dd	3
	dd	_548
	dd	_504
	dd	56
	dd	3
	dd	_549
	dd	_504
	dd	60
	dd	3
	dd	_550
	dd	_504
	dd	64
	dd	3
	dd	_551
	dd	_504
	dd	68
	dd	3
	dd	_552
	dd	_468
	dd	72
	dd	3
	dd	_553
	dd	_459
	dd	76
	dd	3
	dd	_554
	dd	_468
	dd	80
	dd	3
	dd	_555
	dd	_468
	dd	84
	dd	3
	dd	_556
	dd	_468
	dd	88
	dd	3
	dd	_557
	dd	_468
	dd	92
	dd	3
	dd	_558
	dd	_468
	dd	96
	dd	3
	dd	_559
	dd	_468
	dd	100
	dd	3
	dd	_560
	dd	_468
	dd	104
	dd	3
	dd	_561
	dd	_468
	dd	108
	dd	3
	dd	_562
	dd	_468
	dd	112
	dd	3
	dd	_563
	dd	_459
	dd	116
	dd	3
	dd	_564
	dd	_468
	dd	120
	dd	3
	dd	_565
	dd	_468
	dd	124
	dd	3
	dd	_566
	dd	_459
	dd	128
	dd	3
	dd	_567
	dd	_468
	dd	132
	dd	3
	dd	_568
	dd	_468
	dd	136
	dd	3
	dd	_569
	dd	_468
	dd	140
	dd	3
	dd	_570
	dd	_459
	dd	144
	dd	3
	dd	_571
	dd	_459
	dd	148
	dd	3
	dd	_572
	dd	_504
	dd	152
	dd	3
	dd	_573
	dd	_459
	dd	156
	dd	3
	dd	_574
	dd	_459
	dd	160
	dd	3
	dd	_575
	dd	_459
	dd	164
	dd	3
	dd	_576
	dd	_459
	dd	168
	dd	3
	dd	_577
	dd	_459
	dd	172
	dd	3
	dd	_578
	dd	_459
	dd	176
	dd	3
	dd	_579
	dd	_459
	dd	180
	dd	3
	dd	_580
	dd	_459
	dd	184
	dd	3
	dd	_581
	dd	_459
	dd	188
	dd	3
	dd	_582
	dd	_459
	dd	192
	dd	3
	dd	_583
	dd	_459
	dd	196
	dd	3
	dd	_584
	dd	_468
	dd	200
	dd	3
	dd	_585
	dd	_530
	dd	204
	dd	3
	dd	_586
	dd	_530
	dd	208
	dd	3
	dd	_587
	dd	_530
	dd	212
	dd	3
	dd	_588
	dd	_530
	dd	216
	dd	3
	dd	_589
	dd	_530
	dd	220
	dd	3
	dd	_590
	dd	_530
	dd	224
	dd	3
	dd	_591
	dd	_530
	dd	228
	dd	3
	dd	_592
	dd	_530
	dd	232
	dd	3
	dd	_593
	dd	_530
	dd	236
	dd	3
	dd	_594
	dd	_530
	dd	240
	dd	3
	dd	_595
	dd	_530
	dd	244
	dd	3
	dd	_596
	dd	_530
	dd	248
	dd	3
	dd	_597
	dd	_530
	dd	252
	dd	3
	dd	_598
	dd	_530
	dd	256
	dd	3
	dd	_599
	dd	_530
	dd	260
	dd	3
	dd	_600
	dd	_504
	dd	264
	dd	3
	dd	_601
	dd	_468
	dd	268
	dd	3
	dd	_602
	dd	_476
	dd	272
	dd	3
	dd	_603
	dd	_476
	dd	276
	dd	3
	dd	_604
	dd	_476
	dd	280
	dd	3
	dd	_605
	dd	_476
	dd	284
	dd	3
	dd	_606
	dd	_476
	dd	288
	dd	3
	dd	_607
	dd	_476
	dd	292
	dd	3
	dd	_608
	dd	_476
	dd	296
	dd	3
	dd	_609
	dd	_610
	dd	300
	dd	3
	dd	_611
	dd	_612
	dd	304
	dd	3
	dd	_613
	dd	_612
	dd	308
	dd	3
	dd	_614
	dd	_612
	dd	312
	dd	3
	dd	_615
	dd	_612
	dd	316
	dd	3
	dd	_616
	dd	_612
	dd	320
	dd	3
	dd	_617
	dd	_612
	dd	324
	dd	3
	dd	_618
	dd	_612
	dd	328
	dd	3
	dd	_619
	dd	_612
	dd	332
	dd	3
	dd	_620
	dd	_612
	dd	336
	dd	3
	dd	_621
	dd	_612
	dd	340
	dd	3
	dd	_622
	dd	_612
	dd	344
	dd	3
	dd	_623
	dd	_612
	dd	348
	dd	3
	dd	_624
	dd	_612
	dd	352
	dd	3
	dd	_625
	dd	_612
	dd	356
	dd	3
	dd	_626
	dd	_612
	dd	360
	dd	3
	dd	_627
	dd	_612
	dd	364
	dd	3
	dd	_628
	dd	_612
	dd	368
	dd	3
	dd	_629
	dd	_630
	dd	372
	dd	3
	dd	_631
	dd	_630
	dd	376
	dd	3
	dd	_632
	dd	_630
	dd	380
	dd	3
	dd	_633
	dd	_630
	dd	384
	dd	3
	dd	_634
	dd	_630
	dd	388
	dd	3
	dd	_635
	dd	_636
	dd	392
	dd	3
	dd	_637
	dd	_636
	dd	396
	dd	3
	dd	_638
	dd	_636
	dd	400
	dd	6
	dd	_445
	dd	_446
	dd	16
	dd	6
	dd	_447
	dd	_446
	dd	20
	dd	6
	dd	_639
	dd	_506
	dd	48
	dd	6
	dd	_640
	dd	_446
	dd	52
	dd	6
	dd	_498
	dd	_499
	dd	56
	dd	6
	dd	_641
	dd	_446
	dd	60
	dd	6
	dd	_642
	dd	_446
	dd	64
	dd	6
	dd	_643
	dd	_446
	dd	68
	dd	6
	dd	_644
	dd	_446
	dd	72
	dd	6
	dd	_645
	dd	_446
	dd	76
	dd	6
	dd	_646
	dd	_446
	dd	80
	dd	6
	dd	_647
	dd	_446
	dd	84
	dd	6
	dd	_648
	dd	_649
	dd	88
	dd	0
	align	4
_bb_TPlanet:
	dd	_bbObjectClass
	dd	_bbObjectFree
	dd	_534
	dd	404
	dd	__bb_TPlanet_New
	dd	__bb_TPlanet_Delete
	dd	_bbObjectToString
	dd	_bbObjectCompare
	dd	_bbObjectSendMessage
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	__bb_TPlanet_LoadPreset
	dd	__bb_TPlanet_Generate
	dd	__bb_TPlanet_Update
	dd	__bb_TPlanet_FastUpdate
	dd	__bb_TPlanet_CreateNoiseMap
	dd	__bb_TPlanet_CreateHeightMap
	dd	__bb_TPlanet_CreateEmbossMap
	dd	__bb_TPlanet_CreateColormap
	dd	__bb_TPlanet_CreateNightmap
	dd	__bb_TPlanet_CreateNightmapMolten
	dd	__bb_TPlanet_CreateGradient
	align	4
__bb_TDust_List:
	dd	_bbNullObject
_651:
	db	"TDust",0
_652:
	db	"(f,f,f)i",0
	align	4
_650:
	dd	2
	dd	_651
	dd	3
	dd	_458
	dd	_459
	dd	8
	dd	3
	dd	_460
	dd	_459
	dd	12
	dd	3
	dd	_461
	dd	_459
	dd	16
	dd	6
	dd	_445
	dd	_446
	dd	16
	dd	6
	dd	_447
	dd	_446
	dd	20
	dd	7
	dd	_496
	dd	_652
	dd	48
	dd	0
	align	4
_bb_TDust:
	dd	_bbObjectClass
	dd	_bbObjectFree
	dd	_650
	dd	20
	dd	__bb_TDust_New
	dd	__bb_TDust_Delete
	dd	_bbObjectToString
	dd	_bbObjectCompare
	dd	_bbObjectSendMessage
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	__bb_TDust_Add
	align	4
_18:
	dd	_bbStringClass
	dd	2147483647
	dd	25
	dw	81,117,97,100,32,65,115,116,101,114,111,105,100,32,70,105
	dw	101,108,100,115,32,84,101,115,116
	align	4
_bb_start:
	dd	0
	align	4
_bb_totaltime:
	dd	0
	align	4
_19:
	dd	_bbStringClass
	dd	2147483647
	dd	76
	dw	45,45,45,45,45,45,45,45,45,45,45,45,45,45,45,45
	dw	45,45,45,45,45,45,45,45,45,45,45,45,45,45,45,45
	dw	45,45,45,45,45,45,45,45,45,45,45,45,45,45,45,45
	dw	45,45,45,45,45,45,45,45,45,45,45,45,45,45,45,45
	dw	45,45,45,45,45,45,45,45,45,45,45,45
	align	4
_20:
	dd	_bbStringClass
	dd	2147483647
	dd	15
	dw	83,116,97,114,116,32,110,101,119,32,115,99,101,110,101
_1389:
	db	"$",0
	align	4
_bb_Splitted:
	dd	_bbEmptyArray
	align	4
_bb_flags:
	dd	_bbNullObject
	align	4
_33:
	dd	_bbStringClass
	dd	2147483647
	dd	64
	dw	46,46,108,101,120,101,103,101,122,97,99,101,98,105,115,111
	dw	117,115,101,115,97,114,109,97,105,110,100,105,114,101,97,46
	dw	101,114,97,116,101,110,98,101,114,97,108,97,118,101,116,105
	dw	101,100,111,114,113,117,97,110,116,101,105,115,114,105,111,110
	align	4
_bb_syllables:
	dd	_33
_1394:
	db	"i",0
	align	4
_bb_nameseed:
	dd	_bbEmptyArray
_1397:
	db	"$",0
	align	4
_bb_sections:
	dd	_bbEmptyArray
	align	4
_104:
	dd	_bbStringClass
	dd	2147483647
	dd	26
	dw	116,101,120,116,117,114,101,115,47,109,105,108,107,121,119,97
	dw	121,47,115,116,97,114,46,112,110,103
	align	4
_bb_startex:
	dd	_bbNullObject
	align	4
_105:
	dd	_bbStringClass
	dd	2147483647
	dd	27
	dw	116,101,120,116,117,114,101,115,47,109,105,108,107,121,119,97
	dw	121,47,115,116,97,114,115,46,112,110,103
	align	4
_bb_starstex:
	dd	_bbNullObject
	align	4
_106:
	dd	_bbStringClass
	dd	2147483647
	dd	30
	dw	116,101,120,116,117,114,101,115,47,109,105,108,107,121,119,97
	dw	121,47,109,105,108,107,121,119,97,121,46,106,112,103
	align	4
_bb_fogtex:
	dd	_bbNullObject
	align	4
_bb_Starbox:
	dd	_bbNullObject
	align	4
_bb_FogPanorama:
	dd	_bbNullObject
	align	4
_bb_StarSphere:
	dd	_bbNullObject
_1406:
	db	"i",0
	align	4
_bb_Permutation:
	dd	_bbEmptyArray
_1409:
	db	"f",0
	align	4
_bb_GRAYD:
	dd	_bbEmptyArray
_1412:
	db	"f",0
	align	4
_bb_hmap:
	dd	_bbEmptyArray
_1415:
	db	"f",0
	align	4
_bb_nmap:
	dd	_bbEmptyArray
	align	4
_bb_Multi:
	dd	0x3f800000
	align	4
_bb_CurrentSpeed:
	dd	0x0
	align	4
_bb_Thrust:
	dd	0x0
	align	4
_bb_Boost:
	dd	0x3f800000
	align	4
_bb_StarColor:
	dd	_bbEmptyArray
	align	4
_bb_ShipColor:
	dd	_bbEmptyArray
	align	4
_bb_BloomColor:
	dd	_bbEmptyArray
	align	4
_bb_AmbientColor:
	dd	_bbEmptyArray
	align	4
_362:
	dd	_bbStringClass
	dd	2147483647
	dd	3
	dw	111,102,102
	align	4
_363:
	dd	_bbStringClass
	dd	2147483647
	dd	2
	dw	111,110
	align	4
_bb_Switch:
	dd	_bbEmptyArray
	align	4
_364:
	dd	_bbStringClass
	dd	2147483647
	dd	4
	dw	87,97,114,109
	align	4
_365:
	dd	_bbStringClass
	dd	2147483647
	dd	4
	dw	67,111,108,100
	align	4
_bb_SwitchMilkyway:
	dd	_bbEmptyArray
	align	4
_366:
	dd	_bbStringClass
	dd	2147483647
	dd	7
	dw	111,102,102,108,105,110,101
	align	4
_367:
	dd	_bbStringClass
	dd	2147483647
	dd	6
	dw	111,110,108,105,110,101
	align	4
_bb_SwitchWeapons:
	dd	_bbEmptyArray
	align	4
_bb_WIDTH:
	dd	0
	align	4
_bb_HEIGHT:
	dd	0
	align	4
_bb_fader:
	dd	0x3f800000
	align	4
_bb_status:
	dd	0
	align	4
_368:
	dd	_bbStringClass
	dd	2147483647
	dd	33
	dw	116,101,120,116,117,114,101,115,47,112,97,114,116,105,99,108
	dw	101,115,47,112,97,114,116,105,99,108,101,48,54,46,112,110
	dw	103
	align	4
_bb_EngineSpriteTexture:
	dd	_bbNullObject
	align	4
_369:
	dd	_bbStringClass
	dd	2147483647
	dd	33
	dw	116,101,120,116,117,114,101,115,47,112,97,114,116,105,99,108
	dw	101,115,47,112,97,114,116,105,99,108,101,48,49,46,112,110
	dw	103
	align	4
_bb_BlasterTexture:
	dd	_bbNullObject
	align	4
_370:
	dd	_bbStringClass
	dd	2147483647
	dd	16
	dw	80,97,114,116,105,99,108,101,115,32,108,111,97,100,101,100
	align	4
_1466:
	dd	_bbStringClass
	dd	2147483647
	dd	32
	dw	109,111,100,101,108,115,47,104,111,114,110,101,116,104,105,103
	dw	104,47,104,111,114,110,101,116,104,105,103,104,46,98,51,100
	align	4
_bb_Model:
	dd	_bbNullObject
	align	4
_1469:
	dd	_bbStringClass
	dd	2147483647
	dd	31
	dw	109,111,100,101,108,115,47,104,111,114,110,101,116,104,105,103
	dw	104,47,110,111,114,109,97,108,109,97,112,46,112,110,103
	align	4
_bb_dot:
	dd	_bbNullObject
	align	4
_1472:
	dd	_bbStringClass
	dd	2147483647
	dd	30
	dw	109,111,100,101,108,115,47,104,111,114,110,101,116,104,105,103
	dw	104,47,99,111,108,111,114,109,97,112,46,112,110,103
	align	4
_bb_col:
	dd	_bbNullObject
	align	4
_1475:
	dd	_bbStringClass
	dd	2147483647
	dd	30
	dw	109,111,100,101,108,115,47,104,111,114,110,101,116,104,105,103
	dw	104,47,108,105,103,104,116,109,97,112,46,112,110,103
	align	4
_bb_lit:
	dd	_bbNullObject
	align	4
_1479:
	dd	0
	align	4
_bb_brightmap:
	dd	_bbNullObject
	align	4
_376:
	dd	_bbStringClass
	dd	2147483647
	dd	12
	dw	77,111,100,101,108,32,108,111,97,100,101,100
	align	4
_377:
	dd	_bbStringClass
	dd	2147483647
	dd	22
	dw	116,101,120,116,117,114,101,115,47,104,117,100,47,99,114,111
	dw	115,115,46,112,110,103
	align	4
_bb_CrossTexture:
	dd	_bbNullObject
	align	4
_378:
	dd	_bbStringClass
	dd	2147483647
	dd	23
	dw	116,101,120,116,117,114,101,115,47,104,117,100,47,99,105,114
	dw	99,108,101,46,112,110,103
	align	4
_bb_CursorTexture:
	dd	_bbNullObject
	align	4
_379:
	dd	_bbStringClass
	dd	2147483647
	dd	10
	dw	72,85,68,32,108,111,97,100,101,100
	align	4
_bb_StarTexture:
	dd	_bbNullObject
	align	4
_380:
	dd	_bbStringClass
	dd	2147483647
	dd	22
	dw	116,101,120,116,117,114,101,115,47,115,111,108,97,114,47,115
	dw	117,110,46,112,110,103
	align	4
_bb_SunTexture:
	dd	_bbNullObject
	align	4
_381:
	dd	_bbStringClass
	dd	2147483647
	dd	23
	dw	116,101,120,116,117,114,101,115,47,115,111,108,97,114,47,103
	dw	108,111,119,46,112,110,103
	align	4
_bb_GlowTexture:
	dd	_bbNullObject
	align	4
_382:
	dd	_bbStringClass
	dd	2147483647
	dd	11
	dw	83,116,97,114,32,108,111,97,100,101,100
	align	4
_383:
	dd	_bbStringClass
	dd	2147483647
	dd	27
	dw	116,101,120,116,117,114,101,115,47,115,111,108,97,114,47,97
	dw	115,116,101,114,111,105,100,46,112,110,103
	align	4
_bb_QuadTex:
	dd	_bbNullObject
	align	4
_384:
	dd	_bbStringClass
	dd	2147483647
	dd	16
	dw	65,115,116,101,114,111,105,100,115,32,108,111,97,100,101,100
	align	4
_bb_ambient:
	dd	_bbNullObject
	align	4
_bb_lasershot:
	dd	_bbNullObject
	align	4
_bb_engineloop:
	dd	_bbNullObject
	align	4
_bb_thrustloop:
	dd	_bbNullObject
	align	4
_385:
	dd	_bbStringClass
	dd	2147483647
	dd	17
	dw	115,111,117,110,100,47,97,109,98,105,101,110,116,46,111,103
	dw	103
	align	4
_386:
	dd	_bbStringClass
	dd	2147483647
	dd	15
	dw	115,111,117,110,100,47,108,97,115,101,114,46,111,103,103
	align	4
_387:
	dd	_bbStringClass
	dd	2147483647
	dd	17
	dw	115,111,117,110,100,47,101,110,103,105,110,101,49,46,111,103
	dw	103
	align	4
_388:
	dd	_bbStringClass
	dd	2147483647
	dd	17
	dw	115,111,117,110,100,47,101,110,103,105,110,101,50,46,111,103
	dw	103
	align	4
_389:
	dd	_bbStringClass
	dd	2147483647
	dd	13
	dw	83,111,117,110,100,115,32,108,111,97,100,101,100
	align	4
_bb_Player:
	dd	_bbNullObject
	align	4
_bb_Camera:
	dd	_bbNullObject
	align	4
_bb_BloomSprite:
	dd	_bbNullObject
	align	4
_bb_bloomtexture:
	dd	_bbNullObject
	align	4
_3341:
	dd	0x3f800000
	align	4
_bb_FadeSprite:
	dd	_bbNullObject
	align	4
_bb_Bones:
	dd	_bbNullObject
	align	4
_393:
	dd	_bbStringClass
	dd	2147483647
	dd	6
	dw	101,110,103,105,110,101
	align	8
_3342:
	dd	0x40000000,0x3fd33333
	align	8
_3343:
	dd	0x0,0x3ff40000
	align	8
_3344:
	dd	0x0,0x40080000
	align	4
_bb_MouseTarget:
	dd	_bbNullObject
	align	4
_bb_GunTarget:
	dd	_bbNullObject
	align	4
_bb_CrossSprite:
	dd	_bbNullObject
	align	4
_bb_CursorSprite:
	dd	_bbNullObject
	align	4
_bb_Sun:
	dd	_bbNullObject
	align	4
_bb_Star:
	dd	_bbNullObject
	align	4
_bb_StarGlow:
	dd	_bbNullObject
	align	4
_bb_Light:
	dd	_bbNullObject
	align	4
_bb_ambientchannel:
	dd	_bbNullObject
	align	4
_bb_enginechannel:
	dd	_bbNullObject
	align	4
_bb_thrustchannel:
	dd	_bbNullObject
	align	4
_bb_Pivot:
	dd	_bbNullObject
	align	4
_bb_QuadMesh:
	dd	_bbNullObject
	align	4
_bb_QuadSurf:
	dd	_bbNullObject
	align	4
_397:
	dd	_bbStringClass
	dd	2147483647
	dd	13
	dw	83,99,101,110,101,32,99,114,101,97,116,101,100
	align	4
_bb_MilkyWay1:
	dd	_bbNullObject
	align	4
_bb_MilkyWay2:
	dd	_bbNullObject
	align	4
_398:
	dd	_bbStringClass
	dd	2147483647
	dd	27
	dw	77,105,108,107,121,119,97,121,32,98,97,99,107,103,114,111
	dw	117,110,100,32,99,114,101,97,116,101,100
	align	8
_3345:
	dd	0x0,0x40400000
	align	8
_3346:
	dd	0x0,0x40200000
	align	8
_3347:
	dd	0x0,0x40200000
	align	8
_3348:
	dd	0x0,0x40100000
	align	8
_3349:
	dd	0x0,0x40568000
	align	8
_3350:
	dd	0x0,0xc0568000
	align	8
_3351:
	dd	0x0,0x40768000
	align	8
_3352:
	dd	0x0,0x40340000
	align	8
_3353:
	dd	0x0,0xc0340000
	align	4
_3354:
	dd	0x42c80000
	align	8
_3355:
	dd	0xe0000000,0x3f1a36e2
	align	8
_3356:
	dd	0xe0000000,0xbf1a36e2
	align	8
_3357:
	dd	0x0,0x40590000
	align	8
_3358:
	dd	0x80000000,0x3ee4f8b5
	align	8
_3359:
	dd	0x80000000,0xbee4f8b5
	align	8
_3360:
	dd	0x0,0x40590000
	align	8
_3361:
	dd	0xe0000000,0x3f1a36e2
	align	8
_3362:
	dd	0xe0000000,0xbf1a36e2
	align	8
_3363:
	dd	0x0,0x40590000
	align	4
_3364:
	dd	0x45800000
	align	4
_3365:
	dd	0x42c80000
	align	8
_3366:
	dd	0x0,0x40768000
	align	8
_3367:
	dd	0xa0000000,0x3fb99999
	align	8
_3368:
	dd	0xa0000000,0xbfb99999
	align	8
_3369:
	dd	0x0,0x40000000
	align	4
_1606:
	dd	_bbStringClass
	dd	2147483647
	dd	21
	dw	65,100,100,101,100,32,50,53,48,48,48,32,65,115,116,101
	dw	114,111,105,100,115
	align	4
_295:
	dd	_bbStringClass
	dd	2147483647
	dd	3
	dw	109,115,46
	align	4
_404:
	dd	_bbStringClass
	dd	2147483647
	dd	17
	dw	83,99,101,110,101,32,99,114,101,97,116,101,100,32,105,110
	dw	32
	align	4
_405:
	dd	_bbStringClass
	dd	2147483647
	dd	16
	dw	83,116,97,114,116,32,110,101,119,32,112,108,97,110,101,116
	align	4
_360:
	dd	_bbStringClass
	dd	2147483647
	dd	7
	dw	74,117,112,105,116,101,114
	align	4
_bb_PlanetRotation:
	dd	0x0
	align	4
_bb_CloudRotation:
	dd	0x0
	align	4
_3370:
	dd	0x42480000
	align	4
_3371:
	dd	0x41200000
	align	4
_3372:
	dd	0x43480000
	align	4
_bb_ShotStart:
	dd	_bbNullObject
	align	4
_bb_ShotEnd:
	dd	_bbNullObject
	align	4
_407:
	dd	_bbStringClass
	dd	2147483647
	dd	2
	dw	109,115
	align	4
_406:
	dd	_bbStringClass
	dd	2147483647
	dd	12
	dw	84,111,116,97,108,32,116,105,109,101,58,32
	align	4
_408:
	dd	_bbStringClass
	dd	2147483647
	dd	27
	dw	80,114,101,115,115,32,97,110,121,32,107,101,121,32,116,111
	dw	32,115,116,97,114,116,32,100,101,109,111
	align	4
_3373:
	dd	0x40000000
	align	8
_3374:
	dd	0x0,0x40590000
	align	8
_3375:
	dd	0x0,0xc0590000
	align	8
_3376:
	dd	0x0,0x40590000
	align	8
_3377:
	dd	0x0,0xc0590000
	align	8
_3378:
	dd	0x0,0x40590000
	align	8
_3379:
	dd	0x0,0xc0590000
	align	4
_3380:
	dd	0x3c23d70a
	align	4
_3381:
	dd	0x3f800000
	align	4
_3382:
	dd	0x42ff0000
	align	4
_3383:
	dd	0x3f800000
	align	4
_3384:
	dd	0x42ff0000
	align	4
_3385:
	dd	0x41800000
	align	4
_3386:
	dd	0x41800000
	align	4
_3387:
	dd	0x40000000
	align	4
_3388:
	dd	0x3f666666
	align	4
_3389:
	dd	0x3f666666
	align	4
_198:
	dd	_bbStringClass
	dd	2147483647
	dd	4
	dw	115,104,111,116
	align	4
_3390:
	dd	0x3f8ccccd
	align	4
_3391:
	dd	0x437a0000
	align	8
_3392:
	dd	0x0,0x3fd00000
	align	8
_3393:
	dd	0x0,0xbfd00000
	align	4
_3394:
	dd	0x40000000
	align	4
_3395:
	dd	0x42c80000
	align	4
_3396:
	dd	0x42c80000
	align	4
_3397:
	dd	0x459c4000
	align	4
_3398:
	dd	0x40000000
	align	4
_3399:
	dd	0x459c4000
	align	4
_3400:
	dd	0x3f800000
	align	4
_66:
	dd	_bbStringClass
	dd	2147483647
	dd	1
	dw	93
	align	4
_39:
	dd	_bbStringClass
	dd	2147483647
	dd	2
	dw	32,91
	align	4
_424:
	dd	_bbStringClass
	dd	2147483647
	dd	19
	dw	70,80,83,46,46,46,46,46,91,97,118,101,114,97,103,101
	dw	93,58,32
	align	4
_425:
	dd	_bbStringClass
	dd	2147483647
	dd	19
	dw	86,115,121,110,99,32,46,46,46,46,46,46,46,46,91,86
	dw	93,58,32
	align	4
_426:
	dd	_bbStringClass
	dd	2147483647
	dd	19
	dw	66,108,111,111,109,102,105,108,116,101,114,46,46,46,91,66
	dw	93,58,32
	align	4
_427:
	dd	_bbStringClass
	dd	2147483647
	dd	19
	dw	77,105,108,107,121,119,97,121,46,46,46,46,46,46,91,77
	dw	93,58,32
	align	4
_428:
	dd	_bbStringClass
	dd	2147483647
	dd	19
	dw	83,104,105,112,109,111,100,101,108,46,46,46,46,46,91,83
	dw	93,58,32
	align	4
_429:
	dd	_bbStringClass
	dd	2147483647
	dd	19
	dw	73,110,102,111,114,109,97,116,105,111,110,46,46,46,91,73
	dw	93,58,32
	align	4
_430:
	dd	_bbStringClass
	dd	2147483647
	dd	19
	dw	80,108,97,110,101,116,32,71,108,111,119,46,46,46,91,71
	dw	93,58,32
	align	4
_431:
	dd	_bbStringClass
	dd	2147483647
	dd	19
	dw	68,79,84,51,32,76,105,103,104,116,105,110,103,46,91,78
	dw	93,58,32
	align	4
_433:
	dd	_bbStringClass
	dd	2147483647
	dd	1
	dw	37
	align	4
_3401:
	dd	0x42c80000
	align	4
_3402:
	dd	0x46c35000
	align	4
_432:
	dd	_bbStringClass
	dd	2147483647
	dd	19
	dw	81,117,97,100,115,32,68,105,115,116,99,97,108,99,46,46
	dw	46,58,32
	align	4
_3403:
	dd	0x42c80000
	align	4
_3404:
	dd	0x46c35000
	align	4
_434:
	dd	_bbStringClass
	dd	2147483647
	dd	19
	dw	81,117,97,100,115,32,70,117,108,108,32,85,112,100,97,116
	dw	101,58,32
	align	4
_3405:
	dd	0x42c80000
	align	4
_3406:
	dd	0x46c35000
	align	4
_435:
	dd	_bbStringClass
	dd	2147483647
	dd	19
	dw	81,117,97,100,115,32,80,97,114,116,32,85,112,100,97,116
	dw	101,58,32
	align	4
_3407:
	dd	0x42c80000
	align	4
_3408:
	dd	0x46c35000
	align	4
_436:
	dd	_bbStringClass
	dd	2147483647
	dd	19
	dw	81,117,97,100,115,32,72,105,100,100,101,110,32,65,119,97
	dw	121,58,32
	align	4
_437:
	dd	_bbStringClass
	dd	2147483647
	dd	19
	dw	67,117,114,114,101,110,116,32,83,112,101,101,100,46,46,46
	dw	46,58,32
	align	4
_438:
	dd	_bbStringClass
	dd	2147483647
	dd	19
	dw	87,101,97,112,111,110,115,32,83,116,97,116,117,115,46,46
	dw	46,58,32
	align	4
_439:
	dd	_bbStringClass
	dd	2147483647
	dd	19
	dw	65,99,116,105,118,101,32,83,104,111,116,115,46,46,46,46
	dw	46,58,32
	align	4
_3539:
	dd	0x3f800000
	align	4
_3540:
	dd	0x3f800000
	align	4
_3541:
	dd	0x3f800000
	align	4
_3542:
	dd	0x3f800000
	align	4
_3543:
	dd	0x3f800000
	align	4
_3544:
	dd	0x3f800000
	align	4
_3545:
	dd	0x3f800000
	align	4
_3546:
	dd	0x3f800000
	align	4
_3550:
	dd	0x3f800000
	align	4
_3551:
	dd	0x3f800000
	align	4
_3552:
	dd	0x0
	align	4
_3553:
	dd	0x0
	align	4
_3554:
	dd	0x0
	align	4
_3555:
	dd	0x0
	align	4
_3567:
	dd	0x3f800000
	align	4
_3572:
	dd	0x43340000
	align	8
_3573:
	dd	0x0,0x40000000
	align	4
_3574:
	dd	0x3f800000
	align	8
_3579:
	dd	0x0,0x40080000
	align	8
_3580:
	dd	0x0,0x40000000
	align	4
_3585:
	dd	0x3f800000
	align	4
_3586:
	dd	0x3f800000
	align	4
_3587:
	dd	0x40000000
	align	4
_3588:
	dd	0x40000000
	align	4
_3589:
	dd	0x40400000
	align	4
_3590:
	dd	0x3f800000
	align	4
_3591:
	dd	0x40000000
	align	4
_3592:
	dd	0x40400000
	align	4
_3593:
	dd	0x40000000
	align	4
_16:
	dd	_bbStringClass
	dd	2147483647
	dd	0
	align	8
_3604:
	dd	0x0,0x40240000
	align	4
_37:
	dd	_bbStringClass
	dd	2147483647
	dd	1
	dw	48
	align	4
_38:
	dd	_bbStringClass
	dd	2147483647
	dd	1
	dw	46
	align	4
_40:
	dd	_bbStringClass
	dd	2147483647
	dd	3
	dw	109,115,93
	align	4
_46:
	dd	_bbStringClass
	dd	2147483647
	dd	4
	dw	46,114,97,119
	align	4
_45:
	dd	_bbStringClass
	dd	2147483647
	dd	1
	dw	47
	align	4
_44:
	dd	_bbStringClass
	dd	2147483647
	dd	5
	dw	109,97,112,115,47
	align	4
_3632:
	dd	0x40000000
	align	8
_3686:
	dd	0x0,0x40000000
	align	4
_3687:
	dd	0x3f800000
	align	4
_3688:
	dd	0x437f0000
	align	4
_3689:
	dd	0x437f0000
	align	4
_3690:
	dd	0x3f800000
	align	4
_1945:
	dd	_bbStringClass
	dd	2147483647
	dd	1
	dw	0
	align	4
_62:
	dd	_bbStringClass
	dd	2147483647
	dd	1
	dw	91
	align	4
_67:
	dd	_bbStringClass
	dd	2147483647
	dd	1
	dw	61
	align	4
_3819:
	dd	0x43b40000
	align	4
_3820:
	dd	0x43b40000
	align	4
_3821:
	dd	0x43b40000
	align	4
_3822:
	dd	0x43b40000
	align	4
_3823:
	dd	0x43340000
	align	4
_3824:
	dd	0x43b40000
	align	4
_3825:
	dd	0x43340000
	align	4
_3836:
	dd	0x43b40000
	align	4
_3837:
	dd	0x43b40000
	align	4
_3838:
	dd	0x43b40000
	align	4
_3839:
	dd	0x43b40000
	align	4
_3840:
	dd	0x43340000
	align	4
_3841:
	dd	0x43b40000
	align	4
_3842:
	dd	0x43340000
	align	8
_3857:
	dd	0x0,0x40000000
	align	4
_3858:
	dd	0x42b40000
	align	4
_3859:
	dd	0x42b40000
	align	4
_3860:
	dd	0x42b40000
	align	8
_3861:
	dd	0x0,0x40000000
	align	8
_3862:
	dd	0x0,0x40000000
	align	4
_3878:
	dd	0x43b40000
	align	4
_3879:
	dd	0x43b40000
	align	4
_3880:
	dd	0x43b40000
	align	4
_3881:
	dd	0x43b40000
	align	4
_3882:
	dd	0x43b40000
	align	4
_3883:
	dd	0x43340000
	align	4
_3884:
	dd	0x43b40000
	align	4
_3885:
	dd	0x43340000
	align	4
_3894:
	dd	0x43b40000
	align	4
_3895:
	dd	0x43b40000
	align	4
_3896:
	dd	0x43b40000
	align	4
_3897:
	dd	0x43b40000
_2071:
	db	"i",0
	align	4
_3909:
	dd	0x3f800000
	align	4
_3910:
	dd	0x3f800000
	align	4
_3911:
	dd	0x40000000
	align	4
_3912:
	dd	0x40000000
	align	4
_3913:
	dd	0x40000000
	align	4
_3914:
	dd	0x40000000
	align	4
_3915:
	dd	0x40000000
	align	4
_3916:
	dd	0x40000000
	align	4
_3917:
	dd	0x40000000
	align	4
_3918:
	dd	0x40000000
	align	4
_3919:
	dd	0x3f800000
	align	4
_3920:
	dd	0x3f800000
	align	4
_3921:
	dd	0x40000000
	align	4
_3922:
	dd	0x40000000
	align	4
_3923:
	dd	0x3f800000
	align	4
_3924:
	dd	0x3f800000
	align	4
_3925:
	dd	0x40000000
	align	4
_3926:
	dd	0x3f800000
	align	4
_3927:
	dd	0x40000000
	align	4
_3928:
	dd	0x3f800000
	align	4
_3929:
	dd	0x3f800000
	align	4
_3930:
	dd	0x40000000
	align	4
_3931:
	dd	0x3f800000
	align	4
_3932:
	dd	0x40000000
	align	4
_3933:
	dd	0x3f800000
	align	4
_3934:
	dd	0x3f800000
	align	4
_3935:
	dd	0x3f800000
	align	4
_3936:
	dd	0x40000000
	align	4
_3937:
	dd	0x40000000
	align	4
_3938:
	dd	0x3f800000
	align	4
_3939:
	dd	0x40000000
	align	4
_3940:
	dd	0x40000000
	align	4
_3941:
	dd	0x40000000
	align	4
_3942:
	dd	0x40000000
	align	4
_3943:
	dd	0x40000000
	align	4
_3944:
	dd	0x3f800000
	align	4
_3945:
	dd	0x40000000
	align	4
_3946:
	dd	0x40000000
	align	4
_3947:
	dd	0x40000000
	align	4
_3948:
	dd	0x40000000
	align	4
_3949:
	dd	0x3f800000
	align	4
_3950:
	dd	0x40000000
	align	4
_3951:
	dd	0x40000000
	align	4
_3952:
	dd	0x3f800000
	align	4
_3953:
	dd	0x40000000
	align	4
_3954:
	dd	0x40000000
	align	4
_3955:
	dd	0x40000000
	align	4
_3956:
	dd	0x40000000
	align	4
_3957:
	dd	0x3f800000
	align	4
_3958:
	dd	0x40000000
	align	4
_3962:
	dd	0x3f800000
	align	4
_3963:
	dd	0x3f800000
	align	4
_3964:
	dd	0x42b40000
	align	4
_3965:
	dd	0x0
	align	4
_3966:
	dd	0x0
	align	4
_3967:
	dd	0x3f800000
	align	4
_3968:
	dd	0x3f800000
	align	4
_3977:
	dd	0x3f4ccccd
	align	4
_3978:
	dd	0x3f400000
	align	4
_3979:
	dd	0x42480000
	align	4
_3980:
	dd	0x3f000000
	align	4
_3981:
	dd	0x42c80000
	align	4
_4000:
	dd	0x43b40000
	align	4
_4001:
	dd	0x0
	align	4
_4002:
	dd	0x43b40000
	align	4
_4003:
	dd	0x43340000
	align	4
_4004:
	dd	0x3f800000
	align	4
_4005:
	dd	0x43340000
	align	4
_4006:
	dd	0x3f800000
	align	4
_4007:
	dd	0x43340000
	align	4
_4008:
	dd	0x3f000000
	align	4
_4009:
	dd	0x3e800000
	align	4
_4010:
	dd	0x0
	align	4
_4011:
	dd	0x3f800000
	align	4
_4012:
	dd	0x43340000
	align	4
_4013:
	dd	0x3f800000
	align	4
_4014:
	dd	0x3f800000
	align	4
_4015:
	dd	0x43340000
	align	4
_4016:
	dd	0x3f800000
	align	4
_4017:
	dd	0x3f800000
	align	4
_4018:
	dd	0x3f400000
	align	4
_4019:
	dd	0x3f000000
	align	4
_4020:
	dd	0x43b40000
	align	8
_4029:
	dd	0x0,0x40768000
	align	4
_4030:
	dd	0x3f400000
	align	4
_4031:
	dd	0x3f000000
	align	4
_4032:
	dd	0x3f400000
	align	4
_4033:
	dd	0x3e800000
	align	4
_4034:
	dd	0x3f000000
	align	4
_4035:
	dd	0x3e800000
	align	4
_4036:
	dd	0x3f800000
	align	8
_4037:
	dd	0x0,0x3fe00000
_2184:
	db	"i",0
	align	4
_4064:
	dd	0x0
	align	4
_4065:
	dd	0x40000000
	align	4
_4066:
	dd	0x40000000
	align	4
_4100:
	dd	0x3f800000
	align	4
_4101:
	dd	0x3f800000
	align	4
_4102:
	dd	0x3f800000
	align	4
_4103:
	dd	0x3f800000
	align	4
_4104:
	dd	0x3f800000
	align	4
_4105:
	dd	0x3f800000
	align	4
_4106:
	dd	0x3f800000
	align	4
_4111:
	dd	0x40c00000
	align	4
_4112:
	dd	0x41700000
	align	4
_4113:
	dd	0x41200000
	align	4
_4140:
	dd	0x47800000
	align	4
_4141:
	dd	0x0
	align	4
_4142:
	dd	0x41800000
	align	4
_4143:
	dd	0x3f800000
	align	4
_4144:
	dd	0x3f800000
	align	4
_4145:
	dd	0x0
	align	4
_4146:
	dd	0x3f800000
	align	4
_4147:
	dd	0x43340000
	align	8
_4148:
	dd	0x0,0x40000000
	align	4
_4149:
	dd	0x0
	align	4
_4150:
	dd	0x3f800000
	align	4
_4151:
	dd	0x43340000
	align	8
_4152:
	dd	0x0,0x40000000
	align	4
_4153:
	dd	0x3f800000
	align	4
_4154:
	dd	0x3f800000
	align	4
_4155:
	dd	0x3f800000
	align	4
_4156:
	dd	0x3f800000
	align	4
_4157:
	dd	0x3f800000
	align	8
_4166:
	dd	0x0,0x402a0000
	align	4
_4167:
	dd	0x3f800000
	align	4
_4168:
	dd	0x4e800000
	align	4
_169:
	dd	_bbStringClass
	dd	2147483647
	dd	6
	dw	112,105,120,109,97,112
	align	4
_4229:
	dd	0x3c23d70a
	align	4
_4230:
	dd	0x3dcccccd
	align	4
_4231:
	dd	0x3e800000
	align	4
_4232:
	dd	0x3e800000
	align	4
_4233:
	dd	0x401fffff
	align	4
_4234:
	dd	0x401fffff
	align	4
_4235:
	dd	0x3f000000
	align	4
_4236:
	dd	0x3f8147ae
	align	4
_4237:
	dd	0x3f8147ae
	align	4
_4238:
	dd	0x41200000
	align	4
_4239:
	dd	0x41200000
	align	4
_4240:
	dd	0x41c80000
	align	4
_4241:
	dd	0x41c80000
	align	4
_4242:
	dd	0x3f7ae148
	align	4
_4243:
	dd	0x3f7ae148
	align	8
_4244:
	dd	0x0,0xbff00000
	align	8
_4245:
	dd	0x0,0xbff00000
	align	4
_4246:
	dd	0x40000000
	align	4
_4247:
	dd	0x40000000
	align	4
_4248:
	dd	0x40000000
	align	4
_4249:
	dd	0x41a00000
	align	4
_4250:
	dd	0x41a00000
	align	4
_4251:
	dd	0x41a00000
	align	4
_4252:
	dd	0x3e4ccccd
	align	4
_4253:
	dd	0x42c80000
	align	4
_4254:
	dd	0x42c80000
	align	4
_4255:
	dd	0x3e4ccccd
	align	4
_4256:
	dd	0x42c80000
	align	4
_4257:
	dd	0x42c80000
	align	4
_4274:
	dd	0x40000000
	align	4
_4275:
	dd	0x40000000
	align	4
_4276:
	dd	0x40000000
	align	4
_4277:
	dd	0x40000000
	align	4
_4278:
	dd	0x40000000
	align	4
_4279:
	dd	0x40000000
	align	4
_4283:
	dd	0x40000000
	align	4
_4284:
	dd	0x40000000
	align	4
_4285:
	dd	0x3f800000
	align	8
_4287:
	dd	0x80000000,0x3ee4f8b5
	align	4
_4288:
	dd	0x0
	align	8
_4293:
	dd	0x80000000,0x3ee4f8b5
	align	4
_4294:
	dd	0x40000000
	align	4
_4295:
	dd	0x40000000
	align	4
_4296:
	dd	0x3f800000
	align	4
_4297:
	dd	0x40000000
	align	4
_4298:
	dd	0x40000000
	align	4
_4299:
	dd	0x40000000
	align	4
_4300:
	dd	0x40000000
	align	4
_4301:
	dd	0x3f800000
	align	4
_4302:
	dd	0x40000000
	align	4
_4303:
	dd	0x40000000
	align	4
_4304:
	dd	0x40000000
	align	4
_4305:
	dd	0x40000000
	align	4
_4306:
	dd	0x3f800000
	align	4
_4307:
	dd	0x40000000
	align	4
_4308:
	dd	0x40000000
	align	4
_4309:
	dd	0x0
	align	4
_4310:
	dd	0x3f800000
	align	4
_191:
	dd	_bbStringClass
	dd	2147483647
	dd	1
	dw	32
	align	4
_192:
	dd	_bbStringClass
	dd	2147483647
	dd	8
	dw	32,32,32,32,32,32,32,32
	align	4
_193:
	dd	_bbStringClass
	dd	2147483647
	dd	4
	dw	109,115,58,32
	align	4
_4341:
	dd	0xbf800000
	align	4
_4342:
	dd	0xbf800000
	align	4
_4343:
	dd	0xbf800000
	align	4
_4344:
	dd	0xbf800000
	align	4
_4345:
	dd	0x3f800000
	align	4
_4346:
	dd	0x3f800000
	align	4
_4357:
	dd	0x447a0000
	align	4
_4358:
	dd	0x43b40000
	align	4
_4359:
	dd	0x43340000
	align	4
_4360:
	dd	0x3f000000
	align	4
_4361:
	dd	0x43b40000
	align	4
_4362:
	dd	0x43340000
	align	4
_4363:
	dd	0x3f000000
	align	4
_4364:
	dd	0x33d6bf95
	align	8
_4365:
	dd	0x0,0x411e8480
	align	4
_4372:
	dd	0x3dcccccd
	align	4
_4383:
	dd	0x40000000
	align	4
_4384:
	dd	0x3f000000
	align	4
_4385:
	dd	0x3f800000
	align	4
_4386:
	dd	0x3f000000
	align	4
_4387:
	dd	0x3f000000
	align	4
_4388:
	dd	0x3f800000
	align	4
_4389:
	dd	0x3f000000
	align	4
_4432:
	dd	0x3f000000
	align	4
_4433:
	dd	0x3d4ccccd
	align	4
_197:
	dd	_bbStringClass
	dd	2147483647
	dd	3
	dw	103,117,110
	align	4
_4440:
	dd	0x41000000
_2590:
	db	"i",0
_2592:
	db	"i",0
_2594:
	db	"i",0
_2596:
	db	"i",0
_2598:
	db	"i",0
_2600:
	db	"i",0
_2602:
	db	"i",0
_2604:
	db	"i",0
_2606:
	db	"i",0
	align	4
_200:
	dd	_bbStringClass
	dd	2147483647
	dd	18
	dw	99,111,110,102,105,103,47,112,114,101,115,101,116,115,46,105
	dw	110,105
	align	4
_202:
	dd	_bbStringClass
	dd	2147483647
	dd	5
	dw	112,108,97,116,101
	align	4
_201:
	dd	_bbStringClass
	dd	2147483647
	dd	13
	dw	66,97,115,101,77,97,112,83,116,121,108,101,49
	align	4
_204:
	dd	_bbStringClass
	dd	2147483647
	dd	4
	dw	114,111,99,107
	align	4
_203:
	dd	_bbStringClass
	dd	2147483647
	dd	13
	dw	66,97,115,101,77,97,112,83,116,121,108,101,50
	align	4
_2784:
	dd	_bbStringClass
	dd	2147483647
	dd	1
	dw	49
	align	4
_205:
	dd	_bbStringClass
	dd	2147483647
	dd	8
	dw	66,97,115,101,77,97,112,49
	align	4
_2789:
	dd	_bbStringClass
	dd	2147483647
	dd	1
	dw	52
	align	4
_206:
	dd	_bbStringClass
	dd	2147483647
	dd	8
	dw	66,97,115,101,77,97,112,50
	align	4
_208:
	dd	_bbStringClass
	dd	2147483647
	dd	4
	dw	110,111,110,101
	align	4
_207:
	dd	_bbStringClass
	dd	2147483647
	dd	12
	dw	67,108,105,109,97,116,101,83,116,121,108,101
	align	4
_209:
	dd	_bbStringClass
	dd	2147483647
	dd	9
	dw	67,105,116,121,83,116,121,108,101
	align	4
_211:
	dd	_bbStringClass
	dd	2147483647
	dd	7
	dw	99,108,111,117,100,115,49
	align	4
_210:
	dd	_bbStringClass
	dd	2147483647
	dd	6
	dw	67,108,111,117,100,115
	align	4
_213:
	dd	_bbStringClass
	dd	2147483647
	dd	5
	dw	109,97,115,107,51
	align	4
_212:
	dd	_bbStringClass
	dd	2147483647
	dd	4
	dw	77,97,115,107
	align	4
_214:
	dd	_bbStringClass
	dd	2147483647
	dd	9
	dw	67,108,111,117,100,77,97,115,107
	align	4
_216:
	dd	_bbStringClass
	dd	2147483647
	dd	5
	dw	114,105,110,103,49
	align	4
_215:
	dd	_bbStringClass
	dd	2147483647
	dd	4
	dw	82,105,110,103
	align	4
_218:
	dd	_bbStringClass
	dd	2147483647
	dd	9
	dw	84,101,109,112,101,114,97,116,101
	align	4
_217:
	dd	_bbStringClass
	dd	2147483647
	dd	13
	dw	80,108,97,110,101,116,80,97,108,101,116,116,101
	align	4
_220:
	dd	_bbStringClass
	dd	2147483647
	dd	7
	dw	67,105,116,105,101,115,49
	align	4
_219:
	dd	_bbStringClass
	dd	2147483647
	dd	11
	dw	67,105,116,121,80,97,108,101,116,116,101
	align	4
_222:
	dd	_bbStringClass
	dd	2147483647
	dd	6
	dw	80,111,108,97,114,49
	align	4
_221:
	dd	_bbStringClass
	dd	2147483647
	dd	14
	dw	67,108,105,109,97,116,101,80,97,108,101,116,116,101
	align	4
_2830:
	dd	_bbStringClass
	dd	2147483647
	dd	2
	dw	54,52
	align	4
_223:
	dd	_bbStringClass
	dd	2147483647
	dd	12
	dw	78,111,105,115,101,77,97,112,83,105,122,101
	align	4
_2831:
	dd	_bbStringClass
	dd	2147483647
	dd	10
	dw	50,46,48,48,48,48,48,48,48,48
	align	4
_224:
	dd	_bbStringClass
	dd	2147483647
	dd	13
	dw	78,111,105,115,101,77,97,112,83,99,97,108,101
	align	4
_2832:
	dd	_bbStringClass
	dd	2147483647
	dd	4
	dw	49,48,50,52
	align	4
_225:
	dd	_bbStringClass
	dd	2147483647
	dd	14
	dw	78,111,105,115,101,77,97,112,68,101,116,97,105,108
	align	4
_2833:
	dd	_bbStringClass
	dd	2147483647
	dd	1
	dw	55
	align	4
_226:
	dd	_bbStringClass
	dd	2147483647
	dd	15
	dw	78,111,105,115,101,77,97,112,79,99,116,97,118,101,115
	align	4
_227:
	dd	_bbStringClass
	dd	2147483647
	dd	9
	dw	78,111,105,115,101,84,121,112,101
	align	4
_2834:
	dd	_bbStringClass
	dd	2147483647
	dd	3
	dw	49,50,56
	align	4
_228:
	dd	_bbStringClass
	dd	2147483647
	dd	10
	dw	66,114,105,103,104,116,110,101,115,115
	align	4
_2835:
	dd	_bbStringClass
	dd	2147483647
	dd	2
	dw	51,50
	align	4
_229:
	dd	_bbStringClass
	dd	2147483647
	dd	7
	dw	68,101,116,97,105,108,49
	align	4
_230:
	dd	_bbStringClass
	dd	2147483647
	dd	7
	dw	68,101,116,97,105,108,50
	align	4
_231:
	dd	_bbStringClass
	dd	2147483647
	dd	7
	dw	71,108,111,119,105,110,103
	align	4
_232:
	dd	_bbStringClass
	dd	2147483647
	dd	15
	dw	77,111,108,116,101,110,78,105,103,104,116,83,105,100,101
	align	4
_233:
	dd	_bbStringClass
	dd	2147483647
	dd	11
	dw	83,105,109,112,108,101,66,108,101,110,100
	align	4
_2836:
	dd	_bbStringClass
	dd	2147483647
	dd	11
	dw	48,46,48,48,48,48,48,48,48,48,48
	align	4
_234:
	dd	_bbStringClass
	dd	2147483647
	dd	10
	dw	80,111,112,117,108,97,116,105,111,110
	align	4
_235:
	dd	_bbStringClass
	dd	2147483647
	dd	18
	dw	80,111,112,117,108,97,116,105,111,110,77,105,110,82,97,110
	dw	103,101
	align	4
_2837:
	dd	_bbStringClass
	dd	2147483647
	dd	3
	dw	50,53,53
	align	4
_236:
	dd	_bbStringClass
	dd	2147483647
	dd	18
	dw	80,111,112,117,108,97,116,105,111,110,77,97,120,82,97,110
	dw	103,101
	align	4
_2838:
	dd	_bbStringClass
	dd	2147483647
	dd	11
	dw	48,46,50,53,48,48,48,48,48,48,48
	align	4
_237:
	dd	_bbStringClass
	dd	2147483647
	dd	9
	dw	80,111,108,97,114,67,97,112,115
	align	4
_2839:
	dd	_bbStringClass
	dd	2147483647
	dd	3
	dw	50,50,52
	align	4
_238:
	dd	_bbStringClass
	dd	2147483647
	dd	11
	dw	80,111,108,97,114,65,108,98,101,100,111
	align	4
_239:
	dd	_bbStringClass
	dd	2147483647
	dd	10
	dw	82,105,110,103,83,116,97,116,117,115
	align	4
_2840:
	dd	_bbStringClass
	dd	2147483647
	dd	1
	dw	50
	align	4
_240:
	dd	_bbStringClass
	dd	2147483647
	dd	11
	dw	82,105,110,103,115,68,101,116,97,105,108
	align	4
_2841:
	dd	_bbStringClass
	dd	2147483647
	dd	10
	dw	49,46,48,48,48,48,48,48,48,48
	align	4
_241:
	dd	_bbStringClass
	dd	2147483647
	dd	16
	dw	82,105,110,103,115,73,110,110,101,114,82,97,100,105,117,115
	align	4
_2842:
	dd	_bbStringClass
	dd	2147483647
	dd	10
	dw	50,46,53,48,48,48,48,48,48,48
	align	4
_242:
	dd	_bbStringClass
	dd	2147483647
	dd	16
	dw	82,105,110,103,115,79,117,116,101,114,82,97,100,105,117,115
	align	4
_243:
	dd	_bbStringClass
	dd	2147483647
	dd	14
	dw	80,108,97,110,101,116,82,111,116,97,116,105,111,110
	align	4
_244:
	dd	_bbStringClass
	dd	2147483647
	dd	13
	dw	67,108,111,117,100,82,111,116,97,116,105,111,110
	align	4
_2843:
	dd	_bbStringClass
	dd	2147483647
	dd	12
	dw	48,46,48,49,57,57,57,57,57,57,57,54
	align	4
_245:
	dd	_bbStringClass
	dd	2147483647
	dd	19
	dw	80,108,97,110,101,116,82,111,116,97,116,105,111,110,83,112
	dw	101,101,100
	align	4
_2844:
	dd	_bbStringClass
	dd	2147483647
	dd	12
	dw	48,46,48,50,53,48,48,48,48,48,48,52
	align	4
_246:
	dd	_bbStringClass
	dd	2147483647
	dd	18
	dw	67,108,111,117,100,82,111,116,97,116,105,111,110,83,112,101
	dw	101,100
	align	4
_247:
	dd	_bbStringClass
	dd	2147483647
	dd	11
	dw	67,108,111,117,100,83,99,97,108,101,88
	align	4
_248:
	dd	_bbStringClass
	dd	2147483647
	dd	11
	dw	67,108,111,117,100,83,99,97,108,101,89
	align	4
_2845:
	dd	_bbStringClass
	dd	2147483647
	dd	11
	dw	45,50,46,48,48,48,48,48,48,48,48
	align	4
_249:
	dd	_bbStringClass
	dd	2147483647
	dd	18
	dw	67,108,111,117,100,83,104,97,100,111,119,79,102,102,115,101
	dw	116,88
	align	4
_250:
	dd	_bbStringClass
	dd	2147483647
	dd	18
	dw	67,108,111,117,100,83,104,97,100,111,119,79,102,102,115,101
	dw	116,89
	align	4
_2846:
	dd	_bbStringClass
	dd	2147483647
	dd	11
	dw	48,46,49,50,53,48,48,48,48,48,48
	align	4
_251:
	dd	_bbStringClass
	dd	2147483647
	dd	9
	dw	83,104,105,110,105,110,101,115,115
	align	4
_252:
	dd	_bbStringClass
	dd	2147483647
	dd	12
	dw	80,108,97,110,101,116,68,101,116,97,105,108
	align	4
_254:
	dd	_bbStringClass
	dd	2147483647
	dd	5
	dw	116,101,114,114,97
	align	4
_253:
	dd	_bbStringClass
	dd	2147483647
	dd	13
	dw	68,101,116,97,105,108,84,101,120,116,117,114,101
	align	4
_2851:
	dd	_bbStringClass
	dd	2147483647
	dd	11
	dw	48,46,53,48,48,48,48,48,48,48,48
	align	4
_255:
	dd	_bbStringClass
	dd	2147483647
	dd	12
	dw	68,101,116,97,105,108,83,99,97,108,101,88
	align	4
_256:
	dd	_bbStringClass
	dd	2147483647
	dd	12
	dw	68,101,116,97,105,108,83,99,97,108,101,89
	align	4
_259:
	dd	_bbStringClass
	dd	2147483647
	dd	1
	dw	44
	align	4
_258:
	dd	_bbStringClass
	dd	2147483647
	dd	15
	dw	50,53,53,44,50,53,53,44,50,53,53,44,50,53,53
	align	4
_257:
	dd	_bbStringClass
	dd	2147483647
	dd	10
	dw	67,108,111,117,100,115,82,71,66,65
	align	4
_261:
	dd	_bbStringClass
	dd	2147483647
	dd	9
	dw	48,44,48,44,48,44,50,53,53
	align	4
_260:
	dd	_bbStringClass
	dd	2147483647
	dd	15
	dw	67,108,111,117,100,83,104,97,100,111,119,82,71,66,65
	align	4
_263:
	dd	_bbStringClass
	dd	2147483647
	dd	14
	dw	54,52,44,49,50,56,44,50,53,53,44,49,50,56
	align	4
_262:
	dd	_bbStringClass
	dd	2147483647
	dd	8
	dw	65,116,109,111,82,71,66,65
	align	4
_265:
	dd	_bbStringClass
	dd	2147483647
	dd	15
	dw	49,50,56,44,49,57,50,44,50,53,53,44,50,53,53
	align	4
_264:
	dd	_bbStringClass
	dd	2147483647
	dd	8
	dw	71,108,111,119,82,71,66,65
	align	4
_267:
	dd	_bbStringClass
	dd	2147483647
	dd	15
	dw	50,50,52,44,50,52,48,44,50,53,53,44,50,53,53
	align	4
_266:
	dd	_bbStringClass
	dd	2147483647
	dd	9
	dw	82,105,110,103,115,82,71,66,65
	align	4
_269:
	dd	_bbStringClass
	dd	2147483647
	dd	6
	dw	52,44,56,44,49,54
	align	4
_268:
	dd	_bbStringClass
	dd	2147483647
	dd	8
	dw	78,105,103,104,116,82,71,66
	align	4
_271:
	dd	_bbStringClass
	dd	2147483647
	dd	7
	dw	32,108,111,97,100,101,100
	align	4
_2891:
	dd	_bbStringClass
	dd	2147483647
	dd	1
	dw	34
	align	4
_2892:
	dd	_bbStringClass
	dd	2147483647
	dd	8
	dw	80,114,101,115,101,116,32,34
	align	4
_272:
	dd	_bbStringClass
	dd	2147483647
	dd	29
	dw	116,101,120,116,117,114,101,115,47,111,116,104,101,114,47,114
	dw	105,110,103,115,104,97,100,111,119,46,112,110,103
	align	4
_273:
	dd	_bbStringClass
	dd	2147483647
	dd	23
	dw	116,101,120,116,117,114,101,115,47,111,116,104,101,114,47,103
	dw	108,111,119,46,112,110,103
	align	4
_274:
	dd	_bbStringClass
	dd	2147483647
	dd	23
	dw	116,101,120,116,117,114,101,115,47,111,116,104,101,114,47,97
	dw	116,109,111,46,112,110,103
	align	4
_275:
	dd	_bbStringClass
	dd	2147483647
	dd	20
	dw	66,97,115,101,32,84,101,120,116,117,114,101,115,32,108,111
	dw	97,100,101,100
	align	4
_276:
	dd	_bbStringClass
	dd	2147483647
	dd	15
	dw	79,98,106,101,99,116,115,32,99,114,101,97,116,101,100
	align	4
_277:
	dd	_bbStringClass
	dd	2147483647
	dd	18
	dw	99,111,110,102,105,103,47,112,97,108,101,116,116,101,46,105
	dw	110,105
	align	4
_279:
	dd	_bbStringClass
	dd	2147483647
	dd	17
	dw	71,114,97,100,105,101,110,116,68,105,114,101,99,116,105,111
	dw	110
	align	4
_2971:
	dd	_bbStringClass
	dd	2147483647
	dd	1
	dw	57
	align	4
_278:
	dd	_bbStringClass
	dd	2147483647
	dd	13
	dw	71,114,97,100,105,101,110,116,83,116,101,112,115
	align	4
_280:
	dd	_bbStringClass
	dd	2147483647
	dd	13
	dw	83,116,121,108,101,115,32,108,111,97,100,101,100
	align	4
_281:
	dd	_bbStringClass
	dd	2147483647
	dd	16
	dw	78,111,105,115,101,109,97,112,32,99,114,101,97,116,101,100
	align	4
_282:
	dd	_bbStringClass
	dd	2147483647
	dd	17
	dw	72,101,105,103,104,116,109,97,112,32,99,114,101,97,116,101
	dw	100
	align	4
_283:
	dd	_bbStringClass
	dd	2147483647
	dd	17
	dw	69,109,98,111,115,115,109,97,112,32,99,114,101,97,116,101
	dw	100
	align	4
_284:
	dd	_bbStringClass
	dd	2147483647
	dd	16
	dw	67,111,108,111,114,109,97,112,32,99,114,101,97,116,101,100
	align	4
_285:
	dd	_bbStringClass
	dd	2147483647
	dd	16
	dw	78,105,103,104,116,109,97,112,32,99,114,101,97,116,101,100
	align	4
_287:
	dd	_bbStringClass
	dd	2147483647
	dd	4
	dw	46,106,112,103
	align	4
_286:
	dd	_bbStringClass
	dd	2147483647
	dd	15
	dw	116,101,120,116,117,114,101,115,47,109,97,115,107,115,47
	align	4
_288:
	dd	_bbStringClass
	dd	2147483647
	dd	16
	dw	116,101,120,116,117,114,101,115,47,100,101,116,97,105,108,47
	align	4
_289:
	dd	_bbStringClass
	dd	2147483647
	dd	16
	dw	116,101,120,116,117,114,101,115,47,99,108,111,117,100,115,47
	align	4
_290:
	dd	_bbStringClass
	dd	2147483647
	dd	26
	dw	65,100,100,105,116,105,111,110,97,108,32,84,101,120,116,117
	dw	114,101,115,32,108,111,97,100,101,100
	align	4
_4455:
	dd	0x437f0000
	align	4
_4456:
	dd	0x437f0000
	align	4
_292:
	dd	_bbStringClass
	dd	2147483647
	dd	4
	dw	46,112,110,103
	align	4
_291:
	dd	_bbStringClass
	dd	2147483647
	dd	15
	dw	116,101,120,116,117,114,101,115,47,114,105,110,103,115,47
	align	4
_4457:
	dd	0x437f0000
	align	4
_4458:
	dd	0x437f0000
	align	4
_4459:
	dd	0x437f0000
	align	4
_4460:
	dd	0x437f0000
	align	4
_293:
	dd	_bbStringClass
	dd	2147483647
	dd	15
	dw	67,104,97,110,103,101,115,32,97,112,112,108,105,101,100
	align	4
_294:
	dd	_bbStringClass
	dd	2147483647
	dd	18
	dw	80,108,97,110,101,116,32,99,114,101,97,116,101,100,32,105
	dw	110,32
	align	4
_4481:
	dd	0x44800000
	align	4
_4482:
	dd	0x44800000
	align	4
_4502:
	dd	0x3f000000
	align	4
_4503:
	dd	0x43b40000
	align	4
_4504:
	dd	0x3f000000
	align	4
_4505:
	dd	0x43340000
	align	4
_4528:
	dd	0x3fc00000
	align	4
_4529:
	dd	0x3fc00000
	align	4
_4530:
	dd	0x40400000
	align	4
_4531:
	dd	0x3fc00000
	align	4
_4532:
	dd	0x3f800000
	align	4
_4545:
	dd	0x3f800000
_3322:
	db	"f",0
_3324:
	db	"i",0
_3326:
	db	"i",0
_3328:
	db	"i",0
	align	4
_350:
	dd	_bbStringClass
	dd	2147483647
	dd	7
	dw	80,97,108,101,116,116,101
	align	8
_4560:
	dd	0x0,0x40590000
	align	4
_4561:
	dd	0x3f800000
	align	4
_4562:
	dd	0x42c80000
	align	4
_4563:
	dd	0x3f800000
	align	4
_4564:
	dd	0x42c80000
	align	4
_4565:
	dd	0x3f800000
	align	4
_4566:
	dd	0x3f800000
	align	4
_4567:
	dd	0x3f800000
