OPEN.BIN DecDCTPutEnv

From Final Fantasy Hacktics Wiki
Jump to navigation Jump to search
00073550: 27bdffe8 addiu r29,r29,0xffe8
00073554: afb00010 sw r16,0x0010(r29)
00073558: 00808021 addu r16,r4,r0                 # p1 = luminance & quant tables to transfer from
0007355c: 3c058007 lui r5,0x8007
00073560: 24a5407c addiu r5,r5,0x407c             #
00073564: 3403000f ori r3,r0,0x000f
00073568: 2406ffff addiu r6,r0,0xffff
0007356c: afbf0014 sw r31,0x0014(r29)
00073570: 8c820000 lw r2,0x0000(r4)               # transfer quant luminance table from; (colour excluded)
00073574: 24840004 addiu r4,r4,0x0004
00073578: 2463ffff addiu r3,r3,0xffff
0007357c: aca20000 sw r2,0x0000(r5)               # into;
00073580: 1466fffb bne r3,r6,0x00073570           # loop for 0x10 words
00073584: 24a50004 addiu r5,r5,0x0004
00073588: 3c058007 lui r5,0x8007
0007358c: 24a540bc addiu r5,r5,0x40bc             # 
00073590: 26040040 addiu r4,r16,0x0040            # 
00073594: 3403000f ori r3,r0,0x000f
00073598: 2406ffff addiu r6,r0,0xffff
0007359c: 8c820000 lw r2,0x0000(r4)               # transfer quant colour table from; (luminance excluded)
000735a0: 24840004 addiu r4,r4,0x0004
000735a4: 2463ffff addiu r3,r3,0xffff
000735a8: aca20000 sw r2,0x0000(r5)               # into;
000735ac: 1466fffb bne r3,r6,0x0007359c           # loop for 0x10 words
000735b0: 24a50004 addiu r5,r5,0x0004
000735b4: 3c048007 lui r4,0x8007
000735b8: 24844078 addiu r4,r4,0x4078             # MDEC(2) - Set Quant Table; Luminance & Colour
000735bc: 0c01ce06 jal 0x00073818
000735c0: 34050020 ori r5,r0,0x0020
000735c4: 3c048007 lui r4,0x8007
000735c8: 248440fc addiu r4,r4,0x40fc             # MDEC(3) - Set Scale Table
000735cc: 0c01ce06 jal 0x00073818
000735d0: 34050020 ori r5,r0,0x0020
000735d4: 02001021 addu r2,r16,r0
000735d8: 8fbf0014 lw r31,0x0014(r29)
000735dc: 8fb00010 lw r16,0x0010(r29)
000735e0: 27bd0018 addiu r29,r29,0x0018
000735e4: 03e00008 jr r31
000735e8: 00000000 nop