	format	ELF
	extrn	__bb_blitz_blitz
	extrn	__bb_database_database
	extrn	__bb_dbxbase_common
	extrn	_bah_database_TDBConnection_Delete
	extrn	_bah_database_TDBConnection_Init
	extrn	_bah_database_TDBConnection_New
	extrn	_bah_database_TDBConnection_error
	extrn	_bah_database_TDBConnection_executeQuery
	extrn	_bah_database_TDBConnection_getDatabaseName
	extrn	_bah_database_TDBConnection_getHost
	extrn	_bah_database_TDBConnection_getPortNumber
	extrn	_bah_database_TDBConnection_hasError
	extrn	_bah_database_TDBConnection_isOpen
	extrn	_bah_database_TDBConnection_setError
	extrn	_bah_database_TDatabaseLoader_Delete
	extrn	_bah_database_TDatabaseLoader_New
	extrn	_bah_database_TQueryResultSet_Delete
	extrn	_bah_database_TQueryResultSet_Init
	extrn	_bah_database_TQueryResultSet_New
	extrn	_bah_database_TQueryResultSet_addBindValue
	extrn	_bah_database_TQueryResultSet_bindValue
	extrn	_bah_database_TQueryResultSet_clear
	extrn	_bah_database_TQueryResultSet_clearBindValues
	extrn	_bah_database_TQueryResultSet_dataValue
	extrn	_bah_database_TQueryResultSet_isActive
	extrn	_bah_database_TQueryResultSet_isValid
	extrn	_bah_database_TQueryResultSet_resetBindCount
	extrn	_bah_database_TQueryResultSet_resetValues
	extrn	_bah_database_TQueryResultSet_rowIndex
	extrn	_bah_database_TQueryResultSet_rowRecord
	extrn	_bah_database_TQueryResultSet_setRowIndex
	extrn	bah_database_AddDatabaseLoader
	extrn	bah_database_TDBConnection
	extrn	bah_database_TDBDouble
	extrn	bah_database_TDBFloat
	extrn	bah_database_TDBInt
	extrn	bah_database_TDBLong
	extrn	bah_database_TDBString
	extrn	bah_database_TDatabaseLoader
	extrn	bah_database_TQueryField
	extrn	bah_database_TQueryRecord
	extrn	bah_database_TQueryResultSet
	extrn	bah_database_convertUTF8toISO8859
	extrn	bbArrayNew1D
	extrn	bbEmptyArray
	extrn	bbEmptyString
	extrn	bbGCFree
	extrn	bbMemFree
	extrn	bbNullObject
	extrn	bbObjectCompare
	extrn	bbObjectDowncast
	extrn	bbObjectFree
	extrn	bbObjectNew
	extrn	bbObjectReserved
	extrn	bbObjectSendMessage
	extrn	bbObjectToString
	extrn	bbStringClass
	extrn	bbStringCompare
	extrn	bbStringFromCString
	extrn	bbStringFromLong
	extrn	bbStringToCString
	extrn	bbStringToDouble
	extrn	bbStringToFloat
	extrn	bbStringToInt
	extrn	bbStringToLong
	extrn	bmx_xbase_close
	extrn	bmx_xbase_deleteParams
	extrn	bmx_xbase_deleteStatement
	extrn	bmx_xbase_execCommand
	extrn	bmx_xbase_execute
	extrn	bmx_xbase_executeQuery
	extrn	bmx_xbase_getFieldLength
	extrn	bmx_xbase_getFieldName
	extrn	bmx_xbase_getFieldText
	extrn	bmx_xbase_getFieldType
	extrn	bmx_xbase_getNumFields
	extrn	bmx_xbase_getNumRows
	extrn	bmx_xbase_getNumTables
	extrn	bmx_xbase_getTableName
	extrn	bmx_xbase_getTableSet
	extrn	bmx_xbase_init
	extrn	bmx_xbase_initParams
	extrn	bmx_xbase_lastError
	extrn	bmx_xbase_openQuery
	extrn	bmx_xbase_paramSetChar
	extrn	bmx_xbase_paramSetDouble
	extrn	bmx_xbase_paramSetInt
	public	__bb_dbxbase_dbxbase
	public	_bah_dbxbase_TDBXbase_Create
	public	_bah_dbxbase_TDBXbase_Delete
	public	_bah_dbxbase_TDBXbase_New
	public	_bah_dbxbase_TDBXbase_close
	public	_bah_dbxbase_TDBXbase_commit
	public	_bah_dbxbase_TDBXbase_createResultSet
	public	_bah_dbxbase_TDBXbase_databaseHandle
	public	_bah_dbxbase_TDBXbase_getTables
	public	_bah_dbxbase_TDBXbase_hasPrepareSupport
	public	_bah_dbxbase_TDBXbase_hasTransactionSupport
	public	_bah_dbxbase_TDBXbase_nativeErrorMessage
	public	_bah_dbxbase_TDBXbase_open
	public	_bah_dbxbase_TDBXbase_rollback
	public	_bah_dbxbase_TDBXbase_startTransaction
	public	_bah_dbxbase_TXbaseDatabaseLoader_Delete
	public	_bah_dbxbase_TXbaseDatabaseLoader_LoadDatabase
	public	_bah_dbxbase_TXbaseDatabaseLoader_New
	public	_bah_dbxbase_TXbaseResultSet_Create
	public	_bah_dbxbase_TXbaseResultSet_Delete
	public	_bah_dbxbase_TXbaseResultSet_New
	public	_bah_dbxbase_TXbaseResultSet_cleanup
	public	_bah_dbxbase_TXbaseResultSet_dbTypeFromNative
	public	_bah_dbxbase_TXbaseResultSet_execute
	public	_bah_dbxbase_TXbaseResultSet_executeQuery
	public	_bah_dbxbase_TXbaseResultSet_firstRow
	public	_bah_dbxbase_TXbaseResultSet_initRecord
	public	_bah_dbxbase_TXbaseResultSet_lastInsertedId
	public	_bah_dbxbase_TXbaseResultSet_nextRow
	public	_bah_dbxbase_TXbaseResultSet_prepare
	public	_bah_dbxbase_TXbaseResultSet_rowsAffected
	public	bah_dbxbase_TDBXbase
	public	bah_dbxbase_TXbaseDatabaseLoader
	public	bah_dbxbase_TXbaseResultSet
	section	"code" executable
__bb_dbxbase_dbxbase:
	push	ebp
	mov	ebp,esp
	cmp	dword [_142],0
	je	_143
	mov	eax,0
	mov	esp,ebp
	pop	ebp
	ret
_143:
	mov	dword [_142],1
	call	__bb_blitz_blitz
	call	__bb_database_database
	call	__bb_dbxbase_common
	push	bah_dbxbase_TXbaseDatabaseLoader
	call	bbObjectNew
	add	esp,4
	push	eax
	call	bah_database_AddDatabaseLoader
	add	esp,4
	mov	eax,0
_27:
	mov	esp,ebp
	pop	ebp
	ret
_bah_dbxbase_TDBXbase_New:
	push	ebp
	mov	ebp,esp
	sub	esp,4
	mov	eax,dword [ebp+8]
	mov	dword [ebp-4],eax
	push	dword [ebp-4]
	call	_bah_database_TDBConnection_New
	add	esp,4
	mov	eax,dword [ebp-4]
	mov	dword [eax],bah_dbxbase_TDBXbase
	mov	eax,0
_30:
	mov	esp,ebp
	pop	ebp
	ret
