Jump to content
Moopler
Sign in to follow this  
Cloud

Release MsInterSectRect

Recommended Posts

Spoiler

// GMS v.198.1
[ENABLE]
alloc(MsInterSectRect,128)
label(return_true)
label(return_false)
  
MsInterSectRect: 
cmp [esp],0165BCC4 // Physical Godmode 
je return_false 
cmp [esp],0165ECF5 // Full Map Attack 
je return_true 
push ebp 
mov ebp,esp 
mov ecx,[ebp+0C] 
jmp 008D57F0+6 
  
return_true: 
mov eax,00000001 
ret 
  
return_false:
mov eax,00000000 
ret
  
008D57F0: 
jmp MsInterSectRect 
db 90 
  
[DISABLE] 
008D57F0: 
push ebp
mov ebp,esp 
mov ecx,[ebp+0C] 
  
dealloc(MsInterSectRect)

 

https://docs.microsoft.com/en-us/windows/desktop/api/winuser/nf-winuser-intersectrect

Edited by Cloud

Share this post


Link to post

classic maple hack.  i also believed can be used for item filter you can get the item id from some object in one of the registers and return false to not loot !! also used when u press up key for checking for portals u can ret and teleinternally and u map rush

Edited by Darter

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  
×