	.reference	___bb_blitz_blitz
	.reference	___bb_imports_aspect
	.reference	___bb_imports_car
	.reference	___bb_imports_cloud
	.reference	___bb_imports_constants
	.reference	___bb_imports_horizon
	.reference	___bb_imports_segment
	.reference	__bb_TCar_gEnemyCount
	.reference	__bb_TCar_gEnemyMinZ
	.reference	__bb_TCloud_gHorizonYOffset
	.reference	__bb_TCloud_gHorizontalSpeed
	.reference	__bb_TEntity_gFirst
	.reference	__bb_TEntity_gLast
	.reference	__bb_TEntity_gMaxZ
	.reference	__bb_TEntity_gMinZ
	.reference	__bb_THorizon_gGfx1
	.reference	__bb_THorizon_gGfx2
	.reference	__bb_THorizon_gGfx3
	.reference	__bb_TProp_gBannerStart
	.reference	__bb_TProp_gGfxBannerStart1
	.reference	__bb_TProp_gGfxBannerStart2
	.reference	__bb_TProp_gGfxBannerStart3
	.reference	__bb_TScore_gHiScore
	.reference	__bb_TScore_gScore
	.reference	__bb_TSegment_gFirstSegment
	.reference	__bb_TSegment_gHorizonYOffset
	.reference	__bb_TSegment_gLastSegment
	.reference	__bb_TSegment_gMaxZ
	.reference	__bb_TSegment_gMinZ
	.reference	_bbArrayNew
	.reference	_bbArrayNew1D
	.reference	_bbEmptyArray
	.reference	_bbFloatMod
	.reference	_bbFloatToInt
	.reference	_bbGCFree
	.reference	_bbMilliSecs
	.reference	_bbNullObject
	.reference	_bbObjectClass
	.reference	_bbObjectCompare
	.reference	_bbObjectCtor
	.reference	_bbObjectFree
	.reference	_bbObjectRegisterType
	.reference	_bbObjectReserved
	.reference	_bbObjectSendMessage
	.reference	_bbObjectToString
	.reference	_bbStringClass
	.reference	_bbStringConcat
	.reference	_bbStringFromInt
	.reference	_bbSystemDesktopHeight
	.reference	_bbSystemDesktopWidth
	.reference	_bb_SetAspectColor
	.reference	_bb_SetAspectResolution
	.reference	_bb_TCar
	.reference	_bb_TCloud
	.reference	_bb_TEntity
	.reference	_bb_THorizon
	.reference	_bb_TProp
	.reference	_bb_TScore
	.reference	_bb_TSegment
	.reference	_brl_audio_AllocChannel
	.reference	_brl_audio_ChannelPlaying
	.reference	_brl_audio_LoadSound
	.reference	_brl_audio_PlaySound
	.reference	_brl_audio_StopChannel
	.reference	_brl_graphics_Flip
	.reference	_brl_graphics_Graphics
	.reference	_brl_max2d_Cls
	.reference	_brl_max2d_DrawImage
	.reference	_brl_max2d_DrawRect
	.reference	_brl_max2d_DrawText
	.reference	_brl_max2d_ImageWidth
	.reference	_brl_max2d_LoadAnimImage
	.reference	_brl_max2d_LoadImage
	.reference	_brl_max2d_LoadImageFont
	.reference	_brl_max2d_SetAlpha
	.reference	_brl_max2d_SetBlend
	.reference	_brl_max2d_SetClsColor
	.reference	_brl_max2d_SetColor
	.reference	_brl_max2d_SetImageFont
	.reference	_brl_max2d_SetImageHandle
	.reference	_brl_max2d_SetScale
	.reference	_brl_polledinput_AppTerminate
	.reference	_brl_polledinput_FlushKeys
	.reference	_brl_polledinput_KeyHit
	.reference	_brl_random_Rand
	.reference	_brl_random_Rnd
	.reference	_brl_system_HideMouse
	.reference	_brl_system_ShowMouse
	.globl	___bb_imports_gamemode
	.globl	__bb_TGameMode_Delete
	.globl	__bb_TGameMode_New
	.globl	__bb_TGameMode_createBushes
	.globl	__bb_TGameMode_createClouds
	.globl	__bb_TGameMode_createHorizons
	.globl	__bb_TGameMode_draw
	.globl	__bb_TGameMode_drawHUD
	.globl	__bb_TGameMode_drawHorizons
	.globl	__bb_TGameMode_gBushTimer
	.globl	__bb_TGameMode_gCheckpointTimer
	.globl	__bb_TGameMode_gChnMusic
	.globl	__bb_TGameMode_gEnemyLane
	.globl	__bb_TGameMode_gEnemyTimer
	.globl	__bb_TGameMode_gFont32
	.globl	__bb_TGameMode_gFont64
	.globl	__bb_TGameMode_gGameOverAlpha
	.globl	__bb_TGameMode_gGfxRoad
	.globl	__bb_TGameMode_gGfxSelectCar
	.globl	__bb_TGameMode_gGfxSelectCarRect
	.globl	__bb_TGameMode_gGfxTrophies
	.globl	__bb_TGameMode_gHorizon1
	.globl	__bb_TGameMode_gHorizon2
	.globl	__bb_TGameMode_gHorizon3
	.globl	__bb_TGameMode_gHorizonYOffset
	.globl	__bb_TGameMode_gLaps
	.globl	__bb_TGameMode_gMusicEnabled
	.globl	__bb_TGameMode_gNewPlayerCarTimer
	.globl	__bb_TGameMode_gPlayer
	.globl	__bb_TGameMode_gPlayerCarColor
	.globl	__bb_TGameMode_gPlayerDistance
	.globl	__bb_TGameMode_gPlayerSegmentDX
	.globl	__bb_TGameMode_gPlayerSpeed
	.globl	__bb_TGameMode_gPlayerX
	.globl	__bb_TGameMode_gScale
	.globl	__bb_TGameMode_gSelectedMusic
	.globl	__bb_TGameMode_gSndLap
	.globl	__bb_TGameMode_gSndRaceMusic
	.globl	__bb_TGameMode_gSndStart1
	.globl	__bb_TGameMode_gSndStart2
	.globl	__bb_TGameMode_gSndTitleMusic
	.globl	__bb_TGameMode_gStartCountDown
	.globl	__bb_TGameMode_gStartCountDownRepeats
	.globl	__bb_TGameMode_gState
	.globl	__bb_TGameMode_gTextureOffset
	.globl	__bb_TGameMode_gTime
	.globl	__bb_TGameMode_gTrophy
	.globl	__bb_TGameMode_gWindowed
	.globl	__bb_TGameMode_gZMap
	.globl	__bb_TGameMode_init
	.globl	__bb_TGameMode_initZMapAndScaling
	.globl	__bb_TGameMode_loadGraphics
	.globl	__bb_TGameMode_playMusic
	.globl	__bb_TGameMode_removeAllGameObjects
	.globl	__bb_TGameMode_removeHorizons
	.globl	__bb_TGameMode_resetGraphics
	.globl	__bb_TGameMode_stopMusic
	.globl	__bb_TGameMode_switchToState
	.globl	__bb_TGameMode_toggleMusic
	.globl	__bb_TGameMode_update
	.globl	__bb_TGameMode_updateBushTimer
	.globl	__bb_TGameMode_updateEnemyTimer
	.globl	__bb_TGameMode_updateHorizons
	.globl	__bb_TGameMode_updateTextureOffset
	.globl	_bb_TGameMode
	.text	
___bb_imports_gamemode:
	push	%ebp
	mov	%esp,%ebp
	sub	$8,%esp
	cmpl	$0,_205
	je	_206
	mov	$0,%eax
	mov	%ebp,%esp
	pop	%ebp
	ret
_206:
	movl	$1,_205
	call	___bb_blitz_blitz
	call	___bb_imports_aspect
	call	___bb_imports_constants
	call	___bb_imports_segment
	call	___bb_imports_car
	call	___bb_imports_cloud
	call	___bb_imports_horizon
	movl	$_bb_TGameMode,(%esp)
	call	_bbObjectRegisterType
	mov	$0,%eax
	jmp	_148
_148:
	mov	%ebp,%esp
	pop	%ebp
	ret
__bb_TGameMode_New:
	push	%ebp
	mov	%esp,%ebp
	push	%ebx
	sub	$4,%esp
	movl	8(%ebp),%ebx
	movl	%ebx,(%esp)
	call	_bbObjectCtor
	movl	$_bb_TGameMode,(%ebx)
	mov	$0,%eax
	jmp	_151
_151:
	add	$4,%esp
	pop	%ebx
	mov	%ebp,%esp
	pop	%ebp
	ret
__bb_TGameMode_Delete:
	push	%ebp
	mov	%esp,%ebp
	sub	$8,%esp
_154:
	mov	$0,%eax
	jmp	_207
_207:
	mov	%ebp,%esp
	pop	%ebp
	ret
__bb_TGameMode_init:
	push	%ebp
	mov	%esp,%ebp
	push	%ebx
	sub	$20,%esp
	call	_brl_system_HideMouse
	calll	*_bb_TGameMode+60
	movl	__bb_TGameMode_gZMap,%eax
	flds	24(%eax)
	fstps	__bb_TEntity_gMinZ
	movl	__bb_TGameMode_gZMap,%eax
	flds	1196+24(%eax)
	fstps	__bb_TEntity_gMaxZ
	flds	__bb_TEntity_gMinZ
	flds	__bb_TEntity_gMaxZ
	fdivs	_526
	fsubrp	%st(0),%st(1)
	fstps	__bb_TCar_gEnemyMinZ
	movl	__bb_TGameMode_gZMap,%eax
	flds	24(%eax)
	fstps	__bb_TSegment_gMinZ
	movl	__bb_TGameMode_gZMap,%eax
	flds	1196+24(%eax)
	fstps	__bb_TSegment_gMaxZ
	movl	$1,4(%esp)
	movl	$_7,(%esp)
	call	_brl_audio_LoadSound
	incl	4(%eax)
	mov	%eax,%ebx
	movl	__bb_TGameMode_gSndTitleMusic,%eax
	decl	4(%eax)
	jnz	_211
	movl	%eax,(%esp)
	call	_bbGCFree
_211:
	movl	%ebx,__bb_TGameMode_gSndTitleMusic
	movl	$1,4(%esp)
	movl	$_8,(%esp)
	call	_brl_audio_LoadSound
	incl	4(%eax)
	mov	%eax,%ebx
	movl	__bb_TGameMode_gSndRaceMusic,%eax
	decl	4(%eax)
	jnz	_215
	movl	%eax,(%esp)
	call	_bbGCFree
_215:
	movl	%ebx,__bb_TGameMode_gSndRaceMusic
	movl	$0,4(%esp)
	movl	$_9,(%esp)
	call	_brl_audio_LoadSound
	incl	4(%eax)
	mov	%eax,%ebx
	movl	__bb_TGameMode_gSndLap,%eax
	decl	4(%eax)
	jnz	_219
	movl	%eax,(%esp)
	call	_bbGCFree
_219:
	movl	%ebx,__bb_TGameMode_gSndLap
	movl	$0,4(%esp)
	movl	$_10,(%esp)
	call	_brl_audio_LoadSound
	incl	4(%eax)
	mov	%eax,%ebx
	movl	__bb_TGameMode_gSndStart1,%eax
	decl	4(%eax)
	jnz	_223
	movl	%eax,(%esp)
	call	_bbGCFree
_223:
	movl	%ebx,__bb_TGameMode_gSndStart1
	movl	$0,4(%esp)
	movl	$_11,(%esp)
	call	_brl_audio_LoadSound
	incl	4(%eax)
	mov	%eax,%ebx
	movl	__bb_TGameMode_gSndStart2,%eax
	decl	4(%eax)
	jnz	_227
	movl	%eax,(%esp)
	call	_bbGCFree
_227:
	movl	%ebx,__bb_TGameMode_gSndStart2
	call	_brl_audio_AllocChannel
	incl	4(%eax)
	mov	%eax,%ebx
	movl	__bb_TGameMode_gChnMusic,%eax
	decl	4(%eax)
	jnz	_231
	movl	%eax,(%esp)
	call	_bbGCFree
_231:
	movl	%ebx,__bb_TGameMode_gChnMusic
	movl	__bb_TGameMode_gChnMusic,%eax
	flds	_527
	fstps	4(%esp)
	movl	%eax,(%esp)
	movl	(%eax),%eax
	calll	*56(%eax)
	movl	$0,__bb_TScore_gHiScore
	movl	$0,(%esp)
	calll	*_bb_TGameMode+76
	mov	$0,%eax
	jmp	_156
_156:
	add	$20,%esp
	pop	%ebx
	mov	%ebp,%esp
	pop	%ebp
	ret
__bb_TGameMode_resetGraphics:
	push	%ebp
	mov	%esp,%ebp
	sub	$24,%esp
	cmpl	$0,__bb_TGameMode_gWindowed
	je	_233
	movl	$0,16(%esp)
	movl	$60,12(%esp)
	movl	$0,8(%esp)
	movl	$600,4(%esp)
	movl	$800,(%esp)
	call	_brl_graphics_Graphics
	movl	$3,8(%esp)
	flds	_530
	fstps	4(%esp)
	flds	_531
	fstps	(%esp)
	call	_bb_SetAspectResolution
	jmp	_234
_233:
	movl	$0,16(%esp)
	movl	$60,12(%esp)
	movl	$32,8(%esp)
	call	_bbSystemDesktopHeight
	movl	%eax,4(%esp)
	call	_bbSystemDesktopWidth
	movl	%eax,(%esp)
	call	_brl_graphics_Graphics
	movl	$3,8(%esp)
	flds	_532
	fstps	4(%esp)
	flds	_533
	fstps	(%esp)
	call	_bb_SetAspectResolution
_234:
	movl	$0,8(%esp)
	movl	$0,4(%esp)
	movl	$0,(%esp)
	call	_brl_max2d_SetClsColor
	movl	$64,8(%esp)
	movl	$64,4(%esp)
	movl	$64,(%esp)
	call	_bb_SetAspectColor
	calll	*_bb_TGameMode+56
	mov	$0,%eax
	jmp	_158
_158:
	mov	%ebp,%esp
	pop	%ebp
	ret
__bb_TGameMode_loadGraphics:
	push	%ebp
	mov	%esp,%ebp
	sub	$4,%esp
	push	%ebx
	sub	$32,%esp
	movl	$4,8(%esp)
	movl	$20,4(%esp)
	movl	$_12,(%esp)
	call	_brl_max2d_LoadImageFont
	incl	4(%eax)
	mov	%eax,%ebx
	movl	__bb_TGameMode_gFont32,%eax
	decl	4(%eax)
	jnz	_238
	movl	%eax,(%esp)
	call	_bbGCFree
