00086640 - 00086b40
Jump to navigation
Jump to search
00086640: 27bdff88 addiu r29,r29,0xff88 00086644: afb3005c sw r19,0x005c(r29) 00086648: 00809821 addu r19,r4,r0 0008664c: afbf0074 sw r31,0x0074(r29) 00086650: afbe0070 sw r30,0x0070(r29) 00086654: afb7006c sw r23,0x006c(r29) 00086658: afb60068 sw r22,0x0068(r29) 0008665c: afb50064 sw r21,0x0064(r29) 00086660: afb40060 sw r20,0x0060(r29) 00086664: afb20058 sw r18,0x0058(r29) 00086668: afb10054 sw r17,0x0054(r29) 0008666c: afb00050 sw r16,0x0050(r29) 00086670: 3c058007 lui r5,0x8007 00086674: 24a5812c addiu r5,r5,0x812c #0x8007812c i hate this address with a passion 00086678: 88a20003 lwl r2,0x0003(r5) 0008667c: 98a20000 lwr r2,0x0000(r5) 00086680: 88a30007 lwl r3,0x0007(r5) 00086684: 98a30004 lwr r3,0x0004(r5) 00086688: aba20033 swl r2,0x0033(r29) 0008668c: bba20030 swr r2,0x0030(r29) #stores rotation/flip related data 00086690: aba30037 swl r3,0x0037(r29) 00086694: bba30034 swr r3,0x0034(r29) 00086698: 96620120 lhu r2,0x0120(r19) 0008669c: 00000000 nop 000866a0: a7a20020 sh r2,0x0020(r29) 000866a4: 96620122 lhu r2,0x0122(r19) 000866a8: 34040200 ori r4,r0,0x0200 000866ac: 0c007472 jal 0x0001d1c8 000866b0: a7a20022 sh r2,0x0022(r29) 000866b4: 00002021 addu r4,r0,r0 000866b8: 0c00746a jal 0x0001d1a8 000866bc: 00002821 addu r5,r0,r0 000866c0: 8e620128 lw r2,0x0128(r19) 000866c4: 00000000 nop 000866c8: 2442ffff addiu r2,r2,0xffff 000866cc: 2c42017f sltiu r2,r2,0x017f 000866d0: 1040010f beq r2,r0,0x00086b10 000866d4: 00008821 addu r17,r0,r0 000866d8: 926202bc lbu r2,0x02bc(r19) 000866dc: 00000000 nop 000866e0: 10400003 beq r2,r0,0x000866f0 000866e4: 02602021 addu r4,r19,r0 000866e8: 0c020429 jal 0x000810a4 000866ec: 27a50020 addiu r5,r29,0x0020 000866f0: 97a20020 lhu r2,0x0020(r29) 000866f4: 00000000 nop 000866f8: 2442ff9f addiu r2,r2,0xff9f 000866fc: 2c42013f sltiu r2,r2,0x013f 00086700: 10400008 beq r2,r0,0x00086724 00086704: 00000000 nop 00086708: 97a20022 lhu r2,0x0022(r29) 0008670c: 00000000 nop 00086710: 2442001f addiu r2,r2,0x001f 00086714: 3042ffff andi r2,r2,0xffff 00086718: 2c42012f sltiu r2,r2,0x012f 0008671c: 14400005 bne r2,r0,0x00086734 00086720: 00000000 nop 00086724: 92630006 lbu r3,0x0006(r19) 00086728: 34020049 ori r2,r0,0x0049 0008672c: 146200f8 bne r3,r2,0x00086b10 00086730: 00000000 nop 00086734: 3c02800c lui r2,0x800c 00086738: 94427ca0 lhu r2,0x7ca0(r2) 0008673c: 3c03800c lui r3,0x800c 00086740: 94637ca4 lhu r3,0x7ca4(r3) 00086744: 3c04800c lui r4,0x800c 00086748: 94847ca8 lhu r4,0x7ca8(r4) #camera zoom level 0008674c: a7a20030 sh r2,0x0030(r29) 00086750: a7a30032 sh r3,0x0032(r29) 00086754: a7a40034 sh r4,0x0034(r29) 00086758: 9263013f lbu r3,0x013f(r19) #"byte" 0008675c: 96620012 lhu r2,0x0012(r19) #load sprite display bytes? 00086760: 966a0014 lhu r10,0x0014(r19) #load 0x14 misc unit data 00086764: 00628026 xor r16,r3,r2 #anti flip for map rotation? 00086768: 966201d8 lhu r2,0x01d8(r19) #load unit graphic trigger 0008676c: 0200a021 addu r20,r16,r0 #sprite display bytes into r20 00086770: 104000e7 beq r2,r0,0x00086b10 #branch if unit's graphic trigger is no 00086774: afaa0038 sw r10,0x0038(r29) 00086778: 926202d0 lbu r2,0x02d0(r19) 0008677c: 00000000 nop 00086780: 10400003 beq r2,r0,0x00086790 00086784: 00000000 nop 00086788: 0c01fd43 jal 0x0007f50c 0008678c: 02602021 addu r4,r19,r0 00086790: 92630130 lbu r3,0x0130(r19) #mount data 00086794: 00000000 nop 00086798: 1060008d beq r3,r0,0x000869d0 0008679c: 34020001 ori r2,r0,0x0001 000867a0: 106200d5 beq r3,r2,0x00086af8 000867a4: 34020002 ori r2,r0,0x0002 000867a8: 146200d3 bne r3,r2,0x00086af8 000867ac: 00111400 sll r2,r17,0x10 000867b0: 0000b821 addu r23,r0,r0 000867b4: 00021403 sra r2,r2,0x10 000867b8: afa20040 sw r2,0x0040(r29) 000867bc: 00101400 sll r2,r16,0x10 000867c0: 00021403 sra r2,r2,0x10 000867c4: 27be0030 addiu r30,r29,0x0030 000867c8: afa20048 sw r2,0x0048(r29) 000867cc: 8faa0038 lw r10,0x0038(r29) #load 0x14 misc data 000867d0: 00171080 sll r2,r23,0x02 000867d4: 000a1900 sll r3,r10,0x04 000867d8: 3c0a8009 lui r10,0x8009 000867dc: 254a4548 addiu r10,r10,0x4548 # 000867e0: 006a1821 addu r3,r3,r10 000867e4: 00431021 addu r2,r2,r3 000867e8: 8c420000 lw r2,0x0000(r2) 000867ec: 00000000 nop 000867f0: 10400018 beq r2,r0,0x00086854 #branch if address was for unit graphic data 000867f4: 2442ffff addiu r2,r2,0xffff 000867f8: 00021840 sll r3,r2,0x01 000867fc: 00621821 addu r3,r3,r2 00086800: 00031900 sll r3,r3,0x04 00086804: 02632021 addu r4,r19,r3 #r4 = r19 + pointer to wep/eff/number graphical data 00086808: 94820208 lhu r2,0x0208(r4) #load graphic trigger 0008680c: 00000000 nop 00086810: 10400069 beq r2,r0,0x000869b8 00086814: 00000000 nop 00086818: 8c92022c lw r18,0x022c(r4) #load sprite display section pointer 0008681c: 0c011298 jal 0x00044a60 #returns something kernel in r2 00086820: 00000000 nop 00086824: 00003021 addu r6,r0,r0 #counter? 00086828: 27a70020 addiu r7,r29,0x0020 #stack + 0x20 0008682c: 8e630128 lw r3,0x0128(r19) #? 00086830: 8faa0040 lw r10,0x0040(r29) 00086834: 02402021 addu r4,r18,r0 00086838: 92450003 lbu r5,0x0003(r18) #load No. sprites to load 0008683c: 00031880 sll r3,r3,0x02 00086840: afaa0010 sw r10,0x0010(r29) 00086844: 8faa0048 lw r10,0x0048(r29) 00086848: 00431021 addu r2,r2,r3 #kernel + ? * 4 0008684c: 08021a6b j 0x000869ac 00086850: afbe0018 sw r30,0x0018(r29) 00086854: 8e720204 lw r18,0x0204(r19) 00086858: 0c011298 jal 0x00044a60 0008685c: 00000000 nop 00086860: 34050003 ori r5,r0,0x0003 #r5 = 3 00086864: 00003021 addu r6,r0,r0 #counter? 00086868: 8e630128 lw r3,0x0128(r19) # 0008686c: 8faa0040 lw r10,0x0040(r29) 00086870: 27a70020 addiu r7,r29,0x0020 00086874: afbe0018 sw r30,0x0018(r29) 00086878: 02402021 addu r4,r18,r0 0008687c: 00031880 sll r3,r3,0x02 00086880: afaa0010 sw r10,0x0010(r29) 00086884: 8faa0048 lw r10,0x0048(r29) 00086888: 00431021 addu r2,r2,r3 0008688c: afa2001c sw r2,0x001c(r29) 00086890: 0c01ebd1 jal 0x0007af44 00086894: afaa0014 sw r10,0x0014(r29) 00086898: 92640131 lbu r4,0x0131(r19) 0008689c: 0c01e9b9 jal 0x0007a6e4 000868a0: 00000000 nop 000868a4: 00408821 addu r17,r2,r0 000868a8: 12200033 beq r17,r0,0x00086978 000868ac: 00000000 nop 000868b0: 9622000a lhu r2,0x000a(r17) 000868b4: 00000000 nop 000868b8: 1040002f beq r2,r0,0x00086978 000868bc: 00000000 nop 000868c0: 96220120 lhu r2,0x0120(r17) 000868c4: 0000a821 addu r21,r0,r0 000868c8: a7a20028 sh r2,0x0028(r29) 000868cc: 96220122 lhu r2,0x0122(r17) 000868d0: 3c0a8009 lui r10,0x8009 000868d4: 254a4548 addiu r10,r10,0x4548 000868d8: a7a2002a sh r2,0x002a(r29) 000868dc: 96220014 lhu r2,0x0014(r17) 000868e0: 86360012 lh r22,0x0012(r17) 000868e4: 00021100 sll r2,r2,0x04 000868e8: 004aa021 addu r20,r2,r10 000868ec: 8e820000 lw r2,0x0000(r20) 000868f0: 00000000 nop 000868f4: 1040000c beq r2,r0,0x00086928 000868f8: 2442ffff addiu r2,r2,0xffff 000868fc: 00021840 sll r3,r2,0x01 00086900: 00621821 addu r3,r3,r2 00086904: 00031900 sll r3,r3,0x04 00086908: 02232021 addu r4,r17,r3 0008690c: 94820208 lhu r2,0x0208(r4) 00086910: 00000000 nop 00086914: 10400014 beq r2,r0,0x00086968 00086918: 00000000 nop 0008691c: 8c90022c lw r16,0x022c(r4) 00086920: 08021a4b j 0x0008692c 00086924: 00000000 nop 00086928: 8e300204 lw r16,0x0204(r17) 0008692c: 0c011298 jal 0x00044a60 00086930: 00000000 nop 00086934: 00003021 addu r6,r0,r0 00086938: 27a70028 addiu r7,r29,0x0028 0008693c: 8e630128 lw r3,0x0128(r19) 00086940: 8faa0040 lw r10,0x0040(r29) 00086944: 02002021 addu r4,r16,r0 00086948: 00031880 sll r3,r3,0x02 0008694c: 92050003 lbu r5,0x0003(r16) 00086950: 00431021 addu r2,r2,r3 00086954: afaa0010 sw r10,0x0010(r29) 00086958: afb60014 sw r22,0x0014(r29) 0008695c: afbe0018 sw r30,0x0018(r29) 00086960: 0c01ebd1 jal 0x0007af44 00086964: afa2001c sw r2,0x001c(r29) 00086968: 26b50001 addiu r21,r21,0x0001 0008696c: 2aa20004 slti r2,r21,0x0004 00086970: 1440ffde bne r2,r0,0x000868ec 00086974: 26940004 addiu r20,r20,0x0004 00086978: 0c011298 jal 0x00044a60 0008697c: 00000000 nop 00086980: 02402021 addu r4,r18,r0 00086984: 34060003 ori r6,r0,0x0003 00086988: 8e630128 lw r3,0x0128(r19) 0008698c: 90850003 lbu r5,0x0003(r4) 00086990: 8faa0040 lw r10,0x0040(r29) 00086994: 27a70020 addiu r7,r29,0x0020 00086998: afbe0018 sw r30,0x0018(r29) 0008699c: 00031880 sll r3,r3,0x02 000869a0: afaa0010 sw r10,0x0010(r29) 000869a4: 8faa0048 lw r10,0x0048(r29) 000869a8: 00431021 addu r2,r2,r3 000869ac: afa2001c sw r2,0x001c(r29) #store ? in stack 000869b0: 0c01ebd1 jal 0x0007af44 000869b4: afaa0014 sw r10,0x0014(r29) 000869b8: 26f70001 addiu r23,r23,0x0001 000869bc: 2ae20004 slti r2,r23,0x0004 000869c0: 10400042 beq r2,r0,0x00086acc 000869c4: 00000000 nop 000869c8: 080219f3 j 0x000867cc 000869cc: 00000000 nop 000869d0: 0000b821 addu r23,r0,r0 000869d4: 00111400 sll r2,r17,0x10 000869d8: 00028c03 sra r17,r2,0x10 000869dc: 8faa0038 lw r10,0x0038(r29) 000869e0: 3c038009 lui r3,0x8009 000869e4: 24634548 addiu r3,r3,0x4548 000869e8: 000a1100 sll r2,r10,0x04 000869ec: 00438021 addu r16,r2,r3 000869f0: 8e020000 lw r2,0x0000(r16) 000869f4: 00000000 nop 000869f8: 1040001b beq r2,r0,0x00086a68 000869fc: 2442ffff addiu r2,r2,0xffff 00086a00: 00021840 sll r3,r2,0x01 00086a04: 00621821 addu r3,r3,r2 00086a08: 00031900 sll r3,r3,0x04 00086a0c: 02632021 addu r4,r19,r3 00086a10: 94820208 lhu r2,0x0208(r4) 00086a14: 00000000 nop 00086a18: 10400028 beq r2,r0,0x00086abc 00086a1c: 00000000 nop 00086a20: 8c92022c lw r18,0x022c(r4) 00086a24: 0c011298 jal 0x00044a60 00086a28: 00000000 nop 00086a2c: 00003021 addu r6,r0,r0 00086a30: 27a70020 addiu r7,r29,0x0020 00086a34: 00141c00 sll r3,r20,0x10 00086a38: 00031c03 sra r3,r3,0x10 00086a3c: 8e680128 lw r8,0x0128(r19) 00086a40: 92450003 lbu r5,0x0003(r18) 00086a44: 02402021 addu r4,r18,r0 00086a48: afa30014 sw r3,0x0014(r29) 00086a4c: 27a30030 addiu r3,r29,0x0030 00086a50: 00084080 sll r8,r8,0x02 00086a54: 00481021 addu r2,r2,r8 00086a58: afb10010 sw r17,0x0010(r29) 00086a5c: afa30018 sw r3,0x0018(r29) 00086a60: 08021aad j 0x00086ab4 00086a64: afa2001c sw r2,0x001c(r29) 00086a68: 8e720204 lw r18,0x0204(r19) 00086a6c: 0c011298 jal 0x00044a60 00086a70: 00000000 nop 00086a74: 00003021 addu r6,r0,r0 00086a78: 27a70020 addiu r7,r29,0x0020 00086a7c: 27a30030 addiu r3,r29,0x0030 00086a80: 8e690128 lw r9,0x0128(r19) 00086a84: 02402021 addu r4,r18,r0 00086a88: 92450003 lbu r5,0x0003(r18) 00086a8c: 00094880 sll r9,r9,0x02 00086a90: afb10010 sw r17,0x0010(r29) 00086a94: 966801f0 lhu r8,0x01f0(r19) 00086a98: 00491021 addu r2,r2,r9 00086a9c: afa30018 sw r3,0x0018(r29) 00086aa0: afa2001c sw r2,0x001c(r29) 00086aa4: 02884026 xor r8,r20,r8 00086aa8: 00084400 sll r8,r8,0x10 00086aac: 00084403 sra r8,r8,0x10 00086ab0: afa80014 sw r8,0x0014(r29) 00086ab4: 0c01ebd1 jal 0x0007af44 00086ab8: 00000000 nop 00086abc: 26f70001 addiu r23,r23,0x0001 00086ac0: 2ae20004 slti r2,r23,0x0004 00086ac4: 1440ffca bne r2,r0,0x000869f0 00086ac8: 26100004 addiu r16,r16,0x0004 00086acc: 92620298 lbu r2,0x0298(r19) 00086ad0: 00000000 nop 00086ad4: 10400008 beq r2,r0,0x00086af8 00086ad8: 00000000 nop 00086adc: 0c011298 jal 0x00044a60 00086ae0: 00000000 nop 00086ae4: 8e650128 lw r5,0x0128(r19) 00086ae8: 02602021 addu r4,r19,r0 00086aec: 00052880 sll r5,r5,0x02 00086af0: 0c01f574 jal 0x0007d5d0 00086af4: 00452821 addu r5,r2,r5 00086af8: 8e6202e8 lw r2,0x02e8(r19) 00086afc: 00000000 nop 00086b00: 10400003 beq r2,r0,0x00086b10 00086b04: 00000000 nop 00086b08: 0c01fcab jal 0x0007f2ac 00086b0c: 02602021 addu r4,r19,r0 00086b10: 8fbf0074 lw r31,0x0074(r29) 00086b14: 8fbe0070 lw r30,0x0070(r29) 00086b18: 8fb7006c lw r23,0x006c(r29) 00086b1c: 8fb60068 lw r22,0x0068(r29) 00086b20: 8fb50064 lw r21,0x0064(r29) 00086b24: 8fb40060 lw r20,0x0060(r29) 00086b28: 8fb3005c lw r19,0x005c(r29) 00086b2c: 8fb20058 lw r18,0x0058(r29) 00086b30: 8fb10054 lw r17,0x0054(r29) 00086b34: 8fb00050 lw r16,0x0050(r29) 00086b38: 27bd0078 addiu r29,r29,0x0078 00086b3c: 03e00008 jr r31 00086b40: 00000000 nop