Difference between revisions of "001a23a8 - 001a2410"

From Final Fantasy Hacktics Wiki
Jump to navigation Jump to search
(Created page with "<font face='Courier New'> 001a23a8: 27bdffe0 addiu r29,r29,0xffe0 001a23ac: afb10014 sw r17,0x0014(r29) 001a23b0: 00808821 addu r17,r4,r0 001a23b4: afbf0018 sw r31,0x001...")
 
Line 10: Line 10:
 
  001a23c4: 00000000 nop
 
  001a23c4: 00000000 nop
 
  001a23c8: 00431021 addu r2,r2,r3
 
  001a23c8: 00431021 addu r2,r2,r3
  001a23cc: 90500001 lbu r16,0x0001(r2)
+
  001a23cc: 90500001 lbu r16,0x0001(r2) #load first argument of instruction
  001a23d0: 84440002 lh r4,0x0002(r2)
+
  001a23d0: 84440002 lh r4,0x0002(r2) #parse second argument; find file for second argument?
  001a23d4: 0c0684a2 jal 0x001a1288
+
  001a23d4: 0c0684a2 jal 0x001a1288 #[[001a1288 - 001a12a0]]
  001a23d8: 00108082 srl r16,r16,0x02
+
  001a23d8: 00108082 srl r16,r16,0x02 #ignore lower 2 bits, then word.
 
  001a23dc: 00108080 sll r16,r16,0x02
 
  001a23dc: 00108080 sll r16,r16,0x02
 
  001a23e0: 3c01801c lui r1,0x801c
 
  001a23e0: 3c01801c lui r1,0x801c
 
  001a23e4: 00300821 addu r1,r1,r16
 
  001a23e4: 00300821 addu r1,r1,r16
  001a23e8: ac229144 sw r2,-0x6ebc(r1)
+
  001a23e8: ac229144 sw r2,-0x6ebc(r1) #store pointer to RAM loaded file in 0x801b9144
 
  001a23ec: 96230006 lhu r3,0x0006(r17)
 
  001a23ec: 96230006 lhu r3,0x0006(r17)
  001a23f0: 34020001 ori r2,r0,0x0001
+
  001a23f0: 34020001 ori r2,r0,0x0001 #return not finishing effect
  001a23f4: 24630004 addiu r3,r3,0x0004
+
  001a23f4: 24630004 addiu r3,r3,0x0004 #increment offset by 4
  001a23f8: a6230006 sh r3,0x0006(r17)
+
  001a23f8: a6230006 sh r3,0x0006(r17) #store again
 
  001a23fc: 8fbf0018 lw r31,0x0018(r29)
 
  001a23fc: 8fbf0018 lw r31,0x0018(r29)
 
  001a2400: 8fb10014 lw r17,0x0014(r29)
 
  001a2400: 8fb10014 lw r17,0x0014(r29)

Revision as of 10:05, 30 November 2022

001a23a8: 27bdffe0 addiu r29,r29,0xffe0
001a23ac: afb10014 sw r17,0x0014(r29)
001a23b0: 00808821 addu r17,r4,r0
001a23b4: afbf0018 sw r31,0x0018(r29)
001a23b8: afb00010 sw r16,0x0010(r29)
001a23bc: 86220006 lh r2,0x0006(r17)
001a23c0: 8e230008 lw r3,0x0008(r17)
001a23c4: 00000000 nop
001a23c8: 00431021 addu r2,r2,r3
001a23cc: 90500001 lbu r16,0x0001(r2)			#load first argument of instruction
001a23d0: 84440002 lh r4,0x0002(r2)			#parse second argument; find file for second argument?
001a23d4: 0c0684a2 jal 0x001a1288			#001a1288 - 001a12a0
001a23d8: 00108082 srl r16,r16,0x02			#ignore lower 2 bits, then word.
001a23dc: 00108080 sll r16,r16,0x02
001a23e0: 3c01801c lui r1,0x801c
001a23e4: 00300821 addu r1,r1,r16
001a23e8: ac229144 sw r2,-0x6ebc(r1)			#store pointer to RAM loaded file in 0x801b9144
001a23ec: 96230006 lhu r3,0x0006(r17)
001a23f0: 34020001 ori r2,r0,0x0001			#return not finishing effect
001a23f4: 24630004 addiu r3,r3,0x0004			#increment offset by 4
001a23f8: a6230006 sh r3,0x0006(r17)			#store again
001a23fc: 8fbf0018 lw r31,0x0018(r29)
001a2400: 8fb10014 lw r17,0x0014(r29)
001a2404: 8fb00010 lw r16,0x0010(r29)
001a2408: 27bd0020 addiu r29,r29,0x0020
001a240c: 03e00008 jr r31
001a2410: 00000000 nop