Difference between revisions of "0012e65c - 0012e9bc"

From Final Fantasy Hacktics Wiki
Jump to navigation Jump to search
(Created page with "<font face='Courier New'> 0012e65c: 27bdffd8 addiu r29,r29,0xffd8 0012e660: afb20018 sw r18,0x0018(r29) 0012e664: 34120004 ori r18,r0,0x0004 0012e668: afb40020 sw r20,0x...")
 
m
 
Line 173: Line 173:
 
  0012e904: a2260100 sb r6,0x0100(r17)
 
  0012e904: a2260100 sb r6,0x0100(r17)
 
  0012e908: a2260110 sb r6,0x0110(r17)
 
  0012e908: a2260110 sb r6,0x0110(r17)
  0012e90c: 340601c0 ori r6,r0,0x01c0
+
  0012e90c: 340601c0 ori r6,r0,0x01c0               # points to VRAM slot holding status bar data (HP/max HP, mp/Max MP, Ct/Max Ct, Faith, brave, etc.)
 
  0012e910: 00003821 addu r7,r0,r0
 
  0012e910: 00003821 addu r7,r0,r0
 
  0012e914: a22300f9 sb r3,0x00f9(r17)
 
  0012e914: a22300f9 sb r3,0x00f9(r17)

Latest revision as of 05:13, 29 July 2023

0012e65c: 27bdffd8 addiu r29,r29,0xffd8
0012e660: afb20018 sw r18,0x0018(r29)
0012e664: 34120004 ori r18,r0,0x0004
0012e668: afb40020 sw r20,0x0020(r29)
0012e66c: 3c148017 lui r20,0x8017
0012e670: 2694eacc addiu r20,r20,0xeacc
0012e674: afb3001c sw r19,0x001c(r29)
0012e678: 26930010 addiu r19,r20,0x0010
0012e67c: afbf0024 sw r31,0x0024(r29)
0012e680: afb10014 sw r17,0x0014(r29)
0012e684: afb00010 sw r16,0x0010(r29)
0012e688: 8e630000 lw r3,0x0000(r19)
0012e68c: 2402ffff addiu r2,r0,0xffff
0012e690: 106200bf beq r3,r2,0x0012e990
0012e694: 00000000 nop
0012e698: 3c028016 lui r2,0x8016
0012e69c: 8c426014 lw r2,0x6014(r2)
0012e6a0: 00000000 nop
0012e6a4: 02421021 addu r2,r18,r2
0012e6a8: 00021080 sll r2,r2,0x02
0012e6ac: 00541021 addu r2,r2,r20
0012e6b0: 8c440000 lw r4,0x0000(r2)
0012e6b4: 00000000 nop
0012e6b8: 8c830000 lw r3,0x0000(r4)
0012e6bc: 34020001 ori r2,r0,0x0001
0012e6c0: 146200b3 bne r3,r2,0x0012e990
0012e6c4: 00000000 nop
0012e6c8: 8c820004 lw r2,0x0004(r4)
0012e6cc: 00000000 nop
0012e6d0: 00021280 sll r2,r2,0x0a
0012e6d4: 3c018017 lui r1,0x8017
0012e6d8: 00220821 addu r1,r1,r2
0012e6dc: 8c2298b4 lw r2,-0x674c(r1)
0012e6e0: 00000000 nop
0012e6e4: 104000aa beq r2,r0,0x0012e990
0012e6e8: 00000000 nop
0012e6ec: 00808821 addu r17,r4,r0
0012e6f0: 90850114 lbu r5,0x0114(r4)
0012e6f4: 0c04b993 jal 0x0012e64c
0012e6f8: 26240038 addiu r4,r17,0x0038
0012e6fc: 92250114 lbu r5,0x0114(r17)
0012e700: 0c04b993 jal 0x0012e64c
0012e704: 2624004c addiu r4,r17,0x004c
0012e708: 92250114 lbu r5,0x0114(r17)
0012e70c: 0c04b993 jal 0x0012e64c
0012e710: 26240060 addiu r4,r17,0x0060
0012e714: 92250114 lbu r5,0x0114(r17)
0012e718: 0c04b993 jal 0x0012e64c
0012e71c: 26240074 addiu r4,r17,0x0074
0012e720: 92250114 lbu r5,0x0114(r17)
0012e724: 0c04b993 jal 0x0012e64c
0012e728: 262400c4 addiu r4,r17,0x00c4
0012e72c: 92250114 lbu r5,0x0114(r17)
0012e730: 0c04b993 jal 0x0012e64c
0012e734: 262400ec addiu r4,r17,0x00ec
0012e738: 862300d4 lh r3,0x00d4(r17)
0012e73c: 862200cc lh r2,0x00cc(r17)
0012e740: 00000000 nop
0012e744: 00623823 subu r7,r3,r2
0012e748: 04e10002 bgez r7,0x0012e754
0012e74c: 00e01021 addu r2,r7,r0
0012e750: 24e20007 addiu r2,r7,0x0007
0012e754: 000210c3 sra r2,r2,0x03
0012e758: 000210c0 sll r2,r2,0x03
0012e75c: 24e3fffc addiu r3,r7,0xfffc
0012e760: 14430003 bne r2,r3,0x0012e770
0012e764: 00000000 nop
0012e768: 0804b9dd j 0x0012e774
0012e76c: 24e7fff1 addiu r7,r7,0xfff1
0012e770: 24e7fff3 addiu r7,r7,0xfff3
0012e774: 962200cc lhu r2,0x00cc(r17)
0012e778: 962300cc lhu r3,0x00cc(r17)
0012e77c: 862400ce lh r4,0x00ce(r17)
0012e780: 00471021 addu r2,r2,r7
0012e784: a6220090 sh r2,0x0090(r17)
0012e788: 962200ce lhu r2,0x00ce(r17)
0012e78c: 00671821 addu r3,r3,r7
0012e790: a62300a4 sh r3,0x00a4(r17)
0012e794: 862300de lh r3,0x00de(r17)
0012e798: 24420008 addiu r2,r2,0x0008
0012e79c: a6220092 sh r2,0x0092(r17)
0012e7a0: 962200ce lhu r2,0x00ce(r17)
0012e7a4: 00641823 subu r3,r3,r4
0012e7a8: 00431021 addu r2,r2,r3
0012e7ac: 8e230018 lw r3,0x0018(r17)
0012e7b0: 2442ffe6 addiu r2,r2,0xffe6
0012e7b4: a62200a6 sh r2,0x00a6(r17)
0012e7b8: 34020010 ori r2,r0,0x0010
0012e7bc: 14620010 bne r3,r2,0x0012e800
0012e7c0: 34020001 ori r2,r0,0x0001
0012e7c4: 8e230014 lw r3,0x0014(r17)
0012e7c8: 00000000 nop
0012e7cc: 14620006 bne r3,r2,0x0012e7e8
0012e7d0: 00000000 nop
0012e7d4: 96220092 lhu r2,0x0092(r17)
0012e7d8: 962300a6 lhu r3,0x00a6(r17)
0012e7dc: 2442fffc addiu r2,r2,0xfffc
0012e7e0: 0804b9fe j 0x0012e7f8
0012e7e4: 2463fffc addiu r3,r3,0xfffc
0012e7e8: 96220092 lhu r2,0x0092(r17)
0012e7ec: 962300a6 lhu r3,0x00a6(r17)
0012e7f0: 24420004 addiu r2,r2,0x0004
0012e7f4: 24630004 addiu r3,r3,0x0004
0012e7f8: a6220092 sh r2,0x0092(r17)
0012e7fc: a62300a6 sh r3,0x00a6(r17)
0012e800: 862300a6 lh r3,0x00a6(r17)
0012e804: 86250092 lh r5,0x0092(r17)
0012e808: 8622009a lh r2,0x009a(r17)
0012e80c: 3c048016 lui r4,0x8016
0012e810: 8c846014 lw r4,0x6014(r4)
0012e814: 00a22821 addu r5,r5,r2
0012e818: 02442021 addu r4,r18,r4
0012e81c: 00042080 sll r4,r4,0x02
0012e820: 00942021 addu r4,r4,r20
0012e824: 8c860000 lw r6,0x0000(r4)
0012e828: 00651823 subu r3,r3,r5
0012e82c: 8cc20028 lw r2,0x0028(r6)
0012e830: 2463fffc addiu r3,r3,0xfffc
0012e834: 00620018 mult r3,r2
0012e838: 00001812 mflo r3
0012e83c: 8cc20024 lw r2,0x0024(r6)
0012e840: 00000000 nop
0012e844: 0062001a div r3,r2
0012e848: 00001812 mflo r3
0012e84c: 962200cc lhu r2,0x00cc(r17)
0012e850: 00000000 nop
0012e854: 00471021 addu r2,r2,r7
0012e858: a62200b8 sh r2,0x00b8(r17)
0012e85c: 00a32821 addu r5,r5,r3
0012e860: a62500ba sh r5,0x00ba(r17)
0012e864: 8c820000 lw r2,0x0000(r4)
0012e868: 00000000 nop
0012e86c: 8c500020 lw r16,0x0020(r2)
0012e870: 00000000 nop
0012e874: 32020001 andi r2,r16,0x0001
0012e878: 10400004 beq r2,r0,0x0012e88c
0012e87c: 32020002 andi r2,r16,0x0002
0012e880: 0c05297a jal 0x0014a5e8
0012e884: 26240088 addiu r4,r17,0x0088
0012e888: 32020002 andi r2,r16,0x0002
0012e88c: 10400004 beq r2,r0,0x0012e8a0
0012e890: 32020004 andi r2,r16,0x0004
0012e894: 0c05297a jal 0x0014a5e8
0012e898: 2624009c addiu r4,r17,0x009c
0012e89c: 32020004 andi r2,r16,0x0004
0012e8a0: 10400003 beq r2,r0,0x0012e8b0
0012e8a4: 00000000 nop
0012e8a8: 0c05297a jal 0x0014a5e8
0012e8ac: 262400b0 addiu r4,r17,0x00b0
0012e8b0: 0c05297a jal 0x0014a5e8
0012e8b4: 26240038 addiu r4,r17,0x0038
0012e8b8: 0c05297a jal 0x0014a5e8
0012e8bc: 2624004c addiu r4,r17,0x004c
0012e8c0: 0c05297a jal 0x0014a5e8
0012e8c4: 26240060 addiu r4,r17,0x0060
0012e8c8: 0c05297a jal 0x0014a5e8
0012e8cc: 26240074 addiu r4,r17,0x0074
0012e8d0: 0c05297a jal 0x0014a5e8
0012e8d4: 2624002c addiu r4,r17,0x002c
0012e8d8: 8e23000c lw r3,0x000c(r17)
0012e8dc: 2402ffff addiu r2,r0,0xffff
0012e8e0: 1062001f beq r3,r2,0x0012e960
0012e8e4: 00031140 sll r2,r3,0x05
0012e8e8: 00002021 addu r4,r0,r0
0012e8ec: 00002821 addu r5,r0,r0
0012e8f0: 340300ce ori r3,r0,0x00ce
0012e8f4: 2446001f addiu r6,r2,0x001f
0012e8f8: a22200f8 sb r2,0x00f8(r17)
0012e8fc: a2220108 sb r2,0x0108(r17)
0012e900: 340200fe ori r2,r0,0x00fe
0012e904: a2260100 sb r6,0x0100(r17)
0012e908: a2260110 sb r6,0x0110(r17)
0012e90c: 340601c0 ori r6,r0,0x01c0               # points to VRAM slot holding status bar data (HP/max HP, mp/Max MP, Ct/Max Ct, Faith, brave, etc.)
0012e910: 00003821 addu r7,r0,r0
0012e914: a22300f9 sb r3,0x00f9(r17)
0012e918: a2230101 sb r3,0x0101(r17)
0012e91c: a2220109 sb r2,0x0109(r17)
0012e920: 0c008e63 jal 0x0002398c
0012e924: a2220111 sb r2,0x0111(r17)
0012e928: 8e23000c lw r3,0x000c(r17)
0012e92c: a6220102 sh r2,0x0102(r17)
0012e930: 04610002 bgez r3,0x0012e93c
0012e934: 00601021 addu r2,r3,r0
0012e938: 24620003 addiu r2,r3,0x0003
0012e93c: 00022883 sra r5,r2,0x02
0012e940: 00051080 sll r2,r5,0x02
0012e944: 00621023 subu r2,r3,r2
0012e948: 00021100 sll r2,r2,0x04
0012e94c: 244401c0 addiu r4,r2,0x01c0
0012e950: 0c008e95 jal 0x00023a54
0012e954: 24a500fe addiu r5,r5,0x00fe
0012e958: 0804ba5b j 0x0012e96c
0012e95c: a62200fa sh r2,0x00fa(r17)
0012e960: 8e250010 lw r5,0x0010(r17)
0012e964: 0c04daf4 jal 0x00136bd0
0012e968: 262400ec addiu r4,r17,0x00ec
0012e96c: 263000ec addiu r16,r17,0x00ec
0012e970: 8e25001c lw r5,0x001c(r17)
0012e974: 02002021 addu r4,r16,r0
0012e978: 0c04ca2b jal 0x001328ac
0012e97c: 00052823 subu r5,r0,r5
0012e980: 0c05297a jal 0x0014a5e8
0012e984: 02002021 addu r4,r16,r0
0012e988: 0c05297a jal 0x0014a5e8
0012e98c: 262400c4 addiu r4,r17,0x00c4
0012e990: 2652fffe addiu r18,r18,0xfffe
0012e994: 0641ff3c bgez r18,0x0012e688
0012e998: 2673fff8 addiu r19,r19,0xfff8
0012e99c: 8fbf0024 lw r31,0x0024(r29)
0012e9a0: 8fb40020 lw r20,0x0020(r29)
0012e9a4: 8fb3001c lw r19,0x001c(r29)
0012e9a8: 8fb20018 lw r18,0x0018(r29)
0012e9ac: 8fb10014 lw r17,0x0014(r29)
0012e9b0: 8fb00010 lw r16,0x0010(r29)
0012e9b4: 27bd0028 addiu r29,r29,0x0028
0012e9b8: 03e00008 jr r31
0012e9bc: 00000000 nop