This source file includes following definitions.
- init_file_modules_task
- sub_FF81C984_my
- Mount_FileSystem_my
- sub_FFA99088_my
- sub_FFA98E10_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_FF81C958\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_FF8242DC\n"
11 "BL sub_FFB328A0\n"
12 "loc_FF8242DC:\n"
13 "BL sub_FF81C984_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_FFB328A0\n"
21 );
22 }
23
24 void __attribute__((naked,noinline)) sub_FF81C984_my(){
25 asm volatile(
26 "STR LR, [SP,#-4]!\n"
27 "BL Mount_FileSystem_my\n"
28
29 "LDR R3, =0x1E0C\n"
30 "LDR R2, [R3]\n"
31 "CMP R2, #0\n"
32 "BNE loc_FF81C9C0\n"
33 "BL sub_FF845FE0\n"
34 "AND R0, R0, #0xFF\n"
35 "BL sub_FFA6896C\n"
36 "BL sub_FF845FE0\n"
37 "AND R0, R0, #0xFF\n"
38 "BL sub_FFA7EE78\n"
39 "BL sub_FF845FF0\n"
40 "AND R0, R0, #0xFF\n"
41 "BL sub_FFA68A5C\n"
42 "loc_FF81C9C0:\n"
43 "LDR R2, =0x1E08\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-R6,LR}\n"
53 "MOV R4, #0\n"
54 "MOV R5, R4\n"
55 "LDR R6, =0x8CB88\n"
56 "MOV R0, R5\n"
57 "BL sub_FFA98D08\n"
58 "LDR R0, [R6,#0x38]\n"
59 "BL sub_FFA9839C\n"
60 "CMP R0, R4\n"
61 "MOV R1, R5\n"
62 "MOV R0, R5\n"
63 "BNE loc_FFA99374\n"
64 "LDR R3, =0xA0E8\n"
65 "LDR R2, =0xA0E0\n"
66 "STR R1, [R3]\n"
67 "LDR R3, =0xA0E4\n"
68 "STR R1, [R2]\n"
69 "STR R1, [R3]\n"
70 "loc_FFA99374:\n"
71 "BL sub_FFA98D58\n"
72 "MOV R0, R5\n"
73 "BL sub_FFA99088_my\n"
74 "MOV R4, R0\n"
75 "MOV R0, R5\n"
76 "BL sub_FFA99110\n"
77 "LDR R1, [R6,#0x3C]\n"
78 "AND R2, R4, R0\n"
79 "MOV R0, R6\n"
80 "BL sub_FFA992DC\n"
81 "STR R0, [R6,#0x40]\n"
82 "LDMFD SP!, {R4-R6,PC}\n"
83 );
84 }
85
86 void __attribute__((naked,noinline)) sub_FFA99088_my(){
87 asm volatile(
88 "STMFD SP!, {R4-R7,LR}\n"
89 "LDR R7, =0xA0E4\n"
90 "LDR R3, [R7]\n"
91 "MOV R4, R0\n"
92 "CMP R3, #0\n"
93 "ADD R3, R4, R4,LSL#1\n"
94 "RSB R3, R4, R3,LSL#3\n"
95 "LDR R6, =0x8CBC0\n"
96 "MOV R5, R3,LSL#2\n"
97 "MOV R1, R4\n"
98 "BNE loc_FFA990FC\n"
99 "LDR R0, [R6,R5]\n"
100 "BL sub_FFA98E10_my\n"
101 "SUBS R3, R0, #0\n"
102 "MOV R1, R4\n"
103 "BEQ loc_FFA990D4\n"
104 "LDR R0, [R6,R5]\n"
105 "BL sub_FFA98F64\n"
106 "MOV R3, R0\n"
107 "loc_FFA990D4:\n"
108 "CMP R3, #0\n"
109 "MOV R0, R4\n"
110 "BEQ loc_FFA990E8\n"
111 "BL sub_FFA98474\n"
112 "MOV R3, R0\n"
113 "loc_FFA990E8:\n"
114 "CMP R3, #0\n"
115 "MOV R0, R3\n"
116 "MOVNE R3, #1\n"
117 "STRNE R3, [R7]\n"
118 "LDMFD SP!, {R4-R7,PC}\n"
119 "loc_FFA990FC:\n"
120 "MOV R0, #1\n"
121 "LDMFD SP!, {R4-R7,PC}\n"
122 );
123 }
124
125 void __attribute__((naked,noinline)) sub_FFA98E10_my(){
126 asm volatile(
127 "STMFD SP!, {R4-R8,LR}\n"
128 "MOV R5, R1\n"
129 "MOV R8, R5,LSL#1\n"
130 "ADD R3, R8, R5\n"
131 "LDR R2, =0x8CBC4\n"
132 "SUB SP, SP, #8\n"
133 "RSB R3, R5, R3,LSL#3\n"
134 "LDR R1, [R2,R3,LSL#2]\n"
135 "MOV R6, #0\n"
136 "STR R6, [SP]\n"
137 "MOV R7, R0\n"
138 "STR R6, [SP,#4]\n"
139 "CMP R1, #6\n"
140 "LDRLS PC, [PC,R1,LSL#2]\n"
141 "B loc_FFA98F10\n"
142 ".long loc_FFA98EB4\n"
143 ".long loc_FFA98E68\n"
144 ".long loc_FFA98E68\n"
145 ".long loc_FFA98E68\n"
146 ".long loc_FFA98E68\n"
147 ".long loc_FFA98F00\n"
148 ".long loc_FFA98E68\n"
149 "loc_FFA98E68:\n"
150 "MOV R0, #3\n"
151 "MOV R1, #0x200\n"
152 "MOV R2, #0\n"
153 "BL sub_FF81E2B0\n"
154 "SUBS R6, R0, #0\n"
155 "BEQ loc_FFA98F48\n"
156 "ADD R12, R8, R5\n"
157 "RSB R12, R5, R12,LSL#3\n"
158 "LDR R4, =0x8CBD4\n"
159 "MOV R0, R7\n"
160 "MOV R1, #0\n"
161 "MOV R2, #1\n"
162 "MOV R3, R6\n"
163 "MOV LR, PC\n"
164 "LDR PC, [R4,R12,LSL#2]\n"
165 "CMP R0, #1\n"
166 "BNE loc_FFA98EBC\n"
167 "MOV R0, #3\n"
168 "BL sub_FF81E380\n"
169 "loc_FFA98EB4:\n"
170 "MOV R0, #0\n"
171 "B loc_FFA98F48\n"
172 "loc_FFA98EBC:\n"
173 "MOV R0, R7\n"
174 "BL sub_FFAAC928\n"
175 "MOV R1, R0\n"
176 "ADD R2, SP, #4\n"
177 "MOV R3, SP\n"
178 "MOV R0, R6\n"
179 "STMFD SP!, {R4-R11,LR}\n"
180 "BL mbr_read\n"
181 "LDMFD SP!, {R4-R11,LR}\n"
182
183 "MOV R4, R0\n"
184 "MOV R0, #3\n"
185 "BL sub_FF81E380\n"
186 "CMP R4, #0\n"
187 "BNE loc_FFA98F20\n"
188 "MOV R0, R7\n"
189 "STR R4, [SP,#4]\n"
190 "BL sub_FFAAC928\n"
191 "STR R0, [SP]\n"
192 "B loc_FFA98F20\n"
193 "loc_FFA98F00:\n"
194 "MOV R3, #0\n"
195 "MOV R2, #0x40\n"
196 "STMEA SP, {R2,R3}\n"
197 "B loc_FFA98F20\n"
198 "loc_FFA98F10:\n"
199 "MOV R1, #0x358\n"
200 "LDR R0, =0xFFA98BF8\n"
201 "ADD R1, R1, #2\n"
202 "BL sub_FFB2071C\n"
203 "loc_FFA98F20:\n"
204 "LDR R2, =0x8CB88\n"
205 "ADD R3, R8, R5\n"
206 "LDMFD SP, {R0,R12}\n"
207 "RSB R3, R5, R3,LSL#3\n"
208 "MOV R3, R3,LSL#2\n"
209 "ADD R1, R2, #0x48\n"
210 "ADD R2, R2, #0x44\n"
211 "STR R0, [R1,R3]\n"
212 "STR R12, [R2,R3]\n"
213 "MOV R0, #1\n"
214 "loc_FFA98F48:\n"
215 "ADD SP, SP, #8\n"
216 "LDMFD SP!, {R4-R8,PC}\n"
217 );
218 }