Difference between revisions of "00079298 - 00079a94"

From Final Fantasy Hacktics Wiki
Jump to navigation Jump to search
(Created page with "<font face='Courier New'> 00079298: 03e00008 jr r31 0007929c: 00000000 nop 000792a0: 27bdff78 addiu r29,r29,0xff78 000792a4: afbf0084 sw r31,0x0084(r29) 000792a8: afb40...")
 
m (Just links.)
Line 80: Line 80:
 
  000793cc: 3c01800a lui r1,0x800a
 
  000793cc: 3c01800a lui r1,0x800a
 
  000793d0: a4228d9e sh r2,-0x7262(r1)
 
  000793d0: a4228d9e sh r2,-0x7262(r1)
  000793d4: 0c008f1a jal 0x00023c68
+
  000793d4: 0c008f1a jal 0x00023c68                 [[P10 SetSemiTrans]]
 
  000793d8: 34050001 ori r5,r0,0x0001
 
  000793d8: 34050001 ori r5,r0,0x0001
 
  000793dc: 3c05800a lui r5,0x800a
 
  000793dc: 3c05800a lui r5,0x800a
Line 187: Line 187:
 
  00079578: a3a2003d sb r2,0x003d(r29)
 
  00079578: a3a2003d sb r2,0x003d(r29)
 
  0007957c: a3a30044 sb r3,0x0044(r29)
 
  0007957c: a3a30044 sb r3,0x0044(r29)
  00079580: 0c008f1a jal 0x00023c68
+
  00079580: 0c008f1a jal 0x00023c68             [[P10 SetSemiTrans]]
 
  00079584: a3a20045 sb r2,0x0045(r29)
 
  00079584: a3a20045 sb r2,0x0045(r29)
  00079588: 00002021 addu r4,r0,r0
+
  00079588: 00002021 addu r4,r0,r0               p1 = texture mode 4bit
  0007958c: 00002821 addu r5,r0,r0
+
  0007958c: 00002821 addu r5,r0,r0               p1 = semitransparency rate 0.5 0.5
  00079590: 34060380 ori r6,r0,0x0380
+
  00079590: 34060380 ori r6,r0,0x0380           texture page address x = 0x380
  00079594: 0c008e63 jal 0x0002398c
+
  00079594: 0c008e63 jal 0x0002398c             [[? Calculation (0x2398c)]] P00 Get Tpage?
  00079598: 34070100 ori r7,r0,0x0100
+
  00079598: 34070100 ori r7,r0,0x0100           texture page address y = 0x100
  0007959c: 34040380 ori r4,r0,0x0380
+
  0007959c: 34040380 ori r4,r0,0x0380           p1 = VRAM address for VRAM palette ID x = 0x380
  000795a0: 3405011f ori r5,r0,0x011f
+
  000795a0: 3405011f ori r5,r0,0x011f           p2 = VRAM address for VRAM palette ID y = 0x11f
  000795a4: 0c008e95 jal 0x00023a54
+
  000795a4: 0c008e95 jal 0x00023a54             [[Combine 16-bit Value (0x23a54)]] P01 Get Clut?
 
  000795a8: a7a20036 sh r2,0x0036(r29)
 
  000795a8: a7a20036 sh r2,0x0036(r29)
 
  000795ac: 27a60048 addiu r6,r29,0x0048
 
  000795ac: 27a60048 addiu r6,r29,0x0048
Line 248: Line 248:
 
  0007966c: 000210c0 sll r2,r2,0x03
 
  0007966c: 000210c0 sll r2,r2,0x03
 
  00079670: 00511021 addu r2,r2,r17
 
  00079670: 00511021 addu r2,r2,r17
  00079674: 0c011298 jal 0x00044a60
+
  00079674: 0c011298 jal 0x00044a60               [[Find Address for Polygons by Depth]] get address for start of GPU primative list
 
  00079678: a0500006 sb r16,0x0006(r2)
 
  00079678: a0500006 sb r16,0x0006(r2)
 
  0007967c: 3c038004 lui r3,0x8004
 
  0007967c: 3c038004 lui r3,0x8004
Line 256: Line 256:
 
  0007968c: 00a32821 addu r5,r5,r3
 
  0007968c: 00a32821 addu r5,r5,r3
 
  00079690: 000528c0 sll r5,r5,0x03
 
  00079690: 000528c0 sll r5,r5,0x03
  00079694: 0c008eed jal 0x00023bb4
+
  00079694: 0c008eed jal 0x00023bb4               [[P06 AddPrim]]
 
  00079698: 00b12821 addu r5,r5,r17
 
  00079698: 00b12821 addu r5,r5,r17
  0007969c: 0c011298 jal 0x00044a60
+
  0007969c: 0c011298 jal 0x00044a60               [[Find Address for Polygons by Depth]] get address for start of GPU primative list
 
  000796a0: 00000000 nop
 
  000796a0: 00000000 nop
 
  000796a4: 00402021 addu r4,r2,r0
 
  000796a4: 00402021 addu r4,r2,r0
Line 268: Line 268:
 
  000796bc: 00a32821 addu r5,r5,r3
 
  000796bc: 00a32821 addu r5,r5,r3
 
  000796c0: 00052880 sll r5,r5,0x02
 
  000796c0: 00052880 sll r5,r5,0x02
  000796c4: 0c008eed jal 0x00023bb4
+
  000796c4: 0c008eed jal 0x00023bb4               [[P06 AddPrim]]
 
  000796c8: 00a22821 addu r5,r5,r2
 
  000796c8: 00a22821 addu r5,r5,r2
  000796cc: 0c011298 jal 0x00044a60
