150 {
152 s32 isChild;
153 Gfx* savedGfxPos2;
154 Gfx* savedGfxPos;
155 f32 unk_28 = data->
unk_28;
156 s32 primA;
157 f32 unk_10;
159 f32 unk_18;
160 f32 angle;
161 f32 factor;
162 f32 var_f30;
163 s32 timeLeft;
165 Mtx* sp60[3];
166 Mtx* mtx;
167 s32 i;
168 s32 j;
169
173
182
183 if (isChild == 0) {
184 angle = timeLeft * 35;
185 factor = 9.0f;
187 } else {
188 angle = timeLeft * 25;
189 factor = 6.0f;
190 var_f30 = 0.0f;
191 unk_10 *= unk_28;
192 }
193
194 for (i = 0; i < 3; i++) {
195 if (i > 0) {
196 if (!isChild) {
197 angle -= 70.0f;
198 unk_10 -= 2.0f * data->
unk_1C;
200 unk_18 -= 2.0f * data->
unk_24;
201 } else {
202 angle -= 50.0f;
203 unk_10 -= data->
unk_1C * (100.0 / 83) * 2.0;
204 }
205 primA = data->
unk_34 * 100 / 255;
206 }
207
210
212
215 cos_deg(angle) * factor, 0.0f);
216
217 angle += 120.0f;
219
223 cos_deg(angle) * factor, 0.0f);
224
225 angle += 120.0f;
227
231 cos_deg(angle) * factor, 0.0f);
232
234
236
237 for (j = 0; j < 3; j++) {
238 gSPMatrix(
gMainGfxPos++, sp60[j], G_MTX_PUSH | G_MTX_MUL | G_MTX_MODELVIEW);
243 primA);
248 255);
252 }
253
255 }
256
259
260 if (!isChild) {
261 var_f30 = 0.0f;
262 } else {
264 }
265
268
270
271 if (!isChild) {
273 } else {
274 guRotateF(sp20, 30.0f, 0.0f, 0.0f, 1.0f);
275
278
279 for (i = 0; i < 12; i++) {
280 gSPMatrix(
gMainGfxPos++, mtx, G_MTX_NOPUSH | G_MTX_MUL | G_MTX_MODELVIEW);
282 }
283 }
284
287}
#define VIRTUAL_TO_PHYSICAL(addr)
s32 func_E0024324(s32 arg0, s32 arg1)
s32 func_E00243BC(s32 arg0, s32 arg1)
DisplayContext * gDisplayContext