Difference between revisions of "JOBSTTS.OUT Entrypoint"

From Final Fantasy Hacktics Wiki
Jump to navigation Jump to search
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
 
  801df198: 3c02801e lui r2,0x801e
 
  801df198: 3c02801e lui r2,0x801e
  801df19c: 9042522e lbu r2,0x522e(r2)
+
  801df19c: 9042522e lbu r2,0x522e(r2)               r2 = 00 on first load
 
  801df1a0: 27bdff90 addiu r29,r29,0xff90
 
  801df1a0: 27bdff90 addiu r29,r29,0xff90
 
  801df1a4: afb00068 sw r16,0x0068(r29)
 
  801df1a4: afb00068 sw r16,0x0068(r29)
  801df1a8: 00808021 addu r16,r4,r0
+
  801df1a8: 00808021 addu r16,r4,r0                 r16 = unit ID
  801df1ac: 14400060 bne r2,r0,0x801df330
+
  801df1ac: 14400060 bne r2,r0,0x801df330           branch if not first time here
 
  801df1b0: afbf006c sw r31,0x006c(r29)
 
  801df1b0: afbf006c sw r31,0x006c(r29)
 
  801df1b4: 3c048020 lui r4,0x8020
 
  801df1b4: 3c048020 lui r4,0x8020
  801df1b8: 2484a348 addiu r4,r4,0xa348
+
  801df1b8: 2484a348 addiu r4,r4,0xa348             r4 = 0x8020a348
 
  801df1bc: 3c058020 lui r5,0x8020
 
  801df1bc: 3c058020 lui r5,0x8020
  801df1c0: 24a5a148 addiu r5,r5,0xa148
+
  801df1c0: 24a5a148 addiu r5,r5,0xa148             r5 = 0x8020a148
  801df1c4: 34020040 ori r2,r0,0x0040
+
  801df1c4: 34020040 ori r2,r0,0x0040               r2 = 0x40
 
  801df1c8: 3c018020 lui r1,0x8020
 
  801df1c8: 3c018020 lui r1,0x8020
  801df1cc: a422a7b4 sh r2,-0x584c(r1)
+
  801df1cc: a422a7b4 sh r2,-0x584c(r1)               store 0x40 in 0x801fa7b4
  801df1d0: 340201f4 ori r2,r0,0x01f4
+
  801df1d0: 340201f4 ori r2,r0,0x01f4                r2 = 0x01f4
 
  801df1d4: 3c018020 lui r1,0x8020
 
  801df1d4: 3c018020 lui r1,0x8020
  801df1d8: a422a770 sh r2,-0x5890(r1)
+
  801df1d8: a422a770 sh r2,-0x5890(r1)               store 0x01f4 in 0x801fa770
  801df1dc: 34020014 ori r2,r0,0x0014
+
  801df1dc: 34020014 ori r2,r0,0x0014               r2 = 0x14
 
  801df1e0: 3c018020 lui r1,0x8020
 
  801df1e0: 3c018020 lui r1,0x8020
  801df1e4: a422a7c4 sh r2,-0x583c(r1)
+
  801df1e4: a422a7c4 sh r2,-0x583c(r1)               store 0x14 in 0x801fa7c4
  801df1e8: 3402000a ori r2,r0,0x000a
+
  801df1e8: 3402000a ori r2,r0,0x000a               r2 = 0x0a
 
  801df1ec: 3c018020 lui r1,0x8020
 
  801df1ec: 3c018020 lui r1,0x8020
  801df1f0: a422a7b8 sh r2,-0x5848(r1)
+
  801df1f0: a422a7b8 sh r2,-0x5848(r1)               store 0x0a in 0x801fa7b8
 
  801df1f4: 3c02801f lui r2,0x801f
 
  801df1f4: 3c02801f lui r2,0x801f
  801df1f8: 24420058 addiu r2,r2,0x0058
+
  801df1f8: 24420058 addiu r2,r2,0x0058             r2 = 0x801f0058
  801df1fc: afa20014 sw r2,0x0014(r29)
