0007148c - 000718cc
Jump to navigation
Jump to search
0007148c: 27bdff88 addiu r29,r29,0xff88 00071490: afb30064 sw r19,0x0064(r29) 00071494: 00809821 addu r19,r4,r0 r19 = r4 00071498: afb40068 sw r20,0x0068(r29) 0007149c: 34140002 ori r20,r0,0x0002 cursor type? 000714a0: afb1005c sw r17,0x005c(r29) 000714a4: 3411000a ori r17,r0,0x000a r17 = x0a (10) (Something to do with bar menu display) 000714a8: afbf0070 sw r31,0x0070(r29) 000714ac: afb5006c sw r21,0x006c(r29) 000714b0: afb20060 sw r18,0x0060(r29) 000714b4: afb00058 sw r16,0x0058(r29) 000714b8: 8e720000 lw r18,0x0000(r19) load data at r19 000714bc: 34040091 ori r4,r0,0x0091 Variable to check (Proposition Check) 000714c0: 001210c0 sll r2,r18,0x03 r18 * 8 000714c4: 00521021 addu r2,r2,r18 r18 * 9 000714c8: 00021080 sll r2,r2,0x02 r18 * 36 000714cc: 3c01800c lui r1,0x800c 000714d0: 2421b508 addiu r1,r1,0xb508 000714d4: 00220821 addu r1,r1,r2 r1 = 0x800cb508 + r18 * 36 000714d8: ac340000 sw r20,0x0000(r1) store Cursor type? (0x02) into 0x800cb508 + r18 * 36 000714dc: 3c01800c lui r1,0x800c 000714e0: 2421b50c addiu r1,r1,0xb50c 000714e4: 00220821 addu r1,r1,r2 000714e8: ac310000 sw r17,0x0000(r1) Store 0x0a into 0x800cb50c + r18 * 36 000714ec: 3c01800c lui r1,0x800c 000714f0: 2421b514 addiu r1,r1,0xb514 000714f4: 00220821 addu r1,r1,r2 000714f8: ac200000 sw r0,0x0000(r1) Store 0x00 into 0x800cb514 + r18 * 36 000714fc: 3c01800c lui r1,0x800c 00071500: 2421b510 addiu r1,r1,0xb510 00071504: 00220821 addu r1,r1,r2 00071508: ac200000 sw r0,0x0000(r1) Store 0x00 into 0x800cb510 + r18 * 36 0007150c: 8e720004 lw r18,0x0004(r19) Load Data from r19 into r18 00071510: 34100001 ori r16,r0,0x0001 r16 = 0x0001 00071514: 001210c0 sll r2,r18,0x03 r18 * 8 00071518: 00521021 addu r2,r2,r18 r18 * 9 0007151c: 00021080 sll r2,r2,0x02 r18 * 36 00071520: 34120004 ori r18,r0,0x0004 r18 = 0x0004 00071524: 3c01800c lui r1,0x800c 00071528: 2421b508 addiu r1,r1,0xb508 0007152c: 00220821 addu r1,r1,r2 00071530: ac320000 sw r18,0x0000(r1) 00071534: 3c01800c lui r1,0x800c 00071538: 2421b50c addiu r1,r1,0xb50c 0007153c: 00220821 addu r1,r1,r2 00071540: ac310000 sw r17,0x0000(r1) 00071544: 3c01800c lui r1,0x800c 00071548: 2421b514 addiu r1,r1,0xb514 0007154c: 00220821 addu r1,r1,r2 00071550: ac200000 sw r0,0x0000(r1) 00071554: 3c01800c lui r1,0x800c 00071558: 2421b510 addiu r1,r1,0xb510 0007155c: 00220821 addu r1,r1,r2 00071560: ac200000 sw r0,0x0000(r1) 00071564: ae600034 sw r0,0x0034(r19) Store 0 into r19 (x34 - Text Pointer?) Check if Propositions are active 00071568: 0c03bc6a jal 0x000ef1a8 Check if Propositions are active 0007156c: ae700030 sw r16,0x0030(r19) Store 0x01 into r19 (+30) 00071570: 10400005 beq r2,r0,0x00071588 Branch if Propositions are not active 00071574: 00000000 nop 00071578: 8e620030 lw r2,0x0030(r19) Load Data 0007157c: ae700038 sw r16,0x0038(r19) store 0x01 into location at 0x0038 00071580: 24420001 addiu r2,r2,0x0001 r2 ++ 00071584: ae620030 sw r2,0x0030(r19) Store 00071588: 3c04800a lui r4,0x800a 0007158c: 8c84f254 lw r4,-0x0dac(r4) Load Word at 0x0009f254 (something to do with Propositions/Rumors) 00071590: 0c01d310 jal 0x00074c40 Check for "Job Report" 00071594: 00000000 nop 00071598: 1040000a beq r2,r0,0x000715c4 Branch if no "Job Report" 0007159c: 00000000 nop 000715a0: 8e620030 lw r2,0x0030(r19) 000715a4: 00000000 nop 000715a8: 00021080 sll r2,r2,0x02 r2 * 4 000715ac: 00531021 addu r2,r2,r19 Text Data + r2 * 4 000715b0: ac540034 sw r20,0x0034(r2) 000715b4: 8e620030 lw r2,0x0030(r19) 000715b8: 00000000 nop 000715bc: 24420001 addiu r2,r2,0x0001 000715c0: ae620030 sw r2,0x0030(r19) 000715c4: 3c108005 lui r16,0x8005 000715c8: 92107ce8 lbu r16,0x7ce8(r16) Load byte at 0x80057CE8 (Number of Active Propositions) 000715cc: 0c01d310 jal 0x00074c40 000715d0: 2404ffff addiu r4,r0,0xffff 000715d4: 1202000a beq r16,r2,0x00071600 000715d8: 34030003 ori r3,r0,0x0003 000715dc: 8e620030 lw r2,0x0030(r19) 000715e0: 00000000 nop 000715e4: 00021080 sll r2,r2,0x02 000715e8: 00531021 addu r2,r2,r19 000715ec: ac430034 sw r3,0x0034(r2) 000715f0: 8e620030 lw r2,0x0030(r19) 000715f4: 00000000 nop 000715f8: 24420001 addiu r2,r2,0x0001 000715fc: ae620030 sw r2,0x0030(r19) 00071600: 00003821 addu r7,r0,r0 Clear r7 00071604: 8e620030 lw r2,0x0030(r19) Load x30 from r19 00071608: 3c14800d lui r20,0x800d 0007160c: 269487d8 addiu r20,r20,0x87d8 r20 = 0x800d87d8 00071610: 00021080 sll r2,r2,0x02 r2 * 4 00071614: 00531021 addu r2,r2,r19 0x800bb9e8 + r2 * 4 00071618: ac520034 sw r18,0x0034(r2) Store 0x0004 into r19 + x34 + r2 * 4 0007161c: 8e620030 lw r2,0x0030(r19) 00071620: 8e720008 lw r18,0x0008(r19) 00071624: 24420001 addiu r2,r2,0x0001 r2 ++ 00071628: ae620030 sw r2,0x0030(r19) 0007162c: 34020048 ori r2,r0,0x0048 r2 = x48 00071630: a7a00020 sh r0,0x0020(r29) 00071634: a7a00022 sh r0,0x0022(r29) 00071638: a7a20024 sh r2,0x0024(r29) 0007163c: 8e620030 lw r2,0x0030(r19) 00071640: 02402021 addu r4,r18,r0 r4 = r18 00071644: 00021100 sll r2,r2,0x04 r2 * 8 00071648: 24420010 addiu r2,r2,0x0010 0007164c: a7a20026 sh r2,0x0026(r29) 00071650: afb40010 sw r20,0x0010(r29) 00071654: 97a20020 lhu r2,0x0020(r29) 00071658: 97a50022 lhu r5,0x0022(r29) 0007165c: 97a30024 lhu r3,0x0024(r29) 00071660: 97a60026 lhu r6,0x0026(r29) 00071664: 00052c00 sll r5,r5,0x10 00071668: 00452825 or r5,r2,r5 0007166c: 00063400 sll r6,r6,0x10 00071670: 0c023d45 jal 0x0008f514 00071674: 00663025 or r6,r3,r6 00071678: 00121040 sll r2,r18,0x01 0007167c: 00521021 addu r2,r2,r18 00071680: 00021080 sll r2,r2,0x02 00071684: 00521021 addu r2,r2,r18 00071688: 00021080 sll r2,r2,0x02 0007168c: 3c01800c lui r1,0x800c 00071690: 2421bc70 addiu r1,r1,0xbc70 00071694: 00220821 addu r1,r1,r2 00071698: 8c230000 lw r3,0x0000(r1) 0007169c: 3c01800c lui r1,0x800c 000716a0: 2421bc78 addiu r1,r1,0xbc78 000716a4: 00220821 addu r1,r1,r2 000716a8: ac310000 sw r17,0x0000(r1) 000716ac: 34630100 ori r3,r3,0x0100 000716b0: 3c01800c lui r1,0x800c 000716b4: 2421bc70 addiu r1,r1,0xbc70 000716b8: 00220821 addu r1,r1,r2 000716bc: ac230000 sw r3,0x0000(r1) 000716c0: 3c03800c lui r3,0x800c 000716c4: 2463bc88 addiu r3,r3,0xbc88 000716c8: 00431021 addu r2,r2,r3 000716cc: 2403ff88 addiu r3,r0,0xff88 000716d0: ac430000 sw r3,0x0000(r2) 000716d4: 2403ffd8 addiu r3,r0,0xffd8 000716d8: ac430004 sw r3,0x0004(r2) 000716dc: 34020008 ori r2,r0,0x0008 000716e0: afa20018 sw r2,0x0018(r29) 000716e4: afa2001c sw r2,0x001c(r29) 000716e8: 8e620030 lw r2,0x0030(r19) 000716ec: 00000000 nop 000716f0: 18400013 blez r2,0x00071740 Skip bar text? 000716f4: 00008021 addu r16,r0,r0 r16 = 0 000716f8: 3415b800 ori r21,r0,0xb800 Text Variable (bar text) 000716fc: 02608821 addu r17,r19,r0 r17 = r19 00071700: 8e250034 lw r5,0x0034(r17) text offset 00071704: 02402021 addu r4,r18,r0 r4 = r18 00071708: afb40010 sw r20,0x0010(r29) 0007170c: 8fa60018 lw r6,0x0018(r29) 00071710: 8fa7001c lw r7,0x001c(r29) 00071714: 0c023e0a jal 0x0008f828 Display Menu Text Entry (WORLD.BIN) 00071718: 00b52821 addu r5,r5,r21 r5 + Text 0007171c: 8fa2001c lw r2,0x001c(r29) Load Stack Data 00071720: 00000000 nop 00071724: 24420010 addiu r2,r2,0x0010 Stack Data + x10 (16) 00071728: afa2001c sw r2,0x001c(r29) Store Data back into stack 0007172c: 8e620030 lw r2,0x0030(r19) Load Text String Counter 00071730: 26100001 addiu r16,r16,0x0001 Counter ++ 00071734: 0202102a slt r2,r16,r2 00071738: 1440fff1 bne r2,r0,0x00071700 loop until all text strings are checked 0007173c: 26310004 addiu r17,r17,0x0004 Next text offset to check 00071740: 3c05800d lui r5,0x800d 00071744: 24a587d8 addiu r5,r5,0x87d8 00071748: 0c023dcb jal 0x0008f72c Palette? 0007174c: 02402021 addu r4,r18,r0 00071750: 3c06800d lui r6,0x800d 00071754: 24c607e0 addiu r6,r6,0x07e0 00071758: 8cc20000 lw r2,0x0000(r6) 0007175c: 8e630030 lw r3,0x0030(r19) 00071760: 24420001 addiu r2,r2,0x0001 00071764: 0062182a slt r3,r3,r2 00071768: 10600002 beq r3,r0,0x00071774 0007176c: 00122840 sll r5,r18,0x01 r5 = r18 * 2 00071770: acc00000 sw r0,0x0000(r6) store 0 into r6 (0x0000) 00071774: 00b22821 addu r5,r5,r18 r5 = r18 * 3 00071778: 00052880 sll r5,r5,0x02 r5 = r18 * 12 0007177c: 3c03800c lui r3,0x800c 00071780: 8c63b4f0 lw r3,-0x4b10(r3) 00071784: 00b22821 addu r5,r5,r18 r5 = r18 * 13 00071788: 00031040 sll r2,r3,0x01 r2 = r3 * 2 0007178c: 00431021 addu r2,r2,r3 r2 = r3 * 3 00071790: 000210c0 sll r2,r2,0x03 r2 = r3 * 24 00071794: 00431023 subu r2,r2,r3 r2 = r3 * 23 00071798: 8cc30000 lw r3,0x0000(r6) 0007179c: 00021080 sll r2,r2,0x02 r2 = r3 * 92 000717a0: 3c01800c lui r1,0x800c 000717a4: 2421b9a4 addiu r1,r1,0xb9a4 000717a8: 00220821 addu r1,r1,r2 000717ac: ac200000 sw r0,0x0000(r1) 000717b0: 3c01800c lui r1,0x800c 000717b4: 2421b9a8 addiu r1,r1,0xb9a8 000717b8: 00220821 addu r1,r1,r2 000717bc: ac230000 sw r3,0x0000(r1) 000717c0: 8e620000 lw r2,0x0000(r19) 000717c4: 00052880 sll r5,r5,0x02 000717c8: 000218c0 sll r3,r2,0x03 000717cc: 00621821 addu r3,r3,r2 000717d0: 3c01800c lui r1,0x800c 000717d4: 2421bc88 addiu r1,r1,0xbc88 000717d8: 00250821 addu r1,r1,r5 000717dc: 8c220000 lw r2,0x0000(r1) 000717e0: 00031880 sll r3,r3,0x02 000717e4: 24420006 addiu r2,r2,0x0006 000717e8: 3c01800c lui r1,0x800c 000717ec: 2421b51c addiu r1,r1,0xb51c 000717f0: 00230821 addu r1,r1,r3 000717f4: ac220000 sw r2,0x0000(r1) 000717f8: 8e620000 lw r2,0x0000(r19) 000717fc: 8cc30000 lw r3,0x0000(r6) 00071800: 000220c0 sll r4,r2,0x03 00071804: 00822021 addu r4,r4,r2 00071808: 00042080 sll r4,r4,0x02 0007180c: 3c01800c lui r1,0x800c 00071810: 2421bc8c addiu r1,r1,0xbc8c 00071814: 00250821 addu r1,r1,r5 00071818: 8c220000 lw r2,0x0000(r1) 0007181c: 00031900 sll r3,r3,0x04 00071820: 00431021 addu r2,r2,r3 00071824: 2442000e addiu r2,r2,0x000e 00071828: 3c01800c lui r1,0x800c 0007182c: 2421b520 addiu r1,r1,0xb520 00071830: 00240821 addu r1,r1,r4 00071834: ac220000 sw r2,0x0000(r1) 00071838: 8e620004 lw r2,0x0004(r19) 0007183c: 00000000 nop 00071840: 000218c0 sll r3,r2,0x03 00071844: 00621821 addu r3,r3,r2 00071848: 3c01800c lui r1,0x800c 0007184c: 2421bc88 addiu r1,r1,0xbc88 00071850: 00250821 addu r1,r1,r5 00071854: 8c220000 lw r2,0x0000(r1) 00071858: 00031880 sll r3,r3,0x02 0007185c: 24420003 addiu r2,r2,0x0003 00071860: 3c01800c lui r1,0x800c 00071864: 2421b51c addiu r1,r1,0xb51c 00071868: 00230821 addu r1,r1,r3 0007186c: ac220000 sw r2,0x0000(r1) 00071870: 8e620004 lw r2,0x0004(r19) 00071874: 00000000 nop 00071878: 000218c0 sll r3,r2,0x03 0007187c: 00621821 addu r3,r3,r2 00071880: 3c01800c lui r1,0x800c 00071884: 2421bc8c addiu r1,r1,0xbc8c 00071888: 00250821 addu r1,r1,r5 0007188c: 8c220000 lw r2,0x0000(r1) 00071890: 00031880 sll r3,r3,0x02 00071894: 2442fffe addiu r2,r2,0xfffe 00071898: 3c01800c lui r1,0x800c 0007189c: 2421b520 addiu r1,r1,0xb520 000718a0: 00230821 addu r1,r1,r3 000718a4: ac220000 sw r2,0x0000(r1) 000718a8: 8fbf0070 lw r31,0x0070(r29) 000718ac: 8fb5006c lw r21,0x006c(r29) 000718b0: 8fb40068 lw r20,0x0068(r29) 000718b4: 8fb30064 lw r19,0x0064(r29) 000718b8: 8fb20060 lw r18,0x0060(r29) 000718bc: 8fb1005c lw r17,0x005c(r29) 000718c0: 8fb00058 lw r16,0x0058(r29) 000718c4: 27bd0078 addiu r29,r29,0x0078 000718c8: 03e00008 jr r31 000718cc: 00000000 nop