1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
.include "macros.inc"
.section .text, "ax"
.global GXCallDisplayList
GXCallDisplayList:
mflr r0
stw r0, 4(r1)
stwu r1, -0x18(r1)
stw r31, 0x14(r1)
addi r31, r4, 0
stw r30, 0x10(r1)
addi r30, r3, 0
lwz r5, gx@sda21(r13)
lwz r0, 0x4f4(r5)
cmplwi r0, 0
beq lbl_800AD3A0
bl __GXSetDirtyState
lbl_800AD3A0:
lwz r3, gx@sda21(r13)
lwz r0, 0(r3)
cmplwi r0, 0
bne lbl_800AD3B4
bl __GXSendFlushPrim
lbl_800AD3B4:
li r0, 0x40
lis r3, 0xCC008000@ha
stb r0, 0xCC008000@l(r3)
stw r30, -0x8000(r3)
stw r31, -0x8000(r3)
lwz r0, 0x1c(r1)
lwz r31, 0x14(r1)
lwz r30, 0x10(r1)
addi r1, r1, 0x18
mtlr r0
blr
|