Difference between revisions of "Call Charge Skillset Loading"
Jump to navigation
Jump to search
m (Choto moved page 00182788 - 001827b0 to Call ??? Skillset Loading) |
(some notes + stack logic sorted out.) |
||
Line 4: | Line 4: | ||
001827b4: [[001827b4 - 001827ec]] | 001827b4: [[001827b4 - 001827ec]] | ||
− | 00182788: 27bdffc0 addiu r29,r29,0xffc0 | + | 00182788: 27bdffc0 addiu r29,r29,0xffc0 -0x40 |
− | 0018278c: 27a20028 addiu r2,r29,0x0028 | + | 0018278c: 27a20028 addiu r2,r29,0x0028 stack + 0x28 |
− | 00182790: 30a500ff andi r5,r5,0x00ff | + | 00182790: 30a500ff andi r5,r5,0x00ff primary skillset (it's put through and 0xff twice throughout both of these routines...) |
− | 00182794: 27a70018 addiu r7,r29,0x0018 | + | 00182794: 27a70018 addiu r7,r29,0x0018 parse argument: Stack + 0x18 (points to 0x60 + stack in sub-routine. raw ability CT) |
− | 00182798: afbf0038 sw r31,0x0038(r29) | + | 00182798: afbf0038 sw r31,0x0038(r29) |
− | 0018279c: 0c0609ed jal 0x001827b4 [[ | + | 0018279c: 0c0609ed jal 0x001827b4 [[??? Skillset Loading]] |
− | 001827a0: afa20010 sw r2,0x0010(r29) Store 0x28 | + | 001827a0: afa20010 sw r2,0x0010(r29) Store stack + 0x28 to stack (at 0x10. points to 0x70 + stack and is stored at 0x58 in sub-routine. # turns to complete ability) |
− | 001827a4: 8fbf0038 lw r31,0x0038(r29) | + | 001827a4: 8fbf0038 lw r31,0x0038(r29) |
001827a8: 27bd0040 addiu r29,r29,0x0040 | 001827a8: 27bd0040 addiu r29,r29,0x0040 | ||
− | 001827ac: 03e00008 jr r31 | + | 001827ac: 03e00008 jr r31 |
001827b0: 00000000 nop | 001827b0: 00000000 nop | ||
</font> | </font> |
Revision as of 09:13, 18 February 2022
Call ??? Skillset Loading 182788: 00182788 - 001827b0
001827b4: 001827b4 - 001827ec 00182788: 27bdffc0 addiu r29,r29,0xffc0 -0x40 0018278c: 27a20028 addiu r2,r29,0x0028 stack + 0x28 00182790: 30a500ff andi r5,r5,0x00ff primary skillset (it's put through and 0xff twice throughout both of these routines...) 00182794: 27a70018 addiu r7,r29,0x0018 parse argument: Stack + 0x18 (points to 0x60 + stack in sub-routine. raw ability CT) 00182798: afbf0038 sw r31,0x0038(r29) 0018279c: 0c0609ed jal 0x001827b4 ??? Skillset Loading 001827a0: afa20010 sw r2,0x0010(r29) Store stack + 0x28 to stack (at 0x10. points to 0x70 + stack and is stored at 0x58 in sub-routine. # turns to complete ability) 001827a4: 8fbf0038 lw r31,0x0038(r29) 001827a8: 27bd0040 addiu r29,r29,0x0040 001827ac: 03e00008 jr r31 001827b0: 00000000 nop