Advertisement
fggkyle

Untitled

Aug 27th, 2020
112
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.03 KB | None | 0 0
  1. void func_80AAEE50(SkelAnime *arg0, s32 arg1, void *arg2) {
  2. f32 sp34;
  3. void *sp2C;
  4. s32 temp_v0;
  5. void *temp_v1;
  6. void *temp_v1_2;
  7. void *temp_v1_3;
  8. void *phi_v1;
  9. f32 phi_f0;
  10.  
  11. temp_v0 = *arg2;
  12. if ((temp_v0 < 0) || (arg1 == temp_v0)) {
  13. phi_v1 = (arg1 * 0x10) + D_80AAFAEC;
  14. phi_f0 = 0.0f;
  15. } else {
  16. temp_v1 = (arg1 * 0x10) + D_80AAFAEC;
  17. phi_v1 = temp_v1;
  18. phi_f0 = temp_v1->unkC;
  19. }
  20. if (0.0f <= phi_v1->unk4) {
  21. sp2C = phi_v1;
  22. sp34 = phi_f0;
  23. temp_v1_2 = phi_v1;
  24. SkelAnime_ChangeAnim(arg0 + 0x14C, temp_v1_2->unk0, (bitwise f32) temp_v1_2->unk4, 0.0f, (f32) SkelAnime_GetFrameCount(phi_v1->unk0), (?32) temp_v1_2->unk8, phi_f0);
  25. } else {
  26. sp2C = phi_v1;
  27. sp34 = phi_f0;
  28. temp_v1_3 = phi_v1;
  29. SkelAnime_ChangeAnim(arg0 + 0x14C, temp_v1_3->unk0, (bitwise f32) temp_v1_3->unk4, (f32) SkelAnime_GetFrameCount(phi_v1->unk0), 0.0f, (?32) temp_v1_3->unk8, phi_f0);
  30. }
  31. *arg2 = arg1;
  32. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement