CDS Source
Code:
address $202CED04
j $000a0000

address $200a0000

addiu sp, sp, $FFD0
sw ra, $0000(sp)
sw s0, $0004(sp)
sw s1, $0008(sp)
sw s2, $000C(sp)
sw s3, $0010(sp)
sw s4, $0014(sp)
sw v0, $0018(sp)
sw v1, $001C(sp)

setreg s0, $00440C38
setreg s1, $0009fffC

lw s2, $0000(s1)
addiu v0, zero $0010
bne s2, v0 :Timer++
nop

lw s0, $0000(s0)
beq s0, zero :END
nop

lw s3, $0028(s0)
lw s4, $009C(s3)
setreg v1, $3E400000
beq s4, v1 :ResetChar
nop

lui t0, $0010
sub t1, s4, t0
sw t1, $009C(s3)
sw zero, $0000(s1)
beq zero, zero :END
nop

ResetChar:
setreg t0, $3F800000
sw t0, $009C(s3)
beq zero, zero :END
nop

Timer++:
addiu s2, s2 $0001
sw s2, $0000(s1)

END:
lw v1, $001C(sp)
lw v0, $0018(sp)
lw s4, $0014(sp)
lw s3, $0010(sp)
lw s2, $000c(sp)
lw s1, $0008(sp)
lw s0, $0004(sp)
lw ra, $0000(sp)
jr ra
addiu sp, sp, $0030

Raw Code
Code:
202CED04 08028000
200A0000 27BDFFD0
200A0004 AFBF0000
200A0008 AFB00004
200A000C AFB10008
200A0010 AFB2000C
200A0014 AFB30010
200A0018 AFB40014
200A001C 3C100044
200A0020 36100C38
200A0024 8E100000
200A0028 12000018
200A002C 00000000
200A0030 3C110009
200A0034 3631FFFC
200A0038 8E320000
200A003C 24080005
200A0040 1648000D
200A0044 00000000
200A0048 AE200000
200A004C 3C083E40
200A0050 35080000
200A0054 8E130028
200A0058 8E74009C
200A005C 12880008
200A0060 00000000
200A0064 3C020010
200A0068 02821822
200A006C AE63009C
200A0070 10000006
200A0074 00000000
200A0078 26520001
200A007C AE320000
200A0080 3C083F80
200A0084 35080000
200A0088 AE68009C
200A008C 8FB40014
200A0090 8FB30010
200A0094 8FB2000C
200A0098 8FB10008
200A009C 8FB00004
200A00A0 8FBF0000
200A00A4 03E00008
200A00A8 27BD0030