Difference between revisions of "Get Item Data Pointer"

From Final Fantasy Hacktics Wiki
Jump to navigation Jump to search
Line 10: Line 10:
  
  
[[Return Locations]]
+
 
 +
== Return Locations ==
 +
 
  
 
  00082640: 00082620
 
  00082640: 00082620

Revision as of 13:40, 29 February 2012

Get Item Data Pointer
0005a884: 308400ff andi r4,r4,0x00ff		r4 = Item ID
0005a888: 00041040 sll r2,r4,0x01		ID * 2
0005a88c: 00441021 addu r2,r2,r4		ID * 3
0005a890: 00021080 sll r2,r2,0x02		ID * 12
0005a894: 3c038006 lui r3,0x8006
0005a898: 24632eb8 addiu r3,r3,0x2eb8
0005a89c: 03e00008 jr r31
0005a8a0: 00431021 addu r2,r2,r3		r2 = Item Data Pointer


Return Locations

00082640: 00082620
0008377c: 00083758
00133b9c: 00133754 - looks interesting
00136b20: 00136b10
00142294: 00141b0c
001422ac: ^^
001422f8: ^^
001c2cd0: 001c2888
001c5d58: 001c58d0
001c5ea4: 001c5e48
001c5f6c: 001c5f10
001c72ac: 001c7170