Bond697

emerald second rng

Dec 21st, 2011
388
0
Never
1
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.30 KB | None | 0 0
  1. ROM:0806F610 @ =============== S U B R O U T I N E =======================================
  2. ROM:0806F610
  3. ROM:0806F610
  4. ROM:0806F610 setSecondRand__: @ CODE XREF: sub_8070114+Ap
  5. ROM:0806F610 00 04 LSLS R0, R0, #0x10
  6. ROM:0806F612 00 0C LSRS R0, R0, #0x10
  7. ROM:0806F614 01 49 LDR R1, =0x3005D84
  8. ROM:0806F616 08 60 STR R0, [R1]
  9. ROM:0806F618 70 47 BX LR
  10. ROM:0806F618 @ End of function setSecondRand__
  11. ROM:0806F618
  12. ROM:0806F618 @ ---------------------------------------------------------------------------
  13. ROM:0806F61A 00 .byte 0
  14. ROM:0806F61B 00 .byte 0
  15. ROM:0806F61C 84 5D 00 03 dword_806F61C: .long 0x3005D84 @ DATA XREF: setSecondRand__+4r
  16. ROM:0806F620
  17. ROM:0806F620 @ =============== S U B R O U T I N E =======================================
  18. ROM:0806F620
  19. ROM:0806F620
  20. ROM:0806F620 second_rand__: @ CODE XREF: sub_8010EC0+Cp
  21. ROM:0806F620 @ sub_8070114+1Ap ...
  22. ROM:0806F620 04 4A LDR R2, =0x3005D84
  23. ROM:0806F622 11 68 LDR R1, [R2]
  24. ROM:0806F624 04 48 LDR R0, =0x41C64E6D
  25. ROM:0806F626 48 43 MULS R0, R1
  26. ROM:0806F628 04 49 LDR R1, =0x6073
  27. ROM:0806F62A 40 18 ADDS R0, R0, R1
  28. ROM:0806F62C 10 60 STR R0, [R2]
  29. ROM:0806F62E 00 0C LSRS R0, R0, #0x10
  30. ROM:0806F630 70 47 BX LR
  31. ROM:0806F630 @ End of function second_rand__
  32. ROM:0806F630
  33. ROM:0806F630 @ ---------------------------------------------------------------------------
  34. ROM:0806F632 00 .byte 0
  35. ROM:0806F633 00 .byte 0
  36. ROM:0806F634 84 5D 00 03 dword_806F634: .long 0x3005D84 @ DATA XREF: second_rand__r
  37. ROM:0806F638 6D 4E C6 41 dword_806F638: .long 0x41C64E6D @ DATA XREF: second_rand__+4r
  38. ROM:0806F63C 73 60 00 00 dword_806F63C: .long 0x6073 @ DATA XREF: second_rand__+8r
Advertisement
Comments
  • User was banned
Add Comment
Please, Sign In to add comment