Difference between revisions of "001982d8 - 001984e8"

From Final Fantasy Hacktics Wiki
Jump to navigation Jump to search
Line 1: Line 1:
<font face='Courier New'>
+
0x1982d8: [[001982d8 - 001984e8]]
 
00197ff4: 3c02801a lui r2,0x801a
 
00197ff8: 8c420bbc lw r2,0x0bbc(r2) load acting unit data
 
00197ffc: 27bdffe0 addiu r29,r29,0xffe0
 
00198000: afbf0018 sw r31,0x0018(r29)
 
00198004: afb10014 sw r17,0x0014(r29)
 
00198008: afb00010 sw r16,0x0010(r29)
 
0019800c: 905001b9 lbu r16,0x01b9(r2)
 
00198010: 3c02801a lui r2,0x801a
 
00198014: 90420d7b lbu r2,0x0d7b(r2) load skillset/usage byte
 
00198018: 3c11801a lui r17,0x801a
 
0019801c: 2631f3c4 addiu r17,r17,0xf3c4 r17 = AI data
 
00198020: 10400013 beq r2,r0,0x00198070 branch if byte = 0
 
00198024: 34020001 ori r2,r0,0x0001
 
00198028: 3c03801a lui r3,0x801a
 
0019802c: 90630032 lbu r3,0x0032(r3) load able to move to target?
 
00198030: 00000000 nop
 
00198034: 1062006a beq r3,r2,0x001981e0 branch if byte = 01
 
00198038: 28620002 slti r2,r3,0x0002
 
0019803c: 10400005 beq r2,r0,0x00198054 branch if byte = 2
 
00198040: 00000000 nop
 
00198044: 1060005f beq r3,r0,0x001981c4 branch if byte = 0
 
00198048: 00000000 nop
 
0019804c: 080660a0 j 0x00198280 go to end?
 
00198050: 00000000 nop
 
  
00198054: 34020002 ori r2,r0,0x0002
+
0019ab78: [[Word Nulling]]
00198058: 1062006a beq r3,r2,0x00198204 branch if byte = 2
+
001994f8: [[See if able to move to target?]]
0019805c: 34020003 ori r2,r0,0x0003
+
001962a0: [[Get Longest Range Ability or Move]]
00198060: 10620077 beq r3,r2,0x00198240 branch if byte = 3
+
0019693c: [[0019693c - 00196ad8]]
00198064: 00000000 nop
+
00196908: [[00196908 - 00196938]]
00198068: 080660a0 j 0x00198280 go to end?
+
00196adc: [[00196adc - 00196c88]]
0019806c: 00000000 nop
+
001993a0: [[001993a0 - 00199494]]
00198070: 0c065b23 jal 0x00196c8c check target type (return 1 if unit can't/shouldnt be targeted
+
0019ab08: [[Transfer Halfword Values]]
00198074: 02002021 addu r4,r16,r0
+
0019689c: [[0019689c - 00196904]]
00198078: 14400006 bne r2,r0,0x00198094 branch if not targeting unit
 
0019807c: 00101100 sll r2,r16,0x04
 
00198080: 00511021 addu r2,r2,r17
 
00198084: 90421834 lbu r2,0x1834(r2) load enemy flag?
 
00198088: 00000000 nop
 
0019808c: 14400048 bne r2,r0,0x001981b0 branch if enemy?
 
00198090: 00000000 nop
 
00198094: 3c03801a lui r3,0x801a
 
00198098: 8c6301f8 lw r3,0x01f8(r3) acting units AI decision
 
0019809c: 00000000 nop
 
001980a0: 90620004 lbu r2,0x0004(r3) load Type of AI?
 
001980a4: 00000000 nop
 
001980a8: 304200f7 andi r2,r2,0x00f7 remove coward-like AI
 
001980ac: a0620004 sb r2,0x0004(r3)
 
001980b0: 001010c0 sll r2,r16,0x03
 
001980b4: 00501023 subu r2,r2,r16
 
001980b8: 00021180 sll r2,r2,0x06
 
001980bc: 3c038019 lui r3,0x8019
 
001980c0: 246308cc addiu r3,r3,0x08cc
 
001980c4: 00431821 addu r3,r2,r3 get unit data
 
001980c8: 90640182 lbu r4,0x0182(r3) load mount data
 
001980cc: 00000000 nop
 
001980d0: 30820040 andi r2,r4,0x0040
 
001980d4: 10400014 beq r2,r0,0x00198128 branch if not being ridden
 
001980d8: 26220014 addiu r2,r17,0x0014
 
001980dc: 9062005a lbu r2,0x005a(r3) load status
 
001980e0: 00000000 nop
 
001980e4: 30420010 andi r2,r2,0x0010
 
001980e8: 1040000b beq r2,r0,0x00198118 branch if not transparent
 
001980ec: 3082001f andi r2,r4,0x001f
 
001980f0: 000218c0 sll r3,r2,0x03
 
001980f4: 00621823 subu r3,r3,r2
 
001980f8: 00031980 sll r3,r3,0x06
 
001980fc: 3c018019 lui r1,0x8019
 
00198100: 00230821 addu r1,r1,r3
 
00198104: 90220926 lbu r2,0x0926(r1) load 5A status
 
00198108: 00000000 nop
 
0019810c: 30420010 andi r2,r2,0x0010
 
00198110: 14400027 bne r2,r0,0x001981b0 branch if transparent
 
00198114: 00000000 nop
 
00198118: 0806606c j 0x001981b0
 
0019811c: 3090001f andi r16,r4,0x001f
 
  
00198120: 0806606c j 0x001981b0
+
001982d8: 3c02801a lui r2,0x801a
00198124: 00808021 addu r16,r4,r0
+
001982dc: 90420d7b lbu r2,0x0d7b(r2)
 +
001982e0: 27bdffd8 addiu r29,r29,0xffd8
 +
001982e4: afb00010 sw r16,0x0010(r29)
 +
001982e8: 3c10801a lui r16,0x801a
 +
001982ec: 2610f3c4 addiu r16,r16,0xf3c4
 +
001982f0: afbf0020 sw r31,0x0020(r29)
 +
001982f4: afb3001c sw r19,0x001c(r29)
 +
001982f8: afb20018 sw r18,0x0018(r29)
 +
001982fc: 14400016 bne r2,r0,0x00198358
 +
00198300: afb10014 sw r17,0x0014(r29)
 +
00198304: 3c02801a lui r2,0x801a
 +
00198308: 8c420bbc lw r2,0x0bbc(r2)
 +
0019830c: 00000000 nop
 +
00198310: 904301b9 lbu r3,0x01b9(r2)
 +
00198314: 3c02801a lui r2,0x801a
 +
00198318: 904201f2 lbu r2,0x01f2(r2)
 +
0019831c: 00000000 nop
 +
00198320: 10620009 beq r3,r2,0x00198348
 +
00198324: 260403b4 addiu r4,r16,0x03b4
 +
00198328: 00031100 sll r2,r3,0x04
 +
0019832c: 00501021 addu r2,r2,r16
 +
00198330: 90421833 lbu r2,0x1833(r2)
 +
00198334: 00000000 nop
 +
00198338: 00021102 srl r2,r2,0x04
 +
0019833c: 30420001 andi r2,r2,0x0001
 +
00198340: 10400005 beq r2,r0,0x00198358
 +
00198344: 00000000 nop
  
00198128: 34030001 ori r3,r0,0x0001
+
00198348: 0c066ade jal 0x0019ab78 [[Word Nulling]]
0019812c: 34040014 ori r4,r0,0x0014
+
0019834c: 34050240 ori r5,r0,0x0240
00198130: a0430c8d sb r3,0x0c8d(r2) store ??
+
00198350: 080660dc j 0x00198370
00198134: 2484ffff addiu r4,r4,0xffff
+
00198354: 00000000 nop
00198138: 0481fffd bgez r4,0x00198130
 
0019813c: 2442ffff addiu r2,r2,0xffff
 
00198140: 0c066449 jal 0x00199124 calculate physical target (choose unit)
 
00198144: 34040004 ori r4,r0,0x0004
 
00198148: 92230e2e lbu r3,0x0e2e(r17) acting units ID
 
0019814c: 00408021 addu r16,r2,r0
 
00198150: 16030017 bne r16,r3,0x001981b0 branch if chosen target != self
 
00198154: 00002021 addu r4,r0,r0
 
00198158: 340600ff ori r6,r0,0x00ff
 
0019815c: 02202821 addu r5,r17,r0
 
00198160: 3c038019 lui r3,0x8019
 
00198164: 246308cc addiu r3,r3,0x08cc
 
00198168: 90620001 lbu r2,0x0001(r3) load unit ID
 
0019816c: 00000000 nop
 
00198170: 1046000a beq r2,r6,0x0019819c branch if FF
 
00198174: 00000000 nop
 
00198178: 90a21834 lbu r2,0x1834(r5) load enemy flag
 
0019817c: 00000000 nop
 
00198180: 10400006 beq r2,r0,0x0019819c branch if ally
 
00198184: 00000000 nop
 
00198188: 9062005a lbu r2,0x005a(r3)
 
0019818c: 00000000 nop
 
00198190: 30420010 andi r2,r2,0x0010
 
00198194: 1440ffe2 bne r2,r0,0x00198120 branch if transparent
 
00198198: 00000000 nop
 
0019819c: 24a50010 addiu r5,r5,0x0010
 
001981a0: 24840001 addiu r4,r4,0x0001
 
001981a4: 28820015 slti r2,r4,0x0015
 
001981a8: 1440ffef bne r2,r0,0x00198168                Do for all units
 
001981ac: 246301c0 addiu r3,r3,0x01c0
 
  
001981b0: 8e2217f8 lw r2,0x17f8(r17) load acting units data
+
00198358: 8e040e34 lw r4,0x0e34(r16)
001981b4: 02002021 addu r4,r16,r0
+
0019835c: 0c06653e jal 0x001994f8 [[See if able to move to target?]]
001981b8: 0c065243 jal 0x0019490c Store main target ID and focus on target flag
+
00198360: 00000000 nop
001981bc: a05001b9 sb r16,0x01b9(r2) store main target ID
+
00198364: 2403ffff addiu r3,r0,0xffff
001981c0: a2200e2d sb r0,0x0e2d(r17) clear ??
+
00198368: 10430058 beq r2,r3,0x001984cc
001981c4: 0c066672 jal 0x001999c8 ???
+
0019836c: 2402ffff addiu r2,r0,0xffff
001981c8: 00000000 nop
+
00198370: 0c0658a8 jal 0x001962a0 [[Get Longest Range Ability or Move]]
001981cc: 2403ffff addiu r3,r0,0xffff
+
00198374: 00000000 nop
001981d0: 14430003 bne r2,r3,0x001981e0
+
00198378: 00409021 addu r18,r2,r0
001981d4: 2402ffff addiu r2,r0,0xffff
+
0019837c: 02408821 addu r17,r18,r0
001981d8: 080660b0 j 0x001982c0
+
00198380: 92040e31 lbu r4,0x0e31(r16)
001981dc: a2200c6e sb r0,0x0c6e(r17) clear ???
+
00198384: 92020e32 lbu r2,0x0e32(r16)
 +
00198388: 000418c0 sll r3,r4,0x03
 +
0019838c: 00641821 addu r3,r3,r4
 +
00198390: 00031940 sll r3,r3,0x05
 +
00198394: 00701821 addu r3,r3,r16
 +
00198398: 246303b4 addiu r3,r3,0x03b4
 +
0019839c: 00021100 sll r2,r2,0x04
 +
001983a0: 00431021 addu r2,r2,r3
 +
001983a4: 92040e30 lbu r4,0x0e30(r16)
 +
001983a8: 920319b6 lbu r3,0x19b6(r16)
 +
001983ac: 00441021 addu r2,r2,r4
 +
001983b0: 90530000 lbu r19,0x0000(r2)
 +
001983b4: 3402000e ori r2,r0,0x000e
 +
001983b8: a2000e2d sb r0,0x0e2d(r16)
 +
001983bc: 14620004 bne r3,r2,0x001983d0
 +
001983c0: 2a640003 slti r4,r19,0x0003
 +
001983c4: 14800002 bne r4,r0,0x001983d0
 +
001983c8: 00000000 nop
 +
001983cc: 34110002 ori r17,r0,0x0002
  
001981e0: 0c0660b6 jal 0x001982d8 ????
+
001983d0: 8e020e34 lw r2,0x0e34(r16)
001981e4: 00000000 nop
+
001983d4: 00000000 nop
001981e8: 2403ffff addiu r3,r0,0xffff
+
001983d8: 90420006 lbu r2,0x0006(r2)
001981ec: 10430029 beq r2,r3,0x00198294
+
001983dc: 00000000 nop
001981f0: 34020001 ori r2,r0,0x0001
+
001983e0: 30420008 andi r2,r2,0x0008
001981f4: 34020002 ori r2,r0,0x0002
+
001983e4: 10400006 beq r2,r0,0x00198400
001981f8: 0c0658c3 jal 0x0019630c ???
+
001983e8: 3c047fff lui r4,0x7fff
001981fc: a2220e2d sb r2,0x0e2d(r17) store ??
+
001983ec: 3484ffff ori r4,r4,0xffff
00198200: a2200e2d sb r0,0x0e2d(r17)
+
001983f0: 0c065a4f jal 0x0019693c [[0019693c - 00196ad8]]
00198204: 0c0657e3 jal 0x00195f8c
+
001983f4: 00002821 addu r5,r0,r0
00198208: 00000000 nop
+
001983f8: 08066103 j 0x0019840c
0019820c: 00401821 addu r3,r2,r0
+
001983fc: 02402021 addu r4,r18,r0
00198210: 2402ffff addiu r2,r0,0xffff
+
 
00198214: 1062001f beq r3,r2,0x00198294
+
00198400: 0c065a42 jal 0x00196908 [[00196908 - 00196938]]
00198218: 34020002 ori r2,r0,0x0002
+
00198404: 02202021 addu r4,r17,r0
0019821c: 34020001 ori r2,r0,0x0001
+
00198408: 02402021 addu r4,r18,r0
00198220: 10620027 beq r3,r2,0x001982c0
+
0019840c: 8e030cc4 lw r3,0x0cc4(r16)
00198224: 00001021 addu r2,r0,r0
+
00198410: 34020001 ori r2,r0,0x0001
00198228: a2200e2d sb r0,0x0e2d(r17)
+
00198414: a2020e2d sb r2,0x0e2d(r16)
0019822c: 34040003 ori r4,r0,0x0003
+
00198418: 0c065ab7 jal 0x00196adc [[00196adc - 00196c88]]
00198230: 0c065f43 jal 0x00197d0c
+
0019841c: ae030cc8 sw r3,0x0cc8(r16)
00198234: 02002821 addu r5,r16,r0
+
00198420: 14400004 bne r2,r0,0x00198434
00198238: 1040000b beq r2,r0,0x00198268
+
00198424: 26040b04 addiu r4,r16,0x0b04
0019823c: 34020001 ori r2,r0,0x0001
+
00198428: 0c0664e8 jal 0x001993a0 [[001993a0 - 00199494]]
00198240: 0c065f98 jal 0x00197e60
+
0019842c: 00000000 nop
00198244: 00000000 nop
+
00198430: 26040b04 addiu r4,r16,0x0b04
00198248: 2403ffff addiu r3,r0,0xffff
+
 
0019824c: 10430011 beq r2,r3,0x00198294
+
00198434: 26050a74 addiu r5,r16,0x0a74
00198250: 34020003 ori r2,r0,0x0003
+
00198438: 34020002 ori r2,r0,0x0002
00198254: 0c065c2f jal 0x001970bc
+
0019843c: 34060048 ori r6,r0,0x0048
00198258: 00000000 nop
+
00198440: 0c066ac2 jal 0x0019ab08 [[Transfer Halfword Values]]
0019825c: 14400018 bne r2,r0,0x001982c0
+
00198444: a2020e2d sb r2,0x0e2d(r16)
00198260: 00001021 addu r2,r0,r0
+
00198448: 8e0217f8 lw r2,0x17f8(r16)
00198264: 34020001 ori r2,r0,0x0001
+
0019844c: 00000000 nop
00198268: a2220e2d sb r2,0x0e2d(r17)
+
00198450: 90420188 lbu r2,0x0188(r2)
0019826c: 00002021 addu r4,r0,r0
+
00198454: 00000000 nop
00198270: 0c065f43 jal 0x00197d0c
+
00198458: 14400009 bne r2,r0,0x00198480
00198274: 00002821 addu r5,r0,r0
+
0019845c: 2663ffff addiu r3,r19,0xffff
00198278: 1040000e beq r2,r0,0x001982b4
+
 
0019827c: 34020002 ori r2,r0,0x0002
+
00198460: 0071102a slt r2,r3,r17
00198280: 0c065f98 jal 0x00197e60
+
00198464: 10400002 beq r2,r0,0x00198470
00198284: 00000000 nop
+
00198468: 00000000 nop
00198288: 2403ffff addiu r3,r0,0xffff
+
0019846c: 00608821 addu r17,r3,r0
0019828c: 14430004 bne r2,r3,0x001982a0
+
00198470: 0c065a27 jal 0x0019689c [[0019689c - 00196904]]
00198290: 34020004 ori r2,r0,0x0004
+
00198474: 02202021 addu r4,r17,r0
00198294: a2220c6e sb r2,0x0c6e(r17)
+
00198478: 08066124 j 0x00198490
00198298: 080660b0 j 0x001982c0
+
0019847c: 00001021 addu r2,r0,r0
0019829c: 2402ffff addiu r2,r0,0xffff
+
 
001982a0: 0c065c2f jal 0x001970bc
+
00198480: 8e020cc8 lw r2,0x0cc8(r16)
001982a4: 00000000 nop
+
00198484: 00000000 nop
001982a8: 14400005 bne r2,r0,0x001982c0
+
00198488: ae020ccc sw r2,0x0ccc(r16)
001982ac: 00001021 addu r2,r0,r0
+
0019848c: 00001021 addu r2,r0,r0
001982b0: 34020002 ori r2,r0,0x0002
+
00198490: 92040e31 lbu r4,0x0e31(r16)
001982b4: 0c066526 jal 0x00199498
+
00198494: 92050e32 lbu r5,0x0e32(r16)
001982b8: a2220e2d sb r2,0x0e2d(r17)
+
00198498: 92060e30 lbu r6,0x0e30(r16)
001982bc: 00001021 addu r2,r0,r0
+
0019849c: 000418c0 sll r3,r4,0x03
001982c0: 8fbf0018 lw r31,0x0018(r29)
+
001984a0: 00641821 addu r3,r3,r4
001982c4: 8fb10014 lw r17,0x0014(r29)
+
001984a4: 00031880 sll r3,r3,0x02
001982c8: 8fb00010 lw r16,0x0010(r29)
+
001984a8: 00701821 addu r3,r3,r16
001982cc: 27bd0020 addiu r29,r29,0x0020
+
001984ac: 24630abc addiu r3,r3,0x0abc
001982d0: 03e00008 jr r31
+
001984b0: 00052840 sll r5,r5,0x01
001982d4: 00000000 nop
+
001984b4: 00a32821 addu r5,r5,r3
</font>
+
001984b8: 34048000 ori r4,r0,0x8000
 +
001984bc: 94a30000 lhu r3,0x0000(r5)
 +
001984c0: 00c42007 srav r4,r4,r6
 +
001984c4: 00641825 or r3,r3,r4
 +
001984c8: a4a30000 sh r3,0x0000(r5)
 +
 
 +
001984cc: 8fbf0020 lw r31,0x0020(r29)
 +
001984d0: 8fb3001c lw r19,0x001c(r29)
 +
001984d4: 8fb20018 lw r18,0x0018(r29)
 +
001984d8: 8fb10014 lw r17,0x0014(r29)
 +
001984dc: 8fb00010 lw r16,0x0010(r29)
 +
001984e0: 27bd0028 addiu r29,r29,0x0028
 +
001984e4: 03e00008 jr r31
 +
001984e8: 00000000 nop

Revision as of 13:45, 25 May 2015

0x1982d8: 001982d8 - 001984e8

0019ab78: Word Nulling 001994f8: See if able to move to target? 001962a0: Get Longest Range Ability or Move 0019693c: 0019693c - 00196ad8 00196908: 00196908 - 00196938 00196adc: 00196adc - 00196c88 001993a0: 001993a0 - 00199494 0019ab08: Transfer Halfword Values 0019689c: 0019689c - 00196904

001982d8: 3c02801a lui r2,0x801a 001982dc: 90420d7b lbu r2,0x0d7b(r2) 001982e0: 27bdffd8 addiu r29,r29,0xffd8 001982e4: afb00010 sw r16,0x0010(r29) 001982e8: 3c10801a lui r16,0x801a 001982ec: 2610f3c4 addiu r16,r16,0xf3c4 001982f0: afbf0020 sw r31,0x0020(r29) 001982f4: afb3001c sw r19,0x001c(r29) 001982f8: afb20018 sw r18,0x0018(r29) 001982fc: 14400016 bne r2,r0,0x00198358 00198300: afb10014 sw r17,0x0014(r29) 00198304: 3c02801a lui r2,0x801a 00198308: 8c420bbc lw r2,0x0bbc(r2) 0019830c: 00000000 nop 00198310: 904301b9 lbu r3,0x01b9(r2) 00198314: 3c02801a lui r2,0x801a 00198318: 904201f2 lbu r2,0x01f2(r2) 0019831c: 00000000 nop 00198320: 10620009 beq r3,r2,0x00198348 00198324: 260403b4 addiu r4,r16,0x03b4 00198328: 00031100 sll r2,r3,0x04 0019832c: 00501021 addu r2,r2,r16 00198330: 90421833 lbu r2,0x1833(r2) 00198334: 00000000 nop 00198338: 00021102 srl r2,r2,0x04 0019833c: 30420001 andi r2,r2,0x0001 00198340: 10400005 beq r2,r0,0x00198358 00198344: 00000000 nop

00198348: 0c066ade jal 0x0019ab78 Word Nulling 0019834c: 34050240 ori r5,r0,0x0240 00198350: 080660dc j 0x00198370 00198354: 00000000 nop

00198358: 8e040e34 lw r4,0x0e34(r16) 0019835c: 0c06653e jal 0x001994f8 See if able to move to target? 00198360: 00000000 nop 00198364: 2403ffff addiu r3,r0,0xffff 00198368: 10430058 beq r2,r3,0x001984cc 0019836c: 2402ffff addiu r2,r0,0xffff 00198370: 0c0658a8 jal 0x001962a0 Get Longest Range Ability or Move 00198374: 00000000 nop 00198378: 00409021 addu r18,r2,r0 0019837c: 02408821 addu r17,r18,r0 00198380: 92040e31 lbu r4,0x0e31(r16) 00198384: 92020e32 lbu r2,0x0e32(r16) 00198388: 000418c0 sll r3,r4,0x03 0019838c: 00641821 addu r3,r3,r4 00198390: 00031940 sll r3,r3,0x05 00198394: 00701821 addu r3,r3,r16 00198398: 246303b4 addiu r3,r3,0x03b4 0019839c: 00021100 sll r2,r2,0x04 001983a0: 00431021 addu r2,r2,r3 001983a4: 92040e30 lbu r4,0x0e30(r16) 001983a8: 920319b6 lbu r3,0x19b6(r16) 001983ac: 00441021 addu r2,r2,r4 001983b0: 90530000 lbu r19,0x0000(r2) 001983b4: 3402000e ori r2,r0,0x000e 001983b8: a2000e2d sb r0,0x0e2d(r16) 001983bc: 14620004 bne r3,r2,0x001983d0 001983c0: 2a640003 slti r4,r19,0x0003 001983c4: 14800002 bne r4,r0,0x001983d0 001983c8: 00000000 nop 001983cc: 34110002 ori r17,r0,0x0002

001983d0: 8e020e34 lw r2,0x0e34(r16) 001983d4: 00000000 nop 001983d8: 90420006 lbu r2,0x0006(r2) 001983dc: 00000000 nop 001983e0: 30420008 andi r2,r2,0x0008 001983e4: 10400006 beq r2,r0,0x00198400 001983e8: 3c047fff lui r4,0x7fff 001983ec: 3484ffff ori r4,r4,0xffff 001983f0: 0c065a4f jal 0x0019693c 0019693c - 00196ad8 001983f4: 00002821 addu r5,r0,r0 001983f8: 08066103 j 0x0019840c 001983fc: 02402021 addu r4,r18,r0

00198400: 0c065a42 jal 0x00196908 00196908 - 00196938 00198404: 02202021 addu r4,r17,r0 00198408: 02402021 addu r4,r18,r0 0019840c: 8e030cc4 lw r3,0x0cc4(r16) 00198410: 34020001 ori r2,r0,0x0001 00198414: a2020e2d sb r2,0x0e2d(r16) 00198418: 0c065ab7 jal 0x00196adc 00196adc - 00196c88 0019841c: ae030cc8 sw r3,0x0cc8(r16) 00198420: 14400004 bne r2,r0,0x00198434 00198424: 26040b04 addiu r4,r16,0x0b04 00198428: 0c0664e8 jal 0x001993a0 001993a0 - 00199494 0019842c: 00000000 nop 00198430: 26040b04 addiu r4,r16,0x0b04

00198434: 26050a74 addiu r5,r16,0x0a74 00198438: 34020002 ori r2,r0,0x0002 0019843c: 34060048 ori r6,r0,0x0048 00198440: 0c066ac2 jal 0x0019ab08 Transfer Halfword Values 00198444: a2020e2d sb r2,0x0e2d(r16) 00198448: 8e0217f8 lw r2,0x17f8(r16) 0019844c: 00000000 nop 00198450: 90420188 lbu r2,0x0188(r2) 00198454: 00000000 nop 00198458: 14400009 bne r2,r0,0x00198480 0019845c: 2663ffff addiu r3,r19,0xffff

00198460: 0071102a slt r2,r3,r17 00198464: 10400002 beq r2,r0,0x00198470 00198468: 00000000 nop 0019846c: 00608821 addu r17,r3,r0 00198470: 0c065a27 jal 0x0019689c 0019689c - 00196904 00198474: 02202021 addu r4,r17,r0 00198478: 08066124 j 0x00198490 0019847c: 00001021 addu r2,r0,r0

00198480: 8e020cc8 lw r2,0x0cc8(r16) 00198484: 00000000 nop 00198488: ae020ccc sw r2,0x0ccc(r16) 0019848c: 00001021 addu r2,r0,r0 00198490: 92040e31 lbu r4,0x0e31(r16) 00198494: 92050e32 lbu r5,0x0e32(r16) 00198498: 92060e30 lbu r6,0x0e30(r16) 0019849c: 000418c0 sll r3,r4,0x03 001984a0: 00641821 addu r3,r3,r4 001984a4: 00031880 sll r3,r3,0x02 001984a8: 00701821 addu r3,r3,r16 001984ac: 24630abc addiu r3,r3,0x0abc 001984b0: 00052840 sll r5,r5,0x01 001984b4: 00a32821 addu r5,r5,r3 001984b8: 34048000 ori r4,r0,0x8000 001984bc: 94a30000 lhu r3,0x0000(r5) 001984c0: 00c42007 srav r4,r4,r6 001984c4: 00641825 or r3,r3,r4 001984c8: a4a30000 sh r3,0x0000(r5)

001984cc: 8fbf0020 lw r31,0x0020(r29) 001984d0: 8fb3001c lw r19,0x001c(r29) 001984d4: 8fb20018 lw r18,0x0018(r29) 001984d8: 8fb10014 lw r17,0x0014(r29) 001984dc: 8fb00010 lw r16,0x0010(r29) 001984e0: 27bd0028 addiu r29,r29,0x0028 001984e4: 03e00008 jr r31 001984e8: 00000000 nop