Difference between revisions of "JOBSTTS.OUT Calculate Base Job"
Jump to navigation
Jump to search
(Created page with " 001e0168: 00042400 sll r4,r4,0x10 001e016c: 00042383 sra r4,r4,0x0e 001e0170: 3c018020 lui r1,0x8020 001e0174: 00240821 addu r1,r1,r4 001e0178: 8c24a7f8 lw r4,-0x5808(r1)...") |
|||
Line 1: | Line 1: | ||
001e0168: 00042400 sll r4,r4,0x10 | 001e0168: 00042400 sll r4,r4,0x10 | ||
− | 001e016c: 00042383 sra r4,r4,0x0e | + | 001e016c: 00042383 sra r4,r4,0x0e int * 4 |
001e0170: 3c018020 lui r1,0x8020 | 001e0170: 3c018020 lui r1,0x8020 | ||
− | 001e0174: 00240821 addu r1,r1,r4 | + | 001e0174: 00240821 addu r1,r1,r4 |
− | 001e0178: 8c24a7f8 lw r4,-0x5808(r1) | + | 001e0178: 8c24a7f8 lw r4,-0x5808(r1) jobstts.out unit data pointer |
001e017c: 00000000 nop | 001e017c: 00000000 nop | ||
− | 001e0180: 90830007 lbu r3,0x0007(r4) | + | 001e0180: 90830007 lbu r3,0x0007(r4) load unit base job |
001e0184: 34020082 ori r2,r0,0x0082 | 001e0184: 34020082 ori r2,r0,0x0082 | ||
− | 001e0188: 14620004 bne r3,r2,0x001e019c | + | 001e0188: 14620004 bne r3,r2,0x001e019c branch if not monster |
001e018c: 00000000 nop | 001e018c: 00000000 nop | ||
− | 001e0190: 84830000 lh r3,0x0000(r4) | + | 001e0190: 84830000 lh r3,0x0000(r4) load monster's. well. job. |
001e0194: 0807806b j 0x001e01ac | 001e0194: 0807806b j 0x001e01ac | ||
001e0198: 00000000 nop | 001e0198: 00000000 nop | ||
001e019c: 2c620080 sltiu r2,r3,0x0080 | 001e019c: 2c620080 sltiu r2,r3,0x0080 | ||
− | 001e01a0: 14400002 bne r2,r0,0x001e01ac | + | 001e01a0: 14400002 bne r2,r0,0x001e01ac branch if generic unit |
001e01a4: 00000000 nop | 001e01a4: 00000000 nop | ||
− | 001e01a8: 3403004a ori r3,r0,0x004a | + | 001e01a8: 3403004a ori r3,r0,0x004a else return squire |
001e01ac: 03e00008 jr r31 | 001e01ac: 03e00008 jr r31 | ||
− | 001e01b0: 00601021 addu r2,r3,r0 | + | 001e01b0: 00601021 addu r2,r3,r0 return base job |
Revision as of 10:32, 25 May 2024
001e0168: 00042400 sll r4,r4,0x10 001e016c: 00042383 sra r4,r4,0x0e int * 4 001e0170: 3c018020 lui r1,0x8020 001e0174: 00240821 addu r1,r1,r4 001e0178: 8c24a7f8 lw r4,-0x5808(r1) jobstts.out unit data pointer 001e017c: 00000000 nop 001e0180: 90830007 lbu r3,0x0007(r4) load unit base job 001e0184: 34020082 ori r2,r0,0x0082 001e0188: 14620004 bne r3,r2,0x001e019c branch if not monster 001e018c: 00000000 nop 001e0190: 84830000 lh r3,0x0000(r4) load monster's. well. job. 001e0194: 0807806b j 0x001e01ac 001e0198: 00000000 nop 001e019c: 2c620080 sltiu r2,r3,0x0080 001e01a0: 14400002 bne r2,r0,0x001e01ac branch if generic unit 001e01a4: 00000000 nop 001e01a8: 3403004a ori r3,r0,0x004a else return squire 001e01ac: 03e00008 jr r31 001e01b0: 00601021 addu r2,r3,r0 return base job