000f1204 - 000f2290
Jump to navigation
Jump to search
000f0be0: 27bdffd8 addiu r29,r29,0xffd8 000f0be4: 00a04021 addu r8,r5,r0 000f0be8: 00c06021 addu r12,r6,r0 000f0bec: 00e06821 addu r13,r7,r0 000f0bf0: 2484ff96 addiu r4,r4,0xff96 r4 - 0x70? 000f0bf4: 2c820034 sltiu r2,r4,0x0034 set if r4-70 is < 0x34 000f0bf8: afbf0020 sw r31,0x0020(r29) 000f0bfc: afb1001c sw r17,0x001c(r29) 000f0c00: 10400179 beq r2,r0,0x000f11e8 jump to end, return r17 in r2 000f0c04: afb00018 sw r16,0x0018(r29) 000f0c08: 00041080 sll r2,r4,0x02 r4 - 0x70 * 4 000f0c0c: 3c01800e lui r1,0x800e 000f0c10: 00220821 addu r1,r1,r2 000f0c14: 8c226c98 lw r2,0x6c98(r1) load return address 000f0c18: 00000000 nop 000f0c1c: 00400008 jr r2 000f0c20: 00000000 nop 000f0c24: 00081080 sll r2,r8,0x02 r5(input) * 4 000f0c28: 00481021 addu r2,r2,r8 r5*4 + r5 000f0c2c: 00021080 sll r2,r2,0x02 (r5*4 + r5)*4 000f0c30: 3c018012 lui r1,0x8012 000f0c34: 00220821 addu r1,r1,r2 000f0c38: 90311d8f lbu r17,0x1d8f(r1) 000f0c3c: 0803c47b j 0x000f11ec jump to end, return r17 in r2 000f0c40: 02201021 addu r2,r17,r0 000f0c44: 00081080 sll r2,r8,0x02 r5(input) * 4 000f0c48: 00481021 addu r2,r2,r8 r5*4 + r5 000f0c4c: 00021880 sll r3,r2,0x02 (r5*4 + r5)*4 000f0c50: 3c018012 lui r1,0x8012 000f0c54: 00230821 addu r1,r1,r3 000f0c58: 90221d8a lbu r2,0x1d8a(r1) load ? 000f0c5c: 00000000 nop 000f0c60: 1440000b bne r2,r0,0x000f0c90 jump if ?? not zero 000f0c64: 00081080 sll r2,r8,0x02 r5(input) * 4 000f0c68: 3c01800f lui r1,0x800f 000f0c6c: 00280821 addu r1,r1,r8 000f0c70: 90226d4c lbu r2,0x6d4c(r1) load ?? 000f0c74: 00000000 nop 000f0c78: 10400004 beq r2,r0,0x000f0c8c 000f0c7c: 00000000 nop 000f0c80: 3c018012 lui r1,0x8012 000f0c84: 00230821 addu r1,r1,r3 0x80121d8a + (r5*4 + r5)*4 000f0c88: a0221d8a sb r2,0x1d8a(r1) store ?? 000f0c8c: 00081080 sll r2,r8,0x02 r5(input) * 4 000f0c90: 00481021 addu r2,r2,r8 r5*4 + r5 000f0c94: 00022080 sll r4,r2,0x02 (r5*4 + r5)*4 000f0c98: 3c018012 lui r1,0x8012 000f0c9c: 00240821 addu r1,r1,r4 0x80121d8a + (r5*4 + r5)*4 000f0ca0: 90231d8a lbu r3,0x1d8a(r1) load ?? 000f0ca4: 00000000 nop 000f0ca8: 1060003b beq r3,r0,0x000f0d98 branch if zero 000f0cac: 2862001e slti r2,r3,0x001e 000f0cb0: 14400006 bne r2,r0,0x000f0ccc branch if less than 0x1e (30) 000f0cb4: 00081040 sll r2,r8,0x01 r2 = r5*2 000f0cb8: 28620083 slti r2,r3,0x0083 000f0cbc: 10400036 beq r2,r0,0x000f0d98 branch if less than 0x83 (131) 000f0cc0: 28620080 slti r2,r3,0x0080 000f0cc4: 14400034 bne r2,r0,0x000f0d98 branch if less than 0x80 (128) 000f0cc8: 00081040 sll r2,r8,0x01 r2 = r5*2 000f0ccc: 00481021 addu r2,r2,r8 r5*2 + r5 000f0cd0: 3c018012 lui r1,0x8012 000f0cd4: 00240821 addu r1,r1,r4 0x80121d84 + (r5*4 + r5)*4 000f0cd8: 94231d84 lhu r3,0x1d84(r1) 000f0cdc: 000210c0 sll r2,r2,0x03 (r5*2 + r5)*8 000f0ce0: 3c01800f lui r1,0x800f 000f0ce4: 00220821 addu r1,r1,r2 000f0ce8: a4236dc0 sh r3,0x6dc0(r1) store (0x80121d84 + (r5*4 + r5)*4) into (0x800f6dc0 + (r5*2 + r5)*8) 000f0cec: 3c018012 lui r1,0x8012 000f0cf0: 00240821 addu r1,r1,r4 000f0cf4: 94231d86 lhu r3,0x1d86(r1) 000f0cf8: 3c01800f lui r1,0x800f 000f0cfc: 00220821 addu r1,r1,r2 000f0d00: a4236dc2 sh r3,0x6dc2(r1) 0x80121d86 + (r5*4 + r5)*4 into (0x800f6dc2 + (r5*2 + r5)*8) 000f0d04: 3c018012 lui r1,0x8012 000f0d08: 00240821 addu r1,r1,r4 000f0d0c: 94231d80 lhu r3,0x1d80(r1) 000f0d10: 3c01800f lui r1,0x800f 000f0d14: 00220821 addu r1,r1,r2 000f0d18: a4236dc8 sh r3,0x6dc8(r1) 000f0d1c: 3c018012 lui r1,0x8012 000f0d20: 00240821 addu r1,r1,r4 000f0d24: 94231d82 lhu r3,0x1d82(r1) 000f0d28: 3c01800f lui r1,0x800f 000f0d2c: 00220821 addu r1,r1,r2 000f0d30: a4236dca sh r3,0x6dca(r1) 000f0d34: 3c018012 lui r1,0x8012 000f0d38: 00240821 addu r1,r1,r4 000f0d3c: 94231d7c lhu r3,0x1d7c(r1) 000f0d40: 3c01800f lui r1,0x800f 000f0d44: 00220821 addu r1,r1,r2 000f0d48: a4236dc4 sh r3,0x6dc4(r1) 000f0d4c: 3c018012 lui r1,0x8012 000f0d50: 00240821 addu r1,r1,r4 000f0d54: 94231d7e lhu r3,0x1d7e(r1) 000f0d58: 3c01800f lui r1,0x800f 000f0d5c: 00220821 addu r1,r1,r2 000f0d60: a4236dc6 sh r3,0x6dc6(r1) 000f0d64: 34020001 ori r2,r0,0x0001 000f0d68: 3c018012 lui r1,0x8012 000f0d6c: 00240821 addu r1,r1,r4 000f0d70: a0221d8f sb r2,0x1d8f(r1) 000f0d74: 3402007e ori r2,r0,0x007e r2 = 0x7e 000f0d78: 3c018012 lui r1,0x8012 000f0d7c: 00240821 addu r1,r1,r4 000f0d80: a0221d8e sb r2,0x1d8e(r1) store 0x7e into 80121d8e + (r5*4 + r5)*4 000f0d84: 3c018012 lui r1,0x8012 000f0d88: 00240821 addu r1,r1,r4 000f0d8c: a0201d8c sb r0,0x1d8c(r1) clear 0x80121d8c + (r5*4 + r5)*4 000f0d90: 0803c47b j 0x000f11ec 000f0d94: 02201021 addu r2,r17,r0 jump to end, return r17 000f0d98: 34040002 ori r4,r0,0x0002 r4 = 0x02 000f0d9c: 0c011280 jal 0x00044a00 jump to jr r31/nop (Removed code?) 000f0da0: 340503cd ori r5,r0,0x03cd r5 = 0x03cd