BUNIT.OUT Get generic job index
Jump to navigation
Jump to search
see also: JOBSTTS.OUT Get generic job index find: the world routine that does the same thing
001c71a8: 2482ffb6 addiu r2,r4,-0x004a job - 4a 001c71ac: 3042ffff andi r2,r2,0xffff 001c71b0: 2c420014 sltiu r2,r2,0x0014 001c71b4: 10400003 beq r2,r0,0x001c71c4 branch if currently unique job 001c71b8: 00000000 nop 001c71bc: 08071c72 j 0x001c71c8 if generic job, return proper index 001c71c0: 2482ffb6 addiu r2,r4,-0x004a 001c71c4: 00001021 addu r2,r0,r0 job index = 0 001c71c8: 00021400 sll r2,r2,0x10 001c71cc: 03e00008 jr r31 return job index of current job 001c71d0: 00021403 sra r2,r2,0x10