Advertisement
Guest User

Untitled

a guest
Feb 17th, 2018
66
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.76 KB | None | 0 0
  1. .text2:8045B530 sub_8045B530: # CODE XREF: sub_8045B070+44p
  2. .text2:8045B530 # sub_8045B070+58p ...
  3. .text2:8045B530
  4. .text2:8045B530 .set var_118, -0x118
  5. .text2:8045B530 .set arg_0, 0
  6. .text2:8045B530 .set arg_4, 4
  7. .text2:8045B530
  8. .text2:8045B530 stwu r1, -0x120(r1)
  9. .text2:8045B534 mflr r0
  10. .text2:8045B538 stw r0, 0x120+arg_4(r1)
  11. .text2:8045B53C addi r11, r1, 0x120+arg_0
  12. .text2:8045B540 bl _savegpr_29_30_31
  13. .text2:8045B544 mr r29, r4
  14. .text2:8045B548 mr r30, r5
  15. .text2:8045B54C lis r5, aStagedataSSS_a@h # "/StageData/%s/%s%s.arc"
  16. .text2:8045B550 addi r3, r1, 0x120+var_118
  17. .text2:8045B554 mr r6, r29
  18. .text2:8045B558 mr r7, r29
  19. .text2:8045B55C mr r8, r30
  20. .text2:8045B560 addi r5, r5, aStagedataSSS_a@l # "/StageData/%s/%s%s.arc"
  21. .text2:8045B564 li r4, 0x100
  22. .text2:8045B568 crclr 4*cr1+eq
  23. .text2:8045B56C bl sub_80633BC8
  24. .text2:8045B570 addi r3, r1, 0x120+var_118
  25. .text2:8045B574 bl sub_80025B90
  26. .text2:8045B578 cmpwi r3, 0
  27. .text2:8045B57C mr r31, r3
  28. .text2:8045B580 bne loc_8045B58C
  29. .text2:8045B584 li r3, 0
  30. .text2:8045B588 b loc_8045B5AC
  31. .text2:8045B58C # ---------------------------------------------------------------------------
  32. .text2:8045B58C
  33. .text2:8045B58C loc_8045B58C: # CODE XREF: sub_8045B530+50j
  34. .text2:8045B58C li r3, 0xE8
  35. .text2:8045B590 bl allocMemory(int)
  36. .text2:8045B594 cmpwi r3, 0
  37. .text2:8045B598 beq loc_8045B5AC
  38. .text2:8045B59C mr r4, r31
  39. .text2:8045B5A0 mr r5, r29
  40. .text2:8045B5A4 mr r6, r30
  41. .text2:8045B5A8 bl sub_8045AE00
  42. .text2:8045B5AC
  43. .text2:8045B5AC loc_8045B5AC: # CODE XREF: sub_8045B530+58j
  44. .text2:8045B5AC # sub_8045B530+68j
  45. .text2:8045B5AC addi r11, r1, 0x120+arg_0
  46. .text2:8045B5B0 bl _restgpr_29_30_31
  47. .text2:8045B5B4 lwz r0, 0x120+arg_4(r1)
  48. .text2:8045B5B8 mtlr r0
  49. .text2:8045B5BC addi r1, r1, 0x120
  50. .text2:8045B5C0 blr
  51. .text2:8045B5C0 # End of function sub_8045B530
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement