	.file	"main.c"
@ GNU C version 3.3.2 (arm-thumb-elf)
@	compiled by GNU C version 3.3.1 (cygming special).
@ GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
@ options passed:  -fpreprocessed -mthumb-interwork -mlong-calls
@ -auxbase-strip -O2 -Wall -fverbose-asm
@ options enabled:  -fdefer-pop -fomit-frame-pointer
@ -foptimize-sibling-calls -fcse-follow-jumps -fcse-skip-blocks
@ -fexpensive-optimizations -fthread-jumps -fstrength-reduce -fpeephole
@ -fforce-mem -ffunction-cse -fkeep-static-consts -fcaller-saves
@ -freg-struct-return -fgcse -fgcse-lm -fgcse-sm -floop-optimize
@ -fcrossjumping -fif-conversion -fif-conversion2 -frerun-cse-after-loop
@ -frerun-loop-opt -fdelete-null-pointer-checks -fschedule-insns
@ -fschedule-insns2 -fsched-interblock -fsched-spec -fbranch-count-reg
@ -freorder-blocks -freorder-functions -fcprop-registers -fcommon
@ -fverbose-asm -fgnu-linker -fregmove -foptimize-register-move
@ -fargument-alias -fstrict-aliasing -fmerge-constants
@ -fzero-initialized-in-bss -fident -fpeephole2 -fguess-branch-probability
@ -fmath-errno -ftrapping-math -mapcs -mapcs-frame -mapcs-32 -msoft-float
@ -mthumb-interwork -mlong-calls

	.text
	.align	2
	.global	InitTileSystem
	.type	InitTileSystem, %function
InitTileSystem:
	@ Function supports interworking.
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	mov	ip, sp
	stmfd	sp!, {r4, r5, fp, ip, lr, pc}
	mov	r5, #8192
	sub	fp, ip, #4
	ldr	r4, .L2
	mov	r1, #0
	mov	r2, r5
	ldr	r0, .L2+4
	mov	lr, pc
	bx	r4
	mov	r2, #4000
	mov	r1, #0
	ldr	r0, .L2+8
	mov	lr, pc
	bx	r4
	mov	r2, r5
	ldr	r0, .L2+12
	mov	r1, #0
	mov	lr, pc
	bx	r4
	ldr	r3, .L2+16
	mov	r2, #1	@ movhi
	strh	r2, [r3, #0]	@ movhi 	@  n_tiles
	ldmea	fp, {r4, r5, fp, sp, lr}
	bx	lr
.L3:
	.align	2
.L2:
	.word	memset
	.word	utilTiles
	.word	numTiles
	.word	copieTiles
	.word	n_tiles
	.size	InitTileSystem, .-InitTileSystem
	.align	2
	.global	InitEcran
	.type	InitEcran, %function
InitEcran:
	@ Function supports interworking.
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	@ link register save eliminated.
	mov	r3, #0
	@ lr needed for prologue
	str	r3, [r0, #0]	@  <variable>.x
	str	r3, [r0, #4]	@  <variable>.y
	bx	lr
	.size	InitEcran, .-InitEcran
	.global	depassement
	.bss
	.global	depassement
	.align	2
	.type	depassement, %object
	.size	depassement, 4
depassement:
	.space	4
	.text
	.align	2
	.global	CopieTile
	.type	CopieTile, %function
CopieTile:
	@ Function supports interworking.
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	mov	ip, sp
	stmfd	sp!, {fp, ip, lr, pc}
	mov	r1, r1, asl #16
	sub	fp, ip, #4
	mov	ip, #508
	sub	lr, r1, #65536
	add	ip, ip, #2
	mov	r0, r0, asl #16
	cmp	ip, lr, lsr #16
	mov	r0, r0, asr #16	@  tileVirtuelle
	ldr	ip, .L8
	mov	r1, r1, asr #16	@  tile
	mov	r0, r0, asl #16	@  tileVirtuelle
	mov	r1, r1, asl #16	@  tile
	add	ip, ip, r0, lsr #10
	mov	r1, r1, lsr #10
	mov	r2, #32
	mov	r3, #-2147483648
	mov	r0, ip
	add	r1, r1, #100663296
	bcs	.L7
.L5:
	ldmea	fp, {fp, sp, lr}
	bx	lr
.L7:
	ldr	ip, .L8+4
	mov	lr, pc
	bx	ip
	b	.L5
.L9:
	.align	2
.L8:
	.word	plan_tiles
	.word	CopieDMA
	.size	CopieTile, .-CopieTile
	.align	2
	.global	OptTiles
	.type	OptTiles, %function
OptTiles:
	@ Function supports interworking.
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	stmfd	sp!, {r4, r5, r6, r7, lr}
	ldr	r1, .L40
	ldr	ip, [r1, #0]	@  depassement
	cmp	ip, #0
	bne	.L10
	ldr	r3, .L40+4
	mov	r2, #1	@  i
	mov	r0, #508
	strh	r2, [r3, #0]	@ movhi 	@  i,  n_tiles
	ldr	lr, .L40+8
	ldr	r4, .L40+12
	str	r2, [r1, #0]	@  i,  depassement
	add	r0, r0, #3
	mov	r1, r2	@  i,  i
.L16:
	mov	r3, r1, asl #1	@  i
	ldrh	r2, [r3, r4]	@  numTiles
	add	r1, r1, #1	@  i,  i
	mov	r2, r2, asl #1
	cmp	r1, r0	@  i
	strh	ip, [r2, lr]	@ movhi 	@  copieTiles
	bls	.L16
	ldr	r3, .L40+16
	ldr	r2, [r3, #0]	@  gblDepY
	ldr	r3, .L40+20
	add	r2, r2, r2, asl #2
	add	r2, r2, r2, asl #2
	ldr	r7, [r3, #0]	@  gblDepX
	ldr	r5, .L40+24
	mov	r2, r2, asl #2
	mov	r6, #0	@  j
	mov	ip, #1
.L26:
	add	r3, r7, r2
	mov	r0, r3, asl #1
	mov	r1, #0	@  i
.L25:
	ldrh	r3, [r0, r5]	@  plan_map
	mov	r3, r3, asl #21
	mov	r3, r3, lsr #21
	add	r1, r1, #1	@  i,  i
	mov	r3, r3, asl #1
	cmp	r1, #30	@  i
	strh	ip, [r3, lr]	@ movhi 	@  copieTiles
	add	r0, r0, #2
	bls	.L25
	add	r6, r6, #1	@  j,  j
	cmp	r6, #20	@  j
	add	r2, r2, #100
	bls	.L26
	mov	ip, #508
	ldr	r5, .L40+28
	mov	r1, #1	@  i
	add	ip, ip, #3
.L32:
	mov	r0, r1, asl #1	@  i
	ldrh	r3, [r0, r4]	@  numTiles
	mov	r3, r3, asl #1
	ldrh	r2, [r3, lr]	@  copieTiles
	add	r1, r1, #1	@  i,  i
	cmp	r2, #0
	streqh	r2, [r0, r4]	@ movhi 	@  numTiles
	streqh	r2, [r3, r5]	@ movhi 	@  utilTiles
	cmp	r1, ip	@  i
	bls	.L32
.L10:
	ldmfd	sp!, {r4, r5, r6, r7, lr}
	bx	lr
.L41:
	.align	2
.L40:
	.word	depassement
	.word	n_tiles
	.word	copieTiles
	.word	numTiles
	.word	gblDepY
	.word	gblDepX
	.word	plan_map
	.word	utilTiles
	.size	OptTiles, .-OptTiles
	.section	.iwram,"ax",%progbits
	.align	2
	.global	ChercheTile
	.type	ChercheTile, %function
ChercheTile:
	@ Function supports interworking.
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	mov	ip, sp
	stmfd	sp!, {r4, r5, r6, r7, fp, ip, lr, pc}
	sub	fp, ip, #4
	ldr	ip, .L51
	ldrh	r3, [ip, #0]	@  n_tiles
	ldr	r6, .L51+4
	mov	r3, r3, asl #1
	ldrh	r2, [r3, r6]	@  numTiles
	cmp	r2, #0
	mov	r5, r0	@  val
	mov	r1, ip
	mov	r0, r6
	beq	.L50
.L46:
	ldrh	r3, [r1, #0]	@  n_tiles
	add	r3, r3, #1
	strh	r3, [r1, #0]	@ movhi 	@  n_tiles
	ldrh	r2, [ip, #0]	@  n_tiles
	mov	r2, r2, asl #1
	ldrh	r3, [r2, r0]	@  numTiles
	cmp	r3, #0
	bne	.L46
.L50:
	ldrh	lr, [ip, #0]	@  n_tiles
	cmp	lr, #512
	ldr	r7, .L51
	bcc	.L47
	ldr	r3, .L51+8
	ldr	r2, [r3, #0]	@  depassement
	cmp	r2, #0
	movne	r0, #0	@  val
	moveq	r0, #1	@  val
.L42:
	ldmea	fp, {r4, r5, r6, r7, fp, sp, lr}
	bx	lr
.L47:
	ldr	r3, .L51+12
	mov	r2, r5, asl #1	@  val
	ldr	r4, .L51+16
	strh	lr, [r2, r3]	@ movhi 	@  utilTiles
	ldr	r3, .L51+20
	mov	r0, r5	@  val
	mov	ip, lr, asl #1
	str	r4, [r3, #0]	@  pRoutineLointaine
	mov	r1, lr
	strh	r5, [ip, r6]	@ movhi 	@  val,  numTiles
	mov	lr, pc
	bx	r4
	ldrh	r3, [r7, #0]	@  n_tiles
	add	r3, r3, #1
	strh	r3, [r7, #0]	@ movhi 	@  n_tiles
	mov	r0, #0	@  val
	b	.L42
.L52:
	.align	2
.L51:
	.word	n_tiles
	.word	numTiles
	.word	depassement
	.word	utilTiles
	.word	CopieTile
	.word	pRoutineLointaine
	.size	ChercheTile, .-ChercheTile
	.align	2
	.global	CopieBloc_8
	.type	CopieBloc_8, %function
CopieBloc_8:
	@ Function supports interworking.
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	mov	ip, sp
	mov	r2, r2, asl #16
	stmfd	sp!, {r4, r5, r6, r7, r8, r9, sl, fp, ip, lr, pc}
	sub	fp, ip, #4
	mov	ip, r2, asr #16	@  bloc
	mov	r5, ip, asl #16	@  bloc
	cmp	r5, #0
	mov	r9, r0	@  x
	mov	sl, r1	@  y
	mov	r6, r5, asr #16	@  val
	beq	.L55
	ldr	r8, .L61
	ldr	r7, .L61+4
.L56:
	ldrh	r3, [r8, #0]	@  n_tiles
	cmp	r3, #512
	ldr	r2, .L61+8
	bcs	.L60
.L57:
	mov	r3, r6, asl #16	@  val
	mov	r3, r3, lsr #16	@  x
	mov	r4, r3, asl #1	@  x
	mov	r0, r3	@  x
	ldrh	r3, [r4, r7]	@  utilTiles
	cmp	r3, #0
	bne	.L58
	bl	ChercheTile
	cmp	r0, #0	@  x
	bne	.L56
	ldrh	r3, [r4, r7]	@  utilTiles
.L58:
	mov	r3, r3, asl #16
	mov	ip, r3, asr #16	@  bloc
.L55:
	add	r3, r9, sl, asl #5	@  x,  y
	ldr	r2, .L61+12
	mov	r3, r3, asl #1
	strh	ip, [r3, r2]	@ movhi 	@  bloc,  tableau
	ldmea	fp, {r4, r5, r6, r7, r8, r9, sl, fp, sp, lr}
	bx	lr
.L60:
	ldr	r3, .L61+16
	str	r2, [r3, #0]	@  pRoutineLointaine
	mov	r6, r5, asr #16	@  val
	mov	lr, pc
	bx	r2
	b	.L57
.L62:
	.align	2
.L61:
	.word	n_tiles
	.word	utilTiles
	.word	OptTiles
	.word	tableau
	.word	pRoutineLointaine
	.size	CopieBloc_8, .-CopieBloc_8
	.align	2
	.global	CopieMap
	.type	CopieMap, %function
CopieMap:
	@ Function supports interworking.
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	mov	ip, sp
	stmfd	sp!, {r4, r5, r6, r7, r8, fp, ip, lr, pc}
	ldr	r3, .L78
	sub	fp, ip, #4
	ldr	r2, .L78+4
	add	ip, r1, r1, asl #2	@  departY,  departY
	add	ip, ip, ip, asl #2
	add	ip, r0, ip, asl #2	@  departX
	str	r0, [r3, #0]	@  departX,  gblDepX
	str	r1, [r2, #0]	@  departY,  gblDepY
	ldr	r8, .L78+8
	mov	r7, ip, asl #1
	mov	r6, #0	@  y
.L73:
	add	r5, r7, r8	@  ptr
	mov	r4, #0	@  x
.L72:
	ldrh	r2, [r5], #2
	mov	r2, r2, asl #21	@  tailleMapX
	mov	r0, r4	@  x
	mov	r2, r2, lsr #21	@  tailleMapX,  tailleMapX
	mov	r1, r6	@  y
	add	r4, r4, #1	@  x,  x
	bl	CopieBloc_8
	cmp	r4, #30	@  x
	bls	.L72
	add	r6, r6, #1	@  y,  y
	cmp	r6, #20	@  y
	add	r7, r7, #200
	bls	.L73
	ldmea	fp, {r4, r5, r6, r7, r8, fp, sp, lr}
	bx	lr
.L79:
	.align	2
.L78:
	.word	gblDepX
	.word	gblDepY
	.word	plan_map
	.size	CopieMap, .-CopieMap
	.text
	.align	2
	.global	EffaceScreenBlock
	.type	EffaceScreenBlock, %function
EffaceScreenBlock:
	@ Function supports interworking.
	@ args = 0, pretend = 0, frame = 4
	@ frame_needed = 1, uses_anonymous_args = 0
	mov	ip, sp
	stmfd	sp!, {fp, ip, lr, pc}
	mov	r1, r0	@  screenBlock
	sub	fp, ip, #4
	sub	sp, sp, #4
	sub	r0, fp, #12	@  screenBlock
	mov	r3, #0
	mov	r1, r1, asl #11	@  screenBlock
	add	r1, r1, #100663296
	str	r3, [r0, #-4]!
	mov	r2, #512
	mov	r3, #-2080374784
	ldr	ip, .L81
	mov	lr, pc
	bx	ip
	ldmea	fp, {fp, sp, lr}
	bx	lr
.L82:
	.align	2
.L81:
	.word	MemSet
	.size	EffaceScreenBlock, .-EffaceScreenBlock
	.global	rotData
	.data
	.align	2
	.type	rotData, %object
	.size	rotData, 4
rotData:
	.word	MonOAM
	.text
	.align	2
	.global	InitSprites
	.type	InitSprites, %function
InitSprites:
	@ Function supports interworking.
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	@ link register save eliminated.
	ldr	r3, .L84
	ldr	r1, [r3, #0]	@  pOAM
	ldr	r3, .L84+4
	mov	r2, #0
	strh	r2, [r1, #2]	@ movhi 
	strh	r2, [r1, #0]	@ movhi 
	str	r2, [r3, #0]	@  objetsUtilises
	ldr	r3, .L84+8
	mov	r1, #32
	@ lr needed for prologue
	str	r1, [r3, #0]	@  n_tile
	bx	lr
.L85:
	.align	2
.L84:
	.word	pOAM
	.word	objetsUtilises
	.word	n_tile
	.size	InitSprites, .-InitSprites
	.align	2
	.global	CreeObjetStandard
	.type	CreeObjetStandard, %function
CreeObjetStandard:
	@ Function supports interworking.
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	stmfd	sp!, {r4, r5, r6, r7, lr}
	ldr	r6, .L88
	mov	r1, r1, asl #16
	ldr	ip, [r6, #0]	@  objetsUtilises
	mov	r2, r2, asl #16
	mov	r3, r3, asl #16
	mov	r0, r0, asl #16
	mov	r1, r1, asr #16	@  palette
	mov	r2, r2, asr #16	@  forme
	mov	r3, r3, asr #16	@  taille
	ldr	r7, .L88+4
	add	r4, ip, #1
	mov	r0, r0, asr #16	@  tiles
	mov	r1, r1, asl #16	@  palette
	mov	r2, r2, asl #16	@  forme
	mov	r3, r3, asl #16	@  taille
	mov	lr, r4, asl #3
	orr	r0, r0, r1, lsr #4	@  tiles
	mov	r2, r2, lsr #2
	mov	r3, r3, lsr #2
	cmp	ip, #126
	add	r5, lr, r7
	orr	r0, r0, #2048
	orr	r2, r2, #160
	orr	r3, r3, #240
	strleh	r2, [lr, r7]	@ movhi 	@  <variable>.attribut0
	strleh	r0, [r5, #4]	@ movhi 	@  <variable>.attribut2
	strle	r4, [r6, #0]	@  objetsUtilises
	strleh	r3, [r5, #2]	@ movhi 	@  <variable>.attribut1
	ldmfd	sp!, {r4, r5, r6, r7, lr}
	bx	lr
.L89:
	.align	2
.L88:
	.word	objetsUtilises
	.word	MonOAM
	.size	CreeObjetStandard, .-CreeObjetStandard
	.align	2
	.global	CreeBoite
	.type	CreeBoite, %function
CreeBoite:
	@ Function supports interworking.
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	stmfd	sp!, {r4, r5, r6, lr}
	ldr	r6, .L92
	mov	r1, r1, asl #16
	ldr	r3, [r6, #0]	@  objetsUtilises
	mov	r2, r2, asl #16
	mov	r1, r1, asr #16	@  forme
	mov	r1, r1, asl #16	@  forme
	mov	r2, r2, asr #16	@  taille
	ldr	r5, .L92+4
	add	lr, r3, #1
	mov	r0, r0, asl #16
	mov	r1, r1, lsr #2
	mov	r2, r2, asl #16	@  taille
	mov	ip, lr, asl #3
	mov	r0, r0, asr #16	@  tiles
	orr	r1, r1, #10112
	mov	r2, r2, lsr #2
	cmp	r3, #126
	add	r4, ip, r5
	orr	r0, r0, #2048	@  tiles
	orr	r1, r1, #32
	orr	r2, r2, #240
	strleh	r1, [ip, r5]	@ movhi 	@  <variable>.attribut0
	strleh	r0, [r4, #4]	@ movhi 	@  <variable>.attribut2
	strle	lr, [r6, #0]	@  objetsUtilises
	strleh	r2, [r4, #2]	@ movhi 	@  <variable>.attribut1
	ldmfd	sp!, {r4, r5, r6, lr}
	bx	lr
.L93:
	.align	2
.L92:
	.word	objetsUtilises
	.word	MonOAM
	.size	CreeBoite, .-CreeBoite
	.align	2
	.global	AjouteSprite
	.type	AjouteSprite, %function
AjouteSprite:
	@ Function supports interworking.
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	mov	ip, sp
	stmfd	sp!, {r4, r5, fp, ip, lr, pc}
	ldr	r5, .L95
	ldr	r3, [r5, #0]	@  n_tile
	add	r3, r3, #100663296
	mov	r4, r1, asl #16
	add	r3, r3, #65536
	sub	fp, ip, #4
	mov	r2, r4, lsr #18
	mov	r1, r3
	ldr	ip, .L95+4
	mov	r3, #-2147483648
	mov	lr, pc
	bx	ip
	ldr	r0, [r5, #0]	@  i,  n_tile
	mov	r4, r4, lsr #16
	add	r4, r0, r4	@  i
	mov	r0, r0, asr #5	@  adr_sprite,  i
	str	r4, [r5, #0]	@  n_tile
	ldmea	fp, {r4, r5, fp, sp, lr}
	bx	lr
.L96:
	.align	2
.L95:
	.word	n_tile
	.word	CopieDMA
	.size	AjouteSprite, .-AjouteSprite
	.align	2
	.global	SauveSpriteParam
	.type	SauveSpriteParam, %function
SauveSpriteParam:
	@ Function supports interworking.
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	@ link register save eliminated.
	ldr	r3, .L98
	ldr	r2, .L98+4
	ldr	r1, [r3, #0]	@  objetsUtilises
	ldr	r3, [r2, #0]	@  n_tile
	@ lr needed for prologue
	stmia	r0, {r1, r3}	@ phole stm
	bx	lr
.L99:
	.align	2
.L98:
	.word	objetsUtilises
	.word	n_tile
	.size	SauveSpriteParam, .-SauveSpriteParam
	.align	2
	.global	RestoreSpriteParam
	.type	RestoreSpriteParam, %function
RestoreSpriteParam:
	@ Function supports interworking.
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	@ link register save eliminated.
	ldr	ip, [r0, #0]	@  <variable>.nbreObjetsDeBase
	ldr	r1, [r0, #4]	@  <variable>.nbreTilesDeBase
	ldr	r3, .L109
	add	r0, ip, #1	@  i
	ldr	r2, .L109+4
	cmp	r0, #127	@  i
	str	ip, [r2, #0]	@  objetsUtilises
	@ lr needed for prologue
	str	r1, [r3, #0]	@  n_tile
	ldrhi	ip, .L109+8
	bhi	.L107
	ldr	ip, .L109+8
.L105:
	mov	r3, r0, asl #3	@  i
	add	r0, r0, #1	@  i,  i
	mov	r2, #240	@ movhi
	cmp	r0, #127	@  i
	strh	r2, [r3, ip]	@ movhi 	@  <variable>.attribut0
	bls	.L105
.L107:
	add	r3, ip, r0, asl #3	@  i
	mov	r2, #0	@ movhi
	strh	r2, [r3, #4]	@ movhi 	@  <variable>.attribut2
	mov	r2, #160	@ movhi
	strh	r2, [r3, #2]	@ movhi 	@  <variable>.attribut1
	bx	lr
.L110:
	.align	2
.L109:
	.word	n_tile
	.word	objetsUtilises
	.word	MonOAM
	.size	RestoreSpriteParam, .-RestoreSpriteParam
	.align	2
	.global	PlaceObjetEx
	.type	PlaceObjetEx, %function
PlaceObjetEx:
	@ Function supports interworking.
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	stmfd	sp!, {r4, r5, lr}
	cmn	r1, #63	@  x
	movlt	r3, #0
	movge	r3, #1
	ldr	r5, .L114
	mov	lr, r2	@  y
	mov	r0, r0, asl #3	@  no_objet
	ands	r3, r3, r1, lsr #31	@  x
	add	ip, r0, r5
	mov	r4, r1	@  x
	addne	r4, r1, #512	@  x,  x
	cmn	lr, #63	@  y
	movlt	r3, #0
	movge	r3, #1
	ldrh	r2, [r0, r5]	@  <variable>.attribut0
	ands	r3, r3, lr, lsr #31	@  y
	ldrh	r3, [ip, #2]	@  <variable>.attribut1
	and	r2, r2, #65280
	and	r3, r3, #65024
	strh	r3, [ip, #2]	@ movhi 	@  <variable>.attribut1
	strh	r2, [r0, r5]	@ movhi 	@  <variable>.attribut0
	ldrh	r1, [ip, #2]	@  <variable>.attribut1
	ldrh	r3, [r0, r5]	@  <variable>.attribut0
	addne	lr, lr, #256	@  y,  y
	orr	r1, r1, r4	@  x
	orr	r3, r3, lr	@  y
	strh	r3, [r0, r5]	@ movhi 	@  <variable>.attribut0
	strh	r1, [ip, #2]	@ movhi 	@  <variable>.attribut1
	ldmfd	sp!, {r4, r5, lr}
	bx	lr
.L115:
	.align	2
.L114:
	.word	MonOAM
	.size	PlaceObjetEx, .-PlaceObjetEx
	.bss
initCurs.0:
	.space	1
	.text
	.align	2
	.global	InitCurseur
	.type	InitCurseur, %function
InitCurseur:
	@ Function supports interworking.
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	mov	ip, sp
	stmfd	sp!, {r4, r5, r6, r7, fp, ip, lr, pc}
	ldr	r3, .L118
	ldr	r7, .L118+4	@  c
	mov	r4, r0	@  c
	sub	fp, ip, #4
	ldr	r1, [r3, #0]	@  PaletteObj
	ldr	ip, .L118+8
	mov	r2, #16
	mov	r3, #-2147483648
	ldr	r0, .L118+12
	mov	lr, pc
	bx	ip
	mov	r1, #1024
	mov	r0, r7	@  c
	bl	AjouteSprite
	mov	r1, #0
	mov	r5, r0	@  i
	mov	r0, r0, asl #16	@  i
	mov	r2, r1
	mov	r0, r0, lsr #16	@  c
	mov	r3, #2
	bl	CreeObjetStandard
	ldr	r3, .L118+16
	ldr	r1, [r3, #0]	@  objetsUtilises
	ldr	r0, .L118+20
	ldr	r6, .L118+24
	mov	r1, r1, asl #3
	ldrb	ip, [r6, #0]	@ zero_extendqisi2	@  initCurs
	ldrh	r3, [r1, r0]	@  <variable>.attribut0
	add	lr, r1, r0
	ldrh	r2, [lr, #2]	@  <variable>.attribut1
	cmp	ip, #0
	and	r3, r3, #65280
	and	r2, r2, #65024
	strh	r3, [r1, r0]	@ movhi 	@  <variable>.attribut0
	moveq	r3, #104
	strh	r2, [lr, #2]	@ movhi 	@  <variable>.attribut1
	streq	r3, [r4, #0]	@  <variable>.x
	moveq	r2, #64
	mov	r3, #21
	streq	r2, [r4, #4]	@  <variable>.y
	str	r3, [r4, #16]	@  <variable>.h
	mov	r2, #1
	mov	r3, #15
	str	r5, [r4, #8]	@  i,  <variable>.no_sprite
	str	r7, [r4, #20]	@  c,  <variable>.tiles
	str	r3, [r4, #12]	@  <variable>.l
	strb	r2, [r6, #0]	@  initCurs
	ldmea	fp, {r4, r5, r6, r7, fp, sp, lr}
	bx	lr
.L119:
	.align	2
.L118:
	.word	PaletteObj
	.word	main_tiles
	.word	CopieDMA
	.word	main_palette
	.word	objetsUtilises
	.word	MonOAM
	.word	initCurs.0
	.size	InitCurseur, .-InitCurseur
	.bss
	.align	2
ancX.1:
	.space	4
	.align	2
ancY.2:
	.space	4
	.text
	.align	2
	.global	BougeMain
	.type	BougeMain, %function
BougeMain:
	@ Function supports interworking.
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	cmn	r0, #1	@  no_obj
	mov	ip, sp
	stmfd	sp!, {r4, r5, r6, r7, fp, ip, lr, pc}
	ldreq	r6, .L137
	ldreq	r7, .L137+4
	sub	fp, ip, #4
	mov	r4, r1	@  x
	mov	r5, r2	@  y
	mov	ip, r3	@  vitesse
	streq	r1, [r6, #0]	@  x,  ancX
	streq	r2, [r7, #0]	@  y,  ancY
	beq	.L122
	mov	r1, #0	@  i
	cmp	r1, r3	@  i,  vitesse
	ldrge	r6, .L137
	ldrge	r7, .L137+4
	bge	.L134
	ldr	r6, .L137
	ldr	r7, .L137+4
	mov	lr, r6
.L131:
	ldr	r3, [r6, #0]	@  ancX
	cmp	r4, r3	@  x
	add	r2, r3, #1
	movgt	r3, r2
	strgt	r2, [r6, #0]	@  ancX
	cmp	r4, r3	@  x
	sub	r3, r3, #1
	strlt	r3, [lr, #0]	@  ancX
	ldr	r3, [r7, #0]	@  ancY
	add	r2, r3, #1
	cmp	r5, r3	@  y
	movgt	r3, r2
	strgt	r2, [r7, #0]	@  ancY
	cmp	r5, r3	@  y
	sub	r2, r3, #1
	ldrlt	r3, .L137+4
	add	r1, r1, #1	@  i,  i
	strlt	r2, [r3, #0]	@  ancY
	cmp	r1, ip	@  i,  vitesse
	blt	.L131
.L134:
	ldr	r1, [r6, #0]	@  x,  ancX
	ldr	r2, [r7, #0]	@  y,  ancY
	bl	PlaceObjetEx
.L122:
	ldr	r3, [r6, #0]	@  ancX
	cmp	r3, r4	@  x
	mov	r0, #0	@  no_obj
	beq	.L136
.L132:
	ldmea	fp, {r4, r5, r6, r7, fp, sp, lr}
	bx	lr
.L136:
	ldr	r3, [r7, #0]	@  ancY
	cmp	r3, r5	@  y
	movne	r0, #0	@  no_obj
	moveq	r0, #1	@  no_obj
	b	.L132
.L138:
	.align	2
.L137:
	.word	ancX.1
	.word	ancY.2
	.size	BougeMain, .-BougeMain
	.data
	.align	2
	.type	vitesse.3, %object
	.size	vitesse.3, 4
vitesse.3:
	.word	8
	.align	2
	.type	premFois.4, %object
	.size	premFois.4, 4
premFois.4:
	.word	1
	.text
	.align	2
	.global	GereCurseur
	.type	GereCurseur, %function
GereCurseur:
	@ Function supports interworking.
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	mov	ip, sp
	stmfd	sp!, {r4, r5, r6, fp, ip, lr, pc}
	ldr	lr, .L162
	ldr	r3, [lr, #0]	@  vitesse
	cmp	r3, #31
	addle	r3, r3, #1
	sub	fp, ip, #4
	mov	ip, #67108864
	strle	r3, [lr, #0]	@  vitesse
	ldr	r3, [ip, #304]
	mvn	r3, r3
	tst	r3, #32
	ldrne	r2, [lr, #0]	@  vitesse
	ldrne	r3, [r0, #0]	@  <variable>.x
	subne	r3, r3, r2, asr #3
	strne	r3, [r0, #0]	@  <variable>.x
	ldr	r3, [ip, #304]
	mvn	r3, r3
	tst	r3, #16
	ldrne	r2, [lr, #0]	@  vitesse
	ldrne	r3, [r0, #0]	@  <variable>.x
	addne	r3, r3, r2, asr #3
	strne	r3, [r0, #0]	@  <variable>.x
	ldr	r3, [ip, #304]
	mvn	r3, r3
	tst	r3, #64
	ldrne	r2, [lr, #0]	@  vitesse
	ldrne	r3, [r0, #4]	@  <variable>.y
	subne	r3, r3, r2, asr #3
	strne	r3, [r0, #4]	@  <variable>.y
	ldr	r3, [ip, #304]
	mvn	r3, r3
	tst	r3, #128
	ldrne	r2, [lr, #0]	@  vitesse
	ldrne	r3, [r0, #4]	@  <variable>.y
	addne	r3, r3, r2, asr #3
	strne	r3, [r0, #4]	@  <variable>.y
	ldr	r3, [ip, #304]
	mvn	r3, r3
	tst	r3, #240
	moveq	r3, #8
	streq	r3, [lr, #0]	@  vitesse
	mov	r4, r1	@  ecr
	ldmia	r0, {r1, ip}	@ phole ldm
	cmp	r1, #0
	movlt	r3, #0
	strlt	r3, [r0, #0]	@  <variable>.x
	ldr	r2, [r0, #12]	@  <variable>.l
	movlt	r1, r3
	cmp	ip, #0
	movlt	r3, #0
	mov	r6, #796
	strlt	r3, [r0, #4]	@  <variable>.y
	movlt	ip, r3
	add	r6, r6, #3
	add	r3, r1, r2
	cmp	r3, r6
	rsbhi	r3, r2, #800
	ldr	r2, [r0, #16]	@  <variable>.h
	mov	r5, #484
	strhi	r3, [r0, #0]	@  <variable>.x
	movhi	r1, r3
	add	r5, r5, #3
	add	r3, ip, r2
	cmp	r3, r5
	rsbhi	r3, r2, #488
	strhi	r3, [r0, #4]	@  <variable>.y
	ldr	lr, [r4, #0]	@  <variable>.x
	rsb	r2, lr, r1	@  i
	cmp	r2, #79	@  i
	addle	r3, lr, r2	@  i
	suble	r3, r3, #80
	movle	lr, r3
	strle	r3, [r4, #0]	@  <variable>.x
	cmp	r2, #144	@  i
	addgt	r3, lr, r2	@  i
	subgt	r3, r3, #144
	strgt	r3, [r4, #0]	@  <variable>.x
	ldr	ip, [r4, #4]	@  <variable>.y
	movgt	lr, r3
	ldr	r3, [r0, #4]	@  <variable>.y
	rsb	r2, ip, r3	@  i
	cmp	r2, #54	@  i
	addle	r3, ip, r2	@  i
	suble	r3, r3, #55
	strle	r3, [r4, #4]	@  <variable>.y
	movle	ip, r3
	cmp	r2, #95	@  i
	addgt	r3, ip, r2	@  i
	subgt	r3, r3, #95
	strgt	r3, [r4, #4]	@  <variable>.y
	movgt	ip, r3
	cmp	lr, #0
	movlt	r3, #0
	strlt	r3, [r4, #0]	@  <variable>.x
	movlt	lr, r3
	cmp	ip, #0
	movlt	r3, #0
	strlt	r3, [r4, #4]	@  <variable>.y
	movlt	ip, r3
	add	r3, lr, #240
	cmp	r3, r6
	movhi	r3, #560
	strhi	r3, [r4, #0]	@  <variable>.x
	movhi	lr, r3
	add	r3, ip, #160
	cmp	r3, r5
	movhi	r3, #328
	strhi	r3, [r4, #4]	@  <variable>.y
	ldr	r4, .L162+4
	movhi	ip, r3
	ldr	r3, [r4, #0]	@  premFois
	cmp	r3, #0
	ldreq	r3, [r0, #8]	@  c,  <variable>.no_sprite
	ldmia	r0, {r1, r2}	@ phole ldm
	mvnne	r3, #0	@  c
	mov	r0, r3	@  c
	rsb	r2, ip, r2
	mov	r3, #8
	rsb	r1, lr, r1	@  ecr
	bl	BougeMain
	mov	r3, #0
	str	r3, [r4, #0]	@  premFois
	ldmea	fp, {r4, r5, r6, fp, sp, lr}
	bx	lr
.L163:
	.align	2
.L162:
	.word	vitesse.3
	.word	premFois.4
	.size	GereCurseur, .-GereCurseur
	.global	bCPUMetre
	.bss
	.global	bCPUMetre
	.align	2
	.type	bCPUMetre, %object
	.size	bCPUMetre, 4
bCPUMetre:
	.space	4
	.global	bTransp
	.data
	.align	2
	.type	bTransp, %object
	.size	bTransp, 4
bTransp:
	.word	1
	.global	numero_musique
	.bss
	.global	numero_musique
	.align	2
	.type	numero_musique, %object
	.size	numero_musique, 4
numero_musique:
	.space	4
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"musique.8ad\000"
	.align	2
.LC1:
	.ascii	"musique2.8ad\000"
	.align	2
.LC2:
	.ascii	"musique3.8ad\000"
	.global	musiques
	.data
	.align	2
	.type	musiques, %object
	.size	musiques, 12
musiques:
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.section	.rodata.str1.4
	.align	2
.LC3:
	.ascii	"Palais de glace\000"
	.align	2
.LC4:
	.ascii	"Mine de diamants\000"
	.align	2
.LC5:
	.ascii	"Sonic - Star light\000"
	.global	noms_musiques
	.data
	.align	2
	.type	noms_musiques, %object
	.size	noms_musiques, 12
noms_musiques:
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.section	.rodata.str1.4
	.align	2
.LC14:
	.ascii	"Erreur\000"
	.align	2
.LC13:
	.ascii	"curs3.son\000"
	.align	2
.LC12:
	.ascii	"curs2.son\000"
	.align	2
.LC7:
	.ascii	"D\351sactiv\351e\000"
	.align	2
.LC6:
	.ascii	"Activ\351e\000"
	.align	2
.LC9:
	.ascii	"D\351sactiv\351s\000"
	.align	2
.LC8:
	.ascii	"Activ\351s\000"
	.align	2
.LC11:
	.ascii	"D\351sactiv\351\000"
	.align	2
.LC10:
	.ascii	"Activ\351\000"
	.text
	.align	2
	.global	FctMenuPause
	.type	FctMenuPause, %function
FctMenuPause:
	@ Function supports interworking.
	@ args = 0, pretend = 0, frame = 4
	@ frame_needed = 1, uses_anonymous_args = 0
	mov	ip, sp
	stmfd	sp!, {r4, fp, ip, lr, pc}
	cmp	r0, #2	@  demande
	sub	fp, ip, #4
	sub	sp, sp, #4
	mov	r4, r1	@  param
	beq	.L201
	cmp	r0, #1	@  demande
	beq	.L202
	cmp	r0, #3	@  demande
	beq	.L203
.L179:
	ldr	r0, .L207	@  demande
.L164:
	ldmea	fp, {r4, fp, sp, lr}
	bx	lr
.L203:
	tst	r2, #8	@  touches
	moveq	r0, #1	@  demande
	beq	.L164
	ldr	r0, .L207+4
	ldr	r3, .L207+8
	mov	lr, pc
	bx	r3
.L198:
	mov	r0, #2	@  demande
	b	.L164
.L202:
	ldr	r0, .L207+12
	ldr	r3, .L207+8
	mov	lr, pc
	bx	r3
	cmp	r4, #0	@  param
	beq	.L198
	cmp	r4, #1	@  param
	beq	.L204
	cmp	r4, #2	@  param
	ldreq	r2, .L207+16
	beq	.L200
	cmp	r4, #3	@  param
	beq	.L205
	cmp	r4, #4	@  param
	beq	.L206
	cmp	r4, #5	@  param
	bne	.L179
	mov	r4, #0	@  demande
	sub	r0, fp, #16	@  demande
	mov	r2, #3840
	mov	r3, #-2147483648
	str	r4, [r0, #-4]!	@  demande
	ldr	r1, .L207+20
	ldr	ip, .L207+24
	mov	lr, pc
	bx	ip
	ldr	r2, .L207+28
	ldr	r3, [r2, #0]	@  bCPUMetre
	cmp	r3, r4
	movne	r3, #0
	moveq	r3, #1
.L196:
	mov	r0, #0	@  demande
	str	r3, [r2, #0]	@  bCPUMetre
	b	.L164
.L206:
	ldr	r2, .L207+32
	ldr	r3, [r2, #0]	@  numero_musique
	add	r3, r3, #1
	cmp	r3, #2
	str	r3, [r2, #0]	@  numero_musique
	movhi	r3, #0
	strhi	r3, [r2, #0]	@  numero_musique
	ldr	r3, .L207+36
	ldr	r2, [r2, #0]	@  numero_musique
	ldr	r0, [r3, r2, asl #2]	@  demande,  musiques
	ldr	r3, .L207+40
	mov	lr, pc
	bx	r3
.L197:
	mov	r0, #0	@  demande
	b	.L164
.L205:
	ldr	r2, .L207+44
.L200:
	ldr	r3, [r2, #0]	@  bSons
	cmp	r3, #0
	movne	r3, #0
	moveq	r3, #1
	b	.L196
.L204:
	ldr	r3, .L207+48
	mov	lr, pc
	bx	r3
	b	.L197
.L201:
	cmp	r1, #2	@  param
	ldreq	r3, .L207+16
	ldreq	r2, .L207+52
	ldreq	r1, [r3, #0]	@  bMusique
	ldreq	r3, .L207+56
	beq	.L199
	cmp	r1, #3	@  param
	ldreq	r3, .L207+44
	ldreq	r2, .L207+60
	ldreq	r1, [r3, #0]	@  bSons
	ldreq	r3, .L207+64
	beq	.L199
	cmp	r1, #4	@  param
	ldreq	r3, .L207+32
	ldreq	r2, .L207+68
	ldreq	r1, [r3, #0]	@  numero_musique
	ldreq	r0, [r2, r1, asl #2]	@  demande,  noms_musiques
	beq	.L164
	cmp	r1, #5	@  param
	bne	.L179
	ldr	r3, .L207+28
	ldr	r2, .L207+72
	ldr	r1, [r3, #0]	@  bCPUMetre
	ldr	r3, .L207+76
.L199:
	cmp	r1, #0
	moveq	r0, r2	@  demande
	movne	r0, r3	@  demande
	b	.L164
.L208:
	.align	2
.L207:
	.word	.LC14
	.word	.LC13
	.word	JoueSon
	.word	.LC12
	.word	bMusique
	.word	buffer_debug
	.word	MemSet
	.word	bCPUMetre
	.word	numero_musique
	.word	musiques
	.word	JoueMusique
	.word	bSons
	.word	MCMain
	.word	.LC7
	.word	.LC6
	.word	.LC9
	.word	.LC8
	.word	noms_musiques
	.word	.LC11
	.word	.LC10
	.size	FctMenuPause, .-FctMenuPause
	.section	.rodata.str1.4
	.align	2
.LC15:
	.ascii	"Menu pause\000"
	.align	2
.LC16:
	.ascii	"#|Reprendre la partie#Reprendre\n"
	.ascii	"#|Changer les couleurs de l'environnement#Menu coul"
	.ascii	"eurs...\n"
	.ascii	"   Musique: #|Active ou non la musique#\n"
	.ascii	"   Bruitages: #|Active ou non les bruitages#\n"
	.ascii	"   Morceau: #|Faites votre choix#\n"
	.ascii	"   CPU-M\350tre: #|Affiche l'utilisation du process"
	.ascii	"eur#\000"
	.global	evPause
	.data
	.align	2
	.type	evPause, %object
	.size	evPause, 12
evPause:
	.word	.LC15
	.word	.LC16
	.word	FctMenuPause
	.section	.rodata.str1.4
	.align	2
.LC17:
	.ascii	"Toilettes\000"
	.align	2
.LC18:
	.ascii	"Pour les dames\000"
	.align	2
.LC19:
	.ascii	"Messieurs\000"
	.align	2
.LC20:
	.ascii	"Salle de test\000"
	.align	2
.LC21:
	.ascii	"Bienvenue dans la salle de test. Choisissez une opt"
	.ascii	"ion:\n"
	.ascii	"#aide.txt|Ouvre le fichier d'aide standard#Obtenir "
	.ascii	"de l'aide sur le programme...\n"
	.ascii	"#webcam.txt|Projet by Tapy & Tscherrig#Projet: webc"
	.ascii	"amouse\n"
	.ascii	"#wifi.txt|Test de tr\350s long texte#Documentation "
	.ascii	"de Wingraph (librairie graphique pour le C et le C+"
	.ascii	"+)\n"
	.ascii	"#null|Test si le fichier n'existe pas#Rien du tout\n"
	.ascii	"#linux.txt|Powered by Vocat#Debian server\n"
	.ascii	"#video_conf.txt|Teste les couleurs disponibles#Test"
	.ascii	" de couleurs\000"
	.align	2
.LC22:
	.ascii	"Ascenseur\000"
	.align	2
.LC23:
	.ascii	"Permet de monter et descendre sans se fatiguer!\000"
	.align	2
.LC24:
	.ascii	"Caf\351t\351ria\000"
	.align	2
.LC25:
	.ascii	"Allez-y pour vous relaxer.\000"
	.align	2
.LC26:
	.ascii	"Salle 204\000"
	.align	2
.LC27:
	.ascii	"C'est dans cette salle que se sont d\351velopp\351s"
	.ascii	" les projets de 3\350me ann\351e.\000"
	.align	2
.LC28:
	.ascii	"M\351canique\000"
	.align	2
.LC29:
	.ascii	"Salle o\371 on lime des cubes et o\371 on perce de "
	.ascii	"la t\364le.\000"
	.global	evenements
	.section	.rodata
	.align	2
	.type	evenements, %object
	.size	evenements, 84
evenements:
	.word	.LC17
	.word	.LC18
	.word	0
	.word	.LC17
	.word	.LC19
	.word	0
	.word	.LC20
	.word	.LC21
	.word	0
	.word	.LC22
	.word	.LC23
	.word	0
	.word	.LC24
	.word	.LC25
	.word	0
	.word	.LC26
	.word	.LC27
	.word	0
	.word	.LC28
	.word	.LC29
	.word	0
	.global	infos
	.align	2
	.type	infos, %object
	.size	infos, 220
infos:
	.word	424
	.word	181
	.word	466
	.word	220
	.word	0
	.word	103
	.word	316
	.word	141
	.word	356
	.word	1
	.word	141
	.word	316
	.word	179
	.word	356
	.word	0
	.word	697
	.word	180
	.word	740
	.word	221
	.word	1
	.word	709
	.word	250
	.word	752
	.word	291
	.word	0
	.word	613
	.word	179
	.word	656
	.word	220
	.word	3
	.word	614
	.word	249
	.word	656
	.word	291
	.word	3
	.word	274
	.word	209
	.word	327
	.word	264
	.word	4
	.word	424
	.word	250
	.word	500
	.word	326
	.word	2
	.word	728
	.word	383
	.word	792
	.word	454
	.word	5
	.word	1
	.word	220
	.word	71
	.word	265
	.word	6
	.text
	.align	2
	.global	TesteInfos
	.type	TesteInfos, %function
TesteInfos:
	@ Function supports interworking.
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	stmfd	sp!, {r4, r5, lr}
	mov	r1, #0	@  i
	ldr	r4, .L218
	ldr	lr, [r0, #0]	@  <variable>.x
	mov	r5, r0	@  c
	mov	r2, r1	@  i,  i
.L215:
	ldr	r3, [r2, r4]	@  <variable>.x0
	cmp	lr, r3
	add	r0, r2, r4	@  c,  i
	add	r1, r1, #1	@  i,  i
	add	r2, r2, #20	@  i,  i
	bcc	.L212
	ldr	r3, [r0, #8]	@  <variable>.x1
	cmp	lr, r3
	bhi	.L212
	ldr	ip, [r5, #4]	@  <variable>.y
	ldr	r3, [r0, #4]	@  <variable>.y0
	cmp	ip, r3
	bcc	.L212
	ldr	r3, [r0, #12]	@  <variable>.y1
	cmp	ip, r3
	bls	.L209
.L212:
	cmp	r1, #10	@  i
	bls	.L215
	mov	r0, #0	@  c
.L209:
	ldmfd	sp!, {r4, r5, lr}
	bx	lr
.L219:
	.align	2
.L218:
	.word	infos
	.size	TesteInfos, .-TesteInfos
	.align	2
	.global	Affiche1Point
	.type	Affiche1Point, %function
Affiche1Point:
	@ Function supports interworking.
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	ldr	r2, .L221
	and	r3, r3, #255	@  select,  y
	mov	ip, sp
	add	r2, r2, r3, asl #7	@  x,  select
	stmfd	sp!, {r4, r5, fp, ip, lr, pc}
	sub	fp, ip, #4
	mov	r4, r0	@  x
	mov	r5, r1	@  y
	mov	r0, r2	@  x
	mov	r1, #256
	bl	AjouteSprite
	mov	r1, #1
	mov	r0, r0, asl #16	@  x
	mov	r3, r1
	mov	r0, r0, lsr #16	@  x
	mov	r2, #0
	bl	CreeObjetStandard
	ldr	r3, .L221+4
	ldr	r0, [r3, #0]	@  x,  objetsUtilises
	mov	r1, r4	@  x
	mov	r2, r5	@  y
	ldmea	fp, {r4, r5, fp, sp, lr}
	b	PlaceObjetEx
.L222:
	.align	2
.L221:
	.word	point_tiles
	.word	objetsUtilises
	.size	Affiche1Point, .-Affiche1Point
	.align	2
	.global	AffichePoints
	.type	AffichePoints, %function
AffichePoints:
	@ Function supports interworking.
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	mov	ip, sp
	stmfd	sp!, {r4, r5, r6, r7, r8, r9, sl, fp, ip, lr, pc}
	mov	sl, #0	@  select
	ldr	r8, .L235
	sub	fp, ip, #4
	mov	r7, r1	@  e
	mov	r9, r2	@  selection
	mov	r6, sl	@  i,  select
	mov	r5, sl	@  select,  select
.L231:
	add	lr, r5, r8	@  select
	add	r0, lr, #8
	ldmia	r0, {r0, r1}	@ phole ldm
	ldr	r2, [r5, r8]	@  <variable>.x0
	ldr	r3, [lr, #4]	@  <variable>.y0
	add	r2, r2, r0
	add	r3, r3, r1
	mov	r2, r2, lsr #1
	mov	r3, r3, lsr #1
	ldmia	r7, {r0, r1}	@ phole ldm
	sub	r2, r2, #8	@  x_point
	sub	r3, r3, #8	@  y_point
	rsb	ip, r1, r3	@  y,  y_point
	rsb	r4, r0, r2	@  x,  x_point
	cmn	ip, #16	@  y
	movlt	r3, #0
	movge	r3, #1
	add	r2, r4, #16	@  x
	cmp	r2, #255
	movhi	r3, #0
	andls	r3, r3, #1
	cmp	r3, #0
	beq	.L226
	cmp	ip, #159	@  y
	bgt	.L226
	cmp	r9, lr	@  selection
	mov	r0, r4	@  x
	mov	r1, ip	@  y
	mov	r2, #0
	mov	r3, #1
	beq	.L234
	mov	r2, #0
	mov	r0, r4	@  x
	mov	r1, ip	@  y
	mov	r3, r2
	bl	Affiche1Point
.L226:
	add	r6, r6, #1	@  i,  i
	cmp	r6, #10	@  i
	add	r5, r5, #20	@  select,  select
	bls	.L231
	mov	r0, sl	@  select
	ldmea	fp, {r4, r5, r6, r7, r8, r9, sl, fp, sp, lr}
	bx	lr
.L234:
	bl	Affiche1Point
	mov	sl, #1	@  select
	b	.L226
.L236:
	.align	2
.L235:
	.word	infos
	.size	AffichePoints, .-AffichePoints
	.align	2
	.global	InitBteDialogue
	.type	InitBteDialogue, %function
InitBteDialogue:
	@ Function supports interworking.
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	mov	ip, sp
	stmfd	sp!, {r4, r5, r6, fp, ip, lr, pc}
	mov	r1, #8192
	sub	fp, ip, #4
	ldr	r0, .L238
	bl	AjouteSprite
	mov	r0, r0, asl #16	@  i
	mov	r0, r0, lsr #16	@  i
	mov	r1, #0
	mov	r2, #3
	bl	CreeBoite
	ldr	r3, .L238+4
	ldr	r6, [r3, #0]	@  objetsUtilises
	ldr	ip, .L238+8
	mov	r0, r6, asl #3
	add	lr, r0, ip
	ldrh	r3, [lr, #2]	@  <variable>.attribut1
	ldrh	r2, [r0, ip]	@  <variable>.attribut0
	and	r3, r3, #65024
	and	r2, r2, #65280
	strh	r3, [lr, #2]	@ movhi 	@  <variable>.attribut1
	strh	r2, [r0, ip]	@ movhi 	@  <variable>.attribut0
	ldr	r3, .L238+12
	ldrh	r1, [lr, #2]	@  <variable>.attribut1
	ldrh	r2, [r0, ip]	@  <variable>.attribut0
	ldr	r5, [r3, #0]	@  rotData
	ldr	r3, .L238+16
	mov	r4, #0
	orr	r1, r1, #112
	orr	r2, r2, #24
	strh	r2, [r0, ip]	@ movhi 	@  <variable>.attribut0
	strh	r1, [lr, #2]	@ movhi 	@  <variable>.attribut1
	str	r6, [r3, #0]	@  num_spr_dialogue
	strh	r4, [r5, #22]	@ movhi 	@  <variable>.pc
	strh	r4, [r5, #14]	@ movhi 	@  <variable>.pb
	ldmea	fp, {r4, r5, r6, fp, sp, lr}
	bx	lr
.L239:
	.align	2
.L238:
	.word	noir_tiles
	.word	objetsUtilises
	.word	MonOAM
	.word	rotData
	.word	num_spr_dialogue
	.size	InitBteDialogue, .-InitBteDialogue
	.align	2
	.global	PlaceBteDialogue
	.type	PlaceBteDialogue, %function
PlaceBteDialogue:
	@ Function supports interworking.
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	mov	ip, sp
	stmfd	sp!, {r4, r5, fp, ip, lr, pc}
	ldr	r3, .L241
	ldr	r2, [r3, #0]	@  y_ww
	ldr	r3, .L241+4
	mov	r5, r1	@  y
	rsb	r2, r2, #64
	ldr	r1, [r3, #0]	@  x,  num_spr_dialogue
	mov	r4, r0	@  x
	sub	r2, r5, r2, lsr #1	@  y
	mov	r0, r1	@  x
	sub	fp, ip, #4
	mov	r1, r4	@  x
	sub	r2, r2, #32
	bl	PlaceObjetEx
	rsb	r4, r4, #0	@  x
	mov	r3, #67108864
	rsb	r5, r5, #0	@  y
	strh	r4, [r3, #20]	@ movhi 
	strh	r5, [r3, #22]	@ movhi 
	ldmea	fp, {r4, r5, fp, sp, lr}
	bx	lr
.L242:
	.align	2
.L241:
	.word	y_ww
	.word	num_spr_dialogue
	.size	PlaceBteDialogue, .-PlaceBteDialogue
	.bss
	.align	2
cur_x.5:
	.space	4
	.align	2
cur_y.6:
	.space	4
	.text
	.align	2
	.global	PlacementBteDialogue
	.type	PlacementBteDialogue, %function
PlacementBteDialogue:
	@ Function supports interworking.
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	mov	ip, sp
	stmfd	sp!, {r4, r5, r6, fp, ip, lr, pc}
	sub	fp, ip, #4
	ldr	r4, [r1, #0]	@  <variable>.x
	ldr	r3, [r0, #12]	@  <variable>.l
	ldr	ip, [r0, #0]	@  <variable>.x
	ldr	r5, [r0, #4]	@  <variable>.y
	ldr	lr, [r1, #4]	@  <variable>.y
	rsb	ip, r4, ip
	add	r3, r3, r3, lsr #31
	ldr	r1, [r0, #16]	@  <variable>.h
	add	ip, ip, r3, asr #1
	ldr	r3, .L261
	rsb	lr, lr, r5
	sub	ip, ip, #64	@  x
	ldr	r0, [r3, #0]	@  y_ww
	cmp	ip, #0	@  x
	movlt	ip, #0	@  x
	add	r1, lr, r1
	add	r3, ip, #128	@  x
	add	r5, r1, #5	@  y
	add	r1, r5, r0	@  y
	cmp	r3, #239
	movgt	ip, #112	@  x
	cmp	r1, #149
	rsbhi	r3, r0, lr
	subhi	r5, r3, #5	@  y
	and	r2, r2, #255	@  set
	cmp	r5, #0	@  y
	movlt	r5, #0	@  y
	cmp	r2, #0	@  set
	ldrne	r6, .L261+4
	ldrne	r4, .L261+8
	strne	ip, [r6, #0]	@  x,  cur_x
	strne	r5, [r4, #0]	@  y,  cur_y
	ldreq	r6, .L261+4
	ldreq	r4, .L261+8
	ldr	r0, .L261+4
	mov	r1, #0	@  i
.L257:
	ldr	r3, [r6, #0]	@  cur_x
	cmp	ip, r3	@  x
	add	r2, r3, #1
	movgt	r3, r2
	strgt	r2, [r6, #0]	@  cur_x
	cmp	ip, r3	@  x
	sub	r3, r3, #1
	strlt	r3, [r0, #0]	@  cur_x
	ldr	r3, [r4, #0]	@  cur_y
	add	r2, r3, #1
	cmp	r5, r3	@  y
	movgt	r3, r2
	strgt	r2, [r4, #0]	@  cur_y
	cmp	r5, r3	@  y
	sub	r2, r3, #1
	ldrlt	r3, .L261+8
	add	r1, r1, #1	@  i,  i
	strlt	r2, [r3, #0]	@  cur_y
	cmp	r1, #7	@  i
	bls	.L257
	ldr	r0, [r6, #0]	@  c,  cur_x
	ldr	r1, [r4, #0]	@  e,  cur_y
	bl	PlaceBteDialogue
	ldr	r1, [r6, #0]	@  cur_x
	ldr	r0, [r4, #0]	@  cur_y
	ldr	r3, .L261+12
	ldr	r2, .L261+16
	str	r1, [r3, #0]	@  endroit_x
	str	r0, [r2, #0]	@  endroit_y
	ldmea	fp, {r4, r5, r6, fp, sp, lr}
	bx	lr
.L262:
	.align	2
.L261:
	.word	y_ww
	.word	cur_x.5
	.word	cur_y.6
	.word	endroit_x
	.word	endroit_y
	.size	PlacementBteDialogue, .-PlacementBteDialogue
	.global	zt_infos
	.data
	.align	2
	.type	zt_infos, %object
	.size	zt_infos, 12
zt_infos:
	.word	buffer_infos
	.word	16
	.word	10
	.global	gblOffset
	.bss
	.global	gblOffset
	.align	2
	.type	gblOffset, %object
	.size	gblOffset, 4
gblOffset:
	.space	4
	.align	2
taille_max.7:
	.space	4
	.text
	.align	2
	.global	DessineInfo
	.type	DessineInfo, %function
DessineInfo:
	@ Function supports interworking.
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	mov	ip, sp
	stmfd	sp!, {r4, r5, r6, r7, r8, r9, sl, fp, ip, lr, pc}
	ldr	r3, .L310
	sub	sp, sp, #16
	sub	fp, ip, #4
	ldr	r2, [r3, #0]	@  Moyenne_hauteur
	ldr	r5, .L310+4
	ldr	r9, .L310+8
	ldr	sl, .L310+12
	str	r2, [r5, #0]	@  hauteur_texte
	ldr	r3, .L310+16
	ldr	r2, .L310+20
	str	r3, [r9, #0]	@  fonte
	str	r2, [sl, #0]	@  masque
	ldr	r3, .L310+24
	ldr	r2, .L310+28
	mov	r8, r0	@  ev
	str	r3, [r2, #0]	@  tailles
	ldr	r0, .L310+32
	ldr	r3, .L310+36
	mov	r7, r1	@  selection
	mov	lr, pc
	bx	r3
	ldr	r0, .L310+32
	ldr	r3, .L310+40
	mov	lr, pc
	bx	r3
	mov	r0, #0
	mov	r1, r0
	ldr	r4, .L310+44
	ldr	r2, [r8, #0]	@  <variable>.titre
	mov	r3, #2
	mov	lr, pc
	bx	r4
	ldr	r2, [r8, #0]	@  <variable>.titre
	mov	r0, #1
	mov	r1, #0
	mov	r3, #2
	mov	lr, pc
	bx	r4
	ldr	r4, .L310+48
	ldr	lr, [r8, #8]	@  <variable>.fonction
	ldr	r3, [r4, #0]	@  Arial_hauteur
	mvn	ip, #0
	ldr	r2, [r8, #4]	@  <variable>.texte
	str	r3, [r5, #0]	@  hauteur_texte
	str	ip, [sp, #0]
	str	lr, [sp, #8]
	ldr	ip, .L310+52
	ldr	lr, .L310+56
	str	ip, [r9, #0]	@  fonte
	str	lr, [sl, #0]	@  masque
	ldr	ip, .L310+28
	ldr	lr, .L310+60
	mov	r4, #0
	str	lr, [ip, #0]	@  tailles
	mov	r1, #13
	mov	r0, #2
	mov	r3, #3
	str	r4, [sp, #4]
	str	r4, [sp, #12]
	ldr	ip, .L310+64
	mov	lr, pc
	bx	ip
	ldr	lr, .L310+68
	cmp	r7, r4	@  selection
	ldr	r6, .L310+72
	ldr	r1, [lr, #0]	@  y_ww
	ldrlt	r2, .L310+76
	str	r1, [r6, #0]	@  taille_max
	strlt	r4, [r2, #0]	@  gblOffset
	blt	.L265
	bne	.L266
	ldr	r3, .L310+76
	ldr	r1, .L310+80
	str	r7, [r3, #0]	@  selection,  gblOffset
	ldr	r3, [r1, #36]	@  <variable>.yfin
	cmp	r3, #64
	ldr	r2, .L310+76
	blt	.L265
	ldr	r0, [r5, #0]	@  hauteur_texte
.L270:
	ldr	r3, [r2, #0]	@  gblOffset
	add	r3, r3, r0
	str	r3, [r2, #0]	@  gblOffset
	ldr	r2, [r1, #36]	@  <variable>.yfin
	add	r3, r3, #64
	cmp	r2, r3
	ldr	r2, .L310+76
	bge	.L270
.L265:
	ldr	r4, .L310+76
	ldr	r6, .L310+72
	ldr	r5, .L310+4
	ldr	ip, [r6, #0]	@  taille_max
	ldr	r3, [r4, #0]	@  gblOffset
	ldr	r2, [r5, #0]	@  hauteur_texte
	rsb	r3, r3, ip
	add	r3, r3, r2, asl #1
	cmp	r3, #63
	mov	r0, r4
	mov	r1, r5
	bhi	.L306
.L295:
	ldr	r1, [r1, #0]	@  hauteur_texte
	ldr	r2, [r0, #0]	@  gblOffset
	rsb	r2, r1, r2
	rsb	r3, r2, ip
	add	r3, r3, r1, asl #1
	cmp	r3, #63
	str	r2, [r0, #0]	@  gblOffset
	mov	r1, r5
	ldr	r0, .L310+76
	bls	.L295
.L306:
	ldr	lr, .L310+76
	ldr	ip, [lr, #0]	@  gblOffset
	ldr	r2, .L310+48
	cmp	ip, #0
	movlt	r3, #0
	strlt	r3, [lr, #0]	@  gblOffset
	movlt	ip, r3
	ldr	lr, [r8, #8]	@  <variable>.fonction
	ldr	r3, [r2, #0]	@  Arial_hauteur
	ldr	r4, .L310+52
	ldr	r2, [r8, #4]	@  <variable>.texte
	ldr	r8, .L310+56
	str	r4, [r9, #0]	@  fonte
	str	r8, [sl, #0]	@  masque
	ldr	r4, .L310+28
	ldr	r8, .L310+60
	str	r3, [r5, #0]	@  hauteur_texte
	str	r8, [r4, #0]	@  tailles
	str	ip, [sp, #4]
	mov	ip, #1
	mov	r0, #2
	mov	r3, #3
	str	lr, [sp, #8]
	str	ip, [sp, #12]
	mov	r1, #13
	str	r7, [sp, #0]	@  selection
	ldr	ip, .L310+64
	mov	lr, pc
	bx	ip
	ldr	lr, .L310+68
	ldr	r0, [r5, #0]	@  hauteur_texte
	ldr	r3, [lr, #0]	@  y_ww
	add	r2, r3, r0
	cmp	r2, #64
	str	r3, [r6, #0]	@  taille_max
	addhi	r3, r0, r0, asl #2
	ldrls	r3, .L310+68
	addhi	r3, r3, #14
	addls	r2, r2, #1
	strhi	r3, [lr, #0]	@  y_ww
	strls	r2, [r3, #0]	@  y_ww
	ldmea	fp, {r4, r5, r6, r7, r8, r9, sl, fp, sp, lr}
	bx	lr
.L266:
	ldr	r2, .L310+84
	ldr	r3, [r2, #0]	@  nEvenement
	sub	r3, r3, #1
	cmp	r7, r3	@  selection
	beq	.L309
	ldr	r0, [r5, #0]	@  hauteur_texte
	add	r3, r7, r7, asl #2	@  selection,  selection
	ldr	r2, .L310+80
	add	r3, r7, r3, asl #1	@  selection
	add	r5, r2, r3, asl #2
	add	r6, r0, r0, asl #1
.L308:
	add	r1, r5, #32
	ldmia	r1, {r1, r3}	@ phole ldm
	add	ip, r3, r0
	rsb	r3, r1, r3
	cmp	r3, r6
	ldrhi	lr, .L310+76
	subhi	r3, r1, #13
	strhi	r3, [lr, #0]	@  gblOffset
	bhi	.L265
	ldr	r2, .L310+76
	ldr	r3, [r2, #0]	@  gblOffset
	add	r2, r3, #64
	cmp	ip, r2
	add	lr, r3, r0
	rsb	r4, r0, r3
	add	r3, r3, #13
	ldrcs	r3, .L310+76
	strcs	lr, [r3, #0]	@  gblOffset
	bcs	.L308
	cmp	r1, r3
	ldrle	r3, .L310+76
	strle	r4, [r3, #0]	@  gblOffset
	ble	.L308
	b	.L265
.L309:
	ldr	r4, .L310+76
	ldr	r0, [r5, #0]	@  hauteur_texte
	ldr	r3, [r4, #0]	@  gblOffset
	add	ip, r1, r0
	add	r3, r3, #64
	cmp	ip, r3
	mov	r1, r4
	bcc	.L302
.L276:
	ldr	r3, [r1, #0]	@  gblOffset
	add	r3, r3, r0
	add	r2, r3, #64
	cmp	ip, r2
	str	r3, [r1, #0]	@  gblOffset
	ldr	r1, .L310+76
	bcs	.L276
.L302:
	ldr	r5, .L310+4
	ldr	ip, .L310+76
	ldr	r3, .L310+80
	add	r1, r7, r7, asl #2	@  selection,  selection
	add	r1, r7, r1, asl #1	@  selection
	ldr	r2, [ip, #0]	@  gblOffset
	ldr	r0, [r5, #0]	@  hauteur_texte
	add	ip, r3, r1, asl #2
	ldr	r3, [ip, #32]	@  <variable>.y
	rsb	r2, r0, r2
	add	r2, r2, #13
	cmp	r3, r2
	ldr	r1, .L310+76
	mov	r3, r5
	bhi	.L265
	mov	r0, ip
.L280:
	ldr	r3, [r3, #0]	@  hauteur_texte
	ldr	r2, [r1, #0]	@  gblOffset
	rsb	r2, r3, r2
	str	r2, [r1, #0]	@  gblOffset
	rsb	r2, r3, r2
	ldr	r1, [r0, #32]	@  <variable>.y
	add	r2, r2, #13
	cmp	r1, r2
	mov	r3, r5
	ldr	r1, .L310+76
	bls	.L280
	b	.L265
.L311:
	.align	2
.L310:
	.word	Moyenne_hauteur
	.word	hauteur_texte
	.word	fonte
	.word	masque
	.word	Moyenne_fonte
	.word	Moyenne_masque
	.word	Moyenne_tailles
	.word	tailles
	.word	zt_infos
	.word	SelectZoneTexte
	.word	EffaceZone
	.word	DessTexte
	.word	Arial_hauteur
	.word	Arial_fonte
	.word	Arial_masque
	.word	Arial_tailles
	.word	DessTexteSpecial
	.word	y_ww
	.word	taille_max.7
	.word	gblOffset
	.word	liens
	.word	nEvenement
	.size	DessineInfo, .-DessineInfo
	.bss
	.align	2
posY.8:
	.space	4
	.text
	.align	2
	.global	PlaceMiniMessage
	.type	PlaceMiniMessage, %function
PlaceMiniMessage:
	@ Function supports interworking.
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	@ link register save eliminated.
	ldr	r1, .L319
	cmp	r0, #0	@  actif
	@ lr needed for prologue
	ldr	r2, [r1, #0]	@  ancY,  posY
	beq	.L313
	cmp	r2, #10	@  ancY
	add	r3, r2, #1	@  ancY
	bgt	.L315
.L318:
	str	r3, [r1, #0]	@  posY
.L315:
	ldr	r3, [r1, #0]	@  actif,  posY
	cmp	r3, r2	@  actif,  ancY
	mov	r0, r3	@  actif
	ldrneh	r3, [r1, #0]	@  posY
	movne	r2, #67108864
	subne	r3, r3, #160
	strneh	r3, [r2, #30]	@ movhi 
	bx	lr
.L313:
	cmp	r2, #0	@  ancY
	sub	r3, r2, #1	@  ancY
	bgt	.L318
	b	.L315
.L320:
	.align	2
.L319:
	.word	posY.8
	.size	PlaceMiniMessage, .-PlaceMiniMessage
	.align	2
	.global	ChangeCouleursBteDialogue
	.type	ChangeCouleursBteDialogue, %function
ChangeCouleursBteDialogue:
	@ Function supports interworking.
	@ args = 0, pretend = 0, frame = 20
	@ frame_needed = 0, uses_anonymous_args = 0
	stmfd	sp!, {r4, r5, r6, r7, r8, r9, sl, lr}
	ldr	r1, .L329
	ldr	r3, .L329+4
	ldr	r4, [r3, #0]	@  PaletteObj
	ldr	r3, [r1, #12]	@  couleurs
	sub	sp, sp, #20
	str	r3, [sp, #16]	@  rdst
	ldr	r3, .L329
	ldmia	r1, {r0, ip}	@ phole ldm
	ldr	r2, [r1, #8]	@  bsrc,  couleurs
	ldr	r1, [r1, #16]	@  couleurs
	ldr	r3, [r3, #20]	@  couleurs
	str	r1, [sp, #12]	@  vdst
	rsb	r1, r0, #0	@  rsrc
	mov	r6, #0	@  i
	str	r3, [sp, #8]	@  bdst
	str	r1, [sp, #0]
	mov	r8, r6	@  i,  i
	rsb	r9, ip, #0	@  vsrc
	mov	r7, r6	@  i,  i
	mov	r5, r6	@  i,  i
	rsb	sl, r2, #0	@  bsrc
	mov	lr, r2, asl #5	@  bsrc
	mov	ip, ip, asl #5	@  vsrc
	mov	r0, r0, asl #5	@  rsrc
	mov	r6, #31	@  i
.L326:
	add	r2, r5, r0	@  i
	str	r2, [sp, #4]
	add	r3, r7, ip	@  i
	ldr	r1, [sp, #4]
	add	r2, r8, lr	@  i
	bic	r3, r3, #31
	add	r3, r3, r1, asr #5
	mov	r2, r2, asr #5
	add	r3, r3, r2, asl #10
	ldr	r2, [sp, #16]	@  rdst
	strh	r3, [r4, #64]	@ movhi 
	add	r5, r5, r2	@  i,  i
	ldr	r3, [sp, #0]
	ldr	r1, [sp, #12]	@  vdst
	ldr	r2, [sp, #8]	@  bdst
	subs	r6, r6, #1	@  i,  i
	add	r4, r4, #2
	add	r0, r0, r3
	add	r7, r7, r1	@  i,  i
	add	ip, ip, r9
	add	r8, r8, r2	@  i,  i
	add	lr, lr, sl
	bpl	.L326
	ldr	r1, .L329
	ldr	r3, .L329
	ldrh	r4, [r1, #72]	@  couleurs
	ldr	r0, [r3, #28]	@  couleurs
	ldr	ip, [r3, #40]	@  couleurs
	ldrh	r5, [r3, #24]	@  couleurs
	ldrh	r6, [r3, #36]	@  couleurs
	ldr	r3, [r3, #76]	@  couleurs
	ldr	r2, [r1, #88]	@  couleurs
	add	r4, r4, r3, asl #5
	ldrh	lr, [r1, #84]	@  couleurs
	ldr	r3, .L329+8
	ldr	r7, [r1, #32]	@  couleurs
	add	r5, r5, r0, asl #5
	add	lr, lr, r2, asl #5
	ldr	r9, [r1, #92]	@  couleurs
	ldr	r2, [r3, #0]	@  Palette
	ldr	r8, [r1, #44]	@  couleurs
	ldr	sl, [r1, #80]	@  couleurs
	mov	r3, #388
	add	r6, r6, ip, asl #5
	add	r3, r3, #2
	mov	r0, #392
	mov	ip, #384
	add	r5, r5, r7, asl #10
	strh	r5, [r2, r3]	@ movhi 
	add	r6, r6, r8, asl #10
	add	r4, r4, sl, asl #10
	add	lr, lr, r9, asl #10
	add	r0, r0, #2
	add	ip, ip, #2
	mov	r3, #388
	strh	r6, [r2, r3]	@ movhi 
	strh	r4, [r2, r0]	@ movhi 
	strh	lr, [r2, ip]	@ movhi 
	add	sp, sp, #20
	ldmfd	sp!, {r4, r5, r6, r7, r8, r9, sl, lr}
	bx	lr
.L330:
	.align	2
.L329:
	.word	couleurs
	.word	PaletteObj
	.word	Palette
	.size	ChangeCouleursBteDialogue, .-ChangeCouleursBteDialogue
	.global	lastnEv
	.bss
	.global	lastnEv
	.align	2
	.type	lastnEv, %object
	.size	lastnEv, 4
lastnEv:
	.space	4
	.section	.rodata.str1.4
	.align	2
.LC30:
	.ascii	"curs1.son\000"
	.text
	.align	2
	.global	SelectionneProjet
	.type	SelectionneProjet, %function
SelectionneProjet:
	@ Function supports interworking.
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	mov	ip, sp
	stmfd	sp!, {r4, r5, r6, r7, r8, r9, sl, fp, ip, lr, pc}
	ldr	r3, .L384
	sub	fp, ip, #4
	sub	sp, sp, #8
	ldr	ip, [r3, #0]	@  action
	mov	r2, #4352
	add	r2, r2, #17
	cmp	ip, #1
	orr	r2, r2, r2, asl #16
	str	r2, [fp, #-44]
	ldreq	r3, .L384+4
	mov	r5, #0	@  nEv
	mov	r9, r0	@  c
	mov	r7, r5	@  bien_place,  nEv
	str	r5, [fp, #-48]	@  bien_place,  repete
	ldr	r2, .L384+8
	ldreq	r5, [r3, #0]	@  nEv,  lastnEv
	ldr	r3, [r9, #8]	@  <variable>.no_sprite
	add	r2, r2, r3, asl #3
	mov	sl, r1	@  ev
	ldrh	r1, [r2, #2]	@  <variable>.attribut1
	ldr	r3, .L384+12
	orr	r1, r1, #4096
	mov	r6, r5, asl #2	@  nEv
	strh	r1, [r2, #2]	@ movhi 	@  <variable>.attribut1
	str	r9, [r3, #0]	@  c,  gblCurs
.L333:
.L378:
	mov	r0, sl	@  ev
	mov	r1, r5	@  nEv
	bl	DessineInfo
	ldr	lr, .L384+16
	ldrb	r8, [lr, #0]	@ zero_extendqisi2	@  activite_message,  message_fond
.L345:
	ldr	r1, .L384+20
	add	r3, r6, r5	@  nEv
	add	r3, r5, r3, asl #1	@  nEv
	add	r3, r1, r3, asl #2
	ldr	r1, [r3, #32]	@  <variable>.y
	ldr	r0, [r3, #36]	@  <variable>.yfin
	ldr	r3, .L384+24
	ldr	ip, .L384+28
	ldr	r2, [r3, #0]	@  endroit_y
	ldr	lr, .L384+32
	ldr	r3, [ip, #0]	@  gblOffset
	rsb	r0, r1, r0
	add	r2, r2, r1
	rsb	r2, r3, r2
	ldr	r1, [lr, #0]	@  endroit_x
	add	r0, r0, r0, lsr #31
	cmp	r7, #0	@  bien_place
	add	r2, r2, r0, asr #1
	moveq	r3, #8
	movne	r3, #2
	sub	r1, r1, #25	@  ev
	sub	r2, r2, #3	@  TOUCHES
	ldr	r0, [r9, #8]	@  c,  <variable>.no_sprite
	bl	BougeMain
	ldr	r1, .L384+36
	mov	r3, r0	@  c
	ldr	r2, [r1, #0]	@  Arial_hauteur
	cmp	r3, #0	@  c
	ldr	lr, .L384+40
	ldr	r3, .L384+44
	ldr	ip, .L384+48
	str	r2, [r3, #0]	@  hauteur_texte
	str	lr, [ip, #0]	@  fonte
	ldr	r2, .L384+52
	ldr	r3, .L384+56
	ldr	r1, .L384+60
	ldr	ip, .L384+64
	str	r2, [r1, #0]	@  masque
	str	ip, [r3, #0]	@  tailles
	ldr	r0, .L384+68
	ldr	r1, .L384+72
	movne	r7, #1	@  bien_place
	mov	lr, pc
	bx	r1
	ldr	r2, .L384+16
	ldrb	r3, [r2, #0]	@ zero_extendqisi2	@  message_fond
	cmp	r3, #0
	bne	.L379
.L371:
	ldr	r1, .L384+76
	mov	lr, pc
	bx	r1
	mov	r0, r8	@  activite_message
	bl	PlaceMiniMessage
	ldr	r2, .L384+80
	ldr	r0, .L384+8
	ldr	r1, [r2, #0]	@  ev,  pOAM
	mov	r3, #-2080374784
	mov	r2, #256
	ldr	ip, .L384+84
	mov	lr, pc
	bx	ip
	ldr	r1, .L384+88
	mov	lr, pc
	bx	r1
	ldr	r2, .L384+92
	ldr	ip, [r2, #0]	@  nFrame
	ldr	lr, .L384+92
	mov	r1, #100663296
	add	ip, ip, #1
	add	r1, r1, #32768
	str	ip, [lr, #0]	@  nFrame
	ldr	r0, .L384+96
	add	r1, r1, #32
	mov	r2, #2560
	mov	r3, #-2147483648
	ldr	ip, .L384+100
	mov	lr, pc
	bx	ip
	mov	r1, #100663296
	add	r1, r1, #49152
	ldr	r0, .L384+104
	mov	r2, #3840
	mov	r3, #-2147483648
	ldr	ip, .L384+100
	add	r1, r1, #32
	mov	lr, pc
	bx	ip
	ldr	r1, .L384+108
	mov	lr, pc
	bx	r1
	ldr	r3, .L384+112
	mov	r0, #67108864
	ldr	r1, [r3, #0]	@  ancienRegTouches
	ldr	r2, [r0, #304]
	orr	r2, r2, r1
	ldr	r3, [r0, #304]
	mvn	r2, r2
	mov	r4, r2, asl #22	@  TOUCHES
	mvn	r3, r3
	mov	r4, r4, lsr #22	@  TOUCHES,  TOUCHES
	cmp	r4, #0	@  TOUCHES
	mov	r3, r3, asl #22
	ldr	ip, .L384+112
	mov	r3, r3, lsr #22
	movne	lr, #0
	str	r3, [ip, #0]	@  ancienRegTouches
	strne	lr, [fp, #-48]	@  repete
	bne	.L339
	ldr	r1, [fp, #-48]	@  repete
	add	r1, r1, #1
	cmp	r1, #30
	str	r1, [fp, #-48]	@  repete
	ble	.L339
	tst	r1, #7
	ldreq	r3, [r0, #304]
	mvneq	r3, r3
	andeq	r4, r3, #1008	@  TOUCHES
.L339:
	ldr	r3, [sl, #8]	@  <variable>.fonction
	cmp	r3, #0
	bne	.L380
.L340:
	cmp	r4, #0	@  TOUCHES
	beq	.L345
	tst	r4, #128	@  TOUCHES
	bne	.L381
	tst	r4, #64	@  TOUCHES
	bne	.L382
	tst	r4, #1	@  TOUCHES
	beq	.L350
	add	r3, r6, r5	@  nEv
	ldr	ip, .L384+20
	add	r3, r5, r3, asl #1	@  nEv
	mov	r3, r3, asl #2
	ldrb	r2, [r3, ip]	@ zero_extendqisi2	@  <variable>.symbole
	cmp	r2, #0
	add	r8, r3, ip	@  c
	bne	.L351
	mov	r2, r4	@  TOUCHES
	mov	r0, #1
	mov	r1, r5	@  nEv
	ldr	ip, [sl, #8]	@  <variable>.fonction
	mov	lr, pc
	bx	ip
	cmp	r0, #0	@  i
	beq	.L378
	cmp	r0, #2	@  i
	beq	.L344
.L347:
	cmp	r5, #0	@  nEv
	blt	.L383
.L374:
	ldr	r2, .L384+116
	ldr	r3, [r2, #0]	@  nEvenement
	cmp	r5, r3	@  nEv
	bcc	.L377
	mov	r1, r2
.L365:
	ldr	r3, [r2, #0]	@  nEvenement
	rsb	r5, r3, r5	@  nEv,  nEv
	cmp	r5, r3	@  nEv
	mov	r2, r1
	bcs	.L365
.L377:
	mov	r6, r5, asl #2	@  nEv
	b	.L378
.L383:
	ldr	r1, .L384+116
	ldr	r3, [r1, #0]	@  nEvenement
.L361:
	adds	r5, r5, r3	@  nEv,  nEv
	bmi	.L361
	b	.L374
.L344:
	mov	r0, #0	@  c
.L331:
	ldmea	fp, {r4, r5, r6, r7, r8, r9, sl, fp, sp, lr}
	bx	lr
.L351:
	ldr	r0, .L384+120
	ldr	r3, .L384+124
	mov	lr, pc
	bx	r3
	mov	r0, r8	@  c
	ldr	r3, .L384+128
	mov	lr, pc
	bx	r3
	ldr	r3, .L384+4
	mov	r0, #1	@  c
	str	r5, [r3, #0]	@  nEv,  lastnEv
	b	.L331
.L350:
	tst	r4, #2	@  TOUCHES
	beq	.L347
	ldr	r0, .L384+132
	ldr	r3, .L384+124
	mov	lr, pc
	bx	r3
	b	.L344
.L382:
	ldr	r0, .L384+136
	ldr	r3, .L384+124
	mov	lr, pc
	bx	r3
	sub	r5, r5, #1	@  nEv,  nEv
	b	.L347
.L381:
	ldr	r0, .L384+136
	ldr	r3, .L384+124
	add	r5, r5, #1	@  nEv,  nEv
	mov	lr, pc
	bx	r3
	b	.L347
.L380:
	mov	r0, #3
	mov	r1, r5	@  nEv
	mov	r2, r4	@  TOUCHES
	mov	lr, pc
	bx	r3
	cmp	r0, #0	@  i
	beq	.L378
	cmp	r0, #2	@  i
	bne	.L340
	b	.L344
.L379:
	sub	r0, fp, #44
	ldr	r1, .L384+104
	mov	r2, #480
	mov	r3, #-2080374784
	ldr	ip, .L384+140
	mov	lr, pc
	bx	ip
	mov	r0, #0
	mov	r3, #5
	ldr	ip, .L384+144
	mov	r1, r0
	ldr	r2, .L384+16
	mov	lr, pc
	bx	ip
	ldr	ip, .L384+16
	mov	r3, #0
	strb	r3, [ip, #0]	@  message_fond
	b	.L371
.L385:
	.align	2
.L384:
	.word	action
	.word	lastnEv
	.word	MonOAM
	.word	gblCurs
	.word	message_fond
	.word	liens
	.word	endroit_y
	.word	gblOffset
	.word	endroit_x
	.word	Arial_hauteur
	.word	Arial_fonte
	.word	hauteur_texte
	.word	fonte
	.word	Arial_masque
	.word	tailles
	.word	masque
	.word	Arial_tailles
	.word	zt_debug
	.word	SelectZoneTexte
	.word	AttendVSync
	.word	pOAM
	.word	CopieDMA0
	.word	Main_EffetsPalette
	.word	nFrame
	.word	buffer_infos
	.word	CopieDMA
	.word	buffer_debug
	.word	FadeOut
	.word	ancienRegTouches
	.word	nEvenement
	.word	.LC12
	.word	JoueSon
	.word	LTMain
	.word	.LC13
	.word	.LC30
	.word	MemSet
	.word	DessTexte
	.size	SelectionneProjet, .-SelectionneProjet
	.global	fade_actif
	.bss
	.global	fade_actif
	.align	2
	.type	fade_actif, %object
	.size	fade_actif, 4
fade_actif:
	.space	4
	.text
	.align	2
	.global	FadeIn
	.type	FadeIn, %function
FadeIn:
	@ Function supports interworking.
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	ldr	r3, .L396
	mov	ip, sp
	mov	r0, #67108864
	mov	r1, #1
	mvn	r2, #49152
	stmfd	sp!, {r4, r5, r6, r7, fp, ip, lr, pc}
	str	r1, [r3, #0]	@  fade_actif
	strh	r2, [r0, #80]	@ movhi 
	ldr	r7, .L396+4
	ldr	r6, .L396+8
	sub	fp, ip, #4
	mov	r5, r0
	mov	r4, #0	@  i
.L393:
	add	r3, r4, r4, lsr #31	@  i,  i
	mov	r3, r3, asr #1
	ldr	r1, [r7, #0]	@  bTransp
	rsb	r2, r3, #8
	rsb	r3, r3, r2, asl #8
	cmp	r1, #0
	rsb	r2, r4, #16	@  i
	add	r3, r3, #8
	strh	r4, [r5, #84]	@ movhi 	@  i
	strneh	r3, [r5, #82]	@ movhi 
	streqh	r2, [r5, #82]	@ movhi 
	add	r4, r4, #1	@  i,  i
	mov	lr, pc
	bx	r6
	cmp	r4, #16	@  i
	ble	.L393
	ldmea	fp, {r4, r5, r6, r7, fp, sp, lr}
	bx	lr
.L397:
	.align	2
.L396:
	.word	fade_actif
	.word	bTransp
	.word	AttendVSync
	.size	FadeIn, .-FadeIn
	.align	2
	.global	FadeOut
	.type	FadeOut, %function
FadeOut:
	@ Function supports interworking.
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	mov	ip, sp
	stmfd	sp!, {r4, r5, r6, r7, fp, ip, lr, pc}
	ldr	r1, .L408
	ldr	r3, [r1, #0]	@  fade_actif
	mov	r2, #67108864
	cmp	r3, #0
	mvn	r3, #49152
	sub	fp, ip, #4
	strh	r3, [r2, #80]	@ movhi 
	beq	.L398
	mov	r3, #0
	str	r3, [r1, #0]	@  fade_actif
	ldr	r7, .L408+4
	ldr	r6, .L408+8
	mov	r5, r2
	mov	r4, #16	@  i
.L406:
	add	r3, r4, r4, lsr #31	@  i,  i
	mov	r3, r3, asr #1
	ldr	r1, [r7, #0]	@  bTransp
	rsb	r2, r3, #8
	rsb	r3, r3, r2, asl #8
	cmp	r1, #0
	rsb	r2, r4, #16	@  i
	add	r3, r3, #8
	strh	r4, [r5, #84]	@ movhi 	@  i
	strneh	r3, [r5, #82]	@ movhi 
	streqh	r2, [r5, #82]	@ movhi 
	mov	lr, pc
	bx	r6
	subs	r4, r4, #1	@  i,  i
	bpl	.L406
.L398:
	ldmea	fp, {r4, r5, r6, r7, fp, sp, lr}
	bx	lr
.L409:
	.align	2
.L408:
	.word	fade_actif
	.word	bTransp
	.word	AttendVSync
	.size	FadeOut, .-FadeOut
	.global	zt_debug
	.data
	.align	2
	.type	zt_debug, %object
	.size	zt_debug, 12
zt_debug:
	.word	buffer_debug
	.word	30
	.word	8
	.section	.rodata.str1.4
	.align	2
.LC31:
	.ascii	"\251S1\251C2\251G1\251I1Map interactive\251G0\251C1"
	.ascii	"\251I0\251S0\n\n"
	.ascii	"Bienvenue dans la \251G1map interactive\251G0 pour "
	.ascii	"la \251C3\251G1Game Boy Advance de Nintendo\251G0.\251"
	.ascii	"C1\n"
	.ascii	"Ceci vous permettra #Ptest# de \"visiter\" le b\342"
	.ascii	"timent de l'EMVs et de voir les projets pr\351sent\351"
	.ascii	"s dans les diverses salles.\n\n"
	.ascii	"Utilisez les touches directionnelles pour d\351plac"
	.ascii	"er le curseur (la main) sur l'\351cran. Les zones e"
	.ascii	"t les salles pour lesquelles des informations sont "
	.ascii	"diponibles sont marqu\351es d'un point bleu. Lorsqu"
	.ascii	"e vous touchez ce point, vous pouvez appuyer sur A "
	.ascii	"pour placer le curseur dans la bo\356te d'informati"
	.ascii	"ons et s\351lectionner le projet d\351sir\351 \340 "
	.ascii	"l'aide des touches directionnelles et du bouton A.\n"
	.ascii	"\n"
	.ascii	"D'une mani\350re g\351n\351rale, le bouton A est ut"
	.ascii	"ilis\351 pour \251C4valider\251C1 un choix et le bo"
	.ascii	"uton B pour \251C3annuler\251C1. R fait appara\356t"
	.ascii	"re un menu d'\251C2aide contextuelle\251C1.\n\n"
	.ascii	"A pr\351sent, vous pouvez appuyer sur B pour retour"
	.ascii	"ner \340 l'\351cran carte.\000"
	.global	laide
	.data
	.align	2
	.type	laide, %object
	.size	laide, 4
laide:
	.word	.LC31
	.text
	.align	2
	.global	Main_EffetsPalette
	.type	Main_EffetsPalette, %function
Main_EffetsPalette:
	@ Function supports interworking.
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	stmfd	sp!, {r4, r5, r6, r7, r8, r9, sl, lr}
	ldr	ip, .L413
	ldr	r4, [ip, #0]	@  nFrame
	and	r2, r4, #31
	mov	r0, r2, lsr #2
	add	r1, r2, r2, asl #1
	rsb	r3, r0, #31
	rsb	r2, r2, #31
	ldrh	lr, [ip, #0]	@  nFrame
	add	r0, r0, r3, asl #5
	mov	r1, r1, asr #2
	ldr	r3, .L413+4
	rsb	r1, r1, #24
	mov	ip, r2, asl #10
	add	r0, r0, r1, asl #10
	and	sl, r4, #63	@  i
	ldr	r1, [r3, #0]	@  PaletteObj
	ldr	r8, .L413+8
	and	lr, lr, #31
	sub	ip, ip, #64512
	add	lr, lr, r2, asl #5
	add	r0, r0, #24
	sub	ip, ip, #1
	cmp	sl, #31	@  i
	mov	r6, r8
	mov	r9, sl	@  j,  i
	strh	ip, [r1, #46]	@ movhi 
	strh	lr, [r1, #42]	@ movhi 
	strh	r0, [r1, #44]	@ movhi 
	ble	.L411
	sub	sl, sl, #32	@  i,  i
	ldr	r2, [r8, #52]	@  couleurs
	rsb	r9, sl, #32	@  j,  i
	ldr	r1, [r8, #56]	@  couleurs
	ldr	r3, [r8, #48]	@  couleurs
	mul	lr, r2, r9	@  j
	mul	r5, r3, r9	@  j
	mul	r4, r1, r9	@  j
	add	r0, r8, #64
	ldmia	r0, {r0, r3}	@ phole ldm
	ldr	ip, [r8, #60]	@  couleurs
	mla	r2, r0, sl, lr	@  i
	mla	r1, r3, sl, r4	@  i
	mla	r0, ip, sl, r5	@  i
	ldr	r3, .L413+12
	bic	r2, r2, #31
	add	r2, r2, r0, asr #5
	mov	r1, r1, asr #5
	ldr	r0, [r3, #0]	@  Palette
	add	r2, r2, r1, asl #10
	mov	r3, #392
	strh	r2, [r0, r3]	@ movhi 
.L410:
	ldmfd	sp!, {r4, r5, r6, r7, r8, r9, sl, lr}
	bx	lr
.L411:
	add	r1, r8, #52
	ldmia	r1, {r1, r4}	@ phole ldm
	ldr	r5, [r8, #48]	@  couleurs
	mul	r2, r1, r9	@  j
	mul	r0, r4, r9	@  j
	mul	ip, r5, r9	@  j
	ldr	r6, [r8, #64]	@  couleurs
	ldr	r3, .L413+12
	rsb	sl, sl, #32	@  i,  j
	ldr	r7, [r8, #60]	@  couleurs
	ldr	lr, [r8, #68]	@  couleurs
	ldr	r8, [r3, #0]	@  Palette
	mla	r3, r6, sl, r2	@  i
	mla	r1, lr, sl, r0	@  i
	mla	r2, r7, sl, ip	@  i
	bic	r3, r3, #31
	add	r3, r3, r2, asr #5
	mov	r1, r1, asr #5
	add	r3, r3, r1, asl #10
	mov	r2, #392
	strh	r3, [r8, r2]	@ movhi 
	b	.L410
.L414:
	.align	2
.L413:
	.word	nFrame
	.word	PaletteObj
	.word	couleurs
	.word	Palette
	.size	Main_EffetsPalette, .-Main_EffetsPalette
	.global	action
	.bss
	.global	action
	.align	2
	.type	action, %object
	.size	action, 4
action:
	.space	4
	.global	__divsi3
	.global	__udivsi3
	.section	.rodata.str1.4
	.align	2
.LC33:
	.ascii	"CPU: %i%%\000"
	.align	2
.LC32:
	.ascii	"aide.txt\000"
	.text
	.align	2
	.global	main
	.type	main, %function
main:
	@ Function supports interworking.
	@ args = 0, pretend = 0, frame = 152
	@ frame_needed = 1, uses_anonymous_args = 0
	mov	ip, sp
	stmfd	sp!, {r4, r5, r6, r7, r8, r9, sl, fp, ip, lr, pc}
	sub	fp, ip, #4
	sub	sp, sp, #160
	mov	sl, #0	@  maj_requise
	ldr	r3, .L469
	str	sl, [fp, #-176]	@  maj_requise
	mov	lr, pc
	bx	r3
	sub	r0, fp, #172
	bl	InitEcran
	ldr	r3, .L469+4
	mov	lr, pc
	bx	r3
	mov	r0, #1
	ldr	r3, .L469+8
	mov	lr, pc
	bx	r3
	ldr	r1, .L469+12
	ldr	r3, .L469+16
	str	sl, [r1, #0]	@  maj_requise,  nFrame
	mov	lr, pc
	bx	r3
	ldr	r2, .L469+20
	mov	lr, pc
	bx	r2
	ldr	r3, .L469+24
	ldr	r2, [r3, #0]	@  maj_requise,  numero_musique
	cmp	r2, #2	@  maj_requise
	strhi	sl, [r3, #0]	@  maj_requise,  numero_musique
	ldr	r3, .L469+28
	movhi	r2, sl	@  maj_requise,  maj_requise
	ldr	r0, [r3, r2, asl #2]	@  info,  musiques
	str	sl, [fp, #-188]	@  maj_requise,  pauseActive
	ldr	r3, .L469+32
	mov	lr, pc
	bx	r3
	mov	r2, #67108864
	mov	r3, #17152
	add	r2, r2, #516
	add	r3, r3, #23
	strh	r3, [r2, #0]	@ movhi 
	mov	r8, sl	@  transp,  maj_requise
.L417:
.L458:
	sub	r0, fp, #176
	mov	r1, #100663296
	mov	r2, #16384
	mov	r3, #-2080374784
	ldr	ip, .L469+36
	mov	lr, pc
	bx	ip
	ldr	lr, .L469+40
	mov	r2, #16256
	mov	r0, #15872
	mov	ip, #15616
	mov	r6, #67108864
	add	r2, r2, #3
	add	r0, r0, #9
	add	ip, ip, #8
	mov	r3, #6976
	ldr	r1, [lr, #0]	@  transp,  Palette
	str	r3, [r6, #0]
	mov	r3, #-2147483648
	strh	r2, [r6, #8]	@ movhi 
	mov	r2, #192
	strh	r0, [r6, #10]	@ movhi 
	ldr	r0, .L469+44
	strh	ip, [r6, #14]	@ movhi 
	ldr	ip, .L469+48
	mov	lr, pc
	bx	ip
	bl	InitTileSystem
	bl	InitSprites
	sub	r0, fp, #164
	bl	InitCurseur
	bl	InitBteDialogue
	ldr	lr, .L469+52
	ldr	r1, [lr, #0]	@  PaletteObj
	ldr	ip, .L469+48
	add	r1, r1, #32	@  transp
	mov	r2, #16
	mov	r3, #-2147483648
	ldr	r0, .L469+56
	mov	lr, pc
	bx	ip
	ldr	lr, .L469+40
	ldr	r2, [lr, #0]	@  Palette
	mvn	r3, #32768
	strh	r3, [r2, #0]	@ movhi 
	mov	r0, #29
	bl	EffaceScreenBlock
	mov	r5, #8
	mov	r4, #30	@  info
	mov	r1, #0
	mov	r0, #100663296
	mov	r2, r1
	add	r0, r0, #59392
	mov	r3, #512
	str	r4, [sp, #0]	@  info
	ldr	ip, .L469+60
	str	r5, [sp, #4]
	mov	lr, pc
	bx	ip
	mov	r7, #12
	mov	r1, #0
	mov	r0, #100663296
	mov	r2, r1
	mov	r3, r4	@  info
	ldr	ip, .L469+64
	add	r0, r0, #59392
	stmia	sp, {r5, r7}	@ phole stm
	mov	lr, pc
	bx	ip
	mov	r0, r4	@  info
	bl	EffaceScreenBlock
	mov	r4, #16	@  transp
	mov	r1, #0
	mov	r0, #100663296
	mov	r2, r1
	mov	r3, r1
	add	r0, r0, #61440
	ldr	ip, .L469+60
	stmia	sp, {r4, r5}	@ phole stm
	mov	lr, pc
	bx	ip
	mov	r1, #0
	mov	r0, #100663296
	mov	r2, r1
	mov	r3, r4	@  transp
	ldr	ip, .L469+64
	add	r0, r0, #61440
	stmia	sp, {r5, r7}	@ phole stm
	mov	lr, pc
	bx	ip
	ldr	r1, .L469+68
	ldr	r0, .L469+72
	mov	lr, pc
	bx	r1
	sub	r0, fp, #184
	bl	SauveSpriteParam
	ldr	r3, [r6, #304]
	mvn	r3, r3
	ldr	r2, .L469+76
	mov	r3, r3, asl #22
	mov	r3, r3, lsr #22
	str	r3, [r2, #0]	@  ancienRegTouches
	bl	ChangeCouleursBteDialogue
	mov	r3, #0
	str	r3, [fp, #-192]	@  lastInfo
	mov	r9, r6
.L456:
	sub	r0, fp, #164
	sub	r1, fp, #172
	bl	GereCurseur
	ldr	lr, .L469+80
	mov	ip, #0
	sub	r0, fp, #172
	ldmia	r0, {r0, r1}	@ phole ldm
	str	ip, [lr, #0]	@  depassement
	ldr	lr, .L469+84
	ldr	ip, .L469+88
	mov	r2, #200
	str	lr, [ip, #0]	@  pRoutineLointaine
	mov	r3, #122
	mov	ip, lr
	mov	r0, r0, asr #3	@  info
	mov	r1, r1, asr #3	@  transp
	mov	lr, pc
	bx	ip
	sub	r0, fp, #184
	mov	r1, #1
	bl	RestoreSpriteParam
	ldr	lr, .L469+76
	ldr	r3, [r9, #304]
	ldr	r2, [lr, #0]	@  ancienRegTouches
	orr	r3, r3, r2
	mvn	r3, r3
	mov	r6, r3, asl #22	@  TOUCHES
	ldr	r2, [r9, #304]
	mov	r6, r6, lsr #22	@  TOUCHES,  TOUCHES
	mvn	r2, r2
	mov	r3, r6, lsr #8	@  TOUCHES
	mov	r2, r2, asl #22
	and	r3, r3, #1
	mov	r2, r2, lsr #22
	bics	r3, r3, sl	@  maj_requise
	str	r2, [lr, #0]	@  ancienRegTouches
	bne	.L461
	mov	r3, r6, lsr #3	@  TOUCHES
	and	r3, r3, #1
	bics	r3, r3, sl	@  maj_requise
	bne	.L462
.L422:
	ldr	r2, [fp, #-188]	@  pauseActive
	cmp	r2, #0
	bne	.L463
.L424:
	sub	r0, fp, #164
	bl	TesteInfos
	mov	r7, r0	@  info
	sub	r1, fp, #172
	sub	r0, fp, #164
	mov	r2, r7	@  info
	bl	AffichePoints
	ldr	r1, [fp, #-188]	@  pauseActive
	eor	r3, r1, #1
	cmp	r7, #0	@  info
	moveq	r3, #0
	andne	r3, r3, #1
	cmp	r3, #0
	beq	.L425
	ldr	r2, [fp, #-192]	@  lastInfo
	subs	r3, r2, r7	@  info
	movne	r3, #1
	cmp	r8, #0	@  transp
	orreq	r3, r3, #1
	cmp	r3, #0
	bne	.L427
	cmp	r8, #16	@  transp
	movne	r3, #0
	andeq	r3, sl, #1	@  maj_requise
	cmp	r3, #0
	beq	.L426
.L427:
	ldr	r0, [r7, #16]	@  <variable>.event
	ldr	r3, .L469+92
	add	r0, r0, r0, asl #1
	add	r0, r3, r0, asl #2	@  info
	mvn	r1, #0
	bl	DessineInfo
.L426:
	cmp	r8, #15	@  transp
	beq	.L429
	cmp	r8, #16	@  transp
	movne	r3, #0
	moveq	r3, #1
	tst	sl, r3	@  maj_requise
	bne	.L429
	ldr	ip, [fp, #-192]	@  lastInfo
	cmp	ip, r7	@  info
	moveq	r3, #0
	andne	r3, r3, #1
	cmp	r3, #0
	beq	.L428
.L429:
	mov	r1, #100663296
	add	r1, r1, #32768
	ldr	r0, .L469+96
	add	r1, r1, #32
	mov	r2, #2560
	mov	r3, #-2147483648
	ldr	ip, .L469+48
	mov	lr, pc
	bx	ip
.L428:
	cmp	r8, #15	@  transp
	addle	r8, r8, #1	@  transp,  transp
.L431:
	ldr	r1, .L469+100
	ldr	r3, [r1, #0]	@  bCPUMetre
	cmp	r3, #0
	str	r7, [fp, #-192]	@  info,  lastInfo
	bne	.L464
.L433:
	ldr	r1, .L469+104
	mov	lr, pc
	bx	r1
	ldr	r2, .L469+108
	mov	lr, pc
	bx	r2
	ldrh	r3, [fp, #-172]
	ldrh	r2, [fp, #-168]	@  ecr.y
	and	r3, r3, #7
	and	r2, r2, #7
	mov	r5, #67108864
	mov	r1, #100663296
	strh	r3, [r5, #16]	@ movhi 
	ldr	r0, .L469+112
	strh	r2, [r5, #18]	@ movhi 
	add	r1, r1, #63488
	mov	r2, #352
	mov	r3, #-2080374784
	ldr	ip, .L469+116
	mov	lr, pc
	bx	ip
	mov	r0, #0
	bl	PlaceMiniMessage
	cmp	r0, #0	@  info
	mov	r4, r0	@  info
	beq	.L465
.L436:
	cmp	r8, #0	@  transp
	beq	.L437
.L457:
	mov	r1, r8	@  transp
	ldr	r2, .L469+120
	mov	r0, #2048
	mov	lr, pc
	bx	r2
	ldr	ip, .L469+124
	ldr	lr, .L469+128
	ldr	r4, [ip, #0]	@  rotData
	mov	r3, r0	@  info
	strh	r3, [r4, #6]	@ movhi 	@  info,  <variable>.pa
	ldr	r1, [lr, #0]	@  transp,  y_ww
	mov	r0, r0, asl #7	@  info,  info
	ldr	r2, .L469+132
	mov	lr, pc
	bx	r2
	ldr	r3, [fp, #-188]	@  pauseActive
	cmp	r3, #0
	strh	r0, [r4, #30]	@ movhi 	@  info,  <variable>.pd
	beq	.L466
.L439:
	ldr	ip, .L469+12
	ldr	r0, [ip, #0]	@  info,  nFrame
	bl	Main_EffetsPalette
	ldr	lr, .L469+136
	ldr	r3, [lr, #0]	@  bTransp
	cmp	r3, #0
	movne	r3, r8, asr #1	@  transp
	rsbne	r2, r3, #16
	addne	r3, r3, r2, asl #8
	rsbeq	r3, r8, #16	@  transp
	ldr	r2, .L469+140
	addeq	r3, r8, r3, asl #8	@  transp
	ldr	r1, [r2, #0]	@  transp,  pOAM
	strh	r3, [r9, #82]	@ movhi 
	ldr	r0, .L469+144
	mov	r3, #-2080374784
	mov	r2, #256
	ldr	ip, .L469+116
	mov	lr, pc
	bx	ip
	ldr	lr, .L469+12
	ldr	r1, [fp, #-188]	@  pauseActive
	ldr	r3, [lr, #0]	@  nFrame
	cmp	r1, #0
	add	r3, r3, #1
	str	r3, [lr, #0]	@  nFrame
	beq	.L442
	cmp	r8, #15	@  transp
	movle	r8, #16	@  transp
	ble	.L442
	ldr	r2, .L469+148
	ldr	r3, [r2, #0]	@  action
	cmp	r3, #1
	moveq	r3, #0	@ movhi
	streqh	r3, [r9, #82]	@ movhi 
	ldrne	r0, .L469+152
	ldrne	ip, .L469+156
	movne	lr, pc
	bxne	ip
.L445:
	ldr	r1, .L469+160
	sub	r0, fp, #164
	bl	SelectionneProjet
	ldr	r1, .L469+164
	mov	lr, pc
	bx	r1
	ldr	ip, [fp, #-156]	@  curs.no_sprite
	ldr	r2, .L469+144
	add	ip, r2, ip, asl #3
	ldrh	lr, [ip, #2]	@  <variable>.attribut1
	bic	lr, lr, #4096
	strh	lr, [ip, #2]	@ movhi 	@  <variable>.attribut1
	mov	r1, #100663296
	ldr	ip, .L469+148
	mov	r4, #0	@  maj_requise
	add	r1, r1, #32768
	str	r4, [ip, #0]	@  maj_requise,  action
	sub	r0, fp, #176
	add	r1, r1, #32
	mov	r2, #2560
	mov	r3, #-2147483648
	ldr	ip, .L469+36
	mov	lr, pc
	bx	ip
	cmp	r7, r4	@  info
	mov	sl, r4	@  maj_requise,  maj_requise
	str	r4, [fp, #-188]	@  maj_requise,  pauseActive
	moveq	r8, r4	@  transp,  maj_requise
	bne	.L467
.L442:
	and	r3, r6, #1	@  TOUCHES
	bics	sl, r3, sl	@  maj_requise
	beq	.L451
	cmp	r7, #0	@  info
	beq	.L451
	ldr	r1, .L469+168
	ldr	r2, [r1, #0]	@  nEvenement
	cmp	r8, #16	@  transp
	movne	r3, #0
	moveq	r3, #1
	cmp	r2, #0
	moveq	r3, #0
	andne	r3, r3, #1
	cmp	r3, #0
	bne	.L450
.L451:
	ldr	r2, .L469+148
	ldr	r3, [r2, #0]	@  action
	cmp	r3, #1
	beq	.L459
.L449:
	bl	FadeOut
	mov	r3, #12032
	add	r3, r3, #16
	mov	sl, #0	@  maj_requise
	strh	r3, [r9, #80]	@ movhi 
	b	.L456
.L459:
	mov	lr, #0	@ movhi
	strh	lr, [r9, #82]	@ movhi 
.L453:
	ldr	r1, [r7, #16]	@  <variable>.event
	ldr	r2, .L469+92
	add	r1, r1, r1, asl #1
	add	r1, r2, r1, asl #2	@  transp
	sub	r0, fp, #164
	bl	SelectionneProjet
	cmp	r0, #0	@  info
	ldrne	r3, .L469+148
	movne	sl, #1	@  maj_requise
	mov	r4, r0	@  info
	strne	sl, [r3, #0]	@  maj_requise,  action
	bne	.L458
	ldr	r3, [r7, #16]	@  <variable>.event
	ldr	r0, .L469+92
	add	r3, r3, r3, asl #1
	add	r0, r0, r3, asl #2	@  info
	mvn	r1, #0
	bl	DessineInfo
	mov	r1, #100663296
	add	r1, r1, #32768
	add	r1, r1, #32
	mov	r2, #2560
	mov	r3, #-2147483648
	ldr	r0, .L469+96
	ldr	ip, .L469+48
	mov	lr, pc
	bx	ip
	ldr	r2, [fp, #-156]	@  curs.no_sprite
	ldr	lr, .L469+144
	add	r2, lr, r2, asl #3
	ldrh	r3, [r2, #2]	@  <variable>.attribut1
	ldr	r1, .L469+148
	bic	r3, r3, #4096
	strh	r3, [r2, #2]	@ movhi 	@  <variable>.attribut1
	str	r4, [r1, #0]	@  info,  action
	b	.L449
.L450:
	ldr	ip, .L469+148
	ldr	r3, [ip, #0]	@  action
	cmp	r3, #1
	beq	.L459
	ldr	r0, .L469+152
	ldr	r1, .L469+156
	mov	lr, pc
	bx	r1
	b	.L453
.L467:
	ldr	r0, [r7, #16]	@  <variable>.event
	ldr	lr, .L469+92
	add	r0, r0, r0, asl #1
	add	r0, lr, r0, asl #2	@  info
	mvn	r1, #0
	bl	DessineInfo
	sub	r0, fp, #164
	sub	r1, fp, #172
	mov	r2, r4	@  maj_requise
	mov	r8, #15	@  transp
	bl	PlacementBteDialogue
	b	.L457
.L466:
	cmp	r8, #1	@  transp
	movne	r2, #0	@  info
	moveq	r2, #1	@  info
	sub	r0, fp, #164
	sub	r1, fp, #172
	bl	PlacementBteDialogue
	b	.L439
.L437:
	mov	r0, #240
	mov	r1, #160
	bl	PlaceBteDialogue
	b	.L439
.L465:
	mov	r1, #100663296
	add	r1, r1, #49152
	mov	r2, #3840
	mov	r3, #-2147483648
	ldr	r0, .L469+172
	add	r1, r1, #32
	ldr	ip, .L469+48
	mov	lr, pc
	bx	ip
	ldr	r3, .L469+100
	ldr	r2, [r3, #0]	@  bCPUMetre
	cmp	r2, #0
	strneh	r4, [r5, #30]	@ movhi 	@  info
	b	.L436
.L464:
	ldr	r2, .L469+176
	ldr	ip, .L469+180
	ldr	r3, [r2, #0]	@  Verdana_hauteur
	ldr	r1, .L469+184
	ldr	lr, .L469+188
	str	r3, [ip, #0]	@  hauteur_texte
	str	r1, [lr, #0]	@  fonte
	ldr	r3, .L469+192
	ldr	lr, .L469+196
	ldr	ip, .L469+200
	ldr	r2, .L469+204
	str	lr, [ip, #0]	@  tailles
	str	r3, [r2, #0]	@  masque
	ldr	r1, .L469+68
	ldr	r0, .L469+72
	mov	lr, pc
	bx	r1
	ldr	r0, .L469+72
	ldr	r2, .L469+208
	mov	lr, pc
	bx	r2
	mov	r3, #67108864
	add	r3, r3, #260
	ldrh	r0, [r3, #0]
	ldr	r1, .L469+212
	umull	r3, r2, r1, r0
	mov	r2, r2, asl #13
	mov	r2, r2, lsr #16	@  info
	ldr	r1, .L469+216
	ldr	ip, .L469+220
	sub	r0, fp, #140
	mov	lr, pc
	bx	ip
	mov	r0, #0
	mov	r1, r0
	sub	r2, fp, #140
	mov	r3, #1
	ldr	ip, .L469+224
	mov	lr, pc
	bx	ip
	b	.L433
.L425:
	mov	r1, #100663296
	add	r1, r1, #32768
	mov	r3, #-2147483648
	sub	r0, fp, #176
	add	r1, r1, #32
	mov	r2, #2560
	ldr	ip, .L469+36
	mov	lr, pc
	bx	ip
	ldr	lr, [fp, #-188]	@  pauseActive
	eor	r3, lr, #1
	cmp	r8, #0	@  transp
	movle	r3, #0
	andgt	r3, r3, #1
	cmp	r3, #0
	subne	r8, r8, #1	@  transp,  transp
	b	.L431
.L463:
	mov	r0, #60
	mov	r1, #40
	bl	PlaceBteDialogue
	ldr	ip, .L469+228
	ldr	lr, .L469+232
	mov	r3, #60
	mov	r2, #40
	str	r3, [ip, #0]	@  endroit_x
	str	r2, [lr, #0]	@  endroit_y
	b	.L424
.L462:
	mov	r1, #100663296
	add	r1, r1, #32768
	sub	r0, fp, #176
	add	r1, r1, #32
	mov	r2, #2560
	mov	r3, #-2147483648
	ldr	ip, .L469+36
	mov	lr, pc
	bx	ip
	ldr	lr, [fp, #-188]	@  pauseActive
	cmp	lr, #0
	beq	.L468
.L423:
	mov	r1, #1
	str	r1, [fp, #-188]	@  pauseActive
	b	.L422
.L468:
	ldr	r0, .L469+160
	mvn	r1, #0
	bl	DessineInfo
	b	.L423
.L461:
	ldr	r0, .L469+152
	ldr	r1, .L469+156
	mov	lr, pc
	bx	r1
	ldr	r0, .L469+236
	ldr	r2, .L469+240
	mov	lr, pc
	bx	r2
	mov	sl, #1	@  maj_requise
	b	.L458
.L470:
	.align	2
.L469:
	.word	InitFS
	.word	init_sound
	.word	ModeSon
	.word	nFrame
	.word	InitCouleurs
	.word	SRAM_ChargeTout
	.word	numero_musique
	.word	musiques
	.word	JoueMusique
	.word	MemSet
	.word	Palette
	.word	plan_palette
	.word	CopieDMA
	.word	PaletteObj
	.word	point_palette
	.word	PrepareMap
	.word	ChangePaletteMap
	.word	SelectZoneTexte
	.word	zt_debug
	.word	ancienRegTouches
	.word	depassement
	.word	CopieMap
	.word	pRoutineLointaine
	.word	evenements
	.word	buffer_infos
	.word	bCPUMetre
	.word	AttendVSync
	.word	InitTimers
	.word	tableau
	.word	CopieDMA0
	.word	__divsi3
	.word	rotData
	.word	y_ww
	.word	__udivsi3
	.word	bTransp
	.word	pOAM
	.word	MonOAM
	.word	action
	.word	.LC12
	.word	JoueSon
	.word	evPause
	.word	SRAM_SauveTout
	.word	nEvenement
	.word	buffer_debug
	.word	Verdana_hauteur
	.word	hauteur_texte
	.word	Verdana_fonte
	.word	fonte
	.word	Verdana_masque
	.word	Verdana_tailles
	.word	tailles
	.word	masque
	.word	EffaceZone
	.word	-858993459
	.word	.LC33
	.word	sprintf
	.word	DessTexte
	.word	endroit_x
	.word	endroit_y
	.word	.LC32
	.word	LTMain
	.size	main, .-main
	.comm	pRoutineLointaine, 4, 32
	.comm	pFctLointaine, 4, 32
	.comm	ligne2, 4, 32
	.comm	nFrame, 4, 32
	.comm	ancienRegTouches, 4, 32
	.comm	gblCurs, 4, 32
	.global	buffer_debug
	.section	.ewram,"aw",%progbits
	.align	1
	.type	buffer_debug, %object
	.size	buffer_debug, 7680
buffer_debug:
	.space	7680
	.global	buffer_infos
	.align	1
	.type	buffer_infos, %object
	.size	buffer_infos, 19200
buffer_infos:
	.space	19200
	.global	tableau
	.align	1
	.type	tableau, %object
	.size	tableau, 1408
tableau:
	.space	1408
	.global	utilTiles
	.align	1
	.type	utilTiles, %object
	.size	utilTiles, 8192
utilTiles:
	.space	8192
	.global	numTiles
	.align	1
	.type	numTiles, %object
	.size	numTiles, 4000
numTiles:
	.space	4000
	.global	copieTiles
	.align	1
	.type	copieTiles, %object
	.size	copieTiles, 8192
copieTiles:
	.space	8192
	.comm	n_tiles, 2, 16
	.comm	gblDepX, 4, 32
	.comm	gblDepY, 4, 32
	.global	MonOAM
	.align	2
	.type	MonOAM, %object
	.size	MonOAM, 1024
MonOAM:
	.space	1024
	.comm	objetsUtilises, 4, 32
	.comm	n_tile, 4, 32
	.comm	num_spr_dialogue, 4, 32
	.comm	endroit_x, 4, 32
	.comm	endroit_y, 4, 32
	.ident	"GCC: (GNU) 3.3.2"
