Difference between revisions of "??? effect research"
Jump to navigation
Jump to search
(Created page with " Load ability effect: called from 73f68 001a1810: 00000000 nop 001a1814: 2482fe6b addiu r2,r4,0xfe6b 001a1818: 2c420009 sltiu r2,r2,0x0009 001a181c: 1440000b bne r2,r0,0x...") |
|||
Line 2: | Line 2: | ||
Load ability effect: called from 73f68 | Load ability effect: called from 73f68 | ||
001a1810: 00000000 nop | 001a1810: 00000000 nop | ||
− | 001a1814: 2482fe6b addiu r2,r4,0xfe6b | + | 001a1814: 2482fe6b addiu r2,r4,0xfe6b Ability ID - 0x195 |
− | 001a1818: 2c420009 sltiu r2,r2,0x0009 | + | 001a1818: 2c420009 sltiu r2,r2,0x0009 set true if ID < 0x19E |
− | 001a181c: 1440000b bne r2,r0,0x001a184c | + | 001a181c: 1440000b bne r2,r0,0x001a184c Branch if ability ID > 0x19E (aim, arith, + RSM) |
− | 001a1820: 00001021 addu r2,r0,r0 | + | 001a1820: 00001021 addu r2,r0,r0 r2 = 0 |
− | 001a1824: 34020092 ori r2,r0,0x0092 | + | 001a1824: 34020092 ori r2,r0,0x0092 r2 = 0x92 |
− | 001a1828: 14820003 bne r4,r2,0x001a1838 | + | 001a1828: 14820003 bne r4,r2,0x001a1838 branch if ability ID is not 0x92 (squire's +PA skill?) |
− | 001a182c: 00041040 sll r2,r4,0x01 | + | 001a182c: 00041040 sll r2,r4,0x01 r2 = ability ID * 2 |
− | 001a1830: 08068613 j 0x001a184c | + | 001a1830: 08068613 j 0x001a184c @jump to end |
− | 001a1834: 00001021 addu r2,r0,r0 | + | 001a1834: 00001021 addu r2,r0,r0 r2 = 0 |
001a1838: 3c01801b lui r1,0x801b | 001a1838: 3c01801b lui r1,0x801b | ||
− | 001a183c: 00220821 addu r1,r1,r2 | + | 001a183c: 00220821 addu r1,r1,r2 |
− | 001a1840: 842263f0 lh r2,0x63f0(r1) load effect | + | 001a1840: 842263f0 lh r2,0x63f0(r1) load ability effect |
001a1844: 00000000 nop | 001a1844: 00000000 nop | ||
− | 001a1848: 000217c2 srl r2,r2,0x1f effect ID / 2^5 billion | + | 001a1848: 000217c2 srl r2,r2,0x1f effect ID / 2^5 billion (effectively makes the answer 0. which means this routine always returns 0?) |
− | 001a184c: 03e00008 jr r31 | + | 001a184c: 03e00008 jr r31 @ |
001a1850: 00000000 nop | 001a1850: 00000000 nop |
Revision as of 03:42, 25 October 2021
Load ability effect: called from 73f68 001a1810: 00000000 nop 001a1814: 2482fe6b addiu r2,r4,0xfe6b Ability ID - 0x195 001a1818: 2c420009 sltiu r2,r2,0x0009 set true if ID < 0x19E 001a181c: 1440000b bne r2,r0,0x001a184c Branch if ability ID > 0x19E (aim, arith, + RSM) 001a1820: 00001021 addu r2,r0,r0 r2 = 0 001a1824: 34020092 ori r2,r0,0x0092 r2 = 0x92 001a1828: 14820003 bne r4,r2,0x001a1838 branch if ability ID is not 0x92 (squire's +PA skill?) 001a182c: 00041040 sll r2,r4,0x01 r2 = ability ID * 2 001a1830: 08068613 j 0x001a184c @jump to end 001a1834: 00001021 addu r2,r0,r0 r2 = 0 001a1838: 3c01801b lui r1,0x801b 001a183c: 00220821 addu r1,r1,r2 001a1840: 842263f0 lh r2,0x63f0(r1) load ability effect 001a1844: 00000000 nop 001a1848: 000217c2 srl r2,r2,0x1f effect ID / 2^5 billion (effectively makes the answer 0. which means this routine always returns 0?) 001a184c: 03e00008 jr r31 @ 001a1850: 00000000 nop