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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
MOV     R1, #0x99
MOV     R0, #0
BL      codec_write     ; R0: Address, R1: Data
MOV     R1, #0x30
MOV     R0, #0x2E
BL      codec_write     ; R0: Address, R1: Data
MOV     R1, #7
MOV     R0, #0x32
BL      codec_write     ; R0: Address, R1: Data
MOV     R1, #0xFF
MOV     R0, #0x33
BL      codec_write     ; R0: Address, R1: Data
MOV     R1, #0xF8
MOV     R0, #0x34
BL      codec_write     ; R0: Address, R1: Data
MOV     R1, #0xDC
MOV     R0, #0x35
BL      codec_write     ; R0: Address, R1: Data
MOV     R1, #0xFC
MOV     R0, #0x36
BL      codec_write     ; R0: Address, R1: Data
MOV     R1, #0xAC
MOV     R0, #0x37
BL      codec_write     ; R0: Address, R1: Data
MOV     R1, #0xF8
MOV     R0, #0x3A
BL      codec_write     ; R0: Address, R1: Data
MOV     R1, #0xD3
MOV     R0, #0x3C
BL      codec_write     ; R0: Address, R1: Data
MOV     R1, #0x23
MOV     R0, #0x3D
BL      codec_write     ; R0: Address, R1: Data
MOV     R1, #0x81
MOV     R0, #0x3E
BL      codec_write     ; R0: Address, R1: Data
MOV     R1, #0x46
MOV     R0, #0x3F
BL      codec_write     ; R0: Address, R1: Data
MOV     R1, #0
MOV     R0, #0
BL      codec_write     ; R0: Address, R1: Data
LDR     R0, =unk_894A0C0
MOV     R2, #0xAA
STRB    R2, [R0,#4]
MOV     R0, #3
MOV     R1, #0xFF
BL      codec_set_bits  ; R0: Address, R1: Mask, R2: Bit values
MOV     R2, #0x20
MOV     R1, #0x20
MOV     R0, #4
BL      codec_set_bits  ; R0: Address, R1: Mask, R2: Bit values
MOV     R2, #0xE
MOV     R1, #0xE
MOV     R0, #4
BL      codec_set_bits  ; R0: Address, R1: Mask, R2: Bit values
MOV     R1, #0xB
MOV     R0, #5
BL      codec_write     ; R0: Address, R1: Data
MOV     R2, #0x18
MOV     R1, #0x1C
MOV     R0, #7
BL      codec_set_bits  ; R0: Address, R1: Mask, R2: Bit values
MOV     R2, #0
MOV     R1, #0xE
MOV     R0, #2
BL      codec_set_bits  ; R0: Address, R1: Mask, R2: Bit values
MOV     R2, #0x80
MOV     R1, #0x80
MOV     R0, #0xF
BL      codec_set_bits  ; R0: Address, R1: Mask, R2: Bit values
MOV     R2, #0
MOV     R1, #0xC0
MOV     R0, #0xB
BL      codec_set_bits  ; R0: Address, R1: Mask, R2: Bit values
MOV     R2, #0
MOV     R1, #0xC0
MOV     R0, #0xC
BL      codec_set_bits  ; R0: Address, R1: Mask, R2: Bit values
MOV     R2, #0x80
MOV     R1, #0x80
MOV     R0, #0x1A
BL      codec_set_bits  ; R0: Address, R1: Mask, R2: Bit values
MOV     R2, #0x80
MOV     R1, #0x80
MOV     R0, #0x1B
BL      codec_set_bits  ; R0: Address, R1: Mask, R2: Bit values
MOV     R2, #0x80
MOV     R1, #0x80
MOV     R0, #0x1C
BL      codec_set_bits  ; R0: Address, R1: Mask, R2: Bit values
MOV     R2, #0x80
MOV     R1, #0x80
MOV     R0, #0x1D
BL      codec_set_bits  ; R0: Address, R1: Mask, R2: Bit values
MOV     R2, #0
MOV     R1, #1
MOV     R0, #2
BL      codec_set_bits  ; R0: Address, R1: Mask, R2: Bit values
MOV     R0, #0x4B
BL      j_mdelay
MOV     R2, #0
MOV     R1, #0x80
MOV     R0, #0x1A
BL      codec_set_bits  ; R0: Address, R1: Mask, R2: Bit values
MOV     R2, #0
MOV     R1, #0x80
MOV     R0, #0x1B
BL      codec_set_bits  ; R0: Address, R1: Mask, R2: Bit values
MOV     R2, #0
MOV     R1, #0x80
MOV     R0, #0x1C
BL      codec_set_bits  ; R0: Address, R1: Mask, R2: Bit values
MOV     R2, #0
MOV     R1, #0x80
MOV     R0, #0x1D
BL      codec_set_bits  ; R0: Address, R1: Mask, R2: Bit values
MOV     R1, #0
MOV     R0, #6
BL      codec_write     ; R0: Address, R1: Data