Mark Thread As Stopped (WORLD.BIN)
Revision as of 14:19, 1 July 2020 by Glain (talk | contribs) (Created page with " # ROUTINE: Mark Thread As Stopped (WORLD.BIN) # Analog to Mark Thread As Stopped in BATTLE.BIN. # Mark the specified thread as not in use. # Parame...")
# ROUTINE: Mark Thread As Stopped (WORLD.BIN) # Analog to Mark Thread As Stopped in BATTLE.BIN. # Mark the specified thread as not in use. # Parameters: # r4 = (threadIndex) Specified thread index 800ffe10: 3c028015 lui r2,0x8015 800ffe14: 8c42327c lw r2,0x327c(r2) # threads 800ffe18: 00042280 sll r4,r4,0x0a # threadIndex * sizeof(thread) 800ffe1c: 00822021 addu r4,r4,r2 # threads[threadIndex] 800ffe20: 03e00008 jr r31 800ffe24: ac800048 sw r0,0x0048(r4) # threads[threadIndex].isRunning = false