Initialize item sprite display

From Final Fantasy Hacktics Wiki
Jump to navigation Jump to search

Initialize item sprite display 7ae48: 0007ae48 - 0007aec8


0007ae48: 00002821 addu r5,r0,r0
0007ae4c: 34060010 ori r6,r0,0x0010			r6 = (0x10) 16
0007ae50: 00041100 sll r2,r4,0x04			Shift left 4 bits (*0x10) (*16)
0007ae54: 00441021 addu r2,r2,r4
0007ae58: 00021180 sll r2,r2,0x06			0x0* 0x440 (* 1088)
0007ae5c: 3c03800b lui r3,0x800b			
0007ae60: 2463772e addiu r3,r3,0x772e
0007ae64: 00432021 addu r4,r2,r3
0007ae68: 00801821 addu r3,r4,r0
0007ae6c: 34020080 ori r2,r0,0x0080			r2 = (0x80) 128
0007ae70: a0820002 sb r2,0x0002(r4)			Store 80 (128) into 0x2
0007ae74: a0820001 sb r2,0x0001(r4)			Store 80 (128) into 0x1
0007ae78: a0820000 sb r2,0x0000(r4)			Store 80 (128) into 0x0
0007ae7c: 34021000 ori r2,r0,0x1000			r2 = (0x1000) 4096
0007ae80: a482000a sh r2,0x000a(r4)			Store 1000 (4096) into 0xA
0007ae84: a4820008 sh r2,0x0008(r4)			Store 1000 (4096) into 0x8
0007ae88: 3402001e ori r2,r0,0x001e			r2 = (0x1E) 30
0007ae8c: a4820004 sh r2,0x0004(r4)			Store 1E (30) into 0x4
0007ae90: 34027887 ori r2,r0,0x7887			r2 = (0x7887) 30855
0007ae94: a4820006 sh r2,0x0006(r4)			Store 7887 (30855) into 0x6
0007ae98: 34020001 ori r2,r0,0x0001			r2 = (0x1) 1
0007ae9c: a480000c sh r0,0x000c(r4)			Store 0x0 into 0xC
0007aea0: a0820003 sb r2,0x0003(r4)			Store 1 (1) into 0x3
0007aea4: a060000f sb r0,0x000f(r3)			Store 0x0 into 0xF
0007aea8: a060000e sb r0,0x000e(r3)			Store 0x0 into 0xE
0007aeac: a0660010 sb r6,0x0010(r3)			Store 10 (16) into 0x10
0007aeb0: a0660011 sb r6,0x0011(r3)			Store 10 (16) into 0x11
0007aeb4: a0600014 sb r0,0x0014(r3)			Store 0x0 into 0x14
0007aeb8: 24a50001 addiu r5,r5,0x0001
0007aebc: 18a0fff9 blez r5,0x0007aea4
0007aec0: 24630007 addiu r3,r3,0x0007
0007aec4: 03e00008 jr r31			Jump to Address
0007aec8: 00801021 addu r2,r4,r0