0014c958 - 0014c990
Jump to navigation
Jump to search
Stop current running thread ans seek another one to run ----------------------------------------------------------------------------------------- 0014c958: 3c028017 lui r2,0x8017 | 0014c95c: 8c424038 lw r2,0x4038(r2) |r2 = Currently running thread 0x80174038 0014c960: 3c038016 lui r3,0x8016 | 0014c964: 8c635f98 lw r3,0x5f98(r3) |£r3 = 8016986c - Thread array data pointer 0x80165f98 0014c968: 27bdffe8 addiu r29,r29,-0x0018 | 0014c96c: afbf0010 sw r31,0x0010(r29) | 0014c970: 00021280 sll r2,r2,0x0a |r2 = Running thread * 0x400 (size of thread data) 0014c974: 00431021 addu r2,r2,r3 |£r2 = Running thread's Array data pointer 0014c978: ac400048 sw r0,0x0048(r2) |Store 0x00 in Thread's Is running value (not currently active) 0014c97c: 0c0532a0 jal 0x0014ca80 |-->Some_event_data_setting_routine Seek and run a new thread 0014c980: ac40004c sw r0,0x004c(r2) |Store 0x00 in Thread's Task ID 0014c984: 8fbf0010 lw r31,0x0010(r29) | 0014c988: 27bd0018 addiu r29,r29,0x0018 | 0014c98c: 03e00008 jr r31 0014c990: 00000000 nop
Return locations
Battle.bin 0012dd84: 0012e570: 0012e63c: 0012ec68: 0012edcc: 0012f0fc: 001327f0: 001346c8: 001360f4: 00136adc: 00137078: 00137b5c: 00138ea4: 00139094: 0013aea8: 0013b254: 0013b4d4: 0013b57c: 0013bca8: 0013bd50: 0013bf10: 0013c118: 0013c220: 0013c274: 0013c2fc: 0013c314: 0013c394: 0013c554: 0013c654: 0013c700: 0013c888: 0013cd30: 0013cf40: 0013d220: 0013d9d4: 0013df7c: 0013e8f4: 0013edb4: 0013ef8c: 0013f9b4: 0013f9f0: 001403f8: 0014041c: 00140498: 001407f8: 00140878: 00140968: 00140a20: 00140a88: 00140ad4: 00140aec: 00140b68: 00140cac: 00140e9c: 00141138: 00141518: 001415dc: 0014163c: 00141708: 0014448c: 00145f44: 00146680: 00146718: 00146920: 00146d5c: 00146e24: 00146f10: 00146f4c: 001472bc: 00148f0c: 001490d8: 00149b08: 00149c34: 00149ca8: 00149eac: 0014a170: 0014a384: 0014a2ec_-_0014a398 0014a3e0: