Difference between revisions of "0014978c - 001498f8"

From Final Fantasy Hacktics Wiki
Jump to navigation Jump to search
(Created page with "<font face='Courier New'> 0014978c: 27bdffc8 addiu r29,r29,0xffc8 00149790: afb1002c sw r17,0x002c(r29) 00149794: 00808821 addu r17,r4,r0 00149798: afbf0034 sw r31,0x003...")
 
m (link)
 
Line 45: Line 45:
 
  00149834: 87a50010 lh r5,0x0010(r29)
 
  00149834: 87a50010 lh r5,0x0010(r29)
 
  00149838: 00442023 subu r4,r2,r4
 
  00149838: 00442023 subu r4,r2,r4
  0014983c: 0c00763a jal 0x0001d8e8
+
  0014983c: 0c00763a jal 0x0001d8e8                 [[Get_Angle_Value_via_ArcTan_Table]]
 
  00149840: 00652823 subu r5,r3,r5
 
  00149840: 00652823 subu r5,r3,r5
 
  00149844: 00021023 subu r2,r0,r2
 
  00149844: 00021023 subu r2,r0,r2

Latest revision as of 21:30, 2 January 2022

0014978c: 27bdffc8 addiu r29,r29,0xffc8
00149790: afb1002c sw r17,0x002c(r29)
00149794: 00808821 addu r17,r4,r0
00149798: afbf0034 sw r31,0x0034(r29)
0014979c: afb20030 sw r18,0x0030(r29)
001497a0: afb00028 sw r16,0x0028(r29)
001497a4: 92230002 lbu r3,0x0002(r17)
001497a8: 34120001 ori r18,r0,0x0001
001497ac: 000310c0 sll r2,r3,0x03
001497b0: 00431023 subu r2,r2,r3
001497b4: 00021080 sll r2,r2,0x02
001497b8: 2442000e addiu r2,r2,0x000e
001497bc: a7a20018 sh r2,0x0018(r29)
001497c0: 92230003 lbu r3,0x0003(r17)
001497c4: 00000000 nop
001497c8: 000310c0 sll r2,r3,0x03
001497cc: 00431023 subu r2,r2,r3
001497d0: 00021080 sll r2,r2,0x02
001497d4: 2442000e addiu r2,r2,0x000e
001497d8: 0c05181e jal 0x00146078
001497dc: a7a2001c sh r2,0x001c(r29)
001497e0: 27a40020 addiu r4,r29,0x0020
001497e4: 27a50024 addiu r5,r29,0x0024
001497e8: 0c051e4a jal 0x00147928
001497ec: a7a20020 sh r2,0x0020(r29)
001497f0: 1040003b beq r2,r0,0x001498e0
001497f4: 00008021 addu r16,r0,r0
001497f8: 27a40020 addiu r4,r29,0x0020
001497fc: 00101040 sll r2,r16,0x01
00149800: 3c058017 lui r5,0x8017
00149804: 24a59720 addiu r5,r5,0x9720
00149808: 00452821 addu r5,r2,r5
0014980c: 0c051e6b jal 0x001479ac
00149810: 27a60024 addiu r6,r29,0x0024
00149814: 1040002e beq r2,r0,0x001498d0
00149818: 00000000 nop
0014981c: 97a40020 lhu r4,0x0020(r29)
00149820: 0c04cc22 jal 0x00133088
00149824: 27a50010 addiu r5,r29,0x0010
00149828: 87a30018 lh r3,0x0018(r29)
0014982c: 87a2001c lh r2,0x001c(r29)
00149830: 87a40014 lh r4,0x0014(r29)
00149834: 87a50010 lh r5,0x0010(r29)
00149838: 00442023 subu r4,r2,r4
0014983c: 0c00763a jal 0x0001d8e8                 Get_Angle_Value_via_ArcTan_Table 
00149840: 00652823 subu r5,r3,r5
00149844: 00021023 subu r2,r0,r2
00149848: 24420c00 addiu r2,r2,0x0c00
0014984c: 30420f00 andi r2,r2,0x0f00
00149850: 97a40020 lhu r4,0x0020(r29)
00149854: 00021203 sra r2,r2,0x08
00149858: 000418c0 sll r3,r4,0x03
0014985c: 00641823 subu r3,r3,r4
00149860: 3c048017 lui r4,0x8017
00149864: 2484d9d8 addiu r4,r4,0xd9d8
00149868: 00642021 addu r4,r3,r4
0014986c: a0820000 sb r2,0x0000(r4)
00149870: 92220005 lbu r2,0x0005(r17)
00149874: 00000000 nop
00149878: a0820001 sb r2,0x0001(r4)
0014987c: 92220006 lbu r2,0x0006(r17)
00149880: 3c018017 lui r1,0x8017
00149884: 00220821 addu r1,r1,r2
00149888: 90239750 lbu r3,-0x68b0(r1)
0014988c: 34020001 ori r2,r0,0x0001
00149890: a0800003 sb r0,0x0003(r4)
00149894: a0820004 sb r2,0x0004(r4)
00149898: a0830002 sb r3,0x0002(r4)
0014989c: 92220007 lbu r2,0x0007(r17)
001498a0: 00000000 nop
001498a4: 00520018 mult r2,r18
001498a8: 00001012 mflo r2
001498ac: 04410002 bgez r2,0x001498b8
001498b0: 26520001 addiu r18,r18,0x0001
001498b4: 24420003 addiu r2,r2,0x0003
001498b8: 00021083 sra r2,r2,0x02
001498bc: a0820006 sb r2,0x0006(r4)
001498c0: 8fa20024 lw r2,0x0024(r29)
001498c4: 00000000 nop
001498c8: 10400005 beq r2,r0,0x001498e0
001498cc: 00000000 nop
001498d0: 26100001 addiu r16,r16,0x0001
001498d4: 2a020015 slti r2,r16,0x0015
001498d8: 1440ffc8 bne r2,r0,0x001497fc
001498dc: 27a40020 addiu r4,r29,0x0020
001498e0: 8fbf0034 lw r31,0x0034(r29)
001498e4: 8fb20030 lw r18,0x0030(r29)
001498e8: 8fb1002c lw r17,0x002c(r29)
001498ec: 8fb00028 lw r16,0x0028(r29)
001498f0: 27bd0038 addiu r29,r29,0x0038
001498f4: 03e00008 jr r31
001498f8: 00000000 nop