_238:
	movl	%ebx,__bb_TGameMode_gFont32
	movl	$4,8(%esp)
	movl	$60,4(%esp)
	movl	$_12,(%esp)
	call	_brl_max2d_LoadImageFont
	incl	4(%eax)
	mov	%eax,%ebx
	movl	__bb_TGameMode_gFont64,%eax
	decl	4(%eax)
	jnz	_242
	movl	%eax,(%esp)
	call	_bbGCFree
_242:
	movl	%ebx,__bb_TGameMode_gFont64
	movl	$0,20(%esp)
	movl	$2,16(%esp)
	movl	$0,12(%esp)
	movl	$1,8(%esp)
	movl	$800,4(%esp)
	movl	$_13,(%esp)
	call	_brl_max2d_LoadAnimImage
	incl	4(%eax)
	mov	%eax,%ebx
	movl	__bb_TGameMode_gGfxRoad,%eax
	decl	4(%eax)
	jnz	_246
	movl	%eax,(%esp)
	call	_bbGCFree
_246:
	movl	%ebx,__bb_TGameMode_gGfxRoad
	movl	$-1,20(%esp)
	movl	$3,16(%esp)
	movl	$0,12(%esp)
	movl	$24,8(%esp)
	movl	$18,4(%esp)
	movl	$_14,(%esp)
	call	_brl_max2d_LoadAnimImage
	incl	4(%eax)
	mov	%eax,%ebx
	movl	__bb_TGameMode_gGfxTrophies,%eax
	decl	4(%eax)
	jnz	_250
	movl	%eax,(%esp)
	call	_bbGCFree
_250:
	movl	%ebx,__bb_TGameMode_gGfxTrophies
	movl	$-1,20(%esp)
	movl	$4,16(%esp)
	movl	$0,12(%esp)
	movl	$41,8(%esp)
	movl	$100,4(%esp)
	movl	$_15,(%esp)
	call	_brl_max2d_LoadAnimImage
	incl	4(%eax)
	mov	%eax,%ebx
	movl	__bb_TGameMode_gGfxSelectCar,%eax
	decl	4(%eax)
	jnz	_254
	movl	%eax,(%esp)
	call	_bbGCFree
_254:
	movl	%ebx,__bb_TGameMode_gGfxSelectCar
	movl	$-1,4(%esp)
	movl	$_16,(%esp)
	call	_brl_max2d_LoadImage
	incl	4(%eax)
	mov	%eax,%ebx
	movl	__bb_TGameMode_gGfxSelectCarRect,%eax
	decl	4(%eax)
	jnz	_258
	movl	%eax,(%esp)
	call	_bbGCFree
_258:
	movl	%ebx,__bb_TGameMode_gGfxSelectCarRect
	fldz
	fstps	8(%esp)
	movl	__bb_TGameMode_gGfxRoad,%eax
	movl	%eax,(%esp)
	call	_brl_max2d_ImageWidth
	cdq
	and	$1,%edx
	add	%edx,%eax
	sar	$1,%eax
	movl	%eax,-4(%ebp)
	fildl	-4(%ebp)
	fstps	4(%esp)
	movl	__bb_TGameMode_gGfxRoad,%eax
	movl	%eax,(%esp)
	call	_brl_max2d_SetImageHandle
	calll	*_bb_THorizon+48
	calll	*_bb_TProp+160
	calll	*_bb_TProp+164
	calll	*_bb_TCloud+52
	calll	*_bb_TCar+160
	calll	*_bb_TCar+164
	mov	$0,%eax
	jmp	_160
_160:
	add	$32,%esp
	pop	%ebx
	mov	%ebp,%esp
	pop	%ebp
	ret
__bb_TGameMode_initZMapAndScaling:
	push	%ebp
	mov	%esp,%ebp
	sub	$4,%esp
	push	%ebx
	sub	$16,%esp
	movl	$300,4(%esp)
	movl	$_259,(%esp)
	call	_bbArrayNew1D
	incl	4(%eax)
	mov	%eax,%ebx
	movl	__bb_TGameMode_gZMap,%eax
	decl	4(%eax)
	jnz	_263
	movl	%eax,(%esp)
	call	_bbGCFree
_263:
	movl	%ebx,__bb_TGameMode_gZMap
	movl	$300,4(%esp)
	movl	$_264,(%esp)
	call	_bbArrayNew1D
	incl	4(%eax)
	mov	%eax,%ebx
	movl	__bb_TGameMode_gScale,%eax
	decl	4(%eax)
	jnz	_268
	movl	%eax,(%esp)
	call	_bbGCFree
_268:
	movl	%ebx,__bb_TGameMode_gScale
	mov	$0,%edx
	jmp	_270
_19:
	movl	__bb_TGameMode_gZMap,%eax
	flds	_539
	movl	%edx,-4(%ebp)
	fildl	-4(%ebp)
	fsubs	_540
	fdivrp	%st(0),%st(1)
	fmuls	_541
	fstps	24(%eax,%edx,4)
	movl	__bb_TGameMode_gScale,%eax
	flds	_542
	flds	_543
	movl	%edx,-4(%ebp)
	fildl	-4(%ebp)
	fsubs	_544
	fdivrp	%st(0),%st(1)
	fdivrp	%st(0),%st(1)
	fstps	24(%eax,%edx,4)
_17:
	add	$1,%edx
_270:
	cmp	$299,%edx
	jle	_19
_18:
	flds	_545
	movl	__bb_TGameMode_gScale,%eax
	fdivs	336+24(%eax)
	mov	$0,%ecx
	jmp	_273
_22:
	movl	__bb_TGameMode_gScale,%edx
	movl	__bb_TGameMode_gScale,%eax
	flds	24(%eax,%ecx,4)
	fmul	%st(1),%st(0)
	fstps	24(%edx,%ecx,4)
_20:
	add	$1,%ecx
_273:
	cmp	$299,%ecx
	jle	_22
	fstp	%st(0)
_21:
	mov	$0,%eax
	jmp	_162
_162:
	add	$16,%esp
	pop	%ebx
	mov	%ebp,%esp
	pop	%ebp
	ret
__bb_TGameMode_playMusic:
	push	%ebp
	mov	%esp,%ebp
	push	%ebx
	push	%esi
	push	%edi
	sub	$12,%esp
	movl	8(%ebp),%esi
	movl	12(%ebp),%edi
	mov	%esi,%eax
	incl	4(%eax)
	mov	%eax,%ebx
	movl	__bb_TGameMode_gSelectedMusic,%eax
	decl	4(%eax)
	jnz	_277
	movl	%eax,(%esp)
	call	_bbGCFree
_277:
	movl	%ebx,__bb_TGameMode_gSelectedMusic
	cmpl	$0,__bb_TGameMode_gMusicEnabled
	je	_278
	movl	%edi,4(%esp)
	movl	%esi,(%esp)
	call	_brl_audio_PlaySound
_278:
	mov	$0,%eax
	jmp	_166
_166:
	add	$12,%esp
	pop	%edi
	pop	%esi
	pop	%ebx
	mov	%ebp,%esp
	pop	%ebp
	ret
__bb_TGameMode_stopMusic:
	push	%ebp
	mov	%esp,%ebp
	push	%ebx
	sub	$4,%esp
	movl	__bb_TGameMode_gChnMusic,%eax
	movl	%eax,(%esp)
	call	_brl_audio_ChannelPlaying
	cmp	$0,%eax
	je	_279
	movl	__bb_TGameMode_gChnMusic,%eax
	movl	%eax,(%esp)
	call	_brl_audio_StopChannel
	mov	$_bbNullObject,%ebx
	incl	4(%ebx)
	movl	__bb_TGameMode_gSelectedMusic,%eax
	decl	4(%eax)
	jnz	_283
	movl	%eax,(%esp)
	call	_bbGCFree
_283:
	movl	%ebx,__bb_TGameMode_gSelectedMusic
_279:
	mov	$0,%eax
	jmp	_168
_168:
	add	$4,%esp
	pop	%ebx
	mov	%ebp,%esp
	pop	%ebp
	ret
__bb_TGameMode_toggleMusic:
	push	%ebp
	mov	%esp,%ebp
	sub	$8,%esp
	movl	__bb_TGameMode_gMusicEnabled,%eax
	cmp	$0,%eax
	sete	%al
	movzbl	%al,%eax
	movl	%eax,__bb_TGameMode_gMusicEnabled
	cmpl	$0,__bb_TGameMode_gMusicEnabled
	je	_284
	movl	__bb_TGameMode_gChnMusic,%eax
	movl	%eax,4(%esp)
	movl	__bb_TGameMode_gSelectedMusic,%eax
	movl	%eax,(%esp)
	call	_brl_audio_PlaySound
	jmp	_285
_284:
	movl	__bb_TGameMode_gChnMusic,%eax
	movl	%eax,(%esp)
	call	_brl_audio_StopChannel
_285:
	mov	$0,%eax
	jmp	_170
_170:
	mov	%ebp,%esp
	pop	%ebp
	ret
__bb_TGameMode_switchToState:
	push	%ebp
	mov	%esp,%ebp
	push	%ebx
	push	%esi
	sub	$16,%esp
	movl	8(%ebp),%esi
	cmp	$2,%esi
	je	_286
	call	_brl_polledinput_FlushKeys
_286:
	calll	*_bb_TGameMode+68
	mov	%esi,%eax
	cmp	$0,%eax
	je	_289
	cmp	$1,%eax
	je	_290
	cmp	$2,%eax
	je	_291
	cmp	$3,%eax
	je	_292
	jmp	_288
_289:
	calll	*_bb_TGameMode+92
	movl	$0,8(%esp)
	movl	$0,4(%esp)
	movl	$0,(%esp)
	call	_brl_max2d_SetClsColor
	movl	__bb_TGameMode_gChnMusic,%eax
	movl	%eax,4(%esp)
	movl	__bb_TGameMode_gSndTitleMusic,%eax
	movl	%eax,(%esp)
	calll	*_bb_TGameMode+64
	jmp	_288
_290:
	movl	$203,8(%esp)
	movl	$141,4(%esp)
	movl	$34,(%esp)
	call	_brl_max2d_SetClsColor
	flds	_557
	fstps	4(%esp)
	flds	_558
	fstps	(%esp)
	calll	*_bb_TSegment+52
	movl	__bb_TGameMode_gPlayerCarColor,%eax
	movl	%eax,(%esp)
	calll	*_bb_TCar+168
	incl	4(%eax)
	mov	%eax,%ebx
	movl	__bb_TGameMode_gPlayer,%eax
	decl	4(%eax)
	jnz	_296
	movl	%eax,(%esp)
	call	_bbGCFree
_296:
	movl	%ebx,__bb_TGameMode_gPlayer
	movl	__bb_TGameMode_gPlayer,%eax
	flds	20(%eax)
	fstps	__bb_TGameMode_gPlayerX
	movl	__bb_TGameMode_gPlayer,%eax
	flds	36(%eax)
	fstps	__bb_TGameMode_gPlayerSegmentDX
	movl	__bb_TGameMode_gPlayer,%eax
	flds	80(%eax)
	fstps	__bb_TGameMode_gPlayerSpeed
	calll	*_bb_TGameMode+80
	calll	*_bb_TGameMode+84
	fldz
	fstps	__bb_TGameMode_gHorizonYOffset
	calll	*_bb_TGameMode+88
	movl	$600,__bb_TGameMode_gStartCountDown
	movl	$4,__bb_TGameMode_gStartCountDownRepeats
	movl	$90,__bb_TGameMode_gCheckpointTimer
	movl	$0,__bb_TGameMode_gNewPlayerCarTimer
	movl	$0,__bb_TGameMode_gLaps
	calll	*_bb_TScore+48
	movl	$-1,__bb_TGameMode_gTrophy
	jmp	_288
_291:
	call	_bbMilliSecs
	movl	%eax,__bb_TGameMode_gTime
	movl	__bb_TGameMode_gChnMusic,%eax
	movl	%eax,4(%esp)
	movl	__bb_TGameMode_gSndRaceMusic,%eax
	movl	%eax,(%esp)
	calll	*_bb_TGameMode+64
	jmp	_288
_292:
	calll	*_bb_TCar+56
	fldz
	fstps	__bb_TGameMode_gGameOverAlpha
	jmp	_288
_288:
	movl	%esi,__bb_TGameMode_gState
	mov	$0,%eax
	jmp	_173
_173:
	add	$16,%esp
	pop	%esi
	pop	%ebx
	mov	%ebp,%esp
	pop	%ebp
	ret
__bb_TGameMode_createClouds:
	push	%ebp
	mov	%esp,%ebp
	push	%ebx
	sub	$4,%esp
	mov	$1,%ebx
	jmp	_298
_25:
	calll	*_bb_TCloud+48
_23:
	add	$1,%ebx
_298:
	cmp	$10,%ebx
	jle	_25
_24:
	mov	$0,%eax
	jmp	_175
_175:
	add	$4,%esp
	pop	%ebx
	mov	%ebp,%esp
	pop	%ebp
	ret
__bb_TGameMode_createBushes:
	push	%ebp
	mov	%esp,%ebp
	sub	$8,%esp
	push	%ebx
	sub	$28,%esp
	mov	$0,%ebx
	jmp	_300
_28:
	movl	$2,4(%esp)
	movl	$1,(%esp)
	call	_brl_random_Rand
	cmp	$1,%eax
	jne	_301
	fldl	_568
	fstpl	8(%esp)
	fldl	_569
	fstpl	(%esp)
	call	_brl_random_Rnd
	fchs
	fstps	-8(%ebp)
	flds	__bb_TEntity_gMaxZ
	fstpl	8(%esp)
	flds	__bb_TEntity_gMinZ
	fstpl	(%esp)
	call	_brl_random_Rnd
	movl	$3,8(%esp)
	flds	-8(%ebp)
	fstps	4(%esp)
	fstps	(%esp)
	calll	*_bb_TProp+156
	jmp	_302
_301:
	fldl	_570
	fstpl	8(%esp)
	fldl	_571
	fstpl	(%esp)
	call	_brl_random_Rnd
	fstps	-4(%ebp)
	flds	__bb_TEntity_gMaxZ
	fstpl	8(%esp)
	flds	__bb_TEntity_gMinZ
	fstpl	(%esp)
	call	_brl_random_Rnd
	movl	$3,8(%esp)
	flds	-4(%ebp)
	fstps	4(%esp)
	fstps	(%esp)
	calll	*_bb_TProp+156
_302:
_26:
	add	$1,%ebx
_300:
	cmp	$20,%ebx
	jle	_28
_27:
	mov	$0,%eax
	jmp	_177
_177:
	add	$28,%esp
	pop	%ebx
	mov	%ebp,%esp
	pop	%ebp
	ret
__bb_TGameMode_createHorizons:
	push	%ebp
	mov	%esp,%ebp
	push	%ebx
	sub	$20,%esp
	flds	_575
	fstps	4(%esp)
	movl	__bb_THorizon_gGfx1,%eax
	movl	%eax,(%esp)
	calll	*_bb_THorizon+52
	incl	4(%eax)
	mov	%eax,%ebx
	movl	__bb_TGameMode_gHorizon1,%eax
	decl	4(%eax)
	jnz	_306
	movl	%eax,(%esp)
	call	_bbGCFree
_306:
	movl	%ebx,__bb_TGameMode_gHorizon1
	flds	_576
	fstps	4(%esp)
	movl	__bb_THorizon_gGfx2,%eax
	movl	%eax,(%esp)
	calll	*_bb_THorizon+52
	incl	4(%eax)
	mov	%eax,%ebx
	movl	__bb_TGameMode_gHorizon2,%eax
	decl	4(%eax)
	jnz	_310
	movl	%eax,(%esp)
	call	_bbGCFree
_310:
	movl	%ebx,__bb_TGameMode_gHorizon2
	flds	_577
	fstps	4(%esp)
	movl	__bb_THorizon_gGfx3,%eax
	movl	%eax,(%esp)
	calll	*_bb_THorizon+52
	incl	4(%eax)
	mov	%eax,%ebx
	movl	__bb_TGameMode_gHorizon3,%eax
	decl	4(%eax)
	jnz	_314
	movl	%eax,(%esp)
	call	_bbGCFree
_314:
	movl	%ebx,__bb_TGameMode_gHorizon3
	mov	$0,%eax
	jmp	_179
_179:
	add	$20,%esp
	pop	%ebx
	mov	%ebp,%esp
	pop	%ebp
	ret
__bb_TGameMode_removeAllGameObjects:
	push	%ebp
	mov	%esp,%ebp
	sub	$8,%esp
	calll	*_bb_TEntity+56
	calll	*_bb_TCloud+64
	calll	*_bb_TSegment+56
	calll	*_bb_TGameMode+96
	movl	$0,__bb_TCar_gEnemyCount
	mov	$0,%eax
	jmp	_181
_181:
	mov	%ebp,%esp
	pop	%ebp
	ret
__bb_TGameMode_removeHorizons:
	push	%ebp
	mov	%esp,%ebp
	push	%ebx
	sub	$4,%esp
	mov	$_bbNullObject,%ebx
	incl	4(%ebx)
	movl	__bb_TGameMode_gHorizon1,%eax
	decl	4(%eax)
	jnz	_318
	movl	%eax,(%esp)
	call	_bbGCFree
_318:
	movl	%ebx,__bb_TGameMode_gHorizon1
	mov	$_bbNullObject,%ebx
	incl	4(%ebx)
	movl	__bb_TGameMode_gHorizon2,%eax
	decl	4(%eax)
	jnz	_322
	movl	%eax,(%esp)
	call	_bbGCFree
_322:
	movl	%ebx,__bb_TGameMode_gHorizon2
	mov	$_bbNullObject,%ebx
	incl	4(%ebx)
	movl	__bb_TGameMode_gHorizon3,%eax
	decl	4(%eax)
	jnz	_326
	movl	%eax,(%esp)
	call	_bbGCFree
_326:
	movl	%ebx,__bb_TGameMode_gHorizon3
	mov	$0,%eax
	jmp	_183
_183:
	add	$4,%esp
	pop	%ebx
	mov	%ebp,%esp
	pop	%ebp
	ret
__bb_TGameMode_update:
	push	%ebp
	mov	%esp,%ebp
	sub	$8,%esp
	push	%ebx
	push	%esi
	sub	$24,%esp
	mov	$1,%esi
	movl	$77,(%esp)
	call	_brl_polledinput_KeyHit
	cmp	$0,%eax
	je	_328
	calll	*_bb_TGameMode+72
_328:
	cmpl	$1,__bb_TGameMode_gState
	jne	_329
	movl	__bb_TSegment_gFirstSegment,%eax
	flds	__bb_TSegment_gHorizonYOffset
	fstps	-8(%ebp)
	movl	%eax,(%esp)
	movl	(%eax),%eax
	calll	*84(%eax)
	flds	-8(%ebp)
	faddp	%st(0),%st(1)
	fstps	-8(%ebp)
	flds	-8(%ebp)
	fstps	__bb_TGameMode_gHorizonYOffset
	calll	*_bb_TEntity+60
	flds	__bb_TGameMode_gHorizonYOffset
	fstps	8(%esp)
	flds	__bb_TGameMode_gPlayerSegmentDX
	fstps	4(%esp)
	flds	__bb_TGameMode_gPlayerX
	fstps	(%esp)
	calll	*_bb_TCloud+56
	fldz
	fstps	(%esp)
	calll	*_bb_TGameMode+116
	subl	$1,__bb_TGameMode_gStartCountDown
	cmpl	$0,__bb_TGameMode_gStartCountDown
	jg	_331
	subl	$1,__bb_TGameMode_gStartCountDownRepeats
	cmpl	$_bbNullObject,__bb_TProp_gBannerStart
	je	_332
	mov	$_bbNullObject,%eax
	movl	__bb_TGameMode_gStartCountDownRepeats,%edx
	cmp	$3,%edx
	je	_336
	cmp	$2,%edx
	je	_337
	cmp	$1,%edx
	je	_338
	jmp	_335
_336:
	movl	__bb_TProp_gGfxBannerStart1,%eax
	incl	4(%eax)
	mov	%eax,%ebx
	movl	__bb_TProp_gBannerStart,%eax
	movl	68(%eax),%eax
	decl	4(%eax)
	jnz	_342
	movl	%eax,(%esp)
	call	_bbGCFree
_342:
	movl	__bb_TProp_gBannerStart,%eax
	movl	%ebx,68(%eax)
	movl	$_bbNullObject,4(%esp)
	movl	__bb_TGameMode_gSndStart1,%eax
	movl	%eax,(%esp)
	call	_brl_audio_PlaySound
	jmp	_335
_337:
	movl	__bb_TProp_gGfxBannerStart2,%eax
	incl	4(%eax)
	mov	%eax,%ebx
	movl	__bb_TProp_gBannerStart,%eax
	movl	68(%eax),%eax
	decl	4(%eax)
	jnz	_346
	movl	%eax,(%esp)
	call	_bbGCFree
_346:
	movl	__bb_TProp_gBannerStart,%eax
	movl	%ebx,68(%eax)
	movl	$_bbNullObject,4(%esp)
	movl	__bb_TGameMode_gSndStart1,%eax
	movl	%eax,(%esp)
	call	_brl_audio_PlaySound
	jmp	_335
_338:
	movl	__bb_TProp_gGfxBannerStart3,%eax
	incl	4(%eax)
	mov	%eax,%ebx
	movl	__bb_TProp_gBannerStart,%eax
	movl	68(%eax),%eax
	decl	4(%eax)
	jnz	_350
	movl	%eax,(%esp)
	call	_bbGCFree
_350:
	movl	__bb_TProp_gBannerStart,%eax
	movl	%ebx,68(%eax)
	movl	$_bbNullObject,4(%esp)
	movl	__bb_TGameMode_gSndStart2,%eax
	movl	%eax,(%esp)
	call	_brl_audio_PlaySound
	jmp	_335
_335:
	flds	_584
	fstps	4(%esp)
	movl	%eax,(%esp)
	movl	(%eax),%eax
	calll	*56(%eax)
_332:
	cmpl	$1,__bb_TGameMode_gStartCountDownRepeats
	jg	_352
	movl	$2,(%esp)
	calll	*_bb_TGameMode+76
_352:
	movl	$300,__bb_TGameMode_gStartCountDown
_331:
_329:
	cmpl	$2,__bb_TGameMode_gState
	jne	_353
	cmpl	$_bbNullObject,__bb_TGameMode_gPlayer
	je	_354
	movl	__bb_TGameMode_gPlayer,%eax
	flds	20(%eax)
	fstps	__bb_TGameMode_gPlayerX
	movl	__bb_TGameMode_gPlayer,%eax
	flds	36(%eax)
	fstps	__bb_TGameMode_gPlayerSegmentDX
	movl	__bb_TGameMode_gPlayer,%eax
	flds	80(%eax)
	fstps	__bb_TGameMode_gPlayerSpeed
	flds	__bb_TGameMode_gPlayerDistance
	fadds	__bb_TGameMode_gPlayerSpeed
	fstps	__bb_TGameMode_gPlayerDistance
	flds	__bb_TGameMode_gPlayerDistance
	flds	_585
	fxch	%st(1)
	fucompp
	fnstsw	%ax
	sahf
	setbe	%al
	movzbl	%al,%eax
	cmp	$0,%eax
	jne	_355
	movl	$1,(%esp)
	calll	*_bb_TScore+52
	flds	__bb_TGameMode_gPlayerDistance
	fsubs	_586
	fstps	__bb_TGameMode_gPlayerDistance
_355:
	movl	__bb_TGameMode_gPlayer,%eax
	cmpl	$0,8(%eax)
	jne	_356
	mov	$_bbNullObject,%eax
	incl	4(%eax)
	mov	%eax,%ebx
	movl	__bb_TGameMode_gPlayer,%eax
	decl	4(%eax)
	jnz	_360
	movl	%eax,(%esp)
	call	_bbGCFree
_360:
	movl	%ebx,__bb_TGameMode_gPlayer
_356:
	jmp	_361
_354:
	fldz
	fstps	__bb_TGameMode_gPlayerSpeed
	cmpl	$0,__bb_TGameMode_gNewPlayerCarTimer
	jne	_362
	movl	$3,__bb_TGameMode_gNewPlayerCarTimer
_362:
_361:
	calll	*_bb_TEntity+52
	flds	__bb_TGameMode_gPlayerSpeed
	fstps	(%esp)
	calll	*_bb_TGameMode+104
	flds	__bb_TGameMode_gPlayerSpeed
	fstps	(%esp)
	calll	*_bb_TEntity+48
	calll	*_bb_TEntity+60
	flds	__bb_TGameMode_gPlayerSpeed
	fstps	(%esp)
	calll	*_bb_TGameMode+112
	flds	__bb_TGameMode_gPlayerSpeed
	fstps	(%esp)
	calll	*_bb_TSegment+72
	flds	__bb_TGameMode_gHorizonYOffset
	fstps	8(%esp)
	flds	__bb_TGameMode_gPlayerSegmentDX
	fstps	4(%esp)
	flds	__bb_TGameMode_gPlayerSpeed
	fstps	(%esp)
	calll	*_bb_TCloud+56
	cmpl	$_bbNullObject,__bb_TGameMode_gPlayer
	je	_363
	calll	*_bb_TSegment+76
	cmp	$0,%eax
	je	_364
	addl	$1,__bb_TGameMode_gLaps
	movl	$_bbNullObject,4(%esp)
	movl	__bb_TGameMode_gSndLap,%eax
	movl	%eax,(%esp)
	call	_brl_audio_PlaySound
	flds	_587
	fstps	4(%esp)
	movl	%eax,(%esp)
	movl	(%eax),%eax
	calll	*56(%eax)
	movl	__bb_TGameMode_gCheckpointTimer,%eax
	imul	$10,%eax
	movl	%eax,(%esp)
	calll	*_bb_TScore+52
	movl	__bb_TGameMode_gLaps,%eax
	cmp	$1,%eax
	je	_369
	cmp	$2,%eax
	je	_370
	addl	$60,__bb_TGameMode_gCheckpointTimer
	jmp	_368
_369:
	addl	$80,__bb_TGameMode_gCheckpointTimer
	jmp	_368
_370:
	addl	$70,__bb_TGameMode_gCheckpointTimer
	jmp	_368
_368:
	movl	__bb_TGameMode_gLaps,%eax
	cmp	$6,%eax
	je	_373
	cmp	$7,%eax
	je	_374
	cmp	$8,%eax
	je	_375
	jmp	_372
_373:
	movl	$0,__bb_TGameMode_gTrophy
	jmp	_372
_374:
	movl	$1,__bb_TGameMode_gTrophy
	jmp	_372
_375:
	movl	$2,__bb_TGameMode_gTrophy
	jmp	_372
_372:
_364:
_363:
	calll	*_bb_TSegment+80
	flds	__bb_TGameMode_gPlayerSpeed
	fstps	(%esp)
	calll	*_bb_TGameMode+108
	flds	__bb_TGameMode_gPlayerSpeed
	fstps	(%esp)
	calll	*_bb_TGameMode+116
	movl	__bb_TSegment_gFirstSegment,%eax
	flds	__bb_TSegment_gHorizonYOffset
	fstps	-4(%ebp)
	movl	%eax,(%esp)
	movl	(%eax),%eax
	calll	*84(%eax)
	flds	-4(%ebp)
	faddp	%st(0),%st(1)
	fstps	-4(%ebp)
	flds	-4(%ebp)
	fstps	__bb_TGameMode_gHorizonYOffset
	cmpl	$_bbNullObject,__bb_TGameMode_gPlayer
	je	_377
	movl	__bb_TGameMode_gPlayer,%eax
	flds	36(%eax)
	fmuls	__bb_TGameMode_gPlayerSpeed
	fstps	__bb_TCloud_gHorizontalSpeed
	flds	__bb_TGameMode_gHorizonYOffset
	fstps	__bb_TCloud_gHorizonYOffset
	jmp	_378
_377:
	fldz
	fstps	__bb_TCloud_gHorizontalSpeed
_378:
	call	_bbMilliSecs
	subl	__bb_TGameMode_gTime,%eax
	cmp	$1000,%eax
	jl	_380
	cmpl	$0,__bb_TGameMode_gNewPlayerCarTimer
	jle	_381
	subl	$1,__bb_TGameMode_gNewPlayerCarTimer
	cmpl	$0,__bb_TGameMode_gNewPlayerCarTimer
	jg	_382
	movl	$0,__bb_TGameMode_gNewPlayerCarTimer
	cmpl	$_bbNullObject,__bb_TGameMode_gPlayer
	jne	_383
	movl	__bb_TGameMode_gPlayerCarColor,%eax
	movl	%eax,12(%esp)
	movl	$1,8(%esp)
	fldz
	fstps	4(%esp)
	flds	_588
	fstps	(%esp)
	calll	*_bb_TCar+156
	incl	4(%eax)
	mov	%eax,%ebx
	movl	__bb_TGameMode_gPlayer,%eax
	decl	4(%eax)
	jnz	_387
	movl	%eax,(%esp)
	call	_bbGCFree
_387:
	movl	%ebx,__bb_TGameMode_gPlayer
_383:
_382:
_381:
	subl	$1,__bb_TGameMode_gCheckpointTimer
	cmpl	$0,__bb_TGameMode_gCheckpointTimer
	jg	_388
	movl	$0,__bb_TGameMode_gCheckpointTimer
	movl	$3,(%esp)
	calll	*_bb_TGameMode+76
_388:
	addl	$1000,__bb_TGameMode_gTime
_380:
_353:
	movl	__bb_TGameMode_gState,%eax
	cmp	$2,%eax
	sete	%al
	movzbl	%al,%eax
	cmp	$0,%eax
	jne	_389
	movl	__bb_TGameMode_gState,%eax
	cmp	$1,%eax
	sete	%al
	movzbl	%al,%eax
_389:
	cmp	$0,%eax
	je	_391
	movl	$27,(%esp)
	call	_brl_polledinput_KeyHit
	cmp	$0,%eax
	je	_392
	movl	$0,(%esp)
	calll	*_bb_TGameMode+76
_392:
_391:
	cmpl	$3,__bb_TGameMode_gState
	jne	_393
	flds	__bb_TGameMode_gGameOverAlpha
	fld1
	fxch	%st(1)
	fucompp
	fnstsw	%ax
	sahf
	setae	%al
	movzbl	%al,%eax
	cmp	$0,%eax
	jne	_394
	flds	__bb_TGameMode_gGameOverAlpha
	fadds	_589
	fstps	__bb_TGameMode_gGameOverAlpha
	flds	__bb_TGameMode_gGameOverAlpha
	fld1
	fxch	%st(1)
	fucompp
	fnstsw	%ax
	sahf
	setbe	%al
	movzbl	%al,%eax
	cmp	$0,%eax
	jne	_395
	fld1
	fstps	__bb_TGameMode_gGameOverAlpha
_395:
_394:
	movl	$27,(%esp)
	call	_brl_polledinput_KeyHit
	cmp	$0,%eax
	jne	_396
	movl	$32,(%esp)
	call	_brl_polledinput_KeyHit
_396:
	cmp	$0,%eax
	jne	_398
	movl	$38,(%esp)
	call	_brl_polledinput_KeyHit
_398:
	cmp	$0,%eax
	je	_400
	movl	$0,(%esp)
	calll	*_bb_TGameMode+76
_400:
_393:
	cmpl	$0,__bb_TGameMode_gState
	jne	_401
	movl	$32,(%esp)
	call	_brl_polledinput_KeyHit
	cmp	$0,%eax
	jne	_402
	movl	$38,(%esp)
	call	_brl_polledinput_KeyHit
_402:
	cmp	$0,%eax
	jne	_404
	movl	$65,(%esp)
	call	_brl_polledinput_KeyHit
_404:
	cmp	$0,%eax
	je	_406
	movl	$1,(%esp)
	calll	*_bb_TGameMode+76
	jmp	_407
_406:
	movl	$27,(%esp)
	call	_brl_polledinput_KeyHit
	cmp	$0,%eax
	je	_408
	call	_brl_system_ShowMouse
	mov	$0,%esi
_408:
_407:
	movl	$87,(%esp)
	call	_brl_polledinput_KeyHit
	cmp	$0,%eax
	je	_409
	movl	__bb_TGameMode_gWindowed,%eax
	cmp	$0,%eax
	sete	%al
	movzbl	%al,%eax
	movl	%eax,__bb_TGameMode_gWindowed
	calll	*_bb_TGameMode+52
_409:
	movl	$37,(%esp)
	call	_brl_polledinput_KeyHit
	cmp	$0,%eax
	jne	_410
	movl	$188,(%esp)
	call	_brl_polledinput_KeyHit
_410:
	cmp	$0,%eax
	je	_412
	subl	$1,__bb_TGameMode_gPlayerCarColor
	cmpl	$0,__bb_TGameMode_gPlayerCarColor
	jge	_413
	movl	$3,__bb_TGameMode_gPlayerCarColor
_413:
	jmp	_414
_412:
	movl	$39,(%esp)
	call	_brl_polledinput_KeyHit
	cmp	$0,%eax
	jne	_415
	movl	$190,(%esp)
	call	_brl_polledinput_KeyHit
_415:
	cmp	$0,%eax
	je	_417
	addl	$1,__bb_TGameMode_gPlayerCarColor
	cmpl	$3,__bb_TGameMode_gPlayerCarColor
	jle	_418
	movl	$0,__bb_TGameMode_gPlayerCarColor
_418:
_417:
_414:
_401:
	call	_brl_polledinput_AppTerminate
	cmp	$0,%eax
	je	_419
	call	_brl_system_ShowMouse
	mov	$0,%esi
_419:
	mov	%esi,%eax
	jmp	_185
_185:
	add	$24,%esp
	pop	%esi
	pop	%ebx
	mov	%ebp,%esp
	pop	%ebp
	ret
__bb_TGameMode_updateBushTimer:
	push	%ebp
	mov	%esp,%ebp
	sub	$8,%esp
	push	%ebx
	sub	$28,%esp
	flds	8(%ebp)
	flds	__bb_TGameMode_gBushTimer
	fsubp	%st(0),%st(1)
	fstps	__bb_TGameMode_gBushTimer
	flds	__bb_TGameMode_gBushTimer
	fldz
	fxch	%st(1)
	fucompp
	fnstsw	%ax
	sahf
	seta	%al
	movzbl	%al,%eax
	cmp	$0,%eax
	jne	_420
	movl	__bb_TSegment_gLastSegment,%eax
	cmpl	$0,24(%eax)
	jne	_421
	movl	$2,4(%esp)
	movl	$1,(%esp)
	call	_brl_random_Rand
	cmp	$1,%eax
	jne	_422
	fldl	_641
	fstpl	8(%esp)
	fldl	_642
	fstpl	(%esp)
	call	_brl_random_Rnd
	fchs
	movl	$3,8(%esp)
	fstps	4(%esp)
	movl	__bb_TGameMode_gZMap,%eax
	flds	1196+24(%eax)
	fstps	(%esp)
	calll	*_bb_TProp+156
	jmp	_423
_422:
	fldl	_643
	fstpl	8(%esp)
	fldl	_644
	fstpl	(%esp)
	call	_brl_random_Rnd
	movl	$3,8(%esp)
	fstps	4(%esp)
	movl	__bb_TGameMode_gZMap,%eax
	flds	1196+24(%eax)
	fstps	(%esp)
	calll	*_bb_TProp+156
_423:
_421:
	flds	__bb_TGameMode_gBushTimer
	fstps	-4(%ebp)
	movl	__bb_TGameMode_gZMap,%eax
	flds	1196+24(%eax)
	fdivs	_645
	fstpl	(%esp)
	call	_bbFloatToInt
	mov	%eax,%ebx
	movl	__bb_TGameMode_gZMap,%eax
	flds	1196+24(%eax)
	fdivs	_646
	fstpl	(%esp)
	call	_bbFloatToInt
	movl	%ebx,4(%esp)
	movl	%eax,(%esp)
	call	_brl_random_Rand
	movl	%eax,-8(%ebp)
	fildl	-8(%ebp)
	flds	-4(%ebp)
	faddp	%st(0),%st(1)
	fstps	-4(%ebp)
	flds	-4(%ebp)
	fstps	__bb_TGameMode_gBushTimer
_420:
	mov	$0,%eax
	jmp	_188
_188:
	add	$28,%esp
	pop	%ebx
	mov	%ebp,%esp
	pop	%ebp
	ret
__bb_TGameMode_updateEnemyTimer:
	push	%ebp
	mov	%esp,%ebp
	sub	$4,%esp
	push	%ebx
	sub	$16,%esp
	flds	8(%ebp)
	flds	__bb_TGameMode_gEnemyTimer
	fsubp	%st(0),%st(1)
	fstps	__bb_TGameMode_gEnemyTimer
	flds	__bb_TGameMode_gEnemyTimer
	fldz
	fxch	%st(1)
	fucompp
	fnstsw	%ax
	sahf
	seta	%al
	movzbl	%al,%eax
	cmp	$0,%eax
	jne	_424
	cmpl	$5,__bb_TCar_gEnemyCount
	jge	_425
	movl	$2,12(%esp)
	movl	$0,8(%esp)
	movl	__bb_TGameMode_gEnemyLane,%ebx
	movl	$320,4(%esp)
	movl	$80,(%esp)
	call	_brl_random_Rand
	imul	%eax,%ebx
	movl	%ebx,-4(%ebp)
	fildl	-4(%ebp)
	fstps	4(%esp)
	movl	__bb_TGameMode_gZMap,%eax
	flds	1196+24(%eax)
	fstps	(%esp)
	calll	*_bb_TCar+156
_425:
	movl	$140,4(%esp)
	movl	$20,(%esp)
	call	_brl_random_Rand
	movl	%eax,-4(%ebp)
	fildl	-4(%ebp)
	fstps	__bb_TGameMode_gEnemyTimer
	fldl	_652
	fstpl	8(%esp)
	fld1
	fstpl	(%esp)
	call	_brl_random_Rnd
	fldl	_653
	fxch	%st(1)
	fucompp
	fnstsw	%ax
	sahf
	setae	%al
	movzbl	%al,%eax
	cmp	$0,%eax
	jne	_426
	movl	__bb_TGameMode_gEnemyLane,%eax
	imul	$-1,%eax
	movl	%eax,__bb_TGameMode_gEnemyLane
_426:
_424:
	mov	$0,%eax
	jmp	_191
_191:
	add	$16,%esp
	pop	%ebx
	mov	%ebp,%esp
	pop	%ebp
	ret
__bb_TGameMode_updateTextureOffset:
	push	%ebp
	mov	%esp,%ebp
	sub	$8,%esp
	flds	8(%ebp)
	flds	__bb_TGameMode_gTextureOffset
	faddp	%st(0),%st(1)
	fstps	__bb_TGameMode_gTextureOffset
	flds	__bb_TGameMode_gTextureOffset
	flds	_659
	fxch	%st(1)
	fucompp
	fnstsw	%ax
	sahf
	setbe	%al
	movzbl	%al,%eax
	cmp	$0,%eax
	jne	_427
	flds	__bb_TGameMode_gTextureOffset
	fsubs	_660
	fstps	__bb_TGameMode_gTextureOffset
_427:
	mov	$0,%eax
	jmp	_194
_194:
	mov	%ebp,%esp
	pop	%ebp
	ret
__bb_TGameMode_updateHorizons:
	push	%ebp
	mov	%esp,%ebp
	sub	$24,%esp
	cmpl	$_bbNullObject,__bb_TGameMode_gPlayer
	je	_428
	movl	__bb_TGameMode_gHorizon1,%edx
	flds	8(%ebp)
	fstps	12(%esp)
	flds	__bb_TGameMode_gHorizonYOffset
	fstps	8(%esp)
	movl	__bb_TGameMode_gPlayer,%eax
	flds	36(%eax)
	fstps	4(%esp)
	movl	%edx,(%esp)
	movl	(%edx),%eax
	calll	*60(%eax)
	movl	__bb_TGameMode_gHorizon2,%edx
	flds	8(%ebp)
	fstps	12(%esp)
	flds	__bb_TGameMode_gHorizonYOffset
	fstps	8(%esp)
	movl	__bb_TGameMode_gPlayer,%eax
	flds	36(%eax)
	fstps	4(%esp)
	movl	%edx,(%esp)
	movl	(%edx),%eax
	calll	*60(%eax)
	movl	__bb_TGameMode_gHorizon3,%edx
	flds	8(%ebp)
	fstps	12(%esp)
	flds	__bb_TGameMode_gHorizonYOffset
	fstps	8(%esp)
	movl	__bb_TGameMode_gPlayer,%eax
	flds	36(%eax)
	fstps	4(%esp)
	movl	%edx,(%esp)
	movl	(%edx),%eax
	calll	*60(%eax)
_428:
	mov	$0,%eax
	jmp	_197
_197:
	mov	%ebp,%esp
	pop	%ebp
	ret
__bb_TGameMode_draw:
	push	%ebp
	mov	%esp,%ebp
	sub	$60,%esp
	push	%ebx
	push	%esi
	push	%edi
	sub	$16,%esp
	call	_brl_max2d_Cls
	cmpl	$0,__bb_TGameMode_gState
	jne	_432
	fld1
	fstps	4(%esp)
	fld1
	fstps	(%esp)
	call	_brl_max2d_SetScale
	fld1
	fstps	(%esp)
	call	_brl_max2d_SetAlpha
	movl	$3,(%esp)
	call	_brl_max2d_SetBlend
	movl	__bb_TGameMode_gFont64,%eax
	movl	%eax,(%esp)
	call	_brl_max2d_SetImageFont
	movl	$255,8(%esp)
	movl	$255,4(%esp)
	movl	$255,(%esp)
	call	_brl_max2d_SetColor
	flds	_667
	fstps	8(%esp)
	flds	_668
	fstps	4(%esp)
	movl	$_29,(%esp)
	call	_brl_max2d_DrawText
	movl	__bb_TGameMode_gFont32,%eax
	movl	%eax,(%esp)
	call	_brl_max2d_SetImageFont
	movl	$255,8(%esp)
	movl	$255,4(%esp)
	movl	$255,(%esp)
	call	_brl_max2d_SetColor
	flds	_669
	fstps	8(%esp)
	flds	_670
	fstps	4(%esp)
	movl	$_30,(%esp)
	call	_brl_max2d_DrawText
	flds	_671
	fstps	8(%esp)
	flds	_672
	fstps	4(%esp)
	movl	$_31,(%esp)
	call	_brl_max2d_DrawText
	flds	_673
	fstps	8(%esp)
	flds	_674
	fstps	4(%esp)
	movl	$_32,(%esp)
	call	_brl_max2d_DrawText
	movl	$255,8(%esp)
	movl	$255,4(%esp)
	movl	$255,(%esp)
	call	_brl_max2d_SetColor
	flds	_675
	fstps	8(%esp)
	flds	_676
	fstps	4(%esp)
	movl	$_434,(%esp)
	call	_brl_max2d_DrawText
	flds	_677
	fstps	8(%esp)
	flds	_678
	fstps	4(%esp)
	movl	$_436,(%esp)
	call	_brl_max2d_DrawText
	flds	_679
	fstps	8(%esp)
	flds	_680
	fstps	4(%esp)
	movl	$_438,(%esp)
	call	_brl_max2d_DrawText
	movl	$0,12(%esp)
	flds	_681
	fstps	8(%esp)
	flds	_682
	fstps	4(%esp)
	movl	__bb_TGameMode_gGfxTrophies,%eax
	movl	%eax,(%esp)
	call	_brl_max2d_DrawImage
	movl	$1,12(%esp)
	flds	_683
	fstps	8(%esp)
	flds	_684
	fstps	4(%esp)
	movl	__bb_TGameMode_gGfxTrophies,%eax
	movl	%eax,(%esp)
	call	_brl_max2d_DrawImage
	movl	$2,12(%esp)
	flds	_685
	fstps	8(%esp)
	flds	_686
	fstps	4(%esp)
	movl	__bb_TGameMode_gGfxTrophies,%eax
	movl	%eax,(%esp)
	call	_brl_max2d_DrawImage
	movl	$255,8(%esp)
	movl	$155,4(%esp)
	movl	$155,(%esp)
	call	_brl_max2d_SetColor
	flds	_687
	fstps	8(%esp)
	flds	_688
	fstps	4(%esp)
	movl	$_36,(%esp)
	call	_brl_max2d_DrawText
	flds	_689
	fstps	8(%esp)
	flds	_690
	fstps	4(%esp)
	movl	$_37,(%esp)
	call	_brl_max2d_DrawText
	flds	_691
	fstps	8(%esp)
	flds	_692
	fstps	4(%esp)
	movl	$_38,(%esp)
	call	_brl_max2d_DrawText
	movl	$0,8(%esp)
	movl	$255,4(%esp)
	movl	$255,(%esp)
	call	_brl_max2d_SetColor
	flds	_693
	fstps	8(%esp)
	flds	_694
	fstps	4(%esp)
	movl	$_39,(%esp)
	call	_brl_max2d_DrawText
	flds	_695
	fstps	8(%esp)
	flds	_696
	fstps	4(%esp)
	movl	$_40,(%esp)
	call	_brl_max2d_DrawText
	movl	$255,8(%esp)
	movl	$255,4(%esp)
	movl	$255,(%esp)
	call	_brl_max2d_SetColor
	mov	$0,%ebx
	jmp	_440
_43:
	movl	%ebx,12(%esp)
	flds	_697
	fstps	8(%esp)
	mov	%ebx,%eax
	imul	$125,%eax
	add	$160,%eax
	movl	%eax,-60(%ebp)
	fildl	-60(%ebp)
	fstps	4(%esp)
	movl	__bb_TGameMode_gGfxSelectCar,%eax
	movl	%eax,(%esp)
	call	_brl_max2d_DrawImage
	cmpl	%ebx,__bb_TGameMode_gPlayerCarColor
	jne	_441
	movl	$0,12(%esp)
	flds	_698
	fstps	8(%esp)
	mov	%ebx,%eax
	imul	$125,%eax
	add	$155,%eax
	movl	%eax,-60(%ebp)
	fildl	-60(%ebp)
	fstps	4(%esp)
	movl	__bb_TGameMode_gGfxSelectCarRect,%eax
	movl	%eax,(%esp)
	call	_brl_max2d_DrawImage
_441:
_41:
	add	$1,%ebx
_440:
	cmp	$3,%ebx
	jle	_43
_42:
	flds	_699
	fstps	8(%esp)
	flds	_700
	fstps	4(%esp)
	movl	$_44,(%esp)
	call	_brl_max2d_DrawText
_432:
	movl	__bb_TGameMode_gState,%eax
	cmp	$2,%eax
	sete	%al
	movzbl	%al,%eax
	cmp	$0,%eax
	jne	_442
	movl	__bb_TGameMode_gState,%eax
	cmp	$1,%eax
	sete	%al
	movzbl	%al,%eax
_442:
	cmp	$0,%eax
	jne	_444
	movl	__bb_TGameMode_gState,%eax
	cmp	$3,%eax
	sete	%al
	movzbl	%al,%eax
_444:
	cmp	$0,%eax
	je	_446
	calll	*_bb_TGameMode+128
	calll	*_bb_TCloud+60
	flds	_701
	fstps	-12(%ebp)
	flds	_702
	fstps	-36(%ebp)
	flds	-12(%ebp)
	fadds	_703
	fstps	-48(%ebp)
	flds	_704
	flds	__bb_TGameMode_gPlayerX
	movl	__bb_TGameMode_gScale,%eax
	fmuls	4+24(%eax)
	fsubrp	%st(0),%st(1)
	fstps	-20(%ebp)
	flds	_705
	fsubs	-20(%ebp)
	fdivs	_706
	fstps	-56(%ebp)
	movl	__bb_TSegment_gFirstSegment,%eax
	movl	%eax,-16(%ebp)
	movl	__bb_TEntity_gFirst,%edi
	flds	_707
	fstps	-52(%ebp)
	flds	_708
	fstps	-40(%ebp)
	movl	$4,12(%esp)
	movl	$300,8(%esp)
	movl	$2,4(%esp)
	movl	$_457,(%esp)
	call	_bbArrayNew
	movl	%eax,-44(%ebp)
	movl	$6,12(%esp)
	movl	$300,8(%esp)
	movl	$2,4(%esp)
	movl	$_459,(%esp)
	call	_bbArrayNew
	movl	%eax,-32(%ebp)
	movl	$0,-24(%ebp)
	jmp	_461
_47:
	movl	__bb_TGameMode_gZMap,%edx
	movl	-24(%ebp),%eax
	flds	24(%edx,%eax,4)
	fstps	-4(%ebp)
	movl	-24(%ebp),%eax
	movl	-44(%ebp),%edx
	imull	24(%edx),%eax
	flds	-4(%ebp)
	movl	-44(%ebp),%edx
	fstps	28(%edx,%eax,4)
	movl	-16(%ebp),%eax
	cmpl	$_bbNullObject,48(%eax)
	je	_463
	movl	-16(%ebp),%eax
	movl	48(%eax),%eax
	flds	8(%eax)
	flds	-4(%ebp)
	fucompp
	fnstsw	%ax
	sahf
	setbe	%al
	movzbl	%al,%eax
	cmp	$0,%eax
	jne	_464
	movl	-16(%ebp),%eax
	movl	48(%eax),%eax
	movl	%eax,-16(%ebp)
_464:
_463:
	jmp	_48
_50:
	flds	-12(%ebp)
	fstps	24(%edi)
	flds	-20(%ebp)
	fstps	32(%edi)
	movl	__bb_TGameMode_gScale,%edx
	movl	-24(%ebp),%eax
	flds	24(%edx,%eax,4)
	fstps	28(%edi)
	mov	%edi,%eax
	movl	-16(%ebp),%edx
	flds	12(%edx)
	fstps	8(%esp)
	movl	-16(%ebp),%edx
	flds	16(%edx)
	fstps	4(%esp)
	movl	%eax,(%esp)
	movl	(%eax),%eax
	calll	*68(%eax)
	mov	%edi,%eax
	movl	-16(%ebp),%edx
	flds	20(%edx)
	fstps	4(%esp)
	movl	%eax,(%esp)
	movl	(%eax),%eax
	calll	*72(%eax)
	movl	60(%edi),%edi
_48:
	cmp	$_bbNullObject,%edi
	setne	%al
	movzbl	%al,%eax
	cmp	$0,%eax
	je	_465
	flds	16(%edi)
	flds	-4(%ebp)
	fucompp
	fnstsw	%ax
	sahf
	seta	%al
	movzbl	%al,%eax
_465:
	cmp	$0,%eax
	jne	_50
_49:
	flds	-12(%ebp)
	flds	-48(%ebp)
	fxch	%st(1)
	fucompp
	fnstsw	%ax
	sahf
	setae	%al
	movzbl	%al,%eax
	cmp	$0,%eax
	jne	_469
	movl	-24(%ebp),%eax
	movl	-32(%ebp),%edx
	imull	24(%edx),%eax
	movl	-32(%ebp),%edx
	movl	$1,28(%edx,%eax,4)
	movl	-24(%ebp),%eax
	movl	-32(%ebp),%edx
	imull	24(%edx),%eax
	mov	%eax,%ebx
	add	$1,%ebx
	flds	-12(%ebp)
	fstpl	(%esp)
	call	_bbFloatToInt
	movl	-32(%ebp),%edx
	movl	%eax,28(%edx,%ebx,4)
	movl	-24(%ebp),%eax
	movl	-44(%ebp),%edx
	imull	24(%edx),%eax
	add	$1,%eax
	flds	-20(%ebp)
	movl	-44(%ebp),%edx
	fstps	28(%edx,%eax,4)
	movl	-24(%ebp),%eax
	movl	-44(%ebp),%edx
	imull	24(%edx),%eax
	add	$2,%eax
	movl	__bb_TGameMode_gScale,%ecx
	movl	-24(%ebp),%edx
	flds	24(%ecx,%edx,4)
	movl	-44(%ebp),%edx
	fstps	28(%edx,%eax,4)
	movl	-24(%ebp),%eax
	movl	-44(%ebp),%edx
	imull	24(%edx),%eax
	add	$3,%eax
	flds	-40(%ebp)
	movl	-44(%ebp),%edx
	fstps	28(%edx,%eax,4)
	mov	$1,%ebx
	flds	-12(%ebp)
	fstpl	(%esp)
	call	_bbFloatToInt
	mov	%eax,%esi
	flds	-36(%ebp)
	fstpl	(%esp)
	call	_bbFloatToInt
	sub	$1,%eax
	cmp	%eax,%esi
	jge	_471
	flds	-36(%ebp)
	fstpl	(%esp)
	call	_bbFloatToInt
	mov	%eax,%ebx
	flds	-12(%ebp)
	fstpl	(%esp)
	call	_bbFloatToInt
	sub	%eax,%ebx
_471:
	movl	-24(%ebp),%eax
	movl	-32(%ebp),%edx
	imull	24(%edx),%eax
	add	$2,%eax
	movl	-32(%ebp),%edx
	movl	%ebx,28(%edx,%eax,4)
	mov	$100,%esi
	mov	$1,%ebx
	flds	_709
	fstpl	8(%esp)
	flds	-4(%ebp)
	fadds	__bb_TGameMode_gTextureOffset
	fstpl	(%esp)
	call	_bbFloatMod
	flds	_710
	fxch	%st(1)
	fucompp
	fnstsw	%ax
	sahf
	setbe	%al
	movzbl	%al,%eax
	cmp	$0,%eax
	jne	_474
	mov	$110,%esi
	mov	$0,%ebx
_474:
	movl	-24(%ebp),%eax
	mov	%eax,%edx
	movl	-32(%ebp),%eax
	imull	24(%eax),%edx
	mov	%edx,%eax
	mov	%eax,%edx
	add	$3,%edx
	movl	-32(%ebp),%eax
	movl	%esi,28(%eax,%edx,4)
	movl	-24(%ebp),%eax
	movl	-32(%ebp),%edx
	imull	24(%edx),%eax
	add	$4,%eax
	movl	-32(%ebp),%edx
	movl	%ebx,28(%edx,%eax,4)
	movl	-16(%ebp),%eax
	cmpl	$0,24(%eax)
	je	_475
	movl	-24(%ebp),%eax
	movl	-32(%ebp),%edx
	imull	24(%edx),%eax
	add	$3,%eax
	movl	-32(%ebp),%edx
	movl	$0,28(%edx,%eax,4)
_475:
	movl	-24(%ebp),%eax
	movl	-32(%ebp),%edx
	imull	24(%edx),%eax
	add	$5,%eax
	movl	-16(%ebp),%edx
	movl	24(%edx),%ecx
	movl	-32(%ebp),%edx
	movl	%ecx,28(%edx,%eax,4)
	jmp	_476
_469:
	movl	-24(%ebp),%eax
	movl	-32(%ebp),%edx
	imull	24(%edx),%eax
	movl	-32(%ebp),%edx
	movl	$0,28(%edx,%eax,4)
_476:
	flds	-12(%ebp)
	fstps	-36(%ebp)
	flds	-12(%ebp)
	flds	-48(%ebp)
	fxch	%st(1)
	fucompp
	fnstsw	%ax
	sahf
	setae	%al
	movzbl	%al,%eax
	cmp	$0,%eax
	jne	_477
	flds	-12(%ebp)
	fstps	-48(%ebp)
_477:
	movl	-16(%ebp),%eax
	flds	20(%eax)
	movl	__bb_TGameMode_gZMap,%edx
	movl	-24(%ebp),%eax
	fmuls	24(%edx,%eax,4)
	movl	__bb_TGameMode_gZMap,%edx
	movl	-24(%ebp),%eax
	flds	24(%edx,%eax,4)
	fdivs	_711
	fmulp	%st(0),%st(1)
	movl	__bb_TGameMode_gScale,%eax
	flds	24(%eax)
	movl	__bb_TGameMode_gScale,%edx
	movl	-24(%ebp),%eax
	fsubs	24(%edx,%eax,4)
	fmulp	%st(0),%st(1)
	flds	-40(%ebp)
	faddp	%st(0),%st(1)
	fstps	-40(%ebp)
	flds	_712
	fadds	-40(%ebp)
	flds	-12(%ebp)
	fsubp	%st(0),%st(1)
	fstps	-12(%ebp)
	movl	-16(%ebp),%eax
	flds	16(%eax)
	movl	__bb_TGameMode_gZMap,%edx
	movl	-24(%ebp),%eax
	fmuls	24(%edx,%eax,4)
	movl	__bb_TGameMode_gZMap,%edx
	movl	-24(%ebp),%eax
	flds	24(%edx,%eax,4)
	fdivs	_713
	fmulp	%st(0),%st(1)
	movl	__bb_TGameMode_gScale,%eax
	flds	24(%eax)
	movl	__bb_TGameMode_gScale,%edx
	movl	-24(%ebp),%eax
	fsubs	24(%edx,%eax,4)
	fmuls	_714
	fmulp	%st(0),%st(1)
	flds	-52(%ebp)
	faddp	%st(0),%st(1)
	fstps	-52(%ebp)
	flds	-20(%ebp)
	fadds	-52(%ebp)
	fstps	-20(%ebp)
	flds	-20(%ebp)
	fadds	-56(%ebp)
	fstps	-20(%ebp)
_45:
	addl	$1,-24(%ebp)
_461:
	cmpl	$299,-24(%ebp)
	jle	_47
_46:
	movl	__bb_TSegment_gLastSegment,%eax
	cmpl	$0,24(%eax)
	je	_478
	fld1
	fstps	4(%esp)
	fld1
	fstps	(%esp)
	call	_brl_max2d_SetScale
	movl	$0,8(%esp)
	movl	$0,4(%esp)
	movl	$0,(%esp)
	call	_brl_max2d_SetColor
	flds	_715
	movl	__bb_TGameMode_gScale,%eax
	fmuls	1196+24(%eax)
	fld	%st(0)
	fadds	_716
	fstps	12(%esp)
	flds	_717
	fstps	8(%esp)
	flds	_718
	fadds	__bb_TGameMode_gHorizonYOffset
	fsubp	%st(0),%st(1)
	fsubs	_719
	fstps	4(%esp)
	fldz
	fstps	(%esp)
	call	_brl_max2d_DrawRect
_478:
	movl	__bb_TEntity_gLast,%esi
	mov	$299,%edi
	jmp	_482
_53:
	jmp	_54
_56:
	flds	16(%esi)
	movl	__bb_TGameMode_gZMap,%eax
	flds	24(%eax)
	fxch	%st(1)
	fucompp
	fnstsw	%ax
	sahf
	setb	%al
	movzbl	%al,%eax
	cmp	$0,%eax
	jne	_485
	mov	%esi,%eax
	mov	%edi,%edx
	mov	%edx,%ecx
	movl	-44(%ebp),%edx
	imull	24(%edx),%ecx
	mov	%ecx,%edx
	mov	%edx,%ecx
	add	$3,%ecx
	movl	-44(%ebp),%edx
	flds	28(%edx,%ecx,4)
	fstps	4(%esp)
	movl	%eax,(%esp)
	movl	(%eax),%eax
	calll	*148(%eax)
	mov	%esi,%eax
	mov	%edi,%edx
	mov	%edx,%ecx
	movl	-32(%ebp),%edx
	imull	24(%edx),%ecx
	mov	%ecx,%edx
	mov	%edx,%ecx
	add	$5,%ecx
	movl	-32(%ebp),%edx
	movl	28(%edx,%ecx,4),%edx
	movl	%edx,4(%esp)
	movl	%eax,(%esp)
	movl	(%eax),%eax
	calll	*152(%eax)
	mov	%esi,%eax
	movl	%eax,(%esp)
	movl	(%eax),%eax
	calll	*96(%eax)
	mov	%esi,%eax
	movl	%eax,(%esp)
	movl	(%eax),%eax
	calll	*92(%eax)
_485:
	movl	56(%esi),%esi
_54:
	cmp	$_bbNullObject,%esi
	setne	%al
	movzbl	%al,%eax
	cmp	$0,%eax
	je	_483
	flds	16(%esi)
	mov	%edi,%eax
	movl	-44(%ebp),%edx
	imull	24(%edx),%eax
	movl	-44(%ebp),%edx
	flds	28(%edx,%eax,4)
	fxch	%st(1)
	fucompp
	fnstsw	%ax
	sahf
	seta	%al
	movzbl	%al,%eax
_483:
	cmp	$0,%eax
	jne	_56
_55:
	mov	%edi,%eax
	movl	-32(%ebp),%edx
	imull	24(%edx),%eax
	movl	-32(%ebp),%edx
	cmpl	$0,28(%edx,%eax,4)
	je	_490
	fld1
	fstps	4(%esp)
	fld1
	fstps	(%esp)
	call	_brl_max2d_SetScale
	movl	$0,8(%esp)
	mov	%edi,%eax
	movl	-32(%ebp),%edx
	imull	24(%edx),%eax
	add	$3,%eax
	movl	-32(%ebp),%edx
	movl	28(%edx,%eax,4),%eax
	movl	%eax,4(%esp)
	movl	$0,(%esp)
	call	_brl_max2d_SetColor
	mov	%edi,%eax
	movl	-32(%ebp),%edx
	imull	24(%edx),%eax
	add	$2,%eax
	movl	-32(%ebp),%edx
	movl	28(%edx,%eax,4),%eax
	movl	%eax,-60(%ebp)
	fildl	-60(%ebp)
	fstps	12(%esp)
	flds	_720
	fstps	8(%esp)
	mov	%edi,%eax
	movl	-32(%ebp),%edx
	imull	24(%edx),%eax
	add	$1,%eax
	movl	-32(%ebp),%edx
	movl	28(%edx,%eax,4),%eax
	movl	%eax,-60(%ebp)
	fildl	-60(%ebp)
	fstps	4(%esp)
	fldz
	fstps	(%esp)
	call	_brl_max2d_DrawRect
	fld1
	fstps	4(%esp)
	mov	%edi,%eax
	movl	-44(%ebp),%edx
	imull	24(%edx),%eax
	add	$2,%eax
	movl	-44(%ebp),%edx
	flds	28(%edx,%eax,4)
	fstps	(%esp)
	call	_brl_max2d_SetScale
	mov	%edi,%eax
	movl	-32(%ebp),%edx
	imull	24(%edx),%eax
	add	$5,%eax
	movl	-32(%ebp),%edx
	cmpl	$0,28(%edx,%eax,4)
	je	_491
	movl	$100,8(%esp)
	movl	$80,4(%esp)
	movl	$70,(%esp)
	call	_brl_max2d_SetColor
	jmp	_492
_491:
	movl	$255,8(%esp)
	movl	$255,4(%esp)
	movl	$255,(%esp)
	call	_brl_max2d_SetColor
_492:
	mov	$1,%ebx
	mov	%edi,%eax
	mov	%eax,%edx
	movl	-32(%ebp),%eax
	imull	24(%eax),%edx
	mov	%edx,%eax
	mov	%eax,%edx
	add	$2,%edx
	movl	-32(%ebp),%eax
	movl	28(%eax,%edx,4),%eax
	movl	%eax,-8(%ebp)
	jmp	_494
_59:
	mov	%edi,%eax
	mov	%eax,%edx
	movl	-32(%ebp),%eax
	imull	24(%eax),%edx
	mov	%edx,%eax
	mov	%eax,%edx
	add	$4,%edx
	movl	-32(%ebp),%eax
	movl	28(%eax,%edx,4),%eax
	movl	%eax,12(%esp)
	mov	%edi,%eax
	mov	%eax,%edx
	movl	-32(%ebp),%eax
	imull	24(%eax),%edx
	mov	%edx,%eax
	mov	%eax,%edx
	add	$1,%edx
	movl	-32(%ebp),%eax
	movl	28(%eax,%edx,4),%edx
	mov	%ebx,%eax
	sub	$1,%eax
	add	%eax,%edx
	movl	%edx,-60(%ebp)
	fildl	-60(%ebp)
	fstps	8(%esp)
	mov	%edi,%eax
	mov	%eax,%edx
	movl	-44(%ebp),%eax
	imull	24(%eax),%edx
	mov	%edx,%eax
	mov	%eax,%edx
	add	$1,%edx
	movl	-44(%ebp),%eax
	flds	28(%eax,%edx,4)
	fstps	4(%esp)
	movl	__bb_TGameMode_gGfxRoad,%eax
	movl	%eax,(%esp)
	call	_brl_max2d_DrawImage
_57:
	add	$1,%ebx
_494:
	cmpl	-8(%ebp),%ebx
	jle	_59
_58:
_490:
_51:
	add	$-1,%edi
_482:
	cmp	$0,%edi
	jge	_53
_52:
_446:
	movl	__bb_TGameMode_gState,%eax
	cmp	$2,%eax
	sete	%al
	movzbl	%al,%eax
	cmp	$0,%eax
	jne	_496
	movl	__bb_TGameMode_gState,%eax
	cmp	$1,%eax
	sete	%al
	movzbl	%al,%eax
_496:
	cmp	$0,%eax
	je	_498
	calll	*_bb_TGameMode+124
_498:
	cmpl	$3,__bb_TGameMode_gState
	jne	_499
	fld1
	fstps	4(%esp)
	fld1
	fstps	(%esp)
	call	_brl_max2d_SetScale
	flds	__bb_TGameMode_gGameOverAlpha
	fstps	(%esp)
	call	_brl_max2d_SetAlpha
	movl	$3,(%esp)
	call	_brl_max2d_SetBlend
	movl	$0,8(%esp)
	movl	$0,4(%esp)
	movl	$0,(%esp)
	call	_brl_max2d_SetColor
	flds	_721
	fstps	12(%esp)
	flds	_722
	fstps	8(%esp)
	fldz
	fstps	4(%esp)
	fldz
	fstps	(%esp)
	call	_brl_max2d_DrawRect
	fld1
	fstps	(%esp)
	call	_brl_max2d_SetAlpha
	calll	*_bb_TGameMode+124
	flds	__bb_TGameMode_gGameOverAlpha
	fstps	(%esp)
	call	_brl_max2d_SetAlpha
	movl	__bb_TGameMode_gFont64,%eax
	movl	%eax,(%esp)
	call	_brl_max2d_SetImageFont
	movl	$255,8(%esp)
	movl	$255,4(%esp)
	movl	$255,(%esp)
	call	_brl_max2d_SetColor
	cmpl	$2,__bb_TGameMode_gTrophy
	jne	_500
	flds	_723
	fstps	8(%esp)
	flds	_724
	fstps	4(%esp)
	movl	$_60,(%esp)
	call	_brl_max2d_DrawText
	jmp	_501
_500:
	flds	_725
	fstps	8(%esp)
	flds	_726
	fstps	4(%esp)
	movl	$_61,(%esp)
	call	_brl_max2d_DrawText
_501:
	movl	__bb_TGameMode_gFont32,%eax
	movl	%eax,(%esp)
	call	_brl_max2d_SetImageFont
	cmpl	$-1,__bb_TGameMode_gTrophy
	je	_502
	mov	$_1,%esi
	movl	__bb_TGameMode_gTrophy,%eax
	cmp	$0,%eax
	je	_506
	cmp	$1,%eax
	je	_507
	cmp	$2,%eax
	je	_508
	jmp	_505
_506:
	mov	$_62,%esi
	jmp	_505
_507:
	mov	$_63,%esi
	jmp	_505
_508:
	mov	$_64,%esi
	jmp	_505
_505:
	movl	__bb_TGameMode_gTrophy,%eax
	movl	%eax,12(%esp)
	flds	_727
	fstps	8(%esp)
	mov	$400,%ebx
	movl	__bb_TGameMode_gGfxTrophies,%eax
	movl	%eax,(%esp)
	call	_brl_max2d_ImageWidth
	cdq
	and	$1,%edx
	add	%edx,%eax
	sar	$1,%eax
	sub	%eax,%ebx
	movl	%ebx,-60(%ebp)
	fildl	-60(%ebp)
	fstps	4(%esp)
	movl	__bb_TGameMode_gGfxTrophies,%eax
	movl	%eax,(%esp)
	call	_brl_max2d_DrawImage
	flds	_728
	fstps	8(%esp)
	flds	_729
	fstps	-28(%ebp)
	movl	%esi,4(%esp)
	movl	$_65,(%esp)
	call	_bbStringConcat
	movl	$_66,4(%esp)
	movl	%eax,(%esp)
	call	_bbStringConcat
	flds	-28(%ebp)
	fstps	4(%esp)
	movl	%eax,(%esp)
	call	_brl_max2d_DrawText
_502:
	fld1
	fstps	(%esp)
	call	_brl_max2d_SetAlpha
_499:
	cmpl	$0,__bb_TGameMode_gWindowed
	jne	_509
	movl	$0,8(%esp)
	movl	$0,4(%esp)
	movl	$0,(%esp)
	call	_brl_max2d_SetColor
	flds	_730
	fstps	12(%esp)
	fld1
	fstps	8(%esp)
	fldz
	fstps	4(%esp)
	flds	_731
	fstps	(%esp)
	call	_brl_max2d_DrawRect
_509:
	movl	$-1,(%esp)
	call	_brl_graphics_Flip
	mov	$0,%eax
	jmp	_199
_199:
	add	$16,%esp
	pop	%edi
	pop	%esi
	pop	%ebx
	mov	%ebp,%esp
	pop	%ebp
	ret
__bb_TGameMode_drawHUD:
	push	%ebp
	mov	%esp,%ebp
	sub	$4,%esp
	push	%ebx
	sub	$16,%esp
	fld1
	fstps	4(%esp)
	fld1
	fstps	(%esp)
	call	_brl_max2d_SetScale
	movl	$255,8(%esp)
	movl	$255,4(%esp)
	movl	$255,(%esp)
	call	_brl_max2d_SetColor
	movl	__bb_TGameMode_gFont32,%eax
	movl	%eax,(%esp)
	call	_brl_max2d_SetImageFont
	movl	$3,(%esp)
	call	_brl_max2d_SetBlend
	flds	_761
	fstps	8(%esp)
	flds	_762
	fstps	4(%esp)
	movl	$_67,(%esp)
	call	_brl_max2d_DrawText
	flds	_763
	fstps	8(%esp)
	mov	$550,%ebx
	movl	__bb_TScore_gScore,%eax
	movl	%eax,(%esp)
	call	_bbStringFromInt
	movl	8(%eax),%eax
	imul	$14,%eax
	cdq
	and	$1,%edx
	add	%edx,%eax
	sar	$1,%eax
	sub	%eax,%ebx
	movl	%ebx,-4(%ebp)
	fildl	-4(%ebp)
	fstps	4(%esp)
	movl	__bb_TScore_gScore,%eax
	movl	%eax,(%esp)
	call	_bbStringFromInt
	movl	%eax,(%esp)
	call	_brl_max2d_DrawText
	flds	_764
	fstps	8(%esp)
	flds	_765
	fstps	4(%esp)
	movl	$_68,(%esp)
	call	_brl_max2d_DrawText
	flds	_766
	fstps	8(%esp)
	mov	$230,%ebx
	movl	__bb_TScore_gHiScore,%eax
	movl	%eax,(%esp)
	call	_bbStringFromInt
	movl	8(%eax),%eax
	imul	$14,%eax
	cdq
	and	$1,%edx
	add	%edx,%eax
	sar	$1,%eax
	sub	%eax,%ebx
	movl	%ebx,-4(%ebp)
	fildl	-4(%ebp)
	fstps	4(%esp)
	movl	__bb_TScore_gHiScore,%eax
	movl	%eax,(%esp)
	call	_bbStringFromInt
	movl	%eax,(%esp)
	call	_brl_max2d_DrawText
	cmpl	$-1,__bb_TGameMode_gTrophy
	je	_510
	movl	__bb_TGameMode_gTrophy,%eax
	movl	%eax,12(%esp)
	flds	_767
	fstps	8(%esp)
	flds	_768
	fstps	4(%esp)
	movl	__bb_TGameMode_gGfxTrophies,%eax
	movl	%eax,(%esp)
	call	_brl_max2d_DrawImage
_510:
	movl	$255,8(%esp)
	movl	$230,4(%esp)
	movl	$120,(%esp)
	call	_brl_max2d_SetColor
	flds	_769
	fstps	8(%esp)
	flds	_770
	fstps	4(%esp)
	movl	$_69,(%esp)
	call	_brl_max2d_DrawText
	flds	_771
	fstps	8(%esp)
	mov	$80,%ebx
	movl	__bb_TGameMode_gLaps,%eax
	movl	%eax,(%esp)
	call	_bbStringFromInt
	movl	8(%eax),%eax
	imul	$14,%eax
	cdq
	and	$1,%edx
	add	%edx,%eax
	sar	$1,%eax
	sub	%eax,%ebx
	movl	%ebx,-4(%ebp)
	fildl	-4(%ebp)
	fstps	4(%esp)
	movl	__bb_TGameMode_gLaps,%eax
	movl	%eax,(%esp)
	call	_bbStringFromInt
	movl	%eax,(%esp)
	call	_brl_max2d_DrawText
	cmpl	$_bbNullObject,__bb_TGameMode_gPlayer
	je	_512
	movl	__bb_TGameMode_gPlayer,%eax
	flds	80(%eax)
	fdivs	_772
	fmuls	_773
	fstpl	(%esp)
	call	_bbFloatToInt
	movl	%eax,(%esp)
	call	_bbStringFromInt
	mov	%eax,%ebx
	jmp	_513
_512:
	mov	$_70,%ebx