+
  801df1fc: afa20014 sw r2,0x0014(r29)               store r2 to stack 0x14
 
  801df200: 3c028020 lui r2,0x8020
 
  801df200: 3c028020 lui r2,0x8020
  801df204: 24429c98 addiu r2,r2,0x9c98
+
  801df204: 24429c98 addiu r2,r2,0x9c98             r2 = 0x80209c98
  801df208: 3c018020 lui r1,0x8020
+
  801df208: 3c018020 lui r1,0x8020                  
  801df20c: a420a724 sh r0,-0x58dc(r1)
+
  801df20c: a420a724 sh r0,-0x58dc(r1)               store 0x0000 to 0x801fa724
 
  801df210: 3c018020 lui r1,0x8020
 
  801df210: 3c018020 lui r1,0x8020
  801df214: a420a764 sh r0,-0x589c(r1)
+
  801df214: a420a764 sh r0,-0x589c(r1)               store 0x0000 to 0x801fa764
 
  801df218: 3c018020 lui r1,0x8020
 
  801df218: 3c018020 lui r1,0x8020
  801df21c: a420a72c sh r0,-0x58d4(r1)
+
  801df21c: a420a72c sh r0,-0x58d4(r1)               store 0x0000 to 0x801fa72c
 
  801df220: 3c018020 lui r1,0x8020
 
  801df220: 3c018020 lui r1,0x8020
  801df224: a420a728 sh r0,-0x58d8(r1)
+
  801df224: a420a728 sh r0,-0x58d8(r1)               store 0x0000 to 0x801fa728
 
  801df228: 3c018020 lui r1,0x8020
 
  801df228: 3c018020 lui r1,0x8020
  801df22c: a420a76c sh r0,-0x5894(r1)
+
  801df22c: a420a76c sh r0,-0x5894(r1)               store 0x0000 to 0x801fa76c
 
  801df230: 3c018020 lui r1,0x8020
 
  801df230: 3c018020 lui r1,0x8020
  801df234: a420a730 sh r0,-0x58d0(r1)
+
  801df234: a420a730 sh r0,-0x58d0(r1)               store 0x0000 to 0x801fa730
 
  801df238: 3c018020 lui r1,0x8020
 
  801df238: 3c018020 lui r1,0x8020
  801df23c: a420a77c sh r0,-0x5884(r1)
+
  801df23c: a420a77c sh r0,-0x5884(r1)               store 0x0000 to 0x801fa77c
 
  801df240: 3c018020 lui r1,0x8020
 
  801df240: 3c018020 lui r1,0x8020
  801df244: a420a74c sh r0,-0x58b4(r1)
+
  801df244: a420a74c sh r0,-0x58b4(r1)               store 0x0000 to 0x801fa74c
 
  801df248: 3c018020 lui r1,0x8020
 
  801df248: 3c018020 lui r1,0x8020
  801df24c: a420a754 sh r0,-0x58ac(r1)
+
  801df24c: a420a754 sh r0,-0x58ac(r1)               store 0x0000 to 0x801fa754
 
  801df250: 3c018020 lui r1,0x8020
 
  801df250: 3c018020 lui r1,0x8020
  801df254: a420a75c sh r0,-0x58a4(r1)
+
  801df254: a420a75c sh r0,-0x58a4(r1)               store 0x0000 to 0x801fa75c
 
  801df258: 3c018020 lui r1,0x8020
 
  801df258: 3c018020 lui r1,0x8020
  801df25c: a420a750 sh r0,-0x58b0(r1)
+
  801df25c: a420a750 sh r0,-0x58b0(r1)               store 0x0000 to 0x801fa750
 
  801df260: 3c018020 lui r1,0x8020
 
  801df260: 3c018020 lui r1,0x8020
  801df264: a420a758 sh r0,-0x58a8(r1)
+
  801df264: a420a758 sh r0,-0x58a8(r1)               store 0x0000 to 0x801fa758
 
  801df268: 3c018020 lui r1,0x8020
 
  801df268: 3c018020 lui r1,0x8020
  801df26c: a420a760 sh r0,-0x58a0(r1)
+
  801df26c: a420a760 sh r0,-0x58a0(r1)               store 0x0000 to 0x801fa760
 
  801df270: 3c018020 lui r1,0x8020
 
  801df270: 3c018020 lui r1,0x8020
  801df274: a420a7c0 sh r0,-0x5840(r1)
+
  801df274: a420a7c0 sh r0,-0x5840(r1)               store 0x0000 to 0x801fa7c0
 
  801df278: 3c018020 lui r1,0x8020
 
  801df278: 3c018020 lui r1,0x8020
  801df27c: a420a7e0 sh r0,-0x5820(r1)
+
  801df27c: a420a7e0 sh r0,-0x5820(r1)               store 0x0000 to 0x801fa7e0
 
  801df280: 3c018020 lui r1,0x8020
 
  801df280: 3c018020 lui r1,0x8020
  801df284: a420a7e8 sh r0,-0x5818(r1)
+
  801df284: a420a7e8 sh r0,-0x5818(r1)               store 0x0000 to 0x801fa7e8
 
  801df288: 3c018020 lui r1,0x8020
 
  801df288: 3c018020 lui r1,0x8020
  801df28c: a420a808 sh r0,-0x57f8(r1)
+
  801df28c: a420a808 sh r0,-0x57f8(r1)               store 0x0000 to 0x801fa808
 
  801df290: 3c018020 lui r1,0x8020
 
  801df290: 3c018020 lui r1,0x8020
  801df294: a420a748 sh r0,-0x58b8(r1)
+
  801df294: a420a748 sh r0,-0x58b8(r1)               store 0x0000 to 0x801fa748
 
  801df298: 3c018020 lui r1,0x8020
 
  801df298: 3c018020 lui r1,0x8020
  801df29c: a420a7a0 sh r0,-0x5860(r1)
+
  801df29c: a420a7a0 sh r0,-0x5860(r1)               store 0x0000 to 0x801fa7a0
 
  801df2a0: 3c018020 lui r1,0x8020
 
  801df2a0: 3c018020 lui r1,0x8020
  801df2a4: a420a7b0 sh r0,-0x5850(r1)
+
  801df2a4: a420a7b0 sh r0,-0x5850(r1)               store 0x0000 to 0x801fa7b0
 
  801df2a8: afa00010 sw r0,0x0010(r29)
 
  801df2a8: afa00010 sw r0,0x0010(r29)
 
  801df2ac: afa00018 sw r0,0x0018(r29)
 
  801df2ac: afa00018 sw r0,0x0018(r29)
 
  801df2b0: afa0001c sw r0,0x001c(r29)
 
  801df2b0: afa0001c sw r0,0x001c(r29)
 
  801df2b4: afa00020 sw r0,0x0020(r29)
 
  801df2b4: afa00020 sw r0,0x0020(r29)
  801df2b8: afa00024 sw r0,0x0024(r29)
+
  801df2b8: afa00024 sw r0,0x0024(r29)               clear stack from 0x10 through 0x5c
 
  801df2bc: afa00028 sw r0,0x0028(r29)
 
  801df2bc: afa00028 sw r0,0x0028(r29)
 
  801df2c0: afa0002c sw r0,0x002c(r29)
 
  801df2c0: afa0002c sw r0,0x002c(r29)
Line 78: Line 78:
 
  801df2cc: afa2005c sw r2,0x005c(r29)
 
  801df2cc: afa2005c sw r2,0x005c(r29)
 
  801df2d0: 3c028020 lui r2,0x8020
 
  801df2d0: 3c028020 lui r2,0x8020
  801df2d4: 2442a058 addiu r2,r2,0xa058
+
  801df2d4: 2442a058 addiu r2,r2,0xa058             r2 = 0x8020a058
  801df2d8: 00003021 addu r6,r0,r0
+
  801df2d8: 00003021 addu r6,r0,r0                   r6 = 0x00
  801df2dc: 00003821 addu r7,r0,r0
+
  801df2dc: 00003821 addu r7,r0,r0                   r7 = 0x00
 
  801df2e0: afa00038 sw r0,0x0038(r29)
 
  801df2e0: afa00038 sw r0,0x0038(r29)
 
  801df2e4: afa0003c sw r0,0x003c(r29)
 
  801df2e4: afa0003c sw r0,0x003c(r29)
Line 90: Line 90:
 
  801df2fc: afa00054 sw r0,0x0054(r29)
 
  801df2fc: afa00054 sw r0,0x0054(r29)
 
  801df300: afa00058 sw r0,0x0058(r29)
 
  801df300: afa00058 sw r0,0x0058(r29)
  801df304: 0c07927c jal 0x001e49f0
+
  801df304: 0c07927c jal 0x001e49f0                 [[JOBSTTS.OUT 001e49f0 - 001e4e74]]
  801df308: afa20060 sw r2,0x0060(r29)
+
  801df308: afa20060 sw r2,0x0060(r29)               store 0x8020a058 to stack 0x60
  801df30c: 0c077c01 jal 0x001df004
+
  801df30c: 0c077c01 jal 0x001df004                 [[JOBSTTS.OUT 001df004 - 001df194]]
 
  801df310: 00000000 nop
 
  801df310: 00000000 nop
  801df314: 0c07804a jal 0x001e0128
+
  801df314: 0c07804a jal 0x001e0128                 [[JOBSTTS.OUT Initial unit move data]]
  801df318: 02002021 addu r4,r16,r0
+
  801df318: 02002021 addu r4,r16,r0                 unit ID
  801df31c: 0c077d1e jal 0x001df478
+
  801df31c: 0c077d1e jal 0x001df478                 [[JOBSTTS.OUT 001df478 - 001df4a0]]
 
  801df320: 00000000 nop
 
  801df320: 00000000 nop
 
  801df324: 34020001 ori r2,r0,0x0001
 
  801df324: 34020001 ori r2,r0,0x0001
Line 102: Line 102:
 
  801df32c: a022522e sb r2,0x522e(r1)
 
  801df32c: a022522e sb r2,0x522e(r1)
 
  801df330: 00002021 addu r4,r0,r0
 
  801df330: 00002021 addu r4,r0,r0
  801df334: 0c0791f2 jal 0x001e47c8
+
  801df334: 0c0791f2 jal 0x001e47c8                 [[JOBSTTS.OUT 001e47c8 - 001e48f0]]
 
  801df338: 2405ffff addiu r5,r0,0xffff
 
  801df338: 2405ffff addiu r5,r0,0xffff
 
  801df33c: 3c028020 lui r2,0x8020
 
  801df33c: 3c028020 lui r2,0x8020
Line 112: Line 112:
 
  801df354: 3c01801f lui r1,0x801f
 
  801df354: 3c01801f lui r1,0x801f
 
  801df358: a0220054 sb r2,0x0054(r1)
 
  801df358: a0220054 sb r2,0x0054(r1)
  801df35c: 0c0783ba jal 0x001e0ee8
+
  801df35c: 0c0783ba jal 0x001e0ee8                 [[JOBSTTS.OUT 001e0ee8 - 001e104c]]
 
  801df360: 00000000 nop
 
  801df360: 00000000 nop
 
  801df364: 3c028020 lui r2,0x8020
 
  801df364: 3c028020 lui r2,0x8020
Line 120: Line 120:
 
  801df374: 10400003 beq r2,r0,0x801df384
 
  801df374: 10400003 beq r2,r0,0x801df384
 
  801df378: 00000000 nop
 
  801df378: 00000000 nop
  801df37c: 0c0782cb jal 0x001e0b2c
+
  801df37c: 0c0782cb jal 0x001e0b2c                 [[JOBSTTS.OUT 001e0b2c - 001e0ba4]]
 
  801df380: 34040003 ori r4,r0,0x0003
 
  801df380: 34040003 ori r4,r0,0x0003
 
  801df384: 3c02801f lui r2,0x801f
 
  801df384: 3c02801f lui r2,0x801f
Line 132: Line 132:
 
  801df3a4: 14400003 bne r2,r0,0x801df3b4
 
  801df3a4: 14400003 bne r2,r0,0x801df3b4
 
  801df3a8: 00000000 nop
 
  801df3a8: 00000000 nop
  801df3ac: 0c04d01d jal 0x00134074
+
  801df3ac: 0c04d01d jal 0x00134074                 [[00134074 - 001340a8]]
 
  801df3b0: 00000000 nop
 
  801df3b0: 00000000 nop
 
  801df3b4: 3c048016 lui r4,0x8016
 
  801df3b4: 3c048016 lui r4,0x8016
 
  801df3b8: 8c846028 lw r4,0x6028(r4)
 
  801df3b8: 8c846028 lw r4,0x6028(r4)
  801df3bc: 0c0790ce jal 0x001e4338
+
  801df3bc: 0c0790ce jal 0x001e4338                 [[JOBSTTS.OUT 001e4338 - 001e4410]]
 
  801df3c0: 00000000 nop
 
  801df3c0: 00000000 nop
 
  801df3c4: 3c03801e lui r3,0x801e
 
  801df3c4: 3c03801e lui r3,0x801e
Line 143: Line 143:
 
  801df3d0: 1460000c bne r3,r0,0x801df404
 
  801df3d0: 1460000c bne r3,r0,0x801df404
 
  801df3d4: 34020001 ori r2,r0,0x0001
 
  801df3d4: 34020001 ori r2,r0,0x0001
  801df3d8: 0c077deb jal 0x001df7ac
+
  801df3d8: 0c077deb jal 0x001df7ac                 [[JOBSTTS.OUT 001df7ac - 001df960]]
 
  801df3dc: 00000000 nop
 
  801df3dc: 00000000 nop
 
  801df3e0: 3c038020 lui r3,0x8020
 
  801df3e0: 3c038020 lui r3,0x8020
Line 156: Line 156:
 
  801df404: 14620007 bne r3,r2,0x801df424
 
  801df404: 14620007 bne r3,r2,0x801df424
 
  801df408: 00000000 nop
 
  801df408: 00000000 nop
  801df40c: 0c077efa jal 0x001dfbe8
+
  801df40c: 0c077efa jal 0x001dfbe8                 [[JOBSTTS.OUT 001dfbe8 - 001dff9c]]
 
  801df410: 00000000 nop
 
  801df410: 00000000 nop
 
  801df414: 3c01801e lui r1,0x801e
 
  801df414: 3c01801e lui r1,0x801e
Line 173: Line 173:
 
  801df448: 10800006 beq r4,r0,0x801df464
 
  801df448: 10800006 beq r4,r0,0x801df464
 
  801df44c: 02001021 addu r2,r16,r0
 
  801df44c: 02001021 addu r2,r16,r0
  801df450: 0c010ffe jal 0x00043ff8
+
  801df450: 0c010ffe jal 0x00043ff8                   [[Play Sound Effect]]
 
  801df454: 00000000 nop
 
  801df454: 00000000 nop
 
  801df458: 3c01801e lui r1,0x801e
 
  801df458: 3c01801e lui r1,0x801e

Latest revision as of 06:37, 15 June 2024

