Build ZODIAC.BIN image
(Redirected from 00044e80 - 00045130)
Jump to navigation
Jump to search
00044e80: 3c028004 lui r2,0x8004 00044e84: 90427595 lbu r2,0x7595(r2) 00044e88: 27bdffb0 addiu r29,r29,0xffb0 00044e8c: afb1002c sw r17,0x002c(r29) 00044e90: 00808821 addu r17,r4,r0 00044e94: afb00028 sw r16,0x0028(r29) 00044e98: 00a08021 addu r16,r5,r0 00044e9c: afb40038 sw r20,0x0038(r29) 00044ea0: 0000a021 addu r20,r0,r0 00044ea4: afbf0048 sw r31,0x0048(r29) 00044ea8: afb70044 sw r23,0x0044(r29) 00044eac: afb60040 sw r22,0x0040(r29) 00044eb0: afb5003c sw r21,0x003c(r29) 00044eb4: afb30034 sw r19,0x0034(r29) 00044eb8: 1840006c blez r2,0x0004506c 00044ebc: afb20030 sw r18,0x0030(r29) 00044ec0: 3c1600ff lui r22,0x00ff 00044ec4: 36d6ffff ori r22,r22,0xffff 00044ec8: 3c17ff00 lui r23,0xff00 00044ecc: 0000a821 addu r21,r0,r0 00044ed0: 00009821 addu r19,r0,r0 00044ed4: 24b20006 addiu r18,r5,0x0006 00044ed8: 0c008f47 jal 0x00023d1c P17 SetPolyFT4 00044edc: 02002021 addu r4,r16,r0 00044ee0: 00002021 addu r4,r0,r0 00044ee4: 0c008e95 jal 0x00023a54 P01 GetClut 00044ee8: 340501fd ori r5,r0,0x01fd 3 rows from the very bottom of the CLUT (appears to be ZODIAC.BIN CLUT) 00044eec: a6420008 sh r2,0x0008(r18) 00044ef0: 92220004 lbu r2,0x0004(r17) 00044ef4: 00000000 nop 00044ef8: a242fffe sb r2,-0x0002(r18) 00044efc: 92220004 lbu r2,0x0004(r17) 00044f00: 02002021 addu r4,r16,r0 00044f04: a242ffff sb r2,-0x0001(r18) 00044f08: 92220004 lbu r2,0x0004(r17) 00044f0c: 34050001 ori r5,r0,0x0001 00044f10: 0c008f1a jal 0x00023c68 P10 SetSemiTrans semi transparent 00044f14: a2420000 sb r2,0x0000(r18) 00044f18: 02002021 addu r4,r16,r0 00044f1c: 0c008f24 jal 0x00023c90 P11 SetShadeTex not shade textured 00044f20: 00002821 addu r5,r0,r0 00044f24: 3c018004 lui r1,0x8004 00044f28: 00330821 addu r1,r1,r19 00044f2c: 84267520 lh r6,0x7520(r1) 00044f30: 8622000c lh r2,0x000c(r17) 00044f34: 00000000 nop 00044f38: 00c20018 mult r6,r2 00044f3c: 3c018004 lui r1,0x8004 00044f40: 00330821 addu r1,r1,r19 00044f44: 84237522 lh r3,0x7522(r1) 00044f48: 00003012 mflo r6 00044f4c: 8622000e lh r2,0x000e(r17) 00044f50: 00000000 nop 00044f54: 00620018 mult r3,r2 00044f58: 00001812 mflo r3 00044f5c: 04c10002 bgez r6,0x00044f68 00044f60: 00c01021 addu r2,r6,r0 00044f64: 24c20fff addiu r2,r6,0x0fff 00044f68: 00021303 sra r2,r2,0x0c 00044f6c: 00021300 sll r2,r2,0x0c 00044f70: 00c21023 subu r2,r6,r2 00044f74: 28420800 slti r2,r2,0x0800 00044f78: 14400002 bne r2,r0,0x00044f84 00044f7c: 00000000 nop 00044f80: 24c60001 addiu r6,r6,0x0001 00044f84: 04610002 bgez r3,0x00044f90 00044f88: 00601021 addu r2,r3,r0 00044f8c: 24620fff addiu r2,r3,0x0fff 00044f90: 00021303 sra r2,r2,0x0c 00044f94: 00021300 sll r2,r2,0x0c 00044f98: 00621023 subu r2,r3,r2 00044f9c: 28420800 slti r2,r2,0x0800 00044fa0: 14400002 bne r2,r0,0x00044fac 00044fa4: 00000000 nop 00044fa8: 24630001 addiu r3,r3,0x0001 00044fac: 04c10002 bgez r6,0x00044fb8 00044fb0: 00c01021 addu r2,r6,r0 00044fb4: 24c20fff addiu r2,r6,0x0fff 00044fb8: 00023303 sra r6,r2,0x0c 00044fbc: 04610002 bgez r3,0x00044fc8 00044fc0: 00601021 addu r2,r3,r0 00044fc4: 24620fff addiu r2,r3,0x0fff 00044fc8: 00021b03 sra r3,r2,0x0c 00044fcc: 02002021 addu r4,r16,r0 00044fd0: 3c058004 lui r5,0x8004 00044fd4: 24a573bc addiu r5,r5,0x73bc 00044fd8: 27a20018 addiu r2,r29,0x0018 00044fdc: a7a60018 sh r6,0x0018(r29) 00044fe0: a7a3001a sh r3,0x001a(r29) 00044fe4: afa20010 sw r2,0x0010(r29) 00044fe8: 26220018 addiu r2,r17,0x0018 00044fec: 3c078004 lui r7,0x8004 00044ff0: 24e773c4 addiu r7,r7,0x73c4 00044ff4: 3c068004 lui r6,0x8004 00044ff8: 24c673b4 addiu r6,r6,0x73b4 00044ffc: 02a73821 addu r7,r21,r7 00045000: 0c0112e8 jal 0x00044ba0 00044ba0 - 00044e7c 00045004: afa20014 sw r2,0x0014(r29) 00045008: 8e220008 lw r2,0x0008(r17) 0004500c: 00000000 nop 00045010: 10400010 beq r2,r0,0x00045054 00045014: 26b5000c addiu r21,r21,0x000c 00045018: 26520028 addiu r18,r18,0x0028 0004501c: 8e220000 lw r2,0x0000(r17) 00045020: 8e030000 lw r3,0x0000(r16) 00045024: 8c420000 lw r2,0x0000(r2) 00045028: 00771824 and r3,r3,r23 0004502c: 00561024 and r2,r2,r22 00045030: 00621825 or r3,r3,r2 00045034: ae030000 sw r3,0x0000(r16) 00045038: 8e230000 lw r3,0x0000(r17) 0004503c: 02162024 and r4,r16,r22 00045040: 8c620000 lw r2,0x0000(r3) 00045044: 26100028 addiu r16,r16,0x0028 00045048: 00571024 and r2,r2,r23 0004504c: 00441025 or r2,r2,r4 00045050: ac620000 sw r2,0x0000(r3) 00045054: 3c028004 lui r2,0x8004 00045058: 90427595 lbu r2,0x7595(r2) 0004505c: 26940001 addiu r20,r20,0x0001 00045060: 0282102a slt r2,r20,r2 00045064: 1440ff9c bne r2,r0,0x00044ed8 00045068: 26730004 addiu r19,r19,0x0004 0004506c: 0c008f42 jal 0x00023d08 P16 SetPolyF4 00045070: 02002021 addu r4,r16,r0 00045074: 02002021 addu r4,r16,r0 00045078: 34050001 ori r5,r0,0x0001 0004507c: 34020008 ori r2,r0,0x0008 00045080: a2020004 sb r2,0x0004(r16) 00045084: a2020005 sb r2,0x0005(r16) 00045088: 0c008f1a jal 0x00023c68 P10 SetSemiTrans 0004508c: a2020006 sb r2,0x0006(r16) 00045090: 02002021 addu r4,r16,r0 00045094: 0c008f24 jal 0x00023c90 P11 SetShadeTex 00045098: 00002821 addu r5,r0,r0 0004509c: 3c0400ff lui r4,0x00ff 000450a0: 3484ffff ori r4,r4,0xffff 000450a4: 340200ff ori r2,r0,0x00ff 000450a8: 3c05ff00 lui r5,0xff00 000450ac: a6000008 sh r0,0x0008(r16) 000450b0: a600000a sh r0,0x000a(r16) 000450b4: a6020010 sh r2,0x0010(r16) 000450b8: a6000012 sh r0,0x0012(r16) 000450bc: a6000018 sh r0,0x0018(r16) 000450c0: a602001a sh r2,0x001a(r16) 000450c4: a6020020 sh r2,0x0020(r16) 000450c8: a6020022 sh r2,0x0022(r16) 000450cc: 8e220000 lw r2,0x0000(r17) 000450d0: 8e030000 lw r3,0x0000(r16) 000450d4: 8c420000 lw r2,0x0000(r2) 000450d8: 00651824 and r3,r3,r5 000450dc: 00441024 and r2,r2,r4 000450e0: 00621825 or r3,r3,r2 000450e4: ae030000 sw r3,0x0000(r16) 000450e8: 8e230000 lw r3,0x0000(r17) 000450ec: 00000000 nop 000450f0: 8c620000 lw r2,0x0000(r3) 000450f4: 02042024 and r4,r16,r4 000450f8: 00451024 and r2,r2,r5 000450fc: 00441025 or r2,r2,r4 00045100: ac620000 sw r2,0x0000(r3) 00045104: 8fbf0048 lw r31,0x0048(r29) 00045108: 8fb70044 lw r23,0x0044(r29) 0004510c: 8fb60040 lw r22,0x0040(r29) 00045110: 8fb5003c lw r21,0x003c(r29) 00045114: 8fb40038 lw r20,0x0038(r29) 00045118: 8fb30034 lw r19,0x0034(r29) 0004511c: 8fb20030 lw r18,0x0030(r29) 00045120: 8fb1002c lw r17,0x002c(r29) 00045124: 8fb00028 lw r16,0x0028(r29) 00045128: 27bd0050 addiu r29,r29,0x0050 0004512c: 03e00008 jr r31 00045130: 00000000 nop