Difference between revisions of "Store Reaction/Proc ID and Target"

From Final Fantasy Hacktics Wiki
Jump to navigation Jump to search
Line 1: Line 1:
<font face='Courier New'>
+
 
Store Reaction/Proc ID and Target 1876e4: [[001876e4 - 0018772c]]
+
Store Reaction/Proc ID and Target (0x1876e4)
 
   
 
   
0018bd34: [[?Nullify steal item?]]
 
 
   
 
   
 
  001876e4: 27bdffe8 addiu r29,r29,0xffe8
 
  001876e4: 27bdffe8 addiu r29,r29,0xffe8
Line 9: Line 8:
 
  001876f0: 3c048019 lui r4,0x8019
 
  001876f0: 3c048019 lui r4,0x8019
 
  001876f4: 908438c1 lbu r4,0x38c1(r4) Load Target Unit ID
 
  001876f4: 908438c1 lbu r4,0x38c1(r4) Load Target Unit ID
  001876f8: 34030001 ori r3,r0,0x0001 r3 = (0x1) 1
+
  001876f8: 34030001 ori r3,r0,0x0001 r3 = 1
  001876fc: afbf0010 sw r31,0x0010(r29) Store 0x0 onto Stack
+
  001876fc: afbf0010 sw r31,0x0010(r29) Store Return Address onto Stack
 
  00187700: 3c018019 lui r1,0x8019
 
  00187700: 3c018019 lui r1,0x8019
  00187704: a42338c8 sh r3,0x38c8(r1) Store ? (Deals with elemental nullification)/poach (post action thing? used in reaction routine too) (half)
+
  00187704: a42338c8 sh r3,0x38c8(r1) Store ? = 1 (Deals with elemental nullification)/poach (post action thing? used in reaction routine too) (halfword)
 
  00187708: 3c018019 lui r1,0x8019
 
  00187708: 3c018019 lui r1,0x8019
  0018770c: a42238c6 sh r2,0x38c6(r1) Store Reaction ID (half)
+
  0018770c: a42238c6 sh r2,0x38c6(r1) Store Reaction ID (halfword)
 
  00187710: 3c018019 lui r1,0x8019
 
  00187710: 3c018019 lui r1,0x8019
 
  00187714: a02438ef sb r4,0x38ef(r1) Store post-action target ID? (used in knockback 2)
 
  00187714: a02438ef sb r4,0x38ef(r1) Store post-action target ID? (used in knockback 2)
  00187718: 0c062f4d jal 0x0018bd34 [[?Nullify steal item?]]
+
  00187718: 0c062f4d jal 0x0018bd34 [[Remove Knockback Flag]]
 
  0018771c: 00000000 nop
 
  0018771c: 00000000 nop
  00187720: 8fbf0010 lw r31,0x0010(r29) Load Stack + 0x10
+
  00187720: 8fbf0010 lw r31,0x0010(r29) Load Return Address from stack
 
  00187724: 27bd0018 addiu r29,r29,0x0018
 
  00187724: 27bd0018 addiu r29,r29,0x0018
  00187728: 03e00008 jr r31 Jump to Address
+
  00187728: 03e00008 jr r31         Return
 
  0018772c: 00000000 nop
 
  0018772c: 00000000 nop
 
</font>
 

Revision as of 01:39, 21 October 2016

Store Reaction/Proc ID and Target (0x1876e4)


001876e4: 27bdffe8 addiu r29,r29,0xffe8			
001876e8: 3c028019 lui r2,0x8019			
001876ec: 904238da lbu r2,0x38da(r2)			Load Proc ID
001876f0: 3c048019 lui r4,0x8019			
001876f4: 908438c1 lbu r4,0x38c1(r4)			Load Target Unit ID
001876f8: 34030001 ori r3,r0,0x0001			r3 = 1
001876fc: afbf0010 sw r31,0x0010(r29)			Store Return Address onto Stack
00187700: 3c018019 lui r1,0x8019			
00187704: a42338c8 sh r3,0x38c8(r1)			Store ? = 1 (Deals with elemental nullification)/poach (post action thing? used in reaction routine too) (halfword)
00187708: 3c018019 lui r1,0x8019			
0018770c: a42238c6 sh r2,0x38c6(r1)			Store Reaction ID (halfword)
00187710: 3c018019 lui r1,0x8019			
00187714: a02438ef sb r4,0x38ef(r1)			Store post-action target ID? (used in knockback 2)
00187718: 0c062f4d jal 0x0018bd34			Remove Knockback Flag
0018771c: 00000000 nop
00187720: 8fbf0010 lw r31,0x0010(r29)			Load Return Address from stack
00187724: 27bd0018 addiu r29,r29,0x0018			
00187728: 03e00008 jr r31		 	        Return
0018772c: 00000000 nop