Difference between revisions of "001982d8 - 001984e8"

From Final Fantasy Hacktics Wiki
Jump to navigation Jump to search
 
Line 1: Line 1:
0x1982d8: [[001982d8 - 001984e8]]
+
0x1982d8: [[001982d8 - 001984e8]]
  
0019ab78: [[Word Nulling]]
+
0019ab78: [[Word Nulling]]
001994f8: [[See if able to move to target?]]
+
001994f8: [[See if able to move to target?]]
001962a0: [[Get Longest Range Ability or Move]]
+
001962a0: [[Get Longest Range Ability or Move]]
0019693c: [[0019693c - 00196ad8]]
+
0019693c: [[0019693c - 00196ad8]]
00196908: [[00196908 - 00196938]]
+
00196908: [[00196908 - 00196938]]
00196adc: [[00196adc - 00196c88]]
+
00196adc: [[00196adc - 00196c88]]
001993a0: [[001993a0 - 00199494]]
+
001993a0: [[001993a0 - 00199494]]
0019ab08: [[Transfer Halfword Values]]
+
0019ab08: [[Transfer Halfword Values]]
0019689c: [[0019689c - 00196904]]
+
0019689c: [[0019689c - 00196904]]
  
001982d8: 3c02801a lui r2,0x801a
+
001982d8: 3c02801a lui r2,0x801a
001982dc: 90420d7b lbu r2,0x0d7b(r2)
+
001982dc: 90420d7b lbu r2,0x0d7b(r2)
001982e0: 27bdffd8 addiu r29,r29,0xffd8
+
001982e0: 27bdffd8 addiu r29,r29,0xffd8
001982e4: afb00010 sw r16,0x0010(r29)
+
001982e4: afb00010 sw r16,0x0010(r29)
001982e8: 3c10801a lui r16,0x801a
+
001982e8: 3c10801a lui r16,0x801a
001982ec: 2610f3c4 addiu r16,r16,0xf3c4
+
001982ec: 2610f3c4 addiu r16,r16,0xf3c4
001982f0: afbf0020 sw r31,0x0020(r29)
+
001982f0: afbf0020 sw r31,0x0020(r29)
001982f4: afb3001c sw r19,0x001c(r29)
+
001982f4: afb3001c sw r19,0x001c(r29)
001982f8: afb20018 sw r18,0x0018(r29)
+
001982f8: afb20018 sw r18,0x0018(r29)
001982fc: 14400016 bne r2,r0,0x00198358
+
001982fc: 14400016 bne r2,r0,0x00198358
00198300: afb10014 sw r17,0x0014(r29)
+
00198300: afb10014 sw r17,0x0014(r29)
00198304: 3c02801a lui r2,0x801a
+
00198304: 3c02801a lui r2,0x801a
00198308: 8c420bbc lw r2,0x0bbc(r2)
+
00198308: 8c420bbc lw r2,0x0bbc(r2)
0019830c: 00000000 nop
+
0019830c: 00000000 nop
00198310: 904301b9 lbu r3,0x01b9(r2)
+
00198310: 904301b9 lbu r3,0x01b9(r2)
00198314: 3c02801a lui r2,0x801a
+
00198314: 3c02801a lui r2,0x801a
00198318: 904201f2 lbu r2,0x01f2(r2)
+
00198318: 904201f2 lbu r2,0x01f2(r2)
0019831c: 00000000 nop
+
0019831c: 00000000 nop
00198320: 10620009 beq r3,r2,0x00198348
+
00198320: 10620009 beq r3,r2,0x00198348
00198324: 260403b4 addiu r4,r16,0x03b4
+
00198324: 260403b4 addiu r4,r16,0x03b4
00198328: 00031100 sll r2,r3,0x04
+
00198328: 00031100 sll r2,r3,0x04
0019832c: 00501021 addu r2,r2,r16
+
0019832c: 00501021 addu r2,r2,r16
00198330: 90421833 lbu r2,0x1833(r2)
+
00198330: 90421833 lbu r2,0x1833(r2)
00198334: 00000000 nop
+
00198334: 00000000 nop
00198338: 00021102 srl r2,r2,0x04
+
00198338: 00021102 srl r2,r2,0x04
0019833c: 30420001 andi r2,r2,0x0001
+
0019833c: 30420001 andi r2,r2,0x0001
00198340: 10400005 beq r2,r0,0x00198358
+
00198340: 10400005 beq r2,r0,0x00198358
00198344: 00000000 nop
+
00198344: 00000000 nop
  
00198348: 0c066ade jal 0x0019ab78 [[Word Nulling]]
+
00198348: 0c066ade jal 0x0019ab78 [[Word Nulling]]
0019834c: 34050240 ori r5,r0,0x0240
+
0019834c: 34050240 ori r5,r0,0x0240
00198350: 080660dc j 0x00198370
+
00198350: 080660dc j 0x00198370
00198354: 00000000 nop
+
00198354: 00000000 nop
  
00198358: 8e040e34 lw r4,0x0e34(r16)
+
00198358: 8e040e34 lw r4,0x0e34(r16)
0019835c: 0c06653e jal 0x001994f8 [[See if able to move to target?]]
+
0019835c: 0c06653e jal 0x001994f8 [[See if able to move to target?]]
00198360: 00000000 nop
+
00198360: 00000000 nop
00198364: 2403ffff addiu r3,r0,0xffff
+
00198364: 2403ffff addiu r3,r0,0xffff
00198368: 10430058 beq r2,r3,0x001984cc
+
00198368: 10430058 beq r2,r3,0x001984cc
0019836c: 2402ffff addiu r2,r0,0xffff
+
0019836c: 2402ffff addiu r2,r0,0xffff
00198370: 0c0658a8 jal 0x001962a0 [[Get Longest Range Ability or Move]]
+
00198370: 0c0658a8 jal 0x001962a0 [[Get Longest Range Ability or Move]]
00198374: 00000000 nop
+
00198374: 00000000 nop
00198378: 00409021 addu r18,r2,r0
+
00198378: 00409021 addu r18,r2,r0
0019837c: 02408821 addu r17,r18,r0
+
0019837c: 02408821 addu r17,r18,r0
00198380: 92040e31 lbu r4,0x0e31(r16)
+
00198380: 92040e31 lbu r4,0x0e31(r16)
00198384: 92020e32 lbu r2,0x0e32(r16)
+
00198384: 92020e32 lbu r2,0x0e32(r16)
00198388: 000418c0 sll r3,r4,0x03
+
00198388: 000418c0 sll r3,r4,0x03
0019838c: 00641821 addu r3,r3,r4
+
0019838c: 00641821 addu r3,r3,r4
00198390: 00031940 sll r3,r3,0x05
+
00198390: 00031940 sll r3,r3,0x05
00198394: 00701821 addu r3,r3,r16
+
00198394: 00701821 addu r3,r3,r16
00198398: 246303b4 addiu r3,r3,0x03b4
+
00198398: 246303b4 addiu r3,r3,0x03b4
0019839c: 00021100 sll r2,r2,0x04
+
0019839c: 00021100 sll r2,r2,0x04
001983a0: 00431021 addu r2,r2,r3
+
001983a0: 00431021 addu r2,r2,r3
001983a4: 92040e30 lbu r4,0x0e30(r16)
+
001983a4: 92040e30 lbu r4,0x0e30(r16)
001983a8: 920319b6 lbu r3,0x19b6(r16)
+
001983a8: 920319b6 lbu r3,0x19b6(r16)
001983ac: 00441021 addu r2,r2,r4
+
001983ac: 00441021 addu r2,r2,r4
001983b0: 90530000 lbu r19,0x0000(r2)
+
001983b0: 90530000 lbu r19,0x0000(r2)
001983b4: 3402000e ori r2,r0,0x000e
+
001983b4: 3402000e ori r2,r0,0x000e
001983b8: a2000e2d sb r0,0x0e2d(r16)
+
001983b8: a2000e2d sb r0,0x0e2d(r16)
001983bc: 14620004 bne r3,r2,0x001983d0
+
001983bc: 14620004 bne r3,r2,0x001983d0
001983c0: 2a640003 slti r4,r19,0x0003
+
001983c0: 2a640003 slti r4,r19,0x0003
001983c4: 14800002 bne r4,r0,0x001983d0
+
001983c4: 14800002 bne r4,r0,0x001983d0
001983c8: 00000000 nop
+
001983c8: 00000000 nop
001983cc: 34110002 ori r17,r0,0x0002
+
001983cc: 34110002 ori r17,r0,0x0002
  
001983d0: 8e020e34 lw r2,0x0e34(r16)
+
001983d0: 8e020e34 lw r2,0x0e34(r16)
001983d4: 00000000 nop
+
001983d4: 00000000 nop
001983d8: 90420006 lbu r2,0x0006(r2)
+
001983d8: 90420006 lbu r2,0x0006(r2)
001983dc: 00000000 nop
+
001983dc: 00000000 nop
001983e0: 30420008 andi r2,r2,0x0008
+
001983e0: 30420008 andi r2,r2,0x0008
001983e4: 10400006 beq r2,r0,0x00198400
+
001983e4: 10400006 beq r2,r0,0x00198400
001983e8: 3c047fff lui r4,0x7fff
+
001983e8: 3c047fff lui r4,0x7fff
001983ec: 3484ffff ori r4,r4,0xffff
+
001983ec: 3484ffff ori r4,r4,0xffff
001983f0: 0c065a4f jal 0x0019693c [[0019693c - 00196ad8]]
+
001983f0: 0c065a4f jal 0x0019693c [[0019693c - 00196ad8]]
001983f4: 00002821 addu r5,r0,r0
+
001983f4: 00002821 addu r5,r0,r0
001983f8: 08066103 j 0x0019840c
+
001983f8: 08066103 j 0x0019840c
001983fc: 02402021 addu r4,r18,r0
+
001983fc: 02402021 addu r4,r18,r0
  
00198400: 0c065a42 jal 0x00196908 [[00196908 - 00196938]]
+
00198400: 0c065a42 jal 0x00196908 [[00196908 - 00196938]]
00198404: 02202021 addu r4,r17,r0
+
00198404: 02202021 addu r4,r17,r0
00198408: 02402021 addu r4,r18,r0
+
00198408: 02402021 addu r4,r18,r0
0019840c: 8e030cc4 lw r3,0x0cc4(r16)
+
0019840c: 8e030cc4 lw r3,0x0cc4(r16)
00198410: 34020001 ori r2,r0,0x0001
+
00198410: 34020001 ori r2,r0,0x0001
00198414: a2020e2d sb r2,0x0e2d(r16)
+
00198414: a2020e2d sb r2,0x0e2d(r16)
00198418: 0c065ab7 jal 0x00196adc [[00196adc - 00196c88]]
+
00198418: 0c065ab7 jal 0x00196adc [[00196adc - 00196c88]]
0019841c: ae030cc8 sw r3,0x0cc8(r16)
+
0019841c: ae030cc8 sw r3,0x0cc8(r16)
00198420: 14400004 bne r2,r0,0x00198434
+
00198420: 14400004 bne r2,r0,0x00198434
00198424: 26040b04 addiu r4,r16,0x0b04
+
00198424: 26040b04 addiu r4,r16,0x0b04
00198428: 0c0664e8 jal 0x001993a0 [[001993a0 - 00199494]]
+
00198428: 0c0664e8 jal 0x001993a0 [[001993a0 - 00199494]]
0019842c: 00000000 nop
+
0019842c: 00000000 nop
00198430: 26040b04 addiu r4,r16,0x0b04
+
00198430: 26040b04 addiu r4,r16,0x0b04
  
00198434: 26050a74 addiu r5,r16,0x0a74
+
00198434: 26050a74 addiu r5,r16,0x0a74
00198438: 34020002 ori r2,r0,0x0002
+
00198438: 34020002 ori r2,r0,0x0002
0019843c: 34060048 ori r6,r0,0x0048
+
0019843c: 34060048 ori r6,r0,0x0048
00198440: 0c066ac2 jal 0x0019ab08 [[Transfer Halfword Values]]
+
00198440: 0c066ac2 jal 0x0019ab08 [[Transfer Halfword Values]]
00198444: a2020e2d sb r2,0x0e2d(r16)
+
00198444: a2020e2d sb r2,0x0e2d(r16)
00198448: 8e0217f8 lw r2,0x17f8(r16)
+
00198448: 8e0217f8 lw r2,0x17f8(r16)
0019844c: 00000000 nop
+
0019844c: 00000000 nop
00198450: 90420188 lbu r2,0x0188(r2)
+
00198450: 90420188 lbu r2,0x0188(r2)
00198454: 00000000 nop
+
00198454: 00000000 nop
00198458: 14400009 bne r2,r0,0x00198480
+
00198458: 14400009 bne r2,r0,0x00198480
0019845c: 2663ffff addiu r3,r19,0xffff
+
0019845c: 2663ffff addiu r3,r19,0xffff
  
