冰楓論壇

標題: TwMS v206.2 [ICS] MobAggro [打印本頁]

作者: prt    時間: 2018-4-18 15:15
標題: TwMS v206.2 [ICS] MobAggro
  1. // TwMS v206.2 [ICS] MobAggro
  2. // 怪物生氣氣 ( 另類跟怪 )
  3. [ENABLE]
  4. Alloc(MobAggro_Main, 512)
  5. Alloc(MobAggro_Hook, 128)
  6. Label(Hack)
  7. Alloc(Debug, 4)
  8. Registersymbol(Debug)

  9. MobAggro_Hook:
  10. Cmp [esp+18], 008F12C4
  11. Jne 0147AFF0
  12. Mov [esp+18], MobAggro_Main
  13. Jmp 0147AFF0

  14. MobAggro_Main:
  15. mov [edi+00000458],eax
  16. mov ecx,eax
  17. xor eax,BAADF00D
  18. xor ecx,esi
  19. ror ecx,05
  20. ror eax,05
  21. add eax,ecx
  22. mov [edi+0000045C],ecx
  23. mov [edi+00000460],eax
  24. mov ecx,edi
  25. mov eax,[edi]
  26. push ebx
  27. push 008F12EF   // RetAddress

  28. add eax, 2C
  29. mov eax, [eax]
  30. mov [Debug], eax

  31. cmp eax, 02080C20
  32. je Hack
  33. jmp eax

  34. Hack:
  35. push eax
  36. mov eax,[033E14D4]
  37. lea eax,[eax+04]
  38. mov [ecx+000004B0],eax
  39. pop eax
  40. jmp eax


  41. 033B264C:
  42. DD MobAggro_Hook

  43. [DISABLE]
  44. 033B264C:
  45. DD 0147AFF0

  46. DeAlloc(Debug)
  47. DeAlloc(MobAggro_Main)
  48. DeAlloc(MobAggro_Hook)
複製代碼





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