	format	MS COFF
	extrn	___bb_blitz_blitz
	extrn	___bb_openb3d_source
	extrn	_bbOnDebugEnterScope
	extrn	_bbOnDebugLeaveScope
	extrn	_bbStringClass
	public	___bb_openb3d_openb3d
	section	"code" code
___bb_openb3d_openb3d:
	push	ebp
	mov	ebp,esp
	push	ebx
	cmp	dword [_11],0
	je	_12
	mov	eax,0
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
_12:
	mov	dword [_11],1
	push	ebp
	push	_5
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	call	___bb_blitz_blitz
	call	___bb_openb3d_source
	mov	ebx,0
	jmp	_3
_3:
	call	dword [_bbOnDebugLeaveScope]
	mov	eax,ebx
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
	section	"data" data writeable align 8
	align	4
_11:
	dd	0
_6:
	db	"openb3d",0
_7:
	db	"USE_MAX2D",0
_8:
	db	"i",0
	align	4
_9:
	dd	_bbStringClass
	dd	2147483646
	dd	1
	dw	49
_10:
	db	"USE_VBO",0
	align	4
_5:
	dd	1
	dd	_6
	dd	1
	dd	_7
	dd	_8
	dd	_9
	dd	1
	dd	_10
	dd	_8
	dd	_9
	dd	0