00198460: 0071102a slt r2,r3,r17
+
00198460: 0071102a slt r2,r3,r17
00198464: 10400002 beq r2,r0,0x00198470
+
00198464: 10400002 beq r2,r0,0x00198470
00198468: 00000000 nop
+
00198468: 00000000 nop
0019846c: 00608821 addu r17,r3,r0
+
0019846c: 00608821 addu r17,r3,r0
00198470: 0c065a27 jal 0x0019689c [[0019689c - 00196904]]
+
00198470: 0c065a27 jal 0x0019689c [[0019689c - 00196904]]
00198474: 02202021 addu r4,r17,r0
+
00198474: 02202021 addu r4,r17,r0
00198478: 08066124 j 0x00198490
+
00198478: 08066124 j 0x00198490
0019847c: 00001021 addu r2,r0,r0
+
0019847c: 00001021 addu r2,r0,r0
  
00198480: 8e020cc8 lw r2,0x0cc8(r16)
+
00198480: 8e020cc8 lw r2,0x0cc8(r16)
00198484: 00000000 nop
+
00198484: 00000000 nop
00198488: ae020ccc sw r2,0x0ccc(r16)
+
00198488: ae020ccc sw r2,0x0ccc(r16)
0019848c: 00001021 addu r2,r0,r0
+
0019848c: 00001021 addu r2,r0,r0
00198490: 92040e31 lbu r4,0x0e31(r16)
+
00198490: 92040e31 lbu r4,0x0e31(r16)
00198494: 92050e32 lbu r5,0x0e32(r16)
+
00198494: 92050e32 lbu r5,0x0e32(r16)
00198498: 92060e30 lbu r6,0x0e30(r16)
+
00198498: 92060e30 lbu r6,0x0e30(r16)
0019849c: 000418c0 sll r3,r4,0x03
+
0019849c: 000418c0 sll r3,r4,0x03
001984a0: 00641821 addu r3,r3,r4
+
001984a0: 00641821 addu r3,r3,r4
001984a4: 00031880 sll r3,r3,0x02
+
001984a4: 00031880 sll r3,r3,0x02
001984a8: 00701821 addu r3,r3,r16
+
001984a8: 00701821 addu r3,r3,r16
001984ac: 24630abc addiu r3,r3,0x0abc
+
001984ac: 24630abc addiu r3,r3,0x0abc
001984b0: 00052840 sll r5,r5,0x01
+
001984b0: 00052840 sll r5,r5,0x01
001984b4: 00a32821 addu r5,r5,r3
+
001984b4: 00a32821 addu r5,r5,r3
001984b8: 34048000 ori r4,r0,0x8000
+
001984b8: 34048000 ori r4,r0,0x8000
001984bc: 94a30000 lhu r3,0x0000(r5)
+
001984bc: 94a30000 lhu r3,0x0000(r5)
001984c0: 00c42007 srav r4,r4,r6
+
001984c0: 00c42007 srav r4,r4,r6
001984c4: 00641825 or r3,r3,r4
+
001984c4: 00641825 or r3,r3,r4
001984c8: a4a30000 sh r3,0x0000(r5)
+
001984c8: a4a30000 sh r3,0x0000(r5)
  
001984cc: 8fbf0020 lw r31,0x0020(r29)
+
001984cc: 8fbf0020 lw r31,0x0020(r29)
001984d0: 8fb3001c lw r19,0x001c(r29)
+
001984d0: 8fb3001c lw r19,0x001c(r29)
001984d4: 8fb20018 lw r18,0x0018(r29)
+
001984d4: 8fb20018 lw r18,0x0018(r29)
001984d8: 8fb10014 lw r17,0x0014(r29)
+
001984d8: 8fb10014 lw r17,0x0014(r29)
001984dc: 8fb00010 lw r16,0x0010(r29)
+
001984dc: 8fb00010 lw r16,0x0010(r29)
001984e0: 27bd0028 addiu r29,r29,0x0028
+
001984e0: 27bd0028 addiu r29,r29,0x0028
001984e4: 03e00008 jr r31
+
001984e4: 03e00008 jr r31
001984e8: 00000000 nop
+
001984e8: 00000000 nop

Latest 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