Advertisement
Guest User

Untitled

a guest
Apr 16th, 2018
84
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. define(CWvsPhysicalSpace2D,03142884) // 8B 0D ? ? ? ? 6A 01 6A 00 68
  2. define(HitMobHook,0229BF35) //  81 ? 4A 99 17 02 74 ? 81 ? 81
  3. define(CMobPool__FindHitMobInRect,01522D40) // Original OP of address above
  4.  
  5. [ENABLE]
  6. alloc(find_hit_mob_in_rect_hook,128)
  7.  
  8. find_hit_mob_in_rect_hook:
  9. mov eax,[CWvsPhysicalSpace2D]
  10. lea eax,[eax+0C] // Left Wall Offset
  11. mov [esp+04],eax
  12. jmp CMobPool__FindHitMobInRect // Original call (CMobPool::FindHitMobInRect)
  13.  
  14. HitMobHook:
  15. call find_hit_mob_in_rect_hook
  16.  
  17. [DISABLE]
  18. dealloc(find_hit_mob_in_rect_hook)
  19.  
  20. HitMobHook:
  21. call CMobPool__FindHitMobInRect
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement