Reaction check
Jump to navigation
Jump to search
Reaction check r4 = unit data 0018c9a0: 3c028019 lui r2,0x8019 0018c9a4: 944238c6 lhu r2,0x38c6(r2) load reaction ID 0018c9a8: 00000000 nop 0018c9ac: 10400006 beq r2,r0,0x 0018c9c8 branch if no reaction 0018c9b0: 00000000 nop 0018c9b4: 3c028019 lui r2,0x8019 0018c9b8: 944238c8 lhu r2,0x38c8(r2) load post action flags? 0018c9bc: 00000000 nop 0018c9c0: 10400006 beq r2,r0,0x 0018c9dc branch if ?? = 0, return r2= 01 0018c9c4: 34020001 ori r2,r0,0x0001 0018c9c8: 8482019a lh r2,0x019a(r4) load reaction ID 0018c9cc: 00000000 nop 0018c9d0: 10400002 beq r2,r0,0x 0018c9dc return r2 = 0 if no reaction ID 0018c9d4: 00000000 nop 0018c9d8: 34020002 ori r2,r0,0x0002 return r2 = 0x02 if self reaction 0018c9dc: 03e00008 jr r31 0018c9e0: 00000000 nop