Difference between revisions of "001adb3c - 001adc20"

From Final Fantasy Hacktics Wiki
Jump to navigation Jump to search
(Created page with "<font face='Courier New'> 001adb0c: 308400ff andi r4,r4,0x00ff r4 = effect ID 001adb10: 00041080 sll r2,r4,0x02 ID*4 001adb14: 00441021 addu r2,r2,r4 ID*5 001adb18: 0...")
 
m
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
<font face='Courier New'>
+
001adb3c: 3c06801c lui r6,0x801c
   
+
  001adb40: 90c6c0d0 lbu r6,-0x3f30(r6) #0x801bc0d0
  001adb0c: 308400ff andi r4,r4,0x00ff r4 = effect ID
+
  001adb44: 00000000 nop
  001adb10: 00041080 sll r2,r4,0x02 ID*4
+
001adb48: 30c500ff andi r5,r6,0x00ff #move to r5
  001adb14: 00441021 addu r2,r2,r4 ID*5
+
001adb4c: 10a0002b beq r5,r0,0x001adbfc #branch if 0
  001adb18: 00021080 sll r2,r2,0x02 ID*20
+
001adb50: 00052040 sll r4,r5,0x01
  001adb1c: 00441021 addu r2,r2,r4 ID*21
+
001adb54: 00852021 addu r4,r4,r5
  001adb20: 00021080 sll r2,r2,0x02 ID*84 (0x54)
+
  001adb58: 00041100 sll r2,r4,0x04
  001adb24: 34030003 ori r3,r0,0x0003
+
001adb5c: 00822021 addu r4,r4,r2
  001adb28: 3c01801c lui r1,0x801c
+
001adb60: 00042080 sll r4,r4,0x02 #? * 0xCC
  001adb2c: 00220821 addu r1,r1,r2
+
  001adb64: 3c01801c lui r1,0x801c
  001adb30: ac238ba4 sw r3,-0x745c(r1) store 03
+
001adb68: 00240821 addu r1,r1,r4
  001adb34: 03e00008 jr r31
+
001adb6c: 90229278 lbu r2,-0x6d88(r1) #related to attacker/target height mods?
  001adb38: 00000000 nop
+
001adb70: 3c01801c lui r1,0x801c
</font>
+
001adb74: a022c0d0 sb r2,-0x3f30(r1) #store in 0x801bc0d0
 +
001adb78: 3c01801c lui r1,0x801c
 +
001adb7c: 00240821 addu r1,r1,r4
 +
  001adb80: 90239278 lbu r3,-0x6d88(r1) #related to ? again
 +
001adb84: 00000000 nop
 +
001adb88: 00031040 sll r2,r3,0x01
 +
001adb8c: 00431021 addu r2,r2,r3
 +
001adb90: 00021900 sll r3,r2,0x04
 +
001adb94: 00431021 addu r2,r2,r3
 +
001adb98: 00021080 sll r2,r2,0x02 #? * 0xCC
 +
  001adb9c: 3c01801c lui r1,0x801c
 +
001adba0: 00220821 addu r1,r1,r2
 +
001adba4: a0209279 sb r0,-0x6d87(r1) #clear byte before
 +
001adba8: 3c03801c lui r3,0x801c
 +
001adbac: 9063add8 lbu r3,-0x5228(r3) #?
 +
001adbb0: 00000000 nop
 +
001adbb4: 00031040 sll r2,r3,0x01
 +
001adbb8: 00431021 addu r2,r2,r3
 +
001adbbc: 00021900 sll r3,r2,0x04
 +
001adbc0: 00431021 addu r2,r2,r3
 +
  001adbc4: 00021080 sll r2,r2,0x02 #? * 0xcc
 +
001adbc8: 3c01801c lui r1,0x801c
 +
001adbcc: 00220821 addu r1,r1,r2
 +
001adbd0: a0269279 sb r6,-0x6d87(r1) #
 +
001adbd4: 3c02801c lui r2,0x801c
 +
001adbd8: 9042add8 lbu r2,-0x5228(r2)
 +
  001adbdc: 3c01801c lui r1,0x801c
 +
001adbe0: 00240821 addu r1,r1,r4
 +
001adbe4: a0209279 sb r0,-0x6d87(r1)
 +
001adbe8: 3c01801c lui r1,0x801c
 +
001adbec: 00240821 addu r1,r1,r4
 +
001adbf0: a0229278 sb r2,-0x6d88(r1)
 +
001adbf4: 3c01801c lui r1,0x801c
 +
001adbf8: a026add8 sb r6,-0x5228(r1)
 +
001adbfc: 00051040 sll r2,r5,0x01
 +
001adc00: 00451021 addu r2,r2,r5
 +
001adc04: 00021900 sll r3,r2,0x04
 +
001adc08: 00431021 addu r2,r2,r3
 +
001adc0c: 00021080 sll r2,r2,0x02
 +
  001adc10: 3c01801c lui r1,0x801c
 +
  001adc14: 00220821 addu r1,r1,r2
 +
  001adc18: a420930c sh r0,-0x6cf4(r1)
 +
  001adc1c: 03e00008 jr r31
 +
  001adc20: 00a01021 addu r2,r5,r0 #return r2 = original 0x801bc0d0

Latest revision as of 05:03, 16 October 2022

001adb3c: 3c06801c lui r6,0x801c
001adb40: 90c6c0d0 lbu r6,-0x3f30(r6)			#0x801bc0d0
001adb44: 00000000 nop
001adb48: 30c500ff andi r5,r6,0x00ff			#move to r5
001adb4c: 10a0002b beq r5,r0,0x001adbfc		#branch if 0
001adb50: 00052040 sll r4,r5,0x01
001adb54: 00852021 addu r4,r4,r5
001adb58: 00041100 sll r2,r4,0x04
001adb5c: 00822021 addu r4,r4,r2
001adb60: 00042080 sll r4,r4,0x02			#? * 0xCC
001adb64: 3c01801c lui r1,0x801c
001adb68: 00240821 addu r1,r1,r4
001adb6c: 90229278 lbu r2,-0x6d88(r1)			#related to attacker/target height mods?
001adb70: 3c01801c lui r1,0x801c
001adb74: a022c0d0 sb r2,-0x3f30(r1)			#store in 0x801bc0d0
001adb78: 3c01801c lui r1,0x801c
001adb7c: 00240821 addu r1,r1,r4
001adb80: 90239278 lbu r3,-0x6d88(r1)			#related to ? again
001adb84: 00000000 nop
001adb88: 00031040 sll r2,r3,0x01
001adb8c: 00431021 addu r2,r2,r3
001adb90: 00021900 sll r3,r2,0x04
001adb94: 00431021 addu r2,r2,r3
001adb98: 00021080 sll r2,r2,0x02			#? * 0xCC
001adb9c: 3c01801c lui r1,0x801c
001adba0: 00220821 addu r1,r1,r2
001adba4: a0209279 sb r0,-0x6d87(r1)			#clear byte before
001adba8: 3c03801c lui r3,0x801c
001adbac: 9063add8 lbu r3,-0x5228(r3)			#?
001adbb0: 00000000 nop
001adbb4: 00031040 sll r2,r3,0x01
001adbb8: 00431021 addu r2,r2,r3
001adbbc: 00021900 sll r3,r2,0x04
001adbc0: 00431021 addu r2,r2,r3
001adbc4: 00021080 sll r2,r2,0x02			#? * 0xcc
001adbc8: 3c01801c lui r1,0x801c
001adbcc: 00220821 addu r1,r1,r2
001adbd0: a0269279 sb r6,-0x6d87(r1)			#
001adbd4: 3c02801c lui r2,0x801c
001adbd8: 9042add8 lbu r2,-0x5228(r2)			
001adbdc: 3c01801c lui r1,0x801c
001adbe0: 00240821 addu r1,r1,r4
001adbe4: a0209279 sb r0,-0x6d87(r1)
001adbe8: 3c01801c lui r1,0x801c
001adbec: 00240821 addu r1,r1,r4
001adbf0: a0229278 sb r2,-0x6d88(r1)
001adbf4: 3c01801c lui r1,0x801c
001adbf8: a026add8 sb r6,-0x5228(r1)
001adbfc: 00051040 sll r2,r5,0x01
001adc00: 00451021 addu r2,r2,r5
001adc04: 00021900 sll r3,r2,0x04
001adc08: 00431021 addu r2,r2,r3
001adc0c: 00021080 sll r2,r2,0x02
001adc10: 3c01801c lui r1,0x801c
001adc14: 00220821 addu r1,r1,r2
001adc18: a420930c sh r0,-0x6cf4(r1)
001adc1c: 03e00008 jr r31
001adc20: 00a01021 addu r2,r5,r0			#return r2 = original 0x801bc0d0