Map Darkness (Async)
Jump to navigation
Jump to search
801466b4: 27bdffe0 addiu r29,r29,-0x0020 801466b8: 34040006 ori r4,r0,0x0006 801466bc: afbf001c sw r31,0x001c(r29) 801466c0: 0c052752 jal 0x80149d48 # Set Thread Task ID (6); 801466c4: afb00018 sw r16,0x0018(r29) 801466c8: 0c0532f0 jal 0x8014cbc0 # params = Get First Thread Parameter 801466cc: 00000000 nop 801466d0: 00408021 addu r16,r2,r0 # params 801466d4: 82020003 lb r2,0x0003(r16) # params.Blue 801466d8: 92040000 lbu r4,0x0000(r16) # params.BlendingMode 801466dc: 92050004 lbu r5,0x0004(r16) # params.NumFrames 801466e0: 82060001 lb r6,0x0001(r16) # params.Red 801466e4: 82070002 lb r7,0x0002(r16) # params.Green 801466e8: 0c024d34 jal 0x800934d0 # Map Darkness (params.BlendingMode, params.NumFrames, params.Red, params.Green, params.Blue); 801466ec: afa20010 sw r2,0x0010(r29) # params.Blue 801466f0: 92020004 lbu r2,0x0004(r16) # params.NumFrames 801466f4: 00000000 nop 801466f8: 00021040 sll r2,r2,0x01 # params.NumFrames * 2 801466fc: 3c018017 lui r1,0x8017 80146700: 00220821 addu r1,r1,r2 80146704: 94249700 lhu r4,-0x6900(r1) # *(0x80169700 + (params.NumFrames * 2)) 80146708: 0c053216 jal 0x8014c858 # Wait (*(0x80169700 + (params.NumFrames * 2))); 8014670c: 00000000 nop 80146710: 0c053256 jal 0x8014c958 # Stop Current Thread (); 80146714: 00000000 nop 80146718: 8fbf001c lw r31,0x001c(r29) 8014671c: 8fb00018 lw r16,0x0018(r29) 80146720: 27bd0020 addiu r29,r29,0x0020 80146724: 03e00008 jr r31 80146728: 00000000 nop