	format	MS COFF
	extrn	___bb_audio_audio
	extrn	___bb_basic_basic
	extrn	___bb_blitz_blitz
	extrn	___bb_freeaudioaudio_freeaudioaudio
	extrn	___bb_oggloader_oggloader
	extrn	_bbGCFree
	extrn	_bbIncbinAdd
	extrn	_bbNullObject
	extrn	_bbObjectClass
	extrn	_bbObjectCompare
	extrn	_bbObjectCtor
	extrn	_bbObjectDtor
	extrn	_bbObjectFree
	extrn	_bbObjectRegisterType
	extrn	_bbObjectReserved
	extrn	_bbObjectSendMessage
	extrn	_bbObjectToString
	extrn	_bbOnDebugEnterScope
	extrn	_bbOnDebugEnterStm
	extrn	_bbOnDebugLeaveScope
	extrn	_bbStringClass
	extrn	_bbStringConcat
	extrn	_brl_audio_LoadSound
	extrn	_brl_audio_PlaySound
	extrn	_brl_blitz_RuntimeError
	public	___bb_missilelock_sound
	public	__bb_SFX_Alert
	public	__bb_SFX_Delete
	public	__bb_SFX_Init
	public	__bb_SFX_MissileExplode
	public	__bb_SFX_MissileLaunch
	public	__bb_SFX_New
	public	__bb_SFX_SafeLoadSound
	public	__bb_SFX_ShipExplode
	public	__bb_SFX_ShipHit
	public	__bb_SFX_sfx_alert
	public	__bb_SFX_sfx_missile_explode
	public	__bb_SFX_sfx_missile_launch
	public	__bb_SFX_sfx_ship_explode
	public	__bb_SFX_sfx_ship_hit
	public	_bb_SFX
	section	"code" code
___bb_missilelock_sound:
	push	ebp
	mov	ebp,esp
	push	ebx
	cmp	dword [_84],0
	je	_85
	mov	eax,0
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
_85:
	mov	dword [_84],1
	mov	eax,_69
	sub	eax,_68
	push	eax
	push	_68
	push	_67
	call	_bbIncbinAdd
	add	esp,12
	mov	eax,_72
	sub	eax,_71
	push	eax
	push	_71
	push	_70
	call	_bbIncbinAdd
	add	esp,12
	mov	eax,_75
	sub	eax,_74
	push	eax
	push	_74
	push	_73
	call	_bbIncbinAdd
	add	esp,12
	mov	eax,_78
	sub	eax,_77
	push	eax
	push	_77
	push	_76
	call	_bbIncbinAdd
	add	esp,12
	mov	eax,_81
	sub	eax,_80
	push	eax
	push	_80
	push	_79
	call	_bbIncbinAdd
	add	esp,12
	push	ebp
	push	_82
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	call	___bb_blitz_blitz
	call	___bb_audio_audio
	call	___bb_oggloader_oggloader
	call	___bb_freeaudioaudio_freeaudioaudio
	call	___bb_basic_basic
	push	_61
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	_63
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	_64
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	_65
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	_66
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	_bb_SFX
	call	_bbObjectRegisterType
	add	esp,4
	mov	ebx,0
	jmp	_37
_37:
	call	dword [_bbOnDebugLeaveScope]
	mov	eax,ebx
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_SFX_New:
	push	ebp
	mov	ebp,esp
	sub	esp,4
	push	ebx
	mov	eax,dword [ebp+8]
	mov	dword [ebp-4],eax
	push	ebp
	push	_87
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	dword [ebp-4]
	call	_bbObjectCtor
	add	esp,4
	mov	eax,dword [ebp-4]
	mov	dword [eax],_bb_SFX
	push	ebp
	push	_86
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	call	dword [_bbOnDebugLeaveScope]
	mov	ebx,0
	jmp	_40
_40:
	call	dword [_bbOnDebugLeaveScope]
	mov	eax,ebx
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_SFX_Delete:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
_43:
	mov	dword [eax],_bbObjectClass
	push	eax
	call	_bbObjectDtor
	add	esp,4
	mov	eax,0
	jmp	_90
_90:
	mov	esp,ebp
	pop	ebp
	ret
__bb_SFX_SafeLoadSound:
	push	ebp
	mov	ebp,esp
	sub	esp,12
	push	ebx
	mov	eax,dword [ebp+8]
	mov	dword [ebp-4],eax
	mov	eax,dword [ebp+12]
	mov	dword [ebp-8],eax
	mov	dword [ebp-12],_bbNullObject
	push	ebp
	push	_96
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_91
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	dword [ebp-8]
	push	dword [ebp-4]
	call	_brl_audio_LoadSound
	add	esp,8
	mov	dword [ebp-12],eax
	push	_93
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	cmp	dword [ebp-12],_bbNullObject
	jne	_94
	push	dword [ebp-4]
	push	_18
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_brl_blitz_RuntimeError
	add	esp,4
_94:
	push	_95
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-12]
	jmp	_47
_47:
	call	dword [_bbOnDebugLeaveScope]
	mov	eax,ebx
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_SFX_Init:
	push	ebp
	mov	ebp,esp
	push	ebx
	push	ebp
	push	_127
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_102
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	0
	push	_19
	call	dword [_bb_SFX+48]
	add	esp,8
	inc	dword [eax+4]
	mov	ebx,eax
	mov	eax,dword [__bb_SFX_sfx_alert]
	dec	dword [eax+4]
	jnz	_106
	push	eax
	call	_bbGCFree
	add	esp,4
_106:
	mov	dword [__bb_SFX_sfx_alert],ebx
	push	_107
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	0
	push	_20
	call	dword [_bb_SFX+48]
	add	esp,8
	inc	dword [eax+4]
	mov	ebx,eax
	mov	eax,dword [__bb_SFX_sfx_missile_explode]
	dec	dword [eax+4]
	jnz	_111
	push	eax
	call	_bbGCFree
	add	esp,4
_111:
	mov	dword [__bb_SFX_sfx_missile_explode],ebx
	push	_112
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	0
	push	_21
	call	dword [_bb_SFX+48]
	add	esp,8
	inc	dword [eax+4]
	mov	ebx,eax
	mov	eax,dword [__bb_SFX_sfx_missile_launch]
	dec	dword [eax+4]
	jnz	_116
	push	eax
	call	_bbGCFree
	add	esp,4
_116:
	mov	dword [__bb_SFX_sfx_missile_launch],ebx
	push	_117
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	0
	push	_22
	call	dword [_bb_SFX+48]
	add	esp,8
	inc	dword [eax+4]
	mov	ebx,eax
	mov	eax,dword [__bb_SFX_sfx_ship_explode]
	dec	dword [eax+4]
	jnz	_121
	push	eax
	call	_bbGCFree
	add	esp,4
_121:
	mov	dword [__bb_SFX_sfx_ship_explode],ebx
	push	_122
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	0
	push	_23
	call	dword [_bb_SFX+48]
	add	esp,8
	inc	dword [eax+4]
	mov	ebx,eax
	mov	eax,dword [__bb_SFX_sfx_ship_hit]
	dec	dword [eax+4]
	jnz	_126
	push	eax
	call	_bbGCFree
	add	esp,4
_126:
	mov	dword [__bb_SFX_sfx_ship_hit],ebx
	mov	ebx,0
	jmp	_49
_49:
	call	dword [_bbOnDebugLeaveScope]
	mov	eax,ebx
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_SFX_Alert:
	push	ebp
	mov	ebp,esp
	push	ebx
	push	ebp
	push	_129
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_128
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	_bbNullObject
	push	dword [__bb_SFX_sfx_alert]
	call	_brl_audio_PlaySound
	add	esp,8
	mov	ebx,0
	jmp	_51
_51:
	call	dword [_bbOnDebugLeaveScope]
	mov	eax,ebx
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_SFX_MissileExplode:
	push	ebp
	mov	ebp,esp
	push	ebx
	push	ebp
	push	_131
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_130
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	_bbNullObject
	push	dword [__bb_SFX_sfx_missile_explode]
	call	_brl_audio_PlaySound
	add	esp,8
	mov	ebx,0
	jmp	_53
_53:
	call	dword [_bbOnDebugLeaveScope]
	mov	eax,ebx
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_SFX_MissileLaunch:
	push	ebp
	mov	ebp,esp
	push	ebx
	push	ebp
	push	_133
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_132
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	_bbNullObject
	push	dword [__bb_SFX_sfx_missile_launch]
	call	_brl_audio_PlaySound
	add	esp,8
	mov	ebx,0
	jmp	_55
_55:
	call	dword [_bbOnDebugLeaveScope]
	mov	eax,ebx
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_SFX_ShipHit:
	push	ebp
	mov	ebp,esp
	push	ebx
	push	ebp
	push	_135
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_134
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	_bbNullObject
	push	dword [__bb_SFX_sfx_ship_hit]
	call	_brl_audio_PlaySound
	add	esp,8
	mov	ebx,0
	jmp	_57
_57:
	call	dword [_bbOnDebugLeaveScope]
	mov	eax,ebx
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_SFX_ShipExplode:
	push	ebp
	mov	ebp,esp
	push	ebx
	push	ebp
	push	_137
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_136
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	_bbNullObject
	push	dword [__bb_SFX_sfx_ship_explode]
	call	_brl_audio_PlaySound
	add	esp,8
	mov	ebx,0
	jmp	_59
_59:
	call	dword [_bbOnDebugLeaveScope]
	mov	eax,ebx
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
	section	"data" data writeable align 8
	align	4
_84:
	dd	0
	align	4
_68:
	file	"E:/Src/BlitzMAX/MissileLock/SFX/alert.ogg"
_69:
	align	4
_67:
	dd	_bbStringClass
	dd	2147483647
	dd	13
	dw	83,70,88,47,97,108,101,114,116,46,111,103,103
	align	4
_71:
	file	"E:/Src/BlitzMAX/MissileLock/SFX/missile_explode.ogg"
_72:
	align	4
_70:
	dd	_bbStringClass
	dd	2147483647
	dd	23
	dw	83,70,88,47,109,105,115,115,105,108,101,95,101,120,112,108
	dw	111,100,101,46,111,103,103
	align	4
_74:
	file	"E:/Src/BlitzMAX/MissileLock/SFX/missile_launch.ogg"
_75:
	align	4
_73:
	dd	_bbStringClass
	dd	2147483647
	dd	22
	dw	83,70,88,47,109,105,115,115,105,108,101,95,108,97,117,110
	dw	99,104,46,111,103,103
	align	4
_77:
	file	"E:/Src/BlitzMAX/MissileLock/SFX/ship_explode.ogg"
_78:
	align	4
_76:
	dd	_bbStringClass
	dd	2147483647
	dd	20
	dw	83,70,88,47,115,104,105,112,95,101,120,112,108,111,100,101
	dw	46,111,103,103
	align	4
_80:
	file	"E:/Src/BlitzMAX/MissileLock/SFX/ship_hit.ogg"
_81:
	align	4
_79:
	dd	_bbStringClass
	dd	2147483647
	dd	16
	dw	83,70,88,47,115,104,105,112,95,104,105,116,46,111,103,103
_83:
	db	"sound",0
	align	4
_82:
	dd	1
	dd	_83
	dd	0
_62:
	db	"E:/Src/BlitzMAX/MissileLock/sound.bmx",0
	align	4
_61:
	dd	_62
	dd	35
	dd	2
	align	4
__bb_SFX_sfx_alert:
	dd	_bbNullObject
	align	4
_63:
	dd	_62
	dd	36
	dd	2
	align	4
__bb_SFX_sfx_missile_explode:
	dd	_bbNullObject
	align	4
_64:
	dd	_62
	dd	37
	dd	2
	align	4
__bb_SFX_sfx_missile_launch:
	dd	_bbNullObject
	align	4
_65:
	dd	_62
	dd	38
	dd	2
	align	4
__bb_SFX_sfx_ship_explode:
	dd	_bbNullObject
	align	4
_66:
	dd	_62
	dd	39
	dd	2
	align	4
__bb_SFX_sfx_ship_hit:
	dd	_bbNullObject
_25:
	db	"SFX",0
_26:
	db	"New",0
_27:
	db	"()i",0
_28:
	db	"Delete",0
_29:
	db	"SafeLoadSound",0
_30:
	db	"($,i):brl.audio.TSound",0
_31:
	db	"Init",0
_32:
	db	"Alert",0
_33:
	db	"MissileExplode",0
_34:
	db	"MissileLaunch",0
_35:
	db	"ShipHit",0
_36:
	db	"ShipExplode",0
	align	4
_24:
	dd	2
	dd	_25
	dd	6
	dd	_26
	dd	_27
	dd	16
	dd	6
	dd	_28
	dd	_27
	dd	20
	dd	7
	dd	_29
	dd	_30
	dd	48
	dd	7
	dd	_31
	dd	_27
	dd	52
	dd	7
	dd	_32
	dd	_27
	dd	56
	dd	7
	dd	_33
	dd	_27
	dd	60
	dd	7
	dd	_34
	dd	_27
	dd	64
	dd	7
	dd	_35
	dd	_27
	dd	68
	dd	7
	dd	_36
	dd	_27
	dd	72
	dd	0
	align	4
_bb_SFX:
	dd	_bbObjectClass
	dd	_bbObjectFree
	dd	_24
	dd	8
	dd	__bb_SFX_New
	dd	__bb_SFX_Delete
	dd	_bbObjectToString
	dd	_bbObjectCompare
	dd	_bbObjectSendMessage
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	__bb_SFX_SafeLoadSound
	dd	__bb_SFX_Init
	dd	__bb_SFX_Alert
	dd	__bb_SFX_MissileExplode
	dd	__bb_SFX_MissileLaunch
	dd	__bb_SFX_ShipHit
	dd	__bb_SFX_ShipExplode
_88:
	db	"Self",0
_89:
	db	":SFX",0
	align	4
_87:
	dd	1
	dd	_26
	dd	2
	dd	_88
	dd	_89
	dd	-4
	dd	0
	align	4
_86:
	dd	3
	dd	0
	dd	0
_97:
	db	"p",0
_98:
	db	"$",0
_99:
	db	"loop",0
_100:
	db	"i",0
_101:
	db	":brl.audio.TSound",0
	align	4
_96:
	dd	1
	dd	_29
	dd	2
	dd	_97
	dd	_98
	dd	-4
	dd	2
	dd	_99
	dd	_100
	dd	-8
	dd	2
	dd	_100
	dd	_101
	dd	-12
	dd	0
	align	4
_91:
	dd	_62
	dd	42
	dd	3
	align	4
_93:
	dd	_62
	dd	43
	dd	3
	align	4
_18:
	dd	_bbStringClass
	dd	2147483647
	dd	15
	dw	70,97,105,108,101,100,32,116,111,32,108,111,97,100,32
	align	4
_95:
	dd	_62
	dd	44
	dd	3
	align	4
_127:
	dd	1
	dd	_31
	dd	0
	align	4
_102:
	dd	_62
	dd	48
	dd	3
	align	4
_19:
	dd	_bbStringClass
	dd	2147483647
	dd	21
	dw	105,110,99,98,105,110,58,58,83,70,88,47,97,108,101,114
	dw	116,46,111,103,103
	align	4
_107:
	dd	_62
	dd	49
	dd	3
	align	4
_20:
	dd	_bbStringClass
	dd	2147483647
	dd	31
	dw	105,110,99,98,105,110,58,58,83,70,88,47,109,105,115,115
	dw	105,108,101,95,101,120,112,108,111,100,101,46,111,103,103
	align	4
_112:
	dd	_62
	dd	50
	dd	3
	align	4
_21:
	dd	_bbStringClass
	dd	2147483647
	dd	30
	dw	105,110,99,98,105,110,58,58,83,70,88,47,109,105,115,115
	dw	105,108,101,95,108,97,117,110,99,104,46,111,103,103
	align	4
_117:
	dd	_62
	dd	51
	dd	3
	align	4
_22:
	dd	_bbStringClass
	dd	2147483647
	dd	28
	dw	105,110,99,98,105,110,58,58,83,70,88,47,115,104,105,112
	dw	95,101,120,112,108,111,100,101,46,111,103,103
	align	4
_122:
	dd	_62
	dd	52
	dd	3
	align	4
_23:
	dd	_bbStringClass
	dd	2147483647
	dd	24
	dw	105,110,99,98,105,110,58,58,83,70,88,47,115,104,105,112
	dw	95,104,105,116,46,111,103,103
	align	4
_129:
	dd	1
	dd	_32
	dd	0
	align	4
_128:
	dd	_62
	dd	56
	dd	3
	align	4
_131:
	dd	1
	dd	_33
	dd	0
	align	4
_130:
	dd	_62
	dd	60
	dd	3
	align	4
_133:
	dd	1
	dd	_34
	dd	0
	align	4
_132:
	dd	_62
	dd	64
	dd	3
	align	4
_135:
	dd	1
	dd	_35
	dd	0
	align	4
_134:
	dd	_62
	dd	68
	dd	3
	align	4
_137:
	dd	1
	dd	_36
	dd	0
	align	4
_136:
	dd	_62
	dd	72
	dd	3
