This source file includes following definitions.
- init_file_modules_task
- sub_FFA968C0_my
- Mount_FileSystem_my
- sub_FF869A84_my
- sub_FF869818_my
1 void __attribute__((naked,noinline)) init_file_modules_task(){
2 asm volatile(
3 "STMFD SP!, {R4,LR}\n"
4 "BL _Unmount_FileSystem\n"
5 "BL sub_FFA968A8\n"
6 "SUBS R4, R0, #0\n"
7 "MOV R0, #0x5000\n"
8 "MOV R1, #0\n"
9 "ADD R0, R0, #6\n"
10 "BEQ loc_FF98B2BC\n"
11 "BL sub_FF964DEC\n"
12 "loc_FF98B2BC:\n"
13 "BL sub_FFA968C0_my\n"
14 "MOV R0, #0x5000\n"
15 "CMP R4, #0\n"
16 "MOV R1, R4\n"
17 "ADD R0, R0, #6\n"
18 "LDMNEFD SP!, {R4,PC}\n"
19 "LDMFD SP!, {R4,LR}\n"
20 "B sub_FF964DEC\n"
21
22 );
23 }
24
25 void __attribute__((naked,noinline)) sub_FFA968C0_my(){
26 asm volatile(
27 "STR LR, [SP,#-4]!\n"
28 "BL Mount_FileSystem_my\n"
29 "MOV R1, #0x40000\n"
30 "MOV R0, #0x320000\n"
31 "BL sub_FF866D84\n"
32 "BL sub_FF868100\n"
33 "BL sub_FF8663A4\n"
34 "BL sub_FF9A337C\n"
35 "AND R0, R0, #0xFF\n"
36 "BL sub_FF82DC30\n"
37 "BL sub_FF9A337C\n"
38 "AND R0, R0, #0xFF\n"
39 "BL sub_FF85ED80\n"
40 "BL sub_FF9A338C\n"
41 "AND R0, R0, #0xFF\n"
42 "BL sub_FF82DCA8\n"
43 "LDR R2, =0xAA18\n"
44 "MOV R3, #1\n"
45 "STR R3, [R2]\n"
46 "LDR PC, [SP],#4\n"
47 );
48 }
49
50 void __attribute__((naked,noinline)) Mount_FileSystem_my(){
51 asm volatile(
52 "STMFD SP!, {R4,R5,LR}\n"
53 "MOV R4, #0\n"
54 "MOV R0, R4\n"
55 "BL sub_FF869720\n"
56 "MOV R0, R4\n"
57 "BL sub_FF869770\n"
58 "MOV R0, R4\n"
59 "BL sub_FF869A84_my\n"
60 "MOV R5, R0\n"
61 "MOV R0, R4\n"
62 "BL sub_FF869B0C\n"
63 "LDR R4, =0x2C538\n"
64 "AND R5, R5, R0\n"
65 "MOV R2, R5\n"
66 "MOV R0, R4\n"
67 "LDR R1, [R4,#0x3C]\n"
68 "BL sub_FF869C84\n"
69 "STR R0, [R4,#0x40]\n"
70 "LDMFD SP!, {R4,R5,PC}\n"
71 );
72 }
73
74 void __attribute__((naked,noinline)) sub_FF869A84_my(){
75 asm volatile(
76 "STMFD SP!, {R4-R7,LR}\n"
77 "LDR R7, =0x2CE8\n"
78 "LDR R3, [R7]\n"
79 "MOV R4, R0\n"
80 "CMP R3, #0\n"
81 "ADD R3, R4, R4,LSL#1\n"
82 "RSB R3, R4, R3,LSL#3\n"
83 "LDR R6, =0x2C570\n"
84 "MOV R5, R3,LSL#2\n"
85 "MOV R1, R4\n"
86 "BNE loc_FF869AF8\n"
87 "LDR R0, [R6,R5]\n"
88 "BL sub_FF869818_my\n"
89 "SUBS R3, R0, #0\n"
90 "MOV R1, R4\n"
91 "BEQ loc_FF869AD0\n"
92 "LDR R0, [R6,R5]\n"
93 "BL sub_FF869968\n"
94 "MOV R3, R0\n"
95 "loc_FF869AD0:\n"
96 "CMP R3, #0\n"
97 "MOV R0, R4\n"
98 "BEQ loc_FF869AE4\n"
99 "BL sub_FF868EE8\n"
100 "MOV R3, R0\n"
101 "loc_FF869AE4:\n"
102 "CMP R3, #0\n"
103 "MOV R0, R3\n"
104 "MOVNE R3, #1\n"
105 "STRNE R3, [R7]\n"
106 "LDMFD SP!, {R4-R7,PC}\n"
107 "loc_FF869AF8:\n"
108 "MOV R0, #1\n"
109 "LDMFD SP!, {R4-R7,PC}\n"
110
111 );
112 }
113
114 void __attribute__((naked,noinline)) sub_FF869818_my(){
115 asm volatile(
116 "STMFD SP!, {R4-R8,LR}\n"
117 "MOV R5, R1\n"
118 "MOV R8, R5,LSL#1\n"
119 "ADD R3, R8, R5\n"
120 "LDR R2, =0x2C574\n"
121 "SUB SP, SP, #8\n"
122 "RSB R3, R5, R3,LSL#3\n"
123 "LDR R1, [R2,R3,LSL#2]\n"
124 "MOV R6, #0\n"
125 "STR R6, [SP]\n"
126 "MOV R7, R0\n"
127 "STR R6, [SP,#4]\n"
128 "CMP R1, #5\n"
129 "LDRLS PC, [PC,R1,LSL#2]\n"
130 "B loc_FF869914\n"
131 ".long loc_FF8698B8\n"
132 ".long loc_FF86986C\n"
133 ".long loc_FF86986C\n"
134 ".long loc_FF86986C\n"
135 ".long loc_FF86986C\n"
136 ".long loc_FF869904\n"
137 "loc_FF86986C:\n"
138 "MOV R0, #2\n"
139 "MOV R1, #0x200\n"
140 "MOV R2, #0\n"
141 "BL sub_FF812954\n"
142 "SUBS R6, R0, #0\n"
143 "BEQ loc_FF86994C\n"
144 "ADD R12, R8, R5\n"
145 "RSB R12, R5, R12,LSL#3\n"
146 "LDR R4, =0x2C584\n"
147 "MOV R0, R7\n"
148 "MOV R1, #0\n"
149 "MOV R2, #1\n"
150 "MOV R3, R6\n"
151 "MOV LR, PC\n"
152 "LDR PC, [R4,R12,LSL#2]\n"
153 "CMP R0, #1\n"
154 "BNE loc_FF8698C0\n"
155 "MOV R0, #2\n"
156 "BL sub_FF8129A0\n"
157 "loc_FF8698B8:\n"
158 "MOV R0, #0\n"
159 "B loc_FF86994C\n"
160 "loc_FF8698C0:\n"
161 "MOV R0, R7\n"
162 "BL sub_FF87CDB4\n"
163 "MOV R1, R0\n"
164 "ADD R2, SP, #4\n"
165 "MOV R3, SP\n"
166 "MOV R0, R6\n"
167
168 "STMFD SP!, {R4-R11,LR}\n"
169 "BL mbr_read\n"
170 "LDMFD SP!, {R4-R11,LR}\n"
171
172
173 "MOV R4, R0\n"
174 "MOV R0, #2\n"
175 "BL sub_FF8129A0\n"
176 "CMP R4, #0\n"
177 "BNE loc_FF869924\n"
178 "MOV R0, R7\n"
179 "STR R4, [SP,#4]\n"
180 "BL sub_FF87CDB4\n"
181 "STR R0, [SP]\n"
182 "B loc_FF869924\n"
183 "loc_FF869904:\n"
184 "MOV R3, #0\n"
185 "MOV R2, #0x2000\n"
186 "STMEA SP, {R2,R3}\n"
187 "B loc_FF869924\n"
188 "loc_FF869914:\n"
189 "MOV R1, #0x280\n"
190 "LDR R0, =0xFF8695F8\n"
191 "ADD R1, R1, #1\n"
192 "BL sub_FF813E68\n"
193 "loc_FF869924:\n"
194 "LDR R2, =0x2C538\n"
195 "ADD R3, R8, R5\n"
196 "LDMFD SP, {R0,R12}\n"
197 "RSB R3, R5, R3,LSL#3\n"
198 "MOV R3, R3,LSL#2\n"
199 "ADD R1, R2, #0x48\n"
200 "ADD R2, R2, #0x44\n"
201 "STR R0, [R1,R3]\n"
202 "STR R12, [R2,R3]\n"
203 "MOV R0, #1\n"
204 "loc_FF86994C:\n"
205 "ADD SP, SP, #8\n"
206 "LDMFD SP!, {R4-R8,PC}\n"
207 );
208 }
209