冰楓論壇

標題: TwMS v263.4 移除地板、移除前景、移除背景 [打印本頁]

作者: 晴曦    時間: 2024-8-21 20:25
標題: TwMS v263.4 移除地板、移除前景、移除背景
  1. //TwMS v263.4 移除地板、移除前景、移除背景
  2. [ENABLE]
  3. Alloc(remove_floor_fg_bg,256,1466FDA30)
  4. Alloc(floor_switch, 4)
  5. Alloc(fg_switch, 4)
  6. Alloc(bg_switch, 4)

  7. floor_switch:
  8. DD 01

  9. fg_switch:
  10. DD 01

  11. bg_switch:
  12. DD 01

  13. 1466FDA30:
  14. DQ remove_floor_fg_bg

  15. remove_floor_fg_bg:
  16. push rax

  17. mov rax,142C4B22F
  18. cmp [rsp+08],rax
  19. je remove_floor

  20. mov rax,142C4CCEA
  21. cmp [rsp+08],rax
  22. je remove_fg

  23. mov rax,142C589A9
  24. cmp [rsp+08],rax
  25. je remove_bg

  26. return:
  27. pop rax
  28. jmp VariantClear

  29. remove_floor:
  30. cmp dword ptr [floor_switch],01
  31. jne return
  32. mov rax,142C4B274
  33. mov [rsp+08],rax
  34. jmp return

  35. remove_fg:
  36. cmp dword ptr [fg_switch],01
  37. jne return
  38. mov rax,142C4CCEF
  39. mov [rsp+08],rax
  40. jmp return

  41. remove_bg:
  42. cmp dword ptr [bg_switch],01
  43. jne return
  44. mov rax,142C58B1D
  45. mov [rsp+08],rax
  46. jmp return

  47. [DISABLE]
  48. DeAlloc(remove_bg_fg_floor)
  49. DeAlloc(floor_switch)
  50. DeAlloc(fg_switch)
  51. DeAlloc(bg_switch)

  52. 1466FDA30:
  53. DQ VariantClear
複製代碼





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