00042b3c - 00042d14
Jump to navigation
Jump to search
00042b3c: 27bdffb8 addiu r29,r29,0xffb8 00042b40: afb60038 sw r22,0x0038(r29) 00042b44: 93b60058 lbu r22,0x0058(r29) 00042b48: afb7003c sw r23,0x003c(r29) 00042b4c: 93b7005c lbu r23,0x005c(r29) 00042b50: afb20028 sw r18,0x0028(r29) 00042b54: 00809021 addu r18,r4,r0 00042b58: afb10024 sw r17,0x0024(r29) 00042b5c: 00a08821 addu r17,r5,r0 00042b60: afb3002c sw r19,0x002c(r29) 00042b64: 00c09821 addu r19,r6,r0 00042b68: afbf0040 sw r31,0x0040(r29) 00042b6c: afb50034 sw r21,0x0034(r29) 00042b70: afb40030 sw r20,0x0030(r29) 00042b74: afb00020 sw r16,0x0020(r29) 00042b78: 3c058004 lui r5,0x8004 00042b7c: 24a5091c addiu r5,r5,0x091c 00042b80: 88a20003 lwl r2,0x0003(r5) 00042b84: 98a20000 lwr r2,0x0000(r5) 00042b88: 88a30007 lwl r3,0x0007(r5) 00042b8c: 98a30004 lwr r3,0x0004(r5) 00042b90: aba2001b swl r2,0x001b(r29) 00042b94: bba20018 swr r2,0x0018(r29) 00042b98: aba3001f swl r3,0x001f(r29) 00042b9c: bba3001c swr r3,0x001c(r29) 00042ba0: 00002021 addu r4,r0,r0 00042ba4: 00e0a821 addu r21,r7,r0 00042ba8: 3a3001e0 xori r16,r17,0x01e0 00042bac: 0010802b sltu r16,r0,r16 00042bb0: 00108023 subu r16,r0,r16 00042bb4: 0c00918e jal 0x00024638 SYS SetDispMask (0) 00042bb8: 321000f0 andi r16,r16,0x00f0 00042bbc: 001227c2 srl r4,r18,0x1f 00042bc0: 02442021 addu r4,r18,r4 00042bc4: 00042043 sra r4,r4,0x01 00042bc8: 00112fc2 srl r5,r17,0x1f 00042bcc: 02252821 addu r5,r17,r5 00042bd0: 0c00746a jal 0x0001d1a8 Store Screen offsets to GTE 00042bd4: 00052843 sra r5,r5,0x01 00042bd8: 0c007472 jal 0x0001d1c8 Store Projection plane distance in GTE 00042bdc: 02602021 addu r4,r19,r0 00042be0: 3c148005 lui r20,0x8005 00042be4: 2694ea14 addiu r20,r20,0xea14 draw environment 00042be8: 02802021 addu r4,r20,r0 00042bec: 00002821 addu r5,r0,r0 00042bf0: 00003021 addu r6,r0,r0 00042bf4: 02403821 addu r7,r18,r0 00042bf8: 0c008b78 jal 0x00022de0 E03 SetDefDrawEnv 00042bfc: afb10010 sw r17,0x0010(r29) 00042c00: 3c138005 lui r19,0x8005 00042c04: 2673eacc addiu r19,r19,0xeacc display environment 00042c08: 02602021 addu r4,r19,r0 00042c0c: 00002821 addu r5,r0,r0 00042c10: 02003021 addu r6,r16,r0 00042c14: 02403821 addu r7,r18,r0 00042c18: 0c008bac jal 0x00022eb0 E04 SetDefDispEnv 00042c1c: afb10010 sw r17,0x0010(r29) 00042c20: 2684005c addiu r4,r20,0x005c draw environment 2 00042c24: 00002821 addu r5,r0,r0 00042c28: 02003021 addu r6,r16,r0 00042c2c: 02403821 addu r7,r18,r0 00042c30: 0c008b78 jal 0x00022de0 E03 SetDefDrawEnv 00042c34: afb10010 sw r17,0x0010(r29) 00042c38: 26640014 addiu r4,r19,0x0014 display environment 2 00042c3c: 00002821 addu r5,r0,r0 00042c40: 00003021 addu r6,r0,r0 00042c44: 02403821 addu r7,r18,r0 00042c48: 0c008bac jal 0x00022eb0 E04 SetDefDispEnv 00042c4c: afb10010 sw r17,0x0010(r29) 00042c50: 3c038004 lui r3,0x8004 00042c54: 8c63597c lw r3,0x597c(r3) 00042c58: 34020001 ori r2,r0,0x0001 00042c5c: 3c018005 lui r1,0x8005 00042c60: a020ea86 sb r0,-0x157a(r1) 00042c64: 3c018005 lui r1,0x8005 00042c68: a020ea2a sb r0,-0x15d6(r1) 00042c6c: 3c018005 lui r1,0x8005 00042c70: a022ea88 sb r2,-0x1578(r1) 00042c74: 3c018005 lui r1,0x8005 00042c78: a022ea2c sb r2,-0x15d4(r1) 00042c7c: 3c018005 lui r1,0x8005 00042c80: a035ea2d sb r21,-0x15d3(r1) 00042c84: 3c018005 lui r1,0x8005 00042c88: a035ea89 sb r21,-0x1577(r1) 00042c8c: 00032080 sll r4,r3,0x02 00042c90: 00832021 addu r4,r4,r3 00042c94: 00042080 sll r4,r4,0x02 00042c98: 3c018005 lui r1,0x8005 00042c9c: a036ea2e sb r22,-0x15d2(r1) 00042ca0: 3c018005 lui r1,0x8005 00042ca4: a037ea2f sb r23,-0x15d1(r1) 00042ca8: 3c018005 lui r1,0x8005 00042cac: a036ea8a sb r22,-0x1576(r1) 00042cb0: 3c018005 lui r1,0x8005 00042cb4: a037ea8b sb r23,-0x1575(r1) 00042cb8: 0c0093a1 jal 0x00024e84 SYS PutDispEnv 00042cbc: 00932021 addu r4,r4,r19 00042cc0: 3c028004 lui r2,0x8004 00042cc4: 8c42597c lw r2,0x597c(r2) 00042cc8: 00000000 nop 00042ccc: 00022040 sll r4,r2,0x01 00042cd0: 00822021 addu r4,r4,r2 00042cd4: 000420c0 sll r4,r4,0x03 00042cd8: 00822023 subu r4,r4,r2 00042cdc: 00042080 sll r4,r4,0x02 00042ce0: 0c00932b jal 0x00024cac SYS PutDrawEnv 00042ce4: 00942021 addu r4,r4,r20 00042ce8: 8fbf0040 lw r31,0x0040(r29) 00042cec: 8fb7003c lw r23,0x003c(r29) 00042cf0: 8fb60038 lw r22,0x0038(r29) 00042cf4: 8fb50034 lw r21,0x0034(r29) 00042cf8: 8fb40030 lw r20,0x0030(r29) 00042cfc: 8fb3002c lw r19,0x002c(r29) 00042d00: 8fb20028 lw r18,0x0028(r29) 00042d04: 8fb10024 lw r17,0x0024(r29) 00042d08: 8fb00020 lw r16,0x0020(r29) 00042d0c: 27bd0048 addiu r29,r29,0x0048 00042d10: 03e00008 jr r31 00042d14: 00000000 nop