_bah_dbxbase_TDBXbase_Delete:
	push	ebp
	mov	ebp,esp
	sub	esp,4
	mov	eax,dword [ebp+8]
	mov	dword [ebp-4],eax
_33:
	mov	eax,dword [ebp-4]
	mov	dword [eax],bah_database_TDBConnection
	push	dword [ebp-4]
	call	_bah_database_TDBConnection_Delete
	add	esp,4
	mov	eax,0
_144:
	mov	esp,ebp
	pop	ebp
	ret
_bah_dbxbase_TDBXbase_Create:
	push	ebp
	mov	ebp,esp
	sub	esp,40
	push	ebx
	mov	eax,dword [ebp+8]
	mov	dword [ebp-4],eax
	mov	eax,dword [ebp+12]
	mov	dword [ebp-8],eax
	mov	ebx,dword [ebp+16]
	mov	eax,dword [ebp+20]
	mov	dword [ebp-12],eax
	mov	eax,dword [ebp+24]
	mov	dword [ebp-16],eax
	mov	eax,dword [ebp+28]
	mov	dword [ebp-20],eax
	mov	eax,dword [ebp+32]
	mov	dword [ebp-24],eax
	push	bah_dbxbase_TDBXbase
	call	bbObjectNew
	add	esp,4
	mov	dword [ebp-28],eax
	mov	eax,dword [ebp-28]
	mov	dword [ebp-32],eax
	push	dword [ebp-24]
	push	dword [ebp-20]
	push	dword [ebp-16]
	push	dword [ebp-12]
	push	ebx
	push	dword [ebp-8]
	push	dword [ebp-4]
	push	dword [ebp-32]
	mov	eax,dword [ebp-32]
	mov	eax,dword [eax]
	call	dword [eax+52]
	add	esp,32
	mov	eax,dword [ebp-28]
	mov	eax,dword [eax+12]
	cmp	dword [eax+8],0
	je	_147
	mov	eax,dword [ebp-28]
	mov	dword [ebp-36],eax
	push	dword [ebp-16]
	push	dword [ebp-12]
	push	dword [ebp-36]
	mov	eax,dword [ebp-36]
	mov	eax,dword [eax]
	call	dword [eax+68]
	add	esp,12
_147:
	mov	eax,dword [ebp-28]
	mov	dword [ebp-40],eax
_42:
	mov	eax,dword [ebp-40]
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
_bah_dbxbase_TDBXbase_close:
	push	ebp
	mov	ebp,esp
	sub	esp,4
	mov	eax,dword [ebp+8]
	mov	dword [ebp-4],eax
	mov	eax,dword [ebp-4]
	cmp	dword [eax+8],0
	je	_149
	mov	eax,dword [ebp-4]
	push	dword [eax+8]
	call	bmx_xbase_close
	add	esp,4
	mov	eax,dword [ebp-4]
	mov	dword [eax+8],0
_149:
	mov	eax,dword [ebp-4]
	mov	dword [eax+40],0
	mov	eax,0
_45:
	mov	esp,ebp
	pop	ebp
	ret
_bah_dbxbase_TDBXbase_commit:
	push	ebp
	mov	ebp,esp
	sub	esp,4
	mov	eax,dword [ebp+8]
	mov	dword [ebp-4],eax
	mov	eax,1
_48:
	mov	esp,ebp
	pop	ebp
	ret
_bah_dbxbase_TDBXbase_getTables:
	push	ebp
	mov	ebp,esp
	sub	esp,28
	push	ebx
	push	esi
	mov	eax,dword [ebp+8]
	mov	dword [ebp-4],eax
	mov	dword [ebp-8],bbEmptyArray
	mov	eax,dword [ebp-4]
	cmp	dword [eax+8],0
	je	_151
	mov	eax,dword [ebp-4]
	push	dword [eax+8]
	call	bmx_xbase_getTableSet
	add	esp,4
	mov	dword [ebp-12],eax
	cmp	dword [ebp-12],0
	je	_153
	push	dword [ebp-12]
	call	bmx_xbase_getNumTables
	add	esp,4
	mov	esi,eax
	push	esi
	push	_155
	call	bbArrayNew1D
	add	esp,8
	mov	dword [ebp-8],eax
	mov	ebx,0
	jmp	_157
_4:
	push	ebx
	push	dword [ebp-12]
	call	bmx_xbase_getTableName
	add	esp,8
	push	eax
	call	bbStringFromCString
	add	esp,4
	mov	dword [ebp-16],eax
	mov	eax,dword [ebp-16]
	inc	dword [eax+4]
	mov	eax,dword [ebp-16]
	mov	dword [ebp-20],eax
	mov	eax,dword [ebp-8]
	mov	eax,dword [eax+ebx*4+24]
	mov	dword [ebp-24],eax
	mov	eax,dword [ebp-24]
	dec	dword [eax+4]
	jnz	_162
	push	dword [ebp-24]
	call	bbGCFree
	add	esp,4
_162:
	mov	edx,dword [ebp-8]
	mov	eax,dword [ebp-20]
	mov	dword [edx+ebx*4+24],eax
_2:
	add	ebx,1
_157:
	cmp	ebx,esi
	jl	_4
_3:
_153:
_151:
	mov	eax,dword [ebp-8]
	mov	dword [ebp-28],eax
_51:
	mov	eax,dword [ebp-28]
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
_bah_dbxbase_TDBXbase_open:
	push	ebp
	mov	ebp,esp
	sub	esp,24
	mov	eax,dword [ebp+8]
	mov	dword [ebp-4],eax
	mov	eax,dword [ebp+12]
	mov	dword [ebp-8],eax
	mov	eax,dword [ebp+16]
	mov	dword [ebp-12],eax
	mov	eax,dword [ebp-4]
	cmp	dword [eax+40],0
	je	_163
	mov	eax,dword [ebp-4]
	mov	dword [ebp-16],eax
	push	dword [ebp-16]
	mov	eax,dword [ebp-16]
	mov	eax,dword [eax]
	call	dword [eax+56]
	add	esp,4
_163:
	mov	eax,dword [ebp-4]
	push	dword [eax+12]
	call	bbStringToCString
	add	esp,4
	mov	dword [ebp-20],eax
	push	dword [ebp-20]
	push	dword [ebp-4]
	call	bmx_xbase_init
	add	esp,8
	mov	dword [ebp-24],eax
	push	dword [ebp-20]
	call	bbMemFree
	add	esp,4
	mov	edx,dword [ebp-4]
	mov	eax,dword [ebp-24]
	mov	dword [edx+8],eax
	mov	eax,dword [ebp-4]
	mov	dword [eax+40],1
	mov	eax,1
_56:
	mov	esp,ebp
	pop	ebp
	ret
_bah_dbxbase_TDBXbase_rollback:
	push	ebp
	mov	ebp,esp
	sub	esp,4
	mov	eax,dword [ebp+8]
	mov	dword [ebp-4],eax
	mov	eax,1
_59:
	mov	esp,ebp
	pop	ebp
	ret
_bah_dbxbase_TDBXbase_startTransaction:
	push	ebp
	mov	ebp,esp
	sub	esp,4
	mov	eax,dword [ebp+8]
	mov	dword [ebp-4],eax
	mov	eax,1
_62:
	mov	esp,ebp
	pop	ebp
	ret
_bah_dbxbase_TDBXbase_databaseHandle:
	push	ebp
	mov	ebp,esp
	sub	esp,8
	mov	eax,dword [ebp+8]
	mov	dword [ebp-4],eax
	mov	eax,dword [ebp-4]
	mov	eax,dword [eax+8]
	mov	dword [ebp-8],eax
_65:
	mov	eax,dword [ebp-8]
	mov	esp,ebp
	pop	ebp
	ret
_bah_dbxbase_TDBXbase_createResultSet:
	push	ebp
	mov	ebp,esp
	sub	esp,8
	mov	eax,dword [ebp+8]
	mov	dword [ebp-4],eax
	push	bbEmptyString
	push	dword [ebp-4]
	call	dword [bah_dbxbase_TXbaseResultSet+48]
	add	esp,8
	mov	dword [ebp-8],eax
_68:
	mov	eax,dword [ebp-8]
	mov	esp,ebp
	pop	ebp
	ret
_bah_dbxbase_TDBXbase_nativeErrorMessage:
	push	ebp
	mov	ebp,esp
	sub	esp,8
	mov	eax,dword [ebp+8]
	mov	dword [ebp-4],eax
	mov	eax,dword [ebp-4]
	push	dword [eax+8]
	call	bmx_xbase_lastError
	add	esp,4
	push	eax
	call	bbStringFromCString
	add	esp,4
	mov	dword [ebp-8],eax
_72:
	mov	eax,dword [ebp-8]
	mov	esp,ebp
	pop	ebp
	ret
_bah_dbxbase_TDBXbase_hasPrepareSupport:
	push	ebp
	mov	ebp,esp
	sub	esp,4
	mov	eax,dword [ebp+8]
	mov	dword [ebp-4],eax
	mov	eax,1
_75:
	mov	esp,ebp
	pop	ebp
	ret
_bah_dbxbase_TDBXbase_hasTransactionSupport:
	push	ebp
	mov	ebp,esp
	sub	esp,4
	mov	eax,dword [ebp+8]
	mov	dword [ebp-4],eax
	mov	eax,0
_78:
	mov	esp,ebp
	pop	ebp
	ret
_bah_dbxbase_TXbaseResultSet_New:
	push	ebp
	mov	ebp,esp
	sub	esp,4
	mov	eax,dword [ebp+8]
	mov	dword [ebp-4],eax
	push	dword [ebp-4]
	call	_bah_database_TQueryResultSet_New
	add	esp,4
	mov	eax,dword [ebp-4]
	mov	dword [eax],bah_dbxbase_TXbaseResultSet
	mov	eax,dword [ebp-4]
	mov	dword [eax+44],0
	mov	eax,0
_81:
	mov	esp,ebp
	pop	ebp
	ret
_bah_dbxbase_TXbaseResultSet_Delete:
	push	ebp
	mov	ebp,esp
	sub	esp,8
	mov	eax,dword [ebp+8]
	mov	dword [ebp-4],eax
	mov	eax,dword [ebp-4]
	mov	dword [ebp-8],eax
	push	dword [ebp-8]
	mov	eax,dword [ebp-8]
	mov	eax,dword [eax]
	call	dword [eax+136]
	add	esp,4
_84:
	mov	eax,dword [ebp-4]
	mov	dword [eax],bah_database_TQueryResultSet
	push	dword [ebp-4]
	call	_bah_database_TQueryResultSet_Delete
	add	esp,4
	mov	eax,0
_168:
	mov	esp,ebp
	pop	ebp
	ret
_bah_dbxbase_TXbaseResultSet_Create:
	push	ebp
	mov	ebp,esp
	sub	esp,32
	mov	eax,dword [ebp+8]
	mov	dword [ebp-4],eax
	mov	eax,dword [ebp+12]
	mov	dword [ebp-8],eax
	push	bah_dbxbase_TXbaseResultSet
	call	bbObjectNew
	add	esp,4
	mov	dword [ebp-12],eax
	mov	eax,dword [ebp-12]
	mov	dword [ebp-16],eax
	push	dword [ebp-8]
	push	dword [ebp-4]
	push	dword [ebp-16]
	mov	eax,dword [ebp-16]
	mov	eax,dword [eax]
	call	dword [eax+52]
	add	esp,12
	call	dword [bah_database_TQueryRecord+48]
	mov	dword [ebp-20],eax
	mov	eax,dword [ebp-20]
	inc	dword [eax+4]
	mov	eax,dword [ebp-20]
	mov	dword [ebp-24],eax
	mov	eax,dword [ebp-12]
	mov	eax,dword [eax+40]
	mov	dword [ebp-28],eax
	mov	eax,dword [ebp-28]
	dec	dword [eax+4]
	jnz	_174
	push	dword [ebp-28]
	call	bbGCFree
	add	esp,4
_174:
	mov	edx,dword [ebp-12]
	mov	eax,dword [ebp-24]
	mov	dword [edx+40],eax
	mov	eax,dword [ebp-12]
	mov	dword [ebp-32],eax
_88:
	mov	eax,dword [ebp-32]
	mov	esp,ebp
	pop	ebp
	ret
_bah_dbxbase_TXbaseResultSet_cleanup:
	push	ebp
	mov	ebp,esp
	sub	esp,4
	mov	eax,dword [ebp+8]
	mov	dword [ebp-4],eax
	mov	eax,dword [ebp-4]
	cmp	dword [eax+12],0
	je	_175
	mov	eax,dword [ebp-4]
	push	dword [eax+12]
	call	bmx_xbase_deleteStatement
	add	esp,4
	mov	eax,dword [ebp-4]
	mov	dword [eax+12],0
_175:
	mov	eax,dword [ebp-4]
	cmp	dword [eax+44],0
	je	_176
	mov	eax,dword [ebp-4]
	push	dword [eax+44]
	call	bmx_xbase_deleteParams
	add	esp,4
	mov	eax,dword [ebp-4]
	mov	dword [eax+44],0
_176:
	mov	eax,dword [ebp-4]
	mov	dword [eax+20],0
	mov	eax,dword [ebp-4]
	mov	dword [eax+24],-1
	mov	eax,0
_91:
	mov	esp,ebp
	pop	ebp
	ret
_bah_dbxbase_TXbaseResultSet_executeQuery:
	push	ebp
	mov	ebp,esp
	sub	esp,60
	push	ebx
	push	esi
	push	edi
	mov	eax,dword [ebp+8]
	mov	dword [ebp-4],eax
	mov	eax,dword [ebp+12]
	mov	dword [ebp-8],eax
	mov	eax,dword [ebp-4]
	mov	eax,dword [eax+8]
	mov	dword [ebp-12],eax
	push	dword [ebp-12]
	mov	eax,dword [ebp-12]
	mov	eax,dword [eax]
	call	dword [eax+84]
	add	esp,4
	cmp	eax,0
	jne	_178
	mov	eax,0
	jmp	_95
_178:
	push	dword [ebp-8]
	call	bbStringToCString
	add	esp,4
	mov	dword [ebp-16],eax
	push	dword [ebp-16]
	mov	eax,dword [ebp-4]
	mov	eax,dword [eax+8]
	push	dword [eax+8]
	call	bmx_xbase_execCommand
	add	esp,8
	mov	ebx,eax
	push	dword [ebp-16]
	call	bbMemFree
	add	esp,4
	cmp	ebx,0
	jne	_182
	mov	eax,dword [ebp-4]
	mov	eax,dword [eax+8]
	mov	dword [ebp-20],eax
	push	_5
	push	0
	push	dword [ebp-20]
	mov	eax,dword [ebp-20]
	mov	eax,dword [eax]
	call	dword [eax+120]
	add	esp,8
	push	eax
	call	bbStringCompare
	add	esp,8
	cmp	eax,0
	jne	_184
	push	dword [ebp-8]
	call	bbStringToCString
	add	esp,4
	mov	dword [ebp-24],eax
	push	dword [ebp-24]
	mov	eax,dword [ebp-4]
	mov	eax,dword [eax+8]
	push	dword [eax+8]
	call	bmx_xbase_openQuery
	add	esp,8
	mov	dword [ebp-28],eax
	push	dword [ebp-24]
	call	bbMemFree
	add	esp,4
	mov	edx,dword [ebp-4]
	mov	eax,dword [ebp-28]
	mov	dword [edx+12],eax
	mov	eax,dword [ebp-4]
	mov	eax,dword [eax+12]
	cmp	eax,0
	setne	al
	movzx	eax,al
	cmp	eax,0
	jne	_187
	mov	eax,dword [ebp-4]
	mov	eax,dword [eax+8]
	mov	dword [ebp-32],eax
	push	0
	push	3
	push	_1
	push	_6
	push	dword [ebp-32]
	mov	eax,dword [ebp-32]
	mov	eax,dword [eax]
	call	dword [eax+108]
	add	esp,20
	mov	eax,0
	jmp	_95
_187:
	mov	eax,dword [ebp-4]
	push	dword [eax+12]
	call	bmx_xbase_executeQuery
	add	esp,4
	cmp	eax,0
	jne	_189
	mov	eax,dword [ebp-4]
	mov	eax,dword [eax+8]
	mov	dword [ebp-36],eax
	push	0
	push	3
	push	_1
	push	_7
	push	dword [ebp-36]
	mov	eax,dword [ebp-36]
	mov	eax,dword [eax]
	call	dword [eax+108]
	add	esp,20
	mov	eax,0
	jmp	_95
_189:
	mov	eax,dword [ebp-4]
	push	dword [eax+12]
	call	bmx_xbase_getNumFields
	add	esp,4
	mov	ebx,eax
	mov	eax,dword [ebp-4]
	mov	dword [ebp-40],eax
	push	ebx
	push	dword [ebp-40]
	mov	eax,dword [ebp-40]
	mov	eax,dword [eax]
	call	dword [eax+140]
	add	esp,8
	cmp	ebx,0
	jle	_193
	mov	edi,0
	mov	dword [ebp-60],ebx
	jmp	_195
_10:
	mov	eax,dword [ebp-4]
	mov	dword [ebp-44],eax
	push	0
	push	edi
	mov	eax,dword [ebp-4]
	push	dword [eax+12]
	call	bmx_xbase_getFieldType
	add	esp,8
	push	eax
	push	bbEmptyString
	push	dword [ebp-44]
	mov	eax,dword [ebp-44]
	mov	eax,dword [eax]
	call	dword [eax+92]
	add	esp,16
	mov	esi,eax
	push	esi
	push	edi
	mov	eax,dword [ebp-4]
	push	dword [eax+12]
	call	bmx_xbase_getFieldName
	add	esp,8
	push	eax
	call	bah_database_convertUTF8toISO8859
	add	esp,4
	push	eax
	call	dword [bah_database_TQueryField+48]
	add	esp,8
	mov	dword [ebp-48],eax
	mov	ebx,dword [ebp-48]
	push	edi
	mov	eax,dword [ebp-4]
	push	dword [eax+12]
	call	bmx_xbase_getFieldLength
	add	esp,8
	mov	dword [ebx+16],eax
	mov	eax,dword [ebp-48]
	mov	dword [eax+32],esi
	mov	eax,dword [ebp-4]
	mov	eax,dword [eax+40]
	mov	dword [ebp-52],eax
	push	dword [ebp-48]
	push	edi
	push	dword [ebp-52]
	mov	eax,dword [ebp-52]
	mov	eax,dword [eax]
	call	dword [eax+108]
	add	esp,12
_8:
	add	edi,1
_195:
	cmp	edi,dword [ebp-60]
	jl	_10
_9:
_193:
	jmp	_201
_184:
	mov	eax,dword [ebp-4]
	mov	eax,dword [eax+8]
	mov	dword [ebp-56],eax
	push	0
	push	3
	push	_1
	push	_7
	push	dword [ebp-56]
	mov	eax,dword [ebp-56]
	mov	eax,dword [eax]
	call	dword [eax+108]
	add	esp,20
	mov	eax,0
	jmp	_95
_201:
_182:
	mov	eax,dword [ebp-4]
	mov	dword [eax+20],1
	mov	eax,1
_95:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
_bah_dbxbase_TXbaseResultSet_initRecord:
	push	ebp
	mov	ebp,esp
	sub	esp,16
	push	ebx
	mov	eax,dword [ebp+8]
	mov	dword [ebp-4],eax
	mov	ebx,dword [ebp+12]
	mov	eax,dword [ebp-4]
	mov	eax,dword [eax+40]
	mov	dword [ebp-8],eax
	push	dword [ebp-8]
	mov	eax,dword [ebp-8]
	mov	eax,dword [eax]
	call	dword [eax+100]
	add	esp,4
	cmp	ebx,0
	jle	_204
	mov	eax,dword [ebp-4]
	mov	eax,dword [eax+40]
	mov	dword [ebp-12],eax
	push	ebx
	push	dword [ebp-12]
	mov	eax,dword [ebp-12]
	mov	eax,dword [eax]
	call	dword [eax+104]
	add	esp,8
_204:
	mov	eax,dword [ebp-4]
	mov	dword [ebp-16],eax
	push	ebx
	push	dword [ebp-16]
	mov	eax,dword [ebp-16]
	mov	eax,dword [eax]
	call	dword [eax+120]
	add	esp,8
	mov	eax,0
_99:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
_bah_dbxbase_TXbaseResultSet_prepare:
	push	ebp
	mov	ebp,esp
	sub	esp,28
	mov	eax,dword [ebp+8]
	mov	dword [ebp-4],eax
	mov	eax,dword [ebp+12]
	mov	dword [ebp-8],eax
	mov	eax,dword [ebp-4]
	mov	eax,dword [eax+8]
	mov	dword [ebp-12],eax
	push	dword [ebp-12]
	mov	eax,dword [ebp-12]
	mov	eax,dword [eax]
	call	dword [eax+84]
	add	esp,4
	cmp	eax,0
	jne	_208
	mov	eax,0
	jmp	_103
_208:
	mov	eax,dword [ebp-4]
	mov	dword [ebp-16],eax
	push	dword [ebp-16]
	mov	eax,dword [ebp-16]
	mov	eax,dword [eax]
	call	dword [eax+136]
	add	esp,4
	mov	eax,dword [ebp-8]
	mov	eax,dword [eax+8]
	cmp	eax,0
	sete	al
	movzx	eax,al
	cmp	eax,0
	jne	_210
	mov	eax,dword [ebp-8]
	mov	eax,dword [eax+8]
	cmp	eax,0
	sete	al
	movzx	eax,al
_210:
	cmp	eax,0
	je	_212
	mov	eax,0
	jmp	_103
