冰楓論壇

標題: TwMS v202.1 走怪跟隨 [ICS] [打印本頁]

作者: prt    時間: 2017-10-18 10:28
標題: TwMS v202.1 走怪跟隨 [ICS]
  1. //TwMS v202.1 ICS_走怪跟隨
  2. [enable]
  3. alloc(MyLR,4096)
  4. registersymbol(MyLR)
  5. label(MyLRend)
  6. label(GoLRback)
  7. label(GoLR)
  8. label(GoLR1)
  9. label(GoLR2)
  10. label(GoLR5)

  11. //================================
  12. MyLR:
  13.         cmp [esp+18],01DBB50C
  14.         je GoLR1
  15.         jmp MyLRend
  16. MyLRend:
  17.         jmp 012818D0
  18. //================================
  19. GoLR1:
  20.         mov [esp+18],GoLR
  21.         jmp MyLRend
  22. //================================
  23. GoLR:
  24.         mov esi,eax
  25.         mov [edi+000004C0],00000001
  26.         mov eax,AAAAAAAB
  27.         mov [edi+000004B8],esi
  28.         mul esi
  29.         shr edx,1
  30.         lea ecx,[edx+edx*2]
  31.         sub esi,ecx
  32.         mov ecx,[edi+000007B8]
  33.         dec esi
  34.         push esi
  35.         inc esi
  36.         mov eax,[03069704]
  37.         mov eax,[eax+00012F30]
  38.         cmp esi, 1
  39.         je GoLR5
  40.         jg GoLR2
  41.         cmp eax,[edi+80C]
  42.         mov eax,5
  43.         jl GoLRback
  44.         mov eax,1
  45.         jmp GoLRback
  46. GoLR2:
  47.         cmp eax,[edi+80C]
  48.         mov eax,5
  49.         jg GoLRback
  50.         mov eax,1
  51.         jmp GoLRback
  52. GoLR5:
  53.         mov eax,1
  54. GoLRback:
  55.         mov ecx,[edi+000007BC]
  56.         push eax
  57.         call 004788E0
  58.         mov ecx,[edi+000007B8]
  59.         jmp 01DBB534

  60. 0303DDF4:
  61. DD MyLR
  62. [disable]
  63. 0303DDF4:
  64. DD 012818D0
  65. dealloc(MyLR)
  66. unregistersymbol(MyLR)
複製代碼

作者: tryes8523    時間: 2017-11-25 17:52
請問 有往左 或往右的嗎? 感恩你~




歡迎光臨 冰楓論壇 (https://bingfong.com/) Powered by 冰楓