+
  000796cc: 0c011298 jal 0x00044a60               [[Find Address for Polygons by Depth]] get address for start of GPU primative list
 
  000796d0: 00000000 nop
 
  000796d0: 00000000 nop
 
  000796d4: 3c038004 lui r3,0x8004
 
  000796d4: 3c038004 lui r3,0x8004
Line 278: Line 278:
 
  000796e4: 00a32821 addu r5,r5,r3
 
  000796e4: 00a32821 addu r5,r5,r3
 
  000796e8: 000528c0 sll r5,r5,0x03
 
  000796e8: 000528c0 sll r5,r5,0x03
  000796ec: 0c008eed jal 0x00023bb4
+
  000796ec: 0c008eed jal 0x00023bb4               [[P06 AddPrim]]
 
  000796f0: 02452821 addu r5,r18,r5
 
  000796f0: 02452821 addu r5,r18,r5
 
  000796f4: 3c028004 lui r2,0x8004
 
  000796f4: 3c028004 lui r2,0x8004
Line 286: Line 286:
 
  00079704: 3c018004 lui r1,0x8004
 
  00079704: 3c018004 lui r1,0x8004
 
  00079708: ac22597c sw r2,0x597c(r1)
 
  00079708: ac22597c sw r2,0x597c(r1)
  0007970c: 0c011298 jal 0x00044a60
+
  0007970c: 0c011298 jal 0x00044a60               [[Find Address for Polygons by Depth]] get address for start of GPU primative list
 
  00079710: 00000000 nop
 
  00079710: 00000000 nop
 
  00079714: 0c024efc jal 0x00093bf0
 
  00079714: 0c024efc jal 0x00093bf0
Line 310: Line 310:
 
  00079764: 1260000d beq r19,r0,0x0007979c
 
  00079764: 1260000d beq r19,r0,0x0007979c
 
  00079768: 00000000 nop
 
  00079768: 00000000 nop
  0007976c: 0c011298 jal 0x00044a60
+
  0007976c: 0c011298 jal 0x00044a60               [[Find Address for Polygons by Depth]] get address for start of GPU primative list
 
  00079770: 00000000 nop
 
  00079770: 00000000 nop
 
  00079774: 3c038004 lui r3,0x8004
 
  00079774: 3c038004 lui r3,0x8004
Line 318: Line 318:
 
  00079784: 00a32821 addu r5,r5,r3
 
  00079784: 00a32821 addu r5,r5,r3
 
  00079788: 000528c0 sll r5,r5,0x03
 
  00079788: 000528c0 sll r5,r5,0x03
  0007978c: 0c008eed jal 0x00023bb4
+
  0007978c: 0c008eed jal 0x00023bb4               [[P06 AddPrim]]
 
  00079790: 02452821 addu r5,r18,r5
 
  00079790: 02452821 addu r5,r18,r5
 
  00079794: 0801e5eb j 0x000797ac
 
  00079794: 0801e5eb j 0x000797ac
 
  00079798: 00000000 nop
 
  00079798: 00000000 nop
  0007979c: 0c011298 jal 0x00044a60
+
  0007979c: 0c011298 jal 0x00044a60               [[Find Address for Polygons by Depth]] get address for start of GPU primative list
 
  000797a0: 00000000 nop
 
  000797a0: 00000000 nop
 
  000797a4: 0c0104ea jal 0x000413a8
 
  000797a4: 0c0104ea jal 0x000413a8
 
  000797a8: 00402021 addu r4,r2,r0
 
  000797a8: 00402021 addu r4,r2,r0
  000797ac: 0c011298 jal 0x00044a60
+
  000797ac: 0c011298 jal 0x00044a60               [[Find Address for Polygons by Depth]] get address for start of GPU primative list
 
  000797b0: 00000000 nop
 
  000797b0: 00000000 nop
 
  000797b4: 3c058004 lui r5,0x8004
 
  000797b4: 3c058004 lui r5,0x8004
Line 375: Line 375:
 
  00079868: 000210c0 sll r2,r2,0x03
 
  00079868: 000210c0 sll r2,r2,0x03
 
  0007986c: 00511021 addu r2,r2,r17
 
  0007986c: 00511021 addu r2,r2,r17
  00079870: 0c011298 jal 0x00044a60
+
  00079870: 0c011298 jal 0x00044a60               [[Find Address for Polygons by Depth]] get address for start of GPU primative list
 
  00079874: a0500006 sb r16,0x0006(r2)
 
  00079874: a0500006 sb r16,0x0006(r2)
 
  00079878: 3c038004 lui r3,0x8004
 
  00079878: 3c038004 lui r3,0x8004
Line 383: Line 383:
 
  00079888: 00a32821 addu r5,r5,r3
 
  00079888: 00a32821 addu r5,r5,r3
 
  0007988c: 000528c0 sll r5,r5,0x03
 
  0007988c: 000528c0 sll r5,r5,0x03
  00079890: 0c008eed jal 0x00023bb4
+
  00079890: 0c008eed jal 0x00023bb4               [[P06 AddPrim]]
 
  00079894: 00b12821 addu r5,r5,r17
 
  00079894: 00b12821 addu r5,r5,r17
  00079898: 0c011298 jal 0x00044a60
+
  00079898: 0c011298 jal 0x00044a60               [[Find Address for Polygons by Depth]] get address for start of GPU primative list
 
  0007989c: 00000000 nop
 
  0007989c: 00000000 nop
 
  000798a0: 00402021 addu r4,r2,r0
 
  000798a0: 00402021 addu r4,r2,r0
Line 395: Line 395:
 
  000798b8: 00a32821 addu r5,r5,r3
 
  000798b8: 00a32821 addu r5,r5,r3
 
  000798bc: 00052880 sll r5,r5,0x02
 
  000798bc: 00052880 sll r5,r5,0x02
  000798c0: 0c008eed jal 0x00023bb4
+
  000798c0: 0c008eed jal 0x00023bb4               [[P06 AddPrim]]
 
  000798c4: 00a22821 addu r5,r5,r2
 
  000798c4: 00a22821 addu r5,r5,r2
 
  000798c8: 3c028004 lui r2,0x8004
 
  000798c8: 3c028004 lui r2,0x8004
Line 403: Line 403:
 
  000798d8: 3c018004 lui r1,0x8004
 
  000798d8: 3c018004 lui r1,0x8004
 
  000798dc: ac22597c sw r2,0x597c(r1)
 
  000798dc: ac22597c sw r2,0x597c(r1)
  000798e0: 0c011298 jal 0x00044a60
+
  000798e0: 0c011298 jal 0x00044a60               [[Find Address for Polygons by Depth]] get address for start of GPU primative list
 
  000798e4: 00000000 nop
 
  000798e4: 00000000 nop
 
  000798e8: 0c024efc jal 0x00093bf0
 
  000798e8: 0c024efc jal 0x00093bf0
Line 453: Line 453:
 
  000799a0: 000210c0 sll r2,r2,0x03
 
  000799a0: 000210c0 sll r2,r2,0x03
 
  000799a4: 00511021 addu r2,r2,r17
 
  000799a4: 00511021 addu r2,r2,r17
  000799a8: 0c011298 jal 0x00044a60
+
  000799a8: 0c011298 jal 0x00044a60               [[Find Address for Polygons by Depth]] get address for start of GPU primative list
 
  000799ac: a0500006 sb r16,0x0006(r2)
 
  000799ac: a0500006 sb r16,0x0006(r2)
 
  000799b0: 3c038004 lui r3,0x8004
 
  000799b0: 3c038004 lui r3,0x8004
Line 461: Line 461:
 
  000799c0: 00a32821 addu r5,r5,r3
 
  000799c0: 00a32821 addu r5,r5,r3
 
  000799c4: 000528c0 sll r5,r5,0x03
 
  000799c4: 000528c0 sll r5,r5,0x03
  000799c8: 0c008eed jal 0x00023bb4
+
  000799c8: 0c008eed jal 0x00023bb4               [[P06 AddPrim]]
 
  000799cc: 00b12821 addu r5,r5,r17
 
  000799cc: 00b12821 addu r5,r5,r17
  000799d0: 0c011298 jal 0x00044a60
+
  000799d0: 0c011298 jal 0x00044a60               [[Find Address for Polygons by Depth]] get address for start of GPU primative list
 
  000799d4: 00000000 nop
 
  000799d4: 00000000 nop
 
  000799d8: 00402021 addu r4,r2,r0
 
  000799d8: 00402021 addu r4,r2,r0
Line 473: Line 473:
 
  000799f0: 00a32821 addu r5,r5,r3
 
  000799f0: 00a32821 addu r5,r5,r3
 
  000799f4: 00052880 sll r5,r5,0x02
 
  000799f4: 00052880 sll r5,r5,0x02
  000799f8: 0c008eed jal 0x00023bb4
+
  000799f8: 0c008eed jal 0x00023bb4               [[P06 AddPrim]]
 
  000799fc: 00a22821 addu r5,r5,r2
 
  000799fc: 00a22821 addu r5,r5,r2
  00079a00: 0c011298 jal 0x00044a60
+
  00079a00: 0c011298 jal 0x00044a60               [[Find Address for Polygons by Depth]] get address for start of GPU primative list
 
  00079a04: 00000000 nop
 
  00079a04: 00000000 nop
 
  00079a08: 3c038004 lui r3,0x8004
 
  00079a08: 3c038004 lui r3,0x8004
Line 483: Line 483:
 
  00079a18: 00a32821 addu r5,r5,r3
 
  00079a18: 00a32821 addu r5,r5,r3
 
  00079a1c: 000528c0 sll r5,r5,0x03
 
  00079a1c: 000528c0 sll r5,r5,0x03
  00079a20: 0c008eed jal 0x00023bb4
+
  00079a20: 0c008eed jal 0x00023bb4               [[P06 AddPrim]]
 
  00079a24: 02452821 addu r5,r18,r5
 
  00079a24: 02452821 addu r5,r18,r5
 
  00079a28: 3c028004 lui r2,0x8004
 
  00079a28: 3c028004 lui r2,0x8004
Line 491: Line 491:
 
  00079a38: 3c018004 lui r1,0x8004
 
  00079a38: 3c018004 lui r1,0x8004
 
  00079a3c: ac22597c sw r2,0x597c(r1)
 
  00079a3c: ac22597c sw r2,0x597c(r1)
  00079a40: 0c011298 jal 0x00044a60
+
  00079a40: 0c011298 jal 0x00044a60               [[Find Address for Polygons by Depth]] get address for start of GPU primative list
 
  00079a44: 00000000 nop
 
  00079a44: 00000000 nop
 
  00079a48: 0c024efc jal 0x00093bf0
 
  00079a48: 0c024efc jal 0x00093bf0

Revision as of 08:40, 14 June 2023

00079298: 03e00008 jr r31
0007929c: 00000000 nop
000792a0: 27bdff78 addiu r29,r29,0xff78
000792a4: afbf0084 sw r31,0x0084(r29)
000792a8: afb40080 sw r20,0x0080(r29)
000792ac: afb3007c sw r19,0x007c(r29)
000792b0: afb20078 sw r18,0x0078(r29)
000792b4: afb10074 sw r17,0x0074(r29)
000792b8: afb00070 sw r16,0x0070(r29)
000792bc: 3c058006 lui r5,0x8006
000792c0: 24a576a0 addiu r5,r5,0x76a0
000792c4: 88a20003 lwl r2,0x0003(r5)
000792c8: 98a20000 lwr r2,0x0000(r5)
000792cc: 88a30007 lwl r3,0x0007(r5)
000792d0: 98a30004 lwr r3,0x0004(r5)
000792d4: aba2001b swl r2,0x001b(r29)
000792d8: bba20018 swr r2,0x0018(r29)
000792dc: aba3001f swl r3,0x001f(r29)
000792e0: bba3001c swr r3,0x001c(r29)
000792e4: 34040100 ori r4,r0,0x0100
000792e8: 340500f0 ori r5,r0,0x00f0
000792ec: 34060200 ori r6,r0,0x0200
000792f0: 00003821 addu r7,r0,r0
000792f4: afa00010 sw r0,0x0010(r29)
000792f8: 0c024e1b jal 0x0009386c
000792fc: afa00014 sw r0,0x0014(r29)
00079300: 34040051 ori r4,r0,0x0051
00079304: 3c138004 lui r19,0x8004
00079308: 927373a0 lbu r19,0x73a0(r19)
0007930c: 0c04ed64 jal 0x0013b590
00079310: 27b20018 addiu r18,r29,0x0018
00079314: 10400002 beq r2,r0,0x00079320
00079318: 00000000 nop
0007931c: 00009821 addu r19,r0,r0
00079320: 0c04f4c8 jal 0x0013d320
00079324: 34110080 ori r17,r0,0x0080
00079328: 00402021 addu r4,r2,r0
0007932c: 3c018009 lui r1,0x8009
00079330: ac246108 sw r4,0x6108(r1)
00079334: 0c0104e1 jal 0x00041384
00079338: 00000000 nop
0007933c: 0c04ed64 jal 0x0013b590
00079340: 34040033 ori r4,r0,0x0033
00079344: 3c10800a lui r16,0x800a
00079348: 26108d88 addiu r16,r16,0x8d88
0007934c: 02002021 addu r4,r16,r0
00079350: 3c018009 lui r1,0x8009
00079354: ac226104 sw r2,0x6104(r1)
00079358: 3c018009 lui r1,0x8009
0007935c: ac2060f4 sw r0,0x60f4(r1)
00079360: 3c01800e lui r1,0x800e
00079364: ac206aa4 sw r0,0x6aa4(r1)
00079368: 0c008f42 jal 0x00023d08
0007936c: 0040a021 addu r20,r2,r0
00079370: 02002021 addu r4,r16,r0
00079374: 34030180 ori r3,r0,0x0180
00079378: 34020100 ori r2,r0,0x0100
0007937c: 3c01800a lui r1,0x800a
00079380: a0208d8c sb r0,-0x7274(r1)
00079384: 3c01800a lui r1,0x800a
00079388: a0208d8d sb r0,-0x7273(r1)
0007938c: 3c01800a lui r1,0x800a
00079390: a0208d8e sb r0,-0x7272(r1)
00079394: 3c01800a lui r1,0x800a
00079398: a4318d90 sh r17,-0x7270(r1)
0007939c: 3c01800a lui r1,0x800a
000793a0: a4208d92 sh r0,-0x726e(r1)
000793a4: 3c01800a lui r1,0x800a
000793a8: a4238d94 sh r3,-0x726c(r1)
000793ac: 3c01800a lui r1,0x800a
000793b0: a4208d96 sh r0,-0x726a(r1)
000793b4: 3c01800a lui r1,0x800a
000793b8: a4208d98 sh r0,-0x7268(r1)
000793bc: 3c01800a lui r1,0x800a
000793c0: a4228d9a sh r2,-0x7266(r1)
000793c4: 3c01800a lui r1,0x800a
000793c8: a4238d9c sh r3,-0x7264(r1)
000793cc: 3c01800a lui r1,0x800a
000793d0: a4228d9e sh r2,-0x7262(r1)
000793d4: 0c008f1a jal 0x00023c68                 P10 SetSemiTrans
000793d8: 34050001 ori r5,r0,0x0001
000793dc: 3c05800a lui r5,0x800a
000793e0: 24a58da0 addiu r5,r5,0x8da0
000793e4: 8e020000 lw r2,0x0000(r16)
000793e8: 8e030004 lw r3,0x0004(r16)
000793ec: 8e040008 lw r4,0x0008(r16)
000793f0: aca20000 sw r2,0x0000(r5)
000793f4: aca30004 sw r3,0x0004(r5)
000793f8: aca40008 sw r4,0x0008(r5)
000793fc: 8e02000c lw r2,0x000c(r16)
00079400: 8e030010 lw r3,0x0010(r16)
00079404: 8e040014 lw r4,0x0014(r16)
00079408: aca2000c sw r2,0x000c(r5)
0007940c: aca30010 sw r3,0x0010(r5)
00079410: aca40014 sw r4,0x0014(r5)
00079414: 3c05800c lui r5,0x800c
00079418: 24a57c70 addiu r5,r5,0x7c70
0007941c: 8e020000 lw r2,0x0000(r16)
00079420: 8e030004 lw r3,0x0004(r16)
00079424: 8e040008 lw r4,0x0008(r16)
00079428: aca20000 sw r2,0x0000(r5)
0007942c: aca30004 sw r3,0x0004(r5)
00079430: aca40008 sw r4,0x0008(r5)
00079434: 8e02000c lw r2,0x000c(r16)
00079438: 8e030010 lw r3,0x0010(r16)
0007943c: 8e040014 lw r4,0x0014(r16)
00079440: aca2000c sw r2,0x000c(r5)
00079444: aca30010 sw r3,0x0010(r5)
00079448: aca40014 sw r4,0x0014(r5)
0007944c: 3c05800c lui r5,0x800c
00079450: 24a57c88 addiu r5,r5,0x7c88
00079454: 8e020000 lw r2,0x0000(r16)
00079458: 8e030004 lw r3,0x0004(r16)
0007945c: 8e040008 lw r4,0x0008(r16)
00079460: aca20000 sw r2,0x0000(r5)
00079464: aca30004 sw r3,0x0004(r5)
00079468: aca40008 sw r4,0x0008(r5)
0007946c: 8e02000c lw r2,0x000c(r16)
00079470: 8e030010 lw r3,0x0010(r16)
00079474: 8e040014 lw r4,0x0014(r16)
00079478: aca2000c sw r2,0x000c(r5)
0007947c: aca30010 sw r3,0x0010(r5)
00079480: aca40014 sw r4,0x0014(r5)
00079484: 3c10800b lui r16,0x800b
00079488: 261072dc addiu r16,r16,0x72dc
0007948c: 02002021 addu r4,r16,r0
00079490: 00002821 addu r5,r0,r0
00079494: 00003021 addu r6,r0,r0
00079498: 34070040 ori r7,r0,0x0040
0007949c: 0c009533 jal 0x000254cc
000794a0: afb20010 sw r18,0x0010(r29)
000794a4: 3c05800b lui r5,0x800b
000794a8: 24a572e8 addiu r5,r5,0x72e8
000794ac: 8e020000 lw r2,0x0000(r16)
000794b0: 8e030004 lw r3,0x0004(r16)
000794b4: 8e040008 lw r4,0x0008(r16)
000794b8: aca20000 sw r2,0x0000(r5)
000794bc: aca30004 sw r3,0x0004(r5)
000794c0: aca40008 sw r4,0x0008(r5)
000794c4: 3c05800e lui r5,0x800e
000794c8: 24a56aa8 addiu r5,r5,0x6aa8
000794cc: 8e020000 lw r2,0x0000(r16)
000794d0: 8e030004 lw r3,0x0004(r16)
000794d4: 8e040008 lw r4,0x0008(r16)
000794d8: aca20000 sw r2,0x0000(r5)
000794dc: aca30004 sw r3,0x0004(r5)
000794e0: aca40008 sw r4,0x0008(r5)
000794e4: 3c05800e lui r5,0x800e
000794e8: 24a56ab4 addiu r5,r5,0x6ab4
000794ec: 8e020000 lw r2,0x0000(r16)
000794f0: 8e030004 lw r3,0x0004(r16)
000794f4: 8e040008 lw r4,0x0008(r16)
000794f8: aca20000 sw r2,0x0000(r5)
000794fc: aca30004 sw r3,0x0004(r5)
00079500: aca40008 sw r4,0x0008(r5)
00079504: 27b00020 addiu r16,r29,0x0020
00079508: 02002021 addu r4,r16,r0
0007950c: 00002821 addu r5,r0,r0
00079510: 34020009 ori r2,r0,0x0009
00079514: a3a20023 sb r2,0x0023(r29)
00079518: 3402002c ori r2,r0,0x002c
0007951c: a3a20027 sb r2,0x0027(r29)
00079520: 34020080 ori r2,r0,0x0080
00079524: a3a20024 sb r2,0x0024(r29)
00079528: a3a20025 sb r2,0x0025(r29)
0007952c: a3a20026 sb r2,0x0026(r29)
00079530: 34020074 ori r2,r0,0x0074
00079534: 3403017f ori r3,r0,0x017f
00079538: a7a2002a sh r2,0x002a(r29)
0007953c: a7a20032 sh r2,0x0032(r29)
00079540: 3402008c ori r2,r0,0x008c
00079544: a7a30030 sh r3,0x0030(r29)
00079548: a7a30040 sh r3,0x0040(r29)
0007954c: 340300ff ori r3,r0,0x00ff
00079550: a7a2003a sh r2,0x003a(r29)
00079554: a7a20042 sh r2,0x0042(r29)
00079558: 34020018 ori r2,r0,0x0018
0007955c: a7b10028 sh r17,0x0028(r29)
00079560: a7b10038 sh r17,0x0038(r29)
00079564: a3a0002c sb r0,0x002c(r29)
00079568: a3a0002d sb r0,0x002d(r29)
0007956c: a3a30034 sb r3,0x0034(r29)
00079570: a3a00035 sb r0,0x0035(r29)
00079574: a3a0003c sb r0,0x003c(r29)
00079578: a3a2003d sb r2,0x003d(r29)
0007957c: a3a30044 sb r3,0x0044(r29)
00079580: 0c008f1a jal 0x00023c68              P10 SetSemiTrans
00079584: a3a20045 sb r2,0x0045(r29)
00079588: 00002021 addu r4,r0,r0               p1 = texture mode 4bit
0007958c: 00002821 addu r5,r0,r0               p1 = semitransparency rate 0.5 0.5
00079590: 34060380 ori r6,r0,0x0380            texture page address x = 0x380
00079594: 0c008e63 jal 0x0002398c              ? Calculation (0x2398c) P00 Get Tpage?
00079598: 34070100 ori r7,r0,0x0100            texture page address y = 0x100
0007959c: 34040380 ori r4,r0,0x0380            p1 = VRAM address for VRAM palette ID x = 0x380
000795a0: 3405011f ori r5,r0,0x011f            p2 = VRAM address for VRAM palette ID y = 0x11f
000795a4: 0c008e95 jal 0x00023a54              Combine 16-bit Value (0x23a54) P01 Get Clut?
000795a8: a7a20036 sh r2,0x0036(r29)
000795ac: 27a60048 addiu r6,r29,0x0048
000795b0: 27a70040 addiu r7,r29,0x0040
000795b4: a7a2002e sh r2,0x002e(r29)
000795b8: 8e020000 lw r2,0x0000(r16)
000795bc: 8e030004 lw r3,0x0004(r16)
000795c0: 8e040008 lw r4,0x0008(r16)
000795c4: 8e05000c lw r5,0x000c(r16)
000795c8: acc20000 sw r2,0x0000(r6)
000795cc: acc30004 sw r3,0x0004(r6)
000795d0: acc40008 sw r4,0x0008(r6)
000795d4: acc5000c sw r5,0x000c(r6)
000795d8: 26100010 addiu r16,r16,0x0010
000795dc: 1607fff6 bne r16,r7,0x000795b8
000795e0: 24c60010 addiu r6,r6,0x0010
000795e4: 8e020000 lw r2,0x0000(r16)
000795e8: 8e030004 lw r3,0x0004(r16)
000795ec: acc20000 sw r2,0x0000(r6)
000795f0: acc30004 sw r3,0x0004(r6)
000795f4: 0c00918e jal 0x00024638
000795f8: 34040001 ori r4,r0,0x0001
000795fc: 1260004e beq r19,r0,0x00079738
00079600: 341000f8 ori r16,r0,0x00f8
00079604: 3c11800a lui r17,0x800a
00079608: 26318d88 addiu r17,r17,0x8d88
0007960c: 27b20020 addiu r18,r29,0x0020
00079610: 0c01129f jal 0x00044a7c
00079614: 00000000 nop
00079618: 3c038004 lui r3,0x8004
0007961c: 8c63597c lw r3,0x597c(r3)
00079620: 00000000 nop
00079624: 00031040 sll r2,r3,0x01
00079628: 00431021 addu r2,r2,r3
0007962c: 000210c0 sll r2,r2,0x03
00079630: 00511021 addu r2,r2,r17
00079634: a0500004 sb r16,0x0004(r2)
00079638: 3c038004 lui r3,0x8004
0007963c: 8c63597c lw r3,0x597c(r3)
00079640: 00000000 nop
00079644: 00031040 sll r2,r3,0x01
00079648: 00431021 addu r2,r2,r3
0007964c: 000210c0 sll r2,r2,0x03
00079650: 00511021 addu r2,r2,r17
00079654: a0500005 sb r16,0x0005(r2)
00079658: 3c038004 lui r3,0x8004
0007965c: 8c63597c lw r3,0x597c(r3)
00079660: 00000000 nop
00079664: 00031040 sll r2,r3,0x01
00079668: 00431021 addu r2,r2,r3
0007966c: 000210c0 sll r2,r2,0x03
00079670: 00511021 addu r2,r2,r17
00079674: 0c011298 jal 0x00044a60               Find Address for Polygons by Depth get address for start of GPU primative list
00079678: a0500006 sb r16,0x0006(r2)
0007967c: 3c038004 lui r3,0x8004
00079680: 8c63597c lw r3,0x597c(r3)
00079684: 00402021 addu r4,r2,r0
00079688: 00032840 sll r5,r3,0x01
0007968c: 00a32821 addu r5,r5,r3
00079690: 000528c0 sll r5,r5,0x03
00079694: 0c008eed jal 0x00023bb4               P06 AddPrim
00079698: 00b12821 addu r5,r5,r17
0007969c: 0c011298 jal 0x00044a60               Find Address for Polygons by Depth get address for start of GPU primative list
000796a0: 00000000 nop
000796a4: 00402021 addu r4,r2,r0
000796a8: 3c038004 lui r3,0x8004
000796ac: 8c63597c lw r3,0x597c(r3)
000796b0: 3c02800b lui r2,0x800b
000796b4: 244272dc addiu r2,r2,0x72dc
000796b8: 00032840 sll r5,r3,0x01
000796bc: 00a32821 addu r5,r5,r3
000796c0: 00052880 sll r5,r5,0x02
000796c4: 0c008eed jal 0x00023bb4               P06 AddPrim
000796c8: 00a22821 addu r5,r5,r2
000796cc: 0c011298 jal 0x00044a60               Find Address for Polygons by Depth get address for start of GPU primative list
000796d0: 00000000 nop
000796d4: 3c038004 lui r3,0x8004
000796d8: 8c63597c lw r3,0x597c(r3)
000796dc: 00402021 addu r4,r2,r0
000796e0: 00032880 sll r5,r3,0x02
000796e4: 00a32821 addu r5,r5,r3
000796e8: 000528c0 sll r5,r5,0x03
000796ec: 0c008eed jal 0x00023bb4               P06 AddPrim
000796f0: 02452821 addu r5,r18,r5
000796f4: 3c028004 lui r2,0x8004
000796f8: 8c42597c lw r2,0x597c(r2)
000796fc: 00000000 nop
00079700: 2c420001 sltiu r2,r2,0x0001
00079704: 3c018004 lui r1,0x8004
00079708: ac22597c sw r2,0x597c(r1)
0007970c: 0c011298 jal 0x00044a60               Find Address for Polygons by Depth get address for start of GPU primative list
00079710: 00000000 nop
00079714: 0c024efc jal 0x00093bf0
00079718: 244405fc addiu r4,r2,0x05fc
0007971c: 2603fff8 addiu r3,r16,0xfff8
00079720: 00608021 addu r16,r3,r0
00079724: 00031c00 sll r3,r3,0x10
00079728: 3c018004 lui r1,0x8004
0007972c: ac225984 sw r2,0x5984(r1)
00079730: 0461ffb7 bgez r3,0x00079610
00079734: 00000000 nop
00079738: 27b20020 addiu r18,r29,0x0020
0007973c: 341000ff ori r16,r0,0x00ff
00079740: 3c11800a lui r17,0x800a
00079744: 26318d88 addiu r17,r17,0x8d88
00079748: 0c024dfe jal 0x000937f8
0007974c: 00000000 nop
00079750: 2403ffff addiu r3,r0,0xffff
00079754: 10430070 beq r2,r3,0x00079918
00079758: 00000000 nop
0007975c: 0c01129f jal 0x00044a7c
00079760: 00000000 nop
00079764: 1260000d beq r19,r0,0x0007979c
00079768: 00000000 nop
0007976c: 0c011298 jal 0x00044a60                Find Address for Polygons by Depth get address for start of GPU primative list
00079770: 00000000 nop
00079774: 3c038004 lui r3,0x8004
00079778: 8c63597c lw r3,0x597c(r3)
0007977c: 00402021 addu r4,r2,r0
00079780: 00032880 sll r5,r3,0x02
00079784: 00a32821 addu r5,r5,r3
00079788: 000528c0 sll r5,r5,0x03
0007978c: 0c008eed jal 0x00023bb4                P06 AddPrim
00079790: 02452821 addu r5,r18,r5
00079794: 0801e5eb j 0x000797ac
00079798: 00000000 nop
0007979c: 0c011298 jal 0x00044a60                Find Address for Polygons by Depth get address for start of GPU primative list
000797a0: 00000000 nop
000797a4: 0c0104ea jal 0x000413a8
000797a8: 00402021 addu r4,r2,r0
000797ac: 0c011298 jal 0x00044a60                Find Address for Polygons by Depth get address for start of GPU primative list
000797b0: 00000000 nop
000797b4: 3c058004 lui r5,0x8004
000797b8: 8ca55944 lw r5,0x5944(r5)
000797bc: 0c04fd3e jal 0x0013f4f8
000797c0: 00402021 addu r4,r2,r0
000797c4: 02802021 addu r4,r20,r0
000797c8: 3c058009 lui r5,0x8009
000797cc: 8ca560f4 lw r5,0x60f4(r5)
000797d0: 0c023b1c jal 0x0008ec70
000797d4: 00403021 addu r6,r2,r0
000797d8: 3403000d ori r3,r0,0x000d
000797dc: 3c018009 lui r1,0x8009
000797e0: ac2260f4 sw r2,0x60f4(r1)
000797e4: 14430009 bne r2,r3,0x0007980c
000797e8: 00000000 nop
000797ec: 0c01e47a jal 0x000791e8
000797f0: 00000000 nop
000797f4: 0c01c27f jal 0x000709fc
000797f8: 00000000 nop
000797fc: 3c018009 lui r1,0x8009
00079800: a43061b0 sh r16,0x61b0(r1)
00079804: 0801e646 j 0x00079918
00079808: 00000000 nop
0007980c: 0c01e4a6 jal 0x00079298
00079810: 00000000 nop
00079814: 3c038004 lui r3,0x8004
00079818: 8c63597c lw r3,0x597c(r3)
0007981c: 00000000 nop
00079820: 00031040 sll r2,r3,0x01
00079824: 00431021 addu r2,r2,r3
00079828: 000210c0 sll r2,r2,0x03
0007982c: 00511021 addu r2,r2,r17
00079830: a0500004 sb r16,0x0004(r2)
00079834: 3c038004 lui r3,0x8004
00079838: 8c63597c lw r3,0x597c(r3)
0007983c: 00000000 nop
00079840: 00031040 sll r2,r3,0x01
00079844: 00431021 addu r2,r2,r3
00079848: 000210c0 sll r2,r2,0x03
0007984c: 00511021 addu r2,r2,r17
00079850: a0500005 sb r16,0x0005(r2)
00079854: 3c038004 lui r3,0x8004
00079858: 8c63597c lw r3,0x597c(r3)
0007985c: 00000000 nop
00079860: 00031040 sll r2,r3,0x01
00079864: 00431021 addu r2,r2,r3
00079868: 000210c0 sll r2,r2,0x03
0007986c: 00511021 addu r2,r2,r17
00079870: 0c011298 jal 0x00044a60                Find Address for Polygons by Depth get address for start of GPU primative list
00079874: a0500006 sb r16,0x0006(r2)
00079878: 3c038004 lui r3,0x8004
0007987c: 8c63597c lw r3,0x597c(r3)
00079880: 00402021 addu r4,r2,r0
00079884: 00032840 sll r5,r3,0x01
00079888: 00a32821 addu r5,r5,r3
0007988c: 000528c0 sll r5,r5,0x03
00079890: 0c008eed jal 0x00023bb4                P06 AddPrim
00079894: 00b12821 addu r5,r5,r17
00079898: 0c011298 jal 0x00044a60                Find Address for Polygons by Depth get address for start of GPU primative list
0007989c: 00000000 nop
000798a0: 00402021 addu r4,r2,r0
000798a4: 3c038004 lui r3,0x8004
000798a8: 8c63597c lw r3,0x597c(r3)
000798ac: 3c02800b lui r2,0x800b
000798b0: 244272dc addiu r2,r2,0x72dc
000798b4: 00032840 sll r5,r3,0x01
000798b8: 00a32821 addu r5,r5,r3
000798bc: 00052880 sll r5,r5,0x02
000798c0: 0c008eed jal 0x00023bb4                P06 AddPrim
000798c4: 00a22821 addu r5,r5,r2
000798c8: 3c028004 lui r2,0x8004
000798cc: 8c42597c lw r2,0x597c(r2)
000798d0: 00000000 nop
000798d4: 2c420001 sltiu r2,r2,0x0001
000798d8: 3c018004 lui r1,0x8004
000798dc: ac22597c sw r2,0x597c(r1)
000798e0: 0c011298 jal 0x00044a60                Find Address for Polygons by Depth get address for start of GPU primative list
000798e4: 00000000 nop
000798e8: 0c024efc jal 0x00093bf0
000798ec: 244405fc addiu r4,r2,0x05fc
000798f0: 3c048005 lui r4,0x8005
000798f4: 2484eaf4 addiu r4,r4,0xeaf4
000798f8: 3c018004 lui r1,0x8004
000798fc: ac225984 sw r2,0x5984(r1)
00079900: 0c00478e jal 0x00011e38
00079904: 00000000 nop
00079908: 0c01127b jal 0x000449ec
0007990c: 00000000 nop
00079910: 0801e5d2 j 0x00079748
00079914: 00000000 nop
00079918: 12600056 beq r19,r0,0x00079a74
0007991c: 00008021 addu r16,r0,r0
00079920: 3c11800a lui r17,0x800a
00079924: 26318d88 addiu r17,r17,0x8d88
00079928: 27b20020 addiu r18,r29,0x0020
0007992c: 00101400 sll r2,r16,0x10
00079930: 00021403 sra r2,r2,0x10
00079934: 284200f8 slti r2,r2,0x00f8
00079938: 14400002 bne r2,r0,0x00079944
0007993c: 00000000 nop
00079940: 341000ff ori r16,r0,0x00ff
00079944: 0c01129f jal 0x00044a7c
00079948: 00000000 nop
0007994c: 3c038004 lui r3,0x8004
00079950: 8c63597c lw r3,0x597c(r3)
00079954: 00000000 nop
00079958: 00031040 sll r2,r3,0x01
0007995c: 00431021 addu r2,r2,r3
00079960: 000210c0 sll r2,r2,0x03
00079964: 00511021 addu r2,r2,r17
00079968: a0500004 sb r16,0x0004(r2)
0007996c: 3c038004 lui r3,0x8004
00079970: 8c63597c lw r3,0x597c(r3)
00079974: 00000000 nop
00079978: 00031040 sll r2,r3,0x01
0007997c: 00431021 addu r2,r2,r3
00079980: 000210c0 sll r2,r2,0x03
00079984: 00511021 addu r2,r2,r17
00079988: a0500005 sb r16,0x0005(r2)
0007998c: 3c038004 lui r3,0x8004
00079990: 8c63597c lw r3,0x597c(r3)
00079994: 00000000 nop
00079998: 00031040 sll r2,r3,0x01
0007999c: 00431021 addu r2,r2,r3
000799a0: 000210c0 sll r2,r2,0x03
000799a4: 00511021 addu r2,r2,r17
000799a8: 0c011298 jal 0x00044a60                Find Address for Polygons by Depth get address for start of GPU primative list
000799ac: a0500006 sb r16,0x0006(r2)
000799b0: 3c038004 lui r3,0x8004
000799b4: 8c63597c lw r3,0x597c(r3)
000799b8: 00402021 addu r4,r2,r0
000799bc: 00032840 sll r5,r3,0x01
000799c0: 00a32821 addu r5,r5,r3
000799c4: 000528c0 sll r5,r5,0x03
000799c8: 0c008eed jal 0x00023bb4                P06 AddPrim
000799cc: 00b12821 addu r5,r5,r17
000799d0: 0c011298 jal 0x00044a60                Find Address for Polygons by Depth get address for start of GPU primative list
000799d4: 00000000 nop
000799d8: 00402021 addu r4,r2,r0
000799dc: 3c038004 lui r3,0x8004
000799e0: 8c63597c lw r3,0x597c(r3)
000799e4: 3c02800b lui r2,0x800b
000799e8: 244272dc addiu r2,r2,0x72dc
000799ec: 00032840 sll r5,r3,0x01
000799f0: 00a32821 addu r5,r5,r3
000799f4: 00052880 sll r5,r5,0x02
000799f8: 0c008eed jal 0x00023bb4                P06 AddPrim
000799fc: 00a22821 addu r5,r5,r2
00079a00: 0c011298 jal 0x00044a60                Find Address for Polygons by Depth get address for start of GPU primative list
00079a04: 00000000 nop
00079a08: 3c038004 lui r3,0x8004
00079a0c: 8c63597c lw r3,0x597c(r3)
00079a10: 00402021 addu r4,r2,r0
00079a14: 00032880 sll r5,r3,0x02
00079a18: 00a32821 addu r5,r5,r3
00079a1c: 000528c0 sll r5,r5,0x03
00079a20: 0c008eed jal 0x00023bb4                P06 AddPrim
00079a24: 02452821 addu r5,r18,r5
00079a28: 3c028004 lui r2,0x8004
00079a2c: 8c42597c lw r2,0x597c(r2)
00079a30: 00000000 nop
00079a34: 2c420001 sltiu r2,r2,0x0001
00079a38: 3c018004 lui r1,0x8004
00079a3c: ac22597c sw r2,0x597c(r1)
00079a40: 0c011298 jal 0x00044a60                Find Address for Polygons by Depth get address for start of GPU primative list
00079a44: 00000000 nop
00079a48: 0c024efc jal 0x00093bf0
00079a4c: 244405fc addiu r4,r2,0x05fc
00079a50: 26030008 addiu r3,r16,0x0008
00079a54: 00608021 addu r16,r3,r0
00079a58: 00031c00 sll r3,r3,0x10
00079a5c: 00031c03 sra r3,r3,0x10
00079a60: 28630100 slti r3,r3,0x0100
00079a64: 3c018004 lui r1,0x8004
00079a68: ac225984 sw r2,0x5984(r1)
00079a6c: 1460ffb0 bne r3,r0,0x00079930
00079a70: 00101400 sll r2,r16,0x10
00079a74: 8fbf0084 lw r31,0x0084(r29)
00079a78: 8fb40080 lw r20,0x0080(r29)
00079a7c: 8fb3007c lw r19,0x007c(r29)
00079a80: 8fb20078 lw r18,0x0078(r29)
00079a84: 8fb10074 lw r17,0x0074(r29)
00079a88: 8fb00070 lw r16,0x0070(r29)
00079a8c: 27bd0088 addiu r29,r29,0x0088
00079a90: 03e00008 jr r31
00079a94: 00000000 nop