_513:
	flds	_774
	fstps	8(%esp)
	flds	_775
	fstps	4(%esp)
	movl	$_71,(%esp)
	call	_brl_max2d_DrawText
	flds	_776
	fstps	8(%esp)
	mov	$690,%edx
	movl	8(%ebx),%eax
	imul	$14,%eax
	sub	%eax,%edx
	movl	%edx,-4(%ebp)
	fildl	-4(%ebp)
	fstps	4(%esp)
	movl	%ebx,(%esp)
	call	_brl_max2d_DrawText
	flds	_777
	fstps	8(%esp)
	flds	_778
	fstps	4(%esp)
	movl	$_72,(%esp)
	call	_brl_max2d_DrawText
	movl	$0,8(%esp)
	movl	$255,4(%esp)
	movl	$255,(%esp)
	call	_brl_max2d_SetColor
	flds	_779
	fstps	8(%esp)
	flds	_780
	fstps	4(%esp)
	movl	$_73,(%esp)
	call	_brl_max2d_DrawText
	cmpl	$10,__bb_TGameMode_gCheckpointTimer
	jle	_514
	flds	_781
	fstps	8(%esp)
	mov	$400,%ebx
	movl	__bb_TGameMode_gCheckpointTimer,%eax
	movl	%eax,(%esp)
	call	_bbStringFromInt
	movl	8(%eax),%eax
	imul	$14,%eax
	cdq
	and	$1,%edx
	add	%edx,%eax
	sar	$1,%eax
	sub	%eax,%ebx
	movl	%ebx,-4(%ebp)
	fildl	-4(%ebp)
	fstps	4(%esp)
	movl	__bb_TGameMode_gCheckpointTimer,%eax
	movl	%eax,(%esp)
	call	_bbStringFromInt
	movl	%eax,(%esp)
	call	_brl_max2d_DrawText
	jmp	_515
_514:
	movl	__bb_TGameMode_gFont64,%eax
	movl	%eax,(%esp)
	call	_brl_max2d_SetImageFont
	flds	_782
	fstps	8(%esp)
	mov	$400,%ebx
	movl	__bb_TGameMode_gCheckpointTimer,%eax
	movl	%eax,(%esp)
	call	_bbStringFromInt
	movl	8(%eax),%eax
	imul	$42,%eax
	cdq
	and	$1,%edx
	add	%edx,%eax
	sar	$1,%eax
	sub	%eax,%ebx
	movl	%ebx,-4(%ebp)
	fildl	-4(%ebp)
	fstps	4(%esp)
	movl	__bb_TGameMode_gCheckpointTimer,%eax
	movl	%eax,(%esp)
	call	_bbStringFromInt
	movl	%eax,(%esp)
	call	_brl_max2d_DrawText
_515:
	mov	$0,%eax
	jmp	_201
_201:
	add	$16,%esp
	pop	%ebx
	mov	%ebp,%esp
	pop	%ebp
	ret
__bb_TGameMode_drawHorizons:
	push	%ebp
	mov	%esp,%ebp
	sub	$8,%esp
	movl	__bb_TGameMode_gHorizon1,%eax
	movl	%eax,(%esp)
	movl	(%eax),%eax
	calll	*64(%eax)
	movl	__bb_TGameMode_gHorizon2,%eax
	movl	%eax,(%esp)
	movl	(%eax),%eax
	calll	*64(%eax)
	movl	__bb_TGameMode_gHorizon3,%eax
	movl	%eax,(%esp)
	movl	(%eax),%eax
	calll	*64(%eax)
	mov	$0,%eax
	jmp	_203
_203:
	mov	%ebp,%esp
	pop	%ebp
	ret
	.data	
	.align	4
_205:
	.long	0
	.align	4
__bb_TGameMode_gGfxRoad:
	.long	_bbNullObject
	.align	4
__bb_TGameMode_gGfxTrophies:
	.long	_bbNullObject
	.align	4
__bb_TGameMode_gGfxSelectCar:
	.long	_bbNullObject
	.align	4
__bb_TGameMode_gGfxSelectCarRect:
	.long	_bbNullObject
	.align	4
__bb_TGameMode_gFont32:
	.long	_bbNullObject
	.align	4
__bb_TGameMode_gFont64:
	.long	_bbNullObject
	.align	4
__bb_TGameMode_gSndTitleMusic:
	.long	_bbNullObject
	.align	4
__bb_TGameMode_gSndRaceMusic:
	.long	_bbNullObject
	.align	4
__bb_TGameMode_gSndLap:
	.long	_bbNullObject
	.align	4
__bb_TGameMode_gSndStart1:
	.long	_bbNullObject
	.align	4
__bb_TGameMode_gSndStart2:
	.long	_bbNullObject
	.align	4
__bb_TGameMode_gChnMusic:
	.long	_bbNullObject
	.align	4
__bb_TGameMode_gState:
	.long	0
	.align	4
__bb_TGameMode_gZMap:
	.long	_bbEmptyArray
	.align	4
__bb_TGameMode_gScale:
	.long	_bbEmptyArray
	.align	4
__bb_TGameMode_gPlayer:
	.long	_bbNullObject
	.align	4
__bb_TGameMode_gPlayerX:
	.long	0x0
	.align	4
__bb_TGameMode_gPlayerSegmentDX:
	.long	0x0
	.align	4
__bb_TGameMode_gPlayerSpeed:
	.long	0x0
	.align	4
__bb_TGameMode_gEnemyTimer:
	.long	0x430c0000
	.align	4
__bb_TGameMode_gEnemyLane:
	.long	-1
	.align	4
__bb_TGameMode_gBushTimer:
	.long	0x0
	.align	4
__bb_TGameMode_gHorizon1:
	.long	_bbNullObject
	.align	4
__bb_TGameMode_gHorizon2:
	.long	_bbNullObject
	.align	4
__bb_TGameMode_gHorizon3:
	.long	_bbNullObject
	.align	4
__bb_TGameMode_gHorizonYOffset:
	.long	0x0
	.align	4
__bb_TGameMode_gTextureOffset:
	.long	0x0
	.align	4
__bb_TGameMode_gStartCountDown:
	.long	0
	.align	4
__bb_TGameMode_gStartCountDownRepeats:
	.long	0
	.align	4
__bb_TGameMode_gGameOverAlpha:
	.long	0x0
	.align	4
__bb_TGameMode_gCheckpointTimer:
	.long	0
	.align	4
__bb_TGameMode_gNewPlayerCarTimer:
	.long	0
	.align	4
__bb_TGameMode_gTime:
	.long	0
	.align	4
__bb_TGameMode_gLaps:
	.long	0
	.align	4
__bb_TGameMode_gPlayerDistance:
	.long	0x0
	.align	4
__bb_TGameMode_gWindowed:
	.long	1
	.align	4
__bb_TGameMode_gTrophy:
	.long	0
	.align	4
__bb_TGameMode_gMusicEnabled:
	.long	1
	.align	4
__bb_TGameMode_gSelectedMusic:
	.long	_bbNullObject
	.align	4
__bb_TGameMode_gPlayerCarColor:
	.long	2
_75:
	.asciz	"TGameMode"
_76:
	.asciz	"STATE_TITLE"
_77:
	.asciz	"i"
	.align	4
_78:
	.long	_bbStringClass
	.long	2147483646
	.long	1
	.short	48
_79:
	.asciz	"STATE_START"
	.align	4
_80:
	.long	_bbStringClass
	.long	2147483646
	.long	1
	.short	49
_81:
	.asciz	"STATE_ACTION"
	.align	4
_82:
	.long	_bbStringClass
	.long	2147483646
	.long	1
	.short	50
_83:
	.asciz	"STATE_GAME_OVER"
	.align	4
_84:
	.long	_bbStringClass
	.long	2147483646
	.long	1
	.short	51
_85:
	.asciz	"START_COUNT_DOWN"
	.align	4
_86:
	.long	_bbStringClass
	.long	2147483646
	.long	3
	.short	51,48,48
_87:
	.asciz	"START_COUNT_DOWN_REPEATS"
	.align	4
_88:
	.long	_bbStringClass
	.long	2147483646
	.long	1
	.short	52
_89:
	.asciz	"CHECKPOINT_TIME_FIRST_LAP"
	.align	4
_90:
	.long	_bbStringClass
	.long	2147483646
	.long	2
	.short	57,48
_91:
	.asciz	"CHECKPOINT_TIME_BONUS_1"
	.align	4
_92:
	.long	_bbStringClass
	.long	2147483646
	.long	2
	.short	56,48
_93:
	.asciz	"CHECKPOINT_TIME_BONUS_2"
	.align	4
_94:
	.long	_bbStringClass
	.long	2147483646
	.long	2
	.short	55,48
_95:
	.asciz	"CHECKPOINT_TIME_BONUS_3"
	.align	4
_96:
	.long	_bbStringClass
	.long	2147483646
	.long	2
	.short	54,48
_97:
	.asciz	"NEW_PLAYER_CAR_TIME"
_98:
	.asciz	"GAME_OVER_FADE_SPEED"
_99:
	.asciz	"f"
	.align	4
_100:
	.long	_bbStringClass
	.long	2147483646
	.long	13
	.short	48,46,48,48,52,57,57,57,57,57,57,56,57
_101:
	.asciz	"CLOUD_COUNT"
	.align	4
_102:
	.long	_bbStringClass
	.long	2147483646
	.long	2
	.short	49,48
_103:
	.asciz	"BUSH_COUNT_AT_START"
	.align	4
_104:
	.long	_bbStringClass
	.long	2147483646
	.long	2
	.short	50,48
_105:
	.asciz	"MIN_ENEMY_TIME"
_106:
	.asciz	"MAX_ENEMY_TIME"
	.align	4
_107:
	.long	_bbStringClass
	.long	2147483646
	.long	3
	.short	49,52,48
_108:
	.asciz	"MAX_ENEMY_COUNT"
	.align	4
_109:
	.long	_bbStringClass
	.long	2147483646
	.long	1
	.short	53
_110:
	.asciz	"LAP_COUNT_BRONZE"
	.align	4
_111:
	.long	_bbStringClass
	.long	2147483646
	.long	1
	.short	54
_112:
	.asciz	"LAP_COUNT_SILVER"
	.align	4
_113:
	.long	_bbStringClass
	.long	2147483646
	.long	1
	.short	55
_114:
	.asciz	"LAP_COUNT_GOLD"
	.align	4
_115:
	.long	_bbStringClass
	.long	2147483646
	.long	1
	.short	56
_116:
	.asciz	"TROPHY_NONE"
	.align	4
_117:
	.long	_bbStringClass
	.long	2147483646
	.long	2
	.short	45,49
_118:
	.asciz	"TROPHY_BRONZE"
_119:
	.asciz	"TROPHY_SILVER"
_120:
	.asciz	"TROPHY_GOLD"
_121:
	.asciz	"New"
_122:
	.asciz	"()i"
_123:
	.asciz	"Delete"
_124:
	.asciz	"init"
_125:
	.asciz	"resetGraphics"
_126:
	.asciz	"loadGraphics"
_127:
	.asciz	"initZMapAndScaling"
_128:
	.asciz	"playMusic"
_129:
	.asciz	"(:TSound,:TChannel)i"
_130:
	.asciz	"stopMusic"
_131:
	.asciz	"toggleMusic"
_132:
	.asciz	"switchToState"
_133:
	.asciz	"(i)i"
_134:
	.asciz	"createClouds"
_135:
	.asciz	"createBushes"
_136:
	.asciz	"createHorizons"
_137:
	.asciz	"removeAllGameObjects"
_138:
	.asciz	"removeHorizons"
_139:
	.asciz	"update"
_140:
	.asciz	"updateBushTimer"
_141:
	.asciz	"(f)i"
_142:
	.asciz	"updateEnemyTimer"
_143:
	.asciz	"updateTextureOffset"
_144:
	.asciz	"updateHorizons"
_145:
	.asciz	"draw"
_146:
	.asciz	"drawHUD"
_147:
	.asciz	"drawHorizons"
	.align	4
_74:
	.long	2
	.long	_75
	.long	1
	.long	_76
	.long	_77
	.long	_78
	.long	1
	.long	_79
	.long	_77
	.long	_80
	.long	1
	.long	_81
	.long	_77
	.long	_82
	.long	1
	.long	_83
	.long	_77
	.long	_84
	.long	1
	.long	_85
	.long	_77
	.long	_86
	.long	1
	.long	_87
	.long	_77
	.long	_88
	.long	1
	.long	_89
	.long	_77
	.long	_90
	.long	1
	.long	_91
	.long	_77
	.long	_92
	.long	1
	.long	_93
	.long	_77
	.long	_94
	.long	1
	.long	_95
	.long	_77
	.long	_96
	.long	1
	.long	_97
	.long	_77
	.long	_84
	.long	1
	.long	_98
	.long	_99
	.long	_100
	.long	1
	.long	_101
	.long	_77
	.long	_102
	.long	1
	.long	_103
	.long	_77
	.long	_104
	.long	1
	.long	_105
	.long	_77
	.long	_104
	.long	1
	.long	_106
	.long	_77
	.long	_107
	.long	1
	.long	_108
	.long	_77
	.long	_109
	.long	1
	.long	_110
	.long	_77
	.long	_111
	.long	1
	.long	_112
	.long	_77
	.long	_113
	.long	1
	.long	_114
	.long	_77
	.long	_115
	.long	1
	.long	_116
	.long	_77
	.long	_117
	.long	1
	.long	_118
	.long	_77
	.long	_78
	.long	1
	.long	_119
	.long	_77
	.long	_80
	.long	1
	.long	_120
	.long	_77
	.long	_82
	.long	6
	.long	_121
	.long	_122
	.long	16
	.long	6
	.long	_123
	.long	_122
	.long	20
	.long	7
	.long	_124
	.long	_122
	.long	48
	.long	7
	.long	_125
	.long	_122
	.long	52
	.long	7
	.long	_126
	.long	_122
	.long	56
	.long	7
	.long	_127
	.long	_122
	.long	60
	.long	7
	.long	_128
	.long	_129
	.long	64
	.long	7
	.long	_130
	.long	_122
	.long	68
	.long	7
	.long	_131
	.long	_122
	.long	72
	.long	7
	.long	_132
	.long	_133
	.long	76
	.long	7
	.long	_134
	.long	_122
	.long	80
	.long	7
	.long	_135
	.long	_122
	.long	84
	.long	7
	.long	_136
	.long	_122
	.long	88
	.long	7
	.long	_137
	.long	_122
	.long	92
	.long	7
	.long	_138
	.long	_122
	.long	96
	.long	7
	.long	_139
	.long	_122
	.long	100
	.long	7
	.long	_140
	.long	_141
	.long	104
	.long	7
	.long	_142
	.long	_141
	.long	108
	.long	7
	.long	_143
	.long	_141
	.long	112
	.long	7
	.long	_144
	.long	_141
	.long	116
	.long	7
	.long	_145
	.long	_122
	.long	120
	.long	7
	.long	_146
	.long	_122
	.long	124
	.long	7
	.long	_147
	.long	_122
	.long	128
	.long	0
	.align	4
_bb_TGameMode:
	.long	_bbObjectClass
	.long	_bbObjectFree
	.long	_74
	.long	8
	.long	__bb_TGameMode_New
	.long	__bb_TGameMode_Delete
	.long	_bbObjectToString
	.long	_bbObjectCompare
	.long	_bbObjectSendMessage
	.long	_bbObjectReserved
	.long	_bbObjectReserved
	.long	_bbObjectReserved
	.long	__bb_TGameMode_init
	.long	__bb_TGameMode_resetGraphics
	.long	__bb_TGameMode_loadGraphics
	.long	__bb_TGameMode_initZMapAndScaling
	.long	__bb_TGameMode_playMusic
	.long	__bb_TGameMode_stopMusic
	.long	__bb_TGameMode_toggleMusic
	.long	__bb_TGameMode_switchToState
	.long	__bb_TGameMode_createClouds
	.long	__bb_TGameMode_createBushes
	.long	__bb_TGameMode_createHorizons
	.long	__bb_TGameMode_removeAllGameObjects
	.long	__bb_TGameMode_removeHorizons
	.long	__bb_TGameMode_update
	.long	__bb_TGameMode_updateBushTimer
	.long	__bb_TGameMode_updateEnemyTimer
	.long	__bb_TGameMode_updateTextureOffset
	.long	__bb_TGameMode_updateHorizons
	.long	__bb_TGameMode_draw
	.long	__bb_TGameMode_drawHUD
	.long	__bb_TGameMode_drawHorizons
	.align	4
_526:
	.long	0x40400000
	.align	4
_7:
	.long	_bbStringClass
	.long	2147483647
	.long	13
	.short	77,117,115,105,99,47,110,102,111,46,111,103,103
	.align	4
_8:
	.long	_bbStringClass
	.long	2147483647
	.long	16
	.short	77,117,115,105,99,47,109,117,116,97,110,116,46,111,103,103
	.align	4
_9:
	.long	_bbStringClass
	.long	2147483647
	.long	14
	.short	83,111,117,110,100,115,47,108,97,112,46,119,97,118
	.align	4
_10:
	.long	_bbStringClass
	.long	2147483647
	.long	17
	.short	83,111,117,110,100,115,47,115,116,97,114,116,49,46,119,97
	.short	118
	.align	4
_11:
	.long	_bbStringClass
	.long	2147483647
	.long	17
	.short	83,111,117,110,100,115,47,115,116,97,114,116,50,46,119,97
	.short	118
	.align	4
_527:
	.long	0x3f000000
	.align	4
_530:
	.long	0x44160000
	.align	4
_531:
	.long	0x44480000
	.align	4
_532:
	.long	0x44160000
	.align	4
_533:
	.long	0x44480000
	.align	4
_12:
	.long	_bbStringClass
	.long	2147483647
	.long	23
	.short	70,111,110,116,115,47,82,101,116,114,111,118,105,108,108,101
	.short	95,78,67,46,116,116,102
	.align	4
_13:
	.long	_bbStringClass
	.long	2147483647
	.long	17
	.short	71,114,97,112,104,105,99,115,47,114,111,97,100,46,112,110
	.short	103
	.align	4
_14:
	.long	_bbStringClass
	.long	2147483647
	.long	21
	.short	71,114,97,112,104,105,99,115,47,116,114,111,112,104,105,101
	.short	115,46,112,110,103
	.align	4
_15:
	.long	_bbStringClass
	.long	2147483647
	.long	23
	.short	71,114,97,112,104,105,99,115,47,115,101,108,101,99,116,95
	.short	99,97,114,46,112,110,103
	.align	4
_16:
	.long	_bbStringClass
	.long	2147483647
	.long	28
	.short	71,114,97,112,104,105,99,115,47,115,101,108,101,99,116,95
	.short	99,97,114,95,114,101,99,116,46,112,110,103
_259:
	.asciz	"f"
_264:
	.asciz	"f"
	.align	4
_539:
	.long	0xbf800000
	.align	4
_540:
	.long	0x439d8000
	.align	4
_541:
	.long	0x447a0000
	.align	4
_542:
	.long	0x3f800000
	.align	4
_543:
	.long	0xbf800000
	.align	4
_544:
	.long	0x439d8000
	.align	4
_545:
	.long	0x3f800000
	.align	4
_557:
	.long	0x4019999a
	.align	4
_558:
	.long	0x419b3333
	.align	8
_568:
	.long	0x0,0x40a2c000
	.align	8
_569:
	.long	0x0,0x407b8000
	.align	8
_570:
	.long	0x0,0x40a2c000
	.align	8
_571:
	.long	0x0,0x407b8000
	.align	4
_575:
	.long	0x452f0000
	.align	4
_576:
	.long	0x454e4000
	.align	4
_577:
	.long	0x456d8000
	.align	4
_584:
	.long	0x3e4ccccd
	.align	4
_585:
	.long	0x42c80000
	.align	4
_586:
	.long	0x42c80000
	.align	4
_587:
	.long	0x3e4ccccd
	.align	4
_588:
	.long	0x40a00000
	.align	4
_589:
	.long	0x3ba3d70a
	.align	8
_641:
	.long	0x0,0x40a2c000
	.align	8
_642:
	.long	0x0,0x407b8000
	.align	8
_643:
	.long	0x0,0x40a2c000
	.align	8
_644:
	.long	0x0,0x407b8000
	.align	4
_645:
	.long	0x41700000
	.align	4
_646:
	.long	0x41f00000
	.align	8
_652:
	.long	0x0,0x40240000
	.align	8
_653:
	.long	0x0,0x40220000
	.align	4
_659:
	.long	0x40800000
	.align	4
_660:
	.long	0x40800000
	.align	4
_667:
	.long	0x42200000
	.align	4
_668:
	.long	0x431b0000
	.align	4
_29:
	.long	_bbStringClass
	.long	2147483647
	.long	10
	.short	71,82,65,78,68,32,80,82,73,88
	.align	4
_669:
	.long	0x42fa0000
	.align	4
_670:
	.long	0x43610000
	.align	4
_30:
	.long	_bbStringClass
	.long	2147483647
	.long	25
	.short	99,111,100,101,32,38,32,103,102,120,58,32,114,111,98,98
	.short	101,114,116,32,112,114,105,110,115
	.align	4
_671:
	.long	0x43200000
	.align	4
_672:
	.long	0x43610000
	.align	4
_31:
	.long	_bbStringClass
	.long	2147483647
	.long	25
	.short	109,117,115,105,99,58,32,99,111,100,97,32,40,99,111,100
	.short	97,46,115,51,109,46,117,115,41
	.align	4
_673:
	.long	0x43430000
	.align	4
_674:
	.long	0x43610000
	.align	4
_32:
	.long	_bbStringClass
	.long	2147483647
	.long	27
	.short	109,97,99,32,100,101,98,117,103,103,105,110,103,58,32,103
	.short	97,118,105,110,32,116,117,114,110,101,114
	.align	4
_675:
	.long	0x436b0000
	.align	4
_676:
	.long	0x42a00000
	.align	4
_434:
	.long	_bbStringClass
	.long	2147483647
	.long	15
	.short	54,32,108,97,112,115,32,61,32,98,114,111,110,122,101
	.align	4
_677:
	.long	0x43898000
	.align	4
_678:
	.long	0x42a00000
	.align	4
_436:
	.long	_bbStringClass
	.long	2147483647
	.long	15
	.short	55,32,108,97,112,115,32,61,32,115,105,108,118,101,114
	.align	4
_679:
	.long	0x439d8000
	.align	4
_680:
	.long	0x42a00000
	.align	4
_438:
	.long	_bbStringClass
	.long	2147483647
	.long	13
	.short	56,32,108,97,112,115,32,61,32,103,111,108,100
	.align	4
_681:
	.long	0x436b0000
	.align	4
_682:
	.long	0x439b0000
	.align	4
_683:
	.long	0x43898000
	.align	4
_684:
	.long	0x439b0000
	.align	4
_685:
	.long	0x439d8000
	.align	4
_686:
	.long	0x439b0000
	.align	4
_687:
	.long	0x436b0000
	.align	4
_688:
	.long	0x43c80000
	.align	4
_36:
	.long	_bbStringClass
	.long	2147483647
	.long	20
	.short	99,111,110,116,114,111,108,115,58,32,97,114,114,111,119,32
	.short	107,101,121,115
	.align	4
_689:
	.long	0x43898000
	.align	4
_690:
	.long	0x43c80000
	.align	4
_37:
	.long	_bbStringClass
	.long	2147483647
	.long	26
	.short	119,32,61,32,102,117,108,108,32,115,99,114,101,101,110,32
	.short	47,32,119,105,110,100,111,119,101,100
	.align	4
_691:
	.long	0x439d8000
	.align	4
_692:
	.long	0x43c80000
	.align	4
_38:
	.long	_bbStringClass
	.long	2147483647
	.long	18
	.short	109,32,61,32,109,117,115,105,99,32,111,110,32,47,32,111
	.short	102,102
	.align	4
_693:
	.long	0x43b68000
	.align	4
_694:
	.long	0x433e0000
	.align	4
_39:
	.long	_bbStringClass
	.long	2147483647
	.long	30
	.short	112,114,101,115,115,32,108,101,102,116,45,114,105,103,104,116
	.short	32,116,111,32,115,101,108,101,99,116,32,99,97,114
	.align	4
_695:
	.long	0x43f50000
	.align	4
_696:
	.long	0x432a0000
	.align	4
_40:
	.long	_bbStringClass
	.long	2147483647
	.long	32
	.short	112,114,101,115,115,32,115,112,97,99,101,32,111,114,32,117
	.short	112,45,97,114,114,111,119,32,116,111,32,115,116,97,114,116
	.align	4
_697:
	.long	0x43d20000
	.align	4
_698:
	.long	0x43cf8000
	.align	4
_699:
	.long	0x44098000
	.align	4
_700:
	.long	0x43870000
	.align	4
_44:
	.long	_bbStringClass
	.long	2147483647
	.long	15
	.short	70,79,80,80,89,71,65,77,69,83,32,50,48,49,51
	.align	4
_701:
	.long	0x44160000
	.align	4
_702:
	.long	0x44164000
	.align	4
_703:
	.long	0x3f800000
	.align	4
_704:
	.long	0x43c80000
	.align	4
_705:
	.long	0x43c80000
	.align	4
_706:
	.long	0x43960000
	.align	4
_707:
	.long	0x0
	.align	4
_708:
	.long	0x0
_457:
	.asciz	"f"
_459:
	.asciz	"i"
	.align	4
_709:
	.long	0x40800000
	.align	4
_710:
	.long	0x40000000
	.align	4
_711:
	.long	0x40a00000
	.align	4
_712:
	.long	0x3f800000
	.align	4
_713:
	.long	0x41200000
	.align	4
_714:
	.long	0x3f99999a
	.align	4
_715:
	.long	0x43960000
	.align	4
_716:
	.long	0x41200000
	.align	4
_717:
	.long	0x44480000
	.align	4
_718:
	.long	0x43960000
	.align	4
_719:
	.long	0x40a00000
	.align	4
_720:
	.long	0x44480000
	.align	4
_721:
	.long	0x44160000
	.align	4
_722:
	.long	0x44480000
	.align	4
_723:
	.long	0x43340000
	.align	4
_724:
	.long	0x425c0000
	.align	4
_60:
	.long	_bbStringClass
	.long	2147483647
	.long	14
	.short	71,65,77,69,32,67,79,77,80,76,69,84,69,68
	.align	4
_725:
	.long	0x43340000
	.align	4
_726:
	.long	0x43390000
	.align	4
_61:
	.long	_bbStringClass
	.long	2147483647
	.long	9
	.short	71,65,77,69,32,79,86,69,82
	.align	4
_1:
	.long	_bbStringClass
	.long	2147483647
	.long	0
	.align	4
_62:
	.long	_bbStringClass
	.long	2147483647
	.long	6
	.short	98,114,111,110,122,101
	.align	4
_63:
	.long	_bbStringClass
	.long	2147483647
	.long	6
	.short	115,105,108,118,101,114
	.align	4
_64:
	.long	_bbStringClass
	.long	2147483647
	.long	4
	.short	103,111,108,100
	.align	4
_727:
	.long	0x43960000
	.align	4
_728:
	.long	0x43b40000
	.align	4
_729:
	.long	0x43020000
	.align	4
_65:
	.long	_bbStringClass
	.long	2147483647
	.long	29
	.short	99,111,110,103,114,97,116,117,108,97,116,105,111,110,115,44
	.short	32,121,111,117,32,119,111,110,32,116,104,101,32
	.align	4
_66:
	.long	_bbStringClass
	.long	2147483647
	.long	5
	.short	32,99,117,112,33
	.align	4
_730:
	.long	0x44160000
	.align	4
_731:
	.long	0xbf800000
	.align	4
_761:
	.long	0x41a00000
	.align	4
_762:
	.long	0x4400c000
	.align	4
_67:
	.long	_bbStringClass
	.long	2147483647
	.long	5
	.short	83,67,79,82,69
	.align	4
_763:
	.long	0x42480000
	.align	4
_764:
	.long	0x41a00000
	.align	4
_765:
	.long	0x432e0000
	.align	4
_68:
	.long	_bbStringClass
	.long	2147483647
	.long	8
	.short	72,73,45,83,67,79,82,69
	.align	4
_766:
	.long	0x42480000
	.align	4
_767:
	.long	0x42aa0000
	.align	4
_768:
	.long	0x42900000
	.align	4
_769:
	.long	0x41a00000
	.align	4
_770:
	.long	0x42500000
	.align	4
_69:
	.long	_bbStringClass
	.long	2147483647
	.long	4
	.short	76,65,80,83
	.align	4
_771:
	.long	0x42480000
	.align	4
_772:
	.long	0x3ea66666
	.align	4
_773:
	.long	0x43af0000
	.align	4
_70:
	.long	_bbStringClass
	.long	2147483647
	.long	1
	.short	48
	.align	4
_774:
	.long	0x41a00000
	.align	4
_775:
	.long	0x4428c000
	.align	4
_71:
	.long	_bbStringClass
	.long	2147483647
	.long	5
	.short	83,80,69,69,68
	.align	4
_776:
	.long	0x42480000
	.align	4
_777:
	.long	0x42480000
	.align	4
_778:
	.long	0x44318000
	.align	4
_72:
	.long	_bbStringClass
	.long	2147483647
	.long	5
	.short	32,107,109,47,104
	.align	4
_779:
	.long	0x41a00000
	.align	4
_780:
	.long	0x43ba0000
	.align	4
_73:
	.long	_bbStringClass
	.long	2147483647
	.long	4
	.short	84,73,77,69
	.align	4
_781:
	.long	0x42480000
	.align	4
_782:
	.long	0x42200000
