Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- s32 D_809FFC40[] = { 0xFFFFAAFF, 0xFFFFAAFF };
- s32 D_809FFC48[] = { 0xFF64FFFF, 0x64FFFFFF };
- s32 D_809FFC50[] = { 0x02010102, 0x00000201, 0x00020100, 0x02010002, 0x01000201, 0x00020100, 0x01020000, 0x00000000 };
- void EnDyExtra_Draw(Actor *thisx, GlobalContext *globalCtx) {
- s8 sp7A;
- s8 sp79;
- u8 sp78;
- Gfx *sp64;
- Gfx *sp60;
- Gfx *sp58;
- Gfx *temp_v0_2;
- Gfx *temp_v0_3;
- Gfx *temp_v0_4;
- Gfx *temp_v0_5;
- Gfx *temp_v0_6;
- Gfx *temp_v0_7;
- GraphicsContext *temp_s0;
- s32 *temp_v1_2;
- s32 *temp_v1_3;
- s32 temp_v0;
- u32 temp_v1;
- u8 temp_a0;
- s32 *phi_v1;
- s32 phi_v0;
- temp_s0 = globalCtx->state.gfxCtx;
- sp78 = (u8)0U;
- sp79 = (s8) (s32) (thisx->unk158 * 240.0f);
- sp7A = (s8) (s32) (thisx->unk158 * 255.0f);
- phi_v1 = D_809FFC50;
- phi_v0 = 0;
- loop_1:
- temp_a0 = *phi_v1;
- if (temp_a0 != 0) {
- (((gSegments[(u32) (0x601BFB0 * 0x10) >> 0x1C] + (0x601BFB0 & 0xFFFFFF)) + 0x80000000) + (phi_v0 * 0x10))->unkF = (u8) (&sp78)[temp_a0];
- }
- temp_v0 = phi_v0 + 1;
- phi_v1 = phi_v1 + 1;
- phi_v0 = temp_v0;
- if (temp_v0 != 0x1B) {
- goto loop_1;
- }
- Graph_OpenDisps(&sp64, temp_s0, (const char *) "../z_en_dy_extra.c", 0x126);
- func_80093D84(globalCtx->state.gfxCtx);
- temp_v0_2 = temp_s0->polyXlu.p;
- temp_s0->polyXlu.p = (Gfx *) (temp_v0_2 + 8);
- temp_v0_2->words.w0 = 0xDB060020U;
- temp_v1 = globalCtx->state.frames;
- sp60 = temp_v0_2;
- sp60->words.w1 = Gfx_TwoTexScroll(globalCtx->state.gfxCtx, 0, temp_v1 * 2, 0U, 0x20, 0x40, 1, temp_v1, (0 - temp_v1) * 8, 0x10, 0x10);
- temp_v0_3 = temp_s0->polyXlu.p;
- temp_s0->polyXlu.p = (Gfx *) (temp_v0_3 + 8);
- temp_v0_3->words.w0 = 0xE7000000U;
- temp_v0_3->words.w1 = 0U;
- temp_v0_4 = temp_s0->polyXlu.p;
- temp_s0->polyXlu.p = (Gfx *) (temp_v0_4 + 8);
- temp_v0_4->words.w0 = 0xDA380003U;
- sp58 = temp_v0_4;
- sp58->words.w1 = Matrix_NewMtx(globalCtx->state.gfxCtx, (char *) "../z_en_dy_extra.c", 0x133);
- temp_v0_5 = temp_s0->polyXlu.p;
- temp_s0->polyXlu.p = (Gfx *) (temp_v0_5 + 8);
- temp_v0_5->words.w0 = 0xFA000080U;
- temp_v1_2 = &D_809FFC40[thisx->unk150];
- temp_v0_5->words.w1 = (u32) ((((temp_v1_2->unk2 << 8) | (temp_v1_2->unk0 << 0x18)) | (temp_v1_2->unk1 << 0x10)) | 0xFF);
- temp_v0_6 = temp_s0->polyXlu.p;
- temp_s0->polyXlu.p = (Gfx *) (temp_v0_6 + 8);
- temp_v0_6->words.w0 = 0xFB000000U;
- temp_v1_3 = &D_809FFC48[thisx->unk150];
- temp_v0_6->words.w1 = (u32) ((((temp_v1_3->unk2 << 8) | (temp_v1_3->unk0 << 0x18)) | (temp_v1_3->unk1 << 0x10)) | 0x80);
- temp_v0_7 = temp_s0->polyXlu.p;
- temp_s0->polyXlu.p = (Gfx *) (temp_v0_7 + 8);
- temp_v0_7->words.w0 = 0xDE000000U;
- temp_v0_7->words.w1 = 0x601C160U;
- Graph_CloseDisps(&sp64, temp_s0, (const char *) "../z_en_dy_extra.c", 0x145);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement