Advertisement
fggkyle

Untitled

Feb 13th, 2021
46
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.35 KB | None | 0 0
  1. ? func_809638F8(void *arg0) {
  2. s16 temp_a0;
  3. s16 temp_a0_2;
  4. s16 temp_a0_3;
  5. s16 temp_a0_4;
  6. s16 temp_a0_5;
  7. s16 temp_a1;
  8. ? phi_v1;
  9.  
  10. temp_a1 = arg0->unk17096;
  11. if ((s32) temp_a1 >= 0x1A) {
  12. arg0->unk17096 = (s16) (temp_a1 - 0x19);
  13. phi_v1 = 0;
  14. } else {
  15. arg0->unk17096 = (u16)0;
  16. phi_v1 = 1;
  17. }
  18. temp_a0 = arg0->unk17098;
  19. if ((s32) temp_a0 >= 0x1A) {
  20. arg0->unk17098 = (s16) (temp_a0 - 0x19);
  21. phi_v1 = 0;
  22. } else {
  23. arg0->unk17098 = (u16)0;
  24. }
  25. temp_a0_2 = arg0->unk1709A;
  26. if ((s32) temp_a0_2 >= 0x1A) {
  27. arg0->unk1709A = (s16) (temp_a0_2 - 0x19);
  28. phi_v1 = 0;
  29. } else {
  30. arg0->unk1709A = (u16)0;
  31. }
  32. temp_a0_3 = arg0->unk17090;
  33. if ((s32) temp_a0_3 >= 0x1A) {
  34. arg0->unk17090 = (s16) (temp_a0_3 - 0x19);
  35. phi_v1 = 0;
  36. } else {
  37. arg0->unk17090 = (u16)0;
  38. }
  39. temp_a0_4 = arg0->unk17092;
  40. if ((s32) temp_a0_4 >= 0x1A) {
  41. arg0->unk17092 = (s16) (temp_a0_4 - 0x19);
  42. phi_v1 = 0;
  43. } else {
  44. arg0->unk17092 = (u16)0;
  45. }
  46. temp_a0_5 = arg0->unk17094;
  47. if ((s32) temp_a0_5 >= 0x1A) {
  48. arg0->unk17094 = (s16) (temp_a0_5 - 0x19);
  49. phi_v1 = 0;
  50. } else {
  51. arg0->unk17094 = (u16)0;
  52. }
  53. return phi_v1;
  54. }
  55.  
  56.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement