Advertisement
Minseok

Auto DC

Feb 20th, 2018
121
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.50 KB | None | 0 0
  1. [enable]
  2. //auto dc when user enters field (to login screen)
  3. //some ems cancer version but function name is in here.
  4. alloc(hook, 128)
  5.  
  6. 022C0C95: //CUserPool::OnUserEnterField
  7. jmp hook
  8. nop
  9. return:
  10.  
  11. hook:
  12. call 0244DAA0
  13. cmp esi,eax
  14. je 022C0EDB
  15.  
  16. pushad
  17. mov ecx, [021161F4]
  18. call 0187C5C0 //WvsContext::ProcessReturnToTitle
  19. popad
  20. jmp return //just return - who cares about handling an entering player when you're logging off anyway
  21.  
  22. [disable]
  23. 022C0C95:
  24. call 0244DAA0
  25. cmp esi,eax
  26. je 022C0EDB
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement