Advertisement
Sim

WoW 2.4.3 DefaultServerLogin()

Sim
Aug 20th, 2017
376
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. .rdata:00899398 aDefaultserverl db 'DefaultServerLogin',0 ; DATA XREF: .data:00B938F0o
  2. .rdata:008993AB                 align 4
  3. ;
  4. ; --> x-ref to aDefaultserverl
  5. ;
  6. .data:00B938F0                 dd offset aDefaultserverl ; "DefaultServerLogin"
  7. .data:00B938F4                 dd offset sub_471690
  8. ;
  9. ; --> go to sub_471690
  10. ;
  11. ; int DefaultServerLogin_handler(int luaInstance) // possibly not the lua instance - educated guess
  12. .text:00471690 ; =============== S U B R O U T I N E =======================================
  13. .text:00471690
  14. .text:00471690 ; Attributes: bp-based frame
  15. .text:00471690
  16. .text:00471690 sub_471690      proc near               ; DATA XREF: .data:00B938F4o
  17. .text:00471690
  18. .text:00471690 arg_0           = dword ptr  8
  19. .text:00471690
  20. .text:00471690                 push    ebp
  21. .text:00471691                 mov     ebp, esp
  22. .text:00471693                 push    esi
  23. .text:00471694                 mov     esi, [ebp+arg_0]
  24. .text:00471697                 push    1
  25. .text:00471699                 push    esi
  26. .text:0047169A                 call    sub_72DE70
  27. .text:0047169F                 add     esp, 8
  28. .text:004716A2                 test    eax, eax
  29. .text:004716A4                 jz      short loc_4716DE
  30. .text:004716A6                 push    2
  31. .text:004716A8                 push    esi
  32. .text:004716A9                 call    sub_72DE70
  33. .text:004716AE                 add     esp, 8
  34. .text:004716B1                 test    eax, eax
  35. .text:004716B3                 jz      short loc_4716DE
  36. .text:004716B5                 push    0
  37. .text:004716B7                 push    2
  38. .text:004716B9                 push    esi
  39. .text:004716BA                 call    sub_72DFF0
  40. .text:004716BF                 add     esp, 0Ch
  41. .text:004716C2                 push    eax             ; void *
  42. .text:004716C3                 push    0
  43. .text:004716C5                 push    1
  44. .text:004716C7                 push    esi
  45. .text:004716C8                 call    sub_72DFF0
  46. .text:004716CD                 add     esp, 0Ch
  47. .text:004716D0                 push    eax             ; int
  48. .text:004716D1                 call    sub_46E560      ; <------ AttemptLogin2(name, password) ?
  49. .text:004716D6                 add     esp, 8
  50. .text:004716D9                 xor     eax, eax
  51. .text:004716DB                 pop     esi
  52. .text:004716DC                 pop     ebp
  53. .text:004716DD                 retn
  54. .text:004716DE ; ---------------------------------------------------------------------------
  55. .text:004716DE
  56. .text:004716DE loc_4716DE:                             ; CODE XREF: sub_471690+14j
  57. .text:004716DE                                         ; sub_471690+23j
  58. .text:004716DE                 push    offset aUsageDefaultse ; "Usage: DefaultServerLogin(\"accountName"...
  59. .text:004716E3                 push    esi
  60. .text:004716E4                 call    sub_72F5C0
  61. .text:004716E4 sub_471690      endp
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement