This source file includes following definitions.
- init_file_modules_task
- sub_FFC0C980_my
- Mount_FileSystem_my
- sub_FFE45C4C_my
- sub_FFE459D4_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_FFC0C954\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_FFC13DC0\n"
11 "BL sub_FFEDC8BC\n"
12 "loc_FFC13DC0:\n"
13 "BL sub_FFC0C980_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_FFEDC8BC\n"
21 );
22 }
23
24 void __attribute__((naked,noinline)) sub_FFC0C980_my(){
25 asm volatile(
26 "STR LR, [SP,#-4]!\n"
27 "BL Mount_FileSystem_my\n"
28 "LDR R3, =0x1E0C\n"
29 "LDR R2, [R3]\n"
30 "CMP R2, #0\n"
31 "BNE loc_FFC0C9BC\n"
32 "BL sub_FFC34A7C\n"
33 "AND R0, R0, #0xFF\n"
34 "BL sub_FFE1F26C\n"
35 "BL sub_FFC34A7C\n"
36 "AND R0, R0, #0xFF\n"
37 "BL sub_FFE2D4D4\n"
38 "BL sub_FFC34A8C\n"
39 "AND R0, R0, #0xFF\n"
40 "BL sub_FFE1F354\n"
41 "loc_FFC0C9BC:\n"
42 "LDR R2, =0x1E08\n"
43 "MOV R3, #1\n"
44 "STR R3, [R2]\n"
45 "LDR PC, [SP],#4\n"
46 );
47 }
48
49 void __attribute__((naked,noinline)) Mount_FileSystem_my(){
50 asm volatile(
51 "STMFD SP!, {R4-R6,LR}\n"
52 "MOV R4, #0\n"
53 "MOV R5, R4\n"
54 "LDR R6, =0x74A88\n"
55 "MOV R0, R5\n"
56 "BL sub_FFE458CC\n"
57 "LDR R0, [R6,#0x38]\n"
58 "BL sub_FFE44F60\n"
59 "CMP R0, R4\n"
60 "MOV R1, R5\n"
61 "MOV R0, R5\n"
62 "BNE loc_FFE45F38\n"
63 "LDR R3, =0x9774\n"
64 "LDR R2, =0x976C\n"
65 "STR R1, [R3]\n"
66 "LDR R3, =0x9770\n"
67 "STR R1, [R2]\n"
68 "STR R1, [R3]\n"
69 "loc_FFE45F38:\n"
70 "BL sub_FFE4591C\n"
71 "MOV R0, R5\n"
72 "BL sub_FFE45C4C_my\n"
73 "MOV R4, R0\n"
74 "MOV R0, R5\n"
75 "BL sub_FFE45CD4\n"
76 "LDR R1, [R6,#0x3C]\n"
77 "AND R2, R4, R0\n"
78 "MOV R0, R6\n"
79 "BL sub_FFE45EA0\n"
80 "STR R0, [R6,#0x40]\n"
81 "LDMFD SP!, {R4-R6,PC}\n"
82 );
83 }
84
85 void __attribute__((naked,noinline)) sub_FFE45C4C_my(){
86 asm volatile(
87 "STMFD SP!, {R4-R7,LR}\n"
88 "LDR R7, =0x9770\n"
89 "LDR R3, [R7]\n"
90 "MOV R4, R0\n"
91 "CMP R3, #0\n"
92 "ADD R3, R4, R4,LSL#1\n"
93 "RSB R3, R4, R3,LSL#3\n"
94 "LDR R6, =0x74AC0\n"
95 "MOV R5, R3,LSL#2\n"
96 "MOV R1, R4\n"
97 "BNE loc_FFE45CC0\n"
98 "LDR R0, [R6,R5]\n"
99 "BL sub_FFE459D4_my\n"
100 "SUBS R3, R0, #0\n"
101 "MOV R1, R4\n"
102 "BEQ loc_FFE45C98\n"
103 "LDR R0, [R6,R5]\n"
104 "BL sub_FFE45B28\n"
105 "MOV R3, R0\n"
106 "loc_FFE45C98:\n"
107 "CMP R3, #0\n"
108 "MOV R0, R4\n"
109 "BEQ loc_FFE45CAC\n"
110 "BL sub_FFE45038\n"
111 "MOV R3, R0\n"
112 "loc_FFE45CAC:\n"
113 "CMP R3, #0\n"
114 "MOV R0, R3\n"
115 "MOVNE R3, #1\n"
116 "STRNE R3, [R7]\n"
117 "LDMFD SP!, {R4-R7,PC}\n"
118 "loc_FFE45CC0:\n"
119 "MOV R0, #1\n"
120 "LDMFD SP!, {R4-R7,PC}\n"
121 );
122 }
123
124 void __attribute__((naked,noinline)) sub_FFE459D4_my(){
125 asm volatile(
126 "STMFD SP!, {R4-R8,LR}\n"
127 "MOV R5, R1\n"
128 "MOV R8, R5,LSL#1\n"
129 "ADD R3, R8, R5\n"
130 "LDR R2, =0x74AC4\n"
131 "SUB SP, SP, #8\n"
132 "RSB R3, R5, R3,LSL#3\n"
133 "LDR R1, [R2,R3,LSL#2]\n"
134 "MOV R6, #0\n"
135 "STR R6, [SP]\n"
136 "MOV R7, R0\n"
137 "STR R6, [SP,#4]\n"
138 "CMP R1, #6\n"
139 "LDRLS PC, [PC,R1,LSL#2]\n"
140 "B loc_FFE45AD4\n"
141 ".long loc_FFE45A78\n"
142 ".long loc_FFE45A2C\n"
143 ".long loc_FFE45A2C\n"
144 ".long loc_FFE45A2C\n"
145 ".long loc_FFE45A2C\n"
146 ".long loc_FFE45AC4\n"
147 ".long loc_FFE45A2C\n"
148 "loc_FFE45A2C:\n"
149 "MOV R0, #3\n"
150 "MOV R1, #0x200\n"
151 "MOV R2, #0\n"
152 "BL sub_FFC0E2AC\n"
153 "SUBS R6, R0, #0\n"
154 "BEQ loc_FFE45B0C\n"
155 "ADD R12, R8, R5\n"
156 "RSB R12, R5, R12,LSL#3\n"
157 "LDR R4, =0x74AD4\n"
158 "MOV R0, R7\n"
159 "MOV R1, #0\n"
160 "MOV R2, #1\n"
161 "MOV R3, R6\n"
162 "MOV LR, PC\n"
163 "LDR PC, [R4,R12,LSL#2]\n"
164 "CMP R0, #1\n"
165 "BNE loc_FFE45A80\n"
166 "MOV R0, #3\n"
167 "BL sub_FFC0E37C\n"
168 "loc_FFE45A78:\n"
169 "MOV R0, #0\n"
170 "B loc_FFE45B0C\n"
171 "loc_FFE45A80:\n"
172 "MOV R0, R7\n"
173 "BL sub_FFE594B8\n"
174 "MOV R1, R0\n"
175 "ADD R2, SP, #4\n"
176 "MOV R3, SP\n"
177 "MOV R0, R6\n"
178
179 "STMFD SP!, {R4-R11,LR}\n"
180 "BL mbr_read\n"
181 "LDMFD SP!, {R4-R11,LR}\n"
182
183
184 "MOV R4, R0\n"
185 "MOV R0, #3\n"
186 "BL sub_FFC0E37C\n"
187 "CMP R4, #0\n"
188 "BNE loc_FFE45AE4\n"
189 "MOV R0, R7\n"
190 "STR R4, [SP,#4]\n"
191 "BL sub_FFE594B8\n"
192 "STR R0, [SP]\n"
193 "B loc_FFE45AE4\n"
194 "loc_FFE45AC4:\n"
195 "MOV R3, #0\n"
196 "MOV R2, #0x40\n"
197 "STMEA SP, {R2,R3}\n"
198 "B loc_FFE45AE4\n"
199 "loc_FFE45AD4:\n"
200 "MOV R1, #0x358\n"
201 "LDR R0, =0xFFE457BC\n"
202 "ADD R1, R1, #2\n"
203 "BL sub_FFECA824\n"
204 "loc_FFE45AE4:\n"
205 "LDR R2, =0x74A88\n"
206 "ADD R3, R8, R5\n"
207 "LDMFD SP, {R0,R12}\n"
208 "RSB R3, R5, R3,LSL#3\n"
209 "MOV R3, R3,LSL#2\n"
210 "ADD R1, R2, #0x48\n"
211 "ADD R2, R2, #0x44\n"
212 "STR R0, [R1,R3]\n"
213 "STR R12, [R2,R3]\n"
214 "MOV R0, #1\n"
215 "loc_FFE45B0C:\n"
216 "ADD SP, SP, #8\n"
217 "LDMFD SP!, {R4-R8,PC}\n"
218 );
219 }