000187dc - 00018854

From Final Fantasy Hacktics Wiki
Jump to navigation Jump to search

000187dc: 3c028003 lui r2,0x8003
000187e0: 8c42ad40 lw r2,-0x52c0(r2)
000187e4: 27bdffe8 addiu r29,r29,0xffe8
000187e8: 14400017 bne r2,r0,0x00018848
000187ec: afbf0010 sw r31,0x0010(r29)
000187f0: 34020001 ori r2,r0,0x0001
000187f4: 3c018003 lui r1,0x8003
000187f8: ac22ad40 sw r2,-0x52c0(r1)
000187fc: 0c00880d jal 0x00022034              Enter Critical Section
00018800: 00000000 nop
00018804: 3c048002 lui r4,0x8002
00018808: 24848cb8 addiu r4,r4,0x8cb8          spu callback == 00018cb8 - 00018d84
0001880c: 0c006501 jal 0x00019404              _spuDataCallback
00018810: 00000000 nop
00018814: 3c04f000 lui r4,0xf000
00018818: 34840009 ori r4,r4,0x0009            cause == IRQ 9 SPU
0001881c: 34050020 ori r5,r0,0x0020            command completed
00018820: 34062000 ori r6,r0,0x2000            no function
00018824: 0c0087dd jal 0x00021f74              OpenEvent
00018828: 00003821 addu r7,r0,r0               no handler
0001882c: 00402021 addu r4,r2,r0
00018830: 3c018003 lui r1,0x8003
00018834: ac24a8d8 sw r4,-0x5728(r1)           store event descriptor at 8002a8d8
00018838: 0c0087ed jal 0x00021fb4              EnableEvent
0001883c: 00000000 nop
00018840: 0c008811 jal 0x00022044              Exit Critical Section
00018844: 00000000 nop
00018848: 8fbf0010 lw r31,0x0010(r29)
0001884c: 27bd0018 addiu r29,r29,0x0018
00018850: 03e00008 jr r31
00018854: 00000000 nop