Difference between revisions of "SYS LoadImage"

From Final Fantasy Hacktics Wiki
Jump to navigation Jump to search
(Created page with " 80024740: 27bdffe0 addiu r29,r29,-0x0020 80024744: 00804021 addu r8,r4,r0 80024748: afb00018 sw r16,0x0018(r29) 8002474c: 00a08021 addu r16,r5,r0 80024750: 3c038003 lui r...")
 
Line 1: Line 1:
  80024740: 27bdffe0 addiu r29,r29,-0x0020
+
  #  ROUTINE: ? 0x248fc
  80024744: 00804021 addu r8,r4,r0
+
  #      Parameters:
  80024748: afb00018 sw r16,0x0018(r29)
+
  #          r4 = (p1) ?
  8002474c: 00a08021 addu r16,r5,r0
+
  #          r5 = (p2) ?
80024750: 3c038003 lui r3,0x8003
+
   
80024754: 90632896 lbu r3,0x2896(r3)
+
  800248fc: 27bdffe0 addiu r29,r29,-0x0020
  80024758: 34020001 ori r2,r0,0x0001
+
  80024900: afb00010 sw r16,0x0010(r29)
  8002475c: 10620006 beq r3,r2,0x80024778
+
  80024904: 00808021 addu r16,r4,r0               #  p1
  80024760: afbf001c sw r31,0x001c(r29)
+
  80024908: afb10014 sw r17,0x0014(r29)
  80024764: 34020002 ori r2,r0,0x0002
+
  8002490c: 00a08821 addu r17,r5,r0               #  p2
80024768: 10620029 beq r3,r2,0x80024810
+
  80024910: 3c048001 lui r4,0x8001
8002476c: 00000000 nop
+
  80024914: 248407f8 addiu r4,r4,0x07f8          #  0x800107f8
80024770: 08009215 j 0x80024854
+
  80024918: afbf0018 sw r31,0x0018(r29)
80024774: 00000000 nop
+
  8002491c: 0c0091d0 jal 0x80024740              #  ROUTINE: [[? 0x24740]] (0x800107f8, p1)
80024778: 86050004 lh r5,0x0004(r16)
+
  80024920: 02002821 addu r5,r16,r0              #  p1
8002477c: 3c038003 lui r3,0x8003
+
  80024924: 02002821 addu r5,r16,r0              #  p1
80024780: 84632898 lh r3,0x2898(r3)
+
  80024928: 3c028003 lui r2,0x8003
80024784: 00000000 nop
+
  8002492c: 8c42288c lw r2,0x288c(r2)            #  *0x8003288c
80024788: 0065102a slt r2,r3,r5
+
  80024930: 34060008 ori r6,r0,0x0008            #  8
8002478c: 1440001c bne r2,r0,0x80024800
+
  80024934: 8c440020 lw r4,0x0020(r2)            #  *0x8003288c.0x20
  80024790: 00000000 nop
+
  80024938: 8c420008 lw r2,0x0008(r2)             #  *0x8003288c.0x08
80024794: 86070000 lh r7,0x0000(r16)
+
  8002493c: 00000000 nop
  80024798: 00000000 nop
+
  80024940: 0040f809 jalr r2,r31                 #  ROUTINE: *0x8003288c.0x08 (*0x8003288c.0x20, p1, 8, p2)
8002479c: 00a71021 addu r2,r5,r7
+
  80024944: 02203821 addu r7,r17,r0              #  p2
800247a0: 0062102a slt r2,r3,r2
+
  80024948: 8fbf0018 lw r31,0x0018(r29)
800247a4: 14400016 bne r2,r0,0x80024800
+
  8002494c: 8fb10014 lw r17,0x0014(r29)
  800247a8: 00000000 nop
+
  80024950: 8fb00010 lw r16,0x0010(r29)
800247ac: 86030002 lh r3,0x0002(r16)
+
  80024954: 27bd0020 addiu r29,r29,0x0020
800247b0: 3c048003 lui r4,0x8003
+
  80024958: 03e00008 jr r31
  800247b4: 8484289a lh r4,0x289a(r4)
+
  8002495c: 00000000 nop
800247b8: 00000000 nop
 
800247bc: 0083102a slt r2,r4,r3
 
  800247c0: 1440000f bne r2,r0,0x80024800
 
  800247c4: 00000000 nop
 
800247c8: 86060006 lh r6,0x0006(r16)
 
  800247cc: 00000000 nop
 
800247d0: 00661021 addu r2,r3,r6
 
  800247d4: 0082102a slt r2,r4,r2
 
  800247d8: 14400009 bne r2,r0,0x80024800
 
  800247dc: 00000000 nop
 
800247e0: 18a00007 blez r5,0x80024800
 
  800247e4: 00000000 nop
 
800247e8: 04e00005 bltz r7,0x80024800
 
800247ec: 00000000 nop
 
800247f0: 04600003 bltz r3,0x80024800
 
800247f4: 00000000 nop
 
800247f8: 1cc00016 bgtz r6,0x80024854
 
800247fc: 00000000 nop
 
80024800: 3c048001 lui r4,0x8001
 
  80024804: 248407c8 addiu r4,r4,0x07c8
 
80024808: 08009206 j 0x80024818
 
8002480c: 00000000 nop
 
80024810: 3c048001 lui r4,0x8001
 
80024814: 248407e8 addiu r4,r4,0x07e8
 
80024818: 3c028003 lui r2,0x8003
 
  8002481c: 8c422890 lw r2,0x2890(r2)
 
  80024820: 00000000 nop
 
  80024824: 0040f809 jalr r2,r31
 
80024828: 01002821 addu r5,r8,r0
 
8002482c: 86050000 lh r5,0x0000(r16)
 
  80024830: 86060002 lh r6,0x0002(r16)
 
80024834: 86070004 lh r7,0x0004(r16)
 
80024838: 86020006 lh r2,0x0006(r16)
 
8002483c: 3c038003 lui r3,0x8003
 
  80024840: 8c632890 lw r3,0x2890(r3)
 
80024844: 3c048001 lui r4,0x8001
 
80024848: 248407d4 addiu r4,r4,0x07d4
 
8002484c: 0060f809 jalr r3,r31
 
80024850: afa20010 sw r2,0x0010(r29)
 
  80024854: 8fbf001c lw r31,0x001c(r29)
 
  80024858: 8fb00018 lw r16,0x0018(r29)
 
  8002485c: 27bd0020 addiu r29,r29,0x0020
 
  80024860: 03e00008 jr r31
 
  80024864: 00000000 nop
 

Revision as of 06:45, 28 December 2016

#   ROUTINE: ? 0x248fc
#       Parameters:
#           r4 = (p1) ?
#           r5 = (p2) ?

800248fc: 27bdffe0 addiu r29,r29,-0x0020
80024900: afb00010 sw r16,0x0010(r29)
80024904: 00808021 addu r16,r4,r0               #   p1
80024908: afb10014 sw r17,0x0014(r29)
8002490c: 00a08821 addu r17,r5,r0               #   p2
80024910: 3c048001 lui r4,0x8001
80024914: 248407f8 addiu r4,r4,0x07f8           #   0x800107f8
80024918: afbf0018 sw r31,0x0018(r29)
8002491c: 0c0091d0 jal 0x80024740               #   ROUTINE: ? 0x24740 (0x800107f8, p1)
80024920: 02002821 addu r5,r16,r0               #   p1
80024924: 02002821 addu r5,r16,r0               #   p1
80024928: 3c028003 lui r2,0x8003
8002492c: 8c42288c lw r2,0x288c(r2)             #   *0x8003288c
80024930: 34060008 ori r6,r0,0x0008             #   8
80024934: 8c440020 lw r4,0x0020(r2)             #   *0x8003288c.0x20
80024938: 8c420008 lw r2,0x0008(r2)             #   *0x8003288c.0x08
8002493c: 00000000 nop
80024940: 0040f809 jalr r2,r31                  #   ROUTINE: *0x8003288c.0x08 (*0x8003288c.0x20, p1, 8, p2)
80024944: 02203821 addu r7,r17,r0               #   p2
80024948: 8fbf0018 lw r31,0x0018(r29)
8002494c: 8fb10014 lw r17,0x0014(r29)
80024950: 8fb00010 lw r16,0x0010(r29)
80024954: 27bd0020 addiu r29,r29,0x0020
80024958: 03e00008 jr r31
8002495c: 00000000 nop