801df198: 3c02801e lui r2,0x801e
801df19c: 9042522e lbu r2,0x522e(r2)               r2 = 00 on first load
801df1a0: 27bdff90 addiu r29,r29,0xff90
801df1a4: afb00068 sw r16,0x0068(r29)
801df1a8: 00808021 addu r16,r4,r0                  r16 = unit ID
801df1ac: 14400060 bne r2,r0,0x801df330            branch if not first time here
801df1b0: afbf006c sw r31,0x006c(r29)
801df1b4: 3c048020 lui r4,0x8020
801df1b8: 2484a348 addiu r4,r4,0xa348              r4 = 0x8020a348
801df1bc: 3c058020 lui r5,0x8020
801df1c0: 24a5a148 addiu r5,r5,0xa148              r5 = 0x8020a148
801df1c4: 34020040 ori r2,r0,0x0040                r2 = 0x40
801df1c8: 3c018020 lui r1,0x8020
801df1cc: a422a7b4 sh r2,-0x584c(r1)               store 0x40 in 0x801fa7b4
801df1d0: 340201f4 ori r2,r0,0x01f4                r2 = 0x01f4
801df1d4: 3c018020 lui r1,0x8020
801df1d8: a422a770 sh r2,-0x5890(r1)               store 0x01f4 in 0x801fa770
801df1dc: 34020014 ori r2,r0,0x0014                r2 = 0x14
801df1e0: 3c018020 lui r1,0x8020
801df1e4: a422a7c4 sh r2,-0x583c(r1)               store 0x14 in 0x801fa7c4
801df1e8: 3402000a ori r2,r0,0x000a                r2 = 0x0a
801df1ec: 3c018020 lui r1,0x8020
801df1f0: a422a7b8 sh r2,-0x5848(r1)               store 0x0a in 0x801fa7b8
801df1f4: 3c02801f lui r2,0x801f
801df1f8: 24420058 addiu r2,r2,0x0058              r2 = 0x801f0058
801df1fc: afa20014 sw r2,0x0014(r29)               store r2 to stack 0x14
801df200: 3c028020 lui r2,0x8020
801df204: 24429c98 addiu r2,r2,0x9c98              r2 = 0x80209c98
801df208: 3c018020 lui r1,0x8020                   
801df20c: a420a724 sh r0,-0x58dc(r1)               store 0x0000 to 0x801fa724
801df210: 3c018020 lui r1,0x8020
801df214: a420a764 sh r0,-0x589c(r1)               store 0x0000 to 0x801fa764
801df218: 3c018020 lui r1,0x8020
801df21c: a420a72c sh r0,-0x58d4(r1)               store 0x0000 to 0x801fa72c
801df220: 3c018020 lui r1,0x8020
801df224: a420a728 sh r0,-0x58d8(r1)               store 0x0000 to 0x801fa728
801df228: 3c018020 lui r1,0x8020
801df22c: a420a76c sh r0,-0x5894(r1)               store 0x0000 to 0x801fa76c
801df230: 3c018020 lui r1,0x8020
801df234: a420a730 sh r0,-0x58d0(r1)               store 0x0000 to 0x801fa730
801df238: 3c018020 lui r1,0x8020
801df23c: a420a77c sh r0,-0x5884(r1)               store 0x0000 to 0x801fa77c
801df240: 3c018020 lui r1,0x8020
801df244: a420a74c sh r0,-0x58b4(r1)               store 0x0000 to 0x801fa74c
801df248: 3c018020 lui r1,0x8020
801df24c: a420a754 sh r0,-0x58ac(r1)               store 0x0000 to 0x801fa754
801df250: 3c018020 lui r1,0x8020
801df254: a420a75c sh r0,-0x58a4(r1)               store 0x0000 to 0x801fa75c
801df258: 3c018020 lui r1,0x8020
801df25c: a420a750 sh r0,-0x58b0(r1)               store 0x0000 to 0x801fa750
801df260: 3c018020 lui r1,0x8020
801df264: a420a758 sh r0,-0x58a8(r1)               store 0x0000 to 0x801fa758
801df268: 3c018020 lui r1,0x8020
801df26c: a420a760 sh r0,-0x58a0(r1)               store 0x0000 to 0x801fa760
801df270: 3c018020 lui r1,0x8020
801df274: a420a7c0 sh r0,-0x5840(r1)               store 0x0000 to 0x801fa7c0
801df278: 3c018020 lui r1,0x8020
801df27c: a420a7e0 sh r0,-0x5820(r1)               store 0x0000 to 0x801fa7e0
801df280: 3c018020 lui r1,0x8020
801df284: a420a7e8 sh r0,-0x5818(r1)               store 0x0000 to 0x801fa7e8
801df288: 3c018020 lui r1,0x8020
801df28c: a420a808 sh r0,-0x57f8(r1)               store 0x0000 to 0x801fa808
801df290: 3c018020 lui r1,0x8020
801df294: a420a748 sh r0,-0x58b8(r1)               store 0x0000 to 0x801fa748
801df298: 3c018020 lui r1,0x8020
801df29c: a420a7a0 sh r0,-0x5860(r1)               store 0x0000 to 0x801fa7a0
801df2a0: 3c018020 lui r1,0x8020
801df2a4: a420a7b0 sh r0,-0x5850(r1)               store 0x0000 to 0x801fa7b0
801df2a8: afa00010 sw r0,0x0010(r29)
801df2ac: afa00018 sw r0,0x0018(r29)
801df2b0: afa0001c sw r0,0x001c(r29)
801df2b4: afa00020 sw r0,0x0020(r29)
801df2b8: afa00024 sw r0,0x0024(r29)               clear stack from 0x10 through 0x5c
801df2bc: afa00028 sw r0,0x0028(r29)
801df2c0: afa0002c sw r0,0x002c(r29)
801df2c4: afa00030 sw r0,0x0030(r29)
801df2c8: afa00034 sw r0,0x0034(r29)
801df2cc: afa2005c sw r2,0x005c(r29)
801df2d0: 3c028020 lui r2,0x8020
801df2d4: 2442a058 addiu r2,r2,0xa058              r2 = 0x8020a058
801df2d8: 00003021 addu r6,r0,r0                   r6 = 0x00
801df2dc: 00003821 addu r7,r0,r0                   r7 = 0x00
801df2e0: afa00038 sw r0,0x0038(r29)
801df2e4: afa0003c sw r0,0x003c(r29)
801df2e8: afa00040 sw r0,0x0040(r29)
801df2ec: afa00044 sw r0,0x0044(r29)
801df2f0: afa00048 sw r0,0x0048(r29)
801df2f4: afa0004c sw r0,0x004c(r29)
801df2f8: afa00050 sw r0,0x0050(r29)
801df2fc: afa00054 sw r0,0x0054(r29)
801df300: afa00058 sw r0,0x0058(r29)
801df304: 0c07927c jal 0x001e49f0                  JOBSTTS.OUT 001e49f0 - 001e4e74
801df308: afa20060 sw r2,0x0060(r29)               store 0x8020a058 to stack 0x60
801df30c: 0c077c01 jal 0x001df004                  JOBSTTS.OUT 001df004 - 001df194
801df310: 00000000 nop
801df314: 0c07804a jal 0x001e0128                  JOBSTTS.OUT Initial unit move data
801df318: 02002021 addu r4,r16,r0                  unit ID
801df31c: 0c077d1e jal 0x001df478                  JOBSTTS.OUT 001df478 - 001df4a0
801df320: 00000000 nop
801df324: 34020001 ori r2,r0,0x0001
801df328: 3c01801e lui r1,0x801e
801df32c: a022522e sb r2,0x522e(r1)
801df330: 00002021 addu r4,r0,r0
801df334: 0c0791f2 jal 0x001e47c8                  JOBSTTS.OUT 001e47c8 - 001e48f0
801df338: 2405ffff addiu r5,r0,0xffff
801df33c: 3c028020 lui r2,0x8020
801df340: 8c42a7d0 lw r2,-0x5830(r2)
801df344: 00000000 nop
801df348: 8c500000 lw r16,0x0000(r2)
801df34c: 3c028016 lui r2,0x8016
801df350: 90426028 lbu r2,0x6028(r2)
801df354: 3c01801f lui r1,0x801f
801df358: a0220054 sb r2,0x0054(r1)
801df35c: 0c0783ba jal 0x001e0ee8                  JOBSTTS.OUT 001e0ee8 - 001e104c
801df360: 00000000 nop
801df364: 3c028020 lui r2,0x8020
801df368: 8c42a7d4 lw r2,-0x582c(r2)
801df36c: 00000000 nop
801df370: 30420100 andi r2,r2,0x0100
801df374: 10400003 beq r2,r0,0x801df384
801df378: 00000000 nop
801df37c: 0c0782cb jal 0x001e0b2c                  JOBSTTS.OUT 001e0b2c - 001e0ba4
801df380: 34040003 ori r4,r0,0x0003
801df384: 3c02801f lui r2,0x801f
801df388: 90420054 lbu r2,0x0054(r2)
801df38c: 00000000 nop
801df390: 10400008 beq r2,r0,0x801df3b4
801df394: 00000000 nop
801df398: 3c028016 lui r2,0x8016
801df39c: 8c426028 lw r2,0x6028(r2)
801df3a0: 00000000 nop
801df3a4: 14400003 bne r2,r0,0x801df3b4
801df3a8: 00000000 nop
801df3ac: 0c04d01d jal 0x00134074                  00134074 - 001340a8
801df3b0: 00000000 nop
801df3b4: 3c048016 lui r4,0x8016
801df3b8: 8c846028 lw r4,0x6028(r4)
801df3bc: 0c0790ce jal 0x001e4338                  JOBSTTS.OUT 001e4338 - 001e4410
801df3c0: 00000000 nop
801df3c4: 3c03801e lui r3,0x801e
801df3c8: 8063522c lb r3,0x522c(r3)
801df3cc: 00000000 nop
801df3d0: 1460000c bne r3,r0,0x801df404
801df3d4: 34020001 ori r2,r0,0x0001
801df3d8: 0c077deb jal 0x001df7ac                  JOBSTTS.OUT 001df7ac - 001df960
801df3dc: 00000000 nop
801df3e0: 3c038020 lui r3,0x8020
801df3e4: 8c63a7d4 lw r3,-0x582c(r3)
801df3e8: 3c01801e lui r1,0x801e
801df3ec: a022522c sb r2,0x522c(r1)
801df3f0: 30630040 andi r3,r3,0x0040
801df3f4: 10600011 beq r3,r0,0x801df43c
801df3f8: 00000000 nop
801df3fc: 08077d0a j 0x001df428
801df400: 00008021 addu r16,r0,r0
801df404: 14620007 bne r3,r2,0x801df424
801df408: 00000000 nop
801df40c: 0c077efa jal 0x001dfbe8                  JOBSTTS.OUT 001dfbe8 - 001dff9c
801df410: 00000000 nop
801df414: 3c01801e lui r1,0x801e
801df418: a022522c sb r2,0x522c(r1)
801df41c: 08077d0f j 0x001df43c
801df420: 00000000 nop
801df424: 00008021 addu r16,r0,r0
801df428: 34020002 ori r2,r0,0x0002
801df42c: 3c01801e lui r1,0x801e
801df430: a0225028 sb r2,0x5028(r1)
801df434: 3c01801e lui r1,0x801e
801df438: a020522e sb r0,0x522e(r1)
801df43c: 3c04801e lui r4,0x801e
801df440: 90845028 lbu r4,0x5028(r4)
801df444: 00000000 nop
801df448: 10800006 beq r4,r0,0x801df464
801df44c: 02001021 addu r2,r16,r0
801df450: 0c010ffe jal 0x00043ff8                   Play Sound Effect
801df454: 00000000 nop
801df458: 3c01801e lui r1,0x801e
801df45c: a0205028 sb r0,0x5028(r1)
801df460: 02001021 addu r2,r16,r0
801df464: 8fbf006c lw r31,0x006c(r29)
801df468: 8fb00068 lw r16,0x0068(r29)
801df46c: 27bd0070 addiu r29,r29,0x0070
801df470: 03e00008 jr r31
801df474: 00000000 nop