Effect code script 04
Jump to navigation
Jump to search
001a22f8: 27bdffe8 addiu r29,r29,0xffe8 001a22fc: afb00010 sw r16,0x0010(r29) 001a2300: 00808021 addu r16,r4,r0 #effect temp data 001a2304: afbf0014 sw r31,0x0014(r29) 001a2308: 86020006 lh r2,0x0006(r16) 001a230c: 8e030008 lw r3,0x0008(r16) 001a2310: 00000000 nop 001a2314: 00431021 addu r2,r2,r3 001a2318: 90420001 lbu r2,0x0001(r2) #arg1 001a231c: 00000000 nop 001a2320: 000210c2 srl r2,r2,0x03 001a2324: 30420006 andi r2,r2,0x0006 #separate out 0x03 * 2 001a2328: 00501021 addu r2,r2,r16 # 001a232c: 8444000c lh r4,0x000c(r2) #load 0xc + arg1 * 2 (next effect phase?) 001a2330: 00000000 nop 001a2334: 10800003 beq r4,r0,0x001a2344 #branch if 0 001a2338: 00000000 nop 001a233c: 0c068767 jal 0x001a1d9c #Clear some data in temp effect data (increment to desired phase?) 001a2340: 00000000 nop 001a2344: 96020006 lhu r2,0x0006(r16) 001a2348: 00000000 nop 001a234c: 24420002 addiu r2,r2,0x0002 001a2350: a6020006 sh r2,0x0006(r16) #store counter + 2 001a2354: 34020001 ori r2,r0,0x0001 #return execute next instruction immediately 001a2358: 8fbf0014 lw r31,0x0014(r29) 001a235c: 8fb00010 lw r16,0x0010(r29) 001a2360: 27bd0018 addiu r29,r29,0x0018 001a2364: 03e00008 jr r31 001a2368: 00000000 nop