DEBUGCHR.OUT/001c438c - 001c5240

From Final Fantasy Hacktics Wiki
Jump to navigation Jump to search

< DEBUGCHR.OUT

001c438c: 27bdffa0 addiu r29,r29,0xffa0
001c4390: afb20040 sw r18,0x0040(r29)
001c4394: 00009021 addu r18,r0,r0
001c4398: afb1003c sw r17,0x003c(r29)
001c439c: 34110001 ori r17,r0,0x0001
001c43a0: afb00038 sw r16,0x0038(r29)
001c43a4: 3c10801c lui r16,0x801c
001c43a8: 261068e4 addiu r16,r16,0x68e4
001c43ac: 34020001 ori r2,r0,0x0001
001c43b0: 3c01801c lui r1,0x801c
001c43b4: ac2252a4 sw r2,0x52a4(r1)
001c43b8: 34020002 ori r2,r0,0x0002
001c43bc: afbf005c sw r31,0x005c(r29)
001c43c0: afbe0058 sw r30,0x0058(r29)
001c43c4: afb70054 sw r23,0x0054(r29)
001c43c8: afb60050 sw r22,0x0050(r29)
001c43cc: afb5004c sw r21,0x004c(r29)
001c43d0: afb40048 sw r20,0x0048(r29)
001c43d4: afb30044 sw r19,0x0044(r29)
001c43d8: 3c01801c lui r1,0x801c
001c43dc: a0226673 sb r2,0x6673(r1)
001c43e0: 0c0602bf jal 0x00180afc          Get Unit's Data Pointer
001c43e4: 02402021 addu r4,r18,r0
001c43e8: 90440161 lbu r4,0x0161(r2)
001c43ec: 0c060324 jal 0x00180c90          Find Unit Data Pointer For ENTD Unit ID
001c43f0: 27a50010 addiu r5,r29,0x0010
001c43f4: 8fa20010 lw r2,0x0010(r29)
001c43f8: 00000000 nop
001c43fc: 04400005 bltz r2,0x 001c4414
001c4400: 00000000 nop
001c4404: 16420003 bne r18,r2,0x 001c4414
001c4408: 00000000 nop
001c440c: 08071106 j 0x 001c4418
001c4410: a2110000 sb r17,0x0000(r16)
001c4414: a2000000 sb r0,0x0000(r16)
001c4418: 26520001 addiu r18,r18,0x0001
001c441c: 2a420015 slti r2,r18,0x0015
001c4420: 1440ffef bne r2,r0,0x 001c43e0
001c4424: 26100001 addiu r16,r16,0x0001
001c4428: 00009021 addu r18,r0,r0
001c442c: 3c01801c lui r1,0x801c
001c4430: 00320821 addu r1,r1,r18
001c4434: 902268e4 lbu r2,0x68e4(r1)
001c4438: 00000000 nop
001c443c: 14400013 bne r2,r0,0x 001c448c
001c4440: 00000000 nop
001c4444: 26520001 addiu r18,r18,0x0001
001c4448: 2a420015 slti r2,r18,0x0015
001c444c: 1440fff7 bne r2,r0,0x 001c442c
001c4450: 00000000 nop
001c4454: 0c070abc jal 0x 001c2af0
001c4458: 00000000 nop
001c445c: 3c02801c lui r2,0x801c
001c4460: 84425352 lh r2,0x5352(r2)
001c4464: 3c01801d lui r1,0x801d
001c4468: ac20ecec sw r0,-0x1314(r1)
001c446c: 10400024 beq r2,r0,0x 001c4500
001c4470: 00000000 nop
001c4474: 3c04801c lui r4,0x801c
001c4478: 24845e34 addiu r4,r4,0x5e34
001c447c: 3c05801c lui r5,0x801c
001c4480: 24a55f94 addiu r5,r5,0x5f94
001c4484: 08071144 j 0x 001c4510
001c4488: 00000000 nop
001c448c: 3c01801c lui r1,0x801c
001c4490: a432532e sh r18,0x532e(r1)
001c4494: 3c01801c lui r1,0x801c
001c4498: a4325324 sh r18,0x5324(r1)
001c449c: 3c01801c lui r1,0x801c
001c44a0: a43252e6 sh r18,0x52e6(r1)
001c44a4: 0c070abc jal 0x 001c2af0
001c44a8: 00000000 nop
001c44ac: 3c01801d lui r1,0x801d
001c44b0: ac32ecec sw r18,-0x1314(r1)
001c44b4: 08071115 j 0x 001c4454
001c44b8: 00000000 nop
001c44bc: 34040008 ori r4,r0,0x0008
001c44c0: 00002821 addu r5,r0,r0
001c44c4: 00003021 addu r6,r0,r0
001c44c8: 0c05328e jal 0x0014ca38          Store Thread Function Parameters
001c44cc: 34070001 ori r7,r0,0x0001
001c44d0: 3404000c ori r4,r0,0x000c
001c44d4: 00002821 addu r5,r0,r0
001c44d8: 00003021 addu r6,r0,r0
001c44dc: 0c05328e jal 0x0014ca38          Store Thread Function Parameters
001c44e0: 34070001 ori r7,r0,0x0001
001c44e4: 34040009 ori r4,r0,0x0009
001c44e8: 00002821 addu r5,r0,r0
001c44ec: 00003021 addu r6,r0,r0
001c44f0: 0c05328e jal 0x0014ca38          Store Thread Function Parameters
001c44f4: 34070001 ori r7,r0,0x0001
001c44f8: 08071484 j 0x 001c5210
001c44fc: 00000000 nop
001c4500: 3c04801c lui r4,0x801c
001c4504: 24845e34 addiu r4,r4,0x5e34
001c4508: 3c05801c lui r5,0x801c
001c450c: 24a55ee4 addiu r5,r5,0x5ee4
001c4510: 0c052fd5 jal 0x0014bf54          Copy Bytes (0x14bf54)
001c4514: 340600a8 ori r6,r0,0x00a8
001c4518: 3402000e ori r2,r0,0x000e
001c451c: 3c01801c lui r1,0x801c
001c4520: a022613a sb r2,0x613a(r1)
001c4524: 34040008 ori r4,r0,0x0008
001c4528: 3c05801c lui r5,0x801c
001c452c: 24a5f750 addiu r5,r5,0xf750
001c4530: 3c10801c lui r16,0x801c
001c4534: 261068b8 addiu r16,r16,0x68b8
001c4538: 3c11801c lui r17,0x801c
001c453c: 263168cc addiu r17,r17,0x68cc
001c4540: 3c12801c lui r18,0x801c
001c4544: 265268e0 addiu r18,r18,0x68e0
001c4548: ae000000 sw r0,0x0000(r16)
001c454c: ae200000 sw r0,0x0000(r17)
001c4550: 0c053228 jal 0x0014c8a0          Initialize Thread
001c4554: ae400000 sw r0,0x0000(r18)
001c4558: 34040008 ori r4,r0,0x0008
001c455c: 2605fff0 addiu r5,r16,0xfff0
001c4560: 00003021 addu r6,r0,r0
001c4564: 0c05328e jal 0x0014ca38          Store Thread Function Parameters
001c4568: 00003821 addu r7,r0,r0
001c456c: 3c05801c lui r5,0x801c
001c4570: 24a519e4 addiu r5,r5,0x19e4
001c4574: 0c053228 jal 0x0014c8a0          Initialize Thread
001c4578: 3404000c ori r4,r0,0x000c
001c457c: 3404000c ori r4,r0,0x000c
001c4580: 2625fff0 addiu r5,r17,0xfff0
001c4584: 00003021 addu r6,r0,r0
001c4588: 0c05328e jal 0x0014ca38          Initialize Thread
001c458c: 00003821 addu r7,r0,r0
001c4590: 3c05801c lui r5,0x801c
001c4594: 24a50b84 addiu r5,r5,0x0b84
001c4598: 0c053228 jal 0x0014c8a0          Store Thread Function Parameters
001c459c: 34040009 ori r4,r0,0x0009
001c45a0: 34040009 ori r4,r0,0x0009
001c45a4: 2645fff0 addiu r5,r18,0xfff0
001c45a8: 00003021 addu r6,r0,r0
001c45ac: 0c05328e jal 0x0014ca38          Initialize Thread
001c45b0: 00003821 addu r7,r0,r0
001c45b4: 0000b021 addu r22,r0,r0
001c45b8: 00009021 addu r18,r0,r0
001c45bc: 3c13801c lui r19,0x801c
001c45c0: 2673532e addiu r19,r19,0x532e
001c45c4: 3411000e ori r17,r0,0x000e
001c45c8: 34100001 ori r16,r0,0x0001
001c45cc: 0c0532a0 jal 0x0014ca80          Switch To Next Thread
001c45d0: 00000000 nop
001c45d4: 32430001 andi r3,r18,0x0001
001c45d8: 00031080 sll r2,r3,0x02
001c45dc: 00431021 addu r2,r2,r3
001c45e0: 00022100 sll r4,r2,0x04
001c45e4: 00822023 subu r4,r4,r2
001c45e8: 00042100 sll r4,r4,0x04
001c45ec: 3c02801d lui r2,0x801d
001c45f0: 2442e2e4 addiu r2,r2,0xe2e4
001c45f4: 0c070c9e jal 0x 001c3278
001c45f8: 00822021 addu r4,r4,r2
001c45fc: 0c05295e jal 0x0014a578          0014a578 - 0014a594
001c4600: 00002021 addu r4,r0,r0
001c4604: 3c01801c lui r1,0x801c
001c4608: ac226dec sw r2,0x6dec(r1)
001c460c: 8c430000 lw r3,0x0000(r2)
001c4610: 00000000 nop
001c4614: 30620020 andi r2,r3,0x0020
001c4618: 1440007c bne r2,r0,0x 001c480c
001c461c: 30620040 andi r2,r3,0x0040
001c4620: 1440ffa6 bne r2,r0,0x 001c44bc
001c4624: 30620008 andi r2,r3,0x0008
001c4628: 10400037 beq r2,r0,0x 001c4708
001c462c: 34020007 ori r2,r0,0x0007
001c4630: 3c01801c lui r1,0x801c
001c4634: a022667d sb r2,0x667d(r1)
001c4638: 3c03801d lui r3,0x801d
001c463c: 8c63ecec lw r3,-0x1314(r3)
001c4640: 34020015 ori r2,r0,0x0015
001c4644: 24630001 addiu r3,r3,0x0001
001c4648: 3c01801d lui r1,0x801d
001c464c: ac23ecec sw r3,-0x1314(r1)
001c4650: 14620003 bne r3,r2,0x 001c4660
001c4654: 00000000 nop
001c4658: 3c01801d lui r1,0x801d
001c465c: ac20ecec sw r0,-0x1314(r1)
001c4660: 3c02801d lui r2,0x801d
001c4664: 8c42ecec lw r2,-0x1314(r2)
001c4668: 3c01801c lui r1,0x801c
001c466c: 00220821 addu r1,r1,r2
001c4670: 902268e4 lbu r2,0x68e4(r1)
001c4674: 00000000 nop
001c4678: 1040ffef beq r2,r0,0x 001c4638
001c467c: 00000000 nop
001c4680: 3c02801d lui r2,0x801d
001c4684: 9442ecec lhu r2,-0x1314(r2)
001c4688: 00000000 nop
001c468c: a6620000 sh r2,0x0000(r19)
001c4690: a662fff6 sh r2,-0x000a(r19)
001c4694: 3c01801c lui r1,0x801c
001c4698: a42252e6 sh r2,0x52e6(r1)
001c469c: 0c070abc jal 0x 001c2af0
001c46a0: 00000000 nop
001c46a4: 3c02801c lui r2,0x801c
001c46a8: 84425352 lh r2,0x5352(r2)
001c46ac: 00000000 nop
001c46b0: 10400007 beq r2,r0,0x 001c46d0
001c46b4: 00000000 nop
001c46b8: 3c04801c lui r4,0x801c
001c46bc: 24845e34 addiu r4,r4,0x5e34
001c46c0: 3c05801c lui r5,0x801c
001c46c4: 24a55f94 addiu r5,r5,0x5f94
001c46c8: 080711b8 j 0x 001c46e0
001c46cc: 00000000 nop
001c46d0: 3c04801c lui r4,0x801c
001c46d4: 24845e34 addiu r4,r4,0x5e34
001c46d8: 3c05801c lui r5,0x801c
001c46dc: 24a55ee4 addiu r5,r5,0x5ee4
001c46e0: 0c052fd5 jal 0x0014bf54          Copy Bytes (0x14bf54)
001c46e4: 340600a8 ori r6,r0,0x00a8
001c46e8: 3c01801c lui r1,0x801c
001c46ec: a031613a sb r17,0x613a(r1)
001c46f0: 3c01801c lui r1,0x801c
001c46f4: ac3068b4 sw r16,0x68b4(r1)
001c46f8: 3c01801c lui r1,0x801c
001c46fc: ac3068c8 sw r16,0x68c8(r1)
001c4700: 3c01801c lui r1,0x801c
001c4704: ac3068dc sw r16,0x68dc(r1)
001c4708: 3c02801c lui r2,0x801c
001c470c: 8c426dec lw r2,0x6dec(r2)
001c4710: 00000000 nop
001c4714: 8c420000 lw r2,0x0000(r2)
001c4718: 00000000 nop
001c471c: 30420004 andi r2,r2,0x0004
001c4720: 10400038 beq r2,r0,0x 001c4804
001c4724: 34020007 ori r2,r0,0x0007
001c4728: 3c01801c lui r1,0x801c
001c472c: a022667c sb r2,0x667c(r1)
001c4730: 3c03801d lui r3,0x801d
001c4734: 8c63ecec lw r3,-0x1314(r3)
001c4738: 2402ffff addiu r2,r0,0xffff
001c473c: 2463ffff addiu r3,r3,0xffff
001c4740: 3c01801d lui r1,0x801d
001c4744: ac23ecec sw r3,-0x1314(r1)
001c4748: 14620003 bne r3,r2,0x 001c4758
001c474c: 34020014 ori r2,r0,0x0014
001c4750: 3c01801d lui r1,0x801d
001c4754: ac22ecec sw r2,-0x1314(r1)
001c4758: 3c02801d lui r2,0x801d
001c475c: 8c42ecec lw r2,-0x1314(r2)
001c4760: 3c01801c lui r1,0x801c
001c4764: 00220821 addu r1,r1,r2
001c4768: 902268e4 lbu r2,0x68e4(r1)
001c476c: 00000000 nop
001c4770: 1040ffef beq r2,r0,0x 001c4730
001c4774: 00000000 nop
001c4778: 3c02801d lui r2,0x801d
001c477c: 9442ecec lhu r2,-0x1314(r2)
001c4780: 00000000 nop
001c4784: a6620000 sh r2,0x0000(r19)
001c4788: a662fff6 sh r2,-0x000a(r19)
001c478c: 3c01801c lui r1,0x801c
001c4790: a42252e6 sh r2,0x52e6(r1)
001c4794: 0c070abc jal 0x 001c2af0
001c4798: 00000000 nop
001c479c: 3c02801c lui r2,0x801c
001c47a0: 84425352 lh r2,0x5352(r2)
001c47a4: 00000000 nop
001c47a8: 10400007 beq r2,r0,0x 001c47c8
001c47ac: 00000000 nop
001c47b0: 3c04801c lui r4,0x801c
001c47b4: 24845e34 addiu r4,r4,0x5e34
001c47b8: 3c05801c lui r5,0x801c
001c47bc: 24a55f94 addiu r5,r5,0x5f94
001c47c0: 080711f6 j 0x 001c47d8
001c47c4: 00000000 nop
001c47c8: 3c04801c lui r4,0x801c
001c47cc: 24845e34 addiu r4,r4,0x5e34
001c47d0: 3c05801c lui r5,0x801c
001c47d4: 24a55ee4 addiu r5,r5,0x5ee4
001c47d8: 0c052fd5 jal 0x0014bf54          Copy Bytes (0x14bf54)
001c47dc: 340600a8 ori r6,r0,0x00a8
001c47e0: 3c01801c lui r1,0x801c
001c47e4: a031613a sb r17,0x613a(r1)
001c47e8: 34020002 ori r2,r0,0x0002
001c47ec: 3c01801c lui r1,0x801c
001c47f0: ac2268b4 sw r2,0x68b4(r1)
001c47f4: 3c01801c lui r1,0x801c
001c47f8: ac3068c8 sw r16,0x68c8(r1)
001c47fc: 3c01801c lui r1,0x801c
001c4800: ac3068dc sw r16,0x68dc(r1)
001c4804: 08071173 j 0x 001c45cc
001c4808: 26520001 addiu r18,r18,0x0001
001c480c: 00009021 addu r18,r0,r0
001c4810: 00008821 addu r17,r0,r0
001c4814: 3c13801d lui r19,0x801d
001c4818: 2673ec44 addiu r19,r19,0xec44
001c481c: 02338021 addu r16,r17,r19
001c4820: 0c04b866 jal 0x0012e198          0012e190 - 0012e240
001c4824: 02002021 addu r4,r16,r0
001c4828: 02002021 addu r4,r16,r0
001c482c: 0c008f1a jal 0x00023c68          ? 0x23c68
001c4830: 00002821 addu r5,r0,r0
001c4834: 00002021 addu r4,r0,r0
001c4838: 00002821 addu r5,r0,r0
001c483c: 340603c0 ori r6,r0,0x03c0
001c4840: 0c008e63 jal 0x0002398c          ? Calculation (0x2398c)
001c4844: 34070100 ori r7,r0,0x0100
001c4848: 3c10801d lui r16,0x801d
001c484c: 2610ec94 addiu r16,r16,0xec94
001c4850: 02308021 addu r16,r17,r16
001c4854: 3c01801d lui r1,0x801d
001c4858: 00310821 addu r1,r1,r17
001c485c: a422ec5a sh r2,-0x13a6(r1)
001c4860: 34027d7c ori r2,r0,0x7d7c
001c4864: 3c01801d lui r1,0x801d
001c4868: 00310821 addu r1,r1,r17
001c486c: a422ec52 sh r2,-0x13ae(r1)
001c4870: 0c04b866 jal 0x0012e198          0012e190 - 0012e240
001c4874: 02002021 addu r4,r16,r0
001c4878: 02002021 addu r4,r16,r0
001c487c: 0c008f1a jal 0x00023c68          ? 0x23c68
001c4880: 34050001 ori r5,r0,0x0001
001c4884: 00002021 addu r4,r0,r0
001c4888: 34050002 ori r5,r0,0x0002
001c488c: 340603c0 ori r6,r0,0x03c0
001c4890: 0c008e63 jal 0x0002398c          ? Calculation (0x2398c)
001c4894: 34070100 ori r7,r0,0x0100
001c4898: 3c01801d lui r1,0x801d
001c489c: 00310821 addu r1,r1,r17
001c48a0: a422ecaa sh r2,-0x1356(r1)
001c48a4: 34027dbc ori r2,r0,0x7dbc
001c48a8: 3c01801d lui r1,0x801d
001c48ac: 00310821 addu r1,r1,r17
001c48b0: a422eca2 sh r2,-0x135e(r1)
001c48b4: 26520001 addiu r18,r18,0x0001
001c48b8: 2a420002 slti r2,r18,0x0002
001c48bc: 1440ffd5 bne r2,r0,0x 001c4814
001c48c0: 26310028 addiu r17,r17,0x0028
001c48c4: 3c02801c lui r2,0x801c
001c48c8: 24426044 addiu r2,r2,0x6044
001c48cc: 3c01801d lui r1,0x801d
001c48d0: ac22ece4 sw r2,-0x131c(r1)
001c48d4: 0c0532a0 jal 0x0014ca80          Switch To Next Thread
001c48d8: 00009021 addu r18,r0,r0
001c48dc: 341e0001 ori r30,r0,0x0001
001c48e0: 34170010 ori r23,r0,0x0010
001c48e4: 3c03801d lui r3,0x801d
001c48e8: 8c63ece4 lw r3,-0x131c(r3)
001c48ec: 00161100 sll r2,r22,0x04
001c48f0: 00431021 addu r2,r2,r3
001c48f4: 3c03801c lui r3,0x801c
001c48f8: 8c636dec lw r3,0x6dec(r3)
001c48fc: 8444000c lh r4,0x000c(r2)
001c4900: 8451000a lh r17,0x000a(r2)
001c4904: 3c01801d lui r1,0x801d
001c4908: ac22ece8 sw r2,-0x1318(r1)
001c490c: 8c650000 lw r5,0x0000(r3)
001c4910: 00000000 nop
001c4914: 30a30040 andi r3,r5,0x0040
001c4918: 10600008 beq r3,r0,0x 001c493c
001c491c: 24930008 addiu r19,r4,0x0008
001c4920: 3c02801d lui r2,0x801d
001c4924: 8c42ecf0 lw r2,-0x1310(r2)
001c4928: 00000000 nop
001c492c: 145eff22 bne r2,r30,0x 001c45b8
001c4930: 00000000 nop
001c4934: 08071257 j 0x 001c495c
001c4938: 00000000 nop
001c493c: 30a20020 andi r2,r5,0x0020
001c4940: 10400012 beq r2,r0,0x 001c498c
001c4944: 00000000 nop
001c4948: 3c02801d lui r2,0x801d
001c494c: 8c42ecf0 lw r2,-0x1310(r2)
001c4950: 00000000 nop
001c4954: 145e000b bne r2,r30,0x 001c4984
001c4958: 00000000 nop
001c495c: 3c04801d lui r4,0x801d
001c4960: 8c84ecec lw r4,-0x1314(r4)
001c4964: 3c01801d lui r1,0x801d
001c4968: ac20ecf0 sw r0,-0x1310(r1)
001c496c: 0c070f12 jal 0x 001c3c48
001c4970: 00000000 nop
001c4974: 0c070abc jal 0x 001c2af0
001c4978: 00000000 nop
001c497c: 08071263 j 0x 001c498c
001c4980: 00000000 nop
001c4984: 3c01801d lui r1,0x801d
001c4988: ac3eecf0 sw r30,-0x1310(r1)
001c498c: 3c02801d lui r2,0x801d
001c4990: 8c42ecf0 lw r2,-0x1310(r2)
001c4994: 00000000 nop
001c4998: 1040001e beq r2,r0,0x 001c4a14
001c499c: 26c2fff7 addiu r2,r22,0xfff7
001c49a0: 2c420005 sltiu r2,r2,0x0005
001c49a4: 1040001b beq r2,r0,0x 001c4a14
001c49a8: 00000000 nop
001c49ac: 3c02801c lui r2,0x801c
001c49b0: 8c426dec lw r2,0x6dec(r2)
001c49b4: 00000000 nop
001c49b8: 8c420000 lw r2,0x0000(r2)
001c49bc: 00000000 nop
001c49c0: 30420010 andi r2,r2,0x0010
001c49c4: 10400013 beq r2,r0,0x 001c4a14
001c49c8: 00000000 nop
001c49cc: 3c02801d lui r2,0x801d
001c49d0: 8c42ece8 lw r2,-0x1318(r2)
001c49d4: 00000000 nop
001c49d8: 8c420000 lw r2,0x0000(r2)
001c49dc: 00000000 nop
001c49e0: a4400000 sh r0,0x0000(r2)
001c49e4: 3c04801d lui r4,0x801d
001c49e8: 8c84ecec lw r4,-0x1314(r4)
001c49ec: 0c070f12 jal 0x 001c3c48
001c49f0: 00000000 nop
001c49f4: 0c070abc jal 0x 001c2af0
001c49f8: 00000000 nop
001c49fc: 3c01801c lui r1,0x801c
001c4a00: ac3e68b4 sw r30,0x68b4(r1)
001c4a04: 3c01801c lui r1,0x801c
001c4a08: ac3e68c8 sw r30,0x68c8(r1)
001c4a0c: 3c01801c lui r1,0x801c
001c4a10: ac3e68dc sw r30,0x68dc(r1)
001c4a14: 3c02801c lui r2,0x801c
001c4a18: 8c426dec lw r2,0x6dec(r2)
001c4a1c: 00000000 nop
001c4a20: 8c440000 lw r4,0x0000(r2)
001c4a24: 00000000 nop
001c4a28: 3082f000 andi r2,r4,0xf000
001c4a2c: 104000dd beq r2,r0,0x 001c4da4
001c4a30: 00000000 nop
001c4a34: 3c02801d lui r2,0x801d
001c4a38: 8c42ecf0 lw r2,-0x1310(r2)
001c4a3c: 00000000 nop
001c4a40: 14400013 bne r2,r0,0x 001c4a90
001c4a44: 30822000 andi r2,r4,0x2000
001c4a48: 30821000 andi r2,r4,0x1000
001c4a4c: 14400009 bne r2,r0,0x 001c4a74
001c4a50: 00001821 addu r3,r0,r0
001c4a54: 30824000 andi r2,r4,0x4000
001c4a58: 10400003 beq r2,r0,0x 001c4a68
001c4a5c: 30822000 andi r2,r4,0x2000
001c4a60: 0807129d j 0x 001c4a74
001c4a64: 34030001 ori r3,r0,0x0001
001c4a68: 10400002 beq r2,r0,0x 001c4a74
001c4a6c: 34030003 ori r3,r0,0x0003
001c4a70: 34030002 ori r3,r0,0x0002
001c4a74: 3c02801d lui r2,0x801d
001c4a78: 8c42ece8 lw r2,-0x1318(r2)
001c4a7c: 00000000 nop
001c4a80: 00431021 addu r2,r2,r3
001c4a84: 90560006 lbu r22,0x0006(r2)
001c4a88: 08071369 j 0x 001c4da4
001c4a8c: 00000000 nop
001c4a90: 14400004 bne r2,r0,0x 001c4aa4
001c4a94: 001618c0 sll r3,r22,0x03
001c4a98: 30821000 andi r2,r4,0x1000
001c4a9c: 10400060 beq r2,r0,0x 001c4c20
001c4aa0: 001620c0 sll r4,r22,0x03
001c4aa4: 3c02801d lui r2,0x801d
001c4aa8: 8c42ece8 lw r2,-0x1318(r2)
001c4aac: 3c0a801c lui r10,0x801c
001c4ab0: 254a5e34 addiu r10,r10,0x5e34
001c4ab4: 8c450000 lw r5,0x0000(r2)
001c4ab8: 006a1021 addu r2,r3,r10
001c4abc: 8c420000 lw r2,0x0000(r2)
001c4ac0: 84a40000 lh r4,0x0000(r5)
001c4ac4: 00000000 nop
001c4ac8: 0082102a slt r2,r4,r2
001c4acc: 14400009 bne r2,r0,0x 001c4af4
001c4ad0: 00000000 nop
001c4ad4: 3c0a801c lui r10,0x801c
001c4ad8: 254a5e38 addiu r10,r10,0x5e38
001c4adc: 006a1021 addu r2,r3,r10
001c4ae0: 8c420000 lw r2,0x0000(r2)
001c4ae4: 00000000 nop
001c4ae8: 0044102a slt r2,r2,r4
001c4aec: 10400008 beq r2,r0,0x 001c4b10
001c4af0: 00000000 nop
001c4af4: 3c0a801c lui r10,0x801c
001c4af8: 254a5e38 addiu r10,r10,0x5e38
001c4afc: 006a1021 addu r2,r3,r10
001c4b00: 94420000 lhu r2,0x0000(r2)
001c4b04: 00000000 nop
001c4b08: 2442ffff addiu r2,r2,0xffff
001c4b0c: a4a20000 sh r2,0x0000(r5)
001c4b10: 0c0076d6 jal 0x0001db58          Get Buttons pressed Layer?
001c4b14: 34040001 ori r4,r0,0x0001
001c4b18: 30420004 andi r2,r2,0x0004
001c4b1c: 10400002 beq r2,r0,0x 001c4b28
001c4b20: 34100001 ori r16,r0,0x0001
001c4b24: 3410000a ori r16,r0,0x000a
001c4b28: 12000098 beq r16,r0,0x 001c4d8c
001c4b2c: 00009021 addu r18,r0,r0
001c4b30: 001610c0 sll r2,r22,0x03
001c4b34: 3c0a801c lui r10,0x801c
001c4b38: 254a5e38 addiu r10,r10,0x5e38
001c4b3c: 004aa821 addu r21,r2,r10
001c4b40: 26c2fff7 addiu r2,r22,0xfff7
001c4b44: 2c540005 sltiu r20,r2,0x0005
001c4b48: 3c02801d lui r2,0x801d
001c4b4c: 8c42ece8 lw r2,-0x1318(r2)
001c4b50: 00000000 nop
001c4b54: 8c450000 lw r5,0x0000(r2)
001c4b58: 00000000 nop
001c4b5c: 84a20000 lh r2,0x0000(r5)
001c4b60: 8ea30000 lw r3,0x0000(r21)
001c4b64: 00402021 addu r4,r2,r0
001c4b68: 0043102a slt r2,r2,r3
001c4b6c: 10400026 beq r2,r0,0x 001c4c08
001c4b70: 24820001 addiu r2,r4,0x0001
001c4b74: 16c0001e bne r22,r0,0x 001c4bf0
001c4b78: a4a20000 sh r2,0x0000(r5)
001c4b7c: 3c02801d lui r2,0x801d
001c4b80: 8c42ece8 lw r2,-0x1318(r2)
001c4b84: 00000000 nop
001c4b88: 8c430000 lw r3,0x0000(r2)
001c4b8c: 00000000 nop
001c4b90: 94620000 lhu r2,0x0000(r3)
001c4b94: 00000000 nop
001c4b98: 2442ffff addiu r2,r2,0xffff
001c4b9c: a4620000 sh r2,0x0000(r3)
001c4ba0: 3c04801d lui r4,0x801d
001c4ba4: 8c84ecec lw r4,-0x1314(r4)
001c4ba8: 0c070f12 jal 0x 001c3c48
001c4bac: 00000000 nop
001c4bb0: 3c04801d lui r4,0x801d
001c4bb4: 8c84ecec lw r4,-0x1314(r4)
001c4bb8: 0c0602bf jal 0x00180afc          Get Unit's Data Pointer
001c4bbc: 00000000 nop
001c4bc0: 00402021 addu r4,r2,r0
001c4bc4: 0c017684 jal 0x0005da10          Level Up Section
001c4bc8: 00002821 addu r5,r0,r0
001c4bcc: 3c02801d lui r2,0x801d
001c4bd0: 8c42ece8 lw r2,-0x1318(r2)
001c4bd4: 00000000 nop
001c4bd8: 8c430000 lw r3,0x0000(r2)
001c4bdc: 00000000 nop
001c4be0: 94620000 lhu r2,0x0000(r3)
001c4be4: 00000000 nop
001c4be8: 24420001 addiu r2,r2,0x0001
001c4bec: a4620000 sh r2,0x0000(r3)
001c4bf0: 3c04801d lui r4,0x801d
001c4bf4: 8c84ecec lw r4,-0x1314(r4)
001c4bf8: 0c070f12 jal 0x 001c3c48
001c4bfc: 00000000 nop
001c4c00: 0c070abc jal 0x 001c2af0
001c4c04: 00000000 nop
001c4c08: 26520001 addiu r18,r18,0x0001
001c4c0c: 0250102a slt r2,r18,r16
001c4c10: 1040005e beq r2,r0,0x 001c4d8c
001c4c14: 00000000 nop
001c4c18: 080712d2 j 0x 001c4b48
001c4c1c: 00000000 nop
001c4c20: 3c0a801c lui r10,0x801c
001c4c24: 254a5e34 addiu r10,r10,0x5e34
001c4c28: 3c02801d lui r2,0x801d
001c4c2c: 8c42ece8 lw r2,-0x1318(r2)
001c4c30: 008a2821 addu r5,r4,r10
001c4c34: 8c460000 lw r6,0x0000(r2)
001c4c38: 8ca20000 lw r2,0x0000(r5)
001c4c3c: 84c30000 lh r3,0x0000(r6)
001c4c40: 00000000 nop
001c4c44: 0062102a slt r2,r3,r2
001c4c48: 14400009 bne r2,r0,0x 001c4c70
001c4c4c: 00000000 nop
001c4c50: 3c0a801c lui r10,0x801c
001c4c54: 254a5e38 addiu r10,r10,0x5e38
001c4c58: 008a1021 addu r2,r4,r10
001c4c5c: 8c420000 lw r2,0x0000(r2)
001c4c60: 00000000 nop
001c4c64: 0043102a slt r2,r2,r3
001c4c68: 10400005 beq r2,r0,0x 001c4c80
001c4c6c: 00000000 nop
001c4c70: 94a20000 lhu r2,0x0000(r5)
001c4c74: 00000000 nop
001c4c78: 24420001 addiu r2,r2,0x0001
001c4c7c: a4c20000 sh r2,0x0000(r6)
001c4c80: 0c0076d6 jal 0x0001db58          Get Buttons pressed Layer?
001c4c84: 34040001 ori r4,r0,0x0001
001c4c88: 30420004 andi r2,r2,0x0004
001c4c8c: 10400002 beq r2,r0,0x 001c4c98
001c4c90: 34100001 ori r16,r0,0x0001
001c4c94: 3410000a ori r16,r0,0x000a
001c4c98: 1200003c beq r16,r0,0x 001c4d8c
001c4c9c: 00009021 addu r18,r0,r0
001c4ca0: 001610c0 sll r2,r22,0x03
001c4ca4: 3c0a801c lui r10,0x801c
001c4ca8: 254a5e34 addiu r10,r10,0x5e34
001c4cac: 004aa821 addu r21,r2,r10
001c4cb0: 26c2fff7 addiu r2,r22,0xfff7
001c4cb4: 2c540005 sltiu r20,r2,0x0005
001c4cb8: 3c02801d lui r2,0x801d
001c4cbc: 8c42ece8 lw r2,-0x1318(r2)
001c4cc0: 00000000 nop
001c4cc4: 8c450000 lw r5,0x0000(r2)
001c4cc8: 00000000 nop
001c4ccc: 84a30000 lh r3,0x0000(r5)
001c4cd0: 8ea20000 lw r2,0x0000(r21)
001c4cd4: 00000000 nop
001c4cd8: 0043102a slt r2,r2,r3
001c4cdc: 10400027 beq r2,r0,0x 001c4d7c
001c4ce0: 00602021 addu r4,r3,r0
001c4ce4: 2482ffff addiu r2,r4,0xffff
001c4ce8: 16c0001e bne r22,r0,0x 001c4d64
001c4cec: a4a20000 sh r2,0x0000(r5)
001c4cf0: 3c02801d lui r2,0x801d
001c4cf4: 8c42ece8 lw r2,-0x1318(r2)
001c4cf8: 00000000 nop
001c4cfc: 8c430000 lw r3,0x0000(r2)
001c4d00: 00000000 nop
001c4d04: 94620000 lhu r2,0x0000(r3)
001c4d08: 00000000 nop
001c4d0c: 24420001 addiu r2,r2,0x0001
001c4d10: a4620000 sh r2,0x0000(r3)
001c4d14: 3c04801d lui r4,0x801d
001c4d18: 8c84ecec lw r4,-0x1314(r4)
001c4d1c: 0c070f12 jal 0x 001c3c48
001c4d20: 00000000 nop
001c4d24: 3c04801d lui r4,0x801d
001c4d28: 8c84ecec lw r4,-0x1314(r4)
001c4d2c: 0c0602bf jal 0x00180afc          Get Unit's Data Pointer
001c4d30: 00000000 nop
001c4d34: 00402021 addu r4,r2,r0
001c4d38: 0c017684 jal 0x0005da10          Level Up Section
001c4d3c: 34050001 ori r5,r0,0x0001
001c4d40: 3c02801d lui r2,0x801d
001c4d44: 8c42ece8 lw r2,-0x1318(r2)
001c4d48: 00000000 nop
001c4d4c: 8c430000 lw r3,0x0000(r2)
001c4d50: 00000000 nop
001c4d54: 94620000 lhu r2,0x0000(r3)
001c4d58: 00000000 nop
001c4d5c: 2442ffff addiu r2,r2,0xffff
001c4d60: a4620000 sh r2,0x0000(r3)
001c4d64: 3c04801d lui r4,0x801d
001c4d68: 8c84ecec lw r4,-0x1314(r4)
001c4d6c: 0c070f12 jal 0x 001c3c48
001c4d70: 00000000 nop
001c4d74: 0c070abc jal 0x 001c2af0
001c4d78: 00000000 nop
001c4d7c: 26520001 addiu r18,r18,0x0001
001c4d80: 0250102a slt r2,r18,r16
001c4d84: 1440ffcc bne r2,r0,0x 001c4cb8
001c4d88: 00000000 nop
001c4d8c: 3c01801c lui r1,0x801c
001c4d90: ac3e68b4 sw r30,0x68b4(r1)
001c4d94: 3c01801c lui r1,0x801c
001c4d98: ac3e68c8 sw r30,0x68c8(r1)
001c4d9c: 3c01801c lui r1,0x801c
001c4da0: ac3e68dc sw r30,0x68dc(r1)
001c4da4: 3c02801d lui r2,0x801d
001c4da8: 8c42ece8 lw r2,-0x1318(r2)
001c4dac: 00000000 nop
001c4db0: 8442000e lh r2,0x000e(r2)
001c4db4: 00000000 nop
001c4db8: 10400088 beq r2,r0,0x 001c4fdc
001c4dbc: 32490001 andi r9,r18,0x0001
001c4dc0: 340800a8 ori r8,r0,0x00a8
001c4dc4: 00091080 sll r2,r9,0x02
001c4dc8: 00491021 addu r2,r2,r9
001c4dcc: 000238c0 sll r7,r2,0x03
001c4dd0: 3c01801d lui r1,0x801d
001c4dd4: 00270821 addu r1,r1,r7
001c4dd8: a028ec50 sb r8,-0x13b0(r1)
001c4ddc: 3c01801d lui r1,0x801d
001c4de0: 00270821 addu r1,r1,r7
001c4de4: a028ec58 sb r8,-0x13a8(r1)
001c4de8: 340800b8 ori r8,r0,0x00b8
001c4dec: 340a00b8 ori r10,r0,0x00b8
001c4df0: 3c01801d lui r1,0x801d
001c4df4: 00270821 addu r1,r1,r7
001c4df8: a02aec60 sb r10,-0x13a0(r1)
001c4dfc: 340200c8 ori r2,r0,0x00c8
001c4e00: 3c01801d lui r1,0x801d
001c4e04: 00270821 addu r1,r1,r7
001c4e08: a02aec68 sb r10,-0x1398(r1)
001c4e0c: 3c01801d lui r1,0x801d
001c4e10: 00270821 addu r1,r1,r7
001c4e14: a020ec51 sb r0,-0x13af(r1)
001c4e18: 3c01801d lui r1,0x801d
001c4e1c: 00270821 addu r1,r1,r7
001c4e20: a037ec59 sb r23,-0x13a7(r1)
001c4e24: 3c01801d lui r1,0x801d
001c4e28: 00270821 addu r1,r1,r7
001c4e2c: a020ec61 sb r0,-0x139f(r1)
001c4e30: 3c01801d lui r1,0x801d
001c4e34: 00270821 addu r1,r1,r7
001c4e38: a037ec69 sb r23,-0x1397(r1)
001c4e3c: 3c01801d lui r1,0x801d
001c4e40: 00270821 addu r1,r1,r7
001c4e44: a028eca0 sb r8,-0x1360(r1)
001c4e48: 3c01801d lui r1,0x801d
001c4e4c: 00270821 addu r1,r1,r7
001c4e50: a028eca8 sb r8,-0x1358(r1)
001c4e54: 3c01801d lui r1,0x801d
001c4e58: 00270821 addu r1,r1,r7
001c4e5c: a022ecb0 sb r2,-0x1350(r1)
001c4e60: 3c01801d lui r1,0x801d
001c4e64: 00270821 addu r1,r1,r7
001c4e68: a022ecb8 sb r2,-0x1348(r1)
001c4e6c: 3c01801d lui r1,0x801d
001c4e70: 00270821 addu r1,r1,r7
001c4e74: a020eca1 sb r0,-0x135f(r1)
001c4e78: 3c01801d lui r1,0x801d
001c4e7c: 00270821 addu r1,r1,r7
001c4e80: a037eca9 sb r23,-0x1357(r1)
001c4e84: 3c01801d lui r1,0x801d
001c4e88: 00270821 addu r1,r1,r7
001c4e8c: a020ecb1 sb r0,-0x134f(r1)
001c4e90: 3c01801d lui r1,0x801d
001c4e94: 00270821 addu r1,r1,r7
001c4e98: a037ecb9 sb r23,-0x1347(r1)
001c4e9c: 3c02801d lui r2,0x801d
001c4ea0: 8c42ecf0 lw r2,-0x1310(r2)
001c4ea4: 00000000 nop
001c4ea8: 1440002b bne r2,r0,0x 001c4f58
001c4eac: 26240010 addiu r4,r17,0x0010
001c4eb0: 3c028016 lui r2,0x8016
001c4eb4: 8c425f88 lw r2,0x5f88(r2)
001c4eb8: 00000000 nop
001c4ebc: 02420018 mult r18,r2
001c4ec0: 3c0a801d lui r10,0x801d
001c4ec4: 254aec44 addiu r10,r10,0xec44
001c4ec8: 00ea2021 addu r4,r7,r10
001c4ecc: 26260002 addiu r6,r17,0x0002
001c4ed0: 26250012 addiu r5,r17,0x0012
001c4ed4: a4910008 sh r17,0x0008(r4)
001c4ed8: a4910018 sh r17,0x0018(r4)
001c4edc: 26220010 addiu r2,r17,0x0010
001c4ee0: a4820010 sh r2,0x0010(r4)
001c4ee4: a4820020 sh r2,0x0020(r4)
001c4ee8: 00001812 mflo r3
001c4eec: 00031903 sra r3,r3,0x04
001c4ef0: 30630003 andi r3,r3,0x0003
001c4ef4: 02631823 subu r3,r19,r3
001c4ef8: 24620010 addiu r2,r3,0x0010
001c4efc: a482001a sh r2,0x001a(r4)
001c4f00: a4820022 sh r2,0x0022(r4)
001c4f04: 3c02801d lui r2,0x801d
001c4f08: 2442ec94 addiu r2,r2,0xec94
001c4f0c: 00e21021 addu r2,r7,r2
001c4f10: a483000a sh r3,0x000a(r4)
001c4f14: a4830012 sh r3,0x0012(r4)
001c4f18: 24640002 addiu r4,r3,0x0002
001c4f1c: 24630012 addiu r3,r3,0x0012
001c4f20: a4460008 sh r6,0x0008(r2)
001c4f24: a444000a sh r4,0x000a(r2)
001c4f28: a4450010 sh r5,0x0010(r2)
001c4f2c: a4440012 sh r4,0x0012(r2)
001c4f30: a4460018 sh r6,0x0018(r2)
001c4f34: a443001a sh r3,0x001a(r2)
001c4f38: a4450020 sh r5,0x0020(r2)
001c4f3c: a4430022 sh r3,0x0022(r2)
001c4f40: 34027d7c ori r2,r0,0x7d7c
001c4f44: 3c01801d lui r1,0x801d
001c4f48: 00270821 addu r1,r1,r7
001c4f4c: a422ec52 sh r2,-0x13ae(r1)
001c4f50: 08071476 j 0x 001c51d8
001c4f54: 00098080 sll r16,r9,0x02
001c4f58: 3c0a801d lui r10,0x801d
001c4f5c: 254aec44 addiu r10,r10,0xec44
001c4f60: 00ea1021 addu r2,r7,r10
001c4f64: 26630010 addiu r3,r19,0x0010
001c4f68: a4510008 sh r17,0x0008(r2)
001c4f6c: a453000a sh r19,0x000a(r2)
001c4f70: a4440010 sh r4,0x0010(r2)
001c4f74: a4530012 sh r19,0x0012(r2)
001c4f78: a4510018 sh r17,0x0018(r2)
001c4f7c: a443001a sh r3,0x001a(r2)
001c4f80: a4440020 sh r4,0x0020(r2)
001c4f84: a4430022 sh r3,0x0022(r2)
001c4f88: 3c02801d lui r2,0x801d
001c4f8c: 2442ec94 addiu r2,r2,0xec94
001c4f90: 00e21021 addu r2,r7,r2
001c4f94: 26250002 addiu r5,r17,0x0002
001c4f98: 26630002 addiu r3,r19,0x0002
001c4f9c: 26240012 addiu r4,r17,0x0012
001c4fa0: a443000a sh r3,0x000a(r2)
001c4fa4: a4430012 sh r3,0x0012(r2)
001c4fa8: 26630012 addiu r3,r19,0x0012
001c4fac: a4450008 sh r5,0x0008(r2)
001c4fb0: a4440010 sh r4,0x0010(r2)
001c4fb4: a4450018 sh r5,0x0018(r2)
001c4fb8: a443001a sh r3,0x001a(r2)
001c4fbc: a4440020 sh r4,0x0020(r2)
001c4fc0: a4430022 sh r3,0x0022(r2)
001c4fc4: 34027e7c ori r2,r0,0x7e7c
001c4fc8: 3c01801d lui r1,0x801d
001c4fcc: 00270821 addu r1,r1,r7
001c4fd0: a422ec52 sh r2,-0x13ae(r1)
001c4fd4: 08071476 j 0x 001c51d8
001c4fd8: 00098080 sll r16,r9,0x02
001c4fdc: 3c02801d lui r2,0x801d
001c4fe0: 8c42ecf0 lw r2,-0x1310(r2)
001c4fe4: 00000000 nop
001c4fe8: 14400043 bne r2,r0,0x 001c50f8
001c4fec: 340800a8 ori r8,r0,0x00a8
001c4ff0: 00093880 sll r7,r9,0x02
001c4ff4: 00e93821 addu r7,r7,r9
001c4ff8: 000738c0 sll r7,r7,0x03
001c4ffc: 3c0a801d lui r10,0x801d
001c5000: 254aec44 addiu r10,r10,0xec44
001c5004: 00ea2821 addu r5,r7,r10
001c5008: a0a8000c sb r8,0x000c(r5)
001c500c: 340800b8 ori r8,r0,0x00b8
001c5010: 340a00b8 ori r10,r0,0x00b8
001c5014: 340200a8 ori r2,r0,0x00a8
001c5018: a0aa0014 sb r10,0x0014(r5)
001c501c: 3c04801d lui r4,0x801d
001c5020: 2484ec94 addiu r4,r4,0xec94
001c5024: 00e42021 addu r4,r7,r4
001c5028: a0a2001c sb r2,0x001c(r5)
001c502c: 340200c8 ori r2,r0,0x00c8
001c5030: a0a0000d sb r0,0x000d(r5)
001c5034: a0a00015 sb r0,0x0015(r5)
001c5038: a0b7001d sb r23,0x001d(r5)
001c503c: a0aa0024 sb r10,0x0024(r5)
001c5040: a0b70025 sb r23,0x0025(r5)
001c5044: a088000c sb r8,0x000c(r4)
001c5048: a080000d sb r0,0x000d(r4)
001c504c: a0820014 sb r2,0x0014(r4)
001c5050: a0800015 sb r0,0x0015(r4)
001c5054: a08a001c sb r10,0x001c(r4)
001c5058: a097001d sb r23,0x001d(r4)
001c505c: a0820024 sb r2,0x0024(r4)
001c5060: a0970025 sb r23,0x0025(r4)
001c5064: 3c028016 lui r2,0x8016
001c5068: 8c425f88 lw r2,0x5f88(r2)
001c506c: 00000000 nop
001c5070: 02420018 mult r18,r2
001c5074: a4b3000a sh r19,0x000a(r5)
001c5078: a4b30012 sh r19,0x0012(r5)
001c507c: 26620010 addiu r2,r19,0x0010
001c5080: a4a2001a sh r2,0x001a(r5)
001c5084: a4a20022 sh r2,0x0022(r5)
001c5088: 00001012 mflo r2
001c508c: 00021103 sra r2,r2,0x04
001c5090: 30420003 andi r2,r2,0x0003
001c5094: 02221823 subu r3,r17,r2
001c5098: 24660010 addiu r6,r3,0x0010
001c509c: 2442fffe addiu r2,r2,0xfffe
001c50a0: 02221023 subu r2,r17,r2
001c50a4: a4a30008 sh r3,0x0008(r5)
001c50a8: a4a30018 sh r3,0x0018(r5)
001c50ac: 26630002 addiu r3,r19,0x0002
001c50b0: a4a60010 sh r6,0x0010(r5)
001c50b4: a4a60020 sh r6,0x0020(r5)
001c50b8: 24450010 addiu r5,r2,0x0010
001c50bc: a4820008 sh r2,0x0008(r4)
001c50c0: a4820018 sh r2,0x0018(r4)
001c50c4: 26620012 addiu r2,r19,0x0012
001c50c8: a482001a sh r2,0x001a(r4)
001c50cc: a4820022 sh r2,0x0022(r4)
001c50d0: 34027d7c ori r2,r0,0x7d7c
001c50d4: a483000a sh r3,0x000a(r4)
001c50d8: a4850010 sh r5,0x0010(r4)
001c50dc: a4830012 sh r3,0x0012(r4)
001c50e0: a4850020 sh r5,0x0020(r4)
001c50e4: 3c01801d lui r1,0x801d
001c50e8: 00270821 addu r1,r1,r7
001c50ec: a422ec52 sh r2,-0x13ae(r1)
001c50f0: 08071476 j 0x 001c51d8
001c50f4: 00098080 sll r16,r9,0x02
001c50f8: 00093080 sll r6,r9,0x02
001c50fc: 00c93021 addu r6,r6,r9
001c5100: 000630c0 sll r6,r6,0x03
001c5104: 3c0a801d lui r10,0x801d
001c5108: 254aec44 addiu r10,r10,0xec44
001c510c: 00ca1821 addu r3,r6,r10
001c5110: a068000c sb r8,0x000c(r3)
001c5114: 340800b8 ori r8,r0,0x00b8
001c5118: 340a00b8 ori r10,r0,0x00b8
001c511c: 340200a8 ori r2,r0,0x00a8
001c5120: a06a0014 sb r10,0x0014(r3)
001c5124: a062001c sb r2,0x001c(r3)
001c5128: 3c02801d lui r2,0x801d
001c512c: 2442ec94 addiu r2,r2,0xec94
001c5130: 00c21021 addu r2,r6,r2
001c5134: 340400c8 ori r4,r0,0x00c8
001c5138: a060000d sb r0,0x000d(r3)
001c513c: a0600015 sb r0,0x0015(r3)
001c5140: a077001d sb r23,0x001d(r3)
001c5144: a06a0024 sb r10,0x0024(r3)
001c5148: a0770025 sb r23,0x0025(r3)
001c514c: 26250010 addiu r5,r17,0x0010
001c5150: a0440014 sb r4,0x0014(r2)
001c5154: a0440024 sb r4,0x0024(r2)
001c5158: 26640010 addiu r4,r19,0x0010
001c515c: a048000c sb r8,0x000c(r2)
001c5160: a040000d sb r0,0x000d(r2)
001c5164: a0400015 sb r0,0x0015(r2)
001c5168: a04a001c sb r10,0x001c(r2)
001c516c: a057001d sb r23,0x001d(r2)
001c5170: a0570025 sb r23,0x0025(r2)
001c5174: a4650010 sh r5,0x0010(r3)
001c5178: a4650020 sh r5,0x0020(r3)
001c517c: 26250002 addiu r5,r17,0x0002
001c5180: a4710008 sh r17,0x0008(r3)
001c5184: a473000a sh r19,0x000a(r3)
001c5188: a4730012 sh r19,0x0012(r3)
001c518c: a4710018 sh r17,0x0018(r3)
001c5190: a464001a sh r4,0x001a(r3)
001c5194: a4640022 sh r4,0x0022(r3)
001c5198: 26630002 addiu r3,r19,0x0002
001c519c: 26240012 addiu r4,r17,0x0012
001c51a0: a443000a sh r3,0x000a(r2)
001c51a4: a4430012 sh r3,0x0012(r2)
001c51a8: 26630012 addiu r3,r19,0x0012
001c51ac: a4450008 sh r5,0x0008(r2)
001c51b0: a4440010 sh r4,0x0010(r2)
001c51b4: a4450018 sh r5,0x0018(r2)
001c51b8: a443001a sh r3,0x001a(r2)
001c51bc: a4440020 sh r4,0x0020(r2)
001c51c0: a4430022 sh r3,0x0022(r2)
001c51c4: 34027e7c ori r2,r0,0x7e7c
001c51c8: 3c01801d lui r1,0x801d
001c51cc: 00260821 addu r1,r1,r6
001c51d0: a422ec52 sh r2,-0x13ae(r1)
001c51d4: 00098080 sll r16,r9,0x02
001c51d8: 02098021 addu r16,r16,r9
001c51dc: 001080c0 sll r16,r16,0x03
001c51e0: 3c0a801d lui r10,0x801d
001c51e4: 254aec44 addiu r10,r10,0xec44
001c51e8: 0c05297a jal 0x0014a5e8          Image Loading Setup (0x14a5e8)
001c51ec: 020a2021 addu r4,r16,r10
001c51f0: 3c04801d lui r4,0x801d
001c51f4: 2484ec94 addiu r4,r4,0xec94
001c51f8: 0c05297a jal 0x0014a5e8          Image Loading Setup (0x14a5e8)
001c51fc: 02042021 addu r4,r16,r4
001c5200: 0c053216 jal 0x0014c858          Wait
001c5204: 34040001 ori r4,r0,0x0001
001c5208: 08071239 j 0x 001c48e4
001c520c: 26520001 addiu r18,r18,0x0001
001c5210: 8fbf005c lw r31,0x005c(r29)
001c5214: 8fbe0058 lw r30,0x0058(r29)
001c5218: 8fb70054 lw r23,0x0054(r29)
001c521c: 8fb60050 lw r22,0x0050(r29)
001c5220: 8fb5004c lw r21,0x004c(r29)
001c5224: 8fb40048 lw r20,0x0048(r29)
001c5228: 8fb30044 lw r19,0x0044(r29)
001c522c: 8fb20040 lw r18,0x0040(r29)
001c5230: 8fb1003c lw r17,0x003c(r29)
001c5234: 8fb00038 lw r16,0x0038(r29)
001c5238: 27bd0060 addiu r29,r29,0x0060
001c523c: 03e00008 jr r31
001c5240: 00000000 nop