Difference between revisions of "Attack preview - Caster stats"

From Final Fantasy Hacktics Wiki
Jump to navigation Jump to search
(Created page with "<font face='Courier New'> 001361e8: 27bdffc8 addiu r29,r29,0xffc8 001361ec: afbf0030 sw r31,0x0030(r29) 001361f0: afb3002c sw r19,0x002c(r29) 001361f4: afb20028 sw r18,0...")
 
 
(2 intermediate revisions by 2 users not shown)
Line 6: Line 6:
 
  001361f4: afb20028 sw r18,0x0028(r29)
 
  001361f4: afb20028 sw r18,0x0028(r29)
 
  001361f8: afb10024 sw r17,0x0024(r29)
 
  001361f8: afb10024 sw r17,0x0024(r29)
  001361fc: 0c04b7d0 jal 0x0012df40
+
  001361fc: 0c04b7d0 jal 0x0012df40                 [[0012df40 - 0012df64]] <- get attacker unit data pointer
 
  00136200: afb00020 sw r16,0x0020(r29)
 
  00136200: afb00020 sw r16,0x0020(r29)
 
  00136204: 3c048015 lui r4,0x8015
 
  00136204: 3c048015 lui r4,0x8015
 
  00136208: 8484d09a lh r4,-0x2f66(r4)
 
  00136208: 8484d09a lh r4,-0x2f66(r4)
  0013620c: 0c0602bf jal 0x00180afc
+
  0013620c: 0c0602bf jal 0x00180afc                 [[Get Unit's Data Pointer]]
 
  00136210: 00409821 addu r19,r2,r0
 
  00136210: 00409821 addu r19,r2,r0
 
  00136214: 3c108015 lui r16,0x8015
 
  00136214: 3c108015 lui r16,0x8015
 
  00136218: 2610d08a addiu r16,r16,0xd08a
 
  00136218: 2610d08a addiu r16,r16,0xd08a
 
  0013621c: 86040000 lh r4,0x0000(r16)
 
  0013621c: 86040000 lh r4,0x0000(r16)
  00136220: 0c0233b4 jal 0x0008ced0
+
  00136220: 0c0233b4 jal 0x0008ced0                 [[Find Unit's Misc Data Pointer (+0x15c)]]
 
  00136224: 00409021 addu r18,r2,r0
 
  00136224: 00409021 addu r18,r2,r0
 
  00136228: 00408821 addu r17,r2,r0
 
  00136228: 00408821 addu r17,r2,r0
Line 26: Line 26:
 
  00136244: 308401ff andi r4,r4,0x01ff
 
  00136244: 308401ff andi r4,r4,0x01ff
 
  00136248: 27a50010 addiu r5,r29,0x0010
 
  00136248: 27a50010 addiu r5,r29,0x0010
  0013624c: 0c0169cb jal 0x0005a72c
+
  0013624c: 0c0169cb jal 0x0005a72c                 [[Calculate Ability Pointers and Type]]
 
  00136250: 27a60014 addiu r6,r29,0x0014
 
  00136250: 27a60014 addiu r6,r29,0x0014
 
  00136254: 8fa20014 lw r2,0x0014(r29)
 
  00136254: 8fa20014 lw r2,0x0014(r29)
Line 53: Line 53:
 
  001362b0: 3c018017 lui r1,0x8017
 
  001362b0: 3c018017 lui r1,0x8017
 
  001362b4: ac223ca8 sw r2,0x3ca8(r1)
 
  001362b4: ac223ca8 sw r2,0x3ca8(r1)
  001362b8: 0c0533ad jal 0x0014ceb4
+
  001362b8: 0c0533ad jal 0x0014ceb4                 [[Call Inner Subroutine]]
 
  001362bc: 02203021 addu r6,r17,r0
 
  001362bc: 02203021 addu r6,r17,r0
 
  001362c0: 2642018c addiu r2,r18,0x018c
 
  001362c0: 2642018c addiu r2,r18,0x018c
 
  001362c4: 3c018017 lui r1,0x8017
 
  001362c4: 3c018017 lui r1,0x8017
 
  001362c8: ac222258 sw r2,0x2258(r1)
 
  001362c8: ac222258 sw r2,0x2258(r1)
  001362cc: 0c0532a0 jal 0x0014ca80
+
  001362cc: 0c0532a0 jal 0x0014ca80                 [[Switch To Next Thread]]
 
  001362d0: 00000000 nop
 
  001362d0: 00000000 nop
  001362d4: 0c0532a0 jal 0x0014ca80
+
  001362d4: 0c0532a0 jal 0x0014ca80                 [[Switch To Next Thread]]
 
  001362d8: 00000000 nop
 
  001362d8: 00000000 nop
  001362dc: 0c04cdd5 jal 0x00133754
+
  001362dc: 0c04cdd5 jal 0x00133754                 [[Store units small in battle display data]]
 
  001362e0: 00000000 nop
 
  001362e0: 00000000 nop
 
  001362e4: 3c048017 lui r4,0x8017
 
  001362e4: 3c048017 lui r4,0x8017
Line 70: Line 70:
 
  001362f4: 3c078015 lui r7,0x8015
 
  001362f4: 3c078015 lui r7,0x8015
 
  001362f8: 24e7d038 addiu r7,r7,0xd038
 
  001362f8: 24e7d038 addiu r7,r7,0xd038
  001362fc: 0c04d4af jal 0x001352bc
+
  001362fc: 0c04d4af jal 0x001352bc                 [[001352bc - 00136124]]
 
  00136300: 34050001 ori r5,r0,0x0001
 
  00136300: 34050001 ori r5,r0,0x0001
 
  00136304: 8fbf0030 lw r31,0x0030(r29)
 
  00136304: 8fbf0030 lw r31,0x0030(r29)

Latest revision as of 23:02, 19 December 2024

001361e8: 27bdffc8 addiu r29,r29,0xffc8
001361ec: afbf0030 sw r31,0x0030(r29)
001361f0: afb3002c sw r19,0x002c(r29)
001361f4: afb20028 sw r18,0x0028(r29)
001361f8: afb10024 sw r17,0x0024(r29)
001361fc: 0c04b7d0 jal 0x0012df40                  0012df40 - 0012df64 <- get attacker unit data pointer
00136200: afb00020 sw r16,0x0020(r29)
00136204: 3c048015 lui r4,0x8015
00136208: 8484d09a lh r4,-0x2f66(r4)
0013620c: 0c0602bf jal 0x00180afc                  Get Unit's Data Pointer
00136210: 00409821 addu r19,r2,r0
00136214: 3c108015 lui r16,0x8015
00136218: 2610d08a addiu r16,r16,0xd08a
0013621c: 86040000 lh r4,0x0000(r16)
00136220: 0c0233b4 jal 0x0008ced0                  Find Unit's Misc Data Pointer (+0x15c)
00136224: 00409021 addu r18,r2,r0
00136228: 00408821 addu r17,r2,r0
0013622c: 86220002 lh r2,0x0002(r17)
00136230: 92030000 lbu r3,0x0000(r16)
00136234: 00402021 addu r4,r2,r0
00136238: 28420170 slti r2,r2,0x0170
0013623c: 10400005 beq r2,r0,0x00136254
00136240: a2230000 sb r3,0x0000(r17)
00136244: 308401ff andi r4,r4,0x01ff
00136248: 27a50010 addiu r5,r29,0x0010
0013624c: 0c0169cb jal 0x0005a72c                  Calculate Ability Pointers and Type
00136250: 27a60014 addiu r6,r29,0x0014
00136254: 8fa20014 lw r2,0x0014(r29)
00136258: 00000000 nop
0013625c: 90420005 lbu r2,0x0005(r2)
00136260: 00000000 nop
00136264: 30420004 andi r2,r2,0x0004
00136268: 10400006 beq r2,r0,0x00136284
0013626c: 00000000 nop
00136270: 86220002 lh r2,0x0002(r17)
00136274: 00000000 nop
00136278: 28420170 slti r2,r2,0x0170
0013627c: 14400005 bne r2,r0,0x00136294
00136280: 00000000 nop
00136284: 92230001 lbu r3,0x0001(r17)
00136288: 34020003 ori r2,r0,0x0003
0013628c: 14620005 bne r3,r2,0x001362a4
00136290: 02602021 addu r4,r19,r0
00136294: 3c018017 lui r1,0x8017
00136298: ac202258 sw r0,0x2258(r1)
0013629c: 0804d8b3 j 0x001362cc
001362a0: 00000000 nop
001362a4: 02402821 addu r5,r18,r0
001362a8: 3c028018 lui r2,0x8018
001362ac: 2442f17c addiu r2,r2,0xf17c
001362b0: 3c018017 lui r1,0x8017
001362b4: ac223ca8 sw r2,0x3ca8(r1)
001362b8: 0c0533ad jal 0x0014ceb4                  Call Inner Subroutine
001362bc: 02203021 addu r6,r17,r0
001362c0: 2642018c addiu r2,r18,0x018c
001362c4: 3c018017 lui r1,0x8017
001362c8: ac222258 sw r2,0x2258(r1)
001362cc: 0c0532a0 jal 0x0014ca80                  Switch To Next Thread
001362d0: 00000000 nop
001362d4: 0c0532a0 jal 0x0014ca80                  Switch To Next Thread
001362d8: 00000000 nop
001362dc: 0c04cdd5 jal 0x00133754                  Store units small in battle display data
001362e0: 00000000 nop
001362e4: 3c048017 lui r4,0x8017
001362e8: 24848650 addiu r4,r4,0x8650
001362ec: 3c068017 lui r6,0x8017
001362f0: 24c68758 addiu r6,r6,0x8758
001362f4: 3c078015 lui r7,0x8015
001362f8: 24e7d038 addiu r7,r7,0xd038
001362fc: 0c04d4af jal 0x001352bc                  001352bc - 00136124
00136300: 34050001 ori r5,r0,0x0001
00136304: 8fbf0030 lw r31,0x0030(r29)
00136308: 8fb3002c lw r19,0x002c(r29)
0013630c: 8fb20028 lw r18,0x0028(r29)
00136310: 8fb10024 lw r17,0x0024(r29)
00136314: 8fb00020 lw r16,0x0020(r29)
00136318: 27bd0038 addiu r29,r29,0x0038
0013631c: 03e00008 jr r31
00136320: 00000000 nop