_212:
	push	dword [ebp-8]
	call	bbStringToCString
	add	esp,4
	mov	dword [ebp-20],eax
	push	dword [ebp-20]
	mov	eax,dword [ebp-4]
	mov	eax,dword [eax+8]
	push	dword [eax+8]
	call	bmx_xbase_openQuery
	add	esp,8
	mov	dword [ebp-24],eax
	push	dword [ebp-20]
	call	bbMemFree
	add	esp,4
	mov	edx,dword [ebp-4]
	mov	eax,dword [ebp-24]
	mov	dword [edx+12],eax
	mov	eax,dword [ebp-4]
	mov	eax,dword [eax+12]
	cmp	eax,0
	setne	al
	movzx	eax,al
	cmp	eax,0
	jne	_215
	mov	eax,dword [ebp-4]
	mov	eax,dword [eax+8]
	mov	dword [ebp-28],eax
	push	0
	push	3
	push	_1
	push	_6
	push	dword [ebp-28]
	mov	eax,dword [ebp-28]
	mov	eax,dword [eax]
	call	dword [eax+108]
	add	esp,20
	mov	eax,0
	jmp	_103
_215:
	mov	eax,1
_103:
	mov	esp,ebp
	pop	ebp
	ret
_bah_dbxbase_TXbaseResultSet_execute:
	push	ebp
	mov	ebp,esp
	sub	esp,44
	push	ebx
	push	esi
	push	edi
	mov	eax,dword [ebp+8]
	mov	dword [ebp-4],eax
	mov	eax,dword [ebp-4]
	mov	dword [eax+20],0
	mov	eax,dword [ebp-4]
	mov	dword [eax+24],-1
	mov	eax,dword [ebp-4]
	mov	eax,dword [eax+12]
	cmp	eax,0
	setne	al
	movzx	eax,al
	cmp	eax,0
	jne	_217
	mov	eax,0
	jmp	_106
_217:
	mov	eax,dword [ebp-4]
	cmp	dword [eax+44],0
	je	_218
	mov	eax,dword [ebp-4]
	push	dword [eax+44]
	call	bmx_xbase_deleteParams
	add	esp,4
	mov	eax,dword [ebp-4]
	mov	dword [eax+44],0
_218:
	mov	eax,dword [ebp-4]
	mov	eax,dword [eax+36]
	mov	dword [ebp-8],eax
	mov	eax,dword [ebp-8]
	cmp	dword [eax+16],0
	je	_220
	mov	eax,dword [ebp-8]
	mov	esi,dword [eax+20]
	mov	ebx,dword [ebp-4]
	push	esi
	call	bmx_xbase_initParams
	add	esp,4
	mov	dword [ebx+44],eax
	mov	ebx,0
	jmp	_223
_13:
	mov	eax,dword [ebp-8]
	mov	eax,dword [eax+ebx*4+24]
	mov	dword [ebp-12],eax
	push	dword [ebp-12]
	mov	eax,dword [ebp-12]
	mov	eax,dword [eax]
	call	dword [eax+52]
	add	esp,4
	cmp	eax,2
	je	_228
	cmp	eax,4
	je	_229
	cmp	eax,3
	je	_230
	cmp	eax,5
	je	_231
	cmp	eax,1
	je	_232
	jmp	_227
_228:
	push	bah_database_TDBInt
	mov	eax,dword [ebp-8]
	push	dword [eax+ebx*4+24]
	call	bbObjectDowncast
	add	esp,8
	push	dword [eax+12]
	push	ebx
	mov	eax,dword [ebp-4]
	push	dword [eax+44]
	call	bmx_xbase_paramSetInt
	add	esp,12
	jmp	_227
_229:
	push	bah_database_TDBFloat
	mov	eax,dword [ebp-8]
	push	dword [eax+ebx*4+24]
	call	bbObjectDowncast
	add	esp,8
	fld	dword [eax+12]
	sub	esp,8
	fstp	qword [esp]
	push	ebx
	mov	eax,dword [ebp-4]
	push	dword [eax+44]
	call	bmx_xbase_paramSetDouble
	add	esp,16
	jmp	_227
_230:
	push	bah_database_TDBDouble
	mov	eax,dword [ebp-8]
	push	dword [eax+ebx*4+24]
	call	bbObjectDowncast
	add	esp,8
	fld	qword [eax+16]
	sub	esp,8
	fstp	qword [esp]
	push	ebx
	mov	eax,dword [ebp-4]
	push	dword [eax+44]
	call	bmx_xbase_paramSetDouble
	add	esp,16
	jmp	_227
_231:
	push	bah_database_TDBLong
	mov	eax,dword [ebp-8]
	push	dword [eax+ebx*4+24]
	call	bbObjectDowncast
	add	esp,8
	push	dword [eax+20]
	push	bah_database_TDBLong
	mov	eax,dword [ebp-8]
	push	dword [eax+ebx*4+24]
	call	bbObjectDowncast
	add	esp,8
	push	dword [eax+16]
	call	bbStringFromLong
	add	esp,8
	push	eax
	call	bbStringToCString
	add	esp,4
	mov	dword [ebp-16],eax
	push	dword [ebp-16]
	push	ebx
	mov	eax,dword [ebp-4]
	push	dword [eax+44]
	call	bmx_xbase_paramSetChar
	add	esp,12
	push	dword [ebp-16]
	call	bbMemFree
	add	esp,4
	jmp	_227
_232:
	push	bah_database_TDBString
	mov	eax,dword [ebp-8]
	push	dword [eax+ebx*4+24]
	call	bbObjectDowncast
	add	esp,8
	push	dword [eax+12]
	call	bbStringToCString
	add	esp,4
	mov	dword [ebp-20],eax
	push	dword [ebp-20]
	push	ebx
	mov	eax,dword [ebp-4]
	push	dword [eax+44]
	call	bmx_xbase_paramSetChar
	add	esp,12
	push	dword [ebp-20]
	call	bbMemFree
	add	esp,4
_227:
_11:
	add	ebx,1
_223:
	cmp	ebx,esi
	jl	_13
_12:
_220:
	mov	eax,dword [ebp-4]
	push	dword [eax+44]
	mov	eax,dword [ebp-4]
	push	dword [eax+12]
	call	bmx_xbase_execute
	add	esp,8
	cmp	eax,0
	jne	_237
	mov	eax,dword [ebp-4]
	mov	eax,dword [eax+8]
	mov	dword [ebp-24],eax
	push	0
	push	3
	push	_1
	push	_7
	push	dword [ebp-24]
	mov	eax,dword [ebp-24]
	mov	eax,dword [eax]
	call	dword [eax+108]
	add	esp,20
	mov	eax,0
	jmp	_106
_237:
	mov	eax,dword [ebp-4]
	push	dword [eax+12]
	call	bmx_xbase_getNumFields
	add	esp,4
	mov	ebx,eax
	mov	eax,dword [ebp-4]
	mov	dword [ebp-28],eax
	push	ebx
	push	dword [ebp-28]
	mov	eax,dword [ebp-28]
	mov	eax,dword [eax]
	call	dword [eax+140]
	add	esp,8
	cmp	ebx,0
	jle	_241
	mov	edi,0
	mov	dword [ebp-44],ebx
	jmp	_243
_16:
	mov	eax,dword [ebp-4]
	mov	dword [ebp-32],eax
	push	0
	push	edi
	mov	eax,dword [ebp-4]
	push	dword [eax+12]
	call	bmx_xbase_getFieldType
	add	esp,8
	push	eax
	push	bbEmptyString
	push	dword [ebp-32]
	mov	eax,dword [ebp-32]
	mov	eax,dword [eax]
	call	dword [eax+92]
	add	esp,16
	mov	esi,eax
	push	esi
	push	edi
	mov	eax,dword [ebp-4]
	push	dword [eax+12]
	call	bmx_xbase_getFieldName
	add	esp,8
	push	eax
	call	bah_database_convertUTF8toISO8859
	add	esp,4
	push	eax
	call	dword [bah_database_TQueryField+48]
	add	esp,8
	mov	dword [ebp-36],eax
	mov	ebx,dword [ebp-36]
	push	edi
	mov	eax,dword [ebp-4]
	push	dword [eax+12]
	call	bmx_xbase_getFieldLength
	add	esp,8
	mov	dword [ebx+16],eax
	mov	eax,dword [ebp-36]
	mov	dword [eax+32],esi
	mov	eax,dword [ebp-4]
	mov	eax,dword [eax+40]
	mov	dword [ebp-40],eax
	push	dword [ebp-36]
	push	edi
	push	dword [ebp-40]
	mov	eax,dword [ebp-40]
	mov	eax,dword [eax]
	call	dword [eax+108]
	add	esp,12
_14:
	add	edi,1
_243:
	cmp	edi,dword [ebp-44]
	jl	_16
_15:
_241:
	mov	eax,dword [ebp-4]
	mov	dword [eax+20],1
	mov	eax,1
_106:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
_bah_dbxbase_TXbaseResultSet_firstRow:
	push	ebp
	mov	ebp,esp
	sub	esp,8
	mov	eax,dword [ebp+8]
	mov	dword [ebp-4],eax
	mov	eax,dword [ebp-4]
	cmp	dword [eax+24],-1
	jne	_249
	mov	eax,dword [ebp-4]
	mov	dword [ebp-8],eax
	push	dword [ebp-8]
	mov	eax,dword [ebp-8]
	mov	eax,dword [eax]
	call	dword [eax+80]
	add	esp,4
	jmp	_109
_249:
	mov	eax,0
_109:
	mov	esp,ebp
	pop	ebp
	ret
_bah_dbxbase_TXbaseResultSet_nextRow:
	push	ebp
	mov	ebp,esp
	sub	esp,100
	push	ebx
	push	esi
	mov	eax,dword [ebp+8]
	mov	dword [ebp-4],eax
	mov	eax,dword [ebp-4]
	cmp	dword [eax+20],0
	jne	_251
	mov	eax,0
	jmp	_112
_251:
	mov	edx,dword [ebp-4]
	mov	eax,dword [ebp-4]
	mov	eax,dword [eax+24]
	add	eax,1
	mov	dword [edx+24],eax
	mov	ebx,dword [ebp-4]
	mov	eax,dword [ebp-4]
	push	dword [eax+12]
	call	bmx_xbase_getNumRows
	add	esp,4
	cmp	dword [ebx+24],eax
	jne	_252
	mov	eax,0
	jmp	_112
_252:
	mov	esi,0
	mov	eax,dword [ebp-4]
	mov	eax,dword [eax+40]
	mov	dword [ebp-8],eax
	push	dword [ebp-8]
	mov	eax,dword [ebp-8]
	mov	eax,dword [eax]
	call	dword [eax+64]
	add	esp,4
	mov	ebx,eax
	jmp	_255
_19:
	mov	eax,dword [ebp-4]
	mov	eax,dword [eax+28]
	cmp	dword [eax+esi*4+24],bbNullObject
	je	_257
	mov	eax,dword [ebp-4]
	mov	eax,dword [eax+28]
	mov	eax,dword [eax+esi*4+24]
	mov	dword [ebp-12],eax
	push	dword [ebp-12]
	mov	eax,dword [ebp-12]
	mov	eax,dword [eax]
	call	dword [eax+48]
	add	esp,4
_257:
	mov	eax,dword [ebp-4]
	mov	eax,dword [eax+40]
	mov	eax,dword [eax+16]
	mov	eax,dword [eax+esi*4+24]
	mov	eax,dword [eax+32]
	cmp	eax,2
	je	_261
	cmp	eax,5
	je	_262
	cmp	eax,4
	je	_263
	cmp	eax,3
	je	_264
	cmp	eax,6
	je	_265
	cmp	eax,7
	je	_266
	push	bah_database_TDBString
	call	bbObjectNew
	add	esp,4
	mov	dword [ebp-16],eax
	mov	eax,dword [ebp-16]
	inc	dword [eax+4]
	mov	eax,dword [ebp-16]
	mov	dword [ebp-20],eax
	mov	eax,dword [ebp-4]
	mov	eax,dword [eax+28]
	mov	eax,dword [eax+esi*4+24]
	mov	dword [ebp-24],eax
	mov	eax,dword [ebp-24]
	dec	dword [eax+4]
	jnz	_270
	push	dword [ebp-24]
	call	bbGCFree
	add	esp,4
_270:
	mov	eax,dword [ebp-4]
	mov	edx,dword [eax+28]
	mov	eax,dword [ebp-20]
	mov	dword [edx+esi*4+24],eax
	mov	eax,dword [ebp-4]
	mov	eax,dword [eax+28]
	mov	eax,dword [eax+esi*4+24]
	mov	dword [ebp-28],eax
	push	esi
	mov	eax,dword [ebp-4]
	push	dword [eax+24]
	mov	eax,dword [ebp-4]
	push	dword [eax+12]
	call	bmx_xbase_getFieldText
	add	esp,12
	push	eax
	call	bbStringFromCString
	add	esp,4
	push	eax
	push	dword [ebp-28]
	mov	eax,dword [ebp-28]
	mov	eax,dword [eax]
	call	dword [eax+96]
	add	esp,8
	jmp	_260
_261:
	push	bah_database_TDBInt
	call	bbObjectNew
	add	esp,4
	mov	dword [ebp-32],eax
	mov	eax,dword [ebp-32]
	inc	dword [eax+4]
	mov	eax,dword [ebp-32]
	mov	dword [ebp-36],eax
	mov	eax,dword [ebp-4]
	mov	eax,dword [eax+28]
	mov	eax,dword [eax+esi*4+24]
	mov	dword [ebp-40],eax
	mov	eax,dword [ebp-40]
	dec	dword [eax+4]
	jnz	_275
	push	dword [ebp-40]
	call	bbGCFree
	add	esp,4
_275:
	mov	eax,dword [ebp-4]
	mov	edx,dword [eax+28]
	mov	eax,dword [ebp-36]
	mov	dword [edx+esi*4+24],eax
	mov	eax,dword [ebp-4]
	mov	eax,dword [eax+28]
	mov	eax,dword [eax+esi*4+24]
	mov	dword [ebp-44],eax
	push	esi
	mov	eax,dword [ebp-4]
	push	dword [eax+24]
	mov	eax,dword [ebp-4]
	push	dword [eax+12]
	call	bmx_xbase_getFieldText
	add	esp,12
	push	eax
	call	bbStringFromCString
	add	esp,4
	push	eax
	call	bbStringToInt
	add	esp,4
	push	eax
	push	dword [ebp-44]
	mov	eax,dword [ebp-44]
	mov	eax,dword [eax]
	call	dword [eax+100]
	add	esp,8
	jmp	_260
_262:
	push	bah_database_TDBLong
	call	bbObjectNew
	add	esp,4
	mov	dword [ebp-48],eax
	mov	eax,dword [ebp-48]
	inc	dword [eax+4]
	mov	eax,dword [ebp-48]
	mov	dword [ebp-52],eax
	mov	eax,dword [ebp-4]
	mov	eax,dword [eax+28]
	mov	eax,dword [eax+esi*4+24]
	mov	dword [ebp-56],eax
	mov	eax,dword [ebp-56]
	dec	dword [eax+4]
	jnz	_280
	push	dword [ebp-56]
	call	bbGCFree
	add	esp,4
