Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- .text2:8045B530 sub_8045B530: # CODE XREF: sub_8045B070+44p
- .text2:8045B530 # sub_8045B070+58p ...
- .text2:8045B530
- .text2:8045B530 .set var_118, -0x118
- .text2:8045B530 .set arg_0, 0
- .text2:8045B530 .set arg_4, 4
- .text2:8045B530
- .text2:8045B530 stwu r1, -0x120(r1)
- .text2:8045B534 mflr r0
- .text2:8045B538 stw r0, 0x120+arg_4(r1)
- .text2:8045B53C addi r11, r1, 0x120+arg_0
- .text2:8045B540 bl _savegpr_29_30_31
- .text2:8045B544 mr r29, r4
- .text2:8045B548 mr r30, r5
- .text2:8045B54C lis r5, aStagedataSSS_a@h # "/StageData/%s/%s%s.arc"
- .text2:8045B550 addi r3, r1, 0x120+var_118
- .text2:8045B554 mr r6, r29
- .text2:8045B558 mr r7, r29
- .text2:8045B55C mr r8, r30
- .text2:8045B560 addi r5, r5, aStagedataSSS_a@l # "/StageData/%s/%s%s.arc"
- .text2:8045B564 li r4, 0x100
- .text2:8045B568 crclr 4*cr1+eq
- .text2:8045B56C bl sub_80633BC8
- .text2:8045B570 addi r3, r1, 0x120+var_118
- .text2:8045B574 bl sub_80025B90
- .text2:8045B578 cmpwi r3, 0
- .text2:8045B57C mr r31, r3
- .text2:8045B580 bne loc_8045B58C
- .text2:8045B584 li r3, 0
- .text2:8045B588 b loc_8045B5AC
- .text2:8045B58C # ---------------------------------------------------------------------------
- .text2:8045B58C
- .text2:8045B58C loc_8045B58C: # CODE XREF: sub_8045B530+50j
- .text2:8045B58C li r3, 0xE8
- .text2:8045B590 bl allocMemory(int)
- .text2:8045B594 cmpwi r3, 0
- .text2:8045B598 beq loc_8045B5AC
- .text2:8045B59C mr r4, r31
- .text2:8045B5A0 mr r5, r29
- .text2:8045B5A4 mr r6, r30
- .text2:8045B5A8 bl sub_8045AE00
- .text2:8045B5AC
- .text2:8045B5AC loc_8045B5AC: # CODE XREF: sub_8045B530+58j
- .text2:8045B5AC # sub_8045B530+68j
- .text2:8045B5AC addi r11, r1, 0x120+arg_0
- .text2:8045B5B0 bl _restgpr_29_30_31
- .text2:8045B5B4 lwz r0, 0x120+arg_4(r1)
- .text2:8045B5B8 mtlr r0
- .text2:8045B5BC addi r1, r1, 0x120
- .text2:8045B5C0 blr
- .text2:8045B5C0 # End of function sub_8045B530
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement