Advertisement
fggkyle

Untitled

Oct 12th, 2020
69
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.60 KB | None | 0 0
  1. void EnEndingHero5_Draw(EnEndingHero5 *this, GlobalContext *globalCtx) {
  2. Gfx *temp_v0;
  3. Gfx *temp_v0_2;
  4. Gfx *temp_v0_3;
  5. Gfx *temp_v0_4;
  6. Gfx *temp_v0_5;
  7. GraphicsContext *temp_a0;
  8. s32 temp_t9;
  9.  
  10. func_8012C28C(globalCtx->state.gfxCtx);
  11. func_8012C2DC(globalCtx->state.gfxCtx);
  12. temp_t9 = this->unk25C;
  13. temp_a0 = globalCtx->state.gfxCtx;
  14. if ((u32) temp_t9 < 5U) {
  15. goto **(&jtbl_D_80C23C10 + (temp_t9 * 4));
  16. case 0:
  17. temp_v0 = temp_a0->polyOpa.p;
  18. temp_a0->polyOpa.p = temp_v0 + 8;
  19. temp_v0->words.w0 = 0xFB000000;
  20. temp_v0->words.w1 = 0xAA0A46FF;
  21. goto block_7;
  22. case 1:
  23. temp_v0_2 = temp_a0->polyOpa.p;
  24. temp_a0->polyOpa.p = temp_v0_2 + 8;
  25. temp_v0_2->words.w0 = 0xFB000000;
  26. temp_v0_2->words.w1 = 0xAAC8FFFF;
  27. goto block_7;
  28. case 2:
  29. temp_v0_3 = temp_a0->polyOpa.p;
  30. temp_a0->polyOpa.p = temp_v0_3 + 8;
  31. temp_v0_3->words.w0 = 0xFB000000;
  32. temp_v0_3->words.w1 = 0xE646FF;
  33. goto block_7;
  34. case 3:
  35. temp_v0_4 = temp_a0->polyOpa.p;
  36. temp_a0->polyOpa.p = temp_v0_4 + 8;
  37. temp_v0_4->words.w0 = 0xFB000000;
  38. temp_v0_4->words.w1 = 0xC80096FF;
  39. goto block_7;
  40. case 4:
  41. temp_v0_5 = temp_a0->polyOpa.p;
  42. temp_a0->polyOpa.p = temp_v0_5 + 8;
  43. temp_v0_5->words.w0 = 0xFB000000;
  44. temp_v0_5->words.w1 = 0xF59B00FF;
  45. }
  46. block_7:
  47. SkelAnime_DrawSV(globalCtx, this->skelAnime.skeleton, this->skelAnime.limbDrawTbl, (s32) this->skelAnime.dListCount, 0, &func_80C23A30, this);
  48. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement