SpuQuit

From Final Fantasy Hacktics Wiki
Jump to navigation Jump to search

00019448: 27bdffe8 addiu r29,r29,0xffe8
0001944c: 3c038003 lui r3,0x8003
00019450: 8c63ad40 lw r3,-0x52c0(r3)
00019454: 34020001 ori r2,r0,0x0001
00019458: 14620016 bne r3,r2,0x000194b4
0001945c: afbf0010 sw r31,0x0010(r29)
00019460: 3c018003 lui r1,0x8003
00019464: ac20ad40 sw r0,-0x52c0(r1)
00019468: 0c00880d jal 0x00022034              Enter Critical Section
0001946c: 00000000 nop
00019470: 00002021 addu r4,r0,r0
00019474: 3c018003 lui r1,0x8003
00019478: ac20ad7c sw r0,-0x5284(r1)
0001947c: 3c018003 lui r1,0x8003
00019480: ac20ad80 sw r0,-0x5280(r1)
00019484: 0c006501 jal 0x00019404              00019404 - 00019424 _spuDataCallback I assume this behaves like other callbacks. 0 clears callback list.
00019488: 00000000 nop
0001948c: 3c048003 lui r4,0x8003
00019490: 8c84a8d8 lw r4,-0x5728(r4)           close SPU IRQ event
00019494: 0c0087e1 jal 0x00021f84              CloseEvent
00019498: 00000000 nop
0001949c: 3c048003 lui r4,0x8003
000194a0: 8c84a8d8 lw r4,-0x5728(r4)           disable SPU IRQ event
000194a4: 0c0087f1 jal 0x00021fc4              DisableEvent
000194a8: 00000000 nop
000194ac: 0c008811 jal 0x00022044              00022044 - 00022050 Exit Critical Section
000194b0: 00000000 nop
000194b4: 8fbf0010 lw r31,0x0010(r29)
000194b8: 27bd0018 addiu r29,r29,0x0018
000194bc: 03e00008 jr r31
000194c0: 00000000 nop