001352bc - 00136124

From Final Fantasy Hacktics Wiki
Revision as of 04:11, 20 December 2024 by Nyzer (talk | contribs)
Jump to navigation Jump to search

Called when hovering a unit to display it's portrait and stats
001352bc: 27bdfee8 addiu r29,r29,0xfee8
001352c0: afbf0114 sw r31,0x0114(r29)
001352c4: afbe0110 sw r30,0x0110(r29)
001352c8: afb7010c sw r23,0x010c(r29)
001352cc: afb60108 sw r22,0x0108(r29)
001352d0: afb50104 sw r21,0x0104(r29)
001352d4: afb40100 sw r20,0x0100(r29)
001352d8: afb300fc sw r19,0x00fc(r29)
001352dc: afb200f8 sw r18,0x00f8(r29)
001352e0: afb100f4 sw r17,0x00f4(r29)
001352e4: afb000f0 sw r16,0x00f0(r29)
001352e8: afa50080 sw r5,0x0080(r29)
001352ec: afa60088 sw r6,0x0088(r29)
001352f0: afa70090 sw r7,0x0090(r29)
001352f4: 84e9000a lh r9,0x000a(r7)
001352f8: 0080f021 addu r30,r4,r0
001352fc: afa900b8 sw r9,0x00b8(r29)
00135300: 8fa400b8 lw r4,0x00b8(r29)
00135304: 34080016 ori r8,r0,0x0016
00135308: 0c0602bf jal 0x00180afc           // if noped all units are flagged as guest on battle left vignette
0013530c: afa800c8 sw r8,0x00c8(r29)
00135310: afa200d8 sw r2,0x00d8(r29)
00135314: 90420006 lbu r2,0x0006(r2)
00135318: 34090084 ori r9,r0,0x0084
0013531c: afa900c0 sw r9,0x00c0(r29)
00135320: 30420004 andi r2,r2,0x0004
00135324: 3c018016 lui r1,0x8016
00135328: ac226044 sw r2,0x6044(r1)
0013532c: 0c04bdac jal 0x0012f6b0         # 0012f6b0 - 0012f6d0
00135330: 00000000 nop
00135334: 34030011 ori r3,r0,0x0011
00135338: 14430007 bne r2,r3,0x00135358
0013533c: 00000000 nop
00135340: 3c028016 lui r2,0x8016
00135344: 94427972 lhu r2,0x7972(r2)
00135348: 00000000 nop
0013534c: 24420001 addiu r2,r2,0x0001j
00135350: 3c018016 lui r1,0x8016
00135354: a4227972 sh r2,0x7972(r1)
00135358: 8fa80080 lw r8,0x0080(r29)
0013535c: 34020002 ori r2,r0,0x0002
00135360: 15020050 bne r8,r2,0x001354a4
00135364: 03c02021 addu r4,r30,r0
00135368: 8fa900d8 lw r9,0x00d8(r29)
0013536c: 00000000 nop
00135370: 95290014 lhu r9,0x0014(r9)
00135374: 00000000 nop
00135378: 29220200 slti r2,r9,0x0200
0013537c: 14400002 bne r2,r0,0x00135388
00135380: afa900d0 sw r9,0x00d0(r29)
00135384: afa000d0 sw r0,0x00d0(r29)
00135388: 8fa800d0 lw r8,0x00d0(r29)
0013538c: 00000000 nop
00135390: 11000044 beq r8,r0,0x001354a4
00135394: 03c02021 addu r4,r30,r0
00135398: 0c04ca09 jal 0x00132824			Prep for loading text (aaaaand I'm done. not what I'm after.)
0013539c: 25047000 addiu r4,r8,0x7000
001353a0: 27a40078 addiu r4,r29,0x0078
001353a4: afa200a0 sw r2,0x00a0(r29)
001353a8: 8fa600a0 lw r6,0x00a0(r29)			load ? from stack as input
001353ac: 3c028013 lui r2,0x8013
001353b0: 2442018c addiu r2,r2,0x018c			thread = 0x8013018c
001353b4: 3c018017 lui r1,0x8017
001353b8: ac223ca8 sw r2,0x3ca8(r1)			store thread
001353bc: 0c0533ad jal 0x0014ceb4                      Call Inner Subroutine
001353c0: 27a5007a addiu r5,r29,0x007a			r5 = stack + 0x7a as input
001353c4: 97a30078 lhu r3,0x0078(r29)
001353c8: 00000000 nop
001353cc: 30620003 andi r2,r3,0x0003
001353d0: 10400003 beq r2,r0,0x001353e0
001353d4: 3062fffc andi r2,r3,0xfffc
001353d8: 24420004 addiu r2,r2,0x0004
001353dc: a7a20078 sh r2,0x0078(r29)
001353e0: 97a20078 lhu r2,0x0078(r29)
001353e4: 3403004c ori r3,r0,0x004c
001353e8: 00621823 subu r3,r3,r2
001353ec: a7a30078 sh r3,0x0078(r29)
001353f0: 97a20078 lhu r2,0x0078(r29)
001353f4: 00000000 nop
001353f8: 2c420101 sltiu r2,r2,0x0101
001353fc: 14400002 bne r2,r0,0x00135408
00135400: 0000b821 addu r23,r0,r0
00135404: a7a00078 sh r0,0x0078(r29)
00135408: 00002021 addu r4,r0,r0
0013540c: 97a20078 lhu r2,0x0078(r29)
00135410: 3c038017 lui r3,0x8017
00135414: 94638510 lhu r3,-0x7af0(r3)
00135418: 00402821 addu r5,r2,r0
0013541c: 3c028017 lui r2,0x8017
00135420: 94428504 lhu r2,-0x7afc(r2)
00135424: 00651821 addu r3,r3,r5
00135428: 3c018017 lui r1,0x8017
0013542c: a42384ec sh r3,-0x7b14(r1)
00135430: 00451021 addu r2,r2,r5
00135434: 3c018017 lui r1,0x8017
00135438: a42284e0 sh r2,-0x7b20(r1)
0013543c: 26f70001 addiu r23,r23,0x0001
00135440: 3c018017 lui r1,0x8017
00135444: 00240821 addu r1,r1,r4
00135448: 942283f0 lhu r2,-0x7c10(r1)
0013544c: 3c018017 lui r1,0x8017
00135450: 00240821 addu r1,r1,r4
00135454: 942383ec lhu r3,-0x7c14(r1)
00135458: 00451021 addu r2,r2,r5
0013545c: 00651823 subu r3,r3,r5
00135460: 3c018017 lui r1,0x8017
00135464: 00240821 addu r1,r1,r4
00135468: a42283b4 sh r2,-0x7c4c(r1)
0013546c: 3c018017 lui r1,0x8017
00135470: 00240821 addu r1,r1,r4
00135474: a42383b0 sh r3,-0x7c50(r1)
00135478: 2ae20003 slti r2,r23,0x0003
0013547c: 1440ffef bne r2,r0,0x0013543c
00135480: 2484000c addiu r4,r4,0x000c
00135484: 3c028017 lui r2,0x8017
00135488: 94428414 lhu r2,-0x7bec(r2)
0013548c: 97a30078 lhu r3,0x0078(r29)
00135490: 00000000 nop
00135494: 00431021 addu r2,r2,r3
00135498: 3c018017 lui r1,0x8017
0013549c: a42283d8 sh r2,-0x7c28(r1)
001354a0: 03c02021 addu r4,r30,r0
001354a4: 8fa90080 lw r9,0x0080(r29)
001354a8: 0000b821 addu r23,r0,r0
001354ac: 3c018017 lui r1,0x8017
001354b0: 00290821 addu r1,r1,r9
001354b4: 90228868 lbu r2,-0x7798(r1)
001354b8: 34100170 ori r16,r0,0x0170
001354bc: 00021840 sll r3,r2,0x01
001354c0: 00621821 addu r3,r3,r2
001354c4: 00031900 sll r3,r3,0x04
001354c8: 00621823 subu r3,r3,r2
001354cc: 00031880 sll r3,r3,0x02
001354d0: 00621823 subu r3,r3,r2
001354d4: 00031880 sll r3,r3,0x02
001354d8: 3c028017 lui r2,0x8017
001354dc: 2442225c addiu r2,r2,0x225c
001354e0: 0062a021 addu r20,r3,r2
001354e4: 0c04bc43 jal 0x0012f10c                   0012f10c - 0012f35c
001354e8: 26850084 addiu r5,r20,0x0084
001354ec: 2684006c addiu r4,r20,0x006c
001354f0: 0c0529b9 jal 0x0014a6e4                   0014a6e4 - 0014a7a4 Display related?   
001354f4: 34050001 ori r5,r0,0x0001
001354f8: 26840078 addiu r4,r20,0x0078
001354fc: 0c0529b9 jal 0x0014a6e4                   0014a6e4 - 0014a7a4 Display related?
00135500: 00002821 addu r5,r0,r0
00135504: 26840238 addiu r4,r20,0x0238
00135508: 34050007 ori r5,r0,0x0007
0013550c: 0c04b8ae jal 0x0012e2b8                   0012e2b8 - 0012e31c
00135510: 34067cbc ori r6,r0,0x7cbc
00135514: 0c04b866 jal 0x0012e198                   0012e198 - 0012e240
00135518: 02902021 addu r4,r20,r16
0013551c: 26f70001 addiu r23,r23,0x0001
00135520: 2ae20005 slti r2,r23,0x0005
00135524: 1440fffb bne r2,r0,0x00135514
00135528: 26100028 addiu r16,r16,0x0028
0013552c: 0c04b866 jal 0x0012e198                   0012e198 - 0012e240
00135530: 268402c4 addiu r4,r20,0x02c4
00135534: 27a40018 addiu r4,r29,0x0018
00135538: 34050028 ori r5,r0,0x0028
0013553c: 34060028 ori r6,r0,0x0028
00135540: 26870170 addiu r7,r20,0x0170
00135544: 34100002 ori r16,r0,0x0002
00135548: 0c04d0f8 jal 0x001343e0                   001343e0 - 0013442c
0013554c: afb00010 sw r16,0x0010(r29)
00135550: 27a40020 addiu r4,r29,0x0020
00135554: 34050060 ori r5,r0,0x0060
00135558: 34060010 ori r6,r0,0x0010
0013555c: 26870198 addiu r7,r20,0x0198
00135560: 0c04d0f8 jal 0x001343e0                   001343e0 - 0013442c
00135564: afb00010 sw r16,0x0010(r29)
00135568: 8fa80080 lw r8,0x0080(r29)
0013556c: 00000000 nop
00135570: 00081080 sll r2,r8,0x02
00135574: 3c018017 lui r1,0x8017
00135578: 00220821 addu r1,r1,r2
0013557c: 8c318848 lw r17,-0x77b8(r1)
00135580: 34020001 ori r2,r0,0x0001
00135584: 15020023 bne r8,r2,0x00135614
00135588: 26840210 addiu r4,r20,0x0210
0013558c: 3c058016 lui r5,0x8016
00135590: 24a55ea4 addiu r5,r5,0x5ea4
00135594: 03c03021 addu r6,r30,r0
00135598: 0c052a0d jal 0x0014a834                   Image loading setup (0x14a834)
0013559c: 26270030 addiu r7,r17,0x0030
001355a0: 0000b821 addu r23,r0,r0
001355a4: 34137cbc ori r19,r0,0x7cbc
001355a8: 02809021 addu r18,r20,r0
001355ac: 34100170 ori r16,r0,0x0170
001355b0: 02902021 addu r4,r20,r16
001355b4: 3c058016 lui r5,0x8016
001355b8: 24a55ea4 addiu r5,r5,0x5ea4
001355bc: 03c03021 addu r6,r30,r0
001355c0: 0c052a0d jal 0x0014a834                   Image loading setup (0x14a834)
001355c4: 02203821 addu r7,r17,r0
001355c8: a653017e sh r19,0x017e(r18)
001355cc: 26520028 addiu r18,r18,0x0028
001355d0: 26100028 addiu r16,r16,0x0028
001355d4: 26f70001 addiu r23,r23,0x0001
001355d8: 2ae20002 slti r2,r23,0x0002
001355dc: 1440fff4 bne r2,r0,0x001355b0
001355e0: 2631000c addiu r17,r17,0x000c
001355e4: 00172080 sll r4,r23,0x02
001355e8: 00972021 addu r4,r4,r23
001355ec: 000420c0 sll r4,r4,0x03
001355f0: 24840170 addiu r4,r4,0x0170
001355f4: 02842021 addu r4,r20,r4
001355f8: 3c058016 lui r5,0x8016
001355fc: 24a55ea4 addiu r5,r5,0x5ea4
00135600: 03c03021 addu r6,r30,r0
00135604: 0c04d29d jal 0x00134a74                 Display Projected Action Effect
00135608: 02203821 addu r7,r17,r0
0013560c: 0804d5b1 j 0x001356c4                    
00135610: 268402ec addiu r4,r20,0x02ec
00135614: 8fa90080 lw r9,0x0080(r29)
00135618: 00000000 nop
0013561c: 1530001c bne r9,r16,0x00135690
00135620: 0000b821 addu r23,r0,r0
00135624: 34100170 ori r16,r0,0x0170
00135628: 02902021 addu r4,r20,r16
0013562c: 3c058016 lui r5,0x8016
00135630: 24a55ea4 addiu r5,r5,0x5ea4
00135634: 03c03021 addu r6,r30,r0
00135638: 0c052a0d jal 0x0014a834                   Image loading setup (0x14a834)
0013563c: 02203821 addu r7,r17,r0
00135640: 26100028 addiu r16,r16,0x0028
00135644: 26f70001 addiu r23,r23,0x0001
00135648: 2ae20002 slti r2,r23,0x0002
0013564c: 1440fff6 bne r2,r0,0x00135628
00135650: 2631000c addiu r17,r17,0x000c
00135654: 8fa800d0 lw r8,0x00d0(r29)
00135658: 00000000 nop
0013565c: 11000018 beq r8,r0,0x001356c0
00135660: 00172080 sll r4,r23,0x02
00135664: 00972021 addu r4,r4,r23
00135668: 000420c0 sll r4,r4,0x03
0013566c: 24840170 addiu r4,r4,0x0170
00135670: 02842021 addu r4,r20,r4
00135674: 3c058016 lui r5,0x8016
00135678: 24a55ea4 addiu r5,r5,0x5ea4
0013567c: 03c03021 addu r6,r30,r0
00135680: 0c052a0d jal 0x0014a834                   Image loading setup (0x14a834)
00135684: 02203821 addu r7,r17,r0
00135688: 0804d5b1 j 0x001356c4
0013568c: 268402ec addiu r4,r20,0x02ec
00135690: 34100170 ori r16,r0,0x0170
00135694: 02902021 addu r4,r20,r16
00135698: 3c058016 lui r5,0x8016
0013569c: 24a55ea4 addiu r5,r5,0x5ea4
001356a0: 03c03021 addu r6,r30,r0
001356a4: 0c052a0d jal 0x0014a834                   Image loading setup (0x14a834)
001356a8: 02203821 addu r7,r17,r0
001356ac: 26100028 addiu r16,r16,0x0028
001356b0: 26f70001 addiu r23,r23,0x0001
001356b4: 2ae20004 slti r2,r23,0x0004
001356b8: 1440fff6 bne r2,r0,0x00135694
001356bc: 2631000c addiu r17,r17,0x000c
001356c0: 268402ec addiu r4,r20,0x02ec
001356c4: 02802821 addu r5,r20,r0
001356c8: 0c052fd5 jal 0x0014bf54                   Copy Bytes (0x14bf54)
001356cc: 340602ec ori r6,r0,0x02ec
001356d0: afa000a8 sw r0,0x00a8(r29)
001356d4: 0000b821 addu r23,r0,r0
001356d8: 8fa90090 lw r9,0x0090(r29)
001356dc: 00000000 nop
001356e0: 85220018 lh r2,0x0018(r9)
001356e4: 00000000 nop
001356e8: 28420065 slti r2,r2,0x0065
001356ec: 14400002 bne r2,r0,0x001356f8
001356f0: 34020064 ori r2,r0,0x0064
001356f4: a5220018 sh r2,0x0018(r9)
001356f8: 8fa800a8 lw r8,0x00a8(r29)
001356fc: 00000000 nop
00135700: 11000005 beq r8,r0,0x00135718
00135704: 00009821 addu r19,r0,r0
00135708: 8fa40098 lw r4,0x0098(r29)
0013570c: 0c04bc13 jal 0x0012f04c                   0x12f04c
00135710: 00000000 nop
00135714: afa000a8 sw r0,0x00a8(r29)
00135718: 3c028016 lui r2,0x8016
0013571c: 8c425f88 lw r2,0x5f88(r2)
00135720: 00000000 nop
00135724: 1840002e blez r2,0x001357e0
00135728: 00000000 nop
0013572c: 34100013 ori r16,r0,0x0013
00135730: 0c05330a jal 0x0014cc28                   0014cc28 - 0014cc58 something with Thread Management?
00135734: 00000000 nop
00135738: 10400012 beq r2,r0,0x00135784
0013573c: 00000000 nop
00135740: 8fa90080 lw r9,0x0080(r29)
00135744: 00000000 nop
00135748: 15200006 bne r9,r0,0x00135764
0013574c: 00000000 nop
00135750: 3c028017 lui r2,0x8017
00135754: 8c42c8b8 lw r2,-0x3748(r2)
00135758: 00000000 nop
0013575c: 10500256 beq r2,r16,0x001360b8
00135760: 00000000 nop
00135764: 8fa800c0 lw r8,0x00c0(r29)
00135768: 00000000 nop
0013576c: 2508001e addiu r8,r8,0x001e
00135770: 29020081 slti r2,r8,0x0081
00135774: 10400250 beq r2,r0,0x001360b8
00135778: afa800c0 sw r8,0x00c0(r29)
0013577c: 0804d5f2 j 0x001357c8
00135780: 00000000 nop
00135784: 8fa900c0 lw r9,0x00c0(r29)
00135788: 00000000 nop
0013578c: 11200007 beq r9,r0,0x001357ac
00135790: 00000000 nop
00135794: 8fa800c8 lw r8,0x00c8(r29)
00135798: 00000000 nop
0013579c: 01284823 subu r9,r9,r8
001357a0: 05210002 bgez r9,0x001357ac
001357a4: afa900c0 sw r9,0x00c0(r29)
001357a8: afa000c0 sw r0,0x00c0(r29)
001357ac: 8fa900c8 lw r9,0x00c8(r29)
001357b0: 00000000 nop
001357b4: 29220003 slti r2,r9,0x0003
001357b8: 14400003 bne r2,r0,0x001357c8
001357bc: 00000000 nop
001357c0: 2529fffe addiu r9,r9,0xfffe
001357c4: afa900c8 sw r9,0x00c8(r29)
001357c8: 3c028016 lui r2,0x8016
001357cc: 8c425f88 lw r2,0x5f88(r2)
001357d0: 26730001 addiu r19,r19,0x0001
001357d4: 0262102a slt r2,r19,r2
001357d8: 1440ffd5 bne r2,r0,0x00135730
001357dc: 00000000 nop
001357e0: 0c05272f jal 0x00149cbc                    Get Thread Running Task
001357e4: 34040015 ori r4,r0,0x0015
001357e8: 10400006 beq r2,r0,0x00135804
001357ec: afa200b0 sw r2,0x00b0(r29)
001357f0: 0c053325 jal 0x0014cc94                    Check Thread Running Status
001357f4: 2444ffff addiu r4,r2,0xffff
001357f8: 14400002 bne r2,r0,0x00135804
001357fc: 00000000 nop
00135800: afa000b0 sw r0,0x00b0(r29)
00135804: 8fa80080 lw r8,0x0080(r29)
00135808: 32e20001 andi r2,r23,0x0001
0013580c: 3c018017 lui r1,0x8017
00135810: 00280821 addu r1,r1,r8
00135814: 90238868 lbu r3,-0x7798(r1)
00135818: 8fa500b8 lw r5,0x00b8(r29)
0013581c: 00621821 addu r3,r3,r2
00135820: 00031040 sll r2,r3,0x01
00135824: 00431021 addu r2,r2,r3
00135828: 00021100 sll r2,r2,0x04
0013582c: 00431023 subu r2,r2,r3
00135830: 00021080 sll r2,r2,0x02
00135834: 00431023 subu r2,r2,r3
00135838: 00021080 sll r2,r2,0x02
0013583c: 3c038017 lui r3,0x8017
00135840: 2463225c addiu r3,r3,0x225c
00135844: 0043a021 addu r20,r2,r3
00135848: 0c04daf4 jal 0x00136bd0                   Something to do with special portraits
0013584c: 268402c4 addiu r4,r20,0x02c4
00135850: 8fa900b0 lw r9,0x00b0(r29)
00135854: 00000000 nop
00135858: 11200006 beq r9,r0,0x00135874
0013585c: 34080040 ori r8,r0,0x0040
00135860: 34020050 ori r2,r0,0x0050
00135864: a28202c9 sb r2,0x02c9(r20)
00135868: 34020070 ori r2,r0,0x0070
0013586c: 0804d620 j 0x00135880
00135870: a28802c8 sb r8,0x02c8(r20)
00135874: 34020080 ori r2,r0,0x0080
00135878: a28202c8 sb r2,0x02c8(r20)
0013587c: a28202c9 sb r2,0x02c9(r20)
00135880: a28202ca sb r2,0x02ca(r20)
00135884: 8fa90090 lw r9,0x0090(r29)
00135888: 00000000 nop
0013588c: a5200002 sh r0,0x0002(r9)
00135890: 8fa800d8 lw r8,0x00d8(r29)
00135894: 00000000 nop
00135898: 910201ba lbu r2,0x01ba(r8)
0013589c: 00000000 nop
001358a0: 30420030 andi r2,r2,0x0030
001358a4: 10400002 beq r2,r0,0x001358b0
001358a8: 34020001 ori r2,r0,0x0001
001358ac: a5220002 sh r2,0x0002(r9)
001358b0: 8fa900d8 lw r9,0x00d8(r29)
001358b4: 00000000 nop
001358b8: 912201ba lbu r2,0x01ba(r9)
001358bc: 00000000 nop
001358c0: 30420038 andi r2,r2,0x0038
001358c4: 14400005 bne r2,r0,0x001358dc
001358c8: 34020002 ori r2,r0,0x0002
001358cc: 8fa80090 lw r8,0x0090(r29)
001358d0: 00000000 nop
001358d4: a5020002 sh r2,0x0002(r8)
001358d8: 8fa900d8 lw r9,0x00d8(r29)
001358dc: 00000000 nop
001358e0: 912201b8 lbu r2,0x01b8(r9)
001358e4: 00000000 nop
001358e8: 10400004 beq r2,r0,0x001358fc
001358ec: 34020003 ori r2,r0,0x0003
001358f0: 8fa80090 lw r8,0x0090(r29)
001358f4: 00000000 nop
001358f8: a5020002 sh r2,0x0002(r8)
001358fc: 8fa90080 lw r9,0x0080(r29)
00135900: 3c038016 lui r3,0x8016
00135904: 9463796e lhu r3,0x796e(r3)
00135908: 00091080 sll r2,r9,0x02
0013590c: 3c018017 lui r1,0x8017
00135910: 00220821 addu r1,r1,r2
00135914: 8c318858 lw r17,-0x77a8(r1)
00135918: 14600039 bne r3,r0,0x00135a00
0013591c: 34020001 ori r2,r0,0x0001
00135920: 97c20000 lhu r2,0x0000(r30)
00135924: 00000000 nop
00135928: 24420002 addiu r2,r2,0x0002
0013592c: a68202cc sh r2,0x02cc(r20)
00135930: 97c20002 lhu r2,0x0002(r30)
00135934: 00000000 nop
00135938: 24420002 addiu r2,r2,0x0002
0013593c: a68202ce sh r2,0x02ce(r20)
00135940: 97c20000 lhu r2,0x0000(r30)
00135944: 00000000 nop
00135948: 24420021 addiu r2,r2,0x0021
0013594c: a68202d4 sh r2,0x02d4(r20)
00135950: 97c20002 lhu r2,0x0002(r30)
00135954: 00000000 nop
00135958: 24420002 addiu r2,r2,0x0002
0013595c: a68202d6 sh r2,0x02d6(r20)
00135960: 97c20000 lhu r2,0x0000(r30)
00135964: 00000000 nop
00135968: 24420002 addiu r2,r2,0x0002
0013596c: a68202dc sh r2,0x02dc(r20)
00135970: 97c20002 lhu r2,0x0002(r30)
00135974: 00000000 nop
00135978: 24420032 addiu r2,r2,0x0032
0013597c: a68202de sh r2,0x02de(r20)
00135980: 97c20000 lhu r2,0x0000(r30)
00135984: 26240048 addiu r4,r17,0x0048
00135988: 24420021 addiu r2,r2,0x0021
0013598c: a68202e4 sh r2,0x02e4(r20)
00135990: 97c20002 lhu r2,0x0002(r30)
00135994: 3406000c ori r6,r0,0x000c
00135998: 24420032 addiu r2,r2,0x0032
0013599c: a68202e6 sh r2,0x02e6(r20)
001359a0: 8fa80090 lw r8,0x0090(r29)
001359a4: 00009821 addu r19,r0,r0
001359a8: 85020002 lh r2,0x0002(r8)
001359ac: 34100238 ori r16,r0,0x0238
001359b0: 00022840 sll r5,r2,0x01
001359b4: 00a22821 addu r5,r5,r2
001359b8: 00052880 sll r5,r5,0x02
001359bc: 3c028017 lui r2,0x8017
001359c0: 24428618 addiu r2,r2,0x8618
001359c4: 0c052fd5 jal 0x0014bf54                   Copy Bytes (0x14bf54)
001359c8: 00a22821 addu r5,r5,r2
001359cc: 02902021 addu r4,r20,r16
001359d0: 3c058016 lui r5,0x8016
001359d4: 24a55ea4 addiu r5,r5,0x5ea4
001359d8: 03c03021 addu r6,r30,r0
001359dc: 0c052a0d jal 0x0014a834                   Image loading setup (0x14a834)
001359e0: 02203821 addu r7,r17,r0
001359e4: 26100014 addiu r16,r16,0x0014
001359e8: 26730001 addiu r19,r19,0x0001
001359ec: 2a620007 slti r2,r19,0x0007
001359f0: 1440fff6 bne r2,r0,0x001359cc
001359f4: 2631000c addiu r17,r17,0x000c
001359f8: 8fa90080 lw r9,0x0080(r29)
001359fc: 34020001 ori r2,r0,0x0001
00135a00: 11220010 beq r9,r2,0x00135a44
00135a04: 00000000 nop
00135a08: 00009821 addu r19,r0,r0
00135a0c: 8fa800b0 lw r8,0x00b0(r29)
00135a10: 3c048017 lui r4,0x8017
00135a14: 24848544 addiu r4,r4,0x8544
00135a18: 02801821 addu r3,r20,r0
00135a1c: 31020001 andi r2,r8,0x0001
00135a20: 00022840 sll r5,r2,0x01
00135a24: 00a41021 addu r2,r5,r4
00135a28: 24840004 addiu r4,r4,0x0004
00135a2c: 94420000 lhu r2,0x0000(r2)
00135a30: 26730001 addiu r19,r19,0x0001
00135a34: a462017e sh r2,0x017e(r3)
00135a38: 2a620004 slti r2,r19,0x0004
00135a3c: 1440fff9 bne r2,r0,0x00135a24
00135a40: 24630028 addiu r3,r3,0x0028
00135a44: 8fa90080 lw r9,0x0080(r29)
00135a48: 34020002 ori r2,r0,0x0002
00135a4c: 15220005 bne r9,r2,0x00135a64
00135a50: 0280b021 addu r22,r20,r0
00135a54: 34027c3c ori r2,r0,0x7c3c
00135a58: a68201a6 sh r2,0x01a6(r20)
00135a5c: 34027d7c ori r2,r0,0x7d7c
00135a60: a68201ce sh r2,0x01ce(r20)
00135a64: 3c128017 lui r18,0x8017
00135a68: 26528818 addiu r18,r18,0x8818
00135a6c: 8fa80090 lw r8,0x0090(r29)
00135a70: 00009821 addu r19,r0,r0
00135a74: 00003021 addu r6,r0,r0
00135a78: 2690001e addiu r16,r20,0x001e
00135a7c: 26510002 addiu r17,r18,0x0002
00135a80: 2507000c addiu r7,r8,0x000c
00135a84: 25150010 addiu r21,r8,0x0010
00135a88: 02c02021 addu r4,r22,r0
00135a8c: afa600e8 sw r6,0x00e8(r29)
00135a90: 0c008f4c jal 0x00023d30                 P18 SetPolyG4
00135a94: afa700ec sw r7,0x00ec(r29)
00135a98: 97c30000 lhu r3,0x0000(r30)
00135a9c: 8fa90080 lw r9,0x0080(r29)
00135aa0: 8fa600e8 lw r6,0x00e8(r29)
00135aa4: 8fa700ec lw r7,0x00ec(r29)
00135aa8: 340200c2 ori r2,r0,0x00c2
00135aac: a7a2007a sh r2,0x007a(r29)
00135ab0: 2464002f addiu r4,r3,0x002f
00135ab4: 2522fffe addiu r2,r9,0xfffe
00135ab8: 2c420002 sltiu r2,r2,0x0002
00135abc: 10400006 beq r2,r0,0x00135ad8
00135ac0: a7a40078 sh r4,0x0078(r29)
00135ac4: 3c030001 lui r3,0x0001
00135ac8: 346300b2 ori r3,r3,0x00b2
00135acc: 2482ff92 addiu r2,r4,0xff92
00135ad0: a7a20078 sh r2,0x0078(r29)
00135ad4: a7a3007a sh r3,0x007a(r29)
00135ad8: 84e20000 lh r2,0x0000(r7)
00135adc: 86a30000 lh r3,0x0000(r21)
00135ae0: 00021140 sll r2,r2,0x05
00135ae4: 0043001a div r2,r3
00135ae8: 00001012 mflo r2
00135aec: 00000000 nop
00135af0: 00402021 addu r4,r2,r0
00135af4: 3082ffff andi r2,r4,0xffff
00135af8: 14400002 bne r2,r0,0x00135b04
00135afc: 00000000 nop
00135b00: a7a00078 sh r0,0x0078(r29)
00135b04: 3c058016 lui r5,0x8016
00135b08: 8ca56044 lw r5,0x6044(r5)
00135b0c: 00000000 nop
00135b10: 10a00002 beq r5,r0,0x00135b1c
00135b14: 00000000 nop
00135b18: 34040020 ori r4,r0,0x0020
00135b1c: 97a2007a lhu r2,0x007a(r29)
00135b20: 97a30078 lhu r3,0x0078(r29)
00135b24: 00461021 addu r2,r2,r6
00135b28: 00832021 addu r4,r4,r3
00135b2c: a602ffec sh r2,-0x0014(r16)
00135b30: a602fff4 sh r2,-0x000c(r16)
00135b34: 24420003 addiu r2,r2,0x0003
00135b38: a603ffea sh r3,-0x0016(r16)
00135b3c: a604fff2 sh r4,-0x000e(r16)
00135b40: a603fffa sh r3,-0x0006(r16)
00135b44: a602fffc sh r2,-0x0004(r16)
00135b48: a6040002 sh r4,0x0002(r16)
00135b4c: a6020004 sh r2,0x0004(r16)
00135b50: 86a2fffe lh r2,-0x0002(r21)
00135b54: 86a30000 lh r3,0x0000(r21)
00135b58: 00021140 sll r2,r2,0x05
00135b5c: 0043001a div r2,r3
00135b60: 00001012 mflo r2
00135b64: 00000000 nop
00135b68: 3042ffff andi r2,r2,0xffff
00135b6c: 14400002 bne r2,r0,0x00135b78
00135b70: 00000000 nop
00135b74: a7a00078 sh r0,0x0078(r29)
00135b78: 9602fffa lhu r2,-0x0006(r16)
00135b7c: 96030002 lhu r3,0x0002(r16)
00135b80: 2442fffd addiu r2,r2,0xfffd
00135b84: 2463fffd addiu r3,r3,0xfffd
00135b88: a602fffa sh r2,-0x0006(r16)
00135b8c: 10a00012 beq r5,r0,0x00135bd8
00135b90: a6030002 sh r3,0x0002(r16)
00135b94: 34080040 ori r8,r0,0x0040
00135b98: 34090040 ori r9,r0,0x0040
00135b9c: a208ffe6 sb r8,-0x001a(r16)
00135ba0: 34020080 ori r2,r0,0x0080
00135ba4: a209ffe7 sb r9,-0x0019(r16)
00135ba8: a208ffe8 sb r8,-0x0018(r16)
00135bac: a209fff6 sb r9,-0x000a(r16)
00135bb0: a202ffee sb r2,-0x0012(r16)
00135bb4: a202ffef sb r2,-0x0011(r16)
00135bb8: a202fff0 sb r2,-0x0010(r16)
00135bbc: 340200a0 ori r2,r0,0x00a0
00135bc0: a202fffe sb r2,-0x0002(r16)
00135bc4: 340200c4 ori r2,r0,0x00c4
00135bc8: a208fff7 sb r8,-0x0009(r16)
00135bcc: a209fff8 sb r9,-0x0008(r16)
00135bd0: 0804d746 j 0x00135d18
00135bd4: a202ffff sb r2,-0x0001(r16)
00135bd8: 8fa800b0 lw r8,0x00b0(r29)
00135bdc: 00000000 nop
00135be0: 1100002a beq r8,r0,0x00135c8c
00135be4: 00000000 nop
00135be8: 92420000 lbu r2,0x0000(r18)
00135bec: 00000000 nop
00135bf0: 00021042 srl r2,r2,0x01
00135bf4: a202ffe6 sb r2,-0x001a(r16)
00135bf8: 9222ffff lbu r2,-0x0001(r17)
00135bfc: 00000000 nop
00135c00: 00021042 srl r2,r2,0x01
00135c04: a202ffe7 sb r2,-0x0019(r16)
00135c08: 92220000 lbu r2,0x0000(r17)
00135c0c: 26520004 addiu r18,r18,0x0004
00135c10: a202ffe8 sb r2,-0x0018(r16)
00135c14: 92420000 lbu r2,0x0000(r18)
00135c18: 26310004 addiu r17,r17,0x0004
00135c1c: 00021042 srl r2,r2,0x01
00135c20: a202ffee sb r2,-0x0012(r16)
00135c24: 9222ffff lbu r2,-0x0001(r17)
00135c28: 00000000 nop
00135c2c: 00021042 srl r2,r2,0x01
00135c30: a202ffef sb r2,-0x0011(r16)
00135c34: 92220000 lbu r2,0x0000(r17)
00135c38: 26520004 addiu r18,r18,0x0004
00135c3c: a202fff0 sb r2,-0x0010(r16)
00135c40: 92420000 lbu r2,0x0000(r18)
00135c44: 26310004 addiu r17,r17,0x0004
00135c48: 00021042 srl r2,r2,0x01
00135c4c: a202fff6 sb r2,-0x000a(r16)
00135c50: 9222ffff lbu r2,-0x0001(r17)
00135c54: 00000000 nop
00135c58: 00021042 srl r2,r2,0x01
00135c5c: a202fff7 sb r2,-0x0009(r16)
00135c60: 92220000 lbu r2,0x0000(r17)
00135c64: 26520004 addiu r18,r18,0x0004
00135c68: a202fff8 sb r2,-0x0008(r16)
00135c6c: 92420000 lbu r2,0x0000(r18)
00135c70: 26310004 addiu r17,r17,0x0004
00135c74: 00021042 srl r2,r2,0x01
00135c78: a202fffe sb r2,-0x0002(r16)
00135c7c: 9222ffff lbu r2,-0x0001(r17)
00135c80: 26520004 addiu r18,r18,0x0004
00135c84: 0804d743 j 0x00135d0c
00135c88: 00021042 srl r2,r2,0x01
00135c8c: 92420000 lbu r2,0x0000(r18)
00135c90: 00000000 nop
00135c94: a202ffe6 sb r2,-0x001a(r16)
00135c98: 9222ffff lbu r2,-0x0001(r17)
00135c9c: 00000000 nop
00135ca0: a202ffe7 sb r2,-0x0019(r16)
00135ca4: 92220000 lbu r2,0x0000(r17)
00135ca8: 26520004 addiu r18,r18,0x0004
00135cac: a202ffe8 sb r2,-0x0018(r16)
00135cb0: 92420000 lbu r2,0x0000(r18)
00135cb4: 26310004 addiu r17,r17,0x0004
00135cb8: a202ffee sb r2,-0x0012(r16)
00135cbc: 9222ffff lbu r2,-0x0001(r17)
00135cc0: 00000000 nop
00135cc4: a202ffef sb r2,-0x0011(r16)
00135cc8: 92220000 lbu r2,0x0000(r17)
00135ccc: 26520004 addiu r18,r18,0x0004
00135cd0: a202fff0 sb r2,-0x0010(r16)
00135cd4: 92420000 lbu r2,0x0000(r18)
00135cd8: 26310004 addiu r17,r17,0x0004
00135cdc: a202fff6 sb r2,-0x000a(r16)
00135ce0: 9222ffff lbu r2,-0x0001(r17)
00135ce4: 00000000 nop
00135ce8: a202fff7 sb r2,-0x0009(r16)
00135cec: 92220000 lbu r2,0x0000(r17)
00135cf0: 26520004 addiu r18,r18,0x0004
00135cf4: a202fff8 sb r2,-0x0008(r16)
00135cf8: 92420000 lbu r2,0x0000(r18)
00135cfc: 26310004 addiu r17,r17,0x0004
00135d00: a202fffe sb r2,-0x0002(r16)
00135d04: 9222ffff lbu r2,-0x0001(r17)
00135d08: 26520004 addiu r18,r18,0x0004
00135d0c: a202ffff sb r2,-0x0001(r16)
00135d10: 92220000 lbu r2,0x0000(r17)
00135d14: 26310004 addiu r17,r17,0x0004
00135d18: a2020000 sb r2,0x0000(r16)
00135d1c: 26100024 addiu r16,r16,0x0024
00135d20: 26d60024 addiu r22,r22,0x0024
00135d24: 26b50006 addiu r21,r21,0x0006
00135d28: 24e70006 addiu r7,r7,0x0006
00135d2c: 26730001 addiu r19,r19,0x0001
00135d30: 2a620003 slti r2,r19,0x0003
00135d34: 1440ff54 bne r2,r0,0x00135a88
00135d38: 24c6000b addiu r6,r6,0x000b
00135d3c: 16e00050 bne r23,r0,0x00135e80              # at a glance, r23 seems to only be 0 during the ability preview window setup
00135d40: 00000000 nop
00135d44: 0c04bc0b jal 0x0012f02c                     0012f02c - 0012f048
00135d48: 34040700 ori r4,r0,0x0700
00135d4c: afa20098 sw r2,0x0098(r29)
00135d50: 8fa40098 lw r4,0x0098(r29)
00135d54: 0c052fb6 jal 0x0014bed8                     0014bed8_-_0014bf50 Display Related?
00135d58: 34050700 ori r5,r0,0x0700
00135d5c: 3c108016 lui r16,0x8016
00135d60: 26105fa8 addiu r16,r16,0x5fa8
00135d64: 2611fff8 addiu r17,r16,0xfff8
00135d68: 02203021 addu r6,r17,r0
00135d6c: 34070006 ori r7,r0,0x0006
00135d70: 8fa40098 lw r4,0x0098(r29)
00135d74: 8fa50088 lw r5,0x0088(r29)
00135d78: 34020028 ori r2,r0,0x0028
00135d7c: 0c052a9f jal 0x0014aa7c                     0014aa7c - 0014ab54 Display Related?
00135d80: ae020000 sw r2,0x0000(r16)
00135d84: 8fa50098 lw r5,0x0098(r29)
00135d88: 0c00923f jal 0x000248fc                     SYS LoadImage      <- turning this off had no dramatic consequences...
00135d8c: 27a40018 addiu r4,r29,0x0018
00135d90: 3c138016 lui r19,0x8016
00135d94: 8e736044 lw r19,0x6044(r19)
00135d98: 34020060 ori r2,r0,0x0060
00135d9c: ae020000 sw r2,0x0000(r16)
00135da0: 8fa90080 lw r9,0x0080(r29)
00135da4: 3c018016 lui r1,0x8016
00135da8: ac206044 sw r0,0x6044(r1)
00135dac: 11200004 beq r9,r0,0x00135dc0
00135db0: 02203021 addu r6,r17,r0
00135db4: 34020003 ori r2,r0,0x0003
00135db8: 15220012 bne r9,r2,0x00135e04
00135dbc: 34020001 ori r2,r0,0x0001
00135dc0: 34070002 ori r7,r0,0x0002
00135dc4: 8fa80098 lw r8,0x0098(r29)
00135dc8: 8fa90088 lw r9,0x0088(r29)
00135dcc: 25100400 addiu r16,r8,0x0400
00135dd0: 02002021 addu r4,r16,r0
00135dd4: 0c052a9f jal 0x0014aa7c                     0014aa7c - 0014ab54 Display Related?
00135dd8: 25250048 addiu r5,r9,0x0048
00135ddc: 02002021 addu r4,r16,r0
00135de0: 02203021 addu r6,r17,r0
00135de4: 8fa80088 lw r8,0x0088(r29)
00135de8: 34070002 ori r7,r0,0x0002
00135dec: 3c018016 lui r1,0x8016
00135df0: ac336044 sw r19,0x6044(r1)
00135df4: 0c052a9f jal 0x0014aa7c                     0014aa7c - 0014ab54 Display Related?
00135df8: 25050060 addiu r5,r8,0x0060
00135dfc: 0804d79a j 0x00135e68
00135e00: 00000000 nop
00135e04: 8fa90080 lw r9,0x0080(r29)
00135e08: 00000000 nop
00135e0c: 1522000b bne r9,r2,0x00135e3c
00135e10: 02203021 addu r6,r17,r0
00135e14: 34070002 ori r7,r0,0x0002
00135e18: 8fa80098 lw r8,0x0098(r29)
00135e1c: 8fa90088 lw r9,0x0088(r29)
00135e20: 25040400 addiu r4,r8,0x0400
00135e24: 0c052a9f jal 0x0014aa7c                     0014aa7c - 0014ab54 Display Related?
00135e28: 25250048 addiu r5,r9,0x0048
00135e2c: 3c018016 lui r1,0x8016
00135e30: ac336044 sw r19,0x6044(r1)
00135e34: 0804d79a j 0x00135e68
00135e38: 00000000 nop
00135e3c: 8fa800d0 lw r8,0x00d0(r29)
00135e40: 00000000 nop
00135e44: 11000008 beq r8,r0,0x00135e68
00135e48: 34040002 ori r4,r0,0x0002
00135e4c: 0c0529b3 jal 0x0014a6cc                     0x14a6cc Display Related?
00135e50: 00002821 addu r5,r0,r0
00135e54: 02202821 addu r5,r17,r0
00135e58: 8fa90098 lw r9,0x0098(r29)
00135e5c: 8fa600a0 lw r6,0x00a0(r29)
00135e60: 0c052cd4 jal 0x0014b350                     Display Specific Menu Text
00135e64: 25240400 addiu r4,r9,0x0400
00135e68: 8fa80098 lw r8,0x0098(r29)
00135e6c: 27a40020 addiu r4,r29,0x0020
00135e70: 0c00923f jal 0x000248fc                      SYS LoadImage reaction text?
00135e74: 25050400 addiu r5,r8,0x0400
00135e78: 34090001 ori r9,r0,0x0001
00135e7c: afa900a8 sw r9,0x00a8(r29)
00135e80: 27a40038 addiu r4,r29,0x0038
00135e84: 32e30001 andi r3,r23,0x0001
00135e88: 00031940 sll r3,r3,0x05
00135e8c: 3c028004 lui r2,0x8004
00135e90: 8c42597c lw r2,0x597c(r2)
00135e94: 8fa80080 lw r8,0x0080(r29)
00135e98: 30420001 andi r2,r2,0x0001
00135e9c: 2c420001 sltiu r2,r2,0x0001
00135ea0: 00021023 subu r2,r0,r2
00135ea4: 305100f0 andi r17,r2,0x00f0
00135ea8: 2502fffe addiu r2,r8,0xfffe
00135eac: 2c420002 sltiu r2,r2,0x0002
00135eb0: 10400004 beq r2,r0,0x00135ec4
00135eb4: 0083a821 addu r21,r4,r3
00135eb8: 8fa900c0 lw r9,0x00c0(r29)
00135ebc: 0804d7b4 j 0x00135ed0
00135ec0: 2522ff80 addiu r2,r9,0xff80
00135ec4: 8fa800c0 lw r8,0x00c0(r29)
00135ec8: 2402ff80 addiu r2,r0,0xff80
00135ecc: 00481023 subu r2,r2,r8
00135ed0: a6a2000c sh r2,0x000c(r21)
00135ed4: 3c028016 lui r2,0x8016
00135ed8: 9442796e lhu r2,0x796e(r2)
00135edc: 00000000 nop
00135ee0: 10400008 beq r2,r0,0x00135f04
00135ee4: 00021040 sll r2,r2,0x01
00135ee8: 3c018016 lui r1,0x8016
00135eec: 00220821 addu r1,r1,r2
00135ef0: 94227954 lhu r2,0x7954(r1)
00135ef4: 00000000 nop
00135ef8: 02221021 addu r2,r17,r2
00135efc: 0804d7c2 j 0x00135f08
00135f00: a6a2000e sh r2,0x000e(r21)
00135f04: a6b1000e sh r17,0x000e(r21)
00135f08: 02a02021 addu r4,r21,r0
00135f0c: 0c009518 jal 0x00025460                SYS SetDrawOffset
00135f10: 26a5000c addiu r5,r21,0x000c
00135f14: 26b00010 addiu r16,r21,0x0010
00135f18: 02002021 addu r4,r16,r0
00135f1c: 26a5001c addiu r5,r21,0x001c
00135f20: 2402ff80 addiu r2,r0,0xff80
00135f24: a6a2001c sh r2,0x001c(r21)
00135f28: 0c009518 jal 0x00025460                 SYS SetDrawOffset
00135f2c: a6b1001e sh r17,0x001e(r21)
00135f30: 0c05297a jal 0x0014a5e8                 Image Loading Setup (0x14a5e8)
00135f34: 02002021 addu r4,r16,r0
00135f38: 0c05297a jal 0x0014a5e8                 Image Loading Setup (0x14a5e8)
00135f3c: 26840170 addiu r4,r20,0x0170
00135f40: 0c05297a jal 0x0014a5e8                 Image Loading Setup (0x14a5e8)
00135f44: 26840198 addiu r4,r20,0x0198
00135f48: 0c05297a jal 0x0014a5e8                 Image Loading Setup (0x14a5e8)
00135f4c: 2684006c addiu r4,r20,0x006c
00135f50: 26d6ffdc addiu r22,r22,0xffdc
00135f54: 00009821 addu r19,r0,r0
00135f58: 0c05297a jal 0x0014a5e8                 Image Loading Setup (0x14a5e8)
00135f5c: 02c02021 addu r4,r22,r0
00135f60: 26730001 addiu r19,r19,0x0001
00135f64: 2a620003 slti r2,r19,0x0003
00135f68: 1440fffb bne r2,r0,0x00135f58
00135f6c: 26d6ffdc addiu r22,r22,0xffdc
00135f70: 0c05297a jal 0x0014a5e8                 Image Loading Setup (0x14a5e8)
00135f74: 268401c0 addiu r4,r20,0x01c0
00135f78: 8fa90080 lw r9,0x0080(r29)
00135f7c: 34020001 ori r2,r0,0x0001
00135f80: 15220004 bne r9,r2,0x00135f94
00135f84: 34027d7c ori r2,r0,0x7d7c
00135f88: a682021e sh r2,0x021e(r20)
00135f8c: 0c05297a jal 0x0014a5e8                 Image Loading Setup (0x14a5e8)
00135f90: 26840210 addiu r4,r20,0x0210
00135f94: 8fa80080 lw r8,0x0080(r29)
00135f98: 34020002 ori r2,r0,0x0002
00135f9c: 11020005 beq r8,r2,0x00135fb4
00135fa0: 00000000 nop
00135fa4: 0c05297a jal 0x0014a5e8                 Image Loading Setup (0x14a5e8)
00135fa8: 268401e8 addiu r4,r20,0x01e8
00135fac: 0804d7f4 j 0x00135fd0
00135fb0: 00009821 addu r19,r0,r0
00135fb4: 8fa900d0 lw r9,0x00d0(r29)
00135fb8: 00000000 nop
00135fbc: 11200003 beq r9,r0,0x00135fcc
00135fc0: 02e02021 addu r4,r23,r0
00135fc4: 0c04d250 jal 0x00134940                 00134940 - 00134a68 Uncertain (Display Related)?
00135fc8: 03c02821 addu r5,r30,r0
00135fcc: 00009821 addu r19,r0,r0
00135fd0: 8fa800b0 lw r8,0x00b0(r29)
00135fd4: 34120238 ori r18,r0,0x0238
00135fd8: 3c118017 lui r17,0x8017
00135fdc: 263185fc addiu r17,r17,0x85fc
00135fe0: 02808021 addu r16,r20,r0
00135fe4: 31020001 andi r2,r8,0x0001
00135fe8: 0002b040 sll r22,r2,0x01
00135fec: 02922021 addu r4,r20,r18
00135ff0: 26520014 addiu r18,r18,0x0014
00135ff4: 02d11021 addu r2,r22,r17
00135ff8: 26310004 addiu r17,r17,0x0004
00135ffc: 94420000 lhu r2,0x0000(r2)
00136000: 26730001 addiu r19,r19,0x0001
00136004: 0c05297a jal 0x0014a5e8                 Image Loading Setup (0x14a5e8)
00136008: a6020246 sh r2,0x0246(r16)
0013600c: 2a620007 slti r2,r19,0x0007
00136010: 1440fff6 bne r2,r0,0x00135fec
00136014: 26100014 addiu r16,r16,0x0014
00136018: 0c05297a jal 0x0014a5e8                 Image Loading Setup (0x14a5e8)
0013601c: 26840078 addiu r4,r20,0x0078
00136020: 0c05297a jal 0x0014a5e8                 Image Loading Setup (0x14a5e8)
00136024: 268402c4 addiu r4,r20,0x02c4
00136028: 8fa900b0 lw r9,0x00b0(r29)
0013602c: 00000000 nop
00136030: 11200005 beq r9,r0,0x00136048
00136034: 00000000 nop
00136038: 0c04bd15 jal 0x0012f454                 0012f454 - 0012f4dc
0013603c: 26840084 addiu r4,r20,0x0084
00136040: 0804d814 j 0x00136050
00136044: 00000000 nop
00136048: 0c04bcf3 jal 0x0012f3cc                 0012f3cc - 0012f450
0013604c: 26840084 addiu r4,r20,0x0084
00136050: 0c04bcd8 jal 0x0012f360                 0012f360 - 0012f3c8
00136054: 26840084 addiu r4,r20,0x0084
00136058: 0c05297a jal 0x0014a5e8                 Image Loading Setup (0x14a5e8)
0013605c: 02a02021 addu r4,r21,r0
00136060: 0c0532a0 jal 0x0014ca80                 Switch to Next Thread
00136064: 00000000 nop
00136068: 8fa800d8 lw r8,0x00d8(r29)
0013606c: 00000000 nop
00136070: 91020006 lbu r2,0x0006(r8)
00136074: 00000000 nop
00136078: 30420004 andi r2,r2,0x0004
0013607c: 3c018016 lui r1,0x8016
00136080: ac226044 sw r2,0x6044(r1)
00136084: 0c04bdac jal 0x0012f6b0                 0012f6b0 - 0012f6d0
00136088: 00000000 nop
0013608c: 34030011 ori r3,r0,0x0011
00136090: 1443fd91 bne r2,r3,0x001356d8
00136094: 26f70001 addiu r23,r23,0x0001
00136098: 3c028016 lui r2,0x8016
0013609c: 94427972 lhu r2,0x7972(r2)
001360a0: 00000000 nop
001360a4: 24420001 addiu r2,r2,0x0001
001360a8: 3c018016 lui r1,0x8016
001360ac: a4227972 sh r2,0x7972(r1)
001360b0: 0804d5b6 j 0x001356d8
001360b4: 00000000 nop
001360b8: 0c0532a0 jal 0x0014ca80                 Switch to Next Thread
001360bc: 00000000 nop
001360c0: 0c04bdac jal 0x0012f6b0                   0012f6b0 - 0012f6d0
001360c4: 00000000 nop
001360c8: 34030011 ori r3,r0,0x0011
001360cc: 14430003 bne r2,r3,0x001360dc
001360d0: 00000000 nop
001360d4: 3c018016 lui r1,0x8016
001360d8: a4207972 sh r0,0x7972(r1)
001360dc: 0c04bb24 jal 0x0012ec90                   0012ec90 - 0012ee38
001360e0: 27a40018 addiu r4,r29,0x0018
001360e4: 0c04bb24 jal 0x0012ec90                   0012ec90 - 0012ee38
001360e8: 27a40020 addiu r4,r29,0x0020
001360ec: 0c053256 jal 0x0014c958                    Stop Current Thread
001360f0: 00000000 nop
001360f4: 8fbf0114 lw r31,0x0114(r29)
001360f8: 8fbe0110 lw r30,0x0110(r29)
001360fc: 8fb7010c lw r23,0x010c(r29)
00136100: 8fb60108 lw r22,0x0108(r29)
00136104: 8fb50104 lw r21,0x0104(r29)
00136108: 8fb40100 lw r20,0x0100(r29)
0013610c: 8fb300fc lw r19,0x00fc(r29)
00136110: 8fb200f8 lw r18,0x00f8(r29)
00136114: 8fb100f4 lw r17,0x00f4(r29)
00136118: 8fb000f0 lw r16,0x00f0(r29)
0013611c: 27bd0118 addiu r29,r29,0x0118
00136120: 03e00008 jr r31
00136124: 00000000 nop