_280:
	mov	eax,dword [ebp-4]
	mov	edx,dword [eax+28]
	mov	eax,dword [ebp-52]
	mov	dword [edx+esi*4+24],eax
	mov	eax,dword [ebp-4]
	mov	eax,dword [eax+28]
	mov	eax,dword [eax+esi*4+24]
	mov	dword [ebp-60],eax
	lea	eax,dword [ebp-100]
	push	eax
	push	esi
	mov	eax,dword [ebp-4]
	push	dword [eax+24]
	mov	eax,dword [ebp-4]
	push	dword [eax+12]
	call	bmx_xbase_getFieldText
	add	esp,12
	push	eax
	call	bbStringFromCString
	add	esp,4
	push	eax
	call	bbStringToLong
	add	esp,8
	push	dword [ebp-96]
	push	dword [ebp-100]
	push	dword [ebp-60]
	mov	eax,dword [ebp-60]
	mov	eax,dword [eax]
	call	dword [eax+88]
	add	esp,12
	jmp	_260
_263:
	push	bah_database_TDBFloat
	call	bbObjectNew
	add	esp,4
	mov	dword [ebp-64],eax
	mov	eax,dword [ebp-64]
	inc	dword [eax+4]
	mov	eax,dword [ebp-64]
	mov	dword [ebp-68],eax
	mov	eax,dword [ebp-4]
	mov	eax,dword [eax+28]
	mov	eax,dword [eax+esi*4+24]
	mov	dword [ebp-72],eax
	mov	eax,dword [ebp-72]
	dec	dword [eax+4]
	jnz	_285
	push	dword [ebp-72]
	call	bbGCFree
	add	esp,4
_285:
	mov	eax,dword [ebp-4]
	mov	edx,dword [eax+28]
	mov	eax,dword [ebp-68]
	mov	dword [edx+esi*4+24],eax
	mov	eax,dword [ebp-4]
	mov	eax,dword [eax+28]
	mov	eax,dword [eax+esi*4+24]
	mov	dword [ebp-76],eax
	push	esi
	mov	eax,dword [ebp-4]
	push	dword [eax+24]
	mov	eax,dword [ebp-4]
	push	dword [eax+12]
	call	bmx_xbase_getFieldText
	add	esp,12
	push	eax
	call	bbStringFromCString
	add	esp,4
	push	eax
	call	bbStringToFloat
	add	esp,4
	sub	esp,4
	fstp	dword [esp]
	push	dword [ebp-76]
	mov	eax,dword [ebp-76]
	mov	eax,dword [eax]
	call	dword [eax+104]
	add	esp,8
	jmp	_260
_264:
	push	bah_database_TDBDouble
	call	bbObjectNew
	add	esp,4
	mov	dword [ebp-80],eax
	mov	eax,dword [ebp-80]
	inc	dword [eax+4]
	mov	eax,dword [ebp-80]
	mov	dword [ebp-84],eax
	mov	eax,dword [ebp-4]
	mov	eax,dword [eax+28]
	mov	eax,dword [eax+esi*4+24]
	mov	dword [ebp-88],eax
	mov	eax,dword [ebp-88]
	dec	dword [eax+4]
	jnz	_290
	push	dword [ebp-88]
	call	bbGCFree
	add	esp,4
_290:
	mov	eax,dword [ebp-4]
	mov	edx,dword [eax+28]
	mov	eax,dword [ebp-84]
	mov	dword [edx+esi*4+24],eax
	mov	eax,dword [ebp-4]
	mov	eax,dword [eax+28]
	mov	eax,dword [eax+esi*4+24]
	mov	dword [ebp-92],eax
	push	esi
	mov	eax,dword [ebp-4]
	push	dword [eax+24]
	mov	eax,dword [ebp-4]
	push	dword [eax+12]
	call	bmx_xbase_getFieldText
	add	esp,12
	push	eax
	call	bbStringFromCString
	add	esp,4
	push	eax
	call	bbStringToDouble
	add	esp,4
	sub	esp,8
	fstp	qword [esp]
	push	dword [ebp-92]
	mov	eax,dword [ebp-92]
	mov	eax,dword [eax]
	call	dword [eax+92]
	add	esp,12
	jmp	_260
_265:
	jmp	_260
_266:
_260:
_17:
	add	esi,1
_255:
	cmp	esi,ebx
	jl	_19
_18:
	mov	eax,1
_112:
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
_bah_dbxbase_TXbaseResultSet_lastInsertedId:
	push	ebp
	mov	ebp,esp
	sub	esp,12
	mov	eax,dword [ebp+8]
	mov	dword [ebp-4],eax
	mov	edx,dword [ebp+12]
	mov	dword [ebp-12],0
	mov	dword [ebp-8],0
_115:
	mov	eax,dword [ebp-12]
	mov	dword [edx],eax
	mov	eax,dword [ebp-8]
	mov	dword [edx+4],eax
	mov	esp,ebp
	pop	ebp
	ret
_bah_dbxbase_TXbaseResultSet_rowsAffected:
	push	ebp
	mov	ebp,esp
	sub	esp,4
	mov	eax,dword [ebp+8]
	mov	dword [ebp-4],eax
	mov	eax,0
_118:
	mov	esp,ebp
	pop	ebp
	ret
_bah_dbxbase_TXbaseResultSet_dbTypeFromNative:
	push	ebp
	mov	ebp,esp
	sub	esp,8
	mov	eax,dword [ebp+8]
	mov	dword [ebp-4],eax
	mov	eax,dword [ebp+12]
	mov	dword [ebp-8],eax
	mov	edx,dword [ebp+16]
	mov	eax,0
	cmp	edx,76
	je	_295
	cmp	edx,78
	je	_295
	cmp	edx,70
	je	_296
	cmp	edx,68
	je	_297
	cmp	edx,67
	je	_298
	cmp	edx,77
	je	_299
	jmp	_294
_295:
	mov	eax,2
	jmp	_294
_296:
	mov	eax,3
	jmp	_294
_297:
	mov	eax,6
	jmp	_294
_298:
	mov	eax,1
	jmp	_294
_299:
	mov	eax,7
_294:
_124:
	mov	esp,ebp
	pop	ebp
	ret
_bah_dbxbase_TXbaseDatabaseLoader_New:
	push	ebp
	mov	ebp,esp
	sub	esp,16
	mov	eax,dword [ebp+8]
	mov	dword [ebp-4],eax
	push	dword [ebp-4]
	call	_bah_database_TDatabaseLoader_New
	add	esp,4
	mov	eax,dword [ebp-4]
	mov	dword [eax],bah_dbxbase_TXbaseDatabaseLoader
	mov	dword [ebp-8],_20
	mov	eax,dword [ebp-8]
	inc	dword [eax+4]
	mov	eax,dword [ebp-8]
	mov	dword [ebp-12],eax
	mov	eax,dword [ebp-4]
	mov	eax,dword [eax+8]
	mov	dword [ebp-16],eax
	mov	eax,dword [ebp-16]
	dec	dword [eax+4]
	jnz	_303
	push	dword [ebp-16]
	call	bbGCFree
	add	esp,4
_303:
	mov	edx,dword [ebp-4]
	mov	eax,dword [ebp-12]
	mov	dword [edx+8],eax
	mov	eax,0
_127:
	mov	esp,ebp
	pop	ebp
	ret
_bah_dbxbase_TXbaseDatabaseLoader_Delete:
	push	ebp
	mov	ebp,esp
	sub	esp,4
	mov	eax,dword [ebp+8]
	mov	dword [ebp-4],eax
_130:
	mov	eax,dword [ebp-4]
	mov	dword [eax],bah_database_TDatabaseLoader
	push	dword [ebp-4]
	call	_bah_database_TDatabaseLoader_Delete
	add	esp,4
	mov	eax,0
_304:
	mov	esp,ebp
	pop	ebp
	ret
_bah_dbxbase_TXbaseDatabaseLoader_LoadDatabase:
	push	ebp
	mov	ebp,esp
	sub	esp,32
	mov	eax,dword [ebp+8]
	mov	dword [ebp-4],eax
	mov	eax,dword [ebp+12]
	mov	dword [ebp-8],eax
	mov	eax,dword [ebp+16]
	mov	dword [ebp-12],eax
	mov	edx,dword [ebp+20]
	mov	eax,dword [ebp+24]
	mov	dword [ebp-16],eax
	mov	eax,dword [ebp+28]
	mov	dword [ebp-20],eax
	mov	eax,dword [ebp+32]
	mov	dword [ebp-24],eax
	mov	eax,dword [ebp+36]
	mov	dword [ebp-28],eax
	push	dword [ebp-28]
	push	dword [ebp-24]
	push	dword [ebp-20]
	push	dword [ebp-16]
	push	edx
	push	dword [ebp-12]
	push	dword [ebp-8]
	call	dword [bah_dbxbase_TDBXbase+48]
	add	esp,28
	mov	dword [ebp-32],eax
_140:
	mov	eax,dword [ebp-32]
	mov	esp,ebp
	pop	ebp
	ret
	section	"data" writeable align 8
	align	4
_142:
	dd	0
_26:
	db	"TXbaseDatabaseLoader",0
	align	4
_25:
	dd	2
	dd	_26
	dd	0
	align	4
bah_dbxbase_TXbaseDatabaseLoader:
	dd	bah_database_TDatabaseLoader
	dd	bbObjectFree
	dd	_25
	dd	16
	dd	_bah_dbxbase_TXbaseDatabaseLoader_New
	dd	_bah_dbxbase_TXbaseDatabaseLoader_Delete
	dd	bbObjectToString
	dd	bbObjectCompare
	dd	bbObjectSendMessage
	dd	bbObjectReserved
	dd	bbObjectReserved
	dd	bbObjectReserved
	dd	_bah_dbxbase_TXbaseDatabaseLoader_LoadDatabase
_22:
	db	"TDBXbase",0
	align	4
_21:
	dd	2
	dd	_22
	dd	0
	align	4
bah_dbxbase_TDBXbase:
	dd	bah_database_TDBConnection
	dd	bbObjectFree
	dd	_21
	dd	48
	dd	_bah_dbxbase_TDBXbase_New
	dd	_bah_dbxbase_TDBXbase_Delete
	dd	bbObjectToString
	dd	bbObjectCompare
	dd	bbObjectSendMessage
	dd	bbObjectReserved
	dd	bbObjectReserved
	dd	bbObjectReserved
	dd	_bah_dbxbase_TDBXbase_Create
	dd	_bah_database_TDBConnection_Init
	dd	_bah_dbxbase_TDBXbase_close
	dd	_bah_dbxbase_TDBXbase_commit
	dd	_bah_dbxbase_TDBXbase_getTables
	dd	_bah_dbxbase_TDBXbase_open
	dd	_bah_dbxbase_TDBXbase_rollback
	dd	_bah_dbxbase_TDBXbase_startTransaction
	dd	_bah_database_TDBConnection_executeQuery
	dd	_bah_database_TDBConnection_isOpen
	dd	_bah_database_TDBConnection_getDatabaseName
	dd	_bah_database_TDBConnection_getHost
	dd	_bah_database_TDBConnection_getPortNumber
	dd	_bah_database_TDBConnection_error
	dd	_bah_database_TDBConnection_hasError
	dd	_bah_database_TDBConnection_setError
	dd	_bah_dbxbase_TDBXbase_databaseHandle
	dd	_bah_dbxbase_TDBXbase_createResultSet
	dd	_bah_dbxbase_TDBXbase_nativeErrorMessage
	dd	_bah_dbxbase_TDBXbase_hasPrepareSupport
	dd	_bah_dbxbase_TDBXbase_hasTransactionSupport
_155:
	db	"$",0
_24:
	db	"TXbaseResultSet",0
	align	4
_23:
	dd	2
	dd	_24
	dd	0
	align	4
bah_dbxbase_TXbaseResultSet:
	dd	bah_database_TQueryResultSet
	dd	bbObjectFree
	dd	_23
	dd	48
	dd	_bah_dbxbase_TXbaseResultSet_New
	dd	_bah_dbxbase_TXbaseResultSet_Delete
	dd	bbObjectToString
	dd	bbObjectCompare
	dd	bbObjectSendMessage
	dd	bbObjectReserved
	dd	bbObjectReserved
	dd	bbObjectReserved
	dd	_bah_dbxbase_TXbaseResultSet_Create
	dd	_bah_database_TQueryResultSet_Init
	dd	_bah_database_TQueryResultSet_clearBindValues
	dd	_bah_database_TQueryResultSet_clear
	dd	_bah_dbxbase_TXbaseResultSet_executeQuery
	dd	_bah_dbxbase_TXbaseResultSet_prepare
	dd	_bah_dbxbase_TXbaseResultSet_execute
	dd	_bah_dbxbase_TXbaseResultSet_firstRow
	dd	_bah_dbxbase_TXbaseResultSet_nextRow
	dd	_bah_dbxbase_TXbaseResultSet_lastInsertedId
	dd	_bah_dbxbase_TXbaseResultSet_rowsAffected
	dd	_bah_dbxbase_TXbaseResultSet_dbTypeFromNative
	dd	_bah_database_TQueryResultSet_rowRecord
	dd	_bah_database_TQueryResultSet_dataValue
	dd	_bah_database_TQueryResultSet_rowIndex
	dd	_bah_database_TQueryResultSet_setRowIndex
	dd	_bah_database_TQueryResultSet_isActive
	dd	_bah_database_TQueryResultSet_isValid
	dd	_bah_database_TQueryResultSet_resetValues
	dd	_bah_database_TQueryResultSet_resetBindCount
	dd	_bah_database_TQueryResultSet_addBindValue
	dd	_bah_database_TQueryResultSet_bindValue
	dd	_bah_dbxbase_TXbaseResultSet_cleanup
	dd	_bah_dbxbase_TXbaseResultSet_initRecord
	align	4
_5:
	dd	bbStringClass
	dd	2147483647
	dd	30
	dw	85,110,114,101,99,111,103,110,105,115,101,100,32,88,66,83
	dw	81,76,32,83,81,76,32,99,111,109,109,97,110,100
	align	4
_1:
	dd	bbStringClass
	dd	2147483647
	dd	0
	align	4
_6:
	dd	bbStringClass
	dd	2147483647
	dd	19
	dw	69,114,114,111,114,32,111,112,101,110,105,110,103,32,113,117
	dw	101,114,121
	align	4
_7:
	dd	bbStringClass
	dd	2147483647
	dd	25
	dw	69,114,114,111,114,32,101,120,101,99,117,116,105,110,103,32
	dw	115,116,97,116,101,109,101,110,116
	align	4
_20:
	dd	bbStringClass
	dd	2147483647
	dd	5
	dw	88,66